@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
@@ -0,0 +1,2 @@
1
+ export { MapProvider, MapContext } from './MapContext';
2
+ export type { RendePropFeatureArgs, ComponentRenderPropFeature, FeatureId, FeatureCollection, Feature, Geometry } from './types';
@@ -0,0 +1,16 @@
1
+ import type { MapStateWithActions, InitialMapStoreProps } from './types';
2
+ /**
3
+ * @description Crea el Store, por defecto inicia en estado 'init'
4
+ * @param initProps propiedades iniciales del store
5
+ * @returns
6
+ */
7
+ export declare const createMapStore: (initProps: InitialMapStoreProps) => Omit<Omit<import("zustand").StoreApi<MapStateWithActions>, "setState"> & {
8
+ setState<A extends string | {
9
+ type: unknown;
10
+ }>(partial: MapStateWithActions | Partial<MapStateWithActions> | ((state: MapStateWithActions) => MapStateWithActions | Partial<MapStateWithActions>), replace?: boolean | undefined, action?: A | undefined): void;
11
+ }, "setState"> & {
12
+ setState(nextStateOrUpdater: MapStateWithActions | Partial<MapStateWithActions> | ((state: import("immer/dist/internal").WritableDraft<MapStateWithActions>) => void), shouldReplace?: boolean | undefined, action?: string | {
13
+ type: unknown;
14
+ } | undefined): void;
15
+ };
16
+ export declare type MapStore = ReturnType<typeof createMapStore>;
@@ -0,0 +1,414 @@
1
+ import { GetLabelType } from '@m4l/core';
2
+ import { ReactNode } from 'react';
3
+ import { MapClasses } from '../../classes/types';
4
+ import L, { Layer, LeafletEvent } from 'leaflet';
5
+ export declare type FeatureId = string | number;
6
+ /**
7
+ * The valid values for the "type" property of GeoJSON* geometry objects.
8
+ * https://tools.ietf.org/html/rfc7946#section-1.4
9
+ */
10
+ export declare type GeoJsonGeometryTypes = Geometry['type'];
11
+ /**
12
+ * The value values for the "type" property of GeoJSON* Objects.
13
+ * https://tools.ietf.org/html/rfc7946#section-1.4
14
+ */
15
+ export declare type GeoJsonTypes = GeoJSON['type'];
16
+ /**
17
+ * Bounding box
18
+ * https://tools.ietf.org/html/rfc7946#section-5
19
+ */
20
+ export declare type BBox = [number, number, number, number] | [number, number, number, number, number, number];
21
+ /**
22
+ * A Position is an array of coordinates.
23
+ * https://tools.ietf.org/html/rfc7946#section-3.1.1
24
+ * Array should contain between two and three elements.
25
+ * The previous GeoJSON specification allowed more elements (e.g., which could be used to represent M values),
26
+ * but the current specification only allows X, Y, and (optionally) Z to be defined.
27
+ */
28
+ export declare type Position = number[];
29
+ /**
30
+ * The base GeoJSON object.
31
+ * https://tools.ietf.org/html/rfc7946#section-3
32
+ * The GeoJSON specification also allows foreign members
33
+ * (https://tools.ietf.org/html/rfc7946#section-6.1)
34
+ * Developers should use "&" type in TypeScript or extend the interface
35
+ * to add these foreign members.
36
+ */
37
+ export interface GeoJsonObject {
38
+ /**
39
+ * Specifies the type of GeoJSON object.
40
+ */
41
+ type: GeoJsonTypes;
42
+ /**
43
+ * Bounding box of the coordinate range of the object's Geometries, Features, or Feature Collections.
44
+ * The value of the bbox member is an array of length 2*n where n is the number of dimensions
45
+ * represented in the contained geometries, with all axes of the most southwesterly point
46
+ * followed by all axes of the more northeasterly point.
47
+ * The axes order of a bbox follows the axes order of geometries.
48
+ * https://tools.ietf.org/html/rfc7946#section-5
49
+ */
50
+ bbox?: BBox | undefined;
51
+ }
52
+ /**
53
+ * Union of GeoJSON objects.
54
+ */
55
+ export declare type GeoJSON = Geometry | Feature | FeatureCollection;
56
+ /**
57
+ * Geometry object.
58
+ * https://tools.ietf.org/html/rfc7946#section-3
59
+ */
60
+ export declare type Geometry = Point | MultiPoint | LineString | MultiLineString | Polygon | MultiPolygon | GeometryCollection;
61
+ export declare type GeometryObject = Geometry;
62
+ /**
63
+ * Point geometry object.
64
+ * https://tools.ietf.org/html/rfc7946#section-3.1.2
65
+ */
66
+ export interface Point extends GeoJsonObject {
67
+ type: 'Point';
68
+ coordinates: Position;
69
+ }
70
+ /**
71
+ * MultiPoint geometry object.
72
+ * https://tools.ietf.org/html/rfc7946#section-3.1.3
73
+ */
74
+ export interface MultiPoint extends GeoJsonObject {
75
+ type: 'MultiPoint';
76
+ coordinates: Position[];
77
+ }
78
+ /**
79
+ * LineString geometry object.
80
+ * https://tools.ietf.org/html/rfc7946#section-3.1.4
81
+ */
82
+ export interface LineString extends GeoJsonObject {
83
+ type: 'LineString';
84
+ coordinates: Position[];
85
+ }
86
+ /**
87
+ * MultiLineString geometry object.
88
+ * https://tools.ietf.org/html/rfc7946#section-3.1.5
89
+ */
90
+ export interface MultiLineString extends GeoJsonObject {
91
+ type: 'MultiLineString';
92
+ coordinates: Position[][];
93
+ }
94
+ /**
95
+ * Polygon geometry object.
96
+ * https://tools.ietf.org/html/rfc7946#section-3.1.6
97
+ */
98
+ export interface Polygon extends GeoJsonObject {
99
+ type: 'Polygon';
100
+ coordinates: Position[][];
101
+ }
102
+ /**
103
+ * MultiPolygon geometry object.
104
+ * https://tools.ietf.org/html/rfc7946#section-3.1.7
105
+ */
106
+ export interface MultiPolygon extends GeoJsonObject {
107
+ type: 'MultiPolygon';
108
+ coordinates: Position[][][];
109
+ }
110
+ /**
111
+ * Geometry Collection
112
+ * https://tools.ietf.org/html/rfc7946#section-3.1.8
113
+ */
114
+ export interface GeometryCollection<G extends Geometry = Geometry> extends GeoJsonObject {
115
+ type: 'GeometryCollection';
116
+ geometries: G[];
117
+ }
118
+ export declare type GeoJsonProperties = {
119
+ [name: string]: any;
120
+ };
121
+ export declare type LayerWithBounds = Layer;
122
+ export declare type FeatureLayerData = {
123
+ boundsNW: L.LatLng;
124
+ boundsSE: L.LatLng;
125
+ };
126
+ /**
127
+ * A feature object which contains a geometry and associated properties.
128
+ * https://tools.ietf.org/html/rfc7946#section-3.2
129
+ */
130
+ export interface Feature<G extends Geometry | null = Geometry, P = GeoJsonProperties> extends GeoJsonObject {
131
+ type: 'Feature';
132
+ /**
133
+ * The feature's geometry
134
+ */
135
+ geometry: G;
136
+ /**
137
+ * A value that uniquely identifies this feature in a
138
+ * https://tools.ietf.org/html/rfc7946#section-3.2.
139
+ */
140
+ id: FeatureId;
141
+ /**
142
+ * Properties associated with this feature.
143
+ */
144
+ properties: P;
145
+ /**
146
+ * "getLeafletLayer" es una función que retorna la capa de leaflet que creo renderFeature
147
+ * set usa esta metodología, porque guarda toda la capa en zustand, es muy pesado, al guardar
148
+ * solo funciones, se ahorra memoria.
149
+ */
150
+ layerData?: FeatureLayerData;
151
+ }
152
+ /**
153
+ * A collection of feature objects.
154
+ * https://tools.ietf.org/html/rfc7946#section-3.3
155
+ */
156
+ export interface FeatureCollection<G extends Geometry | null = Geometry, P = GeoJsonProperties> extends GeoJsonObject {
157
+ type: 'FeatureCollection';
158
+ features: Array<Feature<G, P>>;
159
+ }
160
+ export declare type RealTimeConfig = {
161
+ /**
162
+ * "active" si está activa la funcionalidad de tiempo real
163
+ */
164
+ active: boolean;
165
+ /**
166
+ * "userCanDeactivateTail" El usario puede temporalmente desactivar la cola de un punto de tipo tiemo real.
167
+ */
168
+ userCanDeactivateTail: boolean;
169
+ /**
170
+ * "maxZoom" Maximo zoom donde se muestra la cola.
171
+ */
172
+ maxZoom: number;
173
+ /**
174
+ * qtyTailPointsMax Cantidad de puntos de la cola de tiempo real.
175
+ */
176
+ qtyTailPointsMax: number;
177
+ /**
178
+ * "windowTailTime" Ventana de tiempo para no generar una cola retrasa en el mapa. ejemplo 30 segundos.
179
+ * Eventos fuera de este tiempo con respecto al primer punto no se deberían visualizaar evitando colas fantasma por tanto no confiables.
180
+ */
181
+ windowTailTime: number;
182
+ };
183
+ export declare type PointType = 'point' | 'cluster';
184
+ /**
185
+ * Argumentos que recibe una Render Prop cuando se renderiza por renderFeature
186
+ * @interface
187
+ */
188
+ export interface RendePropFeatureArgs {
189
+ id: FeatureId;
190
+ /**
191
+ * "layerId" si está activa la funcionalidad de tiempo real
192
+ */
193
+ layerId: string;
194
+ }
195
+ /**
196
+ * Argumentos que recibe una Render Prop cuando se renderiza por renderFeature
197
+ * @interface
198
+ */
199
+ export interface RendePropFeaturesCollectionArgs extends FeatureCollection {
200
+ /**
201
+ * "id" identificado unico del feature
202
+ * En la capa multipoints clusteable:
203
+ * el id se forma con el patron: device_device_id O cluster_CRCDevicesIds_count
204
+ * Si la capa es multilines
205
+ * el id normalmente es el indice del array de multilines
206
+ *
207
+ * TODO: Se debe hacer el esfuerzo de memonizar los ids
208
+ */
209
+ id: string;
210
+ /**
211
+ * "layerId" si está activa la funcionalidad de tiempo real
212
+ */
213
+ layerId: string;
214
+ }
215
+ export interface GeoJsonImplementedObject {
216
+ /**
217
+ * Specifies the type of GeoJSON object.
218
+ */
219
+ object: Feature | FeatureCollection;
220
+ /**
221
+ *
222
+ */
223
+ bbox?: BBox | undefined;
224
+ }
225
+ export declare type CheckedNameSet = 'visible' | 'autoFocus' | 'cluster';
226
+ export declare type LayerStore = {
227
+ /**
228
+ * "layerId" Indetificador unico entre todas las capas
229
+ */
230
+ layerId: string;
231
+ /**
232
+ * "name" Como se va a ver el listado de capas
233
+ */
234
+ name?: string;
235
+ /**
236
+ * "visible" si es visible o no
237
+ */
238
+ visible?: boolean;
239
+ /**
240
+ * "autoFocus" Cuando cambia el contedido de las capas, tener esta capa para incluir en el foco global
241
+ * del mapa. Por defecto es false
242
+ */
243
+ autoFocus: boolean;
244
+ /**
245
+ * "clusterable" indica si la capa es clusterizable. (Solo aplica capa tipo multipoints)
246
+ */
247
+ clusterable?: boolean;
248
+ /**
249
+ * "cluster" Cuando la capa es ta en modo cluster, indica que si las marcas se intersectan
250
+ * debe se grupadas en un icono en indicar cuantas maras hay en el cluster
251
+ */
252
+ cluster?: boolean;
253
+ /**
254
+ * "geoJsonObject" inidica cual es objeto as rederizas (Un sola capa Feature o FeatureCollection)
255
+ * y los bounds del objeto TODO: depront bounds debe ir directamene en el feature.
256
+ * TODO: Incluir el bounds en la capa de leaftLayer para dar mayor velocidad al mapa CREO.
257
+ */
258
+ geoJsonObject?: GeoJsonImplementedObject;
259
+ /**
260
+ * "renderFeature" render prop encarga de renderizar cada feature
261
+ */
262
+ renderFeature?: ComponentRenderPropFeature;
263
+ onClick?: (e: LeafletEvent) => void;
264
+ };
265
+ export declare type ComponentRenderPropFeature = React.FC<RendePropFeatureArgs>;
266
+ export declare type ComponentRenderPropFeaturesCollection = React.FC<RendePropFeaturesCollectionArgs>;
267
+ /**
268
+ * @description Interface usada para inicializar una capa tipo Multipoints desde el MapProvider
269
+ */
270
+ export declare type InitialLayer = LayerStore;
271
+ /**
272
+ * @description interfaz usada para actualizar un feature especifico de la capa
273
+ */
274
+ export interface ForSetSingleFeatureData extends Feature {
275
+ featureId?: string;
276
+ jsonUri?: string;
277
+ }
278
+ export declare type MapStatus = 'init' | 'ready';
279
+ export declare type OwnerState = {
280
+ status: MapStatus;
281
+ /**
282
+ * "isMobile" cuando el navegador está en modo celular
283
+ */
284
+ isMobile: boolean;
285
+ /**
286
+ * "isSkeleton" indica si el componente está en skeleton.
287
+ */
288
+ isSkeleton: boolean;
289
+ /**
290
+ * focus: Estado de selección asignado por el usuario.
291
+ *
292
+ */
293
+ focus: boolean;
294
+ };
295
+ /**
296
+ * @type
297
+ * @name ExternalOwnerState
298
+ * @description Estados que se actulizan por fuera del store, a través de hooks
299
+ */
300
+ export declare type ExternalOwnerState = Pick<OwnerState, 'isMobile' | 'isSkeleton'>;
301
+ export declare type AreaMapType = {
302
+ leftLowerLatitudeOffset: number;
303
+ leftLowerLengthOffset: number;
304
+ rigthUpperLatitudeOffset: number;
305
+ rigthUpperLengthOffset: number;
306
+ mapLengthDelta: number;
307
+ leftLowerLength: number;
308
+ mapLatBottomDegree: number;
309
+ };
310
+ /**
311
+ * @interface
312
+ * @description Interface que define el estado del componente (variables y funciones )
313
+ */
314
+ export interface MapState {
315
+ ownerState: OwnerState;
316
+ /**
317
+ * "classes" enfocado al funcionamiento de las clases a nivel de map
318
+ */
319
+ classes: MapClasses;
320
+ /**
321
+ * "LayersIds" Layers de trabajo para saber en que orden se muestran en el LayersAdmin
322
+ */
323
+ layersIds: string[];
324
+ /**
325
+ * "hashLayers" Layers de trabajo
326
+ */
327
+ hashLayers: Record<string, LayerStore>;
328
+ /**
329
+ * "visibleCheckedLayers" set de capas checkead que coresponden a la capas visibles, usado en el componente de mapa Viewer, para el grid
330
+ */
331
+ visibleCheckedLayers: ReadonlySet<string>;
332
+ /**
333
+ * "checkedAutoFocusLayers" Si la capa participa del autofocus global
334
+ */
335
+ autoFocusCheckedLayers: ReadonlySet<string>;
336
+ /**
337
+ * "checkedClusterLayers" Si la capa es clusterizable
338
+ */
339
+ clusterCheckedLayers: ReadonlySet<string>;
340
+ /**
341
+ * "getLabel" funcion que usará para traducir las etiquetas de diccionario
342
+ */
343
+ getLabel: GetLabelType;
344
+ }
345
+ export interface MapStateWithActions extends MapState {
346
+ mapActions: {
347
+ /**
348
+ * @description
349
+ */
350
+ init(layersStore: LayerStore[]): void;
351
+ /**
352
+ * @description Cambia el estado del map
353
+ */
354
+ setMapState: (state: MapStatus) => void;
355
+ /**
356
+ * @description Modifica toda la capa, reemplanzando todo el geoJson
357
+ */
358
+ setDataLayer: (layerId: string, geoJson: GeoJsonImplementedObject) => void;
359
+ /**
360
+ * @description Agrega o modifica un feature especifico de la capa
361
+ */
362
+ setFeatureData: (layerId: string, featureId: FeatureId, geometry: GeometryObject, properties: GeoJsonProperties) => void;
363
+ /**
364
+ * @description Remueve un feature especifico de la capa
365
+ */
366
+ removeFeature: (layerId: string, featureId: FeatureId) => void;
367
+ /**
368
+ * @description Retorna el vector de featureIds para saber que que está renderizado en el mapa
369
+ */
370
+ getFeatureIds: (layerId: string) => FeatureId[];
371
+ /**
372
+ * @description Actualizar instancia la render prop de una capa
373
+ */
374
+ setLayerRenderProp: (layerId: string, value: ComponentRenderPropFeature) => void;
375
+ /**
376
+ * @description Agrega una capa nueva,
377
+ */
378
+ addLayer: (layer: LayerStore) => void;
379
+ /**
380
+ * @description Agrega una capa nueva a un feature especifico,
381
+ */
382
+ addLayerDataToFeature: (layerId: string, featureId: FeatureId, layerData: FeatureLayerData) => void;
383
+ /**
384
+ * @description Remueve un feature especifico de la capa
385
+ */
386
+ removeLayer: (layerId: string) => void;
387
+ /**
388
+ * @description Remueve e una capa nueva,
389
+ */
390
+ /**
391
+ * @description Cambia las capas la propieda (visible,autoFous,cluser) que estan visibles o no
392
+ */
393
+ setCheckedLayers: (checkedNameSet: CheckedNameSet, newCheckedSet: ReadonlySet<string>) => void;
394
+ /**
395
+ * @description Actualiza la variable de estado "getLabel"
396
+ * @param newHandler handle o función que va a traducir las etiquetas, esto es necesario debido que getLabel de useModuleDictionary
397
+ * cambia por el useCallback, cuando el diccionario se carga.
398
+ * @returns void
399
+ */
400
+ setHandlerGetLabel: (newHandler: GetLabelType) => void;
401
+ /**
402
+ * @description Modifica los estados que se actualizan externamente al Store
403
+ * @param newIsMobile
404
+ * @returns
405
+ */
406
+ setExternalState: (newExternalState: ExternalOwnerState) => void;
407
+ };
408
+ }
409
+ export declare type DefaultMapStoreProps = Omit<MapState, 'currentLayer'>;
410
+ export declare type InitialMapStoreProps = Pick<MapState, 'getLabel' | 'ownerState'> & Partial<DefaultMapStoreProps>;
411
+ export interface MapProviderProps {
412
+ initialLayers?: InitialLayer[];
413
+ children: ReactNode;
414
+ }
@@ -0,0 +1,70 @@
1
+ export declare const MAPTOOLS_DICTIONARY_ID = "gps_tools";
2
+ export declare const DICCTIONARY: {
3
+ readonly LABEL_TAB_GEO: "label_tab_geo";
4
+ readonly TAB_GENERAL_CONFIG_TOOLTIP: "tab_general_config_tooltip";
5
+ readonly PAPER_GENERAL: "paper_general";
6
+ readonly LABEL_ID: "label_id";
7
+ readonly LABEL_NAME: "label_name";
8
+ readonly LABEL_GEOMETRY_TYPE: "label_geometry_type";
9
+ readonly LABEL_GEOMETRY_CIRCLE: "label_geometry_circle";
10
+ readonly LABEL_GEOMETRY_RECTANGLE: "label_geometry_rectangle";
11
+ readonly LABEL_GEOMETRY_POLYGON: "label_geometry_polygon";
12
+ readonly LABEL_DRAW: "label_draw";
13
+ readonly LABEL_FINISH: "label_finish";
14
+ readonly PAPER_CONFIG: "paper_config";
15
+ readonly LABEL_ALIAS: "label_alias";
16
+ readonly LABEL_CUSTOMER_ID: "label_customer_id";
17
+ readonly LABEL_TIME_MIN_IN_SECONDS: "label_time_min_in_seconds";
18
+ readonly LABEL_TIME_MIN_OUT_SECONDS: "label_time_min_out_seconds";
19
+ readonly TAB_STYLE_CONFIG_TOOLTIP: "tab_style_tooltip";
20
+ readonly PAPER_STROKE: "paper_stroke";
21
+ readonly LABEL_COLOR: "label_color";
22
+ readonly LABEL_OPACITY: "label_opacity";
23
+ readonly LABEL_WEIGHT: "label_weight";
24
+ readonly LABEL_DASH_ARRAY: "label_dash_array";
25
+ readonly LABEL_DASH_OFFSET: "label_dash_offset";
26
+ readonly LABEL_RADIUS: "label_radius";
27
+ readonly LABEL_LAT: "label_lat";
28
+ readonly LABEL_LON: "label_lon";
29
+ readonly LABEL_PLACE_MARKER: "label_place_marker";
30
+ readonly LABEL_FIRST_VERTEX: "label_first_vertex";
31
+ readonly LABEL_CONTINUE_LINE: "label_continue_line";
32
+ readonly LABEL_FINISH_LINE: "label_finish_line";
33
+ readonly LABEL_FINISH_POLY: "label_finish_poly";
34
+ readonly LABEL_FINISH_RECT: "label_finish_rect";
35
+ readonly LABEL_START_CIRCLE: "label_start_circle";
36
+ readonly LABEL_FINISH_CIRCLE: "label_finish_circle";
37
+ readonly LABEL_PLACE_CIRCLE_MARKER: "label_place_circle_marker";
38
+ readonly VALIDATION_GEOMETRY_REQUIRED: "validation_geometry_required";
39
+ readonly VALIDATION_FIELD_REQUIRED: "validation_field_required";
40
+ readonly VALIDATION_FIELD_TYPE_NUMBER_ERROR: "validation_field_type_number_error";
41
+ readonly LABEL_VIEW_TRANSIT_FEATURES: "label_view_crossing_features";
42
+ readonly LABEL_VIEW_INTERNAL_FEATURES: "label_view_internal_features";
43
+ readonly LABEL_CREATED_AT: "label_created_at";
44
+ readonly LABEL_UPDATED_AT: "label_updated_at";
45
+ readonly MODAL_DELETE_GEO_TITLE: "modal_delete_geo_title";
46
+ readonly MODAL_DELETE_GEO_MESSAGE: "modal_delete_geo_message";
47
+ readonly MODAL_DISABLE_GEO_TITLE: "modal_disable_geo_title";
48
+ readonly MODAL_DISABLE_MESSAGE: "modal_disable_geo_message";
49
+ readonly ROW_ACTION_GEO_EDIT: "row_action_geo_edit";
50
+ readonly ROW_ACTION_GEO_ENABLE: "row_action_geo_enable";
51
+ readonly ROW_ACTION_GEO_DISABLE: "row_action_geo_disable";
52
+ readonly ROW_ACTION_GEO_DELETE: "row_action_geo_delete";
53
+ readonly LABEL_TAB_MEASURE: "label_tab_measure";
54
+ readonly PAPER_MEASURE: "paper_measure";
55
+ readonly LABEL_MEASURE_START: "label_measure_start";
56
+ readonly LABEL_MEASURE_RESTART: "label_measure_restart";
57
+ readonly LABEL_MEASURE_DISTANCE: "label_measure_distance";
58
+ readonly LABEL_MEASURE_AREA: "label_measure_area";
59
+ readonly LABEL_MEASURE_UNIT: "label_measure_unit";
60
+ readonly LABEL_MEASURE_UNIT_BASE_KILOMETERS: "label_measure_unit_base_kilometers";
61
+ readonly LABEL_MEASURE_REMOVE_POINT: "label_measure_remove_point";
62
+ readonly LABEL_LAYERS: "label_layes";
63
+ readonly LABEL_LAYER_NAME: "label_layer_name";
64
+ readonly LABEL_LAYER_VISIBLE: "label_layer_visible";
65
+ readonly LABEL_LAYER_AUTOFOCUS: "label_layer_autofocus";
66
+ readonly LABEL_LAYER_CLUSTER: "label_layer_cluster";
67
+ readonly LABEL_LAYER_DELETE: "label_layer_delete";
68
+ };
69
+ export declare type TypeDictionary = typeof DICCTIONARY;
70
+ export declare const getMapToolsDictionary: (key: keyof TypeDictionary) => string;
@@ -0,0 +1,8 @@
1
+ import { ComponentRenderPropFeature } from "../../contexts/MapContext";
2
+ /**
3
+ * "CommonFeatureRender" es un renderizador de features común, que se utiliza para renderizar
4
+ * los features de los layers
5
+ * @param props
6
+ * @returns
7
+ */
8
+ export declare const CommonFeatureRender: ComponentRenderPropFeature;
@@ -0,0 +1,6 @@
1
+ export declare type IconForm = 'grua' | 'taxi';
2
+ export interface IconMarkerProps {
3
+ iconForm: string;
4
+ bearing: number;
5
+ }
6
+ export declare function IconMarker(props: IconMarkerProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare function GruaIconMarker(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare function IconMarkerTaxi(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { ComponentRenderPropFeature } from "../../contexts/MapContext";
2
+ export declare const MarkerFeatureRender: ComponentRenderPropFeature;
@@ -0,0 +1 @@
1
+ export { MarkerFeatureRender } from './MarkerFeatureRender';
@@ -0,0 +1,8 @@
1
+ /**
2
+ * "useAutoFocus" esta pendiente de que las capas que tiene auto foucus y son visible o cuando cambien su features.
3
+ * en cambios su propiedad de autoFocus o visible, el Efecto de autonEnfoque se activa, haciendo
4
+ * que el mapa se ajuste a los límites de las capas que tienen auto focus.
5
+ *
6
+ * @author Juan Escobar
7
+ */
8
+ export declare function useAutoFocus(): void;
@@ -0,0 +1,15 @@
1
+ import { FeatureId } from "../../contexts/MapContext";
2
+ import { FeatureLayerData } from "../../contexts/MapContext/types";
3
+ export declare type FeatureData = {
4
+ featureId: FeatureId;
5
+ layerData: FeatureLayerData | undefined;
6
+ };
7
+ export declare type LayerWithFeatures = {
8
+ layerId: string;
9
+ features: FeatureData[];
10
+ };
11
+ export declare type LayerForBound = {
12
+ layerId: string;
13
+ featureId: FeatureId;
14
+ layerData: FeatureLayerData;
15
+ };
@@ -0,0 +1 @@
1
+ export declare function useDisableZoomEvents(node: HTMLDivElement | null): void;
@@ -0,0 +1,3 @@
1
+ import { MapStateWithActions } from '../../contexts/MapContext/types';
2
+ export declare function useMapStore<T>(selector: (state: MapStateWithActions) => T, equalityFn?: (left: T, right: T) => boolean): T;
3
+ export default useMapStore;
@@ -0,0 +1,7 @@
1
+ export { Map } from './Map';
2
+ export type { MapProps } from './types';
3
+ export { MapProvider, MapContext } from './contexts/MapContext/MapContext';
4
+ export { useMapStore } from './hooks/useMapStore';
5
+ export type { RendePropFeatureArgs, ComponentRenderPropFeature, FeatureId, FeatureCollection, Feature, Geometry } from './contexts/MapContext';
6
+ export * from './featureRenders';
7
+ export * from './pluginLayers';