@m4l/components 0.2.14 → 0.2.16

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 (264) hide show
  1. package/@types/export.d.ts +3 -0
  2. package/components/AccountPopover/{index.7060320a.js → index.34362031.js} +9 -21
  3. package/components/AppBar/{index.c8e7b25c.js → index.c64b66ee.js} +5 -22
  4. package/components/CommonActions/components/ActionCancel/{index.82313aef.js → index.106c5327.js} +2 -2
  5. package/components/CommonActions/components/ActionFormCancel/index.6d00f737.js +61 -0
  6. package/components/CommonActions/components/ActionFormIntro/{index.29891df9.js → index.9ee7df17.js} +2 -2
  7. package/components/CommonActions/components/ActionIntro/{index.c70ae272.js → index.bd2a14b2.js} +2 -2
  8. package/components/CommonActions/components/Actions/index.8368ac0f.js +74 -0
  9. package/components/DataGrid/assets/icons/datagrid.svg +4 -0
  10. package/components/DataGrid/formatters/ColumnSetCheckFormatter/index.d.ts +9 -0
  11. package/components/DataGrid/formatters/ColumnSetCheckFormatter/types.d.ts +6 -0
  12. package/components/DataGrid/{index.387652a9.js → index.e5b552a2.js} +52 -730
  13. package/components/DataGrid/subcomponents/Actions/index.2f58e034.js +591 -0
  14. package/components/DataGrid/subcomponents/editors/TextEditor/index.91380a55.js +64 -0
  15. package/components/DragResizeWindow/DragResizeWindow.d.ts +15 -0
  16. package/components/DragResizeWindow/classes/index.d.ts +6 -0
  17. package/components/DragResizeWindow/classes/types.d.ts +8 -0
  18. package/components/DragResizeWindow/constants.d.ts +3 -0
  19. package/components/DragResizeWindow/index.b5206081.js +445 -0
  20. package/components/DragResizeWindow/index.d.ts +2 -0
  21. package/components/DragResizeWindow/types.d.ts +169 -0
  22. package/components/DragResizeWindow/utils.d.ts +2 -0
  23. package/components/DynamicFilter/{index.9e9885b0.js → index.73258cb8.js} +24 -91
  24. package/components/GridLayout/{index.68093cfb.js → index.4d26c328.js} +8 -63
  25. package/components/GridLayout/index.d.ts +1 -1
  26. package/components/GridLayout/subcomponents/Griditem/{index.8e4af155.js → index.25e9f332.js} +3 -3
  27. package/components/GridLayout/subcomponents/Responsive/{index.c32210fc.js → index.3839890b.js} +1 -1
  28. package/components/GridLayout/subcomponents/SizeProvider/index.a751962f.js +62 -0
  29. package/components/GridLayout/subcomponents/{WidthProvider → withSizeProvider}/index.d.ts +1 -1
  30. package/components/HelperText/{index.918bba47.js → index.7d2afdb3.js} +2 -23
  31. package/components/Icon/{index.e215d0f0.js → index.282c5b58.js} +5 -5
  32. package/components/Image/{index.d684bdf2.js → index.8915f577.js} +3 -3
  33. package/components/LanguagePopover/{index.424bad09.js → index.5e1d85a9.js} +4 -20
  34. package/components/LinearProgressIndeterminate/{index.a0ad2d9e.js → index.2d53ade4.js} +1 -1
  35. package/components/LoadingError/{index.b3e4e8e5.js → index.d95e6efb.js} +5 -23
  36. package/components/MFLoader/{index.3d17dfc3.js → index.cc563716.js} +13 -22
  37. package/components/ModalDialog/{index.40f6571e.js → index.690c82a4.js} +5 -5
  38. package/components/NavLink/{index.ed4c0609.js → index.b75c91e1.js} +2 -22
  39. package/components/NoItemSelected/{index.5ed80b8e.js → index.5246b204.js} +1 -1
  40. package/components/ObjectLogs/{index.3a939c6b.js → index.f2b5f7d9.js} +5 -82
  41. package/components/PDFViewer/{index.4d16e5bc.js → index.51e4f1b2.js} +3 -23
  42. package/components/Page/{index.890fbaac.js → index.f4aedd2d.js} +1 -1
  43. package/components/PaperForm/classes/index.d.ts +1 -2
  44. package/components/PaperForm/classes/types.d.ts +0 -1
  45. package/components/PaperForm/{index.013ed28b.js → index.30f68f0f.js} +6 -11
  46. package/components/PaperForm/types.d.ts +1 -4
  47. package/components/Period/{index.3bd05e05.js → index.8e118051.js} +5 -88
  48. package/components/PopupsProvider/classes/index.d.ts +11 -0
  49. package/components/PopupsProvider/classes/types.d.ts +9 -0
  50. package/components/PopupsProvider/constants.d.ts +10 -0
  51. package/components/PopupsProvider/contexts/PopupsContext/PopupsContext.d.ts +19 -0
  52. package/components/PopupsProvider/contexts/PopupsContext/helper.d.ts +7 -0
  53. package/components/PopupsProvider/contexts/PopupsContext/index.d.ts +1 -0
  54. package/components/PopupsProvider/contexts/PopupsContext/store.d.ts +16 -0
  55. package/components/PopupsProvider/contexts/PopupsContext/types.d.ts +117 -0
  56. package/components/PopupsProvider/hooks/usePopupsStore/index.d.ts +3 -0
  57. package/components/PopupsProvider/index.c9400f03.js +247 -0
  58. package/components/PopupsProvider/index.d.ts +2 -0
  59. package/components/PopupsProvider/subcomponents/Popup/index.d.ts +8 -0
  60. package/components/PopupsProvider/subcomponents/Popup/types.d.ts +16 -0
  61. package/components/PopupsProvider/subcomponents/PopupsContainer/index.d.ts +2 -0
  62. package/components/PopupsProvider/subcomponents/PopupsContainer/types.d.ts +1 -0
  63. package/components/PrintingSystem/{index.70234425.js → index.9dc25af9.js} +14 -18
  64. package/components/PrintingSystem/subcomponents/BodyNode/{index.1dd418aa.js → index.6c1cf8f5.js} +1 -1
  65. package/components/PrintingSystem/subcomponents/ChartNode/{index.6aadd6b3.js → index.fdb01c74.js} +1 -1
  66. package/components/PrintingSystem/subcomponents/DividerNode/{index.91e65ff6.js → index.46c5eb9e.js} +1 -1
  67. package/components/PrintingSystem/subcomponents/FooterNode/{index.c2481749.js → index.18aa1ddd.js} +1 -1
  68. package/components/PrintingSystem/subcomponents/GridNode/{index.758d94d1.js → index.f4b4ffca.js} +6 -2
  69. package/components/PrintingSystem/subcomponents/HeaderNode/{index.732d7c58.js → index.9afcd686.js} +1 -1
  70. package/components/PrintingSystem/subcomponents/PaperNode/{index.1a20a9d4.js → index.a3967d23.js} +1 -1
  71. package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.8402e742.js → index.e1c05641.js} +5 -3
  72. package/components/PrintingSystem/subcomponents/SectionNode/{index.25aeb4aa.js → index.c5588090.js} +1 -1
  73. package/components/PrintingSystem/subcomponents/TextBoxNode/{index.2b632722.js → index.7792384b.js} +1 -1
  74. package/components/PrintingSystem/types.d.ts +2 -2
  75. package/components/PropertyValue/{index.45482ca3.js → index.d61c943c.js} +4 -20
  76. package/components/Resizeable/{index.6478d7d8.js → index.18c86aff.js} +5 -5
  77. package/components/ResizeableWindow/types.d.ts +3 -5
  78. package/components/SideBar/{index.614f85fb.js → index.f5aecd41.js} +23 -22
  79. package/components/ToastContainer/{index.5e729fbb.js → index.83304f62.js} +5 -7
  80. package/components/animate/{index.4e9774a6.js → index.5d4575bc.js} +2 -6
  81. package/components/areas/components/AreasAdmin/{index.c1539c1b.js → index.c55d5c24.js} +28 -97
  82. package/components/areas/components/AreasViewer/classes/index.d.ts +1 -1
  83. package/components/areas/components/AreasViewer/{index.e084d8e9.js → index.2bec316e.js} +24 -88
  84. package/components/areas/components/index.558684b3.js +1 -0
  85. package/components/areas/contexts/AreasContext/helper.d.ts +2 -2
  86. package/components/areas/contexts/AreasContext/{index.cffa1526.js → index.827ee1e5.js} +17 -10
  87. package/components/areas/contexts/index.24025b97.js +1 -0
  88. package/components/areas/hooks/index.d9dc1e21.js +1 -0
  89. package/components/areas/hooks/useAreas/{index.00031ac3.js → index.71bc8f19.js} +1 -1
  90. package/components/areas/index.4cc6a221.js +22 -0
  91. package/components/formatters/BooleanFormatter/{index.5ed55bda.js → index.b21353a5.js} +3 -2
  92. package/components/formatters/{index.4426a315.js → index.7b216229.js} +3 -7
  93. package/components/hook-form/HelperError/index.66bbcac3.js +30 -0
  94. package/components/hook-form/RHFAutocomplete/{index.01a8f57e.js → index.210ee73f.js} +7 -22
  95. package/components/hook-form/RHFAutocompleteAsync/{index.df1d5bca.js → index.e5935f63.js} +1 -1
  96. package/components/hook-form/RHFCheckbox/{index.23fc4851.js → index.a38715e3.js} +2 -22
  97. package/components/hook-form/RHFColorPicker/{index.c7695748.js → index.bcc1eced.js} +5 -21
  98. package/components/hook-form/RHFDateTime/{index.984b803f.js → index.fa80a8cb.js} +5 -21
  99. package/components/hook-form/RHFHelperError/index.d.ts +4 -0
  100. package/components/hook-form/RHFPeriod/{index.1852e7d3.js → index.d320e56f.js} +3 -2
  101. package/components/hook-form/RHFRadioGroup/{index.3b17819b.js → index.1ddb3d93.js} +1 -1
  102. package/components/hook-form/RHFTextField/{index.1167879e.js → index.ab689d7d.js} +6 -8
  103. package/components/hook-form/RHFUpload/{index.49edcb02.js → index.e251c9b6.js} +5 -22
  104. package/components/index.d.ts +2 -1
  105. package/components/maps/components/GpsTools/GpsTools.d.ts +1 -0
  106. package/components/maps/components/GpsTools/classes/index.d.ts +4 -0
  107. package/components/maps/components/GpsTools/classes/types.d.ts +20 -0
  108. package/components/maps/components/GpsTools/constants.d.ts +8 -0
  109. package/components/maps/components/GpsTools/contexts/GpsToolsContext/index.d.ts +19 -0
  110. package/components/maps/components/GpsTools/contexts/GpsToolsContext/store.d.ts +16 -0
  111. package/components/maps/components/GpsTools/contexts/GpsToolsContext/types.d.ts +173 -0
  112. package/components/maps/components/GpsTools/hooks/useGpsToolsStore/index.d.ts +2 -0
  113. package/components/maps/components/GpsTools/hooks/useLayers/index.d.ts +1 -0
  114. package/components/maps/components/GpsTools/icons.d.ts +15 -0
  115. package/components/maps/components/GpsTools/index.03998a42.js +2086 -0
  116. package/components/maps/components/GpsTools/index.d.ts +2 -0
  117. package/components/maps/components/GpsTools/subcomponents/TabTools/index.d.ts +9 -0
  118. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/constants.d.ts +7 -0
  119. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/index.d.ts +1 -0
  120. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/model.d.ts +122 -0
  121. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/constants.d.ts +20 -0
  122. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/helpers.d.ts +7 -0
  123. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/hooks/useDrawing.d.ts +11 -0
  124. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/hooks/useSubmit.d.ts +8 -0
  125. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/hooks/useSumbitErrorsFocus.d.ts +5 -0
  126. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/hooks/useValidation.d.ts +22 -0
  127. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/index.d.ts +1 -0
  128. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/index.d.ts +1 -0
  129. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/types.d.ts +6 -0
  130. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/validations.d.ts +5 -0
  131. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/index.d.ts +1 -0
  132. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/types.d.ts +7 -0
  133. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/validations.d.ts +6 -0
  134. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/MyActions/index.d.ts +1 -0
  135. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/MyTabs/index.d.ts +1 -0
  136. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/StyleData/index.d.ts +1 -0
  137. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/FillData/index.d.ts +1 -0
  138. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/StrokeData/index.d.ts +1 -0
  139. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/StyleData/types.d.ts +10 -0
  140. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/types.d.ts +25 -0
  141. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofencesList/hooks/useCheckedFeatures.d.ts +9 -0
  142. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofencesList/hooks/useCheckedGeofences.d.ts +4 -0
  143. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofencesList/hooks/useColumns.d.ts +9 -0
  144. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofencesList/hooks/useMaster.d.ts +20 -0
  145. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofencesList/hooks/useRowActionsGetter.d.ts +9 -0
  146. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofencesList/index.d.ts +1 -0
  147. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofencesList/subcomponents/Filter/index.d.ts +7 -0
  148. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/MeasureTool/constants.d.ts +30 -0
  149. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/MeasureTool/hooks/useMeasure.d.ts +31 -0
  150. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/MeasureTool/hooks/useValidation.d.ts +10 -0
  151. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/MeasureTool/index.d.ts +1 -0
  152. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/MeasureTool/subcomponents/MeasureData/index.d.ts +1 -0
  153. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/MeasureTool/subcomponents/MeasureData/types.d.ts +6 -0
  154. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/MeasureTool/subcomponents/MeasureData/validations.d.ts +2 -0
  155. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/MeasureTool/subcomponents/MyActions/index.d.ts +1 -0
  156. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/MeasureTool/types.d.ts +9 -0
  157. package/components/maps/components/GpsTools/types.d.ts +34 -0
  158. package/components/maps/components/Map/Map.d.ts +2 -0
  159. package/components/maps/components/Map/classes/index.d.ts +5 -0
  160. package/components/maps/components/Map/classes/types.d.ts +19 -0
  161. package/components/maps/components/Map/constants.d.ts +11 -0
  162. package/components/maps/components/Map/contexts/MapContext/MapContext.d.ts +19 -0
  163. package/components/maps/components/Map/contexts/MapContext/helper.d.ts +8 -0
  164. package/components/maps/components/Map/contexts/MapContext/index.d.ts +2 -0
  165. package/components/maps/components/Map/contexts/MapContext/store.d.ts +16 -0
  166. package/components/maps/components/Map/contexts/MapContext/types.d.ts +414 -0
  167. package/components/maps/components/Map/dictionary.d.ts +70 -0
  168. package/components/maps/components/Map/featureRenders/CommonFeatureRender/index.d.ts +8 -0
  169. package/components/maps/components/Map/featureRenders/MarkerFeatureRender/IconMarker.d.ts +6 -0
  170. package/components/maps/components/Map/featureRenders/MarkerFeatureRender/IconMarkerGrua.d.ts +1 -0
  171. package/components/maps/components/Map/featureRenders/MarkerFeatureRender/IconMarkerTaxi.d.ts +1 -0
  172. package/components/maps/components/Map/featureRenders/MarkerFeatureRender/index.d.ts +2 -0
  173. package/components/maps/components/Map/featureRenders/index.d.ts +1 -0
  174. package/components/maps/components/Map/hooks/useAutoFocus/index.d.ts +8 -0
  175. package/components/maps/components/Map/hooks/useAutoFocus/types.d.ts +15 -0
  176. package/components/maps/components/Map/hooks/useDisableZoomEvents/index.d.ts +1 -0
  177. package/components/maps/components/Map/hooks/useMapStore/index.d.ts +3 -0
  178. package/components/maps/components/Map/index.b79ceae4.js +1338 -0
  179. package/components/maps/components/Map/index.d.ts +7 -0
  180. package/components/maps/components/Map/pluginLayers/PolylineWithArrows/index.d.ts +9 -0
  181. package/components/maps/components/Map/pluginLayers/index.d.ts +1 -0
  182. package/components/maps/components/Map/subcomponents/LayersContainer/index.d.ts +2 -0
  183. package/components/maps/components/Map/subcomponents/LayersTool/hooks/useCheckedLayers.d.ts +9 -0
  184. package/components/maps/components/Map/subcomponents/LayersTool/hooks/useColumns.d.ts +15 -0
  185. package/components/maps/components/Map/subcomponents/LayersTool/hooks/useMaster.d.ts +12 -0
  186. package/components/maps/components/Map/subcomponents/LayersTool/index.d.ts +1 -0
  187. package/components/maps/components/Map/subcomponents/LayersTool/model.d.ts +19 -0
  188. package/components/maps/components/Map/subcomponents/MainTools/index.d.ts +2 -0
  189. package/components/maps/components/Map/subcomponents/MainTools/types.d.ts +5 -0
  190. package/components/maps/components/Map/subcomponents/MyLayer/index.d.ts +17 -0
  191. package/components/maps/components/Map/subcomponents/MyLayer/subcomponents/MarkerClusterGroup/index.d.ts +20 -0
  192. package/components/maps/components/Map/subcomponents/MyLayer/subcomponents/MarkerClusterGroup/types.d.ts +11 -0
  193. package/components/maps/components/Map/subcomponents/MyLayer/subcomponents/RenderByEachFeatureComponent/index.d.ts +12 -0
  194. package/components/maps/components/Map/subcomponents/MyLayer/subcomponents/RenderByEachFeatureComponent/types.d.ts +5 -0
  195. package/components/maps/components/Map/subcomponents/MyLayer/types.d.ts +2 -0
  196. package/components/maps/components/Map/types.d.ts +28 -0
  197. package/components/maps/index.d.ts +3 -0
  198. package/components/modal/WindowBase.779aa7a5.js +74 -0
  199. package/components/modal/WindowConfirm.ec73ba4f.js +102 -0
  200. package/components/modal/index.61389369.js +57 -0
  201. package/components/mui_extended/Accordion/{index.3087f40e.js → index.e15e10d9.js} +4 -4
  202. package/components/mui_extended/Button/{index.0f2552ed.js → index.5c68764a.js} +3 -3
  203. package/components/mui_extended/{CheckBox.38abccd8.js → CheckBox.e662d20c.js} +1 -1
  204. package/components/mui_extended/IconButton/{index.5afe56b7.js → index.a719445f.js} +2 -2
  205. package/components/mui_extended/MenuActions/{index.cc54c35c.js → index.62359120.js} +5 -19
  206. package/components/mui_extended/Pager/{index.5fbbefe2.js → index.fa5f5ded.js} +3 -2
  207. package/components/mui_extended/Tab/{index.ae9ea641.js → index.cefe27e7.js} +6 -6
  208. package/components/mui_extended/ToggleButton/ToggleButton.d.ts +1 -1
  209. package/components/mui_extended/ToggleButton/{index.667d63cd.js → index.5aa6ea58.js} +1 -5
  210. package/components/mui_extended/ToggleButton/types.d.ts +2 -2
  211. package/components/mui_extended/ToggleIconButton/{index.2de19be3.js → index.47ddefd4.js} +1 -6
  212. package/components/mui_extended/ToggleIconButton/types.d.ts +1 -1
  213. package/components/mui_extended/index.b606cd9d.js +1 -0
  214. package/contexts/ModalContext/{index.ef38d747.js → index.6085b148.js} +1 -1
  215. package/hocs/withToggle/index.d.ts +1 -9
  216. package/hocs/withToggle/types.d.ts +10 -0
  217. package/hooks/useFormAddEdit/index.59821a33.js +96 -0
  218. package/hooks/useFormReadyForUpdate/index.d.ts +6 -0
  219. package/hooks/useFormReadyForUpdate/index.f60f500e.js +20 -0
  220. package/hooks/useModal/{index.8acace45.js → index.1c88654a.js} +1 -1
  221. package/hooks/useSizeContainer/contants.d.ts +1 -0
  222. package/hooks/useSizeContainer/index.62b4e0c4.js +35 -0
  223. package/hooks/useSizeContainer/index.d.ts +8 -0
  224. package/hooks/useStateRef/index.538edb89.js +15 -0
  225. package/hooks/useStateRef/index.d.ts +8 -0
  226. package/hooks/useTab/index.500c048b.js +12 -0
  227. package/index.js +225 -198
  228. package/{node_modules.79f5ed2f.js → node_modules.bb836860.js} +1 -1
  229. package/package.json +6 -4
  230. package/{react-draggable.ee21cb7e.js → react-draggable.312ab17d.js} +1 -1
  231. package/{react-resizable.ee028152.js → react-resizable.f2c58a4c.js} +2 -2
  232. package/test/getNameDataTestId.14875ec7.js +6 -0
  233. package/utils/capitalizeFirstLetter.d.ts +1 -0
  234. package/utils/getComponentUtilityClass.d.ts +1 -0
  235. package/utils/getPaletteColor.d.ts +2 -0
  236. package/utils/getThemeVariantColor.d.ts +3 -0
  237. package/utils/getTransformXY.d.ts +4 -0
  238. package/utils/index.d.ts +6 -7
  239. package/utils/isValidDate.d.ts +1 -0
  240. package/utils/types.d.ts +16 -0
  241. package/components/CommonActions/components/ActionFormCancel/index.3b2605ee.js +0 -144
  242. package/components/CommonActions/components/Actions/index.93e9112b.js +0 -161
  243. package/components/DraggableWindow/index.d.ts +0 -3
  244. package/components/DraggableWindow/index.f9f067bd.js +0 -39
  245. package/components/DraggableWindow/types.d.ts +0 -5
  246. package/components/areas/components/index.4381fcfa.js +0 -32
  247. package/components/areas/contexts/index.003a53c1.js +0 -4
  248. package/components/areas/hooks/index.0184c6f7.js +0 -4
  249. package/components/areas/index.1b5b2267.js +0 -56
  250. package/components/maps/leaflet.d.ts +0 -29
  251. package/components/modal/WindowBase.8e3e5337.js +0 -158
  252. package/components/modal/WindowConfirm.eec3e5d0.js +0 -186
  253. package/components/modal/index.ac0c9093.js +0 -146
  254. package/components/mui_extended/index.6837d969.js +0 -24
  255. package/hooks/useFormAddEdit/index.8276444a.js +0 -181
  256. package/hooks/useTab/index.07f652ec.js +0 -101
  257. package/vendor.f0742647.js +0 -140
  258. package/components/GridLayout/subcomponents/{GridItem → Griditem}/index.d.ts +0 -0
  259. package/components/GridLayout/subcomponents/{GridItem → Griditem}/types.d.ts +0 -0
  260. package/components/mui_extended/Badge/{index.b09524fe.js → index.09f5aee5.js} +1 -1
  261. package/components/mui_extended/Popover/{index.9f35d0eb.js → index.b3eca6b1.js} +2 -2
  262. package/components/mui_extended/Tooltip/{index.5a795dcd.js → index.24a2bc3f.js} +1 -1
  263. package/components/mui_extended/Typography/{index.443590d6.js → index.379dd374.js} +1 -1
  264. package/utils/{index.de903261.js → index.9ad3909a.js} +3 -3
@@ -1,6 +1,6 @@
1
1
  import React__default from "react";
2
- import { c as cjs } from "./react-draggable.ee21cb7e.js";
3
- import { u as utils } from "./utils/index.de903261.js";
2
+ import { c as cjs } from "./react-draggable.312ab17d.js";
3
+ import { u as utils } from "./utils/index.9ad3909a.js";
4
4
  import PropTypes from "prop-types";
5
5
  var reactResizable = { exports: {} };
6
6
  var Resizable$2 = {};
@@ -0,0 +1,6 @@
1
+ const getNameDataTestId = (ELEMENT_PREFIX, ELEMENT_KEY, ELEMENT_ID) => {
2
+ return `${ELEMENT_PREFIX}-${[ELEMENT_KEY]}-${ELEMENT_ID}`;
3
+ };
4
+ export {
5
+ getNameDataTestId as g
6
+ };
@@ -0,0 +1 @@
1
+ export declare function capitalizeFirstLetter(str: string): string;
@@ -0,0 +1 @@
1
+ export declare function getComponentUtilityClass(componentName: string): (slot: string) => string;
@@ -0,0 +1,2 @@
1
+ import { Palette } from '@mui/material/styles';
2
+ export declare const getPaletteColor: (palette: Palette, s: string) => any;
@@ -0,0 +1,3 @@
1
+ import { Theme } from '@mui/material/styles';
2
+ import { VariantColor } from './types';
3
+ export declare const getThemeVariantColor: (theme: Theme, variant: VariantColor | undefined) => string;
@@ -0,0 +1,4 @@
1
+ export declare const getTransformXY: (elementRef: HTMLElement) => {
2
+ x: number;
3
+ y: number;
4
+ } | undefined;
package/utils/index.d.ts CHANGED
@@ -1,7 +1,6 @@
1
- import { Palette, Theme } from '@mui/material/styles';
2
- import { VariantColor } from './types';
3
- export declare function isValidDate(d: Date): boolean;
4
- export declare const getPaletteColor: (palette: Palette, s: string) => any;
5
- export declare const getVariantColor: (variant: VariantColor | undefined) => "error" | "warning" | "info" | "primary";
6
- export declare const getThemeVariantColor: (theme: Theme, variant: VariantColor | undefined) => string;
7
- export declare function getComponentUtilityClass(componentName: string): (slot: string) => string;
1
+ export { capitalizeFirstLetter } from "./capitalizeFirstLetter";
2
+ export { getComponentUtilityClass } from "./getComponentUtilityClass";
3
+ export { getPaletteColor } from "./getPaletteColor";
4
+ export { getThemeVariantColor } from "./getThemeVariantColor";
5
+ export { getTransformXY } from "./getTransformXY";
6
+ export { isValidDate } from "./isValidDate";
@@ -0,0 +1 @@
1
+ export declare function isValidDate(d: Date): boolean;
package/utils/types.d.ts CHANGED
@@ -5,3 +5,19 @@ export declare type PartialExcept<T, K extends keyof T> = Partial<Omit<T, K>> &
5
5
  export declare type RequiredExcept<T, K extends keyof T> = Required<Omit<T, K>> & Partial<Pick<T, K>>;
6
6
  export declare type PickRequired<T, K extends keyof T> = Required<Pick<T, K>>;
7
7
  export declare type OmitExcept<T, K extends keyof T> = Pick<T, K> & Partial<Record<Exclude<keyof T, K>, never>>;
8
+ export declare type ContainerSize = {
9
+ containerWidth: number;
10
+ containerHeight: number;
11
+ };
12
+ export declare type Size = {
13
+ width: number;
14
+ height: number;
15
+ };
16
+ export declare type PositionXY = {
17
+ x: number;
18
+ y: number;
19
+ };
20
+ export declare type OptionalPosition = {
21
+ x?: number;
22
+ y?: number;
23
+ };
@@ -1,144 +0,0 @@
1
- import { useFormContext, useFormState } from "react-hook-form";
2
- import { useModuleDictionary } from "@m4l/core";
3
- import { B as Button } from "../../../mui_extended/Button/index.0f2552ed.js";
4
- import { useCallback, useEffect } from "react";
5
- import { u as useModal } from "../../../../hooks/useModal/index.8acace45.js";
6
- import "@mui/material";
7
- import "../../../../react-draggable.ee21cb7e.js";
8
- import "../../../Resizeable/index.6478d7d8.js";
9
- import { jsx } from "react/jsx-runtime";
10
- import "@m4l/graphics";
11
- import "../../../modal/index.ac0c9093.js";
12
- import { W as WindowConfirm } from "../../../modal/WindowConfirm.eec3e5d0.js";
13
- import "../../../animate/index.4e9774a6.js";
14
- import "framer-motion";
15
- import "@mui/material/styles";
16
- import "react-router-dom";
17
- import "../../../animate/LoadingScreen/index.1d0c4307.js";
18
- import "../../../animate/PropagateLoader/index.7fab43c8.js";
19
- import "../../../Icon/index.e215d0f0.js";
20
- import "clsx";
21
- import "../../../mui_extended/IconButton/index.5afe56b7.js";
22
- import "zustand";
23
- import "../../../areas/contexts/AreasContext/index.cffa1526.js";
24
- import "../../../areas/components/AreasAdmin/index.c1539c1b.js";
25
- import "zustand/shallow";
26
- import "../../../ScrollBar/index.010f1b9d.js";
27
- import "../../../mui_extended/Accordion/index.3087f40e.js";
28
- import "../../../mui_extended/Typography/index.443590d6.js";
29
- import "../../../mui_extended/Avatar/index.75e6ed57.js";
30
- import "../../../mui_extended/CheckBox.38abccd8.js";
31
- import "../../../mui_extended/Badge/index.b09524fe.js";
32
- import "../../../Image/index.d684bdf2.js";
33
- import "@mui/lab";
34
- import "../../../mui_extended/MenuActions/index.cc54c35c.js";
35
- import "../../../mui_extended/Popover/index.9f35d0eb.js";
36
- import "../../../mui_extended/Stack/index.0e53197c.js";
37
- import "../../../mui_extended/Tab/index.ae9ea641.js";
38
- import "../../../mui_extended/Pager/index.5fbbefe2.js";
39
- import "../../../mui_extended/Tooltip/index.5a795dcd.js";
40
- import "../../../areas/components/AreasViewer/index.e084d8e9.js";
41
- import "../../../LinearProgressIndeterminate/index.a0ad2d9e.js";
42
- import "../../../LoadingError/index.b3e4e8e5.js";
43
- import "../../../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
44
- import "zustand/middleware/immer";
45
- import "../../../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
46
- import { u as useWindowToolsMF } from "../../../areas/hooks/useWindowToolsMF/index.b7afaf88.js";
47
- import "../../../hook-form/RHFAutocomplete/index.01a8f57e.js";
48
- import "../../../HelperText/index.918bba47.js";
49
- import "../../../../node_modules.79f5ed2f.js";
50
- import "lodash-es/debounce";
51
- import "lodash-es/each";
52
- import "../../../hook-form/RHFColorPicker/index.c7695748.js";
53
- import "lodash/debounce";
54
- import "../../../hook-form/RHFAutocompleteAsync/index.df1d5bca.js";
55
- import "../../../hook-form/RHFCheckbox/index.23fc4851.js";
56
- import "@mui/x-date-pickers";
57
- import "../../../hook-form/RHFDateTime/index.984b803f.js";
58
- import "../../../hook-form/RHFTextField/index.1167879e.js";
59
- import "../../../hook-form/RHFPeriod/index.1852e7d3.js";
60
- import "../../../Period/index.3bd05e05.js";
61
- import { u as useCommonActionsUtilityClasses } from "../Actions/index.93e9112b.js";
62
- import "lodash/isString";
63
- import "react-dropzone";
64
- import "../../../hook-form/RHFUpload/index.49edcb02.js";
65
- import "../../../formatters/index.4426a315.js";
66
- import "../../../DataGrid/index.387652a9.js";
67
- import "react-dnd";
68
- import "react-dnd-html5-backend";
69
- import "../../../DynamicFilter/index.9e9885b0.js";
70
- import "yup";
71
- import "../../../../contexts/RHFormContext/index.7769076a.js";
72
- import "../../../GridLayout/subcomponents/Griditem/index.8e4af155.js";
73
- import "../../../GridLayout/index.68093cfb.js";
74
- import "fast-equals";
75
- import "lodash";
76
- import "../../../PrintingSystem/index.70234425.js";
77
- import "../../../LanguagePopover/index.424bad09.js";
78
- import "../../../MFLoader/index.3d17dfc3.js";
79
- import "../../../NavLink/index.ed4c0609.js";
80
- import "../../../NoItemSelected/index.5ed80b8e.js";
81
- import "../../../ObjectLogs/index.3a939c6b.js";
82
- import "../../../../react-json-view.5636414a.js";
83
- import "../../../PaperForm/index.013ed28b.js";
84
- import "../../../PDFViewer/index.4d16e5bc.js";
85
- import "../../../Page/index.890fbaac.js";
86
- import "../../../PropertyValue/index.45482ca3.js";
87
- import "../../../SplitLayout/index.30fd5861.js";
88
- import "../../../../react-splitter-layout.c5d98bf7.js";
89
- import "../../../ToastContainer/index.5e729fbb.js";
90
- import "../../../SideBar/index.614f85fb.js";
91
- import "../../../AppBar/index.c8e7b25c.js";
92
- import "../../../AccountPopover/index.7060320a.js";
93
- function ActionFormCancel() {
94
- const {
95
- getLabel
96
- } = useModuleDictionary();
97
- const {
98
- openModal
99
- } = useModal();
100
- const {
101
- close: closeWindow,
102
- setFnQueryClose: setQueryClose
103
- } = useWindowToolsMF();
104
- const {
105
- control
106
- } = useFormContext();
107
- const {
108
- isDirty
109
- } = useFormState({
110
- control
111
- });
112
- const onConfirmQuit = useCallback(() => {
113
- closeWindow();
114
- }, []);
115
- const onClickCancel = useCallback(() => {
116
- if (isDirty) {
117
- openModal({
118
- window: /* @__PURE__ */ jsx(WindowConfirm, {
119
- variant: "warning",
120
- title: getLabel("common_actions.confirm_quit_title"),
121
- msg: getLabel("common_actions.confirm_quit_msg"),
122
- onClickIntro: onConfirmQuit
123
- }),
124
- variant: "warning"
125
- });
126
- } else {
127
- onConfirmQuit();
128
- }
129
- }, [getLabel, isDirty, openModal]);
130
- useEffect(() => {
131
- setQueryClose(onClickCancel);
132
- }, [onClickCancel]);
133
- const classes = useCommonActionsUtilityClasses();
134
- return /* @__PURE__ */ jsx(Button, {
135
- variant: "outlined",
136
- color: "inherit",
137
- onClick: onClickCancel,
138
- className: classes.actionFormCancel,
139
- children: getLabel("common_actions.cancel")
140
- });
141
- }
142
- export {
143
- ActionFormCancel as A
144
- };
@@ -1,161 +0,0 @@
1
- import { T as TEST_PROP_ID } from "../../../../test/constants_no_mock.86c553a9.js";
2
- import { jsx } from "react/jsx-runtime";
3
- import { generateUtilityClasses } from "@mui/material";
4
- import { unstable_composeClasses } from "@mui/base";
5
- import { g as getComponentUtilityClass } from "../../../../utils/index.de903261.js";
6
- import { styled } from "@mui/material/styles";
7
- import "@m4l/core";
8
- import "@mui/material/Button";
9
- import "../../../mui_extended/Button/index.0f2552ed.js";
10
- import "clsx";
11
- import "react-hook-form";
12
- import "react";
13
- import "../../../../contexts/ModalContext/index.ef38d747.js";
14
- import "../../../../react-draggable.ee21cb7e.js";
15
- import "../../../Resizeable/index.6478d7d8.js";
16
- import "@m4l/graphics";
17
- import "../../../modal/index.ac0c9093.js";
18
- import "../../../animate/index.4e9774a6.js";
19
- import "framer-motion";
20
- import "react-router-dom";
21
- import "../../../animate/LoadingScreen/index.1d0c4307.js";
22
- import "../../../animate/PropagateLoader/index.7fab43c8.js";
23
- import "../../../Icon/index.e215d0f0.js";
24
- import "../../../mui_extended/IconButton/index.5afe56b7.js";
25
- import "zustand";
26
- import "../../../areas/contexts/AreasContext/index.cffa1526.js";
27
- import "../../../areas/components/AreasAdmin/index.c1539c1b.js";
28
- import "zustand/shallow";
29
- import "../../../ScrollBar/index.010f1b9d.js";
30
- import "../../../mui_extended/Accordion/index.3087f40e.js";
31
- import "../../../mui_extended/Typography/index.443590d6.js";
32
- import "../../../mui_extended/Avatar/index.75e6ed57.js";
33
- import "../../../mui_extended/CheckBox.38abccd8.js";
34
- import "../../../mui_extended/Badge/index.b09524fe.js";
35
- import "../../../Image/index.d684bdf2.js";
36
- import "@mui/lab";
37
- import "../../../mui_extended/MenuActions/index.cc54c35c.js";
38
- import "../../../mui_extended/Popover/index.9f35d0eb.js";
39
- import "../../../mui_extended/Stack/index.0e53197c.js";
40
- import "../../../mui_extended/Tab/index.ae9ea641.js";
41
- import "../../../mui_extended/Pager/index.5fbbefe2.js";
42
- import "../../../mui_extended/Tooltip/index.5a795dcd.js";
43
- import "../../../areas/components/AreasViewer/index.e084d8e9.js";
44
- import "../../../LinearProgressIndeterminate/index.a0ad2d9e.js";
45
- import "../../../LoadingError/index.b3e4e8e5.js";
46
- import "../../../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
47
- import "zustand/middleware/immer";
48
- import "../../../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
49
- import "../../../hook-form/RHFAutocomplete/index.01a8f57e.js";
50
- import "../../../HelperText/index.918bba47.js";
51
- import "../../../../node_modules.79f5ed2f.js";
52
- import "lodash-es/debounce";
53
- import "lodash-es/each";
54
- import "../../../hook-form/RHFColorPicker/index.c7695748.js";
55
- import "lodash/debounce";
56
- import "../../../hook-form/RHFAutocompleteAsync/index.df1d5bca.js";
57
- import "../../../hook-form/RHFCheckbox/index.23fc4851.js";
58
- import "@mui/x-date-pickers";
59
- import "../../../hook-form/RHFDateTime/index.984b803f.js";
60
- import "../../../hook-form/RHFTextField/index.1167879e.js";
61
- import "../../../hook-form/RHFPeriod/index.1852e7d3.js";
62
- import "../../../Period/index.3bd05e05.js";
63
- import "lodash/isString";
64
- import "react-dropzone";
65
- import "../../../hook-form/RHFUpload/index.49edcb02.js";
66
- import "../../../formatters/index.4426a315.js";
67
- import "../../../DataGrid/index.387652a9.js";
68
- import "react-dnd";
69
- import "react-dnd-html5-backend";
70
- import "../../../DynamicFilter/index.9e9885b0.js";
71
- import "yup";
72
- import "../../../../contexts/RHFormContext/index.7769076a.js";
73
- import "../../../GridLayout/subcomponents/Griditem/index.8e4af155.js";
74
- import "../../../GridLayout/index.68093cfb.js";
75
- import "fast-equals";
76
- import "lodash";
77
- import "../../../PrintingSystem/index.70234425.js";
78
- import "../../../LanguagePopover/index.424bad09.js";
79
- import "../../../MFLoader/index.3d17dfc3.js";
80
- import "../../../NavLink/index.ed4c0609.js";
81
- import "../../../NoItemSelected/index.5ed80b8e.js";
82
- import "../../../ObjectLogs/index.3a939c6b.js";
83
- import "../../../../react-json-view.5636414a.js";
84
- import "../../../PaperForm/index.013ed28b.js";
85
- import "../../../PDFViewer/index.4d16e5bc.js";
86
- import "../../../Page/index.890fbaac.js";
87
- import "../../../PropertyValue/index.45482ca3.js";
88
- import "../../../SplitLayout/index.30fd5861.js";
89
- import "../../../../react-splitter-layout.c5d98bf7.js";
90
- import "../../../ToastContainer/index.5e729fbb.js";
91
- import "../../../SideBar/index.614f85fb.js";
92
- import "../../../AppBar/index.c8e7b25c.js";
93
- import "../../../AccountPopover/index.7060320a.js";
94
- const componentName = "M4LCommonActions";
95
- generateUtilityClasses(componentName, [
96
- "root",
97
- "skeleton",
98
- "actionCancel",
99
- "actionFormCancel",
100
- "actionFormIntro",
101
- "actionIntro",
102
- "wrapperActions"
103
- ]);
104
- const useCommonActionsUtilityClasses = () => {
105
- const slots = {
106
- root: ["root"],
107
- skeleton: ["skeleton"],
108
- actionCancel: ["actionCancel"],
109
- actionFormCancel: ["actionFormCancel"],
110
- actionFormIntro: ["actionFormIntro"],
111
- actionIntro: ["actionIntro"],
112
- wrapperActions: ["wrapperActions"]
113
- };
114
- return unstable_composeClasses(slots, getComponentUtilityClass(componentName), {});
115
- };
116
- const WrapperStandarActions = styled("div")(({
117
- theme
118
- }) => ({
119
- paddingTop: theme.spacing(3),
120
- display: "flex",
121
- flexDirection: "row",
122
- justifyContent: "flex-end",
123
- "& > button": {
124
- marginLeft: "10px"
125
- },
126
- ...theme.components?.M4LCommonActions?.styleOverrides
127
- }));
128
- const COMMONACTIONS_PREFIX = "M4LCommonActions";
129
- const getNameCommonActionsDataTestId = (KEY) => {
130
- return `${COMMONACTIONS_PREFIX}-${KEY}`;
131
- };
132
- const Actions = (props) => {
133
- const {
134
- children
135
- } = props;
136
- const classes = useCommonActionsUtilityClasses();
137
- return /* @__PURE__ */ jsx(WrapperStandarActions, {
138
- className: classes.root,
139
- ...process.env.NODE_ENV !== "production" ? {
140
- [TEST_PROP_ID]: getNameCommonActionsDataTestId("root")
141
- } : {},
142
- children
143
- });
144
- };
145
- function getCommonActionsDictionary() {
146
- return ["common_actions"];
147
- }
148
- const defaultCommonActionsDictionary = {
149
- common_actions: {
150
- cancel: "Cancel",
151
- intro: "Intro",
152
- confirm_quit_title: "Confirm",
153
- confirm_quit_msg: "Are your sure exit?"
154
- }
155
- };
156
- export {
157
- Actions as A,
158
- defaultCommonActionsDictionary as d,
159
- getCommonActionsDictionary as g,
160
- useCommonActionsUtilityClasses as u
161
- };
@@ -1,3 +0,0 @@
1
- import { DraggableWindowProps } from './types';
2
- export declare const DraggableWindow: (props: DraggableWindowProps) => import("react/jsx-runtime").JSX.Element;
3
- export default DraggableWindow;
@@ -1,39 +0,0 @@
1
- import { useState } from "react";
2
- import { c as cjs } from "../../react-draggable.ee21cb7e.js";
3
- import { jsx } from "react/jsx-runtime";
4
- const DraggableWindow = (props) => {
5
- const {
6
- children,
7
- handle = "m4l_draggable_handle",
8
- cancel = '[class*="MuiDialogContent-root"]',
9
- defaultPosition,
10
- ...others
11
- } = props;
12
- const [position, setPosition] = useState(defaultPosition || {
13
- x: 0,
14
- y: 0
15
- });
16
- const onDrag = (_e, data) => {
17
- const {
18
- x,
19
- y
20
- } = data;
21
- const xPos = x < 0 ? 0 : Math.round(x);
22
- const yPos = y < 0 ? 0 : Math.round(y);
23
- setPosition({
24
- x: xPos,
25
- y: yPos
26
- });
27
- };
28
- return /* @__PURE__ */ jsx(cjs.exports, {
29
- handle,
30
- cancel,
31
- position,
32
- onDrag,
33
- ...others,
34
- children
35
- });
36
- };
37
- export {
38
- DraggableWindow as D
39
- };
@@ -1,5 +0,0 @@
1
- import { ReactNode } from 'react';
2
- import { DraggableProps } from 'react-draggable';
3
- export interface DraggableWindowProps extends Partial<DraggableProps> {
4
- children: ReactNode;
5
- }
@@ -1,32 +0,0 @@
1
- import "react";
2
- import "@m4l/core";
3
- import "@mui/material";
4
- import "../../Icon/index.e215d0f0.js";
5
- import "clsx";
6
- import "@m4l/graphics";
7
- import "react/jsx-runtime";
8
- import "../../mui_extended/IconButton/index.5afe56b7.js";
9
- import "zustand";
10
- import "../contexts/AreasContext/index.cffa1526.js";
11
- import "./AreasAdmin/index.c1539c1b.js";
12
- import "zustand/shallow";
13
- import "../../ScrollBar/index.010f1b9d.js";
14
- import "../../mui_extended/Accordion/index.3087f40e.js";
15
- import "../../mui_extended/Typography/index.443590d6.js";
16
- import "../../mui_extended/Avatar/index.75e6ed57.js";
17
- import "react-router-dom";
18
- import "@mui/material/Button";
19
- import "../../mui_extended/Button/index.0f2552ed.js";
20
- import "../../mui_extended/CheckBox.38abccd8.js";
21
- import "../../mui_extended/Badge/index.b09524fe.js";
22
- import "../../Image/index.d684bdf2.js";
23
- import "@mui/lab";
24
- import "../../mui_extended/MenuActions/index.cc54c35c.js";
25
- import "../../mui_extended/Popover/index.9f35d0eb.js";
26
- import "../../mui_extended/Stack/index.0e53197c.js";
27
- import "../../mui_extended/Tab/index.ae9ea641.js";
28
- import "../../mui_extended/Pager/index.5fbbefe2.js";
29
- import "../../mui_extended/Tooltip/index.5a795dcd.js";
30
- import "./AreasViewer/index.e084d8e9.js";
31
- import "../../LinearProgressIndeterminate/index.a0ad2d9e.js";
32
- import "../../LoadingError/index.b3e4e8e5.js";
@@ -1,4 +0,0 @@
1
- import "./AreasContext/index.cffa1526.js";
2
- import "./WindowToolsMFContext/index.8f3e2a04.js";
3
- import "zustand";
4
- import "zustand/middleware/immer";
@@ -1,4 +0,0 @@
1
- import "react";
2
- import "zustand";
3
- import "../contexts/DynamicMFParmsContext/index.1607c78e.js";
4
- import "../contexts/WindowToolsMFContext/index.8f3e2a04.js";
@@ -1,56 +0,0 @@
1
- import { useEffect } from "react";
2
- import "@m4l/core";
3
- import "@mui/material";
4
- import "../Icon/index.e215d0f0.js";
5
- import "clsx";
6
- import "@m4l/graphics";
7
- import "react/jsx-runtime";
8
- import "../mui_extended/IconButton/index.5afe56b7.js";
9
- import "zustand";
10
- import "./contexts/AreasContext/index.cffa1526.js";
11
- import "./components/AreasAdmin/index.c1539c1b.js";
12
- import "zustand/shallow";
13
- import "../ScrollBar/index.010f1b9d.js";
14
- import "../mui_extended/Accordion/index.3087f40e.js";
15
- import "../mui_extended/Typography/index.443590d6.js";
16
- import "../mui_extended/Avatar/index.75e6ed57.js";
17
- import "react-router-dom";
18
- import "@mui/material/Button";
19
- import "../mui_extended/Button/index.0f2552ed.js";
20
- import "../mui_extended/CheckBox.38abccd8.js";
21
- import "../mui_extended/Badge/index.b09524fe.js";
22
- import "../Image/index.d684bdf2.js";
23
- import "@mui/lab";
24
- import "../mui_extended/MenuActions/index.cc54c35c.js";
25
- import "../mui_extended/Popover/index.9f35d0eb.js";
26
- import "../mui_extended/Stack/index.0e53197c.js";
27
- import "../mui_extended/Tab/index.ae9ea641.js";
28
- import "../mui_extended/Pager/index.5fbbefe2.js";
29
- import "../mui_extended/Tooltip/index.5a795dcd.js";
30
- import "./components/AreasViewer/index.e084d8e9.js";
31
- import "../LinearProgressIndeterminate/index.a0ad2d9e.js";
32
- import "../LoadingError/index.b3e4e8e5.js";
33
- import "./contexts/WindowToolsMFContext/index.8f3e2a04.js";
34
- import "zustand/middleware/immer";
35
- import "./contexts/DynamicMFParmsContext/index.1607c78e.js";
36
- function useOnClickOutside(ref, handler, noRef) {
37
- useEffect(() => {
38
- const listener = (event) => {
39
- const el = ref?.current;
40
- const noEl = noRef?.current;
41
- if (!el || el.contains(event.target) || noEl && noEl.contains(event.target)) {
42
- return;
43
- }
44
- handler(event);
45
- };
46
- document.addEventListener("mousedown", listener);
47
- document.addEventListener("touchstart", listener);
48
- return () => {
49
- document.removeEventListener("mousedown", listener);
50
- document.removeEventListener("touchstart", listener);
51
- };
52
- }, [ref, handler]);
53
- }
54
- export {
55
- useOnClickOutside as u
56
- };
@@ -1,29 +0,0 @@
1
- import L from 'leaflet';
2
- declare module 'leaflet' {
3
- export function polylineDecorator(
4
- layer: Layer,
5
- options?: PolylineDecoratorOptions,
6
- ): PolylineDecorator;
7
-
8
- export namespace Symbol {
9
- function arrowHead(options?: any): any;
10
- }
11
-
12
- namespace Polyline {
13
- function decorator(layer: Layer, options?: PolylineDecoratorOptions): PolylineDecorator;
14
- }
15
-
16
- interface PolylineDecoratorOptions {
17
- patterns: Pattern[];
18
- }
19
-
20
- interface Pattern {
21
- offset?: number | string;
22
- repeat?: number | string;
23
- symbol: L.Symbol;
24
- }
25
-
26
- interface PolylineDecorator extends Layer {
27
- setPatterns(patterns: Pattern[]): this;
28
- }
29
- }