@gooddata/sdk-ui-geo 11.13.0-alpha.1 → 11.13.0-alpha.3

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 (712) hide show
  1. package/esm/core/geoChart/GeoChartInner.d.ts +1 -1
  2. package/esm/core/geoChart/GeoChartInner.d.ts.map +1 -1
  3. package/esm/core/geoChart/GeoChartInner.js +4 -2
  4. package/esm/core/geoChart/GeoChartInner.js.map +1 -1
  5. package/esm/core/geoChart/GeoChartLegendRenderer.d.ts +1 -1
  6. package/esm/core/geoChart/GeoChartLegendRenderer.d.ts.map +1 -1
  7. package/esm/core/geoChart/GeoChartLegendRenderer.js +3 -3
  8. package/esm/core/geoChart/GeoChartLegendRenderer.js.map +1 -1
  9. package/esm/core/geoChart/GeoChartOptionsWrapper.d.ts.map +1 -1
  10. package/esm/core/geoChart/GeoChartOptionsWrapper.js +38 -25
  11. package/esm/core/geoChart/GeoChartOptionsWrapper.js.map +1 -1
  12. package/esm/core/geoChart/GeoChartRenderer.d.ts +1 -2
  13. package/esm/core/geoChart/GeoChartRenderer.d.ts.map +1 -1
  14. package/esm/core/geoChart/GeoChartRenderer.js +1 -2
  15. package/esm/core/geoChart/GeoChartRenderer.js.map +1 -1
  16. package/esm/core/geoChart/GeoValidatorHOC.d.ts.map +1 -1
  17. package/esm/core/geoChart/GeoValidatorHOC.js +15 -8
  18. package/esm/core/geoChart/GeoValidatorHOC.js.map +1 -1
  19. package/esm/core/geoChart/legends/PushpinCategoryLegend.d.ts +1 -1
  20. package/esm/core/geoChart/legends/PushpinCategoryLegend.d.ts.map +1 -1
  21. package/esm/core/geoChart/legends/PushpinCategoryLegend.js +1 -1
  22. package/esm/core/geoChart/legends/PushpinCategoryLegend.js.map +1 -1
  23. package/esm/core/geoChart/legends/PushpinSizeLegend.d.ts +1 -1
  24. package/esm/core/geoChart/legends/PushpinSizeLegend.d.ts.map +1 -1
  25. package/esm/core/geoChart/legends/PushpinSizeLegend.js +1 -1
  26. package/esm/core/geoChart/legends/PushpinSizeLegend.js.map +1 -1
  27. package/esm/next/GeoAreaChart.d.ts +4 -26
  28. package/esm/next/GeoAreaChart.d.ts.map +1 -1
  29. package/esm/next/GeoAreaChart.js +16 -57
  30. package/esm/next/GeoAreaChart.js.map +1 -1
  31. package/esm/next/GeoChartNext.d.ts +19 -0
  32. package/esm/next/GeoChartNext.d.ts.map +1 -0
  33. package/esm/next/GeoChartNext.js +34 -0
  34. package/esm/next/GeoChartNext.js.map +1 -0
  35. package/esm/next/GeoPushpinChartNext.d.ts +5 -6
  36. package/esm/next/GeoPushpinChartNext.d.ts.map +1 -1
  37. package/esm/next/GeoPushpinChartNext.js +19 -35
  38. package/esm/next/GeoPushpinChartNext.js.map +1 -1
  39. package/esm/next/components/GeoChartNextDataLoader.d.ts +12 -0
  40. package/esm/next/components/GeoChartNextDataLoader.d.ts.map +1 -0
  41. package/esm/next/components/GeoChartNextDataLoader.js +42 -0
  42. package/esm/next/components/GeoChartNextDataLoader.js.map +1 -0
  43. package/esm/next/components/GeoChartNextProviders.d.ts +13 -0
  44. package/esm/next/components/GeoChartNextProviders.d.ts.map +1 -0
  45. package/esm/next/components/GeoChartNextProviders.js +15 -0
  46. package/esm/next/components/GeoChartNextProviders.js.map +1 -0
  47. package/esm/next/components/GeoErrorComponent.d.ts +13 -0
  48. package/esm/next/components/GeoErrorComponent.d.ts.map +1 -0
  49. package/esm/next/components/{ErrorComponent.js → GeoErrorComponent.js} +4 -4
  50. package/esm/next/components/GeoErrorComponent.js.map +1 -0
  51. package/esm/next/components/GeoLoadingComponent.d.ts +5 -0
  52. package/esm/next/components/GeoLoadingComponent.d.ts.map +1 -0
  53. package/esm/next/components/{LoadingComponent.js → GeoLoadingComponent.js} +4 -4
  54. package/esm/next/components/GeoLoadingComponent.js.map +1 -0
  55. package/esm/next/components/RenderGeoChartNext.d.ts +18 -0
  56. package/esm/next/components/RenderGeoChartNext.d.ts.map +1 -0
  57. package/esm/next/components/RenderGeoChartNext.js +51 -0
  58. package/esm/next/components/RenderGeoChartNext.js.map +1 -0
  59. package/esm/next/components/legends/Legend.d.ts +5 -4
  60. package/esm/next/components/legends/Legend.d.ts.map +1 -1
  61. package/esm/next/components/legends/Legend.js.map +1 -1
  62. package/esm/next/components/legends/LegendBody.js +1 -1
  63. package/esm/next/components/legends/LegendBody.js.map +1 -1
  64. package/esm/next/components/legends/legendPropsAdapter.d.ts.map +1 -1
  65. package/esm/next/components/legends/legendPropsAdapter.js.map +1 -1
  66. package/esm/next/components/legends/types.d.ts +5 -4
  67. package/esm/next/components/legends/types.d.ts.map +1 -1
  68. package/esm/next/constants/defaults.d.ts +60 -0
  69. package/esm/next/constants/defaults.d.ts.map +1 -0
  70. package/esm/next/constants/defaults.js +53 -0
  71. package/esm/next/constants/defaults.js.map +1 -0
  72. package/esm/next/constants/{internal.d.ts → emptyDefaults.d.ts} +1 -9
  73. package/esm/next/constants/emptyDefaults.d.ts.map +1 -0
  74. package/esm/next/constants/{internal.js → emptyDefaults.js} +1 -9
  75. package/esm/next/constants/emptyDefaults.js.map +1 -0
  76. package/esm/next/context/GeoChartNextContext.d.ts +30 -0
  77. package/esm/next/context/GeoChartNextContext.d.ts.map +1 -0
  78. package/esm/next/context/GeoChartNextContext.js +44 -0
  79. package/esm/next/context/GeoChartNextContext.js.map +1 -0
  80. package/esm/next/context/GeoDataContext.d.ts +6 -51
  81. package/esm/next/context/GeoDataContext.d.ts.map +1 -1
  82. package/esm/next/context/GeoDataContext.js +12 -25
  83. package/esm/next/context/GeoDataContext.js.map +1 -1
  84. package/esm/next/context/GeoLayersContext.d.ts +111 -0
  85. package/esm/next/context/GeoLayersContext.d.ts.map +1 -0
  86. package/esm/next/context/GeoLayersContext.js +67 -0
  87. package/esm/next/context/GeoLayersContext.js.map +1 -0
  88. package/esm/next/context/GeoLegendContext.d.ts +23 -33
  89. package/esm/next/context/GeoLegendContext.d.ts.map +1 -1
  90. package/esm/next/context/GeoLegendContext.js +34 -31
  91. package/esm/next/context/GeoLegendContext.js.map +1 -1
  92. package/esm/next/context/InitialExecutionContext.d.ts +1 -1
  93. package/esm/next/context/InitialExecutionContext.d.ts.map +1 -1
  94. package/esm/next/context/MapRuntimeContext.d.ts +15 -0
  95. package/esm/next/context/MapRuntimeContext.d.ts.map +1 -0
  96. package/esm/next/context/MapRuntimeContext.js +15 -0
  97. package/esm/next/context/MapRuntimeContext.js.map +1 -0
  98. package/esm/next/context/createGeoContext.d.ts +36 -0
  99. package/esm/next/context/createGeoContext.d.ts.map +1 -0
  100. package/esm/next/context/createGeoContext.js +45 -0
  101. package/esm/next/context/createGeoContext.js.map +1 -0
  102. package/esm/next/hooks/dataLoading/useGeoChartDataPipeline.d.ts +24 -0
  103. package/esm/next/hooks/dataLoading/useGeoChartDataPipeline.d.ts.map +1 -0
  104. package/esm/next/hooks/dataLoading/useGeoChartDataPipeline.js +64 -0
  105. package/esm/next/hooks/dataLoading/useGeoChartDataPipeline.js.map +1 -0
  106. package/esm/next/hooks/dataLoading/useNormalizedLayerExecutions.d.ts +33 -0
  107. package/esm/next/hooks/dataLoading/useNormalizedLayerExecutions.d.ts.map +1 -0
  108. package/esm/next/hooks/dataLoading/useNormalizedLayerExecutions.js +36 -0
  109. package/esm/next/hooks/dataLoading/useNormalizedLayerExecutions.js.map +1 -0
  110. package/esm/next/hooks/layers/useGeoAdapterContext.d.ts +12 -0
  111. package/esm/next/hooks/layers/useGeoAdapterContext.d.ts.map +1 -0
  112. package/esm/next/hooks/layers/useGeoAdapterContext.js +34 -0
  113. package/esm/next/hooks/layers/useGeoAdapterContext.js.map +1 -0
  114. package/esm/next/hooks/layers/useLayerTooltips.d.ts +48 -0
  115. package/esm/next/hooks/layers/useLayerTooltips.d.ts.map +1 -0
  116. package/esm/next/hooks/layers/useLayerTooltips.js +105 -0
  117. package/esm/next/hooks/layers/useLayerTooltips.js.map +1 -0
  118. package/esm/next/hooks/layers/useLayersData.d.ts +45 -0
  119. package/esm/next/hooks/layers/useLayersData.d.ts.map +1 -0
  120. package/esm/next/hooks/layers/useLayersData.js +69 -0
  121. package/esm/next/hooks/layers/useLayersData.js.map +1 -0
  122. package/esm/next/hooks/layers/useLayersExecutions.d.ts +27 -0
  123. package/esm/next/hooks/layers/useLayersExecutions.d.ts.map +1 -0
  124. package/esm/next/hooks/layers/useLayersExecutions.js +15 -0
  125. package/esm/next/hooks/layers/useLayersExecutions.js.map +1 -0
  126. package/esm/next/hooks/layers/useLayersPrepare.d.ts +83 -0
  127. package/esm/next/hooks/layers/useLayersPrepare.d.ts.map +1 -0
  128. package/esm/next/hooks/layers/useLayersPrepare.js +84 -0
  129. package/esm/next/hooks/layers/useLayersPrepare.js.map +1 -0
  130. package/esm/next/hooks/layers/useSyncLayersToMap.d.ts +23 -0
  131. package/esm/next/hooks/layers/useSyncLayersToMap.d.ts.map +1 -0
  132. package/esm/next/hooks/layers/useSyncLayersToMap.js +70 -0
  133. package/esm/next/hooks/layers/useSyncLayersToMap.js.map +1 -0
  134. package/esm/next/hooks/legend/useLegendConfig.d.ts +2 -2
  135. package/esm/next/hooks/legend/useLegendConfig.d.ts.map +1 -1
  136. package/esm/next/hooks/legend/useLegendConfig.js.map +1 -1
  137. package/esm/next/hooks/legend/useLegendDetails.d.ts +3 -3
  138. package/esm/next/hooks/legend/useLegendDetails.d.ts.map +1 -1
  139. package/esm/next/hooks/legend/useLegendDetails.js.map +1 -1
  140. package/esm/next/hooks/legend/useLegendItemClick.d.ts +2 -2
  141. package/esm/next/hooks/legend/useLegendItemClick.d.ts.map +1 -1
  142. package/esm/next/hooks/legend/useLegendItemClick.js.map +1 -1
  143. package/esm/next/hooks/legend/useLegendItemsWithState.d.ts +2 -2
  144. package/esm/next/hooks/legend/useLegendItemsWithState.d.ts.map +1 -1
  145. package/esm/next/hooks/legend/useLegendItemsWithState.js +0 -3
  146. package/esm/next/hooks/legend/useLegendItemsWithState.js.map +1 -1
  147. package/esm/next/hooks/legend/useLegendRenderState.d.ts +44 -0
  148. package/esm/next/hooks/legend/useLegendRenderState.d.ts.map +1 -0
  149. package/esm/next/hooks/legend/useLegendRenderState.js +43 -0
  150. package/esm/next/hooks/legend/useLegendRenderState.js.map +1 -0
  151. package/esm/next/hooks/legend/useSelectedSegments.d.ts +2 -2
  152. package/esm/next/hooks/legend/useSelectedSegments.d.ts.map +1 -1
  153. package/esm/next/hooks/legend/useSelectedSegments.js +0 -3
  154. package/esm/next/hooks/legend/useSelectedSegments.js.map +1 -1
  155. package/esm/next/hooks/map/useAfterRender.d.ts +4 -3
  156. package/esm/next/hooks/map/useAfterRender.d.ts.map +1 -1
  157. package/esm/next/hooks/map/useAfterRender.js +3 -16
  158. package/esm/next/hooks/map/useAfterRender.js.map +1 -1
  159. package/esm/next/hooks/map/useMapCallbacks.d.ts +3 -3
  160. package/esm/next/hooks/map/useMapCallbacks.d.ts.map +1 -1
  161. package/esm/next/hooks/map/useMapCallbacks.js.map +1 -1
  162. package/esm/next/hooks/map/useMapInitialization.d.ts +7 -8
  163. package/esm/next/hooks/map/useMapInitialization.d.ts.map +1 -1
  164. package/esm/next/hooks/map/useMapInitialization.js +20 -23
  165. package/esm/next/hooks/map/useMapInitialization.js.map +1 -1
  166. package/esm/next/hooks/map/useMapResize.d.ts +3 -3
  167. package/esm/next/hooks/map/useMapResize.d.ts.map +1 -1
  168. package/esm/next/hooks/map/useMapResize.js +3 -7
  169. package/esm/next/hooks/map/useMapResize.js.map +1 -1
  170. package/esm/next/hooks/props/useResolvedGeoChartNextProps.d.ts +21 -0
  171. package/esm/next/hooks/props/useResolvedGeoChartNextProps.d.ts.map +1 -0
  172. package/esm/next/hooks/props/useResolvedGeoChartNextProps.js +39 -0
  173. package/esm/next/hooks/props/useResolvedGeoChartNextProps.js.map +1 -0
  174. package/esm/next/hooks/pushData/useGeoPushData.d.ts +28 -0
  175. package/esm/next/hooks/pushData/useGeoPushData.d.ts.map +1 -0
  176. package/esm/next/hooks/{shared → pushData}/useGeoPushData.js +1 -1
  177. package/esm/next/hooks/pushData/useGeoPushData.js.map +1 -0
  178. package/esm/next/hooks/utils/useCallbackOnChange.d.ts +24 -0
  179. package/esm/next/hooks/utils/useCallbackOnChange.d.ts.map +1 -0
  180. package/esm/next/hooks/utils/useCallbackOnChange.js +37 -0
  181. package/esm/next/hooks/utils/useCallbackOnChange.js.map +1 -0
  182. package/esm/next/index.d.ts +28 -8
  183. package/esm/next/index.d.ts.map +1 -1
  184. package/esm/next/index.js +13 -2
  185. package/esm/next/index.js.map +1 -1
  186. package/esm/next/layers/area/adapter.d.ts +4 -0
  187. package/esm/next/layers/area/adapter.d.ts.map +1 -0
  188. package/esm/next/layers/area/adapter.js +160 -0
  189. package/esm/next/layers/area/adapter.js.map +1 -0
  190. package/esm/next/{hooks/shared/geoCollectionBoundingBox.d.ts → layers/area/boundingBox.d.ts} +4 -2
  191. package/esm/next/layers/area/boundingBox.d.ts.map +1 -0
  192. package/esm/next/{hooks/shared/geoCollectionBoundingBox.js → layers/area/boundingBox.js} +23 -16
  193. package/esm/next/layers/area/boundingBox.js.map +1 -0
  194. package/esm/next/{features/coloring/areaColorStrategy.d.ts → layers/area/coloring/colorStrategy.d.ts} +2 -2
  195. package/esm/next/layers/area/coloring/colorStrategy.d.ts.map +1 -0
  196. package/esm/next/{features/coloring/areaColorStrategy.js → layers/area/coloring/colorStrategy.js} +2 -2
  197. package/esm/next/layers/area/coloring/colorStrategy.js.map +1 -0
  198. package/esm/next/{features/coloring/areaPalette.d.ts → layers/area/coloring/palette.d.ts} +1 -1
  199. package/esm/next/layers/area/coloring/palette.d.ts.map +1 -0
  200. package/esm/next/{features/coloring/areaPalette.js → layers/area/coloring/palette.js} +7 -7
  201. package/esm/next/layers/area/coloring/palette.js.map +1 -0
  202. package/esm/next/layers/area/config/defaults.d.ts +8 -0
  203. package/esm/next/layers/area/config/defaults.d.ts.map +1 -0
  204. package/esm/next/layers/area/config/defaults.js +19 -0
  205. package/esm/next/layers/area/config/defaults.js.map +1 -0
  206. package/esm/next/layers/area/constants.d.ts +14 -0
  207. package/esm/next/layers/area/constants.d.ts.map +1 -0
  208. package/esm/next/layers/area/constants.js +15 -0
  209. package/esm/next/layers/area/constants.js.map +1 -0
  210. package/esm/next/layers/area/data/transformation.d.ts +41 -0
  211. package/esm/next/layers/area/data/transformation.d.ts.map +1 -0
  212. package/esm/next/{features/data/areaTransformation.js → layers/area/data/transformation.js} +104 -55
  213. package/esm/next/layers/area/data/transformation.js.map +1 -0
  214. package/esm/next/layers/area/layerFactory.d.ts +20 -0
  215. package/esm/next/layers/area/layerFactory.d.ts.map +1 -0
  216. package/esm/next/layers/area/layerFactory.js +26 -0
  217. package/esm/next/layers/area/layerFactory.js.map +1 -0
  218. package/esm/next/{providers/maplibre/maplibreDataLayersArea.d.ts → layers/area/layers.d.ts} +7 -7
  219. package/esm/next/layers/area/layers.d.ts.map +1 -0
  220. package/esm/next/{providers/maplibre/maplibreDataLayersArea.js → layers/area/layers.js} +10 -16
  221. package/esm/next/layers/area/layers.js.map +1 -0
  222. package/esm/next/layers/area/operations.d.ts +33 -0
  223. package/esm/next/layers/area/operations.d.ts.map +1 -0
  224. package/esm/next/layers/area/operations.js +55 -0
  225. package/esm/next/layers/area/operations.js.map +1 -0
  226. package/esm/next/layers/area/source.d.ts +36 -0
  227. package/esm/next/layers/area/source.d.ts.map +1 -0
  228. package/esm/next/{providers/maplibre/maplibreDataSourceArea.js → layers/area/source.js} +21 -80
  229. package/esm/next/layers/area/source.js.map +1 -0
  230. package/esm/next/layers/area/tooltip/tooltipManagement.d.ts +19 -0
  231. package/esm/next/layers/area/tooltip/tooltipManagement.d.ts.map +1 -0
  232. package/esm/next/layers/area/tooltip/tooltipManagement.js +127 -0
  233. package/esm/next/layers/area/tooltip/tooltipManagement.js.map +1 -0
  234. package/esm/next/layers/common/computeLegend.d.ts +34 -0
  235. package/esm/next/layers/common/computeLegend.d.ts.map +1 -0
  236. package/esm/next/layers/common/computeLegend.js +43 -0
  237. package/esm/next/layers/common/computeLegend.js.map +1 -0
  238. package/esm/next/layers/common/dimensions.d.ts +15 -0
  239. package/esm/next/layers/common/dimensions.d.ts.map +1 -0
  240. package/esm/next/layers/common/dimensions.js +24 -0
  241. package/esm/next/layers/common/dimensions.js.map +1 -0
  242. package/esm/next/layers/common/layerOps.d.ts +4 -0
  243. package/esm/next/layers/common/layerOps.d.ts.map +1 -0
  244. package/esm/next/layers/common/layerOps.js +21 -0
  245. package/esm/next/layers/common/layerOps.js.map +1 -0
  246. package/esm/next/layers/common/mapFacade.d.ts +116 -0
  247. package/esm/next/layers/common/mapFacade.d.ts.map +1 -0
  248. package/esm/next/layers/common/mapFacade.js +128 -0
  249. package/esm/next/layers/common/mapFacade.js.map +1 -0
  250. package/esm/next/layers/execution/buildLayerExecution.d.ts +15 -0
  251. package/esm/next/layers/execution/buildLayerExecution.d.ts.map +1 -0
  252. package/esm/next/layers/execution/buildLayerExecution.js +28 -0
  253. package/esm/next/layers/execution/buildLayerExecution.js.map +1 -0
  254. package/esm/next/layers/execution/layerContext.d.ts +33 -0
  255. package/esm/next/layers/execution/layerContext.d.ts.map +1 -0
  256. package/esm/next/layers/execution/layerContext.js +39 -0
  257. package/esm/next/layers/execution/layerContext.js.map +1 -0
  258. package/esm/next/layers/pushpin/adapter.d.ts +4 -0
  259. package/esm/next/layers/pushpin/adapter.d.ts.map +1 -0
  260. package/esm/next/layers/pushpin/adapter.js +122 -0
  261. package/esm/next/layers/pushpin/adapter.js.map +1 -0
  262. package/esm/next/layers/pushpin/clustering/clustering.d.ts +8 -0
  263. package/esm/next/layers/pushpin/clustering/clustering.d.ts.map +1 -0
  264. package/esm/next/layers/pushpin/clustering/clustering.js +11 -0
  265. package/esm/next/layers/pushpin/clustering/clustering.js.map +1 -0
  266. package/esm/next/{features → layers/pushpin}/coloring/colorStrategy.d.ts +2 -2
  267. package/esm/next/layers/pushpin/coloring/colorStrategy.d.ts.map +1 -0
  268. package/esm/next/{features → layers/pushpin}/coloring/colorStrategy.js +4 -4
  269. package/esm/next/layers/pushpin/coloring/colorStrategy.js.map +1 -0
  270. package/esm/next/{features → layers/pushpin}/coloring/palette.d.ts +2 -2
  271. package/esm/next/layers/pushpin/coloring/palette.d.ts.map +1 -0
  272. package/esm/next/{features → layers/pushpin}/coloring/palette.js +8 -5
  273. package/esm/next/layers/pushpin/coloring/palette.js.map +1 -0
  274. package/esm/next/layers/pushpin/config/defaults.d.ts +12 -0
  275. package/esm/next/layers/pushpin/config/defaults.d.ts.map +1 -0
  276. package/esm/next/layers/pushpin/config/defaults.js +19 -0
  277. package/esm/next/layers/pushpin/config/defaults.js.map +1 -0
  278. package/esm/next/{constants/geoChart.d.ts → layers/pushpin/constants.d.ts} +1 -9
  279. package/esm/next/layers/pushpin/constants.d.ts.map +1 -0
  280. package/esm/next/{constants/geoChart.js → layers/pushpin/constants.js} +1 -9
  281. package/esm/next/layers/pushpin/constants.js.map +1 -0
  282. package/esm/next/{features/data/pushpinTransformation.d.ts → layers/pushpin/data/transformation.d.ts} +5 -5
  283. package/esm/next/layers/pushpin/data/transformation.d.ts.map +1 -0
  284. package/esm/next/{features/data/pushpinTransformation.js → layers/pushpin/data/transformation.js} +146 -56
  285. package/esm/next/layers/pushpin/data/transformation.js.map +1 -0
  286. package/esm/next/layers/pushpin/layerFactory.d.ts +20 -0
  287. package/esm/next/layers/pushpin/layerFactory.d.ts.map +1 -0
  288. package/esm/next/layers/pushpin/layerFactory.js +26 -0
  289. package/esm/next/layers/pushpin/layerFactory.js.map +1 -0
  290. package/esm/next/{providers/maplibre/maplibreDataLayers.d.ts → layers/pushpin/layers.d.ts} +12 -8
  291. package/esm/next/layers/pushpin/layers.d.ts.map +1 -0
  292. package/esm/next/{providers/maplibre/maplibreDataLayers.js → layers/pushpin/layers.js} +39 -35
  293. package/esm/next/layers/pushpin/layers.js.map +1 -0
  294. package/esm/next/layers/pushpin/operations.d.ts +37 -0
  295. package/esm/next/layers/pushpin/operations.d.ts.map +1 -0
  296. package/esm/next/layers/pushpin/operations.js +74 -0
  297. package/esm/next/layers/pushpin/operations.js.map +1 -0
  298. package/esm/next/layers/pushpin/size/calculations.d.ts.map +1 -0
  299. package/esm/next/layers/pushpin/size/calculations.js.map +1 -0
  300. package/esm/next/layers/pushpin/source.d.ts +32 -0
  301. package/esm/next/layers/pushpin/source.d.ts.map +1 -0
  302. package/esm/next/layers/pushpin/source.js +126 -0
  303. package/esm/next/layers/pushpin/source.js.map +1 -0
  304. package/esm/next/{providers/maplibre/maplibreTooltip.d.ts → layers/pushpin/tooltip/tooltipManagement.d.ts} +13 -23
  305. package/esm/next/layers/pushpin/tooltip/tooltipManagement.d.ts.map +1 -0
  306. package/esm/next/layers/pushpin/tooltip/tooltipManagement.js +208 -0
  307. package/esm/next/layers/pushpin/tooltip/tooltipManagement.js.map +1 -0
  308. package/esm/next/layers/registry/adapterRegistry.d.ts +31 -0
  309. package/esm/next/layers/registry/adapterRegistry.d.ts.map +1 -0
  310. package/esm/next/layers/registry/adapterRegistry.js +48 -0
  311. package/esm/next/layers/registry/adapterRegistry.js.map +1 -0
  312. package/esm/next/layers/registry/adapterTypes.d.ts +295 -0
  313. package/esm/next/layers/registry/adapterTypes.d.ts.map +1 -0
  314. package/esm/next/{types/areaInternal.js → layers/registry/adapterTypes.js} +1 -1
  315. package/esm/next/layers/registry/adapterTypes.js.map +1 -0
  316. package/esm/next/layers/registry/output.d.ts +9 -0
  317. package/esm/next/layers/registry/output.d.ts.map +1 -0
  318. package/esm/next/layers/registry/output.js +22 -0
  319. package/esm/next/layers/registry/output.js.map +1 -0
  320. package/esm/next/map/MapController.d.ts +25 -0
  321. package/esm/next/map/MapController.d.ts.map +1 -0
  322. package/esm/next/map/MapController.js +39 -0
  323. package/esm/next/map/MapController.js.map +1 -0
  324. package/esm/next/{providers/maplibre/maplibreConfig.d.ts → map/runtime/mapConfig.d.ts} +5 -4
  325. package/esm/next/map/runtime/mapConfig.d.ts.map +1 -0
  326. package/esm/next/{providers/maplibre/maplibreConfig.js → map/runtime/mapConfig.js} +5 -4
  327. package/esm/next/map/runtime/mapConfig.js.map +1 -0
  328. package/esm/next/{features/map/initializeMap.d.ts → map/runtime/mapInitialization.d.ts} +3 -3
  329. package/esm/next/map/runtime/mapInitialization.d.ts.map +1 -0
  330. package/esm/next/{features/map/initializeMap.js → map/runtime/mapInitialization.js} +14 -9
  331. package/esm/next/map/runtime/mapInitialization.js.map +1 -0
  332. package/esm/next/{features/data/transformationCommon.d.ts → map/style/dataTransformation.d.ts} +1 -8
  333. package/esm/next/map/style/dataTransformation.d.ts.map +1 -0
  334. package/esm/next/{features/data/transformationCommon.js → map/style/dataTransformation.js} +1 -21
  335. package/esm/next/map/style/dataTransformation.js.map +1 -0
  336. package/esm/next/map/style/sharedDefaults.d.ts +12 -0
  337. package/esm/next/map/style/sharedDefaults.d.ts.map +1 -0
  338. package/esm/next/map/style/sharedDefaults.js +25 -0
  339. package/esm/next/map/style/sharedDefaults.js.map +1 -0
  340. package/esm/next/map/style/sharedLayers.d.ts +8 -0
  341. package/esm/next/map/style/sharedLayers.d.ts.map +1 -0
  342. package/esm/next/map/style/sharedLayers.js +18 -0
  343. package/esm/next/map/style/sharedLayers.js.map +1 -0
  344. package/esm/next/map/style/styleConfig.d.ts +3 -0
  345. package/esm/next/map/style/styleConfig.d.ts.map +1 -0
  346. package/esm/next/{providers/maplibre/style.js → map/style/styleConfig.js} +1 -1
  347. package/esm/next/map/style/styleConfig.js.map +1 -0
  348. package/esm/next/{features/tooltip/formatting.d.ts → map/style/tooltipFormatting.d.ts} +1 -1
  349. package/esm/next/map/style/tooltipFormatting.d.ts.map +1 -0
  350. package/esm/next/{features/tooltip/formatting.js → map/style/tooltipFormatting.js} +1 -1
  351. package/esm/next/map/style/tooltipFormatting.js.map +1 -0
  352. package/esm/next/map/styleReconciliation/planBuilder.d.ts +105 -0
  353. package/esm/next/map/styleReconciliation/planBuilder.d.ts.map +1 -0
  354. package/esm/next/map/styleReconciliation/planBuilder.js +83 -0
  355. package/esm/next/map/styleReconciliation/planBuilder.js.map +1 -0
  356. package/esm/next/map/styleReconciliation/reconcileStyle.d.ts +92 -0
  357. package/esm/next/map/styleReconciliation/reconcileStyle.d.ts.map +1 -0
  358. package/esm/next/map/styleReconciliation/reconcileStyle.js +121 -0
  359. package/esm/next/map/styleReconciliation/reconcileStyle.js.map +1 -0
  360. package/esm/next/map/styleReconciliation/types.d.ts +138 -0
  361. package/esm/next/map/styleReconciliation/types.d.ts.map +1 -0
  362. package/esm/next/{types/shared.js → map/styleReconciliation/types.js} +1 -1
  363. package/esm/next/map/styleReconciliation/types.js.map +1 -0
  364. package/esm/next/map/viewport/viewportCalculation.d.ts +33 -0
  365. package/esm/next/map/viewport/viewportCalculation.d.ts.map +1 -0
  366. package/esm/next/map/viewport/viewportCalculation.js +94 -0
  367. package/esm/next/map/viewport/viewportCalculation.js.map +1 -0
  368. package/esm/next/{providers/maplibre/maplibreViewport.d.ts → map/viewport/viewportPresets.d.ts} +4 -4
  369. package/esm/next/map/viewport/viewportPresets.d.ts.map +1 -0
  370. package/esm/next/{providers/maplibre/maplibreViewport.js → map/viewport/viewportPresets.js} +9 -13
  371. package/esm/next/map/viewport/viewportPresets.js.map +1 -0
  372. package/esm/next/map/viewport.d.ts +8 -0
  373. package/esm/next/map/viewport.d.ts.map +1 -0
  374. package/esm/next/map/viewport.js +44 -0
  375. package/esm/next/map/viewport.js.map +1 -0
  376. package/esm/next/pushData/PushDataSync.d.ts +12 -0
  377. package/esm/next/pushData/PushDataSync.d.ts.map +1 -0
  378. package/esm/next/pushData/PushDataSync.js +16 -0
  379. package/esm/next/pushData/PushDataSync.js.map +1 -0
  380. package/esm/next/types/common/callbacks.d.ts +14 -0
  381. package/esm/next/types/common/callbacks.d.ts.map +1 -0
  382. package/esm/next/types/{areaPublic.js → common/callbacks.js} +1 -1
  383. package/esm/next/types/common/callbacks.js.map +1 -0
  384. package/esm/next/types/common/coordinates.d.ts +31 -0
  385. package/esm/next/types/common/coordinates.d.ts.map +1 -0
  386. package/esm/next/types/{areaConfig.js → common/coordinates.js} +1 -1
  387. package/esm/next/types/common/coordinates.js.map +1 -0
  388. package/esm/next/types/common/legends.d.ts +56 -0
  389. package/esm/next/types/common/legends.d.ts.map +1 -0
  390. package/esm/next/types/common/legends.js +3 -0
  391. package/esm/next/types/common/legends.js.map +1 -0
  392. package/esm/next/types/config/areaChart.d.ts +37 -0
  393. package/esm/next/types/config/areaChart.d.ts.map +1 -0
  394. package/esm/next/types/config/areaChart.js +3 -0
  395. package/esm/next/types/config/areaChart.js.map +1 -0
  396. package/esm/next/types/config/areas.d.ts +23 -0
  397. package/esm/next/types/config/areas.d.ts.map +1 -0
  398. package/esm/next/types/{config.js → config/areas.js} +1 -1
  399. package/esm/next/types/config/areas.js.map +1 -0
  400. package/esm/next/types/config/legend.d.ts +26 -0
  401. package/esm/next/types/config/legend.d.ts.map +1 -0
  402. package/esm/next/types/config/legend.js +3 -0
  403. package/esm/next/types/config/legend.js.map +1 -0
  404. package/esm/next/types/config/points.d.ts +44 -0
  405. package/esm/next/types/config/points.d.ts.map +1 -0
  406. package/esm/next/types/config/points.js +23 -0
  407. package/esm/next/types/config/points.js.map +1 -0
  408. package/esm/next/types/config/pushpinChart.d.ts +37 -0
  409. package/esm/next/types/config/pushpinChart.d.ts.map +1 -0
  410. package/esm/next/types/config/pushpinChart.js +3 -0
  411. package/esm/next/types/config/pushpinChart.js.map +1 -0
  412. package/esm/next/types/config/unified.d.ts +93 -0
  413. package/esm/next/types/config/unified.d.ts.map +1 -0
  414. package/esm/next/types/config/unified.js +3 -0
  415. package/esm/next/types/config/unified.js.map +1 -0
  416. package/esm/next/types/config/viewport.d.ts +38 -0
  417. package/esm/next/types/config/viewport.d.ts.map +1 -0
  418. package/esm/next/types/config/viewport.js +25 -0
  419. package/esm/next/types/config/viewport.js.map +1 -0
  420. package/esm/next/types/geoData/area.d.ts +32 -0
  421. package/esm/next/types/geoData/area.d.ts.map +1 -0
  422. package/esm/next/types/geoData/area.js +3 -0
  423. package/esm/next/types/geoData/area.js.map +1 -0
  424. package/esm/next/types/geoData/common.d.ts +72 -0
  425. package/esm/next/types/geoData/common.d.ts.map +1 -0
  426. package/esm/next/types/geoData/common.js +3 -0
  427. package/esm/next/types/geoData/common.js.map +1 -0
  428. package/esm/next/types/geoData/pushpin.d.ts +51 -0
  429. package/esm/next/types/geoData/pushpin.d.ts.map +1 -0
  430. package/esm/next/types/geoData/pushpin.js +3 -0
  431. package/esm/next/types/geoData/pushpin.js.map +1 -0
  432. package/esm/next/types/geoData/typeGuards.d.ts +21 -0
  433. package/esm/next/types/geoData/typeGuards.d.ts.map +1 -0
  434. package/esm/next/types/geoData/typeGuards.js +24 -0
  435. package/esm/next/types/geoData/typeGuards.js.map +1 -0
  436. package/esm/next/types/layers/index.d.ts +207 -0
  437. package/esm/next/types/layers/index.d.ts.map +1 -0
  438. package/esm/next/types/layers/index.js +31 -0
  439. package/esm/next/types/layers/index.js.map +1 -0
  440. package/esm/next/types/{mapProvider.d.ts → map/provider.d.ts} +5 -51
  441. package/esm/next/types/map/provider.d.ts.map +1 -0
  442. package/esm/next/types/map/provider.js +3 -0
  443. package/esm/next/types/map/provider.js.map +1 -0
  444. package/esm/next/types/props/areaChart/internal.d.ts +43 -0
  445. package/esm/next/types/props/areaChart/internal.d.ts.map +1 -0
  446. package/esm/next/types/props/areaChart/internal.js.map +1 -0
  447. package/esm/next/types/props/areaChart/public.d.ts +73 -0
  448. package/esm/next/types/props/areaChart/public.d.ts.map +1 -0
  449. package/esm/next/types/props/areaChart/public.js +3 -0
  450. package/esm/next/types/props/areaChart/public.js.map +1 -0
  451. package/esm/next/types/props/geoChartNext/internal.d.ts +92 -0
  452. package/esm/next/types/props/geoChartNext/internal.d.ts.map +1 -0
  453. package/esm/next/types/props/geoChartNext/internal.js +3 -0
  454. package/esm/next/types/props/geoChartNext/internal.js.map +1 -0
  455. package/esm/next/types/props/geoChartNext/public.d.ts +50 -0
  456. package/esm/next/types/props/geoChartNext/public.d.ts.map +1 -0
  457. package/esm/next/types/props/geoChartNext/public.js +3 -0
  458. package/esm/next/types/props/geoChartNext/public.js.map +1 -0
  459. package/esm/next/types/props/pushpinChart/internal.d.ts +43 -0
  460. package/esm/next/types/props/pushpinChart/internal.d.ts.map +1 -0
  461. package/esm/next/types/props/pushpinChart/internal.js +3 -0
  462. package/esm/next/types/props/pushpinChart/internal.js.map +1 -0
  463. package/esm/next/types/props/pushpinChart/public.d.ts +81 -0
  464. package/esm/next/types/props/pushpinChart/public.d.ts.map +1 -0
  465. package/esm/next/types/props/pushpinChart/public.js +3 -0
  466. package/esm/next/types/props/pushpinChart/public.js.map +1 -0
  467. package/esm/next/utils/dataValidation.d.ts +85 -0
  468. package/esm/next/utils/dataValidation.d.ts.map +1 -0
  469. package/esm/next/utils/dataValidation.js +82 -0
  470. package/esm/next/utils/dataValidation.js.map +1 -0
  471. package/esm/next/utils/fingerprint.d.ts +39 -0
  472. package/esm/next/utils/fingerprint.d.ts.map +1 -0
  473. package/esm/next/utils/fingerprint.js +44 -0
  474. package/esm/next/utils/fingerprint.js.map +1 -0
  475. package/esm/next/utils/geoCollection.d.ts +0 -7
  476. package/esm/next/utils/geoCollection.d.ts.map +1 -1
  477. package/esm/next/utils/geoCollection.js +15 -61
  478. package/esm/next/utils/geoCollection.js.map +1 -1
  479. package/esm/next/utils/geoHeaders.d.ts +12 -0
  480. package/esm/next/utils/geoHeaders.d.ts.map +1 -0
  481. package/esm/next/utils/geoHeaders.js +12 -0
  482. package/esm/next/utils/geoHeaders.js.map +1 -0
  483. package/esm/next/utils/guards.d.ts +18 -0
  484. package/esm/next/utils/guards.d.ts.map +1 -0
  485. package/esm/next/utils/guards.js +41 -0
  486. package/esm/next/utils/guards.js.map +1 -0
  487. package/esm/next/utils/layerConversion.d.ts +38 -0
  488. package/esm/next/utils/layerConversion.d.ts.map +1 -0
  489. package/esm/next/utils/layerConversion.js +244 -0
  490. package/esm/next/utils/layerConversion.js.map +1 -0
  491. package/package.json +9 -9
  492. package/styles/css/main.css +18 -0
  493. package/styles/css/main.css.map +1 -1
  494. package/styles/scss/geo-chart-next.scss +24 -0
  495. package/styles/scss/main.scss +1 -0
  496. package/esm/next/RenderGeoAreaChart.d.ts +0 -15
  497. package/esm/next/RenderGeoAreaChart.d.ts.map +0 -1
  498. package/esm/next/RenderGeoAreaChart.js +0 -104
  499. package/esm/next/RenderGeoAreaChart.js.map +0 -1
  500. package/esm/next/RenderGeoPushpinChart.d.ts +0 -15
  501. package/esm/next/RenderGeoPushpinChart.d.ts.map +0 -1
  502. package/esm/next/RenderGeoPushpinChart.js +0 -111
  503. package/esm/next/RenderGeoPushpinChart.js.map +0 -1
  504. package/esm/next/components/ErrorComponent.d.ts +0 -13
  505. package/esm/next/components/ErrorComponent.d.ts.map +0 -1
  506. package/esm/next/components/ErrorComponent.js.map +0 -1
  507. package/esm/next/components/LoadingComponent.d.ts +0 -5
  508. package/esm/next/components/LoadingComponent.d.ts.map +0 -1
  509. package/esm/next/components/LoadingComponent.js.map +0 -1
  510. package/esm/next/constants/geoChart.d.ts.map +0 -1
  511. package/esm/next/constants/geoChart.js.map +0 -1
  512. package/esm/next/constants/internal.d.ts.map +0 -1
  513. package/esm/next/constants/internal.js.map +0 -1
  514. package/esm/next/context/GeoAreaCollectionContext.d.ts +0 -24
  515. package/esm/next/context/GeoAreaCollectionContext.d.ts.map +0 -1
  516. package/esm/next/context/GeoAreaCollectionContext.js +0 -39
  517. package/esm/next/context/GeoAreaCollectionContext.js.map +0 -1
  518. package/esm/next/context/GeoAreaDataContext.d.ts +0 -69
  519. package/esm/next/context/GeoAreaDataContext.d.ts.map +0 -1
  520. package/esm/next/context/GeoAreaDataContext.js +0 -87
  521. package/esm/next/context/GeoAreaDataContext.js.map +0 -1
  522. package/esm/next/context/GeoAreaPropsContext.d.ts +0 -47
  523. package/esm/next/context/GeoAreaPropsContext.d.ts.map +0 -1
  524. package/esm/next/context/GeoAreaPropsContext.js +0 -84
  525. package/esm/next/context/GeoAreaPropsContext.js.map +0 -1
  526. package/esm/next/context/GeoPushpinDataContext.d.ts +0 -14
  527. package/esm/next/context/GeoPushpinDataContext.d.ts.map +0 -1
  528. package/esm/next/context/GeoPushpinDataContext.js +0 -51
  529. package/esm/next/context/GeoPushpinDataContext.js.map +0 -1
  530. package/esm/next/context/GeoPushpinPropsContext.d.ts +0 -47
  531. package/esm/next/context/GeoPushpinPropsContext.d.ts.map +0 -1
  532. package/esm/next/context/GeoPushpinPropsContext.js +0 -81
  533. package/esm/next/context/GeoPushpinPropsContext.js.map +0 -1
  534. package/esm/next/context/MapInstanceContext.d.ts +0 -42
  535. package/esm/next/context/MapInstanceContext.d.ts.map +0 -1
  536. package/esm/next/context/MapInstanceContext.js +0 -62
  537. package/esm/next/context/MapInstanceContext.js.map +0 -1
  538. package/esm/next/features/clustering/clustering.d.ts +0 -23
  539. package/esm/next/features/clustering/clustering.d.ts.map +0 -1
  540. package/esm/next/features/clustering/clustering.js +0 -26
  541. package/esm/next/features/clustering/clustering.js.map +0 -1
  542. package/esm/next/features/coloring/areaColorStrategy.d.ts.map +0 -1
  543. package/esm/next/features/coloring/areaColorStrategy.js.map +0 -1
  544. package/esm/next/features/coloring/areaPalette.d.ts.map +0 -1
  545. package/esm/next/features/coloring/areaPalette.js.map +0 -1
  546. package/esm/next/features/coloring/colorStrategy.d.ts.map +0 -1
  547. package/esm/next/features/coloring/colorStrategy.js.map +0 -1
  548. package/esm/next/features/coloring/palette.d.ts.map +0 -1
  549. package/esm/next/features/coloring/palette.js.map +0 -1
  550. package/esm/next/features/data/areaTransformation.d.ts +0 -60
  551. package/esm/next/features/data/areaTransformation.d.ts.map +0 -1
  552. package/esm/next/features/data/areaTransformation.js.map +0 -1
  553. package/esm/next/features/data/dataSourceManagement.d.ts +0 -20
  554. package/esm/next/features/data/dataSourceManagement.d.ts.map +0 -1
  555. package/esm/next/features/data/dataSourceManagement.js +0 -30
  556. package/esm/next/features/data/dataSourceManagement.js.map +0 -1
  557. package/esm/next/features/data/pushpinTransformation.d.ts.map +0 -1
  558. package/esm/next/features/data/pushpinTransformation.js.map +0 -1
  559. package/esm/next/features/data/transformationCommon.d.ts.map +0 -1
  560. package/esm/next/features/data/transformationCommon.js.map +0 -1
  561. package/esm/next/features/map/areaLayerManagement.d.ts +0 -51
  562. package/esm/next/features/map/areaLayerManagement.d.ts.map +0 -1
  563. package/esm/next/features/map/areaLayerManagement.js +0 -81
  564. package/esm/next/features/map/areaLayerManagement.js.map +0 -1
  565. package/esm/next/features/map/initializeMap.d.ts.map +0 -1
  566. package/esm/next/features/map/initializeMap.js.map +0 -1
  567. package/esm/next/features/map/layerManagement.d.ts +0 -51
  568. package/esm/next/features/map/layerManagement.d.ts.map +0 -1
  569. package/esm/next/features/map/layerManagement.js +0 -95
  570. package/esm/next/features/map/layerManagement.js.map +0 -1
  571. package/esm/next/features/map/viewportManagement.d.ts +0 -89
  572. package/esm/next/features/map/viewportManagement.d.ts.map +0 -1
  573. package/esm/next/features/map/viewportManagement.js +0 -223
  574. package/esm/next/features/map/viewportManagement.js.map +0 -1
  575. package/esm/next/features/size/calculations.d.ts.map +0 -1
  576. package/esm/next/features/size/calculations.js.map +0 -1
  577. package/esm/next/features/tooltip/formatting.d.ts.map +0 -1
  578. package/esm/next/features/tooltip/formatting.js.map +0 -1
  579. package/esm/next/features/tooltip/tooltipManagement.d.ts +0 -47
  580. package/esm/next/features/tooltip/tooltipManagement.d.ts.map +0 -1
  581. package/esm/next/features/tooltip/tooltipManagement.js +0 -77
  582. package/esm/next/features/tooltip/tooltipManagement.js.map +0 -1
  583. package/esm/next/helpers/areaAttributeResolver.d.ts +0 -10
  584. package/esm/next/helpers/areaAttributeResolver.d.ts.map +0 -1
  585. package/esm/next/helpers/areaAttributeResolver.js +0 -26
  586. package/esm/next/helpers/areaAttributeResolver.js.map +0 -1
  587. package/esm/next/hooks/init/useInitExecution.d.ts +0 -32
  588. package/esm/next/hooks/init/useInitExecution.d.ts.map +0 -1
  589. package/esm/next/hooks/init/useInitExecution.js +0 -107
  590. package/esm/next/hooks/init/useInitExecution.js.map +0 -1
  591. package/esm/next/hooks/init/useInitExecutionResult.d.ts +0 -17
  592. package/esm/next/hooks/init/useInitExecutionResult.d.ts.map +0 -1
  593. package/esm/next/hooks/init/useInitExecutionResult.js +0 -51
  594. package/esm/next/hooks/init/useInitExecutionResult.js.map +0 -1
  595. package/esm/next/hooks/legend/useAreaLegendItems.d.ts +0 -27
  596. package/esm/next/hooks/legend/useAreaLegendItems.d.ts.map +0 -1
  597. package/esm/next/hooks/legend/useAreaLegendItems.js +0 -33
  598. package/esm/next/hooks/legend/useAreaLegendItems.js.map +0 -1
  599. package/esm/next/hooks/legend/useLegendProps.d.ts +0 -53
  600. package/esm/next/hooks/legend/useLegendProps.d.ts.map +0 -1
  601. package/esm/next/hooks/legend/useLegendProps.js +0 -38
  602. package/esm/next/hooks/legend/useLegendProps.js.map +0 -1
  603. package/esm/next/hooks/legend/usePushpinLegendItems.d.ts +0 -27
  604. package/esm/next/hooks/legend/usePushpinLegendItems.d.ts.map +0 -1
  605. package/esm/next/hooks/legend/usePushpinLegendItems.js +0 -33
  606. package/esm/next/hooks/legend/usePushpinLegendItems.js.map +0 -1
  607. package/esm/next/hooks/map/useAreaMapDataSync.d.ts +0 -9
  608. package/esm/next/hooks/map/useAreaMapDataSync.d.ts.map +0 -1
  609. package/esm/next/hooks/map/useAreaMapDataSync.js +0 -71
  610. package/esm/next/hooks/map/useAreaMapDataSync.js.map +0 -1
  611. package/esm/next/hooks/map/useMapDataSync.d.ts +0 -44
  612. package/esm/next/hooks/map/useMapDataSync.d.ts.map +0 -1
  613. package/esm/next/hooks/map/useMapDataSync.js +0 -87
  614. package/esm/next/hooks/map/useMapDataSync.js.map +0 -1
  615. package/esm/next/hooks/map/useTooltipHandlers.d.ts +0 -22
  616. package/esm/next/hooks/map/useTooltipHandlers.d.ts.map +0 -1
  617. package/esm/next/hooks/map/useTooltipHandlers.js +0 -28
  618. package/esm/next/hooks/map/useTooltipHandlers.js.map +0 -1
  619. package/esm/next/hooks/shared/geoCollectionBoundingBox.d.ts.map +0 -1
  620. package/esm/next/hooks/shared/geoCollectionBoundingBox.js.map +0 -1
  621. package/esm/next/hooks/shared/useAreaCollectionFeatures.d.ts +0 -43
  622. package/esm/next/hooks/shared/useAreaCollectionFeatures.d.ts.map +0 -1
  623. package/esm/next/hooks/shared/useAreaCollectionFeatures.js +0 -213
  624. package/esm/next/hooks/shared/useAreaCollectionFeatures.js.map +0 -1
  625. package/esm/next/hooks/shared/useAreaDataTransformation.d.ts +0 -21
  626. package/esm/next/hooks/shared/useAreaDataTransformation.d.ts.map +0 -1
  627. package/esm/next/hooks/shared/useAreaDataTransformation.js +0 -25
  628. package/esm/next/hooks/shared/useAreaDataTransformation.js.map +0 -1
  629. package/esm/next/hooks/shared/useAreaPushData.d.ts +0 -11
  630. package/esm/next/hooks/shared/useAreaPushData.d.ts.map +0 -1
  631. package/esm/next/hooks/shared/useAreaPushData.js +0 -20
  632. package/esm/next/hooks/shared/useAreaPushData.js.map +0 -1
  633. package/esm/next/hooks/shared/useGeoDataTransformation.d.ts +0 -9
  634. package/esm/next/hooks/shared/useGeoDataTransformation.d.ts.map +0 -1
  635. package/esm/next/hooks/shared/useGeoDataTransformation.js +0 -20
  636. package/esm/next/hooks/shared/useGeoDataTransformation.js.map +0 -1
  637. package/esm/next/hooks/shared/useGeoPushData.d.ts +0 -20
  638. package/esm/next/hooks/shared/useGeoPushData.d.ts.map +0 -1
  639. package/esm/next/hooks/shared/useGeoPushData.js.map +0 -1
  640. package/esm/next/hooks/shared/usePushData.d.ts +0 -8
  641. package/esm/next/hooks/shared/usePushData.d.ts.map +0 -1
  642. package/esm/next/hooks/shared/usePushData.js +0 -15
  643. package/esm/next/hooks/shared/usePushData.js.map +0 -1
  644. package/esm/next/hooks/shared/usePushpinDataTransformation.d.ts +0 -23
  645. package/esm/next/hooks/shared/usePushpinDataTransformation.d.ts.map +0 -1
  646. package/esm/next/hooks/shared/usePushpinDataTransformation.js +0 -27
  647. package/esm/next/hooks/shared/usePushpinDataTransformation.js.map +0 -1
  648. package/esm/next/hooks/shared/useResolvedAreaProps.d.ts +0 -16
  649. package/esm/next/hooks/shared/useResolvedAreaProps.d.ts.map +0 -1
  650. package/esm/next/hooks/shared/useResolvedAreaProps.js +0 -36
  651. package/esm/next/hooks/shared/useResolvedAreaProps.js.map +0 -1
  652. package/esm/next/hooks/shared/useResolvedPlaceholderValues.d.ts +0 -8
  653. package/esm/next/hooks/shared/useResolvedPlaceholderValues.d.ts.map +0 -1
  654. package/esm/next/hooks/shared/useResolvedPlaceholderValues.js +0 -11
  655. package/esm/next/hooks/shared/useResolvedPlaceholderValues.js.map +0 -1
  656. package/esm/next/hooks/shared/useResolvedProps.d.ts +0 -16
  657. package/esm/next/hooks/shared/useResolvedProps.d.ts.map +0 -1
  658. package/esm/next/hooks/shared/useResolvedProps.js +0 -40
  659. package/esm/next/hooks/shared/useResolvedProps.js.map +0 -1
  660. package/esm/next/hooks/shared/useSegmentLegendItems.d.ts +0 -17
  661. package/esm/next/hooks/shared/useSegmentLegendItems.d.ts.map +0 -1
  662. package/esm/next/hooks/shared/useSegmentLegendItems.js +0 -33
  663. package/esm/next/hooks/shared/useSegmentLegendItems.js.map +0 -1
  664. package/esm/next/providers/maplibre/maplibreConfig.d.ts.map +0 -1
  665. package/esm/next/providers/maplibre/maplibreConfig.js.map +0 -1
  666. package/esm/next/providers/maplibre/maplibreDataLayers.d.ts.map +0 -1
  667. package/esm/next/providers/maplibre/maplibreDataLayers.js.map +0 -1
  668. package/esm/next/providers/maplibre/maplibreDataLayersArea.d.ts.map +0 -1
  669. package/esm/next/providers/maplibre/maplibreDataLayersArea.js.map +0 -1
  670. package/esm/next/providers/maplibre/maplibreDataSource.d.ts +0 -28
  671. package/esm/next/providers/maplibre/maplibreDataSource.d.ts.map +0 -1
  672. package/esm/next/providers/maplibre/maplibreDataSource.js +0 -117
  673. package/esm/next/providers/maplibre/maplibreDataSource.js.map +0 -1
  674. package/esm/next/providers/maplibre/maplibreDataSourceArea.d.ts +0 -34
  675. package/esm/next/providers/maplibre/maplibreDataSourceArea.d.ts.map +0 -1
  676. package/esm/next/providers/maplibre/maplibreDataSourceArea.js.map +0 -1
  677. package/esm/next/providers/maplibre/maplibreTooltip.d.ts.map +0 -1
  678. package/esm/next/providers/maplibre/maplibreTooltip.js +0 -174
  679. package/esm/next/providers/maplibre/maplibreTooltip.js.map +0 -1
  680. package/esm/next/providers/maplibre/maplibreViewport.d.ts.map +0 -1
  681. package/esm/next/providers/maplibre/maplibreViewport.js.map +0 -1
  682. package/esm/next/providers/maplibre/style.d.ts +0 -3
  683. package/esm/next/providers/maplibre/style.d.ts.map +0 -1
  684. package/esm/next/providers/maplibre/style.js.map +0 -1
  685. package/esm/next/types/areaConfig.d.ts +0 -68
  686. package/esm/next/types/areaConfig.d.ts.map +0 -1
  687. package/esm/next/types/areaConfig.js.map +0 -1
  688. package/esm/next/types/areaInternal.d.ts +0 -13
  689. package/esm/next/types/areaInternal.d.ts.map +0 -1
  690. package/esm/next/types/areaInternal.js.map +0 -1
  691. package/esm/next/types/areaPublic.d.ts +0 -68
  692. package/esm/next/types/areaPublic.d.ts.map +0 -1
  693. package/esm/next/types/areaPublic.js.map +0 -1
  694. package/esm/next/types/config.d.ts +0 -89
  695. package/esm/next/types/config.d.ts.map +0 -1
  696. package/esm/next/types/config.js.map +0 -1
  697. package/esm/next/types/internal.d.ts +0 -17
  698. package/esm/next/types/internal.d.ts.map +0 -1
  699. package/esm/next/types/internal.js.map +0 -1
  700. package/esm/next/types/mapProvider.d.ts.map +0 -1
  701. package/esm/next/types/mapProvider.js +0 -3
  702. package/esm/next/types/mapProvider.js.map +0 -1
  703. package/esm/next/types/public.d.ts +0 -84
  704. package/esm/next/types/public.d.ts.map +0 -1
  705. package/esm/next/types/public.js +0 -15
  706. package/esm/next/types/public.js.map +0 -1
  707. package/esm/next/types/shared.d.ts +0 -245
  708. package/esm/next/types/shared.d.ts.map +0 -1
  709. package/esm/next/types/shared.js.map +0 -1
  710. /package/esm/next/{features → layers/pushpin}/size/calculations.d.ts +0 -0
  711. /package/esm/next/{features → layers/pushpin}/size/calculations.js +0 -0
  712. /package/esm/next/types/{internal.js → props/areaChart/internal.js} +0 -0
@@ -1,61 +1,21 @@
1
1
  // (C) 2025 GoodData Corporation
2
- import { getAreaAreaColors } from "../../features/coloring/areaPalette.js";
2
+ import { geoFeatureId } from "@gooddata/sdk-model";
3
+ import { getAreaAreaColors } from "./coloring/palette.js";
3
4
  function toMaplibreProperties(base, updates) {
4
5
  return {
5
6
  ...(base ?? {}),
6
7
  ...updates,
7
8
  };
8
9
  }
9
- function extractString(value) {
10
- if (typeof value === "string" && value.length > 0) {
11
- return value;
12
- }
13
- if (typeof value === "number") {
14
- return String(value);
15
- }
16
- if (value && typeof value === "object" && "value" in value) {
17
- const nested = value.value;
18
- return extractString(nested);
19
- }
20
- return undefined;
21
- }
22
- function collectFeatureKeys(feature) {
23
- const props = (feature.properties ?? {});
24
- const unique = new Set();
25
- const addCandidate = (candidate) => {
26
- if (candidate) {
27
- unique.add(candidate);
28
- }
29
- };
30
- const prioritizedKeys = [
31
- "matchingValue",
32
- "matchingValues",
33
- "id",
34
- "areaId",
35
- "areaCode",
36
- "areaUri",
37
- "region",
38
- "code",
39
- ];
40
- for (const key of prioritizedKeys) {
41
- addCandidate(extractString(props[key]));
42
- }
43
- addCandidate(extractString(feature.id));
44
- for (const value of Object.values(props)) {
45
- addCandidate(extractString(value));
46
- }
47
- return Array.from(unique);
48
- }
49
10
  function buildFeatureIndex(features) {
50
11
  const map = new Map();
51
12
  if (!features) {
52
13
  return map;
53
14
  }
54
15
  for (const feature of features) {
55
- for (const key of collectFeatureKeys(feature)) {
56
- if (!map.has(key)) {
57
- map.set(key, feature);
58
- }
16
+ const id = geoFeatureId(feature);
17
+ if (id && !map.has(id)) {
18
+ map.set(id, feature);
59
19
  }
60
20
  }
61
21
  return map;
@@ -64,15 +24,12 @@ function toMaplibreFeature(feature) {
64
24
  if (!feature) {
65
25
  return undefined;
66
26
  }
67
- const geometry = feature.geometry;
68
- const properties = feature.properties;
27
+ const geometry = feature.geometry ?? createPlaceholderGeometry();
28
+ const properties = feature.properties ?? {};
69
29
  return {
70
30
  type: "Feature",
71
- geometry: geometry ?? {
72
- type: "Polygon",
73
- coordinates: [[]],
74
- },
75
- properties: properties ?? {},
31
+ geometry,
32
+ properties,
76
33
  };
77
34
  }
78
35
  function createPlaceholderGeometry() {
@@ -82,7 +39,7 @@ function createPlaceholderGeometry() {
82
39
  };
83
40
  }
84
41
  function buildAreaProperties(args) {
85
- const { index, areaIdentifier, areaUri, areaNameTitle, tooltipValue, colorTitle, colorValue, colorFormat, areaColorFill, segmentTitle, segmentValue, segmentUri, } = args;
42
+ const { index, areaIdentifier, areaUri, areaNameTitle, tooltipValue, tooltipTitle, colorTitle, colorValue, colorFormat, areaColorFill, segmentTitle, segmentValue, segmentUri, } = args;
86
43
  const properties = {
87
44
  areaId: areaIdentifier,
88
45
  areaUri,
@@ -101,6 +58,7 @@ function buildAreaProperties(args) {
101
58
  };
102
59
  if (tooltipValue !== undefined) {
103
60
  properties["tooltipText"] = {
61
+ title: tooltipTitle ?? "",
104
62
  value: tooltipValue,
105
63
  };
106
64
  }
@@ -113,25 +71,7 @@ function buildAreaProperties(args) {
113
71
  }
114
72
  return properties;
115
73
  }
116
- /**
117
- * Transforms area data to GeoJSON features
118
- *
119
- * @remarks
120
- * This function creates GeoJSON features with polygon geometries for area visualization.
121
- * In a production implementation, this would load actual boundary geometries (from GeoJSON files
122
- * or a boundaries service) and match them with data values.
123
- *
124
- * For this initial implementation, we create placeholder geometries that will be replaced
125
- * with actual boundary data from a GeoJSON boundaries provider.
126
- *
127
- * @param config - Area configuration
128
- * @param geoData - Area geographic data
129
- * @param colorStrategy - Color strategy for area styling
130
- * @returns Array of GeoJSON features
131
- *
132
- * @internal
133
- */
134
- function transformAreaDataSource({ geoData, colorStrategy, features, }) {
74
+ function createAreaFeatures({ geoData, colorStrategy, features, }) {
135
75
  const { color, area, segment, tooltipText } = geoData;
136
76
  if (!area) {
137
77
  return [];
@@ -142,6 +82,7 @@ function transformAreaDataSource({ geoData, colorStrategy, features, }) {
142
82
  const areaIdentifiers = area.data;
143
83
  const areaUris = area.uris;
144
84
  const tooltipTextData = tooltipText?.data ?? [];
85
+ const tooltipTextTitle = tooltipText?.name ?? (tooltipTextData.length ? "Tooltip" : undefined);
145
86
  const segmentData = segment?.data ?? [];
146
87
  const segmentUris = segment?.uris ?? [];
147
88
  const colorData = color?.data ?? [];
@@ -167,6 +108,7 @@ function transformAreaDataSource({ geoData, colorStrategy, features, }) {
167
108
  areaUri,
168
109
  areaNameTitle,
169
110
  tooltipValue,
111
+ tooltipTitle: tooltipTextTitle,
170
112
  colorTitle,
171
113
  colorValue: typeof colorValue === "number" ? colorValue : undefined,
172
114
  colorFormat,
@@ -184,20 +126,19 @@ function transformAreaDataSource({ geoData, colorStrategy, features, }) {
184
126
  }, []);
185
127
  }
186
128
  /**
187
- * Creates a GeoJSON data source for area visualization
129
+ * Creates a GeoJSON data source for area visualization.
188
130
  *
189
131
  * @remarks
190
- * Creates a GeoJSON source with polygon features for area-based visualization.
191
- * In production, this should integrate with a boundaries provider to load
192
- * actual geographic polygon data.
132
+ * Transforms area geo data into a complete GeoJSON source specification
133
+ * with polygon features for MapLibre rendering.
193
134
  *
194
135
  * @param dataSourceProps - Properties containing area data, config, and styling
195
136
  * @returns GeoJSON source specification for MapLibre
196
137
  *
197
138
  * @alpha
198
139
  */
199
- export const createAreaDataSource = (dataSourceProps) => {
200
- const features = transformAreaDataSource(dataSourceProps);
140
+ export function createAreaDataSource(dataSourceProps) {
141
+ const features = createAreaFeatures(dataSourceProps);
201
142
  return {
202
143
  type: "geojson",
203
144
  data: {
@@ -205,5 +146,5 @@ export const createAreaDataSource = (dataSourceProps) => {
205
146
  features,
206
147
  },
207
148
  };
208
- };
209
- //# sourceMappingURL=maplibreDataSourceArea.js.map
149
+ }
150
+ //# sourceMappingURL=source.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"source.js","sourceRoot":"","sources":["../../../../src/next/layers/area/source.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAEhC,OAAO,EAAmB,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAIpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAsB1D,SAAS,oBAAoB,CACzB,IAA2C,EAC3C,OAAkC;IAElC,OAAO;QACH,GAAG,CAAC,IAAI,IAAI,EAAE,CAAC;QACf,GAAG,OAAO;KACb,CAAC;AACN,CAAC;AAED,SAAS,iBAAiB,CAAC,QAAuC;IAC9D,MAAM,GAAG,GAAG,IAAI,GAAG,EAA2B,CAAC;IAE/C,IAAI,CAAC,QAAQ,EAAE,CAAC;QACZ,OAAO,GAAG,CAAC;IACf,CAAC;IAED,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;QAC7B,MAAM,EAAE,GAAG,YAAY,CAAC,OAAO,CAAC,CAAC;QACjC,IAAI,EAAE,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC;YACrB,GAAG,CAAC,GAAG,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC;QACzB,CAAC;IACL,CAAC;IAED,OAAO,GAAG,CAAC;AACf,CAAC;AAED,SAAS,iBAAiB,CAAC,OAAoC;IAC3D,IAAI,CAAC,OAAO,EAAE,CAAC;QACX,OAAO,SAAS,CAAC;IACrB,CAAC;IAED,MAAM,QAAQ,GAAG,OAAO,CAAC,QAAQ,IAAI,yBAAyB,EAAE,CAAC;IACjE,MAAM,UAAU,GAAG,OAAO,CAAC,UAAU,IAAI,EAAE,CAAC;IAE5C,OAAO;QACH,IAAI,EAAE,SAAS;QACf,QAAQ;QACR,UAAU;KACb,CAAC;AACN,CAAC;AAED,SAAS,yBAAyB;IAC9B,OAAO;QACH,IAAI,EAAE,SAAS;QACf,WAAW,EAAE,C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IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACF,IAAI,EAAE,mBAAmB;YACzB,QAAQ;SACX;KACJ,CAAC;AACN,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { IntlShape } from "react-intl";
2
+ import { IHeaderPredicate } from "@gooddata/sdk-ui";
3
+ import { IGeoAreaChartConfig } from "../../../types/config/areaChart.js";
4
+ import type { IPopupFacade } from "../../common/mapFacade.js";
5
+ import type { IGeoTooltipConfig } from "../../registry/adapterTypes.js";
6
+ /**
7
+ * Creates tooltip configuration for the unified tooltip handler.
8
+ *
9
+ * @param tooltip - Popup facade for displaying tooltips
10
+ * @param config - Chart configuration
11
+ * @param _drillableItems - Drillable items predicates (unused for area)
12
+ * @param _intl - Internationalization instance (unused for area)
13
+ * @param layerIds - MapLibre layer IDs to monitor
14
+ * @returns Tooltip configuration for unified handling
15
+ *
16
+ * @internal
17
+ */
18
+ export declare function createAreaTooltipConfig(tooltip: IPopupFacade, config: IGeoAreaChartConfig, _drillableItems: IHeaderPredicate[] | undefined, _intl: IntlShape, layerIds: string[]): IGeoTooltipConfig;
19
+ //# sourceMappingURL=tooltipManagement.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tooltipManagement.d.ts","sourceRoot":"","sources":["../../../../../src/next/layers/area/tooltip/tooltipManagement.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAGvC,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAGpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAEzE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAkHxE;;;;;;;;;;;GAWG;AACH,wBAAgB,uBAAuB,CACnC,OAAO,EAAE,YAAY,EACrB,MAAM,EAAE,mBAAmB,EAC3B,eAAe,EAAE,gBAAgB,EAAE,GAAG,SAAS,EAC/C,KAAK,EAAE,SAAS,EAChB,QAAQ,EAAE,MAAM,EAAE,GACnB,iBAAiB,CA2CnB"}
@@ -0,0 +1,127 @@
1
+ // (C) 2025 GoodData Corporation
2
+ import { formatValueForTooltip } from "../../../map/style/tooltipFormatting.js";
3
+ import { isRecord } from "../../../utils/guards.js";
4
+ function parseProperty(prop) {
5
+ if (!prop) {
6
+ return undefined;
7
+ }
8
+ let value = prop;
9
+ if (typeof prop === "string") {
10
+ try {
11
+ value = JSON.parse(prop);
12
+ }
13
+ catch {
14
+ return undefined;
15
+ }
16
+ }
17
+ if (!isRecord(value)) {
18
+ return undefined;
19
+ }
20
+ const title = typeof value["title"] === "string" ? value["title"] : undefined;
21
+ const rawValue = value["value"];
22
+ const normalizedValue = typeof rawValue === "number" || typeof rawValue === "string" ? rawValue : undefined;
23
+ const fill = typeof value["fill"] === "string" ? value["fill"] : undefined;
24
+ const format = typeof value["format"] === "string" ? value["format"] : undefined;
25
+ return {
26
+ title,
27
+ value: normalizedValue,
28
+ fill,
29
+ format,
30
+ };
31
+ }
32
+ function escapeHtml(str) {
33
+ return str
34
+ .replace(/&/g, "&")
35
+ .replace(/</g, "&lt;")
36
+ .replace(/>/g, "&gt;")
37
+ .replace(/"/g, "&quot;")
38
+ .replace(/'/g, "&#039;");
39
+ }
40
+ function buildTooltipItemHtml(title, value) {
41
+ return `
42
+ <div class="gd-viz-tooltip-item">
43
+ <span class="gd-viz-tooltip-title">${escapeHtml(title)}</span>
44
+ <div class="gd-viz-tooltip-value-wraper">
45
+ <span class="gd-viz-tooltip-value">${value}</span>
46
+ </div>
47
+ </div>
48
+ `;
49
+ }
50
+ function addAttributeItem(items, prop) {
51
+ if (!prop?.title) {
52
+ return;
53
+ }
54
+ const value = prop.value ?? "-";
55
+ items.push(buildTooltipItemHtml(prop.title, escapeHtml(String(value))));
56
+ }
57
+ function addMeasureItem(items, prop, separators) {
58
+ if (!prop?.title) {
59
+ return;
60
+ }
61
+ const hasValue = prop.value !== undefined && prop.value !== null;
62
+ const rawValue = hasValue ? prop.value : "-";
63
+ const normalizedRawValue = typeof rawValue === "number" || typeof rawValue === "string" ? rawValue : "-";
64
+ const formattedValue = hasValue && prop.format
65
+ ? formatValueForTooltip(normalizedRawValue, prop.format, separators)
66
+ : escapeHtml(String(normalizedRawValue));
67
+ items.push(buildTooltipItemHtml(prop.title, formattedValue));
68
+ }
69
+ function buildAreaTooltipHtml(locationName, color, segment, tooltipText, strokeColor, separators) {
70
+ const items = [];
71
+ addAttributeItem(items, locationName);
72
+ addMeasureItem(items, color, separators);
73
+ addAttributeItem(items, segment);
74
+ addAttributeItem(items, tooltipText);
75
+ if (items.length === 0) {
76
+ return null;
77
+ }
78
+ return `
79
+ <div class="gd-viz-tooltip" style="max-width:320px">
80
+ <span class="gd-viz-tooltip-stroke" style="border-top-color: ${strokeColor}"></span>
81
+ <div class="gd-viz-tooltip-content">${items.join("")}</div>
82
+ </div>
83
+ `;
84
+ }
85
+ /**
86
+ * Creates tooltip configuration for the unified tooltip handler.
87
+ *
88
+ * @param tooltip - Popup facade for displaying tooltips
89
+ * @param config - Chart configuration
90
+ * @param _drillableItems - Drillable items predicates (unused for area)
91
+ * @param _intl - Internationalization instance (unused for area)
92
+ * @param layerIds - MapLibre layer IDs to monitor
93
+ * @returns Tooltip configuration for unified handling
94
+ *
95
+ * @internal
96
+ */
97
+ export function createAreaTooltipConfig(tooltip, config, _drillableItems, _intl, layerIds) {
98
+ const { separators } = config;
99
+ return {
100
+ layerIds,
101
+ showTooltip(map, feature, lngLat) {
102
+ const properties = feature.properties ?? {};
103
+ // Parse properties (MapLibre may have stringified nested objects)
104
+ const locationName = parseProperty(properties["locationName"]);
105
+ const segment = parseProperty(properties["segment"]);
106
+ const color = parseProperty(properties["color"]);
107
+ const tooltipText = parseProperty(properties["tooltipText"]);
108
+ // Build tooltip HTML
109
+ const fallbackStroke = properties["color_fill"];
110
+ const tooltipStroke = color?.fill ?? (typeof fallbackStroke === "string" ? fallbackStroke : "#20B2E2");
111
+ const tooltipHtml = buildAreaTooltipHtml(locationName, color, segment, tooltipText, tooltipStroke, separators);
112
+ if (tooltipHtml) {
113
+ tooltip
114
+ .setLngLat([lngLat.lng, lngLat.lat])
115
+ .setHTML(tooltipHtml)
116
+ .setMaxWidth("320px")
117
+ .addTo(map);
118
+ map.getCanvas().style.cursor = "pointer";
119
+ }
120
+ },
121
+ hideTooltip(map) {
122
+ tooltip.remove();
123
+ map.getCanvas().style.cursor = "";
124
+ },
125
+ };
126
+ }
127
+ //# sourceMappingURL=tooltipManagement.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tooltipManagement.js","sourceRoot":"","sources":["../../../../../src/next/layers/area/tooltip/tooltipManagement.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAOhC,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAEhF,OAAO,EAAa,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAW/D,SAAS,aAAa,CAAC,IAAe;IAClC,IAAI,CAAC,IAAI,EAAE,CAAC;QACR,OAAO,SAAS,CAAC;IACrB,CAAC;IAED,IAAI,KAAK,GAAG,IAAI,CAAC;IACjB,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE,CAAC;QAC3B,IAAI,CAAC;YACD,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;QAC7B,CAAC;QAAC,MAAM,CAAC;YACL,OAAO,SAAS,CAAC;QACrB,CAAC;IACL,CAAC;IAED,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC;QACnB,OAAO,SAAS,CAAC;IACrB,CAAC;IAED,MAAM,KAAK,GAAG,OAAO,KAAK,CAAC,OAAO,CAAC,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;IAC9E,MAAM,QAAQ,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC;I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AAG,CAAC,SAAS,EAAE,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC;YAC7C,CAAC;QACL,CAAC;QAED,WAAW,CAAC,GAAG;YACX,OAAO,CAAC,MAAM,EAAE,CAAC;YACjB,GAAG,CAAC,SAAS,EAAE,CAAC,KAAK,CAAC,MAAM,GAAG,EAAE,CAAC;QACtC,CAAC;KACJ,CAAC;AACN,CAAC"}
@@ -0,0 +1,34 @@
1
+ import type { IColorStrategy } from "@gooddata/sdk-ui-vis-commons";
2
+ import type { IGeoCommonData } from "../../types/geoData/common.js";
3
+ import type { IGeoLegendResult } from "../registry/adapterTypes.js";
4
+ /**
5
+ * Options for computing legend
6
+ *
7
+ * @internal
8
+ */
9
+ export interface IComputeLegendOptions {
10
+ /**
11
+ * The layer type for legend item typing
12
+ */
13
+ layerType: "pushpin" | "area";
14
+ /**
15
+ * Whether the layer has size data (only pushpin supports this)
16
+ */
17
+ hasSizeData: boolean;
18
+ }
19
+ /**
20
+ * Computes legend data from geo data and color strategy.
21
+ *
22
+ * @remarks
23
+ * This utility is shared by both pushpin and area adapters to avoid code duplication.
24
+ * It extracts unique segments and creates legend items with colors from the color strategy.
25
+ *
26
+ * @param geoData - The geo data containing segment information
27
+ * @param colorStrategy - Color strategy for getting colors by index
28
+ * @param options - Options specifying layer type and size availability
29
+ * @returns Legend result with items and availability flags
30
+ *
31
+ * @internal
32
+ */
33
+ export declare function computeLegend(geoData: IGeoCommonData, colorStrategy: IColorStrategy, options: IComputeLegendOptions): IGeoLegendResult;
34
+ //# sourceMappingURL=computeLegend.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"computeLegend.d.ts","sourceRoot":"","sources":["../../../../src/next/layers/common/computeLegend.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAGnE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAEpE;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;OAEG;IACH,SAAS,EAAE,SAAS,GAAG,MAAM,CAAC;IAE9B;;OAEG;IACH,WAAW,EAAE,OAAO,CAAC;CACxB;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,aAAa,CACzB,OAAO,EAAE,cAAc,EACvB,aAAa,EAAE,cAAc,EAC7B,OAAO,EAAE,qBAAqB,GAC/B,gBAAgB,CA6BlB"}
@@ -0,0 +1,43 @@
1
+ // (C) 2025 GoodData Corporation
2
+ /**
3
+ * Computes legend data from geo data and color strategy.
4
+ *
5
+ * @remarks
6
+ * This utility is shared by both pushpin and area adapters to avoid code duplication.
7
+ * It extracts unique segments and creates legend items with colors from the color strategy.
8
+ *
9
+ * @param geoData - The geo data containing segment information
10
+ * @param colorStrategy - Color strategy for getting colors by index
11
+ * @param options - Options specifying layer type and size availability
12
+ * @returns Legend result with items and availability flags
13
+ *
14
+ * @internal
15
+ */
16
+ export function computeLegend(geoData, colorStrategy, options) {
17
+ const { layerType, hasSizeData } = options;
18
+ let items = [];
19
+ if (geoData.segment) {
20
+ const uniqueSegments = new Map();
21
+ geoData.segment.data.forEach((segmentValue, index) => {
22
+ const uri = geoData.segment?.uris?.[index];
23
+ if (uri && !uniqueSegments.has(uri)) {
24
+ uniqueSegments.set(uri, { name: segmentValue, uri });
25
+ }
26
+ });
27
+ items = Array.from(uniqueSegments.values()).map(({ name, uri }, index) => ({
28
+ type: layerType,
29
+ name,
30
+ uri,
31
+ color: colorStrategy.getColorByIndex(index),
32
+ legendIndex: index,
33
+ isVisible: true,
34
+ }));
35
+ }
36
+ const available = {
37
+ hasCategoryLegend: items.length > 0,
38
+ hasColorLegend: Boolean(geoData.color),
39
+ hasSizeLegend: hasSizeData,
40
+ };
41
+ return { items, available };
42
+ }
43
+ //# sourceMappingURL=computeLegend.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"computeLegend.js","s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E,WAAW;KAC7B,CAAC;IAEF,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC;AAChC,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { IDimension, IExecutionDefinition } from "@gooddata/sdk-model";
2
+ /**
3
+ * Builds execution dimensions for geo chart queries.
4
+ *
5
+ * @remarks
6
+ * This utility is shared by both pushpin and area adapters to avoid code duplication.
7
+ * It creates the proper dimension structure based on the buckets in the execution definition.
8
+ *
9
+ * @param def - The execution definition containing buckets
10
+ * @returns Array of dimensions for the execution
11
+ *
12
+ * @internal
13
+ */
14
+ export declare function getGeoChartDimensions(def: IExecutionDefinition): IDimension[];
15
+ //# sourceMappingURL=dimensions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dimensions.d.ts","sourceRoot":"","sources":["../../../../src/next/layers/common/dimensions.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,UAAU,EACV,oBAAoB,EAKvB,MAAM,qBAAqB,CAAC;AAE7B;;;;;;;;;;;GAWG;AACH,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,oBAAoB,GAAG,UAAU,EAAE,CAQ7E"}
@@ -0,0 +1,24 @@
1
+ // (C) 2025 GoodData Corporation
2
+ import { MeasureGroupIdentifier, bucketsAttributes, bucketsMeasures, newDimension, } from "@gooddata/sdk-model";
3
+ /**
4
+ * Builds execution dimensions for geo chart queries.
5
+ *
6
+ * @remarks
7
+ * This utility is shared by both pushpin and area adapters to avoid code duplication.
8
+ * It creates the proper dimension structure based on the buckets in the execution definition.
9
+ *
10
+ * @param def - The execution definition containing buckets
11
+ * @returns Array of dimensions for the execution
12
+ *
13
+ * @internal
14
+ */
15
+ export function getGeoChartDimensions(def) {
16
+ const buckets = def.buckets;
17
+ const measures = bucketsMeasures(buckets);
18
+ const attributes = bucketsAttributes(buckets);
19
+ return [
20
+ ...(measures.length > 0 ? [newDimension([MeasureGroupIdentifier])] : []),
21
+ newDimension(attributes),
22
+ ];
23
+ }
24
+ //# sourceMappingURL=dimensions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dimensions.js","sourceRoot":"","sources":["../../../../src/next/layers/common/dimensions.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAEhC,OAAO,EAGH,sBAAsB,EACtB,iBAAiB,EACjB,eAAe,EACf,YAAY,GACf,MAAM,qBAAqB,CAAC;AAE7B;;;;;;;;;;;GAWG;AACH,MAAM,UAAU,qBAAqB,CAAC,GAAyB;IAC3D,MAAM,OAAO,GAAG,GAAG,CAAC,OAAO,CAAC;IAC5B,MAAM,QAAQ,GAAG,eAAe,CAAC,OAAO,CAAC,CAAC;IAC1C,MAAM,UAAU,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;IAC9C,OAAO;QACH,GAAG,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACxE,YAAY,CAAC,UAAU,CAAC;KAC3B,CAAC;AACN,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { IMapFacade } from "./mapFacade.js";
2
+ export declare function removeLayerIfExists(map: IMapFacade, layerId: string): void;
3
+ export declare function removeSourceIfExists(map: IMapFacade, sourceId: string): void;
4
+ //# sourceMappingURL=layerOps.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"layerOps.d.ts","sourceRoot":"","sources":["../../../../src/next/layers/common/layerOps.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAMjD,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI,CAQ1E;AAED,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,GAAG,IAAI,CAQ5E"}
@@ -0,0 +1,21 @@
1
+ // (C) 2025 GoodData Corporation
2
+ function hasValidStyle(map) {
3
+ return Boolean(map?.getStyle?.());
4
+ }
5
+ export function removeLayerIfExists(map, layerId) {
6
+ if (!hasValidStyle(map)) {
7
+ return;
8
+ }
9
+ if (map.getLayer(layerId)) {
10
+ map.removeLayer(layerId);
11
+ }
12
+ }
13
+ export function removeSourceIfExists(map, sourceId) {
14
+ if (!hasValidStyle(map)) {
15
+ return;
16
+ }
17
+ if (map.getSource(sourceId)) {
18
+ map.removeSource(sourceId);
19
+ }
20
+ }
21
+ //# sourceMappingURL=layerOps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"layerOps.js","sourceRoot":"","sources":["../../../../src/next/layers/common/layerOps.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAIhC,SAAS,aAAa,CAAC,GAAe;IAClC,OAAO,OAAO,CAAC,GAAG,EAAE,QAAQ,EAAE,EAAE,CAAC,CAAC;AACtC,CAAC;AAED,MAAM,UAAU,mBAAmB,CAAC,GAAe,EAAE,OAAe;IAChE,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,EAAE,CAAC;QACtB,OAAO;IACX,CAAC;IAED,IAAI,GAAG,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC;QACxB,GAAG,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;IAC7B,CAAC;AACL,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAC,GAAe,EAAE,QAAgB;IAClE,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,EAAE,CAAC;QACtB,OAAO;IACX,CAAC;IAED,IAAI,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC,EAAE,CAAC;QAC1B,GAAG,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;IAC/B,CAAC;AACL,CAAC"}
@@ -0,0 +1,116 @@
1
+ import type { CircleLayerSpecification as MapLibreCircleLayerSpecification, ExpressionSpecification as MapLibreExpressionSpecification, FillLayerSpecification as MapLibreFillLayerSpecification, FilterSpecification as MapLibreFilterSpecification, GeoJSONSourceSpecification as MapLibreGeoJSONSourceSpecification, LineLayerSpecification as MapLibreLineLayerSpecification, LngLatBoundsLike as MapLibreLngLatBoundsLike, LngLatLike as MapLibreLngLatLike, Map as MapLibreMap, MapMouseEvent as MapLibreMapMouseEvent, MapOptions as MapLibreMapOptions, Popup as MapLibrePopup, PopupOptions as MapLibrePopupOptions, StyleSpecification as MapLibreStyleSpecification, SymbolLayerSpecification as MapLibreSymbolLayerSpecification } from "maplibre-gl";
2
+ export type Map = MapLibreMap;
3
+ export type Popup = MapLibrePopup;
4
+ export type StyleSpecification = MapLibreStyleSpecification;
5
+ export type GeoJSONSourceSpecification = MapLibreGeoJSONSourceSpecification;
6
+ export type FilterSpecification = MapLibreFilterSpecification;
7
+ export type ExpressionSpecification = MapLibreExpressionSpecification;
8
+ export type CircleLayerSpecification = MapLibreCircleLayerSpecification;
9
+ export type SymbolLayerSpecification = MapLibreSymbolLayerSpecification;
10
+ export type FillLayerSpecification = MapLibreFillLayerSpecification;
11
+ export type LineLayerSpecification = MapLibreLineLayerSpecification;
12
+ export type LngLatLike = MapLibreLngLatLike;
13
+ export type LngLatBoundsLike = MapLibreLngLatBoundsLike;
14
+ export type MapOptions = MapLibreMapOptions;
15
+ export type PopupOptions = MapLibrePopupOptions;
16
+ export type MapMouseEvent = MapLibreMapMouseEvent;
17
+ type OnceArgs = Parameters<MapLibreMap["once"]>;
18
+ type OnArgs = Parameters<MapLibreMap["on"]>;
19
+ type OffArgs = Parameters<MapLibreMap["off"]>;
20
+ type AddSourceArgs = Parameters<MapLibreMap["addSource"]>;
21
+ type AddLayerArgs = Parameters<MapLibreMap["addLayer"]>;
22
+ type GetLayerArgs = Parameters<MapLibreMap["getLayer"]>;
23
+ type GetSourceArgs = Parameters<MapLibreMap["getSource"]>;
24
+ type RemoveLayerArgs = Parameters<MapLibreMap["removeLayer"]>;
25
+ type RemoveSourceArgs = Parameters<MapLibreMap["removeSource"]>;
26
+ type ResizeArgs = Parameters<MapLibreMap["resize"]>;
27
+ type CameraForBoundsArgs = Parameters<MapLibreMap["cameraForBounds"]>;
28
+ type CameraForBoundsResult = ReturnType<MapLibreMap["cameraForBounds"]>;
29
+ type FlyToArgs = Parameters<MapLibreMap["flyTo"]>;
30
+ type JumpToArgs = Parameters<MapLibreMap["jumpTo"]>;
31
+ type PanToArgs = Parameters<MapLibreMap["panTo"]>;
32
+ type ZoomToArgs = Parameters<MapLibreMap["zoomTo"]>;
33
+ type QueryRenderedFeaturesArgs = Parameters<MapLibreMap["queryRenderedFeatures"]>;
34
+ type QueryRenderedFeaturesResult = ReturnType<MapLibreMap["queryRenderedFeatures"]>;
35
+ type StyleResult = ReturnType<MapLibreMap["getStyle"]>;
36
+ type CenterResult = ReturnType<MapLibreMap["getCenter"]>;
37
+ type ZoomResult = ReturnType<MapLibreMap["getZoom"]>;
38
+ type LoadedResult = ReturnType<MapLibreMap["loaded"]>;
39
+ type TilesLoadedResult = ReturnType<MapLibreMap["areTilesLoaded"]>;
40
+ /**
41
+ * Minimal subset of MapLibre map APIs used across Geo Next logic and tests.
42
+ *
43
+ * @internal
44
+ */
45
+ export declare const MAP_FACADE_SOURCE: unique symbol;
46
+ export interface IMapFacade {
47
+ isStyleLoaded(): boolean;
48
+ once(...args: OnceArgs): IMapFacade;
49
+ on(...args: OnArgs): IMapFacade;
50
+ off(...args: OffArgs): IMapFacade;
51
+ addSource(...args: AddSourceArgs): IMapFacade;
52
+ addLayer(...args: AddLayerArgs): IMapFacade;
53
+ getLayer(...args: GetLayerArgs): ReturnType<MapLibreMap["getLayer"]>;
54
+ getSource(...args: GetSourceArgs): ReturnType<MapLibreMap["getSource"]>;
55
+ removeLayer(...args: RemoveLayerArgs): IMapFacade;
56
+ removeSource(...args: RemoveSourceArgs): IMapFacade;
57
+ resize(...args: ResizeArgs): IMapFacade;
58
+ cameraForBounds(...args: CameraForBoundsArgs): CameraForBoundsResult;
59
+ flyTo(...args: FlyToArgs): IMapFacade;
60
+ jumpTo(...args: JumpToArgs): IMapFacade;
61
+ panTo(...args: PanToArgs): IMapFacade;
62
+ zoomTo(...args: ZoomToArgs): IMapFacade;
63
+ getCenter(...args: []): CenterResult;
64
+ getZoom(...args: []): ZoomResult;
65
+ getStyle(): StyleResult;
66
+ getCanvas(): HTMLCanvasElement;
67
+ loaded(): LoadedResult;
68
+ areTilesLoaded(): TilesLoadedResult;
69
+ queryRenderedFeatures(...args: QueryRenderedFeaturesArgs): QueryRenderedFeaturesResult;
70
+ readonly [MAP_FACADE_SOURCE]?: MapLibreMap;
71
+ }
72
+ type SetLngLatArgs = Parameters<Popup["setLngLat"]>;
73
+ type SetHtmlArgs = Parameters<Popup["setHTML"]>;
74
+ type SetMaxWidthArgs = Parameters<Popup["setMaxWidth"]>;
75
+ /**
76
+ * Minimal subset of MapLibre popup APIs required by tooltip handlers.
77
+ *
78
+ * @internal
79
+ */
80
+ export interface IPopupFacade {
81
+ setLngLat(...args: SetLngLatArgs): IPopupFacade;
82
+ setHTML(...args: SetHtmlArgs): IPopupFacade;
83
+ setMaxWidth(...args: SetMaxWidthArgs): IPopupFacade;
84
+ addTo(map: IMapFacade): IPopupFacade;
85
+ remove(): void;
86
+ isOpen(): boolean;
87
+ }
88
+ /**
89
+ * Wraps a MapLibre map into a lightweight facade with the subset of APIs used by Geo Next logic.
90
+ *
91
+ * @param map - MapLibre map instance
92
+ * @returns Facade object delegating calls to the underlying map
93
+ *
94
+ * @internal
95
+ */
96
+ export declare function createMapFacade(map: MapLibreMap): IMapFacade;
97
+ /**
98
+ * Converts a MapLibre popup into the facade used by tooltip handlers.
99
+ *
100
+ * @param popup - MapLibre popup instance
101
+ * @returns Facade delegating operations to the underlying popup
102
+ *
103
+ * @internal
104
+ */
105
+ export declare function createPopupFacade(popup: Popup): IPopupFacade;
106
+ /**
107
+ * Extracts the underlying MapLibre map from a facade instance (if available).
108
+ *
109
+ * @param map - Facade instance
110
+ * @returns MapLibre map or undefined when the facade wraps a mock implementation
111
+ *
112
+ * @internal
113
+ */
114
+ export declare function getUnderlyingMap(map: IMapFacade): MapLibreMap | undefined;
115
+ export {};
116
+ //# sourceMappingURL=mapFacade.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mapFacade.d.ts","sourceRoot":"","sources":["../../../../src/next/layers/common/mapFacade.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACR,wBAAwB,IAAI,gCAAgC,EAC5D,uBAAuB,IAAI,+BAA+B,EAC1D,sBAAsB,IAAI,8BAA8B,EACxD,mBAAmB,IAAI,2BAA2B,EAClD,0BAA0B,IAAI,kCAAkC,EAChE,sBAAsB,IAAI,8BAA8B,EACxD,gBAAgB,IAAI,wBAAwB,EAC5C,UAAU,IAAI,kBAAkB,EAChC,GAAG,IAAI,WAAW,EAClB,aAAa,IAAI,qBAAqB,EACtC,UAAU,IAAI,kBAAkB,EAChC,KAAK,IAAI,aAAa,EACtB,YAAY,IAAI,oBAAoB,EACpC,kBAAkB,IAAI,0BAA0B,EAChD,wBAAwB,IAAI,gCAAgC,EAC/D,MAAM,aAAa,CAAC;AAErB,MAAM,MAAM,GAAG,GAAG,WAAW,CAAC;AAC9B,MAAM,MAAM,KAAK,GAAG,aAAa,CAAC;AAClC,MAAM,MAAM,kBAAkB,GAAG,0BAA0B,CAAC;AAC5D,MAAM,MAAM,0BAA0B,GAAG,kCAAkC,CAAC;AAC5E,MAAM,MAAM,mBAAmB,GAAG,2BAA2B,CAAC;AAC9D,MAAM,MAAM,uBAAuB,GAAG,+BAA+B,CAAC;AACtE,MAAM,MAAM,wBAAwB,GAAG,gCAAgC,CAAC;AACxE,MAAM,MAAM,wBAAwB,GAAG,gCAAgC,CAAC;AACxE,MAAM,MAAM,sBAAsB,GAAG,8BAA8B,CAAC;AACpE,MAAM,MAAM,sBAAsB,GAAG,8BAA8B,CAAC;AACpE,MAAM,MAAM,UAAU,GAAG,kBAAkB,CAAC;AAC5C,MAAM,MAAM,gBAAgB,GAAG,wBAAwB,CAAC;AACxD,MAAM,MAAM,UAAU,GAAG,kBAAkB,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