@m4l/components 0.2.32 → 0.2.34

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 (279) hide show
  1. package/@types/export.d.ts +441 -413
  2. package/{commonjs.333e55c7.js → commonjs.565e6834.js} +0 -5
  3. package/components/AccountPopover/{index.69cda48b.js → index.39efc8f0.js} +1 -1
  4. package/components/AppBar/{index.0cc0bd40.js → index.c8850b99.js} +2 -2
  5. package/components/CommonActions/components/ActionCancel/{index.f00f026d.js → index.416cbf9b.js} +2 -2
  6. package/components/CommonActions/components/ActionFormCancel/{index.08fe4e27.js → index.78267f7c.js} +4 -4
  7. package/components/CommonActions/components/ActionFormIntro/{index.b5a5c4b4.js → index.dcb4d280.js} +2 -2
  8. package/components/CommonActions/components/ActionIntro/{index.574967a0.js → index.094290fd.js} +2 -2
  9. package/components/CommonActions/components/Actions/{index.23bfc86b.js → index.fa7ab18c.js} +1 -8
  10. package/components/DataGrid/assets/icons/datagrid.svg +4 -4
  11. package/components/DataGrid/formatters/ColumnBooleanFormatter/{index.cf410875.js → index.cd6e553a.js} +1 -1
  12. package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/{index.00f9ed87.js → index.0c439ac3.js} +1 -1
  13. package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/{index.4089f91b.js → index.867b8745.js} +1 -1
  14. package/components/DataGrid/formatters/ColumnSetCheckFormatter/{index.eb406256.js → index.0b23ba88.js} +6 -0
  15. package/components/DataGrid/formatters/ColumnSetCheckFormatter/types.d.ts +1 -0
  16. package/components/DataGrid/{index.c283b50b.js → index.abe0f9b9.js} +43 -41
  17. package/components/DataGrid/subcomponents/Actions/{index.d945647f.js → index.4f2071ee.js} +12 -11
  18. package/components/DragResizeWindow/DragResizeWindow.d.ts +15 -9
  19. package/components/DragResizeWindow/classes/types.d.ts +1 -0
  20. package/components/DragResizeWindow/{index.82cf6408.js → index.13ef022e.js} +108 -63
  21. package/components/DragResizeWindow/types.d.ts +23 -1
  22. package/components/DynamicFilter/DynamicFilter.d.ts +2 -2
  23. package/components/DynamicFilter/classes/index.d.ts +1 -1
  24. package/components/DynamicFilter/classes/types.d.ts +1 -0
  25. package/components/DynamicFilter/constants.d.ts +2 -1
  26. package/components/DynamicFilter/contexts/DynamicFilterContext/helpers.d.ts +2 -3
  27. package/components/DynamicFilter/contexts/DynamicFilterContext/store.d.ts +3 -2
  28. package/components/DynamicFilter/dictionary.d.ts +4 -0
  29. package/components/DynamicFilter/{index.75c66024.js → index.c52a8e96.js} +189 -35
  30. package/components/DynamicFilter/subcomponents/fieldstypes/SelectFilter/helpers.d.ts +51 -0
  31. package/components/DynamicFilter/subcomponents/fieldstypes/SelectFilter/index.d.ts +5 -0
  32. package/components/DynamicFilter/subcomponents/fieldstypes/factory.d.ts +12 -4
  33. package/components/DynamicFilter/subcomponents/fieldstypes/validations.d.ts +8 -1
  34. package/components/DynamicFilter/types.d.ts +40 -19
  35. package/components/FieldLabel/{index.75e89ace.js → index.0412576c.js} +2 -2
  36. package/components/GridLayout/{index.00740f82.js → index.65470f01.js} +2 -2
  37. package/components/GridLayout/subcomponents/Griditem/{index.3d479abb.js → index.30016fc1.js} +3 -3
  38. package/components/GridLayout/subcomponents/Responsive/{index.733e8ba6.js → index.5b3e0521.js} +1 -1
  39. package/components/GridLayout/subcomponents/SizeProvider/{index.247cc027.js → index.0328ad0a.js} +1 -1
  40. package/components/Icon/{index.14670a00.js → index.ad330e78.js} +65 -89
  41. package/components/Image/{index.6aa1ae49.js → index.b799c514.js} +2 -2
  42. package/components/LanguagePopover/{index.4149a8da.js → index.93c48ec5.js} +2 -2
  43. package/components/LinearProgressIndeterminate/{index.6e5db737.js → index.c46da124.js} +1 -1
  44. package/components/LoadingError/{index.1ec78dd5.js → index.ee29dd48.js} +3 -3
  45. package/components/MFLoader/{index.6037f834.js → index.3a37407c.js} +1 -1
  46. package/components/ModalDialog/{index.f27b7c2d.js → index.78c9650a.js} +4 -4
  47. package/components/NoItemSelected/{index.54023226.js → index.3a479c64.js} +1 -1
  48. package/components/ObjectLogs/{index.32ddae31.js → index.1d85a021.js} +6 -6
  49. package/components/PDFViewer/{index.d185afd0.js → index.88c6ff6a.js} +1 -1
  50. package/components/Page/{index.2c550c91.js → index.5d34dc4d.js} +1 -1
  51. package/components/PaperForm/{index.63dc4b29.js → index.d08b43f6.js} +1 -1
  52. package/components/Period/{index.ddf8716c.js → index.3f89d8a4.js} +2 -2
  53. package/components/PrintingSystem/{index.bcef9a6f.js → index.27f1f209.js} +13 -13
  54. package/components/PrintingSystem/subcomponents/BodyNode/{index.14ecdd97.js → index.319a3bb9.js} +1 -1
  55. package/components/PrintingSystem/subcomponents/ChartNode/{index.aa2b8706.js → index.990e164c.js} +1 -1
  56. package/components/PrintingSystem/subcomponents/DividerNode/{index.ce81726b.js → index.e504dbd2.js} +1 -1
  57. package/components/PrintingSystem/subcomponents/FooterNode/{index.7fc8c316.js → index.9a19a7cb.js} +1 -1
  58. package/components/PrintingSystem/subcomponents/GridNode/{index.88fcc856.js → index.8d14e1b6.js} +1 -1
  59. package/components/PrintingSystem/subcomponents/HeaderNode/{index.d3f4e000.js → index.89e4eaab.js} +1 -1
  60. package/components/PrintingSystem/subcomponents/PaperNode/{index.30cbab70.js → index.dd4ca449.js} +1 -1
  61. package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.05a3579e.js → index.048d7ebf.js} +1 -1
  62. package/components/PrintingSystem/subcomponents/SectionNode/{index.d6344807.js → index.83f1efea.js} +1 -1
  63. package/components/PrintingSystem/subcomponents/TextBoxNode/{index.79d2e283.js → index.5427cb75.js} +1 -1
  64. package/components/PropertyValue/{index.1dbf6ef8.js → index.15c61a4b.js} +2 -2
  65. package/components/Resizeable/{index.eba4fda9.js → index.cb5aad75.js} +1 -1
  66. package/components/SideBar/{index.b1455bd0.js → index.b0359a2b.js} +4 -4
  67. package/components/SplitLayout/{index.3856385c.js → index.7302ceb3.js} +1 -1
  68. package/components/ToastContainer/{index.a33ebb52.js → index.4d44ce53.js} +4 -4
  69. package/components/areas/components/AreasAdmin/{index.922cdb11.js → index.820a00ab.js} +10 -10
  70. package/components/areas/components/AreasViewer/{index.f7126815.js → index.6d7194e2.js} +14 -14
  71. package/components/areas/contexts/AreasContext/{index.37be3e4e.js → index.c5a3b322.js} +4 -4
  72. package/components/areas/hooks/useAreas/{index.e3971ffa.js → index.caa92660.js} +1 -1
  73. package/components/areas/types.d.ts +1 -1
  74. package/components/commercial/AppBarCommercial/{index.3e0ad6ef.js → index.9cf586a2.js} +1 -1
  75. package/components/commercial/SectionCommercial/index.4dbfc0a7.js +48 -0
  76. package/components/commercial/TopBar/{index.7b22d97b.js → index.93a7d26a.js} +4 -4
  77. package/components/{HamburgerMenu/index.fb1a3aae.js → commercial/index.89ad149c.js} +2 -2
  78. package/components/formatters/BooleanFormatter/{index.fb44d69d.js → index.9ccf9298.js} +2 -2
  79. package/components/formatters/{index.05c4e1a4.js → index.03471e3f.js} +1 -1
  80. package/components/hook-form/HelperError/index.66bbcac3.js +30 -0
  81. package/components/hook-form/RHFAutocomplete/classes/index.d.ts +1 -0
  82. package/components/hook-form/RHFAutocomplete/classes/types.d.ts +2 -1
  83. package/components/hook-form/RHFAutocomplete/{index.3592430b.js → index.1f2afb6b.js} +75 -42
  84. package/components/hook-form/RHFAutocomplete/types.d.ts +4 -2
  85. package/components/hook-form/RHFAutocompleteAsync/{index.dfbaece5.js → index.bc278965.js} +1 -1
  86. package/components/hook-form/RHFCheckbox/{index.251a36b5.js → index.eca64469.js} +2 -2
  87. package/components/hook-form/RHFColorPicker/{index.e7d27ca0.js → index.dc13d5a3.js} +6 -8
  88. package/components/hook-form/RHFDateTime/{index.fc474c35.js → index.e554b068.js} +3 -3
  89. package/components/hook-form/RHFHelperError/index.d.ts +4 -0
  90. package/components/hook-form/RHFPeriod/{index.2bf650c4.js → index.e4e4530f.js} +3 -3
  91. package/components/hook-form/RHFTextField/{index.db56e769.js → index.1bfa601f.js} +4 -4
  92. package/components/hook-form/RHFUpload/{index.9d4d4460.js → index.6e98b291.js} +4 -4
  93. package/components/index.d.ts +2 -0
  94. package/components/maps/components/GpsTools/GpsTools.d.ts +1 -0
  95. package/components/maps/components/GpsTools/classes/index.d.ts +4 -0
  96. package/components/maps/components/GpsTools/classes/types.d.ts +13 -0
  97. package/components/maps/components/GpsTools/constants.d.ts +8 -0
  98. package/components/maps/components/GpsTools/contexts/GpsToolsContext/index.d.ts +19 -0
  99. package/components/maps/components/GpsTools/contexts/GpsToolsContext/store.d.ts +16 -0
  100. package/components/maps/components/GpsTools/contexts/GpsToolsContext/types.d.ts +165 -0
  101. package/components/maps/components/GpsTools/hooks/useGpsToolsStore/index.d.ts +2 -0
  102. package/components/maps/components/GpsTools/hooks/useLayers/index.d.ts +1 -0
  103. package/components/maps/components/GpsTools/icons.d.ts +15 -0
  104. package/components/maps/components/GpsTools/index.d.ts +3 -0
  105. package/components/maps/components/GpsTools/index.d93188ad.js +1792 -0
  106. package/components/maps/components/GpsTools/subcomponents/TabsGpsTools/index.d.ts +9 -0
  107. package/components/maps/components/GpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/constants.d.ts +20 -0
  108. package/components/maps/components/GpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/helpers.d.ts +19 -0
  109. package/components/maps/components/GpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/hooks/useDrawing.d.ts +11 -0
  110. package/components/maps/components/GpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/hooks/useSubmit.d.ts +8 -0
  111. package/components/maps/components/GpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/hooks/useSumbitErrorsFocus.d.ts +5 -0
  112. package/components/maps/components/GpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/hooks/useValidation.d.ts +22 -0
  113. package/components/maps/components/GpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/index.d.ts +2 -0
  114. package/components/maps/components/GpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/index.d.ts +1 -0
  115. package/components/maps/components/GpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/types.d.ts +6 -0
  116. package/components/maps/components/GpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/validations.d.ts +5 -0
  117. package/components/maps/components/GpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/index.d.ts +1 -0
  118. package/components/maps/components/GpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/types.d.ts +7 -0
  119. package/components/maps/components/GpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/validations.d.ts +6 -0
  120. package/components/maps/components/GpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyActions/index.d.ts +2 -0
  121. package/components/maps/components/GpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyActions/types.d.ts +2 -0
  122. package/components/maps/components/GpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyTabs/index.d.ts +1 -0
  123. package/components/maps/components/GpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/StyleData/index.d.ts +1 -0
  124. package/components/maps/components/GpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/FillData/index.d.ts +1 -0
  125. package/components/maps/components/GpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/StrokeData/index.d.ts +1 -0
  126. package/components/maps/components/GpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/StyleData/types.d.ts +10 -0
  127. package/components/maps/components/GpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/types.d.ts +27 -0
  128. package/components/maps/components/GpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useCheckedFeatures.d.ts +9 -0
  129. package/components/maps/components/GpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useCheckedGeofences.d.ts +4 -0
  130. package/components/maps/components/GpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useColumns.d.ts +9 -0
  131. package/components/maps/components/GpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useMaster.d.ts +20 -0
  132. package/components/maps/components/GpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useRowActionsGetter.d.ts +9 -0
  133. package/components/maps/components/GpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/index.d.ts +1 -0
  134. package/components/maps/components/GpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/subcomponents/Filter/index.d.ts +7 -0
  135. package/components/maps/components/GpsTools/subcomponents/TabsGpsTools/subcomponents/constants.d.ts +7 -0
  136. package/components/maps/components/GpsTools/subcomponents/TabsGpsTools/subcomponents/model.d.ts +122 -0
  137. package/components/maps/components/GpsTools/types.d.ts +34 -0
  138. package/components/maps/components/Map/Map.d.ts +9 -0
  139. package/components/maps/components/Map/classes/index.d.ts +5 -0
  140. package/components/maps/components/Map/classes/types.d.ts +69 -0
  141. package/components/maps/components/Map/constants.d.ts +24 -0
  142. package/components/maps/components/Map/contexts/MapContext/MapContext.d.ts +19 -0
  143. package/components/maps/components/Map/contexts/MapContext/helper.d.ts +8 -0
  144. package/components/maps/components/Map/contexts/MapContext/index.d.ts +2 -0
  145. package/components/maps/components/Map/contexts/MapContext/store.d.ts +16 -0
  146. package/components/maps/components/Map/contexts/MapContext/types.d.ts +592 -0
  147. package/components/maps/components/Map/dictionary.d.ts +86 -0
  148. package/components/maps/components/Map/external/Control/index.d.ts +11 -0
  149. package/components/maps/components/Map/external/Control/types.d.ts +8 -0
  150. package/components/maps/components/Map/external/googleMutant/index.d.ts +94 -0
  151. package/components/maps/components/Map/featureRenders/CommonFeatureRender/index.d.ts +8 -0
  152. package/components/maps/components/Map/featureRenders/CommonFeatureRender/subcomponents/FeatureDivIconLabel/index.d.ts +3 -0
  153. package/components/maps/components/Map/featureRenders/CommonFeatureRender/subcomponents/FeatureDivIconLabel/types.d.ts +7 -0
  154. package/components/maps/components/Map/featureRenders/CommonFeatureRender/subcomponents/MarkerIconLabel/index.d.ts +2 -0
  155. package/components/maps/components/Map/featureRenders/CommonFeatureRender/subcomponents/MarkerIconLabel/types.d.ts +6 -0
  156. package/components/maps/components/Map/featureRenders/MarkerFeatureRender/IconMarker.d.ts +6 -0
  157. package/components/maps/components/Map/featureRenders/MarkerFeatureRender/IconMarkerGrua.d.ts +1 -0
  158. package/components/maps/components/Map/featureRenders/MarkerFeatureRender/IconMarkerTaxi.d.ts +1 -0
  159. package/components/maps/components/Map/featureRenders/MarkerFeatureRender/index.d.ts +2 -0
  160. package/components/maps/components/Map/featureRenders/index.d.ts +2 -0
  161. package/components/maps/components/Map/hooks/useAutoFocus/index.d.ts +8 -0
  162. package/components/maps/components/Map/hooks/useAutoFocus/types.d.ts +15 -0
  163. package/components/maps/components/Map/hooks/useDisableZoomEvents/index.d.ts +6 -0
  164. package/components/maps/components/Map/hooks/useMapStore/index.d.ts +3 -0
  165. package/components/maps/components/Map/icons.d.ts +50 -0
  166. package/components/maps/components/Map/index.accb1f77.js +2386 -0
  167. package/components/maps/components/Map/index.d.ts +7 -0
  168. package/components/maps/components/Map/pluginLayers/PolylineWithArrows/index.d.ts +9 -0
  169. package/components/maps/components/Map/pluginLayers/index.d.ts +1 -0
  170. package/components/maps/components/Map/subcomponents/Controls/index.d.ts +17 -0
  171. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/index.d.ts +1 -0
  172. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/index.d.ts +7 -0
  173. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useCheckedLayers.d.ts +9 -0
  174. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useColumns.d.ts +15 -0
  175. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useMaster.d.ts +13 -0
  176. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useRowActionsGetter.d.ts +5 -0
  177. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/index.d.ts +1 -0
  178. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/model.d.ts +27 -0
  179. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/index.d.ts +1 -0
  180. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/sourceTypes/bing.d.ts +2 -0
  181. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/sourceTypes/google.d.ts +4 -0
  182. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/sourceTypes/osm.d.ts +2 -0
  183. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/sourceTypes/utils.d.ts +1 -0
  184. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/types.d.ts +4 -0
  185. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/index.d.ts +12 -0
  186. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/constants.d.ts +30 -0
  187. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/hooks/useMeasure/helpers.d.ts +11 -0
  188. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/hooks/useMeasure/index.d.ts +13 -0
  189. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/hooks/useMeasure/types.d.ts +13 -0
  190. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/hooks/useValidation.d.ts +10 -0
  191. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/index.d.ts +1 -0
  192. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/subcomponents/MeasureData/index.d.ts +5 -0
  193. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/subcomponents/MeasureData/types.d.ts +6 -0
  194. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/subcomponents/MeasureData/validations.d.ts +2 -0
  195. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/subcomponents/MyActions/index.d.ts +1 -0
  196. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/types.d.ts +9 -0
  197. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/ZoomButtons/index.d.ts +1 -0
  198. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/types.d.ts +4 -0
  199. package/components/maps/components/Map/subcomponents/Controls/types.d.ts +22 -0
  200. package/components/maps/components/Map/subcomponents/LayersContainer/index.d.ts +2 -0
  201. package/components/maps/components/Map/subcomponents/LayersContainer/subcomponents/MyLayer/index.d.ts +17 -0
  202. package/components/maps/components/Map/subcomponents/LayersContainer/subcomponents/MyLayer/subcomponents/MarkerClusterGroup/index.d.ts +20 -0
  203. package/components/maps/components/Map/subcomponents/LayersContainer/subcomponents/MyLayer/subcomponents/MarkerClusterGroup/types.d.ts +11 -0
  204. package/components/maps/components/Map/subcomponents/LayersContainer/subcomponents/MyLayer/subcomponents/RenderByEachFeatureComponent/index.d.ts +12 -0
  205. package/components/maps/components/Map/subcomponents/LayersContainer/subcomponents/MyLayer/subcomponents/RenderByEachFeatureComponent/types.d.ts +5 -0
  206. package/components/maps/components/Map/subcomponents/LayersContainer/subcomponents/MyLayer/types.d.ts +2 -0
  207. package/components/maps/components/Map/subcomponents/TileLayers/index.d.ts +6 -0
  208. package/components/maps/components/Map/subcomponents/TileLayers/subcomponents/TileLayerGoogle/index.d.ts +1 -0
  209. package/components/maps/components/Map/subcomponents/TileLayers/subcomponents/TileLayerOthers/index.d.ts +6 -0
  210. package/components/maps/components/Map/types.d.ts +40 -0
  211. package/components/maps/index.34ab6a68.js +7 -0
  212. package/components/maps/index.d.ts +3 -0
  213. package/components/maps/leaflet-geoman.d.ts +1633 -1633
  214. package/components/maps/utils.d.ts +15 -0
  215. package/components/modal/{WindowBase.2e5506d7.js → WindowBase.fd86f575.js} +3 -3
  216. package/components/modal/{WindowConfirm.ce47a48a.js → WindowConfirm.ee6de236.js} +6 -6
  217. package/components/mui_extended/Accordion/{index.f9042228.js → index.7dcdfd3a.js} +2 -2
  218. package/components/mui_extended/Button/{index.d5a031be.js → index.c3084916.js} +1 -1
  219. package/components/mui_extended/{CheckBox.0dcf39ae.js → CheckBox.2a3b86c5.js} +1 -1
  220. package/components/mui_extended/IconButton/{index.d8bdadaa.js → index.f8a3021b.js} +1 -1
  221. package/components/mui_extended/MenuActions/{index.154d57f0.js → index.90f53670.js} +2 -2
  222. package/components/mui_extended/Pager/{index.da7ea851.js → index.ea2a4f3e.js} +2 -2
  223. package/components/mui_extended/Tab/{index.2068925d.js → index.9214d9cc.js} +4 -4
  224. package/components/mui_extended/TabContent/types.d.ts +1 -1
  225. package/components/mui_extended/ToggleButton/ToggleButton.d.ts +2 -1
  226. package/components/mui_extended/ToggleButton/{index.595ea955.js → index.191711f3.js} +6 -9
  227. package/components/mui_extended/ToggleButton/types.d.ts +2 -2
  228. package/components/mui_extended/ToggleIconButton/ToggleIconButton.d.ts +1 -12
  229. package/components/mui_extended/ToggleIconButton/index.d9dbf650.js +19 -0
  230. package/components/mui_extended/ToggleIconButton/types.d.ts +2 -3
  231. package/components/popups/PopupsProvider/index.d7409f48.js +179 -0
  232. package/components/popups/PopupsViewer/index.1500ce72.js +186 -0
  233. package/components/popups/components/PopupsProvider/contexts/PopupsContext/PopupsContext.d.ts +19 -0
  234. package/components/popups/components/PopupsProvider/contexts/PopupsContext/helper.d.ts +7 -0
  235. package/components/popups/components/PopupsProvider/contexts/PopupsContext/index.d.ts +1 -0
  236. package/components/popups/components/PopupsProvider/contexts/PopupsContext/store.d.ts +16 -0
  237. package/components/popups/components/PopupsProvider/contexts/PopupsContext/types.d.ts +160 -0
  238. package/components/popups/components/PopupsProvider/hooks/usePopupsStore/index.d.ts +3 -0
  239. package/components/popups/components/PopupsProvider/index.d.ts +2 -0
  240. package/components/popups/components/PopupsViewer/PopupsViewer.d.ts +8 -0
  241. package/components/popups/components/PopupsViewer/classes/index.d.ts +15 -0
  242. package/components/popups/components/PopupsViewer/classes/types.d.ts +13 -0
  243. package/components/{PopupsProvider → popups/components/PopupsViewer}/constants.d.ts +2 -2
  244. package/components/popups/components/PopupsViewer/icons.d.ts +3 -0
  245. package/components/popups/components/PopupsViewer/index.d.ts +1 -0
  246. package/components/popups/components/PopupsViewer/subcomponents/Popup/index.d.ts +9 -0
  247. package/components/popups/components/PopupsViewer/subcomponents/Popup/subcomponents/Header/index.d.ts +2 -0
  248. package/components/popups/components/PopupsViewer/subcomponents/Popup/subcomponents/Header/types.d.ts +2 -0
  249. package/components/popups/components/PopupsViewer/subcomponents/Popup/types.d.ts +16 -0
  250. package/components/popups/components/PopupsViewer/types.d.ts +3 -0
  251. package/components/popups/index.c5eae682.js +1 -0
  252. package/components/popups/index.d.ts +2 -0
  253. package/contexts/ModalContext/{index.3d48d675.js → index.2368bb19.js} +1 -1
  254. package/hocs/withToggle/index.50aec5e4.js +22 -0
  255. package/hocs/withToggle/index.d.ts +2 -2
  256. package/hocs/withToggle/types.d.ts +6 -4
  257. package/hooks/useFormAddEdit/{index.07e5258d.js → index.000ce60b.js} +2 -2
  258. package/hooks/useFormReadyForUpdate/index.d.ts +6 -0
  259. package/hooks/useFormReadyForUpdate/index.f60f500e.js +20 -0
  260. package/hooks/useModal/{index.cb1d6a37.js → index.f73d7e42.js} +1 -1
  261. package/hooks/useSizeContainer/contants.d.ts +1 -0
  262. package/hooks/useSizeContainer/index.62b4e0c4.js +35 -0
  263. package/hooks/useSizeContainer/index.d.ts +8 -0
  264. package/hooks/useStateRef/index.538edb89.js +15 -0
  265. package/hooks/useStateRef/index.d.ts +8 -0
  266. package/hooks/useTab/{index.c0564138.js → index.976d5e1e.js} +1 -1
  267. package/index.js +157 -115
  268. package/package.json +11 -5
  269. package/{react-draggable.6cf19cba.js → react-draggable.e4725f3a.js} +4 -4
  270. package/{react-json-view.5636414a.js → react-json-view.57125fcf.js} +1 -1
  271. package/{react-resizable.0ebffd82.js → react-resizable.c07d63fb.js} +5 -5
  272. package/{react-splitter-layout.c5d98bf7.js → react-splitter-layout.8b1655c8.js} +3 -3
  273. package/vite-env.d.ts +3 -3
  274. package/components/PopupsProvider/index.3d5ad0ee.js +0 -4
  275. package/components/mui_extended/ToggleIconButton/index.c588d5e1.js +0 -29
  276. package/hocs/withToggle/index.e44eb0da.js +0 -24
  277. package/node_modules.98455a76.js +0 -6921
  278. package/vendor.55925cb3.js +0 -182
  279. /package/utils/{index.24b5284a.js → index.6469f148.js} +0 -0
@@ -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';
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import { LatLngExpression } from 'leaflet';
3
+ import { PolylineProps } from 'react-leaflet';
4
+ interface PolylineWithArrowsProps extends PolylineProps {
5
+ positions: LatLngExpression[];
6
+ enableEdit?: boolean;
7
+ }
8
+ export declare const PolylineWithArrows: React.FC<PolylineWithArrowsProps>;
9
+ export default PolylineWithArrows;
@@ -0,0 +1 @@
1
+ export { PolylineWithArrows } from './PolylineWithArrows';
@@ -0,0 +1,17 @@
1
+ import { ControlsProps } from './types';
2
+ /**
3
+ * @description Componente encargado de instanciar todos los controles del map en las diferentes posiciones.
4
+ * En el efecto de Carga, desactiva los eventos de click y scroll al interior "leaflet-control-container".
5
+ * Se crea el contendor de popups con un portal dentro de "leaflet-control-container", para que se benficie de los eventos desactivados.
6
+ *
7
+ * - TopLeftTools
8
+ * * MapSources
9
+ * * MapLayers
10
+ * - TopRightTools
11
+ * * GpsTools
12
+ * * MapTools
13
+ * * Zoom Buttons
14
+ * @param props
15
+ * @returns
16
+ */
17
+ export declare function Controls(props: ControlsProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare function TopLeftTools(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ import { PopoverToolButtonProps } from './types';
2
+ /**
3
+ * Provee un componente que le permite al usuario cambiar la configuración del idioma en la plataforma.
4
+ * @param props
5
+ * @returns
6
+ */
7
+ export declare function LayersButton(props: PopoverToolButtonProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,9 @@
1
+ import { CheckedNameSet } from '../../../../../../../../../contexts/MapContext/types';
2
+ /**
3
+ * Hook encargado de cargar las capas checkeadas y setter de acuerdo al nombre del set de capas
4
+ * @param layerId
5
+ * @param checkedType
6
+ * @param endpoint
7
+ * @returns
8
+ */
9
+ export declare function useCheckedLayers(checkedNameSet: CheckedNameSet): [ReadonlySet<string>, (newFeatures: ReadonlySet<string>) => void];
@@ -0,0 +1,15 @@
1
+ import { Column } from 'react-data-grid';
2
+ import { LayersListModel } from '../model';
3
+ declare type UseColumnsProps<Row> = {
4
+ rowKeyGetter: (row: Row) => string;
5
+ visibleLayers: ReadonlySet<string>;
6
+ setVisibleLayers: (newSet: ReadonlySet<string>) => void;
7
+ autoFocusLayers: ReadonlySet<string>;
8
+ setAutoFocusLayers: (newSet: ReadonlySet<string>) => void;
9
+ clusterLayers: ReadonlySet<string>;
10
+ setClusterLayers: (newSet: ReadonlySet<string>) => void;
11
+ };
12
+ export declare function useColumns(props: UseColumnsProps<LayersListModel>): {
13
+ columns: Column<LayersListModel, unknown>[];
14
+ };
15
+ export {};
@@ -0,0 +1,13 @@
1
+ import type { LayersListModel } from '../model';
2
+ /**
3
+ *
4
+ * @returns
5
+ */
6
+ export declare function useMaster(): {
7
+ rowKeyGetter: (row: LayersListModel) => string;
8
+ columns: import("react-data-grid").Column<LayersListModel, unknown>[];
9
+ rows: LayersListModel[];
10
+ checkedRows: ReadonlySet<string>;
11
+ onCheckedRowsChange: (newFeatures: ReadonlySet<string>) => void;
12
+ rowActionsGetter: (row: LayersListModel) => [] | import("../../../../../../../../../../../..").MenuAction[];
13
+ };
@@ -0,0 +1,5 @@
1
+ import { LayersListModel } from '../model';
2
+ import { MenuAction } from '../../../../../../../../../../../../mui_extended';
3
+ export declare function useRowActionsGetter(): {
4
+ rowActionsGetter: (row: LayersListModel) => MenuAction[] | [];
5
+ };
@@ -0,0 +1 @@
1
+ export declare function LayersTool(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,27 @@
1
+ export declare type LayerId = string;
2
+ /**
3
+ * @description Modelo de datos proveniente del endpoint get de geocercas
4
+ * @interface GeofenceGetModel
5
+ */
6
+ export interface LayersListModel {
7
+ /**
8
+ * id de la geocerca
9
+ */
10
+ id: LayerId;
11
+ /**
12
+ * "name" Traducción del nombre de la capa
13
+ */
14
+ name: string;
15
+ /**
16
+ * "active" si está activa o no lo capa para visualización
17
+ */
18
+ active?: boolean;
19
+ /**
20
+ * "clusterAble" si es cluterable
21
+ */
22
+ clusterAble: boolean;
23
+ /**
24
+ * "deleteAble"
25
+ */
26
+ deleteAble: boolean;
27
+ }
@@ -0,0 +1 @@
1
+ export declare function MapSourcesTool(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { TileLayerSource } from "../../../../../../../../../contexts/MapContext/types";
2
+ export declare const TILE_LAYER_BING: TileLayerSource;
@@ -0,0 +1,4 @@
1
+ import { TileLayerSource } from "../../../../../../../../../contexts/MapContext/types";
2
+ export declare const TILE_LAYER_GOOGLE: TileLayerSource;
3
+ export declare const TILE_LAYER_GOOGLE_SATELLITE: TileLayerSource;
4
+ export declare const TILE_LAYER_GOOGLE_HYBRID: TileLayerSource;
@@ -0,0 +1,2 @@
1
+ import { TileLayerSource } from "../../../../../../../../../contexts/MapContext/types";
2
+ export declare const TILE_LAYER_OSM: TileLayerSource;
@@ -0,0 +1,4 @@
1
+ export declare type ToolType = 'Layers' | 'MapSources';
2
+ export declare type PopoverToolButtonProps = {
3
+ type: ToolType;
4
+ };
@@ -0,0 +1,12 @@
1
+ import type { TopRigthToolsProps } from './types';
2
+ /**
3
+ * @descriptionn Componente que contiene los botones de herramientas de la parte superior derecha del mapa
4
+ * - Boton de herramientas de GPS (Opcional)
5
+ * - Boton de herramientas de medición
6
+ * - Botones de zoom In
7
+ * - Botones de zoom Out
8
+ * @param props
9
+ * @author Juan Andrés Escobar
10
+ * @returns
11
+ */
12
+ export declare function TopRightTools(props: TopRigthToolsProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,30 @@
1
+ import { FormMeasureValues } from './types';
2
+ export declare const STROKE_COLOR_DEFAULT = "#aaccaa";
3
+ export declare const STROKE_OPACITY_DEFAULT: {
4
+ value: number;
5
+ label: string;
6
+ };
7
+ export declare const STROKE_WHEIGTH_DEFAULT: {
8
+ value: number;
9
+ label: string;
10
+ };
11
+ export declare const STROKE_DASH_ARRAY_DEFAULT: {
12
+ value: string;
13
+ label: string;
14
+ };
15
+ export declare const FILL_COLOR_DEFAULT = "#aa3000";
16
+ export declare const FILL_OPACITY_DEFAULT: {
17
+ value: number;
18
+ label: string;
19
+ };
20
+ export declare const INITIAL_FORM_VALUES: FormMeasureValues;
21
+ export declare const STYLE_MEASURE_OPTIONS: {
22
+ strokeLineColor: string;
23
+ strokeLineWeight: number;
24
+ markerHeight: number;
25
+ markerWidth: number;
26
+ labelMarkerHeight: number;
27
+ labelMarkerWidth: number;
28
+ labelMarkerAnchorY: number;
29
+ labelMarkerAnchorX: number;
30
+ };
@@ -0,0 +1,11 @@
1
+ import L from 'leaflet';
2
+ import { GetLabelType } from "@m4l/core";
3
+ /**
4
+ * getMarkerPointIcon: Función que retorna el icono/div que representa un punto de medición
5
+ */
6
+ export declare const getMarkerPointIcon: (position: number) => L.DivIcon;
7
+ /**
8
+ * getMarkerPointLabel: Función que retorna el icono/div que representa la etiqueta de distancia
9
+ * entre puntos, y el link para borrar el punto
10
+ */
11
+ export declare const getMarkerPointLabel: (distance: string | undefined, getLabel: GetLabelType) => L.DivIcon;
@@ -0,0 +1,13 @@
1
+ import { MagnitudeFactorItem } from '../../../../../../../../../GpsTools/types';
2
+ import { StatusEdition } from '../../types';
3
+ /**
4
+ * useMeasure hook se encarga de pintar las marcas y una línea que las une, para calcular la distancia o el area (NextMVP)
5
+ * de ellas. En su primera versión no incluye agregar nuevas marcas entre los vertices por facilidad de implementación
6
+ * ya que el costo beneficio es muy alto si se coloca esa capacidad.
7
+ * @returns
8
+ */
9
+ export declare function useMeasure(): {
10
+ statusEdition: StatusEdition;
11
+ magnitudFactor: MagnitudeFactorItem;
12
+ value: number;
13
+ };
@@ -0,0 +1,13 @@
1
+ import { MagnitudeFactorItem } from '../../../../../../../../../GpsTools/types';
2
+ export declare type MeasurePoint = {
3
+ marker: L.Marker;
4
+ labelMarker: L.Marker;
5
+ formatDistanceFromPrevious: string | undefined;
6
+ };
7
+ export interface RefCurrentMeasure {
8
+ dragging: boolean;
9
+ addMarker: boolean;
10
+ measurePoints: Array<MeasurePoint>;
11
+ layerLine?: L.Polyline;
12
+ magnitudFactor: MagnitudeFactorItem;
13
+ }
@@ -0,0 +1,10 @@
1
+ import * as Yup from 'yup';
2
+ export declare function useValidation(): {
3
+ validationSchema: Yup.ObjectSchema<{
4
+ [x: string]: Yup.AnySchema<any, any, any> | import("yup/lib/Reference").default<unknown> | import("yup/lib/Lazy").default<any, any>;
5
+ }, import("yup/lib/object").AnyObject, import("yup/lib/object").TypeOfShape<{
6
+ [x: string]: Yup.AnySchema<any, any, any> | import("yup/lib/Reference").default<unknown> | import("yup/lib/Lazy").default<any, any>;
7
+ }>, import("yup/lib/object").AssertsShape<{
8
+ [x: string]: Yup.AnySchema<any, any, any> | import("yup/lib/Reference").default<unknown> | import("yup/lib/Lazy").default<any, any>;
9
+ }>>;
10
+ };
@@ -0,0 +1 @@
1
+ export declare function MeasureTool(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @description subComponente que visualizar la medida que actualmente se haciendo sobre el mapa
3
+ * @returns
4
+ */
5
+ export declare function MeasureData(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { MagnitudeFactorItem, MeasureTypeId } from "../../../../../../../../../GpsTools/types";
2
+ export interface FormGeneralDataValues {
3
+ measureTypeId: MeasureTypeId;
4
+ magnitudFactor?: MagnitudeFactorItem | null;
5
+ unitArea?: MagnitudeFactorItem | null;
6
+ }
@@ -0,0 +1,2 @@
1
+ import { GetLabelType } from '@m4l/core';
2
+ export declare function MeasureDataValidation(_getLabel: GetLabelType): {};
@@ -0,0 +1 @@
1
+ export declare function MyActions(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,9 @@
1
+ import { FormStatusLoad } from '../../../../../../../../../../contexts';
2
+ import { FormGeneralDataValues } from './subcomponents/MeasureData/types';
3
+ export declare type StatusEdition = 'initial' | 'draw';
4
+ export declare type FormMeasureValues = FormGeneralDataValues & {
5
+ statusLoad: FormStatusLoad;
6
+ reInits: number;
7
+ statusEdition: StatusEdition;
8
+ value: string | null;
9
+ };
@@ -0,0 +1 @@
1
+ export declare function ZoomButtons(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ import { FC } from "react";
2
+ export interface TopRigthToolsProps {
3
+ gpsTools?: FC;
4
+ }
@@ -0,0 +1,22 @@
1
+ import { MapProps } from "../../types";
2
+ export declare type Localization = {
3
+ /**
4
+ * "lat" Posición en del eje "Y" en grados.
5
+ */
6
+ lat: number;
7
+ /**
8
+ * "lng" Posición en del eje "X" en grados.
9
+ */
10
+ lng: number;
11
+ };
12
+ export declare type Point = {
13
+ /**
14
+ * "x" Posición en del eje "X" en pixeles.
15
+ */
16
+ x: number;
17
+ /**
18
+ * "y" Posición en del eje "Y" en pixeles.
19
+ */
20
+ y: number;
21
+ };
22
+ export declare type ControlsProps = Pick<MapProps, 'gpsTools'>;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const LayersContainer: React.FC;
@@ -0,0 +1,17 @@
1
+ /// <reference types="node" />
2
+ import React from 'react';
3
+ import type { LayerProps } from './types';
4
+ export declare type LefaletLayerRef = {
5
+ clickTimeout: NodeJS.Timeout | null;
6
+ clickCount: number;
7
+ handleClickSetted: boolean;
8
+ };
9
+ /**
10
+ * "MyLayer" Este compoente es el encargado de renderizar todos los features de una capa.
11
+ * Utilizando la propiedad renderFeature, que tiene cada capa.
12
+ *
13
+ * @author Juan Escobar
14
+ * @param props
15
+ * @returns
16
+ */
17
+ export declare const MyLayer: React.FC<LayerProps>;
@@ -0,0 +1,20 @@
1
+ /// <reference types="react" />
2
+ import L from 'leaflet';
3
+ /**
4
+ * Augmengta la funcionalidad de leaflet, porque utiliza el mismo namespace de leflet,
5
+ * Como: MarkerCluster, L.MarkerClusterGroup, etc.
6
+ * aportanto mas metodos, eventos y propiedades a los objetos de leaflet,
7
+ * Tomado del codigo fuente de
8
+ * https://github.com/yuzhva/react-leaflet-markercluster/tree/master?tab=readme-ov-file
9
+ */
10
+ import { MarkerClusterGroupProps } from './types';
11
+ /**
12
+ * MarkerClusterGroup, es un componente funcional que enmascara el comportamiento que
13
+ * leaflet.markercluster tiene, no aporta lógica adicional, solo es un wrapper para que funcione
14
+ * en React. Utilizando createPathComponent de @react-leaflet/core.
15
+ *
16
+ * @author Juan Andrés Escobar
17
+ * @date 2024/02/22
18
+ * @returns ForwardRefExoticComponent (significa que es un componente que ha sido envuelto con React.forwardRef.).
19
+ */
20
+ export declare const MarkerClusterGroup: import("react").ForwardRefExoticComponent<L.MarkerClusterGroupOptions & import("@react-leaflet/core").PathProps & import("./types").PropsWithChildren & import("react").RefAttributes<MarkerClusterGroupProps>>;
@@ -0,0 +1,11 @@
1
+ import { PathProps } from '@react-leaflet/core';
2
+ import { FeatureGroup, LeafletEventHandlerFn, MarkerClusterGroupOptions } from "leaflet";
3
+ import { ReactNode } from "react";
4
+ export interface MarkerClusterGroupProps extends FeatureGroup, MarkerClusterGroupOptions {
5
+ onClustering?: LeafletEventHandlerFn;
6
+ onCluster?: LeafletEventHandlerFn;
7
+ }
8
+ export declare type PropsWithChildren = {
9
+ children?: ReactNode;
10
+ };
11
+ export declare type PathWithChildrenProps = MarkerClusterGroupOptions & PathProps & PropsWithChildren;
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import type { RenderByEachFeatureProps } from './types';
3
+ /**
4
+ * "RenderByEachFeatureComponent": Es un wrapper de renderFeature,
5
+ * Se realizó con el fin de que no haya re-renderizado de los features,
6
+ * Sin este wrapper cada vez que se actualiza LeafletLayer, se re-renderiza todos lo features.
7
+ * @param param0
8
+ * @returns
9
+ * @author Juan Escobar
10
+ */
11
+ export declare const RenderByEachFeatureComponent: React.FC<RenderByEachFeatureProps>;
12
+ export declare const MemonizedRenderByEachFeatureComponent: React.NamedExoticComponent<RenderByEachFeatureProps>;
@@ -0,0 +1,5 @@
1
+ import { ReactNode } from 'react';
2
+ import type { RendePropFeatureArgs } from '../../../../../../contexts/MapContext/types';
3
+ export declare type RenderByEachFeatureProps = {
4
+ renderFeature: (props: RendePropFeatureArgs) => ReactNode;
5
+ } & RendePropFeatureArgs;
@@ -0,0 +1,2 @@
1
+ import type { LayerStore } from '../../../../contexts/MapContext/types';
2
+ export declare type LayerProps = Pick<LayerStore, 'layerId'>;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @description Componente encargado de renderizar las diferentes tipos de mapas, de acuerdo
3
+ * al mapa seleccionado en el store
4
+ * @returns
5
+ */
6
+ export declare function TileLayers(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare function TileLayerGoogle(): null;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * "OtherSourceMapsLayer" componente encargado de renderizar la capa de mapa seleccionado.
3
+ * Este componente no renderiza, las capas de google.
4
+ * @returns null
5
+ */
6
+ export declare const TileLayerOthers: () => null;
@@ -0,0 +1,40 @@
1
+ import { LatLngExpression } from "leaflet";
2
+ import { FC } from "react";
3
+ export declare type Localization = {
4
+ /**
5
+ * "lat" Posición en del eje "Y" en grados.
6
+ */
7
+ lat: number;
8
+ /**
9
+ * "lng" Posición en del eje "X" en grados.
10
+ */
11
+ lng: number;
12
+ };
13
+ export declare type Point = {
14
+ /**
15
+ * "x" Posición en del eje "X" en pixeles.
16
+ */
17
+ x: number;
18
+ /**
19
+ * "y" Posición en del eje "Y" en pixeles.
20
+ */
21
+ y: number;
22
+ };
23
+ export interface MapProps {
24
+ /**
25
+ * "center" posición inicial del mapa.
26
+ */
27
+ center?: LatLngExpression | undefined;
28
+ /**
29
+ * "initialZoom" Zoom inicial del mapa. Por defecto es 16
30
+ */
31
+ initalZoom?: number;
32
+ /**
33
+ * "maxZoom" Max Zoom global, por defecto es 22, sin embargo cada TileLayer coloca su propio maxZoom.
34
+ */
35
+ maxZoom?: number;
36
+ /**
37
+ * "gpsTools" Componente que gestiona la herramienta de guardian GPS, geocercas, puntos de interes, etc.
38
+ */
39
+ gpsTools?: FC;
40
+ }
@@ -0,0 +1,7 @@
1
+ function bearingRawToCSS(gpsBearing, offsetRotate) {
2
+ let rotation = -((360 + offsetRotate - gpsBearing) % 360);
3
+ return rotation;
4
+ }
5
+ export {
6
+ bearingRawToCSS as b
7
+ };
@@ -0,0 +1,3 @@
1
+ export { Map, MapProvider, MapContext, useMapStore, MarkerFeatureRender, CommonFeatureRender } from './components/Map';
2
+ export type { MapProps, RendePropFeatureArgs, ComponentRenderPropFeature, FeatureId, FeatureCollection, Feature, Geometry } from './components/Map';
3
+ export { GpsTools, useMapToolsStore, GpsToolsProvider } from './components/GpsTools';