@m4l/components 0.2.19 → 0.2.21

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 (211) hide show
  1. package/components/AccountPopover/{index.34362031.js → index.b00671fa.js} +1 -5
  2. package/components/AppBar/{index.c64b66ee.js → index.3a694645.js} +2 -2
  3. package/components/CommonActions/components/ActionCancel/{index.106c5327.js → index.bd595785.js} +2 -2
  4. package/components/CommonActions/components/ActionFormCancel/{index.6d00f737.js → index.6fd990b7.js} +4 -4
  5. package/components/CommonActions/components/ActionFormIntro/{index.9ee7df17.js → index.798cb977.js} +2 -2
  6. package/components/CommonActions/components/ActionIntro/{index.bd2a14b2.js → index.64498081.js} +2 -2
  7. package/components/CommonActions/components/Actions/{index.8368ac0f.js → index.b8a1d42a.js} +1 -1
  8. package/components/DataGrid/formatters/ColumnBooleanFormatter/{index.6924642b.js → index.6faecd3c.js} +1 -1
  9. package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/{index.17a5c379.js → index.3cabb920.js} +3 -3
  10. package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/index.d.ts +1 -1
  11. package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/index.d.ts +1 -1
  12. package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/{index.60ddc1d2.js → index.fd1bea19.js} +3 -3
  13. package/components/DataGrid/formatters/index.d.ts +3 -1
  14. package/components/DataGrid/{index.37ce6054.js → index.660a6e7b.js} +3 -3
  15. package/components/DataGrid/subcomponents/Actions/{index.a39b31d8.js → index.e07a52bf.js} +12 -12
  16. package/components/DataGrid/types.d.ts +1 -1
  17. package/components/DragResizeWindow/{index.cb3d34e7.js → index.7c402375.js} +4 -4
  18. package/components/DynamicFilter/{index.73258cb8.js → index.0d1fcfa7.js} +10 -10
  19. package/components/GridLayout/{index.4d26c328.js → index.88b62a5d.js} +2 -2
  20. package/components/GridLayout/subcomponents/Griditem/{index.25e9f332.js → index.5256b153.js} +3 -3
  21. package/components/GridLayout/subcomponents/Responsive/{index.3839890b.js → index.dfed4e68.js} +1 -1
  22. package/components/GridLayout/subcomponents/SizeProvider/{index.a751962f.js → index.6b5de802.js} +1 -1
  23. package/components/Icon/{index.282c5b58.js → index.770f86ae.js} +1 -1
  24. package/components/Image/{index.8915f577.js → index.6dd3b128.js} +2 -2
  25. package/components/LanguagePopover/{index.5e1d85a9.js → index.b7f2816d.js} +2 -2
  26. package/components/LinearProgressIndeterminate/{index.2d53ade4.js → index.32caeee2.js} +1 -1
  27. package/components/LoadingError/{index.d95e6efb.js → index.3a86956f.js} +3 -3
  28. package/components/MFLoader/{index.cc563716.js → index.544940c7.js} +1 -4
  29. package/components/ModalDialog/{index.690c82a4.js → index.9ac45602.js} +4 -4
  30. package/components/NoItemSelected/{index.5246b204.js → index.08ec6c48.js} +1 -1
  31. package/components/ObjectLogs/{index.ad5284ce.js → index.0d263f80.js} +5 -5
  32. package/components/PDFViewer/{index.51e4f1b2.js → index.de51408a.js} +1 -2
  33. package/components/Page/{index.f4aedd2d.js → index.09e28ba1.js} +1 -1
  34. package/components/PaperForm/classes/index.d.ts +2 -1
  35. package/components/PaperForm/classes/types.d.ts +1 -0
  36. package/components/PaperForm/{index.30f68f0f.js → index.130ce6ad.js} +11 -6
  37. package/components/PaperForm/types.d.ts +4 -1
  38. package/components/Period/{index.8e118051.js → index.3c7e8590.js} +2 -2
  39. package/components/PopupsProvider/index.3d5ad0ee.js +4 -0
  40. package/components/PrintingSystem/{index.9dc25af9.js → index.9dcfb35d.js} +18 -14
  41. package/components/PrintingSystem/subcomponents/BodyNode/{index.6c1cf8f5.js → index.a3897785.js} +1 -1
  42. package/components/PrintingSystem/subcomponents/ChartNode/{index.fdb01c74.js → index.ecd5e809.js} +1 -1
  43. package/components/PrintingSystem/subcomponents/DividerNode/{index.46c5eb9e.js → index.6e177f94.js} +1 -1
  44. package/components/PrintingSystem/subcomponents/FooterNode/{index.18aa1ddd.js → index.82f1e38f.js} +1 -1
  45. package/components/PrintingSystem/subcomponents/GridNode/{index.f4b4ffca.js → index.2b8fef69.js} +2 -6
  46. package/components/PrintingSystem/subcomponents/HeaderNode/{index.9afcd686.js → index.a5d48adf.js} +1 -1
  47. package/components/PrintingSystem/subcomponents/PaperNode/{index.a3967d23.js → index.a4c5c3e6.js} +1 -1
  48. package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.e1c05641.js → index.3764b312.js} +3 -5
  49. package/components/PrintingSystem/subcomponents/SectionNode/{index.c5588090.js → index.4941ecf4.js} +1 -1
  50. package/components/PrintingSystem/subcomponents/TextBoxNode/{index.7792384b.js → index.9cc3b262.js} +1 -1
  51. package/components/PrintingSystem/types.d.ts +2 -2
  52. package/components/PropertyValue/{index.d61c943c.js → index.d975c7f3.js} +1 -2
  53. package/components/Resizeable/{index.18c86aff.js → index.14ab4804.js} +1 -1
  54. package/components/SideBar/{index.f5aecd41.js → index.e55c9b7c.js} +4 -4
  55. package/components/ToastContainer/{index.83304f62.js → index.b5f27f85.js} +3 -3
  56. package/components/areas/components/AreasAdmin/{index.c55d5c24.js → index.c802bb2f.js} +18 -20
  57. package/components/areas/components/AreasViewer/classes/index.d.ts +1 -1
  58. package/components/areas/components/AreasViewer/{index.2bec316e.js → index.214d8c7d.js} +15 -19
  59. package/components/areas/contexts/AreasContext/helper.d.ts +2 -2
  60. package/components/areas/contexts/AreasContext/{index.827ee1e5.js → index.055ab6e2.js} +6 -16
  61. package/components/areas/hooks/useAreas/{index.71bc8f19.js → index.5da0bc90.js} +1 -1
  62. package/components/formatters/BooleanFormatter/{index.b21353a5.js → index.7a463493.js} +2 -3
  63. package/components/formatters/{index.7b216229.js → index.648cf3b0.js} +1 -1
  64. package/components/hook-form/RHFAutocomplete/{index.210ee73f.js → index.d05ae217.js} +2 -3
  65. package/components/hook-form/RHFAutocompleteAsync/{index.e5935f63.js → index.699b8aaf.js} +1 -1
  66. package/components/hook-form/RHFColorPicker/{index.bcc1eced.js → index.c069ef4d.js} +10 -7
  67. package/components/hook-form/RHFDateTime/{index.fa80a8cb.js → index.97bd36d7.js} +1 -1
  68. package/components/hook-form/RHFPeriod/{index.d320e56f.js → index.4e10efa3.js} +1 -2
  69. package/components/hook-form/RHFTextField/{index.ab689d7d.js → index.78934e84.js} +2 -2
  70. package/components/hook-form/RHFUpload/{index.e251c9b6.js → index.7178a50b.js} +2 -2
  71. package/components/index.d.ts +0 -1
  72. package/components/modal/{WindowBase.779aa7a5.js → WindowBase.14255209.js} +3 -3
  73. package/components/modal/{WindowConfirm.ec73ba4f.js → WindowConfirm.f79ee169.js} +6 -6
  74. package/components/mui_extended/Accordion/{index.e15e10d9.js → index.fb6849e8.js} +2 -2
  75. package/components/mui_extended/Button/{index.5c68764a.js → index.928f05b7.js} +1 -1
  76. package/components/mui_extended/IconButton/{index.a719445f.js → index.023c369f.js} +1 -1
  77. package/components/mui_extended/MenuActions/{index.62359120.js → index.34293162.js} +2 -2
  78. package/components/mui_extended/Pager/{index.fa5f5ded.js → index.212ee603.js} +1 -2
  79. package/components/mui_extended/Tab/{index.cefe27e7.js → index.409b9c74.js} +4 -4
  80. package/components/mui_extended/ToggleButton/{index.5aa6ea58.js → index.cb0fb441.js} +1 -1
  81. package/components/mui_extended/ToggleIconButton/{index.47ddefd4.js → index.49390b68.js} +1 -1
  82. package/contexts/ModalContext/{index.6085b148.js → index.e8f5ad3e.js} +1 -1
  83. package/hooks/useFormAddEdit/{index.59821a33.js → index.5e748884.js} +2 -4
  84. package/hooks/useModal/{index.1c88654a.js → index.50b23c06.js} +1 -1
  85. package/hooks/useTab/{index.500c048b.js → index.eee18a49.js} +1 -1
  86. package/index.js +94 -113
  87. package/{node_modules.bb836860.js → node_modules.448153f1.js} +1 -1
  88. package/package.json +1 -1
  89. package/react-data-grid.c5377916.js +2 -2
  90. package/{react-draggable.312ab17d.js → react-draggable.38b6012b.js} +1 -1
  91. package/{react-resizable.f2c58a4c.js → react-resizable.3cdda6a7.js} +2 -2
  92. package/vendor.daffbfe5.js +114 -0
  93. package/components/PopupsProvider/classes/index.d.ts +0 -11
  94. package/components/PopupsProvider/classes/types.d.ts +0 -9
  95. package/components/PopupsProvider/contexts/PopupsContext/PopupsContext.d.ts +0 -19
  96. package/components/PopupsProvider/contexts/PopupsContext/helper.d.ts +0 -7
  97. package/components/PopupsProvider/contexts/PopupsContext/index.d.ts +0 -1
  98. package/components/PopupsProvider/contexts/PopupsContext/store.d.ts +0 -16
  99. package/components/PopupsProvider/contexts/PopupsContext/types.d.ts +0 -117
  100. package/components/PopupsProvider/hooks/usePopupsStore/index.d.ts +0 -3
  101. package/components/PopupsProvider/index.81460070.js +0 -247
  102. package/components/PopupsProvider/index.d.ts +0 -2
  103. package/components/PopupsProvider/subcomponents/Popup/index.d.ts +0 -8
  104. package/components/PopupsProvider/subcomponents/Popup/types.d.ts +0 -16
  105. package/components/PopupsProvider/subcomponents/PopupsContainer/index.d.ts +0 -2
  106. package/components/PopupsProvider/subcomponents/PopupsContainer/types.d.ts +0 -1
  107. package/components/hook-form/HelperError/index.66bbcac3.js +0 -30
  108. package/components/hook-form/RHFHelperError/index.d.ts +0 -4
  109. package/components/maps/components/GpsTools/GpsTools.d.ts +0 -1
  110. package/components/maps/components/GpsTools/classes/index.d.ts +0 -4
  111. package/components/maps/components/GpsTools/classes/types.d.ts +0 -20
  112. package/components/maps/components/GpsTools/constants.d.ts +0 -8
  113. package/components/maps/components/GpsTools/contexts/GpsToolsContext/index.d.ts +0 -19
  114. package/components/maps/components/GpsTools/contexts/GpsToolsContext/store.d.ts +0 -16
  115. package/components/maps/components/GpsTools/contexts/GpsToolsContext/types.d.ts +0 -173
  116. package/components/maps/components/GpsTools/hooks/useGpsToolsStore/index.d.ts +0 -2
  117. package/components/maps/components/GpsTools/hooks/useLayers/index.d.ts +0 -1
  118. package/components/maps/components/GpsTools/icons.d.ts +0 -15
  119. package/components/maps/components/GpsTools/index.d.ts +0 -2
  120. package/components/maps/components/GpsTools/index.dfa96cdf.js +0 -2092
  121. package/components/maps/components/GpsTools/subcomponents/TabTools/index.d.ts +0 -9
  122. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/constants.d.ts +0 -7
  123. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/index.d.ts +0 -1
  124. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/model.d.ts +0 -122
  125. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/constants.d.ts +0 -20
  126. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/helpers.d.ts +0 -7
  127. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/hooks/useDrawing.d.ts +0 -11
  128. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/hooks/useSubmit.d.ts +0 -8
  129. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/hooks/useSumbitErrorsFocus.d.ts +0 -5
  130. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/hooks/useValidation.d.ts +0 -22
  131. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/index.d.ts +0 -1
  132. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/index.d.ts +0 -1
  133. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/types.d.ts +0 -6
  134. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/validations.d.ts +0 -5
  135. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/index.d.ts +0 -1
  136. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/types.d.ts +0 -7
  137. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/validations.d.ts +0 -6
  138. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/MyActions/index.d.ts +0 -1
  139. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/MyTabs/index.d.ts +0 -1
  140. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/StyleData/index.d.ts +0 -1
  141. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/FillData/index.d.ts +0 -1
  142. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/StrokeData/index.d.ts +0 -1
  143. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/StyleData/types.d.ts +0 -10
  144. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/types.d.ts +0 -25
  145. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofencesList/hooks/useCheckedFeatures.d.ts +0 -9
  146. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofencesList/hooks/useCheckedGeofences.d.ts +0 -4
  147. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofencesList/hooks/useColumns.d.ts +0 -9
  148. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofencesList/hooks/useMaster.d.ts +0 -20
  149. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofencesList/hooks/useRowActionsGetter.d.ts +0 -9
  150. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofencesList/index.d.ts +0 -1
  151. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofencesList/subcomponents/Filter/index.d.ts +0 -7
  152. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/MeasureTool/constants.d.ts +0 -30
  153. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/MeasureTool/hooks/useMeasure.d.ts +0 -31
  154. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/MeasureTool/hooks/useValidation.d.ts +0 -10
  155. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/MeasureTool/index.d.ts +0 -1
  156. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/MeasureTool/subcomponents/MeasureData/index.d.ts +0 -1
  157. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/MeasureTool/subcomponents/MeasureData/types.d.ts +0 -6
  158. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/MeasureTool/subcomponents/MeasureData/validations.d.ts +0 -2
  159. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/MeasureTool/subcomponents/MyActions/index.d.ts +0 -1
  160. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/MeasureTool/types.d.ts +0 -9
  161. package/components/maps/components/GpsTools/types.d.ts +0 -34
  162. package/components/maps/components/Map/Map.d.ts +0 -2
  163. package/components/maps/components/Map/classes/index.d.ts +0 -5
  164. package/components/maps/components/Map/classes/types.d.ts +0 -19
  165. package/components/maps/components/Map/contexts/MapContext/MapContext.d.ts +0 -19
  166. package/components/maps/components/Map/contexts/MapContext/helper.d.ts +0 -8
  167. package/components/maps/components/Map/contexts/MapContext/index.d.ts +0 -2
  168. package/components/maps/components/Map/contexts/MapContext/store.d.ts +0 -16
  169. package/components/maps/components/Map/contexts/MapContext/types.d.ts +0 -414
  170. package/components/maps/components/Map/dictionary.d.ts +0 -70
  171. package/components/maps/components/Map/featureRenders/CommonFeatureRender/index.d.ts +0 -8
  172. package/components/maps/components/Map/featureRenders/MarkerFeatureRender/IconMarker.d.ts +0 -6
  173. package/components/maps/components/Map/featureRenders/MarkerFeatureRender/IconMarkerGrua.d.ts +0 -1
  174. package/components/maps/components/Map/featureRenders/MarkerFeatureRender/IconMarkerTaxi.d.ts +0 -1
  175. package/components/maps/components/Map/featureRenders/MarkerFeatureRender/index.d.ts +0 -2
  176. package/components/maps/components/Map/featureRenders/index.d.ts +0 -1
  177. package/components/maps/components/Map/hooks/useAutoFocus/index.d.ts +0 -8
  178. package/components/maps/components/Map/hooks/useAutoFocus/types.d.ts +0 -15
  179. package/components/maps/components/Map/hooks/useDisableZoomEvents/index.d.ts +0 -1
  180. package/components/maps/components/Map/hooks/useMapStore/index.d.ts +0 -3
  181. package/components/maps/components/Map/index.040c05a5.js +0 -1339
  182. package/components/maps/components/Map/index.d.ts +0 -7
  183. package/components/maps/components/Map/pluginLayers/PolylineWithArrows/index.d.ts +0 -9
  184. package/components/maps/components/Map/pluginLayers/index.d.ts +0 -1
  185. package/components/maps/components/Map/subcomponents/LayersContainer/index.d.ts +0 -2
  186. package/components/maps/components/Map/subcomponents/LayersTool/hooks/useCheckedLayers.d.ts +0 -9
  187. package/components/maps/components/Map/subcomponents/LayersTool/hooks/useColumns.d.ts +0 -15
  188. package/components/maps/components/Map/subcomponents/LayersTool/hooks/useMaster.d.ts +0 -12
  189. package/components/maps/components/Map/subcomponents/LayersTool/index.d.ts +0 -1
  190. package/components/maps/components/Map/subcomponents/LayersTool/model.d.ts +0 -19
  191. package/components/maps/components/Map/subcomponents/MainTools/index.d.ts +0 -2
  192. package/components/maps/components/Map/subcomponents/MainTools/types.d.ts +0 -5
  193. package/components/maps/components/Map/subcomponents/MyLayer/index.d.ts +0 -17
  194. package/components/maps/components/Map/subcomponents/MyLayer/subcomponents/MarkerClusterGroup/index.d.ts +0 -20
  195. package/components/maps/components/Map/subcomponents/MyLayer/subcomponents/MarkerClusterGroup/types.d.ts +0 -11
  196. package/components/maps/components/Map/subcomponents/MyLayer/subcomponents/RenderByEachFeatureComponent/index.d.ts +0 -12
  197. package/components/maps/components/Map/subcomponents/MyLayer/subcomponents/RenderByEachFeatureComponent/types.d.ts +0 -5
  198. package/components/maps/components/Map/subcomponents/MyLayer/types.d.ts +0 -2
  199. package/components/maps/components/Map/types.d.ts +0 -28
  200. package/components/maps/index.d.ts +0 -3
  201. package/hooks/useFormReadyForUpdate/index.d.ts +0 -6
  202. package/hooks/useFormReadyForUpdate/index.f60f500e.js +0 -20
  203. package/hooks/useSizeContainer/contants.d.ts +0 -1
  204. package/hooks/useSizeContainer/index.62b4e0c4.js +0 -35
  205. package/hooks/useSizeContainer/index.d.ts +0 -8
  206. package/hooks/useStateRef/index.538edb89.js +0 -15
  207. package/hooks/useStateRef/index.d.ts +0 -8
  208. package/components/DataGrid/formatters/ColumnUncertaintyFormatter/{index.084ce3ef.js → index.aeea65aa.js} +1 -1
  209. /package/components/GridLayout/subcomponents/{Griditem → GridItem}/index.d.ts +0 -0
  210. /package/components/GridLayout/subcomponents/{Griditem → GridItem}/types.d.ts +0 -0
  211. /package/utils/{index.9ad3909a.js → index.79b6a2c1.js} +0 -0
@@ -1,7 +0,0 @@
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';
@@ -1,9 +0,0 @@
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;
@@ -1 +0,0 @@
1
- export { PolylineWithArrows } from './PolylineWithArrows';
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare const LayersContainer: React.FC;
@@ -1,9 +0,0 @@
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];
@@ -1,15 +0,0 @@
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 {};
@@ -1,12 +0,0 @@
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
- };
@@ -1 +0,0 @@
1
- export declare function LayersTool(): import("react/jsx-runtime").JSX.Element;
@@ -1,19 +0,0 @@
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
- }
@@ -1,2 +0,0 @@
1
- import { MainToolsProps } from './types';
2
- export declare function MainTools(props: MainToolsProps): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +0,0 @@
1
- import { ReactNode } from "react";
2
- export interface MainToolsProps {
3
- aditionalMainTools?: ReactNode;
4
- gpsTools?: ReactNode;
5
- }
@@ -1,17 +0,0 @@
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>;
@@ -1,20 +0,0 @@
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>>;
@@ -1,11 +0,0 @@
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;
@@ -1,12 +0,0 @@
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>;
@@ -1,5 +0,0 @@
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;
@@ -1,2 +0,0 @@
1
- import type { LayerStore } from '../../contexts/MapContext/types';
2
- export declare type LayerProps = Pick<LayerStore, 'layerId'>;
@@ -1,28 +0,0 @@
1
- import { ReactNode } from "react";
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 interface MapProps {
23
- children: ReactNode;
24
- startLat?: number;
25
- startLon?: number;
26
- gpsTools?: ReactNode;
27
- aditionalMainTools?: ReactNode;
28
- }
@@ -1,3 +0,0 @@
1
- export { Map, MapProvider, MapContext, useMapStore, MarkerFeatureRender } from './components/Map';
2
- export type { MapProps, RendePropFeatureArgs, ComponentRenderPropFeature, FeatureId, FeatureCollection, Feature, Geometry } from './components/Map';
3
- export { GpsTools, useMapToolsStore } from './components/GpsTools';
@@ -1,6 +0,0 @@
1
- /**
2
- * hook encargado de activar la bandera de readyToUpdate cuando el formulario este completamente cargado
3
- * @param statusLoad
4
- * @returns
5
- */
6
- export declare function useFormReadyForUpdate(): boolean;
@@ -1,20 +0,0 @@
1
- import { useState, useEffect } from "react";
2
- import { useFormContext, useWatch } from "react-hook-form";
3
- function useFormReadyForUpdate() {
4
- const [readyToUpdate, setReadyToUpdate] = useState(false);
5
- const { control } = useFormContext();
6
- const statusLoad = useWatch({
7
- control,
8
- name: "statusLoad"
9
- });
10
- useEffect(() => {
11
- if (statusLoad !== "ready") {
12
- return;
13
- }
14
- setReadyToUpdate(true);
15
- }, [statusLoad]);
16
- return readyToUpdate;
17
- }
18
- export {
19
- useFormReadyForUpdate as u
20
- };
@@ -1 +0,0 @@
1
- export declare const THROTTLE_RESIZE_TIMEOUT = 200;
@@ -1,35 +0,0 @@
1
- import { useState, useEffect } from "react";
2
- import { throttle } from "lodash";
3
- const THROTTLE_RESIZE_TIMEOUT = 200;
4
- function useSizeContainer(containerElement) {
5
- const [currentState, setCurrentState] = useState();
6
- useEffect(() => {
7
- if (!containerElement) {
8
- return;
9
- }
10
- const throttleResize = throttle(setCurrentState, THROTTLE_RESIZE_TIMEOUT, {
11
- leading: false,
12
- trailing: true
13
- });
14
- const resizeObserver = new ResizeObserver((entries) => {
15
- for (let entry of entries) {
16
- throttleResize({
17
- containerWidth: entry.contentRect.width,
18
- containerHeight: entry.contentRect.height
19
- });
20
- }
21
- });
22
- if (containerElement) {
23
- resizeObserver.observe(containerElement);
24
- }
25
- return () => {
26
- if (containerElement) {
27
- resizeObserver.unobserve(containerElement);
28
- }
29
- };
30
- }, [containerElement]);
31
- return currentState;
32
- }
33
- export {
34
- useSizeContainer as u
35
- };
@@ -1,8 +0,0 @@
1
- import { ContainerSize } from '../../utils/types';
2
- /**
3
- * useSizeContainer: hook encargado de obtener el tamaño de un elemento contenedor
4
- * TODO: Usar throttle para evitar llamadas innecesarias
5
- * @param containerElement
6
- * @returns un objeto con el ancho y alto del contenedor
7
- */
8
- export declare function useSizeContainer(containerElement?: HTMLElement | undefined): ContainerSize | undefined;
@@ -1,15 +0,0 @@
1
- import { useState, useRef } from "react";
2
- function useStateRef(initialValue) {
3
- const [refState, setRefState] = useState(initialValue);
4
- const nodeRef = useRef(null);
5
- const ref = (node) => {
6
- if (node && nodeRef.current !== node) {
7
- nodeRef.current = node;
8
- setRefState(node);
9
- }
10
- };
11
- return [refState, ref];
12
- }
13
- export {
14
- useStateRef as u
15
- };
@@ -1,8 +0,0 @@
1
- /**
2
- * "useStateRef" es un hook que permite tener una referencia a un elemento del DOM
3
- * y al mismo tiempo tener un estado para ese elemento, lo que hace que se rerenderize
4
- * donde se usa refState
5
- * @param initialValue
6
- * @returns
7
- */
8
- export declare function useStateRef<T>(initialValue: T | null): [T | null, (node: T | null) => void];
@@ -1,5 +1,5 @@
1
- import { U as UncertaintyFormatter } from "../../../formatters/UncertaintyFormatter/index.08e1b79f.js";
2
1
  import { jsx } from "react/jsx-runtime";
2
+ import { U as UncertaintyFormatter } from "../../../formatters/UncertaintyFormatter/index.08e1b79f.js";
3
3
  function ColumnUncertaintyFormatter(props) {
4
4
  return (obProps) => {
5
5
  return /* @__PURE__ */ jsx(UncertaintyFormatter, {
File without changes