@m4l/components 9.1.125 → 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 (553) 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/MenuActions/MenuActions.js +21 -25
  100. package/components/ModalDialog/ModalDialog.js +21 -27
  101. package/components/ModalDialog/slots/ModalDialogSlots.d.ts +1 -1
  102. package/components/PrintingSystem/classes/index.js +1 -1
  103. package/components/PropertyValue/PropertyValue.js +7 -4
  104. package/components/PropertyValue/PropertyValue.styles.js +6 -6
  105. package/components/PropertyValue/slots/PropertyValueEnum.d.ts +1 -1
  106. package/components/PropertyValue/slots/PropertyValueEnum.js +1 -1
  107. package/components/PropertyValue/slots/PropertyValueSlots.d.ts +3 -3
  108. package/components/PropertyValue/slots/PropertyValueSlots.js +6 -6
  109. package/components/PropertyValue/types.d.ts +4 -4
  110. package/components/ScrollBar/ScrollBar.js +3 -1
  111. package/components/animate/index.d.ts +0 -1
  112. package/components/areas/components/AreasAdmin/subcomponents/AreaChip/AreaChip.js +1 -2
  113. package/components/areas/components/AreasViewer/types.d.ts +1 -1
  114. package/components/commercial/AppBarCommercial/classes/index.js +1 -1
  115. package/components/commercial/SectionCommercial/classes/index.js +1 -1
  116. package/components/commercial/TopBar/classes/index.js +1 -1
  117. package/components/extended/React-Spinners/PropagateLoaderSpinner/index.d.ts +1 -0
  118. package/components/extended/React-Spinners/index.d.ts +1 -0
  119. package/components/extended/{React-Splitter/SplitLayout → React-Splitter-Layout}/SplitLayout.js +3 -3
  120. package/components/extended/React-Splitter-Layout/index.d.ts +1 -0
  121. package/components/extended/{React-Splitter/SplitLayout → React-Splitter-Layout}/types.d.ts +1 -1
  122. package/components/extended/React-Window/FixedSizeList/FixedSizeList.d.ts +6 -0
  123. package/components/extended/React-Window/FixedSizeList/FixedSizeList.js +11 -0
  124. package/components/extended/React-Window/FixedSizeList/FixedSizeList.styles.d.ts +2 -0
  125. package/components/extended/React-Window/FixedSizeList/FixedSizeList.styles.js +6 -0
  126. package/components/extended/React-Window/FixedSizeList/constants.d.ts +2 -0
  127. package/components/extended/React-Window/FixedSizeList/constants.js +7 -0
  128. package/components/extended/React-Window/FixedSizeList/index.d.ts +1 -0
  129. package/components/extended/React-Window/FixedSizeList/slots/FixedSizeListSlots.d.ts +4 -0
  130. package/components/extended/React-Window/FixedSizeList/slots/FixedSizeListSlots.js +14 -0
  131. package/components/extended/React-Window/FixedSizeList/slots/slots.d.ts +3 -0
  132. package/components/extended/React-Window/FixedSizeList/slots/slots.js +7 -0
  133. package/components/extended/React-Window/FixedSizeList/types.d.ts +9 -0
  134. package/components/extended/React-Window/VariableSizeList/VariableSizeList.d.ts +7 -0
  135. package/components/extended/React-Window/VariableSizeList/VariableSizeList.js +14 -0
  136. package/components/extended/React-Window/VariableSizeList/VariableSizeList.styles.d.ts +2 -0
  137. package/components/extended/React-Window/VariableSizeList/constants.d.ts +2 -0
  138. package/components/extended/React-Window/VariableSizeList/constants.js +6 -0
  139. package/components/extended/React-Window/VariableSizeList/index.d.ts +2 -0
  140. package/components/extended/React-Window/VariableSizeList/slots/VariableSizeListSlots.d.ts +4 -0
  141. package/components/extended/React-Window/VariableSizeList/slots/slots.d.ts +3 -0
  142. package/components/extended/React-Window/VariableSizeList/types.d.ts +9 -0
  143. package/components/extended/React-Window/index.d.ts +2 -0
  144. package/components/extended/index.d.ts +4 -0
  145. package/components/formatters/DistanceToNowFormatter/DistanceToNowFormatter.d.ts +2 -1
  146. package/components/formatters/DistanceToNowFormatter/DistanceToNowFormatter.js +22 -6
  147. package/components/formatters/DistanceToNowFormatter/slots/DistanceToNowFormatterSlots.d.ts +1 -1
  148. package/components/formatters/DistanceToNowFormatter/slots/DistanceToNowFormatterSlots.js +3 -2
  149. package/components/formatters/DistanceToNowFormatter/types.d.ts +11 -3
  150. package/components/index.d.ts +5 -6
  151. package/components/mui_extended/Autocomplete/slots/AutocompleteSlots.d.ts +1 -1
  152. package/components/mui_extended/MenuItem/MenuItem.js +2 -1
  153. package/components/mui_extended/MenuItem/MenuItem.styles.js +28 -21
  154. package/components/mui_extended/MenuItem/slots/MenuItemSlots.d.ts +6 -6
  155. package/components/mui_extended/MenuItem/types.d.ts +2 -2
  156. package/components/mui_extended/Popover/Popover.js +3 -0
  157. package/components/mui_extended/TabContext/index.js +2 -2
  158. package/components/mui_extended/index.d.ts +1 -0
  159. package/components/popups/components/PopupsProvider/contexts/PopupsContext/PopupsContext.js +4 -4
  160. package/components/popups/components/PopupsProvider/contexts/PopupsContext/store.js +1 -1
  161. package/components/popups/components/PopupsProvider/contexts/PopupsContext/types.d.ts +2 -2
  162. package/components/popups/components/PopupsProvider/hooks/usePopupsStore/index.js +1 -1
  163. package/contexts/index.d.ts +0 -1
  164. package/hooks/index.d.ts +3 -1
  165. package/hooks/useSvgColor/constants.d.ts +2 -1
  166. package/hooks/useSvgColor/constants.js +7 -5
  167. package/hooks/useSvgColor/helpers.js +3 -3
  168. package/hooks/useSvgColor/types.d.ts +3 -1
  169. package/hooks/useSvgColor/useSvgColor.js +10 -9
  170. package/hooks/useTab/index.js +1 -1
  171. package/index.d.ts +2 -0
  172. package/index.js +177 -174
  173. package/not_recognized/index.js +23261 -0
  174. package/package.json +4 -3
  175. package/patchLibErrors/defaultPropsError.d.ts +3 -0
  176. package/test/TestAppWrapper.d.ts +1 -1
  177. package/utils/ObjectQueue.d.ts +18 -0
  178. package/utils/ObjectQueue.js +33 -0
  179. package/utils/capitalizeFirstLetter.js +10 -1
  180. package/utils/getComponentUtilityClass.js +7 -0
  181. package/utils/getPaletteColor.js +18 -0
  182. package/utils/index.d.ts +8 -16
  183. package/utils/index.js +1 -11
  184. package/utils/isValidDate.js +6 -0
  185. package/vendor.js +171 -0
  186. package/.storybook/decorators/WithMapProvider/constants.d.ts +0 -2
  187. package/.storybook/decorators/WithMapProvider/index.d.ts +0 -1
  188. package/components/DynamicFilter/DynamicFilter.stories.d.ts +0 -29
  189. package/components/formatters/CourseFormatter/CourseFormatter.d.ts +0 -14
  190. package/components/formatters/CourseFormatter/CourseFormatter.js +0 -33
  191. package/components/formatters/CourseFormatter/CourseFormatter.styles.d.ts +0 -2
  192. package/components/formatters/CourseFormatter/CourseFormatter.styles.js +0 -23
  193. package/components/formatters/CourseFormatter/constants.d.ts +0 -3
  194. package/components/formatters/CourseFormatter/constants.js +0 -6
  195. package/components/formatters/CourseFormatter/dictionary.d.ts +0 -12
  196. package/components/formatters/CourseFormatter/dictionary.js +0 -18
  197. package/components/formatters/CourseFormatter/helper.d.ts +0 -4
  198. package/components/formatters/CourseFormatter/helper.js +0 -28
  199. package/components/formatters/CourseFormatter/index.d.ts +0 -2
  200. package/components/formatters/CourseFormatter/slots/CourseFormatterEnum.d.ts +0 -3
  201. package/components/formatters/CourseFormatter/slots/CourseFormatterEnum.js +0 -7
  202. package/components/formatters/CourseFormatter/slots/CourseFormatterSlots.d.ts +0 -3
  203. package/components/formatters/CourseFormatter/slots/CourseFormatterSlots.js +0 -12
  204. package/components/formatters/CourseFormatter/test/CourserFormatter.test.d.ts +0 -1
  205. package/components/formatters/CourseFormatter/types.d.ts +0 -24
  206. package/components/formatters/DistanceToNowFormatter/stories/basic.stories.d.ts +0 -157
  207. package/components/formatters/DistanceToNowFormatter/stories/constants.d.ts +0 -3
  208. package/components/formatters/DistanceToNowFormatter/stories/dictionary.d.ts +0 -0
  209. package/components/formatters/DistanceToNowFormatter/stories/subcomponents/WithDTNFProvider.d.ts +0 -6
  210. package/components/formatters/DistanceToNowFormatter/stories/types.d.ts +0 -3
  211. package/components/gclick/MyDevice/MyDevice.d.ts +0 -6
  212. package/components/gclick/MyDevice/MyDevice.js +0 -26
  213. package/components/gclick/MyDevice/MyDevice.styles.d.ts +0 -2
  214. package/components/gclick/MyDevice/MyDevice.styles.js +0 -22
  215. package/components/gclick/MyDevice/constants.d.ts +0 -2
  216. package/components/gclick/MyDevice/constants.js +0 -4
  217. package/components/gclick/MyDevice/index.d.ts +0 -1
  218. package/components/gclick/MyDevice/slots/MyDeviceSlots.d.ts +0 -3
  219. package/components/gclick/MyDevice/slots/MyDeviceSlots.js +0 -22
  220. package/components/gclick/MyDevice/slots/slots.d.ts +0 -5
  221. package/components/gclick/MyDevice/slots/slots.js +0 -9
  222. package/components/gclick/MyDevice/stories/basic.stories.d.ts +0 -9
  223. package/components/gclick/MyDevice/stories/constants.d.ts +0 -3
  224. package/components/gclick/MyDevice/stories/dictionary.d.ts +0 -0
  225. package/components/gclick/MyDevice/stories/subcomponents/WithMyDeviceProvider.d.ts +0 -2
  226. package/components/gclick/MyDevice/stories/types.d.ts +0 -3
  227. package/components/gclick/MyDevice/subcomponents/PropertyValue/index.d.ts +0 -5
  228. package/components/gclick/MyDevice/subcomponents/PropertyValue/types.d.ts +0 -5
  229. package/components/gclick/MyDevice/types.d.ts +0 -18
  230. package/components/gclick/MyDeviceStatus/MyDeviceStatus.d.ts +0 -6
  231. package/components/gclick/MyDeviceStatus/MyDeviceStatus.js +0 -68
  232. package/components/gclick/MyDeviceStatus/MyDeviceStatus.styles.d.ts +0 -2
  233. package/components/gclick/MyDeviceStatus/MyDeviceStatus.styles.js +0 -22
  234. package/components/gclick/MyDeviceStatus/constants.d.ts +0 -13
  235. package/components/gclick/MyDeviceStatus/constants.js +0 -17
  236. package/components/gclick/MyDeviceStatus/dictionary.d.ts +0 -13
  237. package/components/gclick/MyDeviceStatus/dictionary.js +0 -19
  238. package/components/gclick/MyDeviceStatus/icons.d.ts +0 -11
  239. package/components/gclick/MyDeviceStatus/icons.js +0 -14
  240. package/components/gclick/MyDeviceStatus/index.d.ts +0 -1
  241. package/components/gclick/MyDeviceStatus/slots/MyDeviceStatusSlots.d.ts +0 -3
  242. package/components/gclick/MyDeviceStatus/slots/MyDeviceStatusSlots.js +0 -22
  243. package/components/gclick/MyDeviceStatus/slots/slots.d.ts +0 -5
  244. package/components/gclick/MyDeviceStatus/slots/slots.js +0 -9
  245. package/components/gclick/MyDeviceStatus/stories/basic.stories.d.ts +0 -41
  246. package/components/gclick/MyDeviceStatus/stories/constants.d.ts +0 -3
  247. package/components/gclick/MyDeviceStatus/stories/dataMocks.d.ts +0 -55
  248. package/components/gclick/MyDeviceStatus/stories/subcomponents/WithMyDeviceProvider.d.ts +0 -2
  249. package/components/gclick/MyDeviceStatus/stories/types.d.ts +0 -3
  250. package/components/gclick/MyDeviceStatus/subcomponents/PropertyValue/index.d.ts +0 -5
  251. package/components/gclick/MyDeviceStatus/subcomponents/PropertyValue/types.d.ts +0 -5
  252. package/components/gclick/MyDeviceStatus/types.d.ts +0 -14
  253. package/components/gclick/constants.d.ts +0 -1
  254. package/components/gclick/constants.js +0 -4
  255. package/components/gclick/types.d.ts +0 -60
  256. package/components/maps/components/Map/Map.d.ts +0 -8
  257. package/components/maps/components/Map/Map.js +0 -34
  258. package/components/maps/components/Map/Map.styles.d.ts +0 -2
  259. package/components/maps/components/Map/Map.styles.js +0 -227
  260. package/components/maps/components/Map/classes/index.d.ts +0 -8
  261. package/components/maps/components/Map/classes/index.js +0 -110
  262. package/components/maps/components/Map/classes/types.d.ts +0 -69
  263. package/components/maps/components/Map/constants.d.ts +0 -36
  264. package/components/maps/components/Map/constants.js +0 -49
  265. package/components/maps/components/Map/contexts/MapContext/MapContext.d.ts +0 -21
  266. package/components/maps/components/Map/contexts/MapContext/MapContext.js +0 -58
  267. package/components/maps/components/Map/contexts/MapContext/helper.d.ts +0 -8
  268. package/components/maps/components/Map/contexts/MapContext/index.d.ts +0 -2
  269. package/components/maps/components/Map/contexts/MapContext/store.d.ts +0 -19
  270. package/components/maps/components/Map/contexts/MapContext/store.js +0 -369
  271. package/components/maps/components/Map/contexts/MapContext/types.d.ts +0 -597
  272. package/components/maps/components/Map/dictionary.d.ts +0 -32
  273. package/components/maps/components/Map/dictionary.js +0 -38
  274. package/components/maps/components/Map/external/Control/index.d.ts +0 -9
  275. package/components/maps/components/Map/external/Control/index.js +0 -42
  276. package/components/maps/components/Map/external/Control/types.d.ts +0 -7
  277. package/components/maps/components/Map/external/Popup/component.d.ts +0 -4
  278. package/components/maps/components/Map/external/Popup/div-overlay.d.ts +0 -4
  279. package/components/maps/components/Map/external/Popup/element.d.ts +0 -4
  280. package/components/maps/components/Map/external/Popup/generic.d.ts +0 -4
  281. package/components/maps/components/Map/external/Popup/index.d.ts +0 -4
  282. package/components/maps/components/Map/external/googleMutant/LRUMap.d.ts +0 -99
  283. package/components/maps/components/Map/external/googleMutant/googleMutant.d.ts +0 -1
  284. package/components/maps/components/Map/external/googleMutant/googleMutant.js +0 -1
  285. package/components/maps/components/Map/external/googleMutant/googleMutantNoDelete.d.ts +0 -1
  286. package/components/maps/components/Map/external/googleMutant/index.d.ts +0 -132
  287. package/components/maps/components/Map/featureRenders/CommonFeatureRender/index.d.ts +0 -8
  288. package/components/maps/components/Map/featureRenders/CommonFeatureRender/index.js +0 -257
  289. package/components/maps/components/Map/featureRenders/CommonFeatureRender/subcomponents/FeatureDivIconLabel/index.d.ts +0 -6
  290. package/components/maps/components/Map/featureRenders/CommonFeatureRender/subcomponents/FeatureDivIconLabel/index.js +0 -33
  291. package/components/maps/components/Map/featureRenders/CommonFeatureRender/subcomponents/FeatureDivIconLabel/types.d.ts +0 -7
  292. package/components/maps/components/Map/featureRenders/CommonFeatureRender/subcomponents/MarkerIconLabel/index.d.ts +0 -5
  293. package/components/maps/components/Map/featureRenders/CommonFeatureRender/subcomponents/MarkerIconLabel/index.js +0 -76
  294. package/components/maps/components/Map/featureRenders/CommonFeatureRender/subcomponents/MarkerIconLabel/types.d.ts +0 -12
  295. package/components/maps/components/Map/featureRenders/MarkerFeatureRender/IconMarker.d.ts +0 -9
  296. package/components/maps/components/Map/featureRenders/MarkerFeatureRender/IconMarkerGrua.d.ts +0 -4
  297. package/components/maps/components/Map/featureRenders/MarkerFeatureRender/IconMarkerTaxi.d.ts +0 -4
  298. package/components/maps/components/Map/featureRenders/MarkerFeatureRender/index.d.ts +0 -5
  299. package/components/maps/components/Map/featureRenders/MarkerFeatureRender/index.js +0 -79
  300. package/components/maps/components/Map/featureRenders/index.d.ts +0 -2
  301. package/components/maps/components/Map/hooks/useAutoFocus/index.d.ts +0 -6
  302. package/components/maps/components/Map/hooks/useAutoFocus/index.js +0 -78
  303. package/components/maps/components/Map/hooks/useAutoFocus/types.d.ts +0 -15
  304. package/components/maps/components/Map/hooks/useDisableClickEvents/index.d.ts +0 -6
  305. package/components/maps/components/Map/hooks/useDisableZoomEvents/index.d.ts +0 -6
  306. package/components/maps/components/Map/hooks/useDisableZoomEvents/index.js +0 -21
  307. package/components/maps/components/Map/hooks/useMapStore/index.d.ts +0 -6
  308. package/components/maps/components/Map/hooks/useMapStore/index.js +0 -13
  309. package/components/maps/components/Map/icons.d.ts +0 -45
  310. package/components/maps/components/Map/icons.js +0 -61
  311. package/components/maps/components/Map/index.d.ts +0 -9
  312. package/components/maps/components/Map/pluginLayers/PolylineWithArrows/index.d.ts +0 -11
  313. package/components/maps/components/Map/pluginLayers/PolylineWithArrows/index.js +0 -74
  314. package/components/maps/components/Map/pluginLayers/index.d.ts +0 -1
  315. package/components/maps/components/Map/popups/MapPopupMyGps/MapPopupMyGps.d.ts +0 -7
  316. package/components/maps/components/Map/popups/MapPopupMyGps/MapPopupMyGps.js +0 -97
  317. package/components/maps/components/Map/popups/MapPopupMyGps/MapPopupMyGps.styles.d.ts +0 -2
  318. package/components/maps/components/Map/popups/MapPopupMyGps/MapPopupMyGps.styles.js +0 -34
  319. package/components/maps/components/Map/popups/MapPopupMyGps/constants.d.ts +0 -3
  320. package/components/maps/components/Map/popups/MapPopupMyGps/constants.js +0 -6
  321. package/components/maps/components/Map/popups/MapPopupMyGps/dictionary.d.ts +0 -15
  322. package/components/maps/components/Map/popups/MapPopupMyGps/dictionary.js +0 -21
  323. package/components/maps/components/Map/popups/MapPopupMyGps/index.d.ts +0 -2
  324. package/components/maps/components/Map/popups/MapPopupMyGps/slots/ MapPopupMyGpsSlots.d.ts +0 -3
  325. package/components/maps/components/Map/popups/MapPopupMyGps/slots/ MapPopupMyGpsSlots.js +0 -21
  326. package/components/maps/components/Map/popups/MapPopupMyGps/slots/slots.d.ts +0 -5
  327. package/components/maps/components/Map/popups/MapPopupMyGps/slots/slots.js +0 -9
  328. package/components/maps/components/Map/popups/MapPopupMyGps/stories/basic.stories.d.ts +0 -9
  329. package/components/maps/components/Map/popups/MapPopupMyGps/stories/constants.d.ts +0 -3
  330. package/components/maps/components/Map/popups/MapPopupMyGps/stories/dictionary.d.ts +0 -0
  331. package/components/maps/components/Map/popups/MapPopupMyGps/stories/subcomponents/WithMapOpenPopup.d.ts +0 -5
  332. package/components/maps/components/Map/popups/MapPopupMyGps/stories/types.d.ts +0 -3
  333. package/components/maps/components/Map/popups/MapPopupMyGps/subcomponents/PropertyValue/index.d.ts +0 -5
  334. package/components/maps/components/Map/popups/MapPopupMyGps/subcomponents/PropertyValue/index.js +0 -14
  335. package/components/maps/components/Map/popups/MapPopupMyGps/subcomponents/PropertyValue/types.d.ts +0 -5
  336. package/components/maps/components/Map/popups/MapPopupMyGps/types.d.ts +0 -7
  337. package/components/maps/components/Map/popups/index.d.ts +0 -1
  338. package/components/maps/components/Map/popups/types.d.ts +0 -10
  339. package/components/maps/components/Map/slots/MapSlots.d.ts +0 -4
  340. package/components/maps/components/Map/slots/MapSlots.js +0 -24
  341. package/components/maps/components/Map/slots/slots.d.ts +0 -6
  342. package/components/maps/components/Map/slots/slots.js +0 -10
  343. package/components/maps/components/Map/stories/basic.stories.d.ts +0 -13
  344. package/components/maps/components/Map/stories/constants.d.ts +0 -3
  345. package/components/maps/components/Map/stories/dictionary.d.ts +0 -0
  346. package/components/maps/components/Map/stories/subcomponents/ContentExample.d.ts +0 -4
  347. package/components/maps/components/Map/stories/types.d.ts +0 -3
  348. package/components/maps/components/Map/subcomponents/Controls/index.d.ts +0 -17
  349. package/components/maps/components/Map/subcomponents/Controls/index.js +0 -31
  350. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/index.d.ts +0 -4
  351. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/index.js +0 -13
  352. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/index.d.ts +0 -10
  353. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/index.js +0 -59
  354. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useCheckedLayers.d.ts +0 -9
  355. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useCheckedLayers.js +0 -17
  356. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useColumns.d.ts +0 -18
  357. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useColumns.js +0 -140
  358. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useMaster.d.ts +0 -12
  359. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useMaster.js +0 -52
  360. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useRowActionsGetter.d.ts +0 -8
  361. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useRowActionsGetter.js +0 -43
  362. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/index.d.ts +0 -4
  363. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/index.js +0 -30
  364. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/model.d.ts +0 -26
  365. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/index.d.ts +0 -4
  366. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/index.js +0 -134
  367. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/sourceTypes/bing.d.ts +0 -2
  368. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/sourceTypes/bing.js +0 -39
  369. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/sourceTypes/google.d.ts +0 -4
  370. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/sourceTypes/google.js +0 -73
  371. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/sourceTypes/osm.d.ts +0 -2
  372. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/sourceTypes/osm.js +0 -25
  373. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/sourceTypes/utils.d.ts +0 -4
  374. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/sourceTypes/utils.js +0 -19
  375. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/types.d.ts +0 -4
  376. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/types.d.ts +0 -5
  377. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/index.d.ts +0 -11
  378. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/index.js +0 -101
  379. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/constants.d.ts +0 -30
  380. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/constants.js +0 -34
  381. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/hooks/useMeasure/helpers.d.ts +0 -11
  382. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/hooks/useMeasure/helpers.js +0 -45
  383. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/hooks/useMeasure/index.d.ts +0 -13
  384. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/hooks/useMeasure/index.js +0 -245
  385. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/hooks/useMeasure/types.d.ts +0 -13
  386. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/hooks/useValidation.d.ts +0 -13
  387. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/hooks/useValidation.js +0 -17
  388. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/index.d.ts +0 -4
  389. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/index.js +0 -41
  390. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/model.d.ts +0 -17
  391. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/subcomponents/MeasureData/index.d.ts +0 -5
  392. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/subcomponents/MeasureData/index.js +0 -33
  393. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/subcomponents/MeasureData/types.d.ts +0 -6
  394. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/subcomponents/MeasureData/validations.d.ts +0 -2
  395. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/subcomponents/MeasureData/validations.js +0 -6
  396. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/subcomponents/MyActions/index.d.ts +0 -4
  397. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/subcomponents/MyActions/index.js +0 -32
  398. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/types.d.ts +0 -9
  399. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/ZoomButtons/index.d.ts +0 -4
  400. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/ZoomButtons/index.js +0 -52
  401. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/types.d.ts +0 -4
  402. package/components/maps/components/Map/subcomponents/Controls/types.d.ts +0 -22
  403. package/components/maps/components/Map/subcomponents/LayersContainer/index.d.ts +0 -5
  404. package/components/maps/components/Map/subcomponents/LayersContainer/index.js +0 -33
  405. package/components/maps/components/Map/subcomponents/LayersContainer/subcomponents/MyLayer/index.d.ts +0 -14
  406. package/components/maps/components/Map/subcomponents/LayersContainer/subcomponents/MyLayer/index.js +0 -132
  407. package/components/maps/components/Map/subcomponents/LayersContainer/subcomponents/MyLayer/subcomponents/MarkerClusterGroup/index.d.ts +0 -9
  408. package/components/maps/components/Map/subcomponents/LayersContainer/subcomponents/MyLayer/subcomponents/MarkerClusterGroup/index.js +0 -24
  409. package/components/maps/components/Map/subcomponents/LayersContainer/subcomponents/MyLayer/subcomponents/MarkerClusterGroup/types.d.ts +0 -11
  410. package/components/maps/components/Map/subcomponents/LayersContainer/subcomponents/MyLayer/subcomponents/RenderByEachFeatureComponent/index.d.ts +0 -11
  411. package/components/maps/components/Map/subcomponents/LayersContainer/subcomponents/MyLayer/subcomponents/RenderByEachFeatureComponent/index.js +0 -13
  412. package/components/maps/components/Map/subcomponents/LayersContainer/subcomponents/MyLayer/subcomponents/RenderByEachFeatureComponent/types.d.ts +0 -5
  413. package/components/maps/components/Map/subcomponents/LayersContainer/subcomponents/MyLayer/types.d.ts +0 -2
  414. package/components/maps/components/Map/subcomponents/TileLayers/index.d.ts +0 -6
  415. package/components/maps/components/Map/subcomponents/TileLayers/index.js +0 -13
  416. package/components/maps/components/Map/subcomponents/TileLayers/subcomponents/TileLayerGoogle/index.d.ts +0 -4
  417. package/components/maps/components/Map/subcomponents/TileLayers/subcomponents/TileLayerGoogle/index.js +0 -100
  418. package/components/maps/components/Map/subcomponents/TileLayers/subcomponents/TileLayerOthers/index.d.ts +0 -6
  419. package/components/maps/components/Map/subcomponents/TileLayers/subcomponents/TileLayerOthers/index.js +0 -35
  420. package/components/maps/components/Map/types.d.ts +0 -56
  421. package/components/maps/components/MapGpsTools/MapGpsTools.d.ts +0 -4
  422. package/components/maps/components/MapGpsTools/MapGpsTools.js +0 -10
  423. package/components/maps/components/MapGpsTools/classes/index.d.ts +0 -7
  424. package/components/maps/components/MapGpsTools/classes/index.js +0 -21
  425. package/components/maps/components/MapGpsTools/classes/types.d.ts +0 -14
  426. package/components/maps/components/MapGpsTools/constants.d.ts +0 -8
  427. package/components/maps/components/MapGpsTools/constants.js +0 -71
  428. package/components/maps/components/MapGpsTools/contexts/MapGpsToolsContext/index.d.ts +0 -21
  429. package/components/maps/components/MapGpsTools/contexts/MapGpsToolsContext/index.js +0 -48
  430. package/components/maps/components/MapGpsTools/contexts/MapGpsToolsContext/store.d.ts +0 -19
  431. package/components/maps/components/MapGpsTools/contexts/MapGpsToolsContext/store.js +0 -155
  432. package/components/maps/components/MapGpsTools/contexts/MapGpsToolsContext/types.d.ts +0 -160
  433. package/components/maps/components/MapGpsTools/dictionary.d.ts +0 -62
  434. package/components/maps/components/MapGpsTools/dictionary.js +0 -73
  435. package/components/maps/components/MapGpsTools/hooks/useLayers/index.d.ts +0 -4
  436. package/components/maps/components/MapGpsTools/hooks/useLayers/index.js +0 -57
  437. package/components/maps/components/MapGpsTools/hooks/useMapGpsToolsStore/index.d.ts +0 -5
  438. package/components/maps/components/MapGpsTools/hooks/useMapGpsToolsStore/index.js +0 -13
  439. package/components/maps/components/MapGpsTools/icons.d.ts +0 -23
  440. package/components/maps/components/MapGpsTools/icons.js +0 -26
  441. package/components/maps/components/MapGpsTools/index.d.ts +0 -4
  442. package/components/maps/components/MapGpsTools/styles.d.ts +0 -1
  443. package/components/maps/components/MapGpsTools/styles.js +0 -18
  444. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/index.d.ts +0 -9
  445. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/index.js +0 -88
  446. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/constants.d.ts +0 -20
  447. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/constants.js +0 -40
  448. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/helpers.d.ts +0 -34
  449. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/helpers.js +0 -77
  450. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/hooks/useDrawing.d.ts +0 -14
  451. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/hooks/useDrawing.js +0 -216
  452. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/hooks/useSubmit.d.ts +0 -11
  453. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/hooks/useSubmit.js +0 -63
  454. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/hooks/useSumbitErrorsFocus.d.ts +0 -5
  455. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/hooks/useSumbitErrorsFocus.js +0 -36
  456. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/hooks/useValidation.d.ts +0 -25
  457. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/hooks/useValidation.js +0 -19
  458. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/index.d.ts +0 -5
  459. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/index.js +0 -73
  460. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/styles.d.ts +0 -1
  461. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/styles.js +0 -8
  462. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/index.d.ts +0 -4
  463. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/index.js +0 -52
  464. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/types.d.ts +0 -6
  465. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/validations.d.ts +0 -8
  466. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/validations.js +0 -11
  467. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/index.d.ts +0 -4
  468. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/index.js +0 -132
  469. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/types.d.ts +0 -7
  470. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/validations.d.ts +0 -9
  471. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/validations.js +0 -12
  472. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyActions/index.d.ts +0 -5
  473. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyActions/index.js +0 -61
  474. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyActions/types.d.ts +0 -2
  475. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyTabs/index.d.ts +0 -4
  476. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyTabs/index.js +0 -80
  477. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyTabs/types.d.ts +0 -7
  478. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/StyleData/index.d.ts +0 -4
  479. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/StyleData/index.js +0 -12
  480. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/FillData/index.d.ts +0 -4
  481. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/FillData/index.js +0 -49
  482. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/StrokeData/index.d.ts +0 -4
  483. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/StrokeData/index.js +0 -89
  484. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/StyleData/types.d.ts +0 -10
  485. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/types.d.ts +0 -27
  486. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useCheckedFeatures.d.ts +0 -9
  487. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useCheckedFeatures.js +0 -86
  488. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useCheckedGeofences.d.ts +0 -7
  489. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useCheckedGeofences.js +0 -85
  490. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useColumns.d.ts +0 -12
  491. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useColumns.js +0 -116
  492. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useMaster.d.ts +0 -22
  493. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useMaster.js +0 -162
  494. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useRowActionsGetter.d.ts +0 -12
  495. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useRowActionsGetter.js +0 -113
  496. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/index.d.ts +0 -4
  497. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/index.js +0 -75
  498. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/styles.d.ts +0 -1
  499. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/styles.js +0 -8
  500. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/subcomponents/Filter/index.d.ts +0 -9
  501. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/subcomponents/Filter/index.js +0 -49
  502. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/constants.d.ts +0 -7
  503. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/constants.js +0 -13
  504. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/model.d.ts +0 -114
  505. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/types.d.ts +0 -7
  506. package/components/maps/components/MapGpsTools/types.d.ts +0 -34
  507. package/components/maps/index.d.ts +0 -4
  508. package/components/maps/utils/courseToCartesianAngle.d.ts +0 -6
  509. package/components/maps/utils/courseToCartesianAngle.js +0 -8
  510. package/components/maps/utils/courseToCssAngle.d.ts +0 -9
  511. package/components/maps/utils/courseToCssAngle.js +0 -13
  512. package/components/maps/utils/index.d.ts +0 -6
  513. package/components/maps/utils/isFeature.d.ts +0 -2
  514. package/components/maps/utils/isFeature.js +0 -6
  515. package/components/maps/utils/isFeatureCollection.d.ts +0 -2
  516. package/components/maps/utils/isFeatureCollection.js +0 -6
  517. package/components/maps/utils/isFeatureCollectionDraft.d.ts +0 -6
  518. package/components/maps/utils/isFeatureCollectionDraft.js +0 -6
  519. package/components/maps/utils/isGeometry.d.ts +0 -2
  520. package/components/maps/utils/isGeometry.js +0 -6
  521. package/contexts/RealTimeContext/RealTimeContext.d.ts +0 -19
  522. package/contexts/RealTimeContext/RealTimeContext.js +0 -76
  523. package/contexts/RealTimeContext/index.d.ts +0 -1
  524. package/contexts/RealTimeContext/store.d.ts +0 -19
  525. package/contexts/RealTimeContext/store.js +0 -58
  526. package/contexts/RealTimeContext/types.d.ts +0 -96
  527. package/hooks/useRealTime/index.d.ts +0 -6
  528. /package/components/{PaperForm → DynamicSort}/index.js +0 -0
  529. /package/components/{formatters/CourseFormatter → DynamicSort/slots}/index.js +0 -0
  530. /package/components/{gclick/MyDevice → DynamicSort/subcomponents/AppliedSortChip}/index.js +0 -0
  531. /package/components/{gclick/MyDeviceStatus → DynamicSort/subcomponents/AppliedSorts}/index.js +0 -0
  532. /package/components/{maps/components/Map/external/googleMutant → DynamicSort/subcomponents/DynamicSortBase}/index.js +0 -0
  533. /package/components/{maps/components/Map/featureRenders → DynamicSort/subcomponents/InputSort}/index.js +0 -0
  534. /package/components/{maps/components/Map → DynamicSort/subcomponents/PopoverMenuFields}/index.js +0 -0
  535. /package/components/{maps/components/Map/pluginLayers → DynamicSort/subcomponents/PopoverSort}/index.js +0 -0
  536. /package/components/{maps/components/Map/popups/MapPopupMyGps → DynamicSort/subcomponents/SortActions}/index.js +0 -0
  537. /package/components/{maps/components/Map/popups → extended/React-Spinners/PropagateLoaderSpinner}/index.js +0 -0
  538. /package/components/{maps/components/MapGpsTools → extended/React-Spinners}/index.js +0 -0
  539. /package/components/extended/{React-Splitter/SplitLayout → React-Splitter-Layout}/SplitLayout.d.ts +0 -0
  540. /package/components/extended/{React-Splitter/SplitLayout → React-Splitter-Layout}/SplitLayout.styles.d.ts +0 -0
  541. /package/components/extended/{React-Splitter/SplitLayout → React-Splitter-Layout}/SplitLayout.styles.js +0 -0
  542. /package/components/extended/{React-Splitter/SplitLayout → React-Splitter-Layout}/constants.d.ts +0 -0
  543. /package/components/extended/{React-Splitter/SplitLayout → React-Splitter-Layout}/constants.js +0 -0
  544. /package/components/{maps → extended/React-Splitter-Layout}/index.js +0 -0
  545. /package/components/extended/{React-Splitter/SplitLayout → React-Splitter-Layout}/slots/SplitLayoutEnum.d.ts +0 -0
  546. /package/components/extended/{React-Splitter/SplitLayout → React-Splitter-Layout}/slots/SplitLayoutEnum.js +0 -0
  547. /package/components/extended/{React-Splitter/SplitLayout → React-Splitter-Layout}/slots/SplitLayoutSlots.d.ts +0 -0
  548. /package/components/extended/{React-Splitter/SplitLayout → React-Splitter-Layout}/slots/SplitLayoutSlots.js +0 -0
  549. /package/components/extended/{React-Splitter/SplitLayout → React-Splitter-Layout}/tests/SplitLayout.test.d.ts +0 -0
  550. /package/components/{maps/utils → extended/React-Window/FixedSizeList}/index.js +0 -0
  551. /package/{contexts/RealTimeContext → components/extended/React-Window/VariableSizeList}/index.js +0 -0
  552. /package/components/{maps/components/Map/contexts/MapContext/helper.js → extended/React-Window/index.js} +0 -0
  553. /package/components/{maps/components/Map/external/googleMutant/LRUMap.js → extended/index.js} +0 -0
@@ -1,10 +0,0 @@
1
- import { jsx } from "react/jsx-runtime";
2
- import { useModuleSkeleton } from "@m4l/core";
3
- import { T as TabsGpsTools } from "./subcomponents/TabsGpsTools/index.js";
4
- function MapGpsTools() {
5
- const isSkeleton = useModuleSkeleton();
6
- return !isSkeleton && /* @__PURE__ */ jsx(TabsGpsTools, {});
7
- }
8
- export {
9
- MapGpsTools as M
10
- };
@@ -1,7 +0,0 @@
1
- import { GpsToolsClasses } from './types';
2
- export declare const gpsToolsClasses: GpsToolsClasses;
3
- /**
4
- * TODO: Documentar
5
- */
6
- export declare const useUtilityClasses: () => Record<"gpsToolsGeofencesList" | "gpsToolsGeofencesAddEdit" | "gpsToolsGeofencesAddEditContent" | "gpsToolsGeofencesAddEditDrawFinishContainer" | "toolGeofencesAddEditGeneral" | "toolGeofencesAddEditStyle" | "GpsToolsRoot" | "GpsToolsTabContent" | "GpsToolsTab", string>;
7
- export type Classes = ReturnType<typeof useUtilityClasses>;
@@ -1,21 +0,0 @@
1
- import { generateUtilityClasses } from "@mui/material";
2
- import "@mui/base";
3
- import { C as COMPONENT_CLASS_NAME } from "../constants.js";
4
- const gpsToolsClasses = generateUtilityClasses(COMPONENT_CLASS_NAME, [
5
- /* elements */
6
- "gpsToolsRoot",
7
- "gpsToolsTab",
8
- "gpsToolsTabContent",
9
- "gpsToolsGeofencesList",
10
- "gpsToolsGeofencesAddEdit",
11
- "gpsToolsGeofencesAddEditContent",
12
- "gpsToolsGeofencesAddEditDrawFinishContainer",
13
- "toolGeofencesAddEditGeneral",
14
- "toolGeofencesAddEditStyle",
15
- /* states or variants of elements */
16
- "visible",
17
- "hidden"
18
- ]);
19
- export {
20
- gpsToolsClasses as g
21
- };
@@ -1,14 +0,0 @@
1
- export interface GpsToolsClasses {
2
- gpsToolsRoot: string;
3
- gpsToolsTab: string;
4
- gpsToolsTabContent: string;
5
- gpsToolsGeofencesList: string;
6
- gpsToolsGeofencesAddEdit: string;
7
- gpsToolsGeofencesAddEditContent: string;
8
- gpsToolsGeofencesAddEditDrawFinishContainer: string;
9
- toolGeofencesAddEditGeneral: string;
10
- toolGeofencesAddEditStyle: string;
11
- visible: string;
12
- hidden: string;
13
- }
14
- export type GpsToolsClassesKey = keyof GpsToolsClasses;
@@ -1,8 +0,0 @@
1
- import { StyleOpacity, StyleDashArray, StyleWheight } from './types';
2
- export declare const COMPONENT_TEST_ID = "M4LMapGpsTools";
3
- export declare const COMPONENT_CLASS_NAME = "M4LMapGpsTools";
4
- export declare const COOKIE_MAP_GEO_FILTER = "filter_map_geo";
5
- export declare const COMPONENT_MAP_TOOLS_ID = "gps_tools";
6
- export declare const STYLE_OPACITIES: StyleOpacity[];
7
- export declare const STYLE_WHEIGHTS: StyleWheight[];
8
- export declare const STYLE_PATTERNS: StyleDashArray[];
@@ -1,71 +0,0 @@
1
- const COMPONENT_CLASS_NAME = "M4LMapGpsTools";
2
- const COMPONENT_MAP_TOOLS_ID = "gps_tools";
3
- const STYLE_OPACITIES = [
4
- {
5
- value: 0,
6
- label: "0%"
7
- },
8
- {
9
- value: 0.1,
10
- label: "10%"
11
- },
12
- {
13
- value: 0.2,
14
- label: "20%"
15
- },
16
- {
17
- value: 0.3,
18
- label: "30%"
19
- },
20
- {
21
- value: 0.4,
22
- label: "40%"
23
- },
24
- {
25
- value: 0.5,
26
- label: "50%"
27
- },
28
- {
29
- value: 1,
30
- label: "100%"
31
- }
32
- ];
33
- const STYLE_WHEIGHTS = [
34
- {
35
- value: 0,
36
- label: "0px"
37
- },
38
- {
39
- value: 1,
40
- label: "1px"
41
- },
42
- {
43
- value: 2,
44
- label: "2px"
45
- },
46
- {
47
- value: 3,
48
- label: "3px"
49
- },
50
- {
51
- value: 4,
52
- label: "4px"
53
- }
54
- ];
55
- const STYLE_PATTERNS = [
56
- {
57
- value: "",
58
- label: "------"
59
- },
60
- {
61
- value: "4 1 2",
62
- label: "-- - - --"
63
- }
64
- ];
65
- export {
66
- COMPONENT_CLASS_NAME as C,
67
- STYLE_OPACITIES as S,
68
- STYLE_WHEIGHTS as a,
69
- STYLE_PATTERNS as b,
70
- COMPONENT_MAP_TOOLS_ID as c
71
- };
@@ -1,21 +0,0 @@
1
- import { MapGpsToolsProviderProps } from './types';
2
- declare const MapGpsToolsContext: import('react').Context<(Omit<Omit<import('zustand').StoreApi<import('./types').MapGpsToolsStateWithActions>, "setState"> & {
3
- setState<A extends string | {
4
- type: unknown;
5
- }>(partial: import('./types').MapGpsToolsStateWithActions | Partial<import('./types').MapGpsToolsStateWithActions> | ((state: import('./types').MapGpsToolsStateWithActions) => import('./types').MapGpsToolsStateWithActions | Partial<import('./types').MapGpsToolsStateWithActions>), replace?: boolean | undefined, action?: A | undefined): void;
6
- }, "setState"> & {
7
- setState(nextStateOrUpdater: import('./types').MapGpsToolsStateWithActions | Partial<import('./types').MapGpsToolsStateWithActions> | ((state: import('immer/dist/internal').WritableDraft<import('./types').MapGpsToolsStateWithActions>) => void), shouldReplace?: boolean | undefined, action?: string | {
8
- type: unknown;
9
- } | undefined): void;
10
- }) | null>;
11
- /**
12
- * Provedor del contexto de los mapas
13
- * Expone el store (MapStore) encargado de gestionar la creación, modificación y borrado de capas.
14
- * @param props
15
- * @returns
16
- */
17
- /**
18
- * TODO: Documentar
19
- */
20
- declare function MapGpsToolsProvider(props: MapGpsToolsProviderProps): import("react/jsx-runtime").JSX.Element;
21
- export { MapGpsToolsProvider, MapGpsToolsContext };
@@ -1,48 +0,0 @@
1
- import { jsx } from "react/jsx-runtime";
2
- import { createContext, useRef, useEffect } from "react";
3
- import { useStore } from "zustand";
4
- import { shallow } from "zustand/shallow";
5
- import { useResponsiveDesktop, useFirstRender } from "@m4l/graphics";
6
- import { useModuleDictionary, useModuleSkeleton } from "@m4l/core";
7
- import { c as createMapGpsToolsStore } from "./store.js";
8
- const MapGpsToolsContext = createContext(null);
9
- function MapGpsToolsProvider(props) {
10
- const { children } = props;
11
- const { getLabel } = useModuleDictionary();
12
- const isDesktop = useResponsiveDesktop();
13
- const isSkeleton = useModuleSkeleton();
14
- const isFirstRender = useFirstRender([getLabel]);
15
- const mapStoreRef = useRef();
16
- if (!mapStoreRef.current) {
17
- mapStoreRef.current = createMapGpsToolsStore({
18
- getLabel,
19
- ownerState: {
20
- status: "init",
21
- isMobile: !isDesktop,
22
- isSkeleton,
23
- focus: false
24
- }
25
- });
26
- }
27
- const { setHandlerGetLabel, setExternalState } = useStore(
28
- mapStoreRef.current,
29
- (state) => state.gpsToolsActions,
30
- shallow
31
- );
32
- useEffect(() => {
33
- if (!isFirstRender) {
34
- setHandlerGetLabel(getLabel);
35
- }
36
- }, [getLabel]);
37
- useEffect(() => {
38
- if (isFirstRender) {
39
- return;
40
- }
41
- setExternalState({ isMobile: !isDesktop, isSkeleton });
42
- }, [isDesktop, isSkeleton]);
43
- return /* @__PURE__ */ jsx(MapGpsToolsContext.Provider, { value: mapStoreRef.current, children });
44
- }
45
- export {
46
- MapGpsToolsContext as M,
47
- MapGpsToolsProvider as a
48
- };
@@ -1,19 +0,0 @@
1
- import { MapGpsToolsStateWithActions, InitialMapGpsToolsStoreProps } from './types';
2
- /**
3
- * Crea el Store, por defecto inicia en estado 'init'
4
- * @param initProps propiedades iniciales del store
5
- * @returns
6
- */
7
- /**
8
- * TODO: Documentar
9
- */
10
- export declare const createMapGpsToolsStore: (initProps: InitialMapGpsToolsStoreProps) => Omit<Omit<import('zustand').StoreApi<MapGpsToolsStateWithActions>, "setState"> & {
11
- setState<A extends string | {
12
- type: unknown;
13
- }>(partial: MapGpsToolsStateWithActions | Partial<MapGpsToolsStateWithActions> | ((state: MapGpsToolsStateWithActions) => MapGpsToolsStateWithActions | Partial<MapGpsToolsStateWithActions>), replace?: boolean | undefined, action?: A | undefined): void;
14
- }, "setState"> & {
15
- setState(nextStateOrUpdater: MapGpsToolsStateWithActions | Partial<MapGpsToolsStateWithActions> | ((state: import('immer/dist/internal').WritableDraft<MapGpsToolsStateWithActions>) => void), shouldReplace?: boolean | undefined, action?: string | {
16
- type: unknown;
17
- } | undefined): void;
18
- };
19
- export type MapGpsToolsStore = ReturnType<typeof createMapGpsToolsStore>;
@@ -1,155 +0,0 @@
1
- import { createStore } from "zustand";
2
- import { devtools } from "zustand/middleware";
3
- import { immer } from "zustand/middleware/immer";
4
- import { enableMapSet } from "immer";
5
- enableMapSet();
6
- const createMapGpsToolsStore = (initProps) => {
7
- const startProps = {
8
- currentTabGpsTool: "geofences",
9
- geofenceState: {
10
- // currentGeofenceTool: 'list',
11
- rows: [],
12
- checkedGeofences: /* @__PURE__ */ new Set(),
13
- checkedCrossingFeatures: /* @__PURE__ */ new Set(),
14
- checkedInternalFeatures: /* @__PURE__ */ new Set(),
15
- hashGeofences: {}
16
- },
17
- ...initProps
18
- };
19
- return createStore(
20
- devtools(
21
- immer((set, _get) => ({
22
- ...startProps,
23
- gpsToolsActions: {
24
- /**
25
- * TODO: Documentar
26
- */
27
- init: () => {
28
- set((state) => {
29
- state.ownerState.status = "ready";
30
- });
31
- },
32
- /**
33
- * TODO: Documentar
34
- */
35
- setGpsToolsState: (status) => {
36
- set((state) => {
37
- state.ownerState.status = status;
38
- });
39
- },
40
- /**
41
- * TODO: Documentar
42
- */
43
- setHandlerGetLabel: (newHandler) => {
44
- set((state) => {
45
- state.getLabel = newHandler;
46
- });
47
- },
48
- /**
49
- * TODO: Documentar
50
- */
51
- setExternalState: (newExternalState) => {
52
- set((state) => {
53
- state.ownerState = { ...state.ownerState, ...newExternalState };
54
- });
55
- },
56
- /**
57
- * TODO: Documentar
58
- */
59
- setCurrentTabTool: (newTabTool) => {
60
- set((state) => {
61
- state.currentTabGpsTool = newTabTool;
62
- });
63
- }
64
- },
65
- geofenceActions: {
66
- // goToAddEdit: (geofenceId?: GeofenceId) => {
67
- // set(state => {
68
- // state.geofenceState.currentGeofenceTool = 'add_edit';
69
- // state.geofenceState.geofenceId = geofenceId;
70
- // });
71
- // },
72
- // goToList: (geofenceId?: GeofenceId) => {
73
- // set(state => {
74
- // state.geofenceState.currentGeofenceTool = 'list';
75
- // state.geofenceState.geofenceId = geofenceId;
76
- // });
77
- // },
78
- /**
79
- * TODO: Documentar
80
- */
81
- addGeofence: (geofenceId, geofence) => {
82
- set((state) => {
83
- state.geofenceState.hashGeofences[geofenceId] = geofence;
84
- });
85
- },
86
- /**
87
- * TODO: Documentar
88
- */
89
- updatePartialGeofence: (geofenceId, geofence) => {
90
- set((state) => {
91
- state.geofenceState.hashGeofences[geofenceId] = {
92
- ...state.geofenceState.hashGeofences[geofenceId],
93
- ...geofence
94
- };
95
- });
96
- },
97
- /**
98
- * TODO: Documentar
99
- */
100
- updateRows: (newRows) => {
101
- set((state) => {
102
- state.geofenceState.rows = newRows;
103
- });
104
- },
105
- /**
106
- * TODO: Documentar
107
- */
108
- addCheckedGeofence: (geofenceId) => {
109
- set((state) => {
110
- state.geofenceState.checkedGeofences.add(geofenceId);
111
- state.geofenceState.checkedGeofences = new Set(state.geofenceState.checkedGeofences);
112
- });
113
- },
114
- /**
115
- * TODO: Documentar
116
- */
117
- removeCheckedGeofence: (geofenceId) => {
118
- set((state) => {
119
- state.geofenceState.checkedGeofences.delete(geofenceId);
120
- state.geofenceState.checkedGeofences = new Set(state.geofenceState.checkedGeofences);
121
- });
122
- },
123
- /**
124
- * TODO: Documentar
125
- */
126
- setCheckedGeofences: (newGeofences) => {
127
- set((state) => {
128
- state.geofenceState.checkedGeofences = new Set(newGeofences);
129
- });
130
- },
131
- /**
132
- * TODO: Documentar
133
- */
134
- setCheckedCrossingFeatures: (newFeatures) => {
135
- set((state) => {
136
- state.geofenceState.checkedCrossingFeatures = new Set(newFeatures);
137
- });
138
- },
139
- /**
140
- * TODO: Documentar
141
- */
142
- setCheckedInternalFeatures: (newFeatures) => {
143
- set((state) => {
144
- state.geofenceState.checkedInternalFeatures = new Set(newFeatures);
145
- });
146
- }
147
- }
148
- })),
149
- { name: `Map Tools Store` }
150
- )
151
- );
152
- };
153
- export {
154
- createMapGpsToolsStore as c
155
- };
@@ -1,160 +0,0 @@
1
- import { GetLabelType } from '@m4l/core';
2
- import { ReactNode } from 'react';
3
- import { FeatureId } from '../../../Map';
4
- import { CrossingFeature, GeofenceListModel, InternalFeature } from '../../subcomponents/TabsGpsTools/subcomponents/model';
5
- export type GpsToolsStatus = 'init' | 'ready';
6
- export type CurrentTabGpsTool = 'geofences' | 'pois';
7
- export interface GeofenceFeature extends Pick<GeofenceListModel, 'id' | 'name' | 'type' | 'geometry' | 'properties' | 'createdAt' | 'updatedAt' | 'countCrossingFeatures' | 'countInternalFeatures' | 'timeMinInSeconds' | 'timeMinOutSeconds' | 'alias' | 'customerId'> {
8
- hasRenderizedGeofence: boolean;
9
- /**
10
- * "renderizedCrossingFeatures" indica si está renderizado los features de cruce
11
- */
12
- hasRenderizedCrossingFeatures: boolean;
13
- /**
14
- * "loadedCrossingFeatures" features cargados, mas no necesariamente visibles (incremental)
15
- */
16
- loadedCrossingFeatures: CrossingFeature[] | null;
17
- /**
18
- * "loadedInternalFeatures" features internos cargados, mas no necesariamente visibles (incremental)
19
- */
20
- loadedInternalFeatures: InternalFeature[] | null;
21
- /**
22
- * "renderizedInternalFeatures" indica si está renderizado los features internos
23
- */
24
- hasRenderizedInternalFeatures: boolean;
25
- }
26
- export type OwnerState = {
27
- status: GpsToolsStatus;
28
- /**
29
- * "isMobile" cuando el navegador está en modo celular
30
- */
31
- isMobile: boolean;
32
- /**
33
- * "isSkeleton" indica si el componente está en skeleton.
34
- */
35
- isSkeleton: boolean;
36
- /**
37
- * focus: Estado de selección asignado por el usuario.
38
- *
39
- */
40
- focus: boolean;
41
- };
42
- /**
43
- * Estados que se actulizan por fuera del store, a través de hooks
44
- */
45
- export type ExternalOwnerState = Pick<OwnerState, 'isMobile' | 'isSkeleton'>;
46
- export type CurrentGeofenceTool = 'list' | 'add_edit';
47
- /**
48
- * Tipo de dato del Id de la geocerca
49
- */
50
- export interface GeofenceState {
51
- rows: GeofenceListModel[];
52
- /**
53
- * "checkedGeofences" indica las geocercas visibles en el mapa
54
- */
55
- checkedGeofences: ReadonlySet<GeofenceId>;
56
- /**
57
- * "hashGeofences" Almacena las geocercas que se han cargado alguna vez, no necesariamente visibles
58
- */
59
- hashGeofences: Record<FeatureId, GeofenceFeature>;
60
- /**
61
- * "checkedCrossingFeatures" indica los crossing features visibles en el mapa
62
- */
63
- checkedCrossingFeatures: ReadonlySet<GeofenceId>;
64
- /**
65
- * "checkedInternalFeatures" indica los features internos visibles en el mapa
66
- */
67
- checkedInternalFeatures: ReadonlySet<GeofenceId>;
68
- }
69
- /**
70
- * Tipo de dato del Id de la geocerca
71
- */
72
- export type GeofenceId = number;
73
- /**
74
- * Interface que define el estado del componente (variables y funciones )
75
- */
76
- export interface MapGpsToolsState {
77
- ownerState: OwnerState;
78
- /**
79
- * "currentTabTool" indica la pestaña actual en uso
80
- */
81
- currentTabGpsTool: CurrentTabGpsTool;
82
- /**
83
- * "geofenceState" manejo del estado lo relacionado con geocercas
84
- */
85
- geofenceState: GeofenceState;
86
- /**
87
- * "getLabel" funcion que usará para traducir las etiquetas de diccionario
88
- */
89
- getLabel: GetLabelType;
90
- }
91
- export interface MapGpsToolsStateWithActions extends MapGpsToolsState {
92
- gpsToolsActions: {
93
- /**
94
- * @description
95
- */
96
- init(): void;
97
- /**
98
- * Cambia el estado del las herramientas de gps
99
- */
100
- setGpsToolsState: (state: GpsToolsStatus) => void;
101
- /**
102
- * Actualiza la variable de estado "getLabel"
103
- * @param newHandler handle o función que va a traducir las etiquetas, esto es necesario debido que getLabel de useModuleDictionary
104
- * cambia por el useCallback, cuando el diccionario se carga.
105
- * @returns void
106
- */
107
- setHandlerGetLabel: (newHandler: GetLabelType) => void;
108
- /**
109
- * Modifica los estados que se actualizan externamente al Store
110
- * @param newIsMobile
111
- * @returns
112
- */
113
- setExternalState: (newExternalState: ExternalOwnerState) => void;
114
- /**
115
- * Modifica los estados que se actualizan externamente al Store
116
- * @param newIsMobile
117
- * @returns
118
- */
119
- setCurrentTabTool: (newTabTool: CurrentTabGpsTool) => void;
120
- };
121
- geofenceActions: {
122
- /**
123
- * Agrega una geocerca al store
124
- */
125
- addGeofence: (geofenceId: GeofenceId, geofence: GeofenceFeature) => void;
126
- /**
127
- * Actualizar parcialmente una geocerca
128
- */
129
- updatePartialGeofence: (geofenceId: GeofenceId, geofence: Partial<GeofenceFeature>) => void;
130
- /**
131
- * Actualizar la filas que son mostradas en el grid de geocercas
132
- */
133
- updateRows: (newRows: GeofenceListModel[]) => void;
134
- /**
135
- * Agrega una geocerca del set de chequeo
136
- */
137
- addCheckedGeofence: (geofenceId: GeofenceId) => void;
138
- /**
139
- * Cambia el set de chequeo de las geocercas
140
- */
141
- setCheckedGeofences: (newGeofences: ReadonlySet<GeofenceId>) => void;
142
- /**
143
- * Remueve una geocerca del set de chequeo
144
- */
145
- removeCheckedGeofence: (geofenceId: GeofenceId) => void;
146
- /**
147
- * Cambia el set de chequeo de los crossing features
148
- */
149
- setCheckedCrossingFeatures: (newFeatures: ReadonlySet<GeofenceId>) => void;
150
- /**
151
- * Cambia el set de chequeo de los internal features
152
- */
153
- setCheckedInternalFeatures: (newFeatures: ReadonlySet<GeofenceId>) => void;
154
- };
155
- }
156
- export type DefaultMapGpsToolsStoreProps = Omit<MapGpsToolsState, 'currentLayer'>;
157
- export type InitialMapGpsToolsStoreProps = Pick<MapGpsToolsState, 'getLabel' | 'ownerState'> & Partial<DefaultMapGpsToolsStoreProps>;
158
- export interface MapGpsToolsProviderProps {
159
- children: ReactNode;
160
- }
@@ -1,62 +0,0 @@
1
- export declare const MAPGPSTOOLS_DICTIONARY_ID = "gps_tools";
2
- /**
3
- * TODO: Documentar
4
- */
5
- export declare function getMapGpsToolsComponentsDictionary(): string[];
6
- export declare const MAP_GPSTOOLS_DICCTIONARY: {
7
- /** Common */
8
- /** GeofenceList */
9
- readonly MODULE_NAME_GEOFENCE_ADD: "module_name_geofence_add";
10
- readonly MODULE_NAME_GEOFENCE_EDIT: "module_name_geofence_edit";
11
- readonly ROW_ACTION_GEO_EDIT: "row_action_geo_edit";
12
- readonly ROW_ACTION_GEO_DELETE: "row_action_geo_delete";
13
- /** GeofenceAddEdit */
14
- readonly LABEL_TAB_GEO: "label_tab_geo";
15
- readonly TAB_GENERAL_CONFIG_TOOLTIP: "tab_general_config_tooltip";
16
- readonly PAPER_GENERAL: "paper_general";
17
- readonly LABEL_ID: "label_id";
18
- readonly LABEL_NAME: "label_name";
19
- readonly LABEL_ALIAS: "label_alias";
20
- readonly LABEL_CUSTOMER_ID: "label_customer_id";
21
- readonly LABEL_GEOMETRY_TYPE: "label_geometry_type";
22
- readonly LABEL_GEOMETRY_CIRCLE: "label_geometry_circle";
23
- readonly LABEL_GEOMETRY_RECTANGLE: "label_geometry_rectangle";
24
- readonly LABEL_GEOMETRY_POLYGON: "label_geometry_polygon";
25
- readonly LABEL_DRAW: "label_draw";
26
- readonly LABEL_FINISH: "label_finish";
27
- readonly PAPER_CONFIG: "paper_config";
28
- readonly LABEL_TIME_MIN_IN_SECONDS: "label_time_min_in_seconds";
29
- readonly LABEL_TIME_MIN_OUT_SECONDS: "label_time_min_out_seconds";
30
- readonly TAB_STYLE_CONFIG_TOOLTIP: "tab_style_tooltip";
31
- readonly PAPER_STROKE: "paper_stroke";
32
- readonly LABEL_COLOR: "label_color";
33
- readonly LABEL_OPACITY: "label_opacity";
34
- readonly LABEL_WEIGHT: "label_weight";
35
- readonly LABEL_DASH_ARRAY: "label_dash_array";
36
- readonly PAPER_FILL: "paper_fill";
37
- readonly LABEL_RADIUS: "label_radius";
38
- readonly LABEL_LAT: "label_lat";
39
- readonly LABEL_LON: "label_lon";
40
- readonly LABEL_PLACE_MARKER: "label_place_marker";
41
- readonly LABEL_FIRST_VERTEX: "label_first_vertex";
42
- readonly LABEL_CONTINUE_LINE: "label_continue_line";
43
- readonly LABEL_FINISH_LINE: "label_finish_line";
44
- readonly LABEL_FINISH_POLY: "label_finish_poly";
45
- readonly LABEL_FINISH_RECT: "label_finish_rect";
46
- readonly LABEL_START_CIRCLE: "label_start_circle";
47
- readonly LABEL_FINISH_CIRCLE: "label_finish_circle";
48
- readonly LABEL_PLACE_CIRCLE_MARKER: "label_place_circle_marker";
49
- readonly VALIDATION_GEOMETRY_REQUIRED: "validation_geometry_required";
50
- readonly VALIDATION_FIELD_REQUIRED: "validation_field_required";
51
- readonly VALIDATION_FIELD_TYPE_NUMBER_ERROR: "validation_field_type_number_error";
52
- readonly VALIDATION_FIELD_MIN_NUMBER_ERROR: "validation_field_min_number_error";
53
- readonly LABEL_VIEW_TRANSIT_FEATURES: "label_view_crossing_features";
54
- readonly LABEL_VIEW_INTERNAL_FEATURES: "label_view_internal_features";
55
- readonly LABEL_CREATED_AT: "label_created_at";
56
- readonly LABEL_UPDATED_AT: "label_updated_at";
57
- readonly MODAL_DELETE_GEO_TITLE: "modal_delete_geo_title";
58
- readonly MODAL_DELETE_GEO_MESSAGE: "modal_delete_geo_message";
59
- readonly MODAL_DISABLE_GEO_TITLE: "modal_disable_geo_title";
60
- readonly MODAL_DISABLE_MESSAGE: "modal_disable_geo_message";
61
- readonly ACTION_CANCEL: "action_cancel";
62
- };
@@ -1,73 +0,0 @@
1
- import { g as getDataGridComponentsDictionary } from "../../../DataGrid/dictionary.js";
2
- import { a as getDynamicFilterComponentsDictionary } from "../../../DynamicFilter/dictionary.js";
3
- import { g as getRHFAutocompleteComponentsDictionary } from "../../../hook-form/RHFAutocomplete/dictionary.js";
4
- const MAPGPSTOOLS_DICTIONARY_ID = "gps_tools";
5
- function getMapGpsToolsComponentsDictionary() {
6
- return [MAPGPSTOOLS_DICTIONARY_ID].concat(
7
- getDataGridComponentsDictionary().concat(getRHFAutocompleteComponentsDictionary()).concat(getDynamicFilterComponentsDictionary())
8
- );
9
- }
10
- const MAP_GPSTOOLS_DICCTIONARY = {
11
- /** Common */
12
- /** GeofenceList */
13
- MODULE_NAME_GEOFENCE_ADD: "module_name_geofence_add",
14
- MODULE_NAME_GEOFENCE_EDIT: "module_name_geofence_edit",
15
- // Row Actions
16
- ROW_ACTION_GEO_EDIT: "row_action_geo_edit",
17
- // ROW_ACTION_GEO_ENABLE: 'row_action_geo_enable',
18
- // ROW_ACTION_GEO_DISABLE: 'row_action_geo_disable',
19
- ROW_ACTION_GEO_DELETE: "row_action_geo_delete",
20
- /** GeofenceAddEdit */
21
- LABEL_TAB_GEO: "label_tab_geo",
22
- TAB_GENERAL_CONFIG_TOOLTIP: "tab_general_config_tooltip",
23
- PAPER_GENERAL: "paper_general",
24
- LABEL_ID: "label_id",
25
- LABEL_NAME: "label_name",
26
- LABEL_ALIAS: "label_alias",
27
- LABEL_CUSTOMER_ID: "label_customer_id",
28
- LABEL_GEOMETRY_TYPE: "label_geometry_type",
29
- LABEL_GEOMETRY_CIRCLE: "label_geometry_circle",
30
- LABEL_GEOMETRY_RECTANGLE: "label_geometry_rectangle",
31
- LABEL_GEOMETRY_POLYGON: "label_geometry_polygon",
32
- LABEL_DRAW: "label_draw",
33
- LABEL_FINISH: "label_finish",
34
- PAPER_CONFIG: "paper_config",
35
- LABEL_TIME_MIN_IN_SECONDS: "label_time_min_in_seconds",
36
- LABEL_TIME_MIN_OUT_SECONDS: "label_time_min_out_seconds",
37
- TAB_STYLE_CONFIG_TOOLTIP: "tab_style_tooltip",
38
- PAPER_STROKE: "paper_stroke",
39
- LABEL_COLOR: "label_color",
40
- LABEL_OPACITY: "label_opacity",
41
- LABEL_WEIGHT: "label_weight",
42
- LABEL_DASH_ARRAY: "label_dash_array",
43
- PAPER_FILL: "paper_fill",
44
- LABEL_RADIUS: "label_radius",
45
- LABEL_LAT: "label_lat",
46
- LABEL_LON: "label_lon",
47
- LABEL_PLACE_MARKER: "label_place_marker",
48
- LABEL_FIRST_VERTEX: "label_first_vertex",
49
- LABEL_CONTINUE_LINE: "label_continue_line",
50
- LABEL_FINISH_LINE: "label_finish_line",
51
- LABEL_FINISH_POLY: "label_finish_poly",
52
- LABEL_FINISH_RECT: "label_finish_rect",
53
- LABEL_START_CIRCLE: "label_start_circle",
54
- LABEL_FINISH_CIRCLE: "label_finish_circle",
55
- LABEL_PLACE_CIRCLE_MARKER: "label_place_circle_marker",
56
- VALIDATION_GEOMETRY_REQUIRED: "validation_geometry_required",
57
- VALIDATION_FIELD_REQUIRED: "validation_field_required",
58
- VALIDATION_FIELD_TYPE_NUMBER_ERROR: "validation_field_type_number_error",
59
- VALIDATION_FIELD_MIN_NUMBER_ERROR: "validation_field_min_number_error",
60
- LABEL_VIEW_TRANSIT_FEATURES: "label_view_crossing_features",
61
- LABEL_VIEW_INTERNAL_FEATURES: "label_view_internal_features",
62
- LABEL_CREATED_AT: "label_created_at",
63
- LABEL_UPDATED_AT: "label_updated_at",
64
- MODAL_DELETE_GEO_TITLE: "modal_delete_geo_title",
65
- MODAL_DELETE_GEO_MESSAGE: "modal_delete_geo_message",
66
- MODAL_DISABLE_GEO_TITLE: "modal_disable_geo_title",
67
- MODAL_DISABLE_MESSAGE: "modal_disable_geo_message",
68
- ACTION_CANCEL: "action_cancel"
69
- };
70
- export {
71
- MAP_GPSTOOLS_DICCTIONARY as M,
72
- getMapGpsToolsComponentsDictionary as g
73
- };