@m4l/components 9.1.124 → 9.1.126

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 (575) hide show
  1. package/@types/types.d.ts +19 -9
  2. package/components/Chip/Chip.js +1 -2
  3. package/components/Chip/ChipStyles.js +49 -35
  4. package/components/Chip/types.d.ts +0 -4
  5. package/components/CommonActions/classes/index.js +1 -1
  6. package/components/DataGrid/formatters/index.d.ts +1 -0
  7. package/components/DragResizeWindow/index.d.ts +1 -2
  8. package/components/DynamicFilter/DynamicFIlter.styles.js +1 -1
  9. package/components/DynamicFilter/constants.d.ts +3 -2
  10. package/components/DynamicFilter/constants.js +4 -2
  11. package/components/DynamicFilter/helpers/formatToInitialFilters.js +3 -3
  12. package/components/DynamicFilter/helpers/formatToRowFilter.js +6 -2
  13. package/components/DynamicFilter/helpers/getPurgedInitialFiltersApplied.d.ts +2 -2
  14. package/components/DynamicFilter/index.d.ts +1 -1
  15. package/components/DynamicFilter/slots/dynamicFilterSlots.d.ts +28 -28
  16. package/components/DynamicFilter/store/DynamicFilterContext.d.ts +1 -9
  17. package/components/DynamicFilter/store/DynamicFilterContext.js +7 -4
  18. package/components/DynamicFilter/store/DynamicFilterStore.d.ts +3 -199
  19. package/components/DynamicFilter/store/DynamicFilterStore.js +28 -14
  20. package/components/DynamicFilter/store/DynamicFilterStoreTypes.d.ts +200 -0
  21. package/components/DynamicFilter/store/useDynamicFilterStore.d.ts +1 -1
  22. package/components/DynamicFilter/store/useDynamicFilterStore.js +1 -1
  23. package/components/DynamicFilter/subcomponents/AppliedFilterChip/AppliedFilterChip.js +2 -2
  24. package/components/DynamicFilter/subcomponents/AppliedFilterChip/useAppliedFilterChip.js +4 -3
  25. package/components/DynamicFilter/subcomponents/AppliedFilters/AppliedFilters.js +1 -1
  26. package/components/DynamicFilter/subcomponents/FieldTypes/BooleanFilter/helpers.d.ts +5 -5
  27. package/components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/helpers.d.ts +5 -5
  28. package/components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/helpers.js +2 -2
  29. package/components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/index.js +1 -1
  30. package/components/DynamicFilter/subcomponents/FieldTypes/FieldTypeInterface.d.ts +5 -5
  31. package/components/DynamicFilter/subcomponents/FieldTypes/NumberFilter/helpers.d.ts +5 -5
  32. package/components/DynamicFilter/subcomponents/FieldTypes/SelectAsyncFilter/helpers.d.ts +42 -0
  33. package/components/DynamicFilter/subcomponents/FieldTypes/SelectAsyncFilter/helpers.js +121 -0
  34. package/components/DynamicFilter/subcomponents/FieldTypes/SelectAsyncFilter/index.d.ts +5 -0
  35. package/components/DynamicFilter/subcomponents/FieldTypes/SelectAsyncFilter/index.js +49 -0
  36. package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/helpers.d.ts +7 -7
  37. package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/helpers.js +8 -12
  38. package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/index.js +5 -8
  39. package/components/DynamicFilter/subcomponents/FieldTypes/StringFilter/helpers.d.ts +5 -5
  40. package/components/DynamicFilter/subcomponents/FieldTypes/StringFilter/helpers.js +1 -1
  41. package/components/DynamicFilter/subcomponents/FieldTypes/StringFilter/index.js +1 -1
  42. package/components/DynamicFilter/subcomponents/FieldTypes/fieldFactory.d.ts +2 -1
  43. package/components/DynamicFilter/subcomponents/FieldTypes/fieldFactory.js +2 -0
  44. package/components/DynamicFilter/subcomponents/InputFilter/InputFilter.js +8 -1
  45. package/components/DynamicFilter/subcomponents/InputFilter/useInputFilter.d.ts +7 -3
  46. package/components/DynamicFilter/subcomponents/InputFilter/useInputFilter.js +15 -14
  47. package/components/DynamicFilter/subcomponents/PopoverFilter/usePopoverFilter.d.ts +4 -3
  48. package/components/DynamicFilter/subcomponents/PopoverFilter/usePopoverFilter.js +3 -2
  49. package/components/DynamicFilter/subcomponents/PopoverMenuFields/PopoverMenuFields.d.ts +2 -2
  50. package/components/DynamicFilter/subcomponents/PopoverMenuFields/PopoverMenuFields.js +5 -4
  51. package/components/DynamicFilter/subcomponents/PopoverMenuFields/usePopoverMenuFields.d.ts +6 -4
  52. package/components/DynamicFilter/subcomponents/PopoverMenuFields/usePopoverMenuFields.js +8 -5
  53. package/components/DynamicFilter/types.d.ts +52 -25
  54. package/components/DynamicSort/DynamicSort.js +14 -0
  55. package/components/DynamicSort/DynamicSort.styles.js +365 -0
  56. package/components/DynamicSort/constants.js +16 -0
  57. package/components/DynamicSort/dictionary.js +28 -0
  58. package/components/DynamicSort/helpers/formatToInitialSorts.js +12 -0
  59. package/components/DynamicSort/helpers/formatToRowSort.js +10 -0
  60. package/components/DynamicSort/helpers/getPurgedInitialSortApplyed.d.ts +2 -2
  61. package/components/DynamicSort/helpers/getPurgedInitialSortApplyed.js +55 -0
  62. package/components/DynamicSort/index.d.ts +1 -1
  63. package/components/DynamicSort/slots/DynamicSortSlots.js +146 -0
  64. package/components/DynamicSort/slots/SlotsEnum.js +34 -0
  65. package/components/DynamicSort/store/DynamicSortContext.js +76 -0
  66. package/components/DynamicSort/store/DynamicSortStore.d.ts +6 -6
  67. package/components/DynamicSort/store/DynamicSortStore.js +227 -0
  68. package/components/DynamicSort/store/useDynamicSortStore.js +14 -0
  69. package/components/DynamicSort/subcomponents/AppliedSortChip/AppliedSortChip.js +27 -0
  70. package/components/DynamicSort/subcomponents/AppliedSortChip/useAppliedSortChip.js +37 -0
  71. package/components/DynamicSort/subcomponents/AppliedSorts/AppliedSorts.js +15 -0
  72. package/components/DynamicSort/subcomponents/AppliedSorts/useAppliedSorts.js +15 -0
  73. package/components/DynamicSort/subcomponents/DynamicSortBase/DynamicSortBase.js +35 -0
  74. package/components/DynamicSort/subcomponents/DynamicSortBase/useDynamicSortBase.js +9 -0
  75. package/components/DynamicSort/subcomponents/FieldTypes/DataTypeComponent.js +16 -0
  76. package/components/DynamicSort/subcomponents/FieldTypes/FieldTypeInterface.d.ts +5 -5
  77. package/components/DynamicSort/subcomponents/FieldTypes/StringSort/helpers.d.ts +5 -5
  78. package/components/DynamicSort/subcomponents/FieldTypes/StringSort/helpers.js +84 -0
  79. package/components/DynamicSort/subcomponents/FieldTypes/StringSort/index.js +36 -0
  80. package/components/DynamicSort/subcomponents/FieldTypes/fieldFactory.js +17 -0
  81. package/components/DynamicSort/subcomponents/InputSort/InputSort.js +36 -0
  82. package/components/DynamicSort/subcomponents/InputSort/InputSortSkeleton.js +19 -0
  83. package/components/DynamicSort/subcomponents/InputSort/useInputSort.d.ts +2 -2
  84. package/components/DynamicSort/subcomponents/InputSort/useInputSort.js +132 -0
  85. package/components/DynamicSort/subcomponents/PopoverMenuFields/PopoverMenuFields.d.ts +2 -2
  86. package/components/DynamicSort/subcomponents/PopoverMenuFields/PopoverMenuFields.js +38 -0
  87. package/components/DynamicSort/subcomponents/PopoverMenuFields/usePopoverMenuFields.d.ts +3 -3
  88. package/components/DynamicSort/subcomponents/PopoverMenuFields/usePopoverMenuFields.js +29 -0
  89. package/components/DynamicSort/subcomponents/PopoverSort/PopoverSort.js +64 -0
  90. package/components/DynamicSort/subcomponents/PopoverSort/usePopoverSort.d.ts +2 -2
  91. package/components/DynamicSort/subcomponents/PopoverSort/usePopoverSort.js +99 -0
  92. package/components/DynamicSort/subcomponents/SortActions/SortActions.js +44 -0
  93. package/components/DynamicSort/subcomponents/SortActions/SortActionsSkeleton.js +12 -0
  94. package/components/DynamicSort/subcomponents/SortActions/useSortActions.js +39 -0
  95. package/components/DynamicSort/types.d.ts +3 -3
  96. package/components/Icon/Icon.js +1 -1
  97. package/components/Icon/constants.js +2 -2
  98. package/components/Icon/slots/IconSlots.js +1 -1
  99. package/components/LoadingError/LoadingError.d.ts +37 -12
  100. package/components/LoadingError/LoadingError.js +82 -44
  101. package/components/LoadingError/LoadingError.styles.d.ts +2 -0
  102. package/components/LoadingError/LoadingError.styles.js +121 -0
  103. package/components/LoadingError/constants.d.ts +1 -0
  104. package/components/LoadingError/constants.js +4 -0
  105. package/components/LoadingError/dictionary.d.ts +7 -0
  106. package/components/LoadingError/dictionary.js +9 -1
  107. package/components/LoadingError/slots/LoadingErrorEnum.d.ts +13 -0
  108. package/components/LoadingError/slots/LoadingErrorEnum.js +17 -0
  109. package/components/LoadingError/slots/LoadingErrorSlots.d.ts +14 -0
  110. package/components/LoadingError/slots/LoadingErrorSlots.js +64 -0
  111. package/components/LoadingError/slots/index.d.ts +2 -0
  112. package/components/LoadingError/types.d.ts +16 -0
  113. package/components/MenuActions/MenuActions.js +21 -25
  114. package/components/ModalDialog/ModalDialog.js +21 -27
  115. package/components/ModalDialog/slots/ModalDialogSlots.d.ts +1 -1
  116. package/components/PrintingSystem/classes/index.js +1 -1
  117. package/components/PropertyValue/PropertyValue.js +7 -4
  118. package/components/PropertyValue/PropertyValue.styles.js +6 -6
  119. package/components/PropertyValue/slots/PropertyValueEnum.d.ts +1 -1
  120. package/components/PropertyValue/slots/PropertyValueEnum.js +1 -1
  121. package/components/PropertyValue/slots/PropertyValueSlots.d.ts +3 -3
  122. package/components/PropertyValue/slots/PropertyValueSlots.js +6 -6
  123. package/components/PropertyValue/types.d.ts +4 -4
  124. package/components/ScrollBar/ScrollBar.js +3 -1
  125. package/components/animate/index.d.ts +0 -1
  126. package/components/areas/components/AreasAdmin/subcomponents/AreaChip/AreaChip.js +1 -2
  127. package/components/areas/components/AreasViewer/types.d.ts +1 -1
  128. package/components/commercial/AppBarCommercial/classes/index.js +1 -1
  129. package/components/commercial/SectionCommercial/classes/index.js +1 -1
  130. package/components/commercial/TopBar/classes/index.js +1 -1
  131. package/components/extended/React-Spinners/PropagateLoaderSpinner/index.d.ts +1 -0
  132. package/components/extended/React-Spinners/index.d.ts +1 -0
  133. package/components/extended/{React-Splitter/SplitLayout → React-Splitter-Layout}/SplitLayout.js +3 -3
  134. package/components/extended/React-Splitter-Layout/index.d.ts +1 -0
  135. package/components/extended/{React-Splitter/SplitLayout → React-Splitter-Layout}/types.d.ts +1 -1
  136. package/components/extended/React-Window/FixedSizeList/FixedSizeList.d.ts +6 -0
  137. package/components/extended/React-Window/FixedSizeList/FixedSizeList.js +11 -0
  138. package/components/extended/React-Window/FixedSizeList/FixedSizeList.styles.d.ts +2 -0
  139. package/components/extended/React-Window/FixedSizeList/FixedSizeList.styles.js +6 -0
  140. package/components/extended/React-Window/FixedSizeList/constants.d.ts +2 -0
  141. package/components/extended/React-Window/FixedSizeList/constants.js +7 -0
  142. package/components/extended/React-Window/FixedSizeList/index.d.ts +1 -0
  143. package/components/extended/React-Window/FixedSizeList/slots/FixedSizeListSlots.d.ts +4 -0
  144. package/components/extended/React-Window/FixedSizeList/slots/FixedSizeListSlots.js +14 -0
  145. package/components/extended/React-Window/FixedSizeList/slots/slots.d.ts +3 -0
  146. package/components/extended/React-Window/FixedSizeList/slots/slots.js +7 -0
  147. package/components/extended/React-Window/FixedSizeList/types.d.ts +9 -0
  148. package/components/extended/React-Window/VariableSizeList/VariableSizeList.d.ts +7 -0
  149. package/components/extended/React-Window/VariableSizeList/VariableSizeList.js +14 -0
  150. package/components/extended/React-Window/VariableSizeList/VariableSizeList.styles.d.ts +2 -0
  151. package/components/extended/React-Window/VariableSizeList/constants.d.ts +2 -0
  152. package/components/extended/React-Window/VariableSizeList/constants.js +6 -0
  153. package/components/extended/React-Window/VariableSizeList/index.d.ts +2 -0
  154. package/components/extended/React-Window/VariableSizeList/slots/VariableSizeListSlots.d.ts +4 -0
  155. package/components/extended/React-Window/VariableSizeList/slots/slots.d.ts +3 -0
  156. package/components/extended/React-Window/VariableSizeList/types.d.ts +9 -0
  157. package/components/extended/React-Window/index.d.ts +2 -0
  158. package/components/extended/index.d.ts +4 -0
  159. package/components/formatters/DistanceToNowFormatter/DistanceToNowFormatter.d.ts +2 -1
  160. package/components/formatters/DistanceToNowFormatter/DistanceToNowFormatter.js +22 -6
  161. package/components/formatters/DistanceToNowFormatter/slots/DistanceToNowFormatterSlots.d.ts +1 -1
  162. package/components/formatters/DistanceToNowFormatter/slots/DistanceToNowFormatterSlots.js +3 -2
  163. package/components/formatters/DistanceToNowFormatter/types.d.ts +11 -3
  164. package/components/index.d.ts +5 -6
  165. package/components/mui_extended/Autocomplete/slots/AutocompleteSlots.d.ts +1 -1
  166. package/components/mui_extended/MenuItem/MenuItem.js +2 -1
  167. package/components/mui_extended/MenuItem/MenuItem.styles.js +28 -21
  168. package/components/mui_extended/MenuItem/slots/MenuItemSlots.d.ts +6 -6
  169. package/components/mui_extended/MenuItem/types.d.ts +2 -2
  170. package/components/mui_extended/Popover/Popover.js +3 -0
  171. package/components/mui_extended/TabContext/index.js +2 -2
  172. package/components/mui_extended/Typography/typography.styles.js +1 -0
  173. package/components/mui_extended/index.d.ts +1 -0
  174. package/components/popups/components/PopupsProvider/contexts/PopupsContext/PopupsContext.js +4 -4
  175. package/components/popups/components/PopupsProvider/contexts/PopupsContext/store.js +1 -1
  176. package/components/popups/components/PopupsProvider/contexts/PopupsContext/types.d.ts +2 -2
  177. package/components/popups/components/PopupsProvider/hooks/usePopupsStore/index.js +1 -1
  178. package/contexts/index.d.ts +0 -1
  179. package/hooks/index.d.ts +3 -1
  180. package/hooks/useSvgColor/constants.d.ts +2 -1
  181. package/hooks/useSvgColor/constants.js +7 -5
  182. package/hooks/useSvgColor/helpers.js +3 -3
  183. package/hooks/useSvgColor/types.d.ts +3 -1
  184. package/hooks/useSvgColor/useSvgColor.js +10 -9
  185. package/hooks/useTab/index.js +1 -1
  186. package/index.d.ts +2 -0
  187. package/index.js +177 -174
  188. package/not_recognized/index.js +23261 -0
  189. package/package.json +4 -3
  190. package/patchLibErrors/defaultPropsError.d.ts +3 -0
  191. package/test/TestAppWrapper.d.ts +1 -1
  192. package/utils/ObjectQueue.d.ts +18 -0
  193. package/utils/ObjectQueue.js +33 -0
  194. package/utils/capitalizeFirstLetter.js +10 -1
  195. package/utils/getComponentUtilityClass.js +7 -0
  196. package/utils/getPaletteColor.js +18 -0
  197. package/utils/index.d.ts +8 -16
  198. package/utils/index.js +1 -11
  199. package/utils/isValidDate.js +6 -0
  200. package/vendor.js +171 -0
  201. package/.storybook/decorators/WithMapProvider/constants.d.ts +0 -2
  202. package/.storybook/decorators/WithMapProvider/index.d.ts +0 -1
  203. package/components/DynamicFilter/DynamicFilter.stories.d.ts +0 -29
  204. package/components/LoadingError/classes/constants.d.ts +0 -1
  205. package/components/LoadingError/classes/constants.js +0 -4
  206. package/components/LoadingError/classes/index.d.ts +0 -26
  207. package/components/LoadingError/classes/index.js +0 -39
  208. package/components/LoadingError/classes/types.d.ts +0 -14
  209. package/components/LoadingError/styles.d.ts +0 -1
  210. package/components/LoadingError/styles.js +0 -7
  211. package/components/formatters/CourseFormatter/CourseFormatter.d.ts +0 -14
  212. package/components/formatters/CourseFormatter/CourseFormatter.js +0 -33
  213. package/components/formatters/CourseFormatter/CourseFormatter.styles.d.ts +0 -2
  214. package/components/formatters/CourseFormatter/CourseFormatter.styles.js +0 -23
  215. package/components/formatters/CourseFormatter/constants.d.ts +0 -3
  216. package/components/formatters/CourseFormatter/constants.js +0 -6
  217. package/components/formatters/CourseFormatter/dictionary.d.ts +0 -12
  218. package/components/formatters/CourseFormatter/dictionary.js +0 -18
  219. package/components/formatters/CourseFormatter/helper.d.ts +0 -4
  220. package/components/formatters/CourseFormatter/helper.js +0 -28
  221. package/components/formatters/CourseFormatter/index.d.ts +0 -2
  222. package/components/formatters/CourseFormatter/slots/CourseFormatterEnum.d.ts +0 -3
  223. package/components/formatters/CourseFormatter/slots/CourseFormatterEnum.js +0 -7
  224. package/components/formatters/CourseFormatter/slots/CourseFormatterSlots.d.ts +0 -3
  225. package/components/formatters/CourseFormatter/slots/CourseFormatterSlots.js +0 -12
  226. package/components/formatters/CourseFormatter/types.d.ts +0 -24
  227. package/components/formatters/DistanceToNowFormatter/stories/basic.stories.d.ts +0 -157
  228. package/components/formatters/DistanceToNowFormatter/stories/constants.d.ts +0 -3
  229. package/components/formatters/DistanceToNowFormatter/stories/dictionary.d.ts +0 -0
  230. package/components/formatters/DistanceToNowFormatter/stories/subcomponents/WithDTNFProvider.d.ts +0 -6
  231. package/components/formatters/DistanceToNowFormatter/stories/types.d.ts +0 -3
  232. package/components/gclick/MyDevice/MyDevice.d.ts +0 -6
  233. package/components/gclick/MyDevice/MyDevice.js +0 -26
  234. package/components/gclick/MyDevice/MyDevice.styles.d.ts +0 -2
  235. package/components/gclick/MyDevice/MyDevice.styles.js +0 -22
  236. package/components/gclick/MyDevice/constants.d.ts +0 -2
  237. package/components/gclick/MyDevice/constants.js +0 -4
  238. package/components/gclick/MyDevice/index.d.ts +0 -1
  239. package/components/gclick/MyDevice/slots/MyDeviceSlots.d.ts +0 -3
  240. package/components/gclick/MyDevice/slots/MyDeviceSlots.js +0 -22
  241. package/components/gclick/MyDevice/slots/slots.d.ts +0 -5
  242. package/components/gclick/MyDevice/slots/slots.js +0 -9
  243. package/components/gclick/MyDevice/stories/basic.stories.d.ts +0 -9
  244. package/components/gclick/MyDevice/stories/constants.d.ts +0 -3
  245. package/components/gclick/MyDevice/stories/dictionary.d.ts +0 -0
  246. package/components/gclick/MyDevice/stories/subcomponents/WithMyDeviceProvider.d.ts +0 -2
  247. package/components/gclick/MyDevice/stories/types.d.ts +0 -3
  248. package/components/gclick/MyDevice/subcomponents/PropertyValue/index.d.ts +0 -5
  249. package/components/gclick/MyDevice/subcomponents/PropertyValue/types.d.ts +0 -5
  250. package/components/gclick/MyDevice/types.d.ts +0 -18
  251. package/components/gclick/MyDeviceStatus/MyDeviceStatus.d.ts +0 -6
  252. package/components/gclick/MyDeviceStatus/MyDeviceStatus.js +0 -68
  253. package/components/gclick/MyDeviceStatus/MyDeviceStatus.styles.d.ts +0 -2
  254. package/components/gclick/MyDeviceStatus/MyDeviceStatus.styles.js +0 -22
  255. package/components/gclick/MyDeviceStatus/constants.d.ts +0 -13
  256. package/components/gclick/MyDeviceStatus/constants.js +0 -17
  257. package/components/gclick/MyDeviceStatus/dictionary.d.ts +0 -13
  258. package/components/gclick/MyDeviceStatus/dictionary.js +0 -19
  259. package/components/gclick/MyDeviceStatus/icons.d.ts +0 -11
  260. package/components/gclick/MyDeviceStatus/icons.js +0 -14
  261. package/components/gclick/MyDeviceStatus/index.d.ts +0 -1
  262. package/components/gclick/MyDeviceStatus/slots/MyDeviceStatusSlots.d.ts +0 -3
  263. package/components/gclick/MyDeviceStatus/slots/MyDeviceStatusSlots.js +0 -22
  264. package/components/gclick/MyDeviceStatus/slots/slots.d.ts +0 -5
  265. package/components/gclick/MyDeviceStatus/slots/slots.js +0 -9
  266. package/components/gclick/MyDeviceStatus/stories/basic.stories.d.ts +0 -41
  267. package/components/gclick/MyDeviceStatus/stories/constants.d.ts +0 -3
  268. package/components/gclick/MyDeviceStatus/stories/dataMocks.d.ts +0 -55
  269. package/components/gclick/MyDeviceStatus/stories/subcomponents/WithMyDeviceProvider.d.ts +0 -2
  270. package/components/gclick/MyDeviceStatus/stories/types.d.ts +0 -3
  271. package/components/gclick/MyDeviceStatus/subcomponents/PropertyValue/index.d.ts +0 -5
  272. package/components/gclick/MyDeviceStatus/subcomponents/PropertyValue/types.d.ts +0 -5
  273. package/components/gclick/MyDeviceStatus/types.d.ts +0 -14
  274. package/components/gclick/constants.d.ts +0 -1
  275. package/components/gclick/constants.js +0 -4
  276. package/components/gclick/types.d.ts +0 -60
  277. package/components/maps/components/Map/Map.d.ts +0 -8
  278. package/components/maps/components/Map/Map.js +0 -34
  279. package/components/maps/components/Map/Map.styles.d.ts +0 -2
  280. package/components/maps/components/Map/Map.styles.js +0 -227
  281. package/components/maps/components/Map/classes/index.d.ts +0 -8
  282. package/components/maps/components/Map/classes/index.js +0 -110
  283. package/components/maps/components/Map/classes/types.d.ts +0 -69
  284. package/components/maps/components/Map/constants.d.ts +0 -36
  285. package/components/maps/components/Map/constants.js +0 -49
  286. package/components/maps/components/Map/contexts/MapContext/MapContext.d.ts +0 -21
  287. package/components/maps/components/Map/contexts/MapContext/MapContext.js +0 -58
  288. package/components/maps/components/Map/contexts/MapContext/helper.d.ts +0 -8
  289. package/components/maps/components/Map/contexts/MapContext/index.d.ts +0 -2
  290. package/components/maps/components/Map/contexts/MapContext/store.d.ts +0 -19
  291. package/components/maps/components/Map/contexts/MapContext/store.js +0 -369
  292. package/components/maps/components/Map/contexts/MapContext/types.d.ts +0 -597
  293. package/components/maps/components/Map/dictionary.d.ts +0 -32
  294. package/components/maps/components/Map/dictionary.js +0 -38
  295. package/components/maps/components/Map/external/Control/index.d.ts +0 -9
  296. package/components/maps/components/Map/external/Control/index.js +0 -42
  297. package/components/maps/components/Map/external/Control/types.d.ts +0 -7
  298. package/components/maps/components/Map/external/Popup/component.d.ts +0 -4
  299. package/components/maps/components/Map/external/Popup/div-overlay.d.ts +0 -4
  300. package/components/maps/components/Map/external/Popup/element.d.ts +0 -4
  301. package/components/maps/components/Map/external/Popup/generic.d.ts +0 -4
  302. package/components/maps/components/Map/external/Popup/index.d.ts +0 -4
  303. package/components/maps/components/Map/external/googleMutant/LRUMap.d.ts +0 -99
  304. package/components/maps/components/Map/external/googleMutant/googleMutant.d.ts +0 -1
  305. package/components/maps/components/Map/external/googleMutant/googleMutantNoDelete.d.ts +0 -1
  306. package/components/maps/components/Map/external/googleMutant/index.d.ts +0 -132
  307. package/components/maps/components/Map/featureRenders/CommonFeatureRender/index.d.ts +0 -8
  308. package/components/maps/components/Map/featureRenders/CommonFeatureRender/index.js +0 -257
  309. package/components/maps/components/Map/featureRenders/CommonFeatureRender/subcomponents/FeatureDivIconLabel/index.d.ts +0 -6
  310. package/components/maps/components/Map/featureRenders/CommonFeatureRender/subcomponents/FeatureDivIconLabel/index.js +0 -33
  311. package/components/maps/components/Map/featureRenders/CommonFeatureRender/subcomponents/FeatureDivIconLabel/types.d.ts +0 -7
  312. package/components/maps/components/Map/featureRenders/CommonFeatureRender/subcomponents/MarkerIconLabel/index.d.ts +0 -5
  313. package/components/maps/components/Map/featureRenders/CommonFeatureRender/subcomponents/MarkerIconLabel/index.js +0 -76
  314. package/components/maps/components/Map/featureRenders/CommonFeatureRender/subcomponents/MarkerIconLabel/types.d.ts +0 -12
  315. package/components/maps/components/Map/featureRenders/MarkerFeatureRender/IconMarker.d.ts +0 -9
  316. package/components/maps/components/Map/featureRenders/MarkerFeatureRender/IconMarkerGrua.d.ts +0 -4
  317. package/components/maps/components/Map/featureRenders/MarkerFeatureRender/IconMarkerTaxi.d.ts +0 -4
  318. package/components/maps/components/Map/featureRenders/MarkerFeatureRender/index.d.ts +0 -5
  319. package/components/maps/components/Map/featureRenders/MarkerFeatureRender/index.js +0 -79
  320. package/components/maps/components/Map/featureRenders/index.d.ts +0 -2
  321. package/components/maps/components/Map/hooks/useAutoFocus/index.d.ts +0 -6
  322. package/components/maps/components/Map/hooks/useAutoFocus/index.js +0 -78
  323. package/components/maps/components/Map/hooks/useAutoFocus/types.d.ts +0 -15
  324. package/components/maps/components/Map/hooks/useDisableClickEvents/index.d.ts +0 -6
  325. package/components/maps/components/Map/hooks/useDisableZoomEvents/index.d.ts +0 -6
  326. package/components/maps/components/Map/hooks/useDisableZoomEvents/index.js +0 -21
  327. package/components/maps/components/Map/hooks/useMapStore/index.d.ts +0 -6
  328. package/components/maps/components/Map/hooks/useMapStore/index.js +0 -13
  329. package/components/maps/components/Map/icons.d.ts +0 -45
  330. package/components/maps/components/Map/icons.js +0 -61
  331. package/components/maps/components/Map/index.d.ts +0 -9
  332. package/components/maps/components/Map/pluginLayers/PolylineWithArrows/index.d.ts +0 -11
  333. package/components/maps/components/Map/pluginLayers/PolylineWithArrows/index.js +0 -74
  334. package/components/maps/components/Map/pluginLayers/index.d.ts +0 -1
  335. package/components/maps/components/Map/popups/MapPopupMyGps/MapPopupMyGps.d.ts +0 -7
  336. package/components/maps/components/Map/popups/MapPopupMyGps/MapPopupMyGps.js +0 -97
  337. package/components/maps/components/Map/popups/MapPopupMyGps/MapPopupMyGps.styles.d.ts +0 -2
  338. package/components/maps/components/Map/popups/MapPopupMyGps/MapPopupMyGps.styles.js +0 -34
  339. package/components/maps/components/Map/popups/MapPopupMyGps/constants.d.ts +0 -3
  340. package/components/maps/components/Map/popups/MapPopupMyGps/constants.js +0 -6
  341. package/components/maps/components/Map/popups/MapPopupMyGps/dictionary.d.ts +0 -15
  342. package/components/maps/components/Map/popups/MapPopupMyGps/dictionary.js +0 -21
  343. package/components/maps/components/Map/popups/MapPopupMyGps/index.d.ts +0 -2
  344. package/components/maps/components/Map/popups/MapPopupMyGps/slots/ MapPopupMyGpsSlots.d.ts +0 -3
  345. package/components/maps/components/Map/popups/MapPopupMyGps/slots/ MapPopupMyGpsSlots.js +0 -21
  346. package/components/maps/components/Map/popups/MapPopupMyGps/slots/slots.d.ts +0 -5
  347. package/components/maps/components/Map/popups/MapPopupMyGps/slots/slots.js +0 -9
  348. package/components/maps/components/Map/popups/MapPopupMyGps/stories/basic.stories.d.ts +0 -9
  349. package/components/maps/components/Map/popups/MapPopupMyGps/stories/constants.d.ts +0 -3
  350. package/components/maps/components/Map/popups/MapPopupMyGps/stories/dictionary.d.ts +0 -0
  351. package/components/maps/components/Map/popups/MapPopupMyGps/stories/subcomponents/WithMapOpenPopup.d.ts +0 -5
  352. package/components/maps/components/Map/popups/MapPopupMyGps/stories/types.d.ts +0 -3
  353. package/components/maps/components/Map/popups/MapPopupMyGps/subcomponents/PropertyValue/index.d.ts +0 -5
  354. package/components/maps/components/Map/popups/MapPopupMyGps/subcomponents/PropertyValue/index.js +0 -14
  355. package/components/maps/components/Map/popups/MapPopupMyGps/subcomponents/PropertyValue/types.d.ts +0 -5
  356. package/components/maps/components/Map/popups/MapPopupMyGps/types.d.ts +0 -7
  357. package/components/maps/components/Map/popups/index.d.ts +0 -1
  358. package/components/maps/components/Map/popups/types.d.ts +0 -10
  359. package/components/maps/components/Map/slots/MapSlots.d.ts +0 -4
  360. package/components/maps/components/Map/slots/MapSlots.js +0 -24
  361. package/components/maps/components/Map/slots/slots.d.ts +0 -6
  362. package/components/maps/components/Map/slots/slots.js +0 -10
  363. package/components/maps/components/Map/stories/basic.stories.d.ts +0 -13
  364. package/components/maps/components/Map/stories/constants.d.ts +0 -3
  365. package/components/maps/components/Map/stories/dictionary.d.ts +0 -0
  366. package/components/maps/components/Map/stories/subcomponents/ContentExample.d.ts +0 -4
  367. package/components/maps/components/Map/stories/types.d.ts +0 -3
  368. package/components/maps/components/Map/subcomponents/Controls/index.d.ts +0 -17
  369. package/components/maps/components/Map/subcomponents/Controls/index.js +0 -31
  370. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/index.d.ts +0 -4
  371. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/index.js +0 -13
  372. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/index.d.ts +0 -10
  373. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/index.js +0 -59
  374. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useCheckedLayers.d.ts +0 -9
  375. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useCheckedLayers.js +0 -17
  376. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useColumns.d.ts +0 -18
  377. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useColumns.js +0 -140
  378. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useMaster.d.ts +0 -12
  379. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useMaster.js +0 -52
  380. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useRowActionsGetter.d.ts +0 -8
  381. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useRowActionsGetter.js +0 -43
  382. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/index.d.ts +0 -4
  383. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/index.js +0 -30
  384. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/model.d.ts +0 -26
  385. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/index.d.ts +0 -4
  386. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/index.js +0 -134
  387. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/sourceTypes/bing.d.ts +0 -2
  388. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/sourceTypes/bing.js +0 -39
  389. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/sourceTypes/google.d.ts +0 -4
  390. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/sourceTypes/google.js +0 -73
  391. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/sourceTypes/osm.d.ts +0 -2
  392. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/sourceTypes/osm.js +0 -25
  393. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/sourceTypes/utils.d.ts +0 -4
  394. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/sourceTypes/utils.js +0 -19
  395. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/types.d.ts +0 -4
  396. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/types.d.ts +0 -5
  397. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/index.d.ts +0 -11
  398. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/index.js +0 -101
  399. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/constants.d.ts +0 -30
  400. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/constants.js +0 -34
  401. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/hooks/useMeasure/helpers.d.ts +0 -11
  402. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/hooks/useMeasure/helpers.js +0 -45
  403. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/hooks/useMeasure/index.d.ts +0 -13
  404. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/hooks/useMeasure/index.js +0 -245
  405. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/hooks/useMeasure/types.d.ts +0 -13
  406. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/hooks/useValidation.d.ts +0 -13
  407. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/hooks/useValidation.js +0 -17
  408. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/index.d.ts +0 -4
  409. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/index.js +0 -41
  410. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/model.d.ts +0 -17
  411. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/subcomponents/MeasureData/index.d.ts +0 -5
  412. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/subcomponents/MeasureData/index.js +0 -33
  413. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/subcomponents/MeasureData/types.d.ts +0 -6
  414. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/subcomponents/MeasureData/validations.d.ts +0 -2
  415. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/subcomponents/MeasureData/validations.js +0 -6
  416. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/subcomponents/MyActions/index.d.ts +0 -4
  417. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/subcomponents/MyActions/index.js +0 -32
  418. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/types.d.ts +0 -9
  419. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/ZoomButtons/index.d.ts +0 -4
  420. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/ZoomButtons/index.js +0 -52
  421. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/types.d.ts +0 -4
  422. package/components/maps/components/Map/subcomponents/Controls/types.d.ts +0 -22
  423. package/components/maps/components/Map/subcomponents/LayersContainer/index.d.ts +0 -5
  424. package/components/maps/components/Map/subcomponents/LayersContainer/index.js +0 -33
  425. package/components/maps/components/Map/subcomponents/LayersContainer/subcomponents/MyLayer/index.d.ts +0 -14
  426. package/components/maps/components/Map/subcomponents/LayersContainer/subcomponents/MyLayer/index.js +0 -132
  427. package/components/maps/components/Map/subcomponents/LayersContainer/subcomponents/MyLayer/subcomponents/MarkerClusterGroup/index.d.ts +0 -9
  428. package/components/maps/components/Map/subcomponents/LayersContainer/subcomponents/MyLayer/subcomponents/MarkerClusterGroup/index.js +0 -24
  429. package/components/maps/components/Map/subcomponents/LayersContainer/subcomponents/MyLayer/subcomponents/MarkerClusterGroup/types.d.ts +0 -11
  430. package/components/maps/components/Map/subcomponents/LayersContainer/subcomponents/MyLayer/subcomponents/RenderByEachFeatureComponent/index.d.ts +0 -11
  431. package/components/maps/components/Map/subcomponents/LayersContainer/subcomponents/MyLayer/subcomponents/RenderByEachFeatureComponent/index.js +0 -13
  432. package/components/maps/components/Map/subcomponents/LayersContainer/subcomponents/MyLayer/subcomponents/RenderByEachFeatureComponent/types.d.ts +0 -5
  433. package/components/maps/components/Map/subcomponents/LayersContainer/subcomponents/MyLayer/types.d.ts +0 -2
  434. package/components/maps/components/Map/subcomponents/TileLayers/index.d.ts +0 -6
  435. package/components/maps/components/Map/subcomponents/TileLayers/index.js +0 -13
  436. package/components/maps/components/Map/subcomponents/TileLayers/subcomponents/TileLayerGoogle/index.d.ts +0 -4
  437. package/components/maps/components/Map/subcomponents/TileLayers/subcomponents/TileLayerGoogle/index.js +0 -100
  438. package/components/maps/components/Map/subcomponents/TileLayers/subcomponents/TileLayerOthers/index.d.ts +0 -6
  439. package/components/maps/components/Map/subcomponents/TileLayers/subcomponents/TileLayerOthers/index.js +0 -35
  440. package/components/maps/components/Map/types.d.ts +0 -56
  441. package/components/maps/components/MapGpsTools/MapGpsTools.d.ts +0 -4
  442. package/components/maps/components/MapGpsTools/MapGpsTools.js +0 -10
  443. package/components/maps/components/MapGpsTools/classes/index.d.ts +0 -7
  444. package/components/maps/components/MapGpsTools/classes/index.js +0 -21
  445. package/components/maps/components/MapGpsTools/classes/types.d.ts +0 -14
  446. package/components/maps/components/MapGpsTools/constants.d.ts +0 -8
  447. package/components/maps/components/MapGpsTools/constants.js +0 -71
  448. package/components/maps/components/MapGpsTools/contexts/MapGpsToolsContext/index.d.ts +0 -21
  449. package/components/maps/components/MapGpsTools/contexts/MapGpsToolsContext/index.js +0 -48
  450. package/components/maps/components/MapGpsTools/contexts/MapGpsToolsContext/store.d.ts +0 -19
  451. package/components/maps/components/MapGpsTools/contexts/MapGpsToolsContext/store.js +0 -155
  452. package/components/maps/components/MapGpsTools/contexts/MapGpsToolsContext/types.d.ts +0 -160
  453. package/components/maps/components/MapGpsTools/dictionary.d.ts +0 -62
  454. package/components/maps/components/MapGpsTools/dictionary.js +0 -73
  455. package/components/maps/components/MapGpsTools/hooks/useLayers/index.d.ts +0 -4
  456. package/components/maps/components/MapGpsTools/hooks/useLayers/index.js +0 -57
  457. package/components/maps/components/MapGpsTools/hooks/useMapGpsToolsStore/index.d.ts +0 -5
  458. package/components/maps/components/MapGpsTools/hooks/useMapGpsToolsStore/index.js +0 -13
  459. package/components/maps/components/MapGpsTools/icons.d.ts +0 -23
  460. package/components/maps/components/MapGpsTools/icons.js +0 -26
  461. package/components/maps/components/MapGpsTools/index.d.ts +0 -4
  462. package/components/maps/components/MapGpsTools/styles.d.ts +0 -1
  463. package/components/maps/components/MapGpsTools/styles.js +0 -18
  464. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/index.d.ts +0 -9
  465. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/index.js +0 -88
  466. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/constants.d.ts +0 -20
  467. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/constants.js +0 -40
  468. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/helpers.d.ts +0 -34
  469. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/helpers.js +0 -77
  470. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/hooks/useDrawing.d.ts +0 -14
  471. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/hooks/useDrawing.js +0 -216
  472. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/hooks/useSubmit.d.ts +0 -11
  473. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/hooks/useSubmit.js +0 -63
  474. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/hooks/useSumbitErrorsFocus.d.ts +0 -5
  475. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/hooks/useSumbitErrorsFocus.js +0 -36
  476. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/hooks/useValidation.d.ts +0 -25
  477. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/hooks/useValidation.js +0 -19
  478. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/index.d.ts +0 -5
  479. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/index.js +0 -73
  480. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/styles.d.ts +0 -1
  481. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/styles.js +0 -8
  482. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/index.d.ts +0 -4
  483. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/index.js +0 -52
  484. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/types.d.ts +0 -6
  485. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/validations.d.ts +0 -8
  486. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/validations.js +0 -11
  487. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/index.d.ts +0 -4
  488. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/index.js +0 -132
  489. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/types.d.ts +0 -7
  490. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/validations.d.ts +0 -9
  491. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/validations.js +0 -12
  492. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyActions/index.d.ts +0 -5
  493. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyActions/index.js +0 -61
  494. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyActions/types.d.ts +0 -2
  495. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyTabs/index.d.ts +0 -4
  496. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyTabs/index.js +0 -80
  497. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyTabs/types.d.ts +0 -7
  498. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/StyleData/index.d.ts +0 -4
  499. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/StyleData/index.js +0 -12
  500. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/FillData/index.d.ts +0 -4
  501. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/FillData/index.js +0 -49
  502. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/StrokeData/index.d.ts +0 -4
  503. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/StrokeData/index.js +0 -89
  504. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/StyleData/types.d.ts +0 -10
  505. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/types.d.ts +0 -27
  506. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useCheckedFeatures.d.ts +0 -9
  507. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useCheckedFeatures.js +0 -86
  508. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useCheckedGeofences.d.ts +0 -7
  509. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useCheckedGeofences.js +0 -85
  510. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useColumns.d.ts +0 -12
  511. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useColumns.js +0 -116
  512. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useMaster.d.ts +0 -22
  513. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useMaster.js +0 -162
  514. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useRowActionsGetter.d.ts +0 -12
  515. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useRowActionsGetter.js +0 -113
  516. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/index.d.ts +0 -4
  517. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/index.js +0 -75
  518. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/styles.d.ts +0 -1
  519. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/styles.js +0 -8
  520. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/subcomponents/Filter/index.d.ts +0 -9
  521. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/subcomponents/Filter/index.js +0 -49
  522. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/constants.d.ts +0 -7
  523. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/constants.js +0 -13
  524. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/model.d.ts +0 -114
  525. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/types.d.ts +0 -7
  526. package/components/maps/components/MapGpsTools/types.d.ts +0 -34
  527. package/components/maps/index.d.ts +0 -4
  528. package/components/maps/utils/courseToCartesianAngle.d.ts +0 -6
  529. package/components/maps/utils/courseToCartesianAngle.js +0 -8
  530. package/components/maps/utils/courseToCssAngle.d.ts +0 -9
  531. package/components/maps/utils/courseToCssAngle.js +0 -13
  532. package/components/maps/utils/index.d.ts +0 -6
  533. package/components/maps/utils/isFeature.d.ts +0 -2
  534. package/components/maps/utils/isFeature.js +0 -6
  535. package/components/maps/utils/isFeatureCollection.d.ts +0 -2
  536. package/components/maps/utils/isFeatureCollection.js +0 -6
  537. package/components/maps/utils/isFeatureCollectionDraft.d.ts +0 -6
  538. package/components/maps/utils/isFeatureCollectionDraft.js +0 -6
  539. package/components/maps/utils/isGeometry.d.ts +0 -2
  540. package/components/maps/utils/isGeometry.js +0 -6
  541. package/contexts/RealTimeContext/RealTimeContext.d.ts +0 -19
  542. package/contexts/RealTimeContext/RealTimeContext.js +0 -76
  543. package/contexts/RealTimeContext/index.d.ts +0 -1
  544. package/contexts/RealTimeContext/store.d.ts +0 -19
  545. package/contexts/RealTimeContext/store.js +0 -58
  546. package/contexts/RealTimeContext/types.d.ts +0 -96
  547. package/hooks/useRealTime/index.d.ts +0 -6
  548. /package/components/{PaperForm → DynamicSort}/index.js +0 -0
  549. /package/components/{formatters/CourseFormatter → DynamicSort/slots}/index.js +0 -0
  550. /package/components/{gclick/MyDevice → DynamicSort/subcomponents/AppliedSortChip}/index.js +0 -0
  551. /package/components/{gclick/MyDeviceStatus → DynamicSort/subcomponents/AppliedSorts}/index.js +0 -0
  552. /package/components/{maps/components/Map/external/googleMutant → DynamicSort/subcomponents/DynamicSortBase}/index.js +0 -0
  553. /package/components/{maps/components/Map/featureRenders → DynamicSort/subcomponents/InputSort}/index.js +0 -0
  554. /package/components/{maps/components/Map → DynamicSort/subcomponents/PopoverMenuFields}/index.js +0 -0
  555. /package/components/{maps/components/Map/pluginLayers → DynamicSort/subcomponents/PopoverSort}/index.js +0 -0
  556. /package/components/{maps/components/Map/popups/MapPopupMyGps → DynamicSort/subcomponents/SortActions}/index.js +0 -0
  557. /package/components/{maps/components/Map/popups → LoadingError/slots}/index.js +0 -0
  558. /package/components/{extended/React-Splitter/SplitLayout/tests/SplitLayout.test.d.ts → LoadingError/tests/LoadingError.test.d.ts} +0 -0
  559. /package/components/{maps/components/MapGpsTools → extended/React-Spinners/PropagateLoaderSpinner}/index.js +0 -0
  560. /package/components/{maps → extended/React-Spinners}/index.js +0 -0
  561. /package/components/extended/{React-Splitter/SplitLayout → React-Splitter-Layout}/SplitLayout.d.ts +0 -0
  562. /package/components/extended/{React-Splitter/SplitLayout → React-Splitter-Layout}/SplitLayout.styles.d.ts +0 -0
  563. /package/components/extended/{React-Splitter/SplitLayout → React-Splitter-Layout}/SplitLayout.styles.js +0 -0
  564. /package/components/extended/{React-Splitter/SplitLayout → React-Splitter-Layout}/constants.d.ts +0 -0
  565. /package/components/extended/{React-Splitter/SplitLayout → React-Splitter-Layout}/constants.js +0 -0
  566. /package/components/{maps/utils → extended/React-Splitter-Layout}/index.js +0 -0
  567. /package/components/extended/{React-Splitter/SplitLayout → React-Splitter-Layout}/slots/SplitLayoutEnum.d.ts +0 -0
  568. /package/components/extended/{React-Splitter/SplitLayout → React-Splitter-Layout}/slots/SplitLayoutEnum.js +0 -0
  569. /package/components/extended/{React-Splitter/SplitLayout → React-Splitter-Layout}/slots/SplitLayoutSlots.d.ts +0 -0
  570. /package/components/extended/{React-Splitter/SplitLayout → React-Splitter-Layout}/slots/SplitLayoutSlots.js +0 -0
  571. /package/components/{formatters/CourseFormatter/test/CourserFormatter.test.d.ts → extended/React-Splitter-Layout/tests/SplitLayout.test.d.ts} +0 -0
  572. /package/{contexts/RealTimeContext → components/extended/React-Window/FixedSizeList}/index.js +0 -0
  573. /package/components/{maps/components/Map/contexts/MapContext/helper.js → extended/React-Window/VariableSizeList/index.js} +0 -0
  574. /package/components/{maps/components/Map/external/googleMutant/LRUMap.js → extended/React-Window/index.js} +0 -0
  575. /package/components/{maps/components/Map/external/googleMutant/googleMutant.js → extended/index.js} +0 -0
@@ -1,162 +0,0 @@
1
- import { jsx } from "react/jsx-runtime";
2
- import { useCallback, useState, useEffect } from "react";
3
- import { useModuleDictionary, useEnvironment, usePaginate } from "@m4l/core";
4
- import { u as useColumns } from "./useColumns.js";
5
- import { u as useRowActionsGetter } from "./useRowActionsGetter.js";
6
- import { u as useCheckedGeofences } from "./useCheckedGeofences.js";
7
- import { u as useCheckedFeatures } from "./useCheckedFeatures.js";
8
- import { G as GeofencesFeaturesLayers } from "../../constants.js";
9
- import { shallow } from "zustand/shallow";
10
- import { G as GeofenceAddEdit } from "../../GeofenceAddEdit/index.js";
11
- import { M as MAP_GPSTOOLS_DICCTIONARY } from "../../../../../dictionary.js";
12
- import { M as MAP_GPSTOOLS_ICONS } from "../../../../../icons.js";
13
- import { u as usePopupsStore } from "../../../../../../../../popups/components/PopupsProvider/hooks/usePopupsStore/index.js";
14
- import { u as useMapGpsToolsStore } from "../../../../../hooks/useMapGpsToolsStore/index.js";
15
- function useMaster() {
16
- const { getLabel } = useModuleDictionary();
17
- const { host_static_assets, environment_assets } = useEnvironment();
18
- const { hidePopup, addPopup } = usePopupsStore((state) => state.popupsActions, shallow);
19
- const goToAdd = () => {
20
- hidePopup("gpsTools");
21
- addPopup({
22
- popupId: "geofencesAddEdit",
23
- title: getLabel(MAP_GPSTOOLS_DICCTIONARY.MODULE_NAME_GEOFENCE_ADD),
24
- functionComponent: () => /* @__PURE__ */ jsx(GeofenceAddEdit, {}),
25
- // onMouseDown,
26
- defaultPosition: {
27
- vertical: { top: 50, bottom: 50 },
28
- horizontal: { right: 50, width: 380 }
29
- // left:490,top:50,width:360, height:420},
30
- // bounds:{top:5, left:5, right:-5, bottom:-5}
31
- },
32
- iconUrl: `${host_static_assets}/${environment_assets}/frontend/components/map_gpstools/assets/icons/${MAP_GPSTOOLS_ICONS.GEOFENCE_ADD}`
33
- });
34
- };
35
- const [checkedGeofences, hashGeofences, initialRows] = useMapGpsToolsStore(
36
- (state) => [
37
- state.geofenceState.checkedGeofences,
38
- state.geofenceState.hashGeofences,
39
- state.geofenceState.rows
40
- ],
41
- shallow
42
- );
43
- const { setCheckedGeofences, addGeofence, updatePartialGeofence, updateRows } = useMapGpsToolsStore(
44
- (state) => state.geofenceActions,
45
- shallow
46
- );
47
- useCheckedGeofences();
48
- const [checkedCrossingFeatures, setCheckedCrossingFeatures] = useCheckedFeatures(
49
- GeofencesFeaturesLayers.LAYER_GEOFENCES_TRANSIT_FEATURES,
50
- "CrossingFeatures",
51
- "crossing_features"
52
- );
53
- const [checkedInternalFeatures, setCheckedInternalFeatures] = useCheckedFeatures(
54
- GeofencesFeaturesLayers.LAYER_GEOFENCES_INTERNAL_FEATURES,
55
- "InternalFeatures",
56
- "internal_features"
57
- );
58
- const rowKeyGetter = useCallback((row) => row.id, []);
59
- const [selectedRows, setSelectedRows] = useState(/* @__PURE__ */ new Set());
60
- const [backendQueryParams, setBackendQueryParams] = useState({});
61
- const { columns } = useColumns();
62
- const { pagerState, rows, onPageChange, onRowsPerPageChange, Refresh, setRows } = usePaginate({
63
- endPoint: "geofences",
64
- fireOnChangeParms: false,
65
- fireOnFirstLoad: false,
66
- queryParams: backendQueryParams,
67
- isRemote: false,
68
- responseToCamelCase: true,
69
- initialRows
70
- });
71
- const onSelectedRowsChange = (newRowsSelectSet) => {
72
- setSelectedRows(newRowsSelectSet);
73
- };
74
- const fullRefresh = useCallback((_id) => {
75
- Refresh();
76
- }, []);
77
- useEffect(() => {
78
- const newCheckedGeofences = new Set(checkedGeofences);
79
- const newCheckedCrossingFeatures = new Set(checkedCrossingFeatures);
80
- const newCheckedInternalFeatures = new Set(checkedInternalFeatures);
81
- let updatedCheckedGeofences = false;
82
- let updatedCheckedCrossingFeatures = false;
83
- let updatedCheckedInternalFeatures = false;
84
- newCheckedGeofences.forEach((chkRow) => {
85
- if (rows.findIndex((row) => row.id === chkRow) === -1) {
86
- newCheckedGeofences.delete(chkRow);
87
- }
88
- });
89
- newCheckedCrossingFeatures.forEach((chkTF) => {
90
- if (rows.findIndex((row) => row.id === chkTF) === -1) {
91
- newCheckedCrossingFeatures.delete(chkTF);
92
- }
93
- });
94
- newCheckedInternalFeatures.forEach((chkIF) => {
95
- if (rows.findIndex((row) => row.id === chkIF) === -1) {
96
- newCheckedInternalFeatures.delete(chkIF);
97
- }
98
- });
99
- rows.forEach((row) => {
100
- let hasGeo = hashGeofences[row.id];
101
- if (!hasGeo) {
102
- hasGeo = {
103
- ...row,
104
- hasRenderizedGeofence: false,
105
- loadedCrossingFeatures: null,
106
- loadedInternalFeatures: null,
107
- hasRenderizedCrossingFeatures: false,
108
- hasRenderizedInternalFeatures: false,
109
- createdAt: row.createdAt
110
- };
111
- addGeofence(row.id, hasGeo);
112
- return;
113
- }
114
- if (row.updatedAt && row.updatedAt !== hasGeo.updatedAt) {
115
- updatePartialGeofence(row.id, {
116
- updatedAt: row.updatedAt,
117
- geometry: null,
118
- hasRenderizedGeofence: false,
119
- hasRenderizedCrossingFeatures: false,
120
- hasRenderizedInternalFeatures: false,
121
- loadedCrossingFeatures: null,
122
- loadedInternalFeatures: null
123
- });
124
- updatedCheckedGeofences = true;
125
- updatedCheckedCrossingFeatures = true;
126
- updatedCheckedInternalFeatures = true;
127
- }
128
- });
129
- if (newCheckedGeofences.size !== checkedGeofences.size || updatedCheckedGeofences) {
130
- setCheckedGeofences(newCheckedGeofences);
131
- }
132
- if (newCheckedCrossingFeatures.size !== checkedCrossingFeatures.size || updatedCheckedCrossingFeatures) {
133
- setCheckedCrossingFeatures(newCheckedCrossingFeatures);
134
- }
135
- if (newCheckedInternalFeatures.size !== checkedInternalFeatures.size || updatedCheckedInternalFeatures) {
136
- setCheckedInternalFeatures(newCheckedInternalFeatures);
137
- }
138
- onSelectedRowsChange(selectedRows);
139
- updateRows(rows);
140
- }, [rows]);
141
- const { rowActionsGetter } = useRowActionsGetter({ fullRefresh });
142
- return {
143
- rowKeyGetter,
144
- columns,
145
- refresh: Refresh,
146
- setBackendQueryParams,
147
- pagerState,
148
- rows,
149
- onPageChange,
150
- onRowsPerPageChange,
151
- rowActionsGetter,
152
- selectedRows,
153
- onSelectedRowsChange,
154
- checkedRows: checkedGeofences,
155
- onCheckedRowsChange: setCheckedGeofences,
156
- setRows,
157
- goToAdd
158
- };
159
- }
160
- export {
161
- useMaster as u
162
- };
@@ -1,12 +0,0 @@
1
- import { MenuAction } from '../../../../../../../../MenuActions/types';
2
- import { GeofenceListModel } from '../../model';
3
- interface UseRowActionsProps {
4
- fullRefresh: (id?: number) => void;
5
- }
6
- /**
7
- * TODO: Documentar
8
- */
9
- export declare function useRowActionsGetter(props: UseRowActionsProps): {
10
- rowActionsGetter: (row: GeofenceListModel) => MenuAction[] | [];
11
- };
12
- export {};
@@ -1,113 +0,0 @@
1
- import { jsx } from "react/jsx-runtime";
2
- import { useNetwork, useModuleDictionary, useModulePrivileges, useEnvironment, useHostTools } from "@m4l/core";
3
- import { useState, useCallback } from "react";
4
- import { M as MAP_GPSTOOLS_ICONS } from "../../../../../icons.js";
5
- import { useResponsiveDesktop } from "@m4l/graphics";
6
- import { M as MAP_GPSTOOLS_DICCTIONARY } from "../../../../../dictionary.js";
7
- import { u as useModal } from "../../../../../../../../../hooks/useModal/index.js";
8
- import { shallow } from "zustand/shallow";
9
- import { G as GeofenceAddEdit } from "../../GeofenceAddEdit/index.js";
10
- import { u as usePopupsStore } from "../../../../../../../../popups/components/PopupsProvider/hooks/usePopupsStore/index.js";
11
- import { u as useMapGpsToolsStore } from "../../../../../hooks/useMapGpsToolsStore/index.js";
12
- import { W as WindowConfirm } from "../../../../../../../../WindowConfirm/WindowConfirm.js";
13
- function useRowActionsGetter(props) {
14
- const { fullRefresh } = props;
15
- const { networkOperation } = useNetwork();
16
- const { openModal, closeModal } = useModal();
17
- const { getLabel } = useModuleDictionary();
18
- const { hasPrivilege } = useModulePrivileges();
19
- const { host_static_assets, environment_assets } = useEnvironment();
20
- const { hidePopup, addPopup } = usePopupsStore((state) => state.popupsActions, shallow);
21
- const { removeCheckedGeofence } = useMapGpsToolsStore((state) => state.geofenceActions, shallow);
22
- const { toast } = useHostTools();
23
- const isDesktop = useResponsiveDesktop();
24
- const [urlIconEdit] = useState(
25
- `${host_static_assets}/${environment_assets}/frontend/components/map_gpstools/assets/icons/${MAP_GPSTOOLS_ICONS.GEOFENCE_EDIT}`
26
- );
27
- const [urlIconDelete] = useState(
28
- `${host_static_assets}/${environment_assets}/frontend/components/map_gpstools/assets/icons/${MAP_GPSTOOLS_ICONS.GEOFENCE_DELETE}`
29
- );
30
- const goEdit = (objectId, name) => {
31
- hidePopup("gpsTools");
32
- addPopup({
33
- popupId: "geofencesAddEdit",
34
- title: getLabel(MAP_GPSTOOLS_DICCTIONARY.MODULE_NAME_GEOFENCE_EDIT),
35
- editionInfo: `${getLabel(MAP_GPSTOOLS_DICCTIONARY.LABEL_ID)}:${objectId} - ${name} `,
36
- componentProps: { fullRefresh, geofenceId: objectId },
37
- functionComponent: GeofenceAddEdit,
38
- // onMouseDown,
39
- defaultPosition: {
40
- vertical: { top: 50, bottom: 50 },
41
- horizontal: { right: 50, width: 380 }
42
- // left:490,top:50,width:360, height:420},
43
- // bounds:{top:5, left:5, right:-5, bottom:-5}
44
- },
45
- iconUrl: urlIconEdit
46
- });
47
- removeCheckedGeofence(objectId);
48
- };
49
- const onDelete = useCallback(
50
- (row) => {
51
- openModal({
52
- window: /* @__PURE__ */ jsx(
53
- WindowConfirm,
54
- {
55
- title: getLabel(MAP_GPSTOOLS_DICCTIONARY.MODAL_DELETE_GEO_TITLE),
56
- msg: getLabel(MAP_GPSTOOLS_DICCTIONARY.MODAL_DELETE_GEO_MESSAGE),
57
- onClickIntro: () => onConfirmDelete(row)
58
- }
59
- ),
60
- variant: "delete",
61
- initialWidth: 300,
62
- initialHeight: 350
63
- });
64
- },
65
- // eslint-disable-next-line react-hooks/exhaustive-deps
66
- [getLabel]
67
- );
68
- const onConfirmDelete = useCallback((row) => {
69
- networkOperation({
70
- method: "DELETE",
71
- endPoint: `geofences/${row.id}`
72
- }).then((response) => {
73
- toast({ title: response.message }, { type: "success" });
74
- fullRefresh();
75
- });
76
- closeModal();
77
- }, []);
78
- const rowActionsGetter = useCallback(
79
- (row) => {
80
- const conditionalItems = [];
81
- conditionalItems.push({
82
- type: "menuItem",
83
- startIcon: urlIconEdit,
84
- label: MAP_GPSTOOLS_DICCTIONARY.ROW_ACTION_GEO_EDIT,
85
- onClick: () => {
86
- goEdit(row.id, row.name);
87
- },
88
- // Solo se habilita si intenta editarse a él mismo, o si tiene permisos pero está en un nivel superior al usuario a editar
89
- // disabled: !(itsMe || (hasPrivilege(PRIVILEGE_EDIT) && (loggedUserType > row.user_type.id)))
90
- disabled: !row.authUserOptions.edit
91
- });
92
- conditionalItems.push({
93
- type: "menuItem",
94
- startIcon: urlIconDelete,
95
- label: MAP_GPSTOOLS_DICCTIONARY.ROW_ACTION_GEO_DELETE,
96
- onClick: () => {
97
- onDelete(row);
98
- },
99
- error: true,
100
- // Solo se habilita si intenta editarse a él mismo, o si tiene permisos pero está en un nivel superior al usuario a editar
101
- // disabled: !(itsMe || (hasPrivilege(PRIVILEGE_EDIT) && (loggedUserType > row.user_type.id)))
102
- disabled: !row.authUserOptions.edit
103
- });
104
- return conditionalItems;
105
- },
106
- // eslint-disable-next-line react-hooks/exhaustive-deps
107
- [hasPrivilege, goEdit, onDelete, urlIconDelete, urlIconEdit, isDesktop]
108
- );
109
- return { rowActionsGetter };
110
- }
111
- export {
112
- useRowActionsGetter as u
113
- };
@@ -1,4 +0,0 @@
1
- /**
2
- * TODO: Documentar
3
- */
4
- export declare function GeofencesList(): import("react/jsx-runtime").JSX.Element;
@@ -1,75 +0,0 @@
1
- import { jsxs, jsx } from "react/jsx-runtime";
2
- import { F as Filter } from "./subcomponents/Filter/index.js";
3
- import { u as useMaster } from "./hooks/useMaster.js";
4
- import { g as gpsToolsClasses } from "../../../../classes/index.js";
5
- import { S as StackGeofenceListRoot } from "./styles.js";
6
- import { useModuleDictionary } from "@m4l/core";
7
- import { M as MAP_GPSTOOLS_DICCTIONARY } from "../../../../dictionary.js";
8
- import { D as DataGrid } from "../../../../../../../DataGrid/index.js";
9
- import { A as ActionsContainer } from "../../../../../../../CommonActions/components/ActionsContainer/ActionsContainer.js";
10
- import { B as Button } from "../../../../../../../mui_extended/Button/Button.js";
11
- function GeofencesList() {
12
- const { getLabel } = useModuleDictionary();
13
- const {
14
- refresh,
15
- setBackendQueryParams,
16
- columns,
17
- rows,
18
- rowActionsGetter,
19
- selectedRows,
20
- onSelectedRowsChange,
21
- pagerState,
22
- onPageChange,
23
- onRowsPerPageChange,
24
- checkedRows,
25
- onCheckedRowsChange,
26
- setRows,
27
- rowKeyGetter,
28
- goToAdd
29
- } = useMaster();
30
- return /* @__PURE__ */ jsxs(
31
- StackGeofenceListRoot,
32
- {
33
- direction: "column",
34
- gap: "8px",
35
- className: gpsToolsClasses.gpsToolsGeofencesList,
36
- children: [
37
- /* @__PURE__ */ jsx(Filter, { refresh, setBackendQueryParams }),
38
- /* @__PURE__ */ jsx(
39
- DataGrid,
40
- {
41
- id: "geofences",
42
- columns,
43
- rows,
44
- onRowsChange: setRows,
45
- checkedRows,
46
- onCheckedRowsChange,
47
- rowActionsGetter,
48
- rowKeyGetter,
49
- selectedRows,
50
- onSelectedRowsChange,
51
- withActions: true,
52
- actionsProps: {
53
- withPager: true,
54
- withLocalFilters: true,
55
- pagerOptions: {
56
- records: rows.length,
57
- totalRecords: pagerState.totalRecords,
58
- rowsPerPageOptions: [1, 2, 3, 4, 5, 10, 25],
59
- page: pagerState.page,
60
- rowsPerPage: pagerState.rowsPerPage,
61
- onPageChange,
62
- onRowsPerPageChange
63
- }
64
- }
65
- },
66
- "list"
67
- ),
68
- /* @__PURE__ */ jsx(ActionsContainer, { children: /* @__PURE__ */ jsx(Button, { onClick: () => goToAdd(), label: getLabel(MAP_GPSTOOLS_DICCTIONARY.MODULE_NAME_GEOFENCE_ADD) }) })
69
- ]
70
- }
71
- );
72
- }
73
- export {
74
- GeofencesList as G
75
- };
@@ -1 +0,0 @@
1
- export declare const StackGeofenceListRoot: import('@emotion/styled').StyledComponent<import('../../../../../../../mui_extended/Stack').StackProps & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme>, {}, {}>;
@@ -1,8 +0,0 @@
1
- import { styled } from "@mui/material/styles";
2
- import { S as Stack } from "../../../../../../../mui_extended/Stack/Stack.js";
3
- const StackGeofenceListRoot = styled(Stack)`
4
- ${(props) => props.theme.components?.M4LMapGpsToolsGeofencesList?.styleOverrides}
5
- `;
6
- export {
7
- StackGeofenceListRoot as S
8
- };
@@ -1,9 +0,0 @@
1
- interface FilterProps {
2
- refresh: () => void;
3
- setBackendQueryParams: React.Dispatch<React.SetStateAction<Record<string, unknown>>>;
4
- }
5
- /**
6
- * TODO: Documentar
7
- */
8
- export declare function Filter(props: FilterProps): import("react/jsx-runtime").JSX.Element;
9
- export {};
@@ -1,49 +0,0 @@
1
- import { jsx } from "react/jsx-runtime";
2
- import { useEnvironment } from "@m4l/core";
3
- import { M as MAP_GPSTOOLS_DICCTIONARY } from "../../../../../../dictionary.js";
4
- import { useState } from "react";
5
- import { c as COMPONENT_MAP_TOOLS_ID } from "../../../../../../constants.js";
6
- import { M as MAP_GPSTOOLS_ICONS } from "../../../../../../icons.js";
7
- import { D as DynamicFilter } from "../../../../../../../../../DynamicFilter/DynamicFilter.js";
8
- function Filter(props) {
9
- const { refresh, setBackendQueryParams } = props;
10
- const { host_static_assets, environment_assets } = useEnvironment();
11
- const [initialFilter] = useState(() => {
12
- return [];
13
- });
14
- const onChangeFilter = (_initialFilters, rawFilters) => {
15
- setBackendQueryParams({
16
- f: rawFilters
17
- });
18
- refresh();
19
- };
20
- return /* @__PURE__ */ jsx(
21
- DynamicFilter,
22
- {
23
- withAllField: true,
24
- onChangeFilters: onChangeFilter,
25
- fields: [
26
- {
27
- name: "id",
28
- dictionaryId: MAP_GPSTOOLS_DICCTIONARY.LABEL_ID,
29
- type: "number",
30
- multiple: true,
31
- presence: "optional",
32
- urlIcon: `${host_static_assets}/${environment_assets}/components/${COMPONENT_MAP_TOOLS_ID}/assets/icons/${MAP_GPSTOOLS_ICONS.GEOFENCE_ID}`
33
- },
34
- {
35
- name: "name",
36
- dictionaryId: MAP_GPSTOOLS_DICCTIONARY.LABEL_NAME,
37
- type: "string",
38
- multiple: true,
39
- presence: "optional",
40
- urlIcon: `${host_static_assets}/${environment_assets}/components/${COMPONENT_MAP_TOOLS_ID}/assets/icons/${MAP_GPSTOOLS_ICONS.GEOFENCE_NAME}`
41
- }
42
- ],
43
- initialAppliedFilters: initialFilter
44
- }
45
- );
46
- }
47
- export {
48
- Filter as F
49
- };
@@ -1,7 +0,0 @@
1
- export declare const ENDPOINT_GEOFENCE_GET = "geofences";
2
- export declare const ENDPOINT_GEOFENCE_NEW_EDIT = "geofences";
3
- export declare enum GeofencesFeaturesLayers {
4
- LAYER_GEOFENCES = "geofences",
5
- LAYER_GEOFENCES_TRANSIT_FEATURES = "geofencesCrossingFeatures",
6
- LAYER_GEOFENCES_INTERNAL_FEATURES = "geofencesInternalFeatures"
7
- }
@@ -1,13 +0,0 @@
1
- const ENDPOINT_GEOFENCE_GET = "geofences";
2
- const ENDPOINT_GEOFENCE_NEW_EDIT = "geofences";
3
- var GeofencesFeaturesLayers = /* @__PURE__ */ ((GeofencesFeaturesLayers2) => {
4
- GeofencesFeaturesLayers2["LAYER_GEOFENCES"] = "geofences";
5
- GeofencesFeaturesLayers2["LAYER_GEOFENCES_TRANSIT_FEATURES"] = "geofencesCrossingFeatures";
6
- GeofencesFeaturesLayers2["LAYER_GEOFENCES_INTERNAL_FEATURES"] = "geofencesInternalFeatures";
7
- return GeofencesFeaturesLayers2;
8
- })(GeofencesFeaturesLayers || {});
9
- export {
10
- ENDPOINT_GEOFENCE_NEW_EDIT as E,
11
- GeofencesFeaturesLayers as G,
12
- ENDPOINT_GEOFENCE_GET as a
13
- };
@@ -1,114 +0,0 @@
1
- import { GeofenceId } from '../../../contexts/MapGpsToolsContext/types';
2
- import { Feature, GeoJsonProperties, LineString, MultiLineString, MultiPoint, MultiPolygon, Point, Polygon } from '../../../../Map/contexts/MapContext/types';
3
- /**
4
- * Tipos de geometría compatibles con las geocercas
5
- */
6
- export type GeofenceGeometry = Point | Polygon | MultiPolygon;
7
- /**
8
- * Tipos de geometría Compatibles con las geocercas
9
- */
10
- export type CrossingGeometry = Polygon | Point;
11
- /**
12
- * Tipos de features de transtio soportados
13
- */
14
- export type CrossingFeature = Feature<CrossingGeometry>;
15
- export type InternalGeometry = Point | Polygon | MultiPolygon | MultiPoint | LineString | MultiLineString;
16
- /**
17
- * Tipos de features de transtio soportados
18
- */
19
- export type InternalFeature = Feature<InternalGeometry>;
20
- export type GeofenceTypeId = 'gt_polygon' | 'gt_circle' | 'gt_rectangle';
21
- export type GeofenceType = {
22
- id: GeofenceTypeId;
23
- name: string;
24
- };
25
- /**
26
- * Modelo de datos proveniente del endpoint get de geocercas
27
- */
28
- export interface GeofenceGetModel {
29
- /**
30
- * id de la geocerca
31
- */
32
- id: GeofenceId;
33
- /**
34
- * "name" nombre dado por el cliente a la geocerca
35
- */
36
- name: string;
37
- /**
38
- * "active" si está activa o no lo geocerca
39
- */
40
- active: boolean;
41
- /**
42
- * "type" tipo de geocerca con idioma
43
- */
44
- type: GeofenceType;
45
- /**
46
- * "geometry" geometría de la geocerca compatible con GeoJSON
47
- */
48
- geometry: GeofenceGeometry;
49
- /**
50
- * "properties" propiedades de la geometria
51
- */
52
- properties: GeoJsonProperties;
53
- /**
54
- * timeMinInSeconds indica el tiempo mínimo para ingresar a una geocerca
55
- */
56
- timeMinInSeconds: number;
57
- /**
58
- * timeMinOutSeconds indica el tiempo mínimo para salir de una geocerca
59
- */
60
- timeMinOutSeconds: number;
61
- /**
62
- * "countCrossingFeatures" indica si la cantidad de features de cruce
63
- */
64
- countCrossingFeatures: number;
65
- /**
66
- * "countInternalFeatures" indica la cantidad de features internos que tiene la geocerca
67
- */
68
- countInternalFeatures: number;
69
- /**
70
- * "alias" alias de la geocerca, si no tiene es null y si tiene, es un string unico en todas las geocercas
71
- */
72
- alias?: string | null;
73
- /**
74
- * customerId indica el id del cliente al que pertenece la geocerca, si no tiene es null,
75
- * si es de un cliente es un string unico en todas las geocercas
76
- */
77
- customerId?: string | null;
78
- createdAt: string;
79
- updatedAt: string | null;
80
- }
81
- interface AuthUserOptionsType {
82
- activation: boolean;
83
- delete: boolean;
84
- edit: boolean;
85
- }
86
- /**
87
- * Modelo de datos proveniente del endpoint list de geocercas
88
- */
89
- export interface GeofenceListModel extends Omit<GeofenceGetModel, 'geometry'> {
90
- /**
91
- * "geometry" geometría de la geocerca compatible con GeoJSON
92
- */
93
- geometry: GeofenceGeometry | null;
94
- authUserOptions: AuthUserOptionsType;
95
- }
96
- /**
97
- * Modelo de datos para enviar al endpoint de creacion de geocercas
98
- */
99
- export interface GeofenceNewModel extends Pick<GeofenceGetModel, 'name' | 'geometry' | 'properties' | 'timeMinInSeconds' | 'timeMinOutSeconds' | 'alias' | 'customerId'> {
100
- /**
101
- * "type" tipo de geocerca con idioma
102
- */
103
- typeId: GeofenceTypeId;
104
- }
105
- /**
106
- * Modelo de datos para enviar al endpoint de creacion de geocercas
107
- */
108
- export interface GeofenceEditModel extends GeofenceNewModel {
109
- /**
110
- * id de la geocerca
111
- */
112
- geofenceId: GeofenceId;
113
- }
114
- export {};
@@ -1,7 +0,0 @@
1
- export interface TabAction {
2
- id: string;
3
- iconUrl: string;
4
- component: React.ReactNode;
5
- label: string;
6
- className?: string;
7
- }
@@ -1,34 +0,0 @@
1
- import { GeofenceTypeId } from './subcomponents/TabsGpsTools/subcomponents/model';
2
- /**
3
- * Por ahora solo distancia.
4
- */
5
- export type MeasureTypeId = 'distance';
6
- export interface MeasureTypeItem {
7
- id: MeasureTypeId;
8
- name: string;
9
- }
10
- export interface MagnitudeFactorItem {
11
- id: string;
12
- name: string;
13
- symbol: string;
14
- factor_x0: number;
15
- factor_x1: number;
16
- factor_x2: number;
17
- }
18
- export interface GeofenceTypeItem {
19
- id: GeofenceTypeId;
20
- name: string;
21
- url: string;
22
- }
23
- export interface StyleOpacity {
24
- value: number;
25
- label: string;
26
- }
27
- export interface StyleWheight {
28
- value: number;
29
- label: string;
30
- }
31
- export interface StyleDashArray {
32
- value: string;
33
- label: string;
34
- }
@@ -1,4 +0,0 @@
1
- export * from './components/Map';
2
- export * from './utils';
3
- export type { MapProps, RendePropFeatureArgs, ComponentRenderPropFeature, FeatureId, FeatureCollection, Feature, Geometry, } from './components/Map';
4
- export { MapGpsTools, useMapGpsToolsStore, MapGpsToolsProvider, getMapGpsToolsComponentsDictionary, } from './components/MapGpsTools';
@@ -1,6 +0,0 @@
1
- /**
2
- * "courseToCartesianAngle" convierte el rumbo del GPS a una rotación en grados cartesianos, recibiendo el rumbo
3
- * en RAW sin transofrmaciones por parte de minitracker.
4
- * Importante: NO ES compatible con minitracker v1.0 el cual desplaza la medición 90 grados en complemento así: (450 - propiedadesEquipo->ultima_direccion) % 360
5
- */
6
- export declare function courseToCartesianAngle(course: number): number;
@@ -1,8 +0,0 @@
1
- function courseToCartesianAngle(course) {
2
- let cartesianAngle = (90 - course) % 360;
3
- cartesianAngle = (cartesianAngle + 360) % 360;
4
- return cartesianAngle;
5
- }
6
- export {
7
- courseToCartesianAngle as c
8
- };
@@ -1,9 +0,0 @@
1
- /**
2
- * "courseToCssAngle" convierte el rumbo del GPS a una rotación CSS, recibiendo el rumbo
3
- * en RAW sin transofrmaciones por parte de minitracker.
4
- * Importante: NO ES compatible con minitracker v1.0 el cual desplaza la medición 90 grados en complemento así: (450 - propiedadesEquipo->ultima_direccion) % 360
5
- * @param course
6
- * @param offsetRotate (offset del icono como viene de la fuente con respecto al Norte (0 = grados) )
7
- * @returns
8
- */
9
- export declare function courseToCssAngle(course: number, offsetRotate: number): number;
@@ -1,13 +0,0 @@
1
- const getPostiveAngle = (angle) => {
2
- const newAngle = angle % 360;
3
- return newAngle < 0 ? newAngle + 360 : newAngle;
4
- };
5
- function courseToCssAngle(course, offsetRotate) {
6
- const newCourse = course - 90;
7
- const newOffset = offsetRotate - 90;
8
- const rotation = getPostiveAngle(newCourse - newOffset);
9
- return rotation;
10
- }
11
- export {
12
- courseToCssAngle as c
13
- };