@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
@@ -1,22 +1,28 @@
1
1
  import { Maybe } from '@m4l/core';
2
- export declare type FieldType = 'number' | 'string' | 'boolean' | 'datetime';
2
+ import { RHFAutocompleteAsyncProps } from '../hook-form/RHFAutocompleteAsync/types';
3
+ export declare type FieldType = 'number' | 'string' | 'boolean' | 'datetime' | 'select';
3
4
  export declare type OperandType = number | string | boolean | Date | [] | object;
4
5
  export declare type OperandInitialFilterType = number | string | boolean | [] | object;
5
6
  export declare type OperatorB = 'b';
6
- export declare type Operator = OperatorB | 'e' | 'ne' | 'gt' | 'gte' | 'lt' | 'lte' | 'c' | 'nc';
7
+ export declare type Operator = OperatorB | 'e' | 'ne' | 'gt' | 'gte' | 'lt' | 'lte' | 'c' | 'nc' | 'in' | 'nin';
7
8
  export declare type StringOperator = 'c' | 'nc';
8
9
  export declare type NumberOperator = OperatorB | 'e' | 'ne' | 'gt' | 'gte' | 'lt' | 'lte';
9
10
  export declare type BooleanOperator = 'e' | 'ne';
10
11
  export declare type DateTimeOperator = OperatorB | 'e' | 'ne' | 'gt' | 'gte' | 'lt' | 'lte';
12
+ export declare type SelectOperator = 'in' | 'nin';
11
13
  export declare type FieldPresence = 'initialized' | 'fixed' | 'optional';
12
- export declare type FieldTypeOperator<T extends FieldType> = T extends 'boolean' ? BooleanOperator : T extends 'datetime' ? DateTimeOperator : T extends 'number' ? NumberOperator : T extends 'string' ? StringOperator : T;
13
- export declare type FieldTypeOperand<T extends FieldType> = T extends 'boolean' ? boolean : T extends 'datetime' ? Date : T extends 'number' ? number : T extends 'string' ? string : FieldType;
14
- export interface FieldDictionaryId {
15
- dictionaryId: string;
16
- }
17
- export interface FieldLabel {
18
- label: string;
19
- }
14
+ export declare type FormOperandSelect = Record<string, any>;
15
+ /**
16
+ * Posibles valores para el operandsArray para el caso del select o otros fields
17
+ */
18
+ export declare type OperandsArrayValues = Array<FormOperandSelect>;
19
+ export declare type FieldTypeOperator<T extends FieldType> = T extends 'boolean' ? BooleanOperator : T extends 'datetime' ? DateTimeOperator : T extends 'number' ? NumberOperator : T extends 'select' ? SelectOperator : T extends 'string' ? StringOperator : T;
20
+ export declare type FieldTypeOperand<T extends FieldType> = T extends 'boolean' ? boolean : T extends 'datetime' ? Date : T extends 'number' ? number : T extends 'string' ? string : T extends 'select' ? OperandsArrayValues : FieldType;
21
+ declare type SelectOptions = Pick<RHFAutocompleteAsyncProps<{
22
+ [key: string]: any;
23
+ }>, 'endPoint' | 'getOptionLabel' | 'isOptionEqualToValue' | 'multiple' | 'getOptionUrlImage' | 'imageHeight' | 'imageWidth' | 'autoComplete' | 'autoCapitalize' | 'parms' | 'timeout'> & {
24
+ getOptionId: (option: Record<string, any>) => string | number;
25
+ };
20
26
  export interface FieldBase<T extends FieldType = FieldType> {
21
27
  name: string;
22
28
  type: T;
@@ -26,6 +32,11 @@ export interface FieldBase<T extends FieldType = FieldType> {
26
32
  defaultOperator?: Maybe<FieldTypeOperator<T>>;
27
33
  defaultOperand1?: Maybe<FieldTypeOperand<T>>;
28
34
  defaultOperand2?: Maybe<FieldTypeOperand<T>>;
35
+ defaultOperandsArray?: Maybe<FieldTypeOperand<T>>;
36
+ selectOptions?: SelectOptions;
37
+ }
38
+ export interface FieldWithSelect<T extends 'select'> extends FieldBase<T> {
39
+ selectOptions: SelectOptions;
29
40
  }
30
41
  export interface FieldDictionaryId<T extends FieldType = FieldType> extends FieldBase<T> {
31
42
  dictionaryId: string;
@@ -35,7 +46,7 @@ export interface FieldLabel<T extends FieldType = FieldType> extends FieldBase<T
35
46
  label: string;
36
47
  dictionaryId?: undefined;
37
48
  }
38
- export declare type Field<T extends FieldType = FieldType> = FieldDictionaryId<T> | FieldLabel<T>;
49
+ export declare type Field<T extends FieldType = FieldType> = T extends 'select' ? FieldWithSelect<T> & (FieldDictionaryId<T> | FieldLabel<T>) : FieldDictionaryId<T> | FieldLabel<T>;
39
50
  export interface BaseApplyFilter<T extends FieldType = FieldType> {
40
51
  id: number;
41
52
  field: Field<T>;
@@ -48,8 +59,9 @@ export interface BaseApplyFilter<T extends FieldType = FieldType> {
48
59
  export interface FilterValueBase {
49
60
  fieldType: FieldType;
50
61
  operator: Operator;
51
- operand1: Maybe<OperandType>;
62
+ operand1?: Maybe<OperandType>;
52
63
  operand2?: Maybe<OperandType>;
64
+ operandsArray?: OperandsArrayValues;
53
65
  }
54
66
  export interface FilterValueBoolean extends FilterValueBase {
55
67
  fieldType: 'boolean';
@@ -85,10 +97,15 @@ export interface FilterValueString extends FilterValueBase {
85
97
  operator: StringOperator;
86
98
  operand1: string;
87
99
  }
100
+ export interface FilterValueSelect extends FilterValueBase {
101
+ fieldType: 'select';
102
+ operator: SelectOperator;
103
+ operandsArray: OperandsArrayValues;
104
+ }
88
105
  /**
89
106
  * @type FilterValue Valor de un filtro sobrecargado para cada tipo de dato
90
107
  */
91
- export declare type FilterValue = FilterValueBoolean | FilterValueDateTime | FilterValueNumber | FilterValueString;
108
+ export declare type FilterValue = FilterValueBoolean | FilterValueDateTime | FilterValueNumber | FilterValueString | FilterValueSelect;
92
109
  /**
93
110
  * @type FilterFieldApplyed Estado del Filtro + Valor valor del filtro.
94
111
  */
@@ -101,10 +118,8 @@ export interface RawFilterFieldApply {
101
118
  o: Operator;
102
119
  o1: Maybe<OperandType>;
103
120
  o2: Maybe<OperandType>;
121
+ oa: Maybe<OperandType>;
104
122
  }
105
- export declare type FilterToAddApplyed = Omit<FilterFieldApplyed, 'id'> & {
106
- isSetted: true;
107
- };
108
123
  export declare type FilterToEditApply = FilterFieldApplyed;
109
124
  export interface DataTypeFilerLabels {
110
125
  labelField: string;
@@ -121,6 +136,7 @@ export declare type InitialFilterApplyed = {
121
136
  operator: Operator;
122
137
  operand1?: Maybe<OperandInitialFilterType>;
123
138
  operand2?: Maybe<OperandInitialFilterType>;
139
+ operandsArray?: Array<Maybe<OperandInitialFilterType>>;
124
140
  };
125
141
  export declare type FormOperator<T extends Operator = Operator> = {
126
142
  id: T;
@@ -133,14 +149,13 @@ export declare type FormOperandBoolean = {
133
149
  export declare type FormOperandDateTime = Date;
134
150
  export declare type FormOperandNumber = number;
135
151
  export declare type FormOperandString = string;
136
- export declare type FormOperand = FormOperandBoolean | FormOperandDateTime | FormOperandNumber | FormOperandString;
152
+ export declare type FormOperand = FormOperandBoolean | FormOperandDateTime | FormOperandNumber | FormOperandString | FormOperandSelect;
137
153
  /**
138
154
  * @interface FilterValueBase Base para el tipado de overloading de los valor de un filtro
139
155
  */
140
156
  export interface FormFilterValueBase {
141
157
  fieldType: FieldType;
142
158
  formValueOperator: FormOperator;
143
- formValueOperand1: Maybe<FormOperand>;
144
159
  }
145
160
  export interface FormFilterValueBoolean extends FormFilterValueBase {
146
161
  fieldType: 'boolean';
@@ -164,10 +179,15 @@ export interface FormFilterValueString extends FormFilterValueBase {
164
179
  formValueOperator: FormOperator<StringOperator>;
165
180
  formValueOperand1: string;
166
181
  }
182
+ export interface FormFilterValueSelect extends FormFilterValueBase {
183
+ fieldType: 'select';
184
+ formValueOperator: FormOperator<SelectOperator>;
185
+ formValueOperandsArray: Array<FormOperandSelect> | FormOperandSelect;
186
+ }
167
187
  /**
168
188
  * @type FormFilterValue Valor de un filtro sobrecargado para cada tipo de dato
169
189
  */
170
- export declare type FormFilterValue = FormFilterValueBoolean | FormFilterValueDateTime | FormFilterValueNumber | FormFilterValueString;
190
+ export declare type FormFilterValue = FormFilterValueBoolean | FormFilterValueDateTime | FormFilterValueNumber | FormFilterValueString | FormFilterValueSelect;
171
191
  /**
172
192
  * @type FilterFieldApplyed Estado del Filtro + Valor valor del filtro.
173
193
  */
@@ -218,3 +238,4 @@ export interface DynamicFilterProps {
218
238
  */
219
239
  dataTestId?: string;
220
240
  }
241
+ export {};
@@ -1,11 +1,11 @@
1
1
  import { useEnvironment, useModuleSkeleton } from "@m4l/core";
2
2
  import { styled, generateUtilityClasses, Tooltip, Skeleton } from "@mui/material";
3
3
  import { unstable_composeClasses } from "@mui/base";
4
- import { g as getComponentUtilityClass } from "../../utils/index.24b5284a.js";
4
+ import { g as getComponentUtilityClass } from "../../utils/index.6469f148.js";
5
5
  import clsx from "clsx";
6
6
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
7
7
  import { T as Typography } from "../mui_extended/Typography/index.379dd374.js";
8
- import { I as Icon } from "../Icon/index.14670a00.js";
8
+ import { I as Icon } from "../Icon/index.ad330e78.js";
9
9
  const FieldLabelRoot = styled("label")(({ theme }) => ({
10
10
  ...theme.components?.M4LFieldLabel?.styleOverrides
11
11
  }));
@@ -1,8 +1,8 @@
1
1
  import { useState, useRef, useEffect, useCallback } from "react";
2
2
  import clsx from "clsx";
3
- import { M as MemonizedGridItem } from "./subcomponents/Griditem/index.3d479abb.js";
3
+ import { M as MemonizedGridItem } from "./subcomponents/Griditem/index.30016fc1.js";
4
4
  import { styled, alpha } from "@mui/material/styles";
5
- import { r as react_resizable_css } from "../../react-resizable.0ebffd82.js";
5
+ import { r as react_resizable_css } from "../../react-resizable.c07d63fb.js";
6
6
  import { generateUtilityClasses } from "@mui/material";
7
7
  import "@mui/base";
8
8
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -1,7 +1,7 @@
1
1
  import React__default, { useRef, useEffect, useState, useCallback, useMemo } from "react";
2
- import { D as DraggableCore_1 } from "../../../../react-draggable.6cf19cba.js";
3
- import { R as Resizable } from "../../../../react-resizable.0ebffd82.js";
4
- import { g as getH, c as calcXY, a as calcGridItemWHPx, b as calcGridColWidth, d as calcWH, e as clamp, f as calcGridItemPosition, h as gridLayoutClasses, D as DEFAULT_COLS, i as DEFAULT_ROW_HEIGHT, j as DEFAULT_CONTAINER_WIDTH, k as DEFAULT_CONTAINER_HEIGHT, l as DEFAULT_MARGIN, m as DEFAULT_CONTAINER_PADDING, n as DEFAULT_TRANSFORM_SCALE, o as DEFAULT_COLAPSED_HEIGHT, p as perc, s as setTransform, q as setTopLeft } from "../../index.00740f82.js";
2
+ import { D as DraggableCore_1 } from "../../../../react-draggable.e4725f3a.js";
3
+ import { R as Resizable } from "../../../../react-resizable.c07d63fb.js";
4
+ import { g as getH, c as calcXY, a as calcGridItemWHPx, b as calcGridColWidth, d as calcWH, e as clamp, f as calcGridItemPosition, h as gridLayoutClasses, D as DEFAULT_COLS, i as DEFAULT_ROW_HEIGHT, j as DEFAULT_CONTAINER_WIDTH, k as DEFAULT_CONTAINER_HEIGHT, l as DEFAULT_MARGIN, m as DEFAULT_CONTAINER_PADDING, n as DEFAULT_TRANSFORM_SCALE, o as DEFAULT_COLAPSED_HEIGHT, p as perc, s as setTransform, q as setTopLeft } from "../../index.65470f01.js";
5
5
  import clsx from "clsx";
6
6
  import { deepEqual } from "fast-equals";
7
7
  import { jsx, Fragment } from "react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- import { r as cloneLayoutItem, t as cloneLayout, u as compact, v as correctBounds, w as isEqualLayout, o as DEFAULT_COLAPSED_HEIGHT, x as DEFAULT_RESPONSIVE_BREAKPOINTS, m as DEFAULT_CONTAINER_PADDING, l as DEFAULT_MARGIN, y as DEFAULT_RESPONSIVE_COLS, i as DEFAULT_ROW_HEIGHT, z as noop, A as isEqualLayouts, G as GridLayout } from "../../index.00740f82.js";
1
+ import { r as cloneLayoutItem, t as cloneLayout, u as compact, v as correctBounds, w as isEqualLayout, o as DEFAULT_COLAPSED_HEIGHT, x as DEFAULT_RESPONSIVE_BREAKPOINTS, m as DEFAULT_CONTAINER_PADDING, l as DEFAULT_MARGIN, y as DEFAULT_RESPONSIVE_COLS, i as DEFAULT_ROW_HEIGHT, z as noop, A as isEqualLayouts, G as GridLayout } from "../../index.65470f01.js";
2
2
  import { useState, useRef, useEffect, useCallback } from "react";
3
3
  import { useFirstRender } from "@m4l/graphics";
4
4
  import { deepEqual } from "fast-equals";
@@ -2,7 +2,7 @@ import { useRef, useState, useMemo, useCallback, useEffect } from "react";
2
2
  import clsx from "clsx";
3
3
  import { throttle } from "lodash";
4
4
  import { useResizeObserver } from "@m4l/graphics";
5
- import { j as DEFAULT_CONTAINER_WIDTH, k as DEFAULT_CONTAINER_HEIGHT, T as THROTTLE_RESIZE_TIMEOUT, C as COMPONENT_CLASS_NAME } from "../../index.00740f82.js";
5
+ import { j as DEFAULT_CONTAINER_WIDTH, k as DEFAULT_CONTAINER_HEIGHT, T as THROTTLE_RESIZE_TIMEOUT, C as COMPONENT_CLASS_NAME } from "../../index.65470f01.js";
6
6
  import { jsx } from "react/jsx-runtime";
7
7
  function withSizeProvider(ComposedComponent) {
8
8
  return (props) => {
@@ -1,11 +1,13 @@
1
- import React__default from "react";
1
+ import { Marker } from "react-leaflet";
2
+ import L__default from "leaflet";
3
+ import { m as mapClasses, L as LABEL_BK_COLOR_DEFAULT, a as LABEL_COLOR_DEFAULT } from "../maps/components/Map/index.accb1f77.js";
4
+ import clsx from "clsx";
5
+ import { jsx } from "react/jsx-runtime";
2
6
  import { useEnvironment } from "@m4l/core";
3
7
  import { styled, generateUtilityClasses, generateUtilityClass } from "@mui/material";
4
- import { u as useSideBar, g as getNameDataTestId$1 } from "../SideBar/index.b1455bd0.js";
8
+ import { u as useSideBar, g as getNameDataTestId$1 } from "../SideBar/index.b0359a2b.js";
5
9
  import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
6
- import { jsx } from "react/jsx-runtime";
7
10
  import { unstable_composeClasses } from "@mui/base";
8
- import clsx from "clsx";
9
11
  import { useResponsiveDesktop } from "@m4l/graphics";
10
12
  const IconRoot = styled("div")(({
11
13
  theme
@@ -87,91 +89,66 @@ function Icon(props) {
87
89
  })
88
90
  });
89
91
  }
90
- var UnfoldMoreHorizontalIcon = {};
91
- Object.defineProperty(UnfoldMoreHorizontalIcon, "__esModule", {
92
- value: true
93
- });
94
- var _extends$1 = Object.assign || function(target) {
95
- for (var i = 1; i < arguments.length; i++) {
96
- var source = arguments[i];
97
- for (var key in source) {
98
- if (Object.prototype.hasOwnProperty.call(source, key)) {
99
- target[key] = source[key];
100
- }
101
- }
102
- }
103
- return target;
104
- };
105
- var _react$1 = React__default;
106
- var _react2$1 = _interopRequireDefault$1(_react$1);
107
- function _interopRequireDefault$1(obj) {
108
- return obj && obj.__esModule ? obj : { default: obj };
109
- }
110
- function _objectWithoutProperties$1(obj, keys) {
111
- var target = {};
112
- for (var i in obj) {
113
- if (keys.indexOf(i) >= 0)
114
- continue;
115
- if (!Object.prototype.hasOwnProperty.call(obj, i))
116
- continue;
117
- target[i] = obj[i];
118
- }
119
- return target;
120
- }
121
- var DEFAULT_SIZE$1 = 24;
122
- var _default$1 = UnfoldMoreHorizontalIcon.default = function(_ref) {
123
- var _ref$fill = _ref.fill, fill = _ref$fill === void 0 ? "currentColor" : _ref$fill, _ref$width = _ref.width, width = _ref$width === void 0 ? DEFAULT_SIZE$1 : _ref$width, _ref$height = _ref.height, height = _ref$height === void 0 ? DEFAULT_SIZE$1 : _ref$height, _ref$style = _ref.style, style = _ref$style === void 0 ? {} : _ref$style, props = _objectWithoutProperties$1(_ref, ["fill", "width", "height", "style"]);
124
- return _react2$1.default.createElement(
125
- "svg",
126
- _extends$1({
127
- viewBox: "0 0 " + DEFAULT_SIZE$1 + " " + DEFAULT_SIZE$1,
128
- style: _extends$1({ fill, width, height }, style)
129
- }, props),
130
- _react2$1.default.createElement("path", { d: "M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z" })
131
- );
132
- };
133
- var CheckIcon = {};
134
- Object.defineProperty(CheckIcon, "__esModule", {
135
- value: true
136
- });
137
- var _extends = Object.assign || function(target) {
138
- for (var i = 1; i < arguments.length; i++) {
139
- var source = arguments[i];
140
- for (var key in source) {
141
- if (Object.prototype.hasOwnProperty.call(source, key)) {
142
- target[key] = source[key];
143
- }
144
- }
92
+ const FeatureDivIconLabel = (props) => {
93
+ const {
94
+ label,
95
+ iconSrc,
96
+ iconScale: scale = 1,
97
+ iconRotate,
98
+ labelBkColor: bkColor = LABEL_BK_COLOR_DEFAULT,
99
+ labelColor: color = LABEL_COLOR_DEFAULT,
100
+ iconWidth = 24,
101
+ iconHeight = 24,
102
+ offsetLeftTop = [24, 0]
103
+ } = props;
104
+ let html = label ? `<div class="${mapClasses.featureLabel}"
105
+ style="background-color:${bkColor}; color:${color};left:${offsetLeftTop[0]}px;top:${offsetLeftTop[1]}px;">${label}</div>` : "";
106
+ if (iconSrc) {
107
+ html = `<div class="${mapClasses.markerLayerIcon}" style="transform: rotate(${iconRotate}deg) scale(${scale}); transform-origin: center center;">
108
+ <img src=${iconSrc}></img>
109
+ </div>` + html;
145
110
  }
146
- return target;
111
+ return L__default.divIcon({
112
+ className: clsx(mapClasses.markerLayerRoot, ""),
113
+ iconSize: [iconWidth, iconHeight],
114
+ html
115
+ });
147
116
  };
148
- var _react = React__default;
149
- var _react2 = _interopRequireDefault(_react);
150
- function _interopRequireDefault(obj) {
151
- return obj && obj.__esModule ? obj : { default: obj };
152
- }
153
- function _objectWithoutProperties(obj, keys) {
154
- var target = {};
155
- for (var i in obj) {
156
- if (keys.indexOf(i) >= 0)
157
- continue;
158
- if (!Object.prototype.hasOwnProperty.call(obj, i))
159
- continue;
160
- target[i] = obj[i];
161
- }
162
- return target;
163
- }
164
- var DEFAULT_SIZE = 24;
165
- var _default = CheckIcon.default = function(_ref) {
166
- var _ref$fill = _ref.fill, fill = _ref$fill === void 0 ? "currentColor" : _ref$fill, _ref$width = _ref.width, width = _ref$width === void 0 ? DEFAULT_SIZE : _ref$width, _ref$height = _ref.height, height = _ref$height === void 0 ? DEFAULT_SIZE : _ref$height, _ref$style = _ref.style, style = _ref$style === void 0 ? {} : _ref$style, props = _objectWithoutProperties(_ref, ["fill", "width", "height", "style"]);
167
- return _react2.default.createElement(
168
- "svg",
169
- _extends({
170
- viewBox: "0 0 " + DEFAULT_SIZE + " " + DEFAULT_SIZE,
171
- style: _extends({ fill, width, height }, style)
172
- }, props),
173
- _react2.default.createElement("path", { d: "M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z" })
174
- );
117
+ const MarkerIconLabel = (props) => {
118
+ const {
119
+ position,
120
+ draggable = true,
121
+ iconSrc,
122
+ iconRotate,
123
+ iconScale: scale,
124
+ className,
125
+ label,
126
+ markerColor,
127
+ labelBkColor: bkColor,
128
+ labelColor: color,
129
+ iconWidth,
130
+ iconHeight,
131
+ offsetLeftTop,
132
+ ...properties
133
+ } = props;
134
+ const makerIcon = FeatureDivIconLabel({
135
+ iconSrc,
136
+ iconRotate,
137
+ iconScale: scale,
138
+ label,
139
+ iconWidth,
140
+ iconHeight,
141
+ labelBkColor: bkColor,
142
+ labelColor: color,
143
+ offsetLeftTop
144
+ });
145
+ return /* @__PURE__ */ jsx(Marker, {
146
+ position,
147
+ draggable,
148
+ riseOnHover: true,
149
+ icon: makerIcon,
150
+ ...properties
151
+ }, Math.random());
175
152
  };
176
153
  const ArrowIconRoot = styled("div")(() => ({
177
154
  display: "flex",
@@ -203,6 +180,5 @@ function ArrowIcon(props) {
203
180
  export {
204
181
  ArrowIcon as A,
205
182
  Icon as I,
206
- _default$1 as _,
207
- _default as a
183
+ MarkerIconLabel as M
208
184
  };
@@ -4,8 +4,8 @@ import clsx from "clsx";
4
4
  import { unstable_composeClasses } from "@mui/base";
5
5
  import { jsx } from "react/jsx-runtime";
6
6
  import { useBase, useEnvironment, evaluateWithContext } from "@m4l/core";
7
- import { c as classes, g as getSize } from "../PrintingSystem/index.bcef9a6f.js";
8
- import { Q as QRCode } from "../../node_modules.98455a76.js";
7
+ import { c as classes, g as getSize } from "../PrintingSystem/index.27f1f209.js";
8
+ import QRCode from "qrcode.react";
9
9
  const ImageRoot = styled("div")(({
10
10
  theme
11
11
  }) => ({
@@ -1,8 +1,8 @@
1
1
  import { useState, useEffect } from "react";
2
2
  import { styled, generateUtilityClasses, generateUtilityClass, Stack, MenuItem } from "@mui/material";
3
- import { I as Image } from "../Image/index.6aa1ae49.js";
3
+ import { I as Image } from "../Image/index.b799c514.js";
4
4
  import { useLocales } from "@m4l/graphics";
5
- import { I as ImageButton } from "../mui_extended/Button/index.d5a031be.js";
5
+ import { I as ImageButton } from "../mui_extended/Button/index.c3084916.js";
6
6
  import { useEnvironment, useNetwork } from "@m4l/core";
7
7
  import { unstable_composeClasses } from "@mui/base";
8
8
  import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
@@ -1,7 +1,7 @@
1
1
  import clsx from "clsx";
2
2
  import { generateUtilityClasses, styled } from "@mui/material";
3
3
  import { unstable_composeClasses } from "@mui/base";
4
- import { g as getComponentUtilityClass } from "../../utils/index.24b5284a.js";
4
+ import { g as getComponentUtilityClass } from "../../utils/index.6469f148.js";
5
5
  import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
6
6
  import { jsx } from "react/jsx-runtime";
7
7
  const LINEAR_PROGRESS_INDETERMINATE_CLASS_NAME = "M4LinearProgressIndeterminate";
@@ -3,10 +3,10 @@ import { I as ICONS } from "../areas/icons.8266ccc8.js";
3
3
  import { generateUtilityClasses, generateUtilityClass, styled } from "@mui/material";
4
4
  import { unstable_composeClasses } from "@mui/base";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
- import { L as LinearProgressIndeterminate } from "../LinearProgressIndeterminate/index.6e5db737.js";
7
- import { I as Icon } from "../Icon/index.14670a00.js";
6
+ import { L as LinearProgressIndeterminate } from "../LinearProgressIndeterminate/index.c46da124.js";
7
+ import { I as Icon } from "../Icon/index.ad330e78.js";
8
8
  import { T as Typography } from "../mui_extended/Typography/index.379dd374.js";
9
- import { B as Button } from "../mui_extended/Button/index.d5a031be.js";
9
+ import { B as Button } from "../mui_extended/Button/index.c3084916.js";
10
10
  const componentName = "M4LoadingError";
11
11
  generateUtilityClasses(componentName, [
12
12
  "root",
@@ -12,7 +12,7 @@ import { generateUtilityClasses, generateUtilityClass, styled } from "@mui/mater
12
12
  import { unstable_composeClasses } from "@mui/base";
13
13
  import { jsx, jsxs } from "react/jsx-runtime";
14
14
  import { L as LinearProgress } from "../mui_extended/LinearProgress/index.c92b9ba9.js";
15
- import { L as LoadingError } from "../LoadingError/index.1ec78dd5.js";
15
+ import { L as LoadingError } from "../LoadingError/index.ee29dd48.js";
16
16
  const componentName = "M4LMFLoader";
17
17
  const mfLoaderClasses = generateUtilityClasses(componentName, [
18
18
  "root",
@@ -1,12 +1,12 @@
1
1
  import { useTheme, Dialog, Paper } from "@mui/material";
2
- import { c as cjs } from "../../react-draggable.6cf19cba.js";
3
- import { u as useModal } from "../../hooks/useModal/index.cb1d6a37.js";
4
- import { R as ResizeableWindow } from "../Resizeable/index.eba4fda9.js";
2
+ import { c as cjs } from "../../react-draggable.e4725f3a.js";
3
+ import { u as useModal } from "../../hooks/useModal/index.f73d7e42.js";
4
+ import { R as ResizeableWindow } from "../Resizeable/index.cb5aad75.js";
5
5
  import { useIsMobile } from "@m4l/graphics";
6
6
  import { m as modalUtilityClasses } from "../modal/index.61389369.js";
7
7
  import { useState, useEffect } from "react";
8
8
  import { jsx } from "react/jsx-runtime";
9
- import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.23bfc86b.js";
9
+ import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.fa7ab18c.js";
10
10
  const DragabblePaperComponent = (props) => {
11
11
  return /* @__PURE__ */ jsx(cjs.exports, {
12
12
  handle: ".m4l_draggable_handle",
@@ -1,6 +1,6 @@
1
1
  import { useEnvironment, useModuleDictionary, useModuleSkeleton } from "@m4l/core";
2
2
  import { styled, generateUtilityClasses, generateUtilityClass, Skeleton } from "@mui/material";
3
- import { I as Image } from "../Image/index.6aa1ae49.js";
3
+ import { I as Image } from "../Image/index.b799c514.js";
4
4
  import { useMemo } from "react";
5
5
  import { unstable_composeClasses } from "@mui/base";
6
6
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
@@ -1,17 +1,17 @@
1
1
  import { useState, useEffect, useCallback, useMemo } from "react";
2
2
  import { useNetwork, useModuleDictionary, useEnvironment, usePaginate } from "@m4l/core";
3
3
  import { styled, Tooltip, IconButton } from "@mui/material";
4
- import { c as DataGrid, g as getDataGridComponentsDictionary } from "../DataGrid/index.c283b50b.js";
4
+ import { c as DataGrid, g as getDataGridComponentsDictionary } from "../DataGrid/index.abe0f9b9.js";
5
5
  import { D as DateFormatter } from "../formatters/DateFormatter/index.578a9f53.js";
6
6
  import { useHostTheme, useResponsiveDesktop } from "@m4l/graphics";
7
- import { R as ReactJson } from "../../react-json-view.5636414a.js";
7
+ import { R as ReactJson } from "../../react-json-view.57125fcf.js";
8
8
  import { S as ScrollBar } from "../ScrollBar/index.7dfc2f29.js";
9
9
  import { jsx, jsxs } from "react/jsx-runtime";
10
- import { u as useModal } from "../../hooks/useModal/index.cb1d6a37.js";
11
- import { I as Icon } from "../Icon/index.14670a00.js";
10
+ import { u as useModal } from "../../hooks/useModal/index.f73d7e42.js";
11
+ import { I as Icon } from "../Icon/index.ad330e78.js";
12
12
  import { S as Stack } from "../mui_extended/Stack/index.0e53197c.js";
13
- import { W as WindowBase } from "../modal/WindowBase.2e5506d7.js";
14
- import { D as DynamicFilter, g as getDynamicFilterComponentsDictionary } from "../DynamicFilter/index.75c66024.js";
13
+ import { W as WindowBase } from "../modal/WindowBase.fd86f575.js";
14
+ import { D as DynamicFilter, g as getDynamicFilterComponentsDictionary } from "../DynamicFilter/index.c52a8e96.js";
15
15
  import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
16
16
  const Container = styled("div")(() => ({
17
17
  height: "100%",
@@ -1,7 +1,7 @@
1
1
  import { styled, generateUtilityClasses, generateUtilityClass } from "@mui/material";
2
2
  import { unstable_composeClasses } from "@mui/base";
3
3
  import { jsxs, jsx } from "react/jsx-runtime";
4
- import { B as Button } from "../mui_extended/Button/index.d5a031be.js";
4
+ import { B as Button } from "../mui_extended/Button/index.c3084916.js";
5
5
  const PDFVeiwerRoot = styled("div")(({ theme }) => ({
6
6
  ...theme.components?.M4LPDFViewer?.styleOverrides
7
7
  }));
@@ -1,5 +1,5 @@
1
1
  import { useBase, BaseProvider, useModuleSkeleton } from "@m4l/core";
2
- import { c as classes, g as getSize, F as FactoryRender } from "../PrintingSystem/index.bcef9a6f.js";
2
+ import { c as classes, g as getSize, F as FactoryRender } from "../PrintingSystem/index.27f1f209.js";
3
3
  import clsx from "clsx";
4
4
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
5
5
  import React__default from "react";
@@ -1,6 +1,6 @@
1
1
  import { styled, Skeleton, generateUtilityClasses, generateUtilityClass } from "@mui/material";
2
2
  import { useModuleSkeleton } from "@m4l/core";
3
- import { I as Icon } from "../Icon/index.14670a00.js";
3
+ import { I as Icon } from "../Icon/index.ad330e78.js";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  import { unstable_composeClasses } from "@mui/base";
6
6
  const PaperFormRoot = styled("div")(({
@@ -1,13 +1,13 @@
1
1
  import { useModuleDictionary, useModuleSkeleton, useEnvironment } from "@m4l/core";
2
2
  import { styled, generateUtilityClasses, generateUtilityClass, Skeleton, Autocomplete, TextField } from "@mui/material";
3
3
  import { useState, useMemo } from "react";
4
- import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.23bfc86b.js";
4
+ import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.fa7ab18c.js";
5
5
  import { unstable_composeClasses } from "@mui/base";
6
6
  import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
7
7
  import { useResponsiveDesktop } from "@m4l/graphics";
8
8
  import { jsxs, jsx, Fragment } from "react/jsx-runtime";
9
9
  import { T as Typography } from "../mui_extended/Typography/index.379dd374.js";
10
- import { I as IconButton } from "../mui_extended/IconButton/index.d8bdadaa.js";
10
+ import { I as IconButton } from "../mui_extended/IconButton/index.f8a3021b.js";
11
11
  const ContainerPeriod = styled("div")(({
12
12
  theme
13
13
  }) => ({
@@ -1,19 +1,19 @@
1
1
  import { generateUtilityClasses, styled } from "@mui/material";
2
2
  import { unstable_composeClasses } from "@mui/base";
3
- import { g as getComponentUtilityClass } from "../../utils/index.24b5284a.js";
3
+ import { g as getComponentUtilityClass } from "../../utils/index.6469f148.js";
4
4
  import clsx from "clsx";
5
- import { D as DividerNode } from "./subcomponents/DividerNode/index.ce81726b.js";
6
- import { S as SectionNode } from "./subcomponents/SectionNode/index.d6344807.js";
7
- import { T as TextBoxNode } from "./subcomponents/TextBoxNode/index.79d2e283.js";
8
- import { H as HeaderNode } from "./subcomponents/HeaderNode/index.d3f4e000.js";
9
- import { a as ImageNode, Q as QRImageNode } from "../Image/index.6aa1ae49.js";
10
- import { B as BodyNode } from "./subcomponents/BodyNode/index.14ecdd97.js";
11
- import { F as FooterNode } from "./subcomponents/FooterNode/index.7fc8c316.js";
12
- import { P as PaperNode } from "./subcomponents/PaperNode/index.30cbab70.js";
13
- import { P as PropertyValueNode } from "./subcomponents/PropertyValueNode/index.05a3579e.js";
14
- import { G as GridNode } from "./subcomponents/GridNode/index.88fcc856.js";
15
- import { C as ChartNode } from "./subcomponents/ChartNode/index.aa2b8706.js";
16
- import { P as PagerNode, a as PageRender } from "../Page/index.2c550c91.js";
5
+ import { D as DividerNode } from "./subcomponents/DividerNode/index.e504dbd2.js";
6
+ import { S as SectionNode } from "./subcomponents/SectionNode/index.83f1efea.js";
7
+ import { T as TextBoxNode } from "./subcomponents/TextBoxNode/index.5427cb75.js";
8
+ import { H as HeaderNode } from "./subcomponents/HeaderNode/index.89e4eaab.js";
9
+ import { a as ImageNode, Q as QRImageNode } from "../Image/index.b799c514.js";
10
+ import { B as BodyNode } from "./subcomponents/BodyNode/index.319a3bb9.js";
11
+ import { F as FooterNode } from "./subcomponents/FooterNode/index.9a19a7cb.js";
12
+ import { P as PaperNode } from "./subcomponents/PaperNode/index.dd4ca449.js";
13
+ import { P as PropertyValueNode } from "./subcomponents/PropertyValueNode/index.048d7ebf.js";
14
+ import { G as GridNode } from "./subcomponents/GridNode/index.8d14e1b6.js";
15
+ import { C as ChartNode } from "./subcomponents/ChartNode/index.990e164c.js";
16
+ import { P as PagerNode, a as PageRender } from "../Page/index.5d34dc4d.js";
17
17
  import { useBase, evaluateWithContext } from "@m4l/core";
18
18
  import { jsxs, jsx } from "react/jsx-runtime";
19
19
  import { forwardRef, useRef, useImperativeHandle } from "react";
@@ -1,5 +1,5 @@
1
1
  import { useBase } from "@m4l/core";
2
- import { c as classes, g as getSize } from "../../index.bcef9a6f.js";
2
+ import { c as classes, g as getSize } from "../../index.27f1f209.js";
3
3
  import clsx from "clsx";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  const BodyNode = (props) => {
@@ -1,4 +1,4 @@
1
- import { c as classes } from "../../index.bcef9a6f.js";
1
+ import { c as classes } from "../../index.27f1f209.js";
2
2
  import clsx from "clsx";
3
3
  import { createRef, useEffect } from "react";
4
4
  import { Chart, registerables } from "chart.js";
@@ -1,4 +1,4 @@
1
- import { c as classes } from "../../index.bcef9a6f.js";
1
+ import { c as classes } from "../../index.27f1f209.js";
2
2
  import clsx from "clsx";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  const DividerNode = (props) => {
@@ -1,5 +1,5 @@
1
1
  import { useBase } from "@m4l/core";
2
- import { c as classes, g as getSize } from "../../index.bcef9a6f.js";
2
+ import { c as classes, g as getSize } from "../../index.27f1f209.js";
3
3
  import clsx from "clsx";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  const FooterNode = (props) => {
@@ -1,5 +1,5 @@
1
1
  import { useBase, getPropertyByString, evaluateWithContext } from "@m4l/core";
2
- import { c as classes, g as getSize } from "../../index.bcef9a6f.js";
2
+ import { c as classes, g as getSize } from "../../index.27f1f209.js";
3
3
  import clsx from "clsx";
4
4
  import { jsxs, jsx } from "react/jsx-runtime";
5
5
  const GridNode = (props) => {
@@ -1,5 +1,5 @@
1
1
  import { useBase } from "@m4l/core";
2
- import { c as classes, g as getSize } from "../../index.bcef9a6f.js";
2
+ import { c as classes, g as getSize } from "../../index.27f1f209.js";
3
3
  import clsx from "clsx";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  const HeaderNode = (props) => {