@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
@@ -0,0 +1,8 @@
1
+ import { IGeoChartNextConfig } from "../../../types/config/unified.js";
2
+ /**
3
+ * Applies area-specific defaults (fill/outline styling).
4
+ *
5
+ * @internal
6
+ */
7
+ export declare function applyAreaConfigDefaults(config: IGeoChartNextConfig): IGeoChartNextConfig;
8
+ //# sourceMappingURL=defaults.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../../../../src/next/layers/area/config/defaults.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAEvE;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,mBAAmB,GAAG,mBAAmB,CAYxF"}
@@ -0,0 +1,19 @@
1
+ // (C) 2025 GoodData Corporation
2
+ /**
3
+ * Applies area-specific defaults (fill/outline styling).
4
+ *
5
+ * @internal
6
+ */
7
+ export function applyAreaConfigDefaults(config) {
8
+ const areas = config.areas ?? {};
9
+ return {
10
+ ...config,
11
+ areas: {
12
+ ...areas,
13
+ fillOpacity: areas.fillOpacity ?? 0.7,
14
+ borderColor: areas.borderColor ?? "#FFFFFF",
15
+ borderWidth: areas.borderWidth ?? 1,
16
+ },
17
+ };
18
+ }
19
+ //# sourceMappingURL=defaults.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"defaults.js","sourceRoot":"","sources":["../../../../../src/next/layers/area/config/defaults.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAIhC;;;;GAIG;AACH,MAAM,UAAU,uBAAuB,CAAC,MAA2B;IAC/D,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,IAAI,EAAE,CAAC;IAEjC,OAAO;QACH,GAAG,MAAM;QACT,KAAK,EAAE;YACH,GAAG,KAAK;YACR,WAAW,EAAE,KAAK,CAAC,WAAW,IAAI,GAAG;YACrC,WAAW,EAAE,KAAK,CAAC,WAAW,IAAI,SAAS;YAC3C,WAAW,EAAE,KAAK,CAAC,WAAW,IAAI,CAAC;SACtC;KACJ,CAAC;AACN,CAAC"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Default identifiers for MapLibre area layers.
3
+ *
4
+ * @internal
5
+ */
6
+ export declare const DEFAULT_AREA_LAYER_NAME = "gdcArea";
7
+ export declare const DEFAULT_AREA_OUTLINE_LAYER_NAME = "gdcAreaOutline";
8
+ /**
9
+ * Default fallback color for filled geographic areas.
10
+ *
11
+ * @internal
12
+ */
13
+ export declare const DEFAULT_AREA_FILL_COLOR = "#20B2E2";
14
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/next/layers/area/constants.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,YAAY,CAAC;AACjD,eAAO,MAAM,+BAA+B,mBAAmB,CAAC;AAEhE;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,YAAY,CAAC"}
@@ -0,0 +1,15 @@
1
+ // (C) 2025 GoodData Corporation
2
+ /**
3
+ * Default identifiers for MapLibre area layers.
4
+ *
5
+ * @internal
6
+ */
7
+ export const DEFAULT_AREA_LAYER_NAME = "gdcArea";
8
+ export const DEFAULT_AREA_OUTLINE_LAYER_NAME = "gdcAreaOutline";
9
+ /**
10
+ * Default fallback color for filled geographic areas.
11
+ *
12
+ * @internal
13
+ */
14
+ export const DEFAULT_AREA_FILL_COLOR = "#20B2E2";
15
+ //# sourceMappingURL=constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../src/next/layers/area/constants.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAEhC;;;;GAIG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,SAAS,CAAC;AACjD,MAAM,CAAC,MAAM,+BAA+B,GAAG,gBAAgB,CAAC;AAEhE;;;;GAIG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,SAAS,CAAC"}
@@ -0,0 +1,41 @@
1
+ import { IAttributeDescriptor, IResultHeader } from "@gooddata/sdk-model";
2
+ import { DataViewFacade } from "@gooddata/sdk-ui";
3
+ import { IAvailableLegends, IGeoLegendItem } from "../../../types/common/legends.js";
4
+ import { IAreaGeoData } from "../../../types/geoData/area.js";
5
+ /**
6
+ * Transforms execution result to area geo data.
7
+ *
8
+ * @internal
9
+ */
10
+ export declare function transformAreaData(dv: DataViewFacade, emptyHeaderString: string, nullHeaderString: string): IAreaGeoData;
11
+ /**
12
+ * Derives which legends are available for the area layer.
13
+ *
14
+ * @internal
15
+ */
16
+ export declare function getAreaAvailableLegends(categoryItems: IGeoLegendItem[], geoData: IAreaGeoData): IAvailableLegends;
17
+ /**
18
+ * Attribute information with header items
19
+ */
20
+ export type IAreaAttributeInfo = IAttributeDescriptor["attributeHeader"] & {
21
+ items: IResultHeader[];
22
+ };
23
+ /**
24
+ * Area attributes in dimension
25
+ */
26
+ export interface IAreaAttributesInDimension {
27
+ areaAttribute: IAreaAttributeInfo;
28
+ segmentByAttribute: IAreaAttributeInfo | undefined;
29
+ tooltipTextAttribute: IAreaAttributeInfo | undefined;
30
+ }
31
+ /**
32
+ * Finds area attributes in the data view dimension
33
+ *
34
+ * @param dv - Data view facade
35
+ * @param geoData - Area geo data structure
36
+ * @returns Area attributes information
37
+ *
38
+ * @internal
39
+ */
40
+ export declare function findAreaAttributesInDimension(dv: DataViewFacade, geoData: IAreaGeoData): IAreaAttributesInDimension;
41
+ //# sourceMappingURL=transformation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transformation.d.ts","sourceRoot":"","sources":["../../../../../src/next/layers/area/data/transformation.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,oBAAoB,EAGpB,aAAa,EAOhB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAe,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAG/D,OAAO,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AACrF,OAAO,EAAE,YAAY,EAAgB,MAAM,gCAAgC,CAAC;AA2T5E;;;;GAIG;AACH,wBAAgB,iBAAiB,CAC7B,EAAE,EAAE,cAAc,EAClB,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,GACzB,YAAY,CAmCd;AAED;;;;GAIG;AACH,wBAAgB,uBAAuB,CACnC,aAAa,EAAE,cAAc,EAAE,EAC/B,OAAO,EAAE,YAAY,GACtB,iBAAiB,CAWnB;AAED;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,GAAG;IACvE,KAAK,EAAE,aAAa,EAAE,CAAC;CAC1B,CAAC;AAEF;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACvC,aAAa,EAAE,kBAAkB,CAAC;IAClC,kBAAkB,EAAE,kBAAkB,GAAG,SAAS,CAAC;IACnD,oBAAoB,EAAE,kBAAkB,GAAG,SAAS,CAAC;CACxD;AAED;;;;;;;;GAQG;AACH,wBAAgB,6BAA6B,CACzC,EAAE,EAAE,cAAc,EAClB,OAAO,EAAE,YAAY,GACtB,0BAA0B,CAkC5B"}
@@ -1,15 +1,15 @@
1
1
  // (C) 2025 GoodData Corporation
2
2
  import { attributeLocalId, isAttribute, isMeasure, isResultAttributeHeader, measureLocalId, resultHeaderName, } from "@gooddata/sdk-model";
3
3
  import { BucketNames } from "@gooddata/sdk-ui";
4
- import { dataValueAsFloat } from "./transformationCommon.js";
5
- import { getMinMax } from "../size/calculations.js";
4
+ import { dataValueAsFloat } from "../../../map/style/dataTransformation.js";
5
+ import { getMinMax } from "../../pushpin/size/calculations.js";
6
6
  /**
7
7
  * Gets attribute header items from data view for area data
8
8
  *
9
9
  * @internal
10
10
  */
11
- function getAreaAttributeHeaderItems(dv, geoData) {
12
- const { color } = geoData;
11
+ function getAreaAttributeHeaderItems(dv, bucketInfo) {
12
+ const { color } = bucketInfo;
13
13
  const hasColorMeasure = color !== undefined;
14
14
  const attrHeaderItemIndex = hasColorMeasure ? 1 : 0;
15
15
  return dv.meta().allHeaders()[attrHeaderItemIndex];
@@ -138,61 +138,110 @@ function getMeasureBucketInfo(buckets, measureDescriptors, bucketName) {
138
138
  };
139
139
  }
140
140
  /**
141
- * Transforms data view into area geo data structure
142
- *
143
- * @remarks
144
- * This is the main data transformation function for area charts.
145
- * It extracts geographic area identifiers and color values from the execution result.
146
- *
147
- * @param dv - Data view facade
148
- * @param emptyHeaderString - String to use for empty headers
149
- * @param nullHeaderString - String to use for null headers
150
- * @returns Structured area geo data
141
+ * Processes area bucket
142
+ */
143
+ function processAreaBucket(ctx) {
144
+ const { bucketInfo, attributeHeaderItems, emptyHeaderString, nullHeaderString } = ctx;
145
+ const areaIndex = bucketInfo.area?.index;
146
+ const areaBucket = bucketInfo.area;
147
+ if (areaIndex === undefined || !areaBucket) {
148
+ return undefined;
149
+ }
150
+ const { data, uris } = getAreaDataAndUris(attributeHeaderItems, areaIndex, emptyHeaderString, nullHeaderString);
151
+ return {
152
+ index: areaBucket.index,
153
+ name: areaBucket.name,
154
+ data,
155
+ uris,
156
+ };
157
+ }
158
+ /**
159
+ * Processes segment bucket
160
+ */
161
+ function processSegmentBucket(ctx) {
162
+ const { bucketInfo, attributeHeaderItems, nullHeaderString } = ctx;
163
+ const segmentIndex = bucketInfo.segment?.index;
164
+ const segmentBucket = bucketInfo[BucketNames.SEGMENT];
165
+ if (segmentIndex === undefined || !segmentBucket) {
166
+ return undefined;
167
+ }
168
+ const { data, uris } = getSegmentDataAndUris(attributeHeaderItems, segmentIndex, nullHeaderString);
169
+ return {
170
+ index: segmentBucket.index,
171
+ name: segmentBucket.name,
172
+ data,
173
+ uris,
174
+ };
175
+ }
176
+ /**
177
+ * Processes tooltip text bucket
178
+ */
179
+ function processTooltipTextBucket(ctx) {
180
+ const { bucketInfo, attributeHeaderItems, emptyHeaderString, nullHeaderString } = ctx;
181
+ const tooltipTextIndex = bucketInfo.tooltipText?.index;
182
+ const tooltipTextBucket = bucketInfo[BucketNames.TOOLTIP_TEXT];
183
+ if (tooltipTextIndex === undefined || !tooltipTextBucket) {
184
+ return undefined;
185
+ }
186
+ return {
187
+ index: tooltipTextBucket.index,
188
+ name: tooltipTextBucket.name,
189
+ data: getAttributeData(attributeHeaderItems, tooltipTextIndex, emptyHeaderString, nullHeaderString),
190
+ };
191
+ }
192
+ /**
193
+ * Processes color measure bucket
194
+ */
195
+ function processColorBucket(ctx) {
196
+ const { dv, bucketInfo } = ctx;
197
+ const colorIndex = bucketInfo.color?.index;
198
+ const colorBucket = bucketInfo[BucketNames.COLOR];
199
+ if (colorIndex === undefined || !colorBucket) {
200
+ return undefined;
201
+ }
202
+ return {
203
+ index: colorBucket.index,
204
+ name: colorBucket.name,
205
+ data: getMeasureData(dv, colorIndex),
206
+ format: getFormatFromExecutionResponse(dv, colorIndex),
207
+ };
208
+ }
209
+ /**
210
+ * Transforms execution result to area geo data.
151
211
  *
152
212
  * @internal
153
213
  */
154
- export function getAreaGeoData(dv, emptyHeaderString, nullHeaderString) {
155
- const geoData = getBucketItemNameAndDataIndex(dv);
156
- const attributeHeaderItems = getAreaAttributeHeaderItems(dv, geoData);
157
- const areaIndex = geoData.area?.index;
158
- const segmentIndex = geoData?.segment?.index;
159
- const tooltipTextIndex = geoData?.tooltipText?.index;
160
- const colorIndex = geoData?.color?.index;
161
- // Process location data (area identifiers with URIs)
162
- if (areaIndex !== undefined) {
163
- const { data, uris } = getAreaDataAndUris(attributeHeaderItems, areaIndex, emptyHeaderString, nullHeaderString);
164
- geoData.area.data = data;
165
- geoData.area.uris = uris;
166
- }
167
- // Process segment data
168
- if (segmentIndex !== undefined) {
169
- const { data, uris } = getSegmentDataAndUris(attributeHeaderItems, segmentIndex, nullHeaderString);
170
- geoData[BucketNames.SEGMENT].data = data;
171
- geoData[BucketNames.SEGMENT].uris = uris;
172
- }
173
- // Process tooltip text data
174
- if (tooltipTextIndex !== undefined) {
175
- geoData[BucketNames.TOOLTIP_TEXT].data = getAttributeData(attributeHeaderItems, tooltipTextIndex, emptyHeaderString, nullHeaderString);
176
- }
177
- // Process color measure data
178
- if (colorIndex !== undefined) {
179
- geoData[BucketNames.COLOR].data = getMeasureData(dv, colorIndex);
180
- geoData[BucketNames.COLOR].format = getFormatFromExecutionResponse(dv, colorIndex);
181
- }
182
- return geoData;
214
+ export function transformAreaData(dv, emptyHeaderString, nullHeaderString) {
215
+ const bucketInfo = getBucketItemNameAndDataIndex(dv);
216
+ const attributeHeaderItems = getAreaAttributeHeaderItems(dv, bucketInfo);
217
+ const ctx = {
218
+ dv,
219
+ bucketInfo,
220
+ attributeHeaderItems,
221
+ emptyHeaderString,
222
+ nullHeaderString,
223
+ };
224
+ const result = {};
225
+ const area = processAreaBucket(ctx);
226
+ if (area) {
227
+ result.area = area;
228
+ }
229
+ const segment = processSegmentBucket(ctx);
230
+ if (segment) {
231
+ result.segment = segment;
232
+ }
233
+ const tooltipText = processTooltipTextBucket(ctx);
234
+ if (tooltipText) {
235
+ result.tooltipText = tooltipText;
236
+ }
237
+ const color = processColorBucket(ctx);
238
+ if (color) {
239
+ result.color = color;
240
+ }
241
+ return result;
183
242
  }
184
243
  /**
185
- * Determines which legends should be available for area based on data
186
- *
187
- * @remarks
188
- * Analyzes area geo data to determine which legend types are applicable:
189
- * - Category legend: When segments exist
190
- * - Color legend: When color measure exists with varying values
191
- * - Size legend: Never for area (always omitted)
192
- *
193
- * @param categoryItems - Category legend items
194
- * @param geoData - Area geo data structure
195
- * @returns Object indicating which legends are available
244
+ * Derives which legends are available for the area layer.
196
245
  *
197
246
  * @internal
198
247
  */
@@ -245,4 +294,4 @@ export function findAreaAttributesInDimension(dv, geoData) {
245
294
  tooltipTextAttribute,
246
295
  };
247
296
  }
248
- //# sourceMappingURL=areaTransformation.js.map
297
+ //# sourceMappingURL=transformation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transformation.js","sourceRoot":"","sources":["../../../../../src/next/layers/area/data/transformation.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAEhC,OAAO,EAKH,gBAAgB,EAChB,WAAW,EACX,SAAS,EACT,uBAAuB,EACvB,cAAc,EACd,gBAAgB,GACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,WAAW,EAAkB,MAAM,kBAAkB,CAAC;AAE/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAI5E,OAAO,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAwB/D;;;;GAIG;AACH,SAAS,2BAA2B,CAAC,EAAkB,EAAE,UAA0B;IAC/E,MAAM,EAAE,KAAK,EAAE,GAAG,UAAU,CAAC;IAC7B,MAAM,eAAe,GAAG,KAAK,KAAK,SAAS,CAAC;IAC5C,MAAM,mBAAmB,GAAG,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IACpD,OAAO,EAAE,CAAC,IAAI,EAAE,CAAC,UAAU,EAAE,CAAC,mBAAmB,CAAC,CAAC;AACvD,CAAC;AAED;;;;GAIG;AACH,SAAS,8BAA8B,CAAC,EAAkB,EAAE,YAAoB;IAC5E,MAAM,kBAAkB,GAAG,EAAE,CAAC,IAAI,EAAE,CAAC,kBAAkB,EAAE,CAAC;IAC1D,OAAO,kBAAkB,CAAC,YAAY,CAAC,CAAC,iBAAiB,CAAC,MAAM,CAAC;AACrE,CAAC;AAED;;GAEG;AACH,SAAS,qBAAqB,CAC1B,oBAAuC,EACvC,SAAiB,EACjB,gBAAwB;IAExB,MAAM,WAAW,GAAG,oBAAoB,CAAC,SAAS,CAAC,CAAC;IACpD,OAAO,WAAW,CAAC,MAAM,CACrB,CAAC,MAAoB,EAAE,UAAyB,EAAgB,EAAE;QAC9D,IAAI,UAA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AC;IACtD,MAAM,SAAS,GAAG,IAAI,EAAE,KAAK,IAAI,CAAC,CAAC;IACnC,MAAM,OAAO,GAAG,EAAE,CAAC,IAAI,EAAE,CAAC,UAAU,EAAE,CAAC;IAEvC,MAAM,UAAU,GAAG,KAAK,KAAK,SAAS,CAAC;IACvC,MAAM,kBAAkB,GAAG,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAC9C,MAAM,oBAAoB,GAA2B,EAAE,CAAC,IAAI,EAAE,CAAC,oBAAoB,EAAE,CAAC;IACtF,MAAM,0BAA0B,GAAsB,OAAO,CAAC,kBAAkB,CAAC,CAAC;IAElF,MAAM,aAAa,GAAuB;QACtC,GAAG,oBAAoB,CAAC,SAAS,CAAC,CAAC,eAAe;QAClD,KAAK,EAAE,0BAA0B,CAAC,SAAS,CAAC;KAC/C,CAAC;IAEF,MAAM,kBAAkB,GAAmC,OAAO,EAAE,IAAI,CAAC,MAAM;QAC3E,CAAC,CAAC;YACI,GAAG,oBAAoB,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,eAAe;YACtD,KAAK,EAAE,0BAA0B,CAAC,OAAO,CAAC,KAAK,CAAC;SACnD;QACH,CAAC,CAAC,SAAS,CAAC;IAEhB,MAAM,oBAAoB,GAAmC,WAAW,EAAE,IAAI,CAAC,MAAM;QACjF,CAAC,CAAC;YACI,GAAG,oBAAoB,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,eAAe;YAC1D,KAAK,EAAE,0BAA0B,CAAC,WAAW,CAAC,KAAK,CAAC;SACvD;QACH,CAAC,CAAC,SAAS,CAAC;IAEhB,OAAO;QACH,aAAa;QACb,kBAAkB;QAClB,oBAAoB;KACvB,CAAC;AACN,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { IGeoLayerArea } from "../../types/layers/index.js";
2
+ /**
3
+ * Default id for the primary area layer produced by GeoAreaChart.
4
+ */
5
+ export declare const AREA_LAYER_ID = "area-layer";
6
+ /**
7
+ * Creates an area layer configuration object.
8
+ *
9
+ * @remarks
10
+ * Use this factory to create area layer definitions for GeoChartNext.
11
+ * The factory ensures proper type and id assignment.
12
+ *
13
+ * @param layer - Layer configuration without type and id
14
+ * @param id - Optional custom layer id, defaults to "area-layer"
15
+ * @returns Complete area layer configuration
16
+ *
17
+ * @alpha
18
+ */
19
+ export declare function createAreaLayer(layer: Omit<IGeoLayerArea, "type" | "id">, id?: string): IGeoLayerArea;
20
+ //# sourceMappingURL=layerFactory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"layerFactory.d.ts","sourceRoot":"","sources":["../../../../src/next/layers/area/layerFactory.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAE5D;;GAEG;AACH,eAAO,MAAM,aAAa,eAAe,CAAC;AAE1C;;;;;;;;;;;;GAYG;AACH,wBAAgB,eAAe,CAC3B,KAAK,EAAE,IAAI,CAAC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC,EACzC,EAAE,GAAE,MAAsB,GAC3B,aAAa,CAMf"}
@@ -0,0 +1,26 @@
1
+ // (C) 2025 GoodData Corporation
2
+ /**
3
+ * Default id for the primary area layer produced by GeoAreaChart.
4
+ */
5
+ export const AREA_LAYER_ID = "area-layer";
6
+ /**
7
+ * Creates an area layer configuration object.
8
+ *
9
+ * @remarks
10
+ * Use this factory to create area layer definitions for GeoChartNext.
11
+ * The factory ensures proper type and id assignment.
12
+ *
13
+ * @param layer - Layer configuration without type and id
14
+ * @param id - Optional custom layer id, defaults to "area-layer"
15
+ * @returns Complete area layer configuration
16
+ *
17
+ * @alpha
18
+ */
19
+ export function createAreaLayer(layer, id = AREA_LAYER_ID) {
20
+ return {
21
+ ...layer,
22
+ id,
23
+ type: "area",
24
+ };
25
+ }
26
+ //# sourceMappingURL=layerFactory.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"layerFactory.js","sourceRoot":"","sources":["../../../../src/next/layers/area/layerFactory.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAIhC;;GAEG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,YAAY,CAAC;AAE1C;;;;;;;;;;;;GAYG;AACH,MAAM,UAAU,eAAe,CAC3B,KAAyC,EACzC,KAAa,aAAa;IAE1B,OAAO;QACH,GAAG,KAAK;QACR,EAAE;QACF,IAAI,EAAE,MAAM;KACf,CAAC;AACN,CAAC"}
@@ -1,7 +1,5 @@
1
- import type { FillLayerSpecification, FilterSpecification, LineLayerSpecification } from "maplibre-gl";
2
- import { IGeoAreaChartConfig } from "../../types/areaConfig.js";
3
- export declare const DEFAULT_AREA_LAYER_NAME = "gdcArea";
4
- export declare const DEFAULT_AREA_OUTLINE_LAYER_NAME = "gdcAreaOutline";
1
+ import { IGeoAreaChartConfig } from "../../types/config/areaChart.js";
2
+ import type { FillLayerSpecification, FilterSpecification, LineLayerSpecification } from "../common/mapFacade.js";
5
3
  /**
6
4
  * Creates a filter expression for geographic areas based on selected segment items
7
5
  *
@@ -20,11 +18,12 @@ export declare function createAreaFilter(selectedSegmentItems: string[]): Filter
20
18
  *
21
19
  * @param dataSourceName - Name of the GeoJSON data source
22
20
  * @param config - Area chart configuration
21
+ * @param layerId - Optional custom layer ID (defaults to DEFAULT_AREA_LAYER_NAME)
23
22
  * @returns MapLibre fill layer specification
24
23
  *
25
24
  * @alpha
26
25
  */
27
- export declare function createAreaFillLayer(dataSourceName: string, config: IGeoAreaChartConfig): FillLayerSpecification;
26
+ export declare function createAreaFillLayer(dataSourceName: string, config: IGeoAreaChartConfig, layerId?: string): FillLayerSpecification;
28
27
  /**
29
28
  * Creates the area outline layer for area borders
30
29
  *
@@ -33,9 +32,10 @@ export declare function createAreaFillLayer(dataSourceName: string, config: IGeo
33
32
  *
34
33
  * @param dataSourceName - Name of the GeoJSON data source
35
34
  * @param config - Area chart configuration
35
+ * @param layerId - Optional custom layer ID (defaults to DEFAULT_AREA_OUTLINE_LAYER_NAME)
36
36
  * @returns MapLibre line layer specification
37
37
  *
38
38
  * @alpha
39
39
  */
40
- export declare function createAreaOutlineLayer(dataSourceName: string, config: IGeoAreaChartConfig): LineLayerSpecification;
41
- //# sourceMappingURL=maplibreDataLayersArea.d.ts.map
40
+ export declare function createAreaOutlineLayer(dataSourceName: string, config: IGeoAreaChartConfig, layerId?: string): LineLayerSpecification;
41
+ //# sourceMappingURL=layers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"layers.d.ts","sourceRoot":"","sources":["../../../../src/next/layers/area/layers.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,KAAK,EACR,sBAAsB,EACtB,mBAAmB,EACnB,sBAAsB,EACzB,MAAM,wBAAwB,CAAC;AAEhC;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAAC,oBAAoB,EAAE,MAAM,EAAE,GAAG,mBAAmB,CAEpF;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,mBAAmB,CAC/B,cAAc,EAAE,MAAM,EACtB,MAAM,EAAE,mBAAmB,EAC3B,OAAO,GAAE,MAAgC,GAC1C,sBAAsB,CAoBxB;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,sBAAsB,CAClC,cAAc,EAAE,MAAM,EACtB,MAAM,EAAE,mBAAmB,EAC3B,OAAO,GAAE,MAAwC,GAClD,sBAAsB,CAmBxB"}
@@ -1,8 +1,6 @@
1
1
  // (C) 2025 GoodData Corporation
2
- import { BucketNames } from "@gooddata/sdk-ui";
3
- import { EMPTY_SEGMENT_VALUE } from "../../constants/geoChart.js";
4
- export const DEFAULT_AREA_LAYER_NAME = "gdcArea";
5
- export const DEFAULT_AREA_OUTLINE_LAYER_NAME = "gdcAreaOutline";
2
+ import { DEFAULT_AREA_LAYER_NAME, DEFAULT_AREA_OUTLINE_LAYER_NAME } from "./constants.js";
3
+ import { createSegmentFilter } from "../../map/style/sharedLayers.js";
6
4
  /**
7
5
  * Creates a filter expression for geographic areas based on selected segment items
8
6
  *
@@ -12,13 +10,7 @@ export const DEFAULT_AREA_OUTLINE_LAYER_NAME = "gdcAreaOutline";
12
10
  * @alpha
13
11
  */
14
12
  export function createAreaFilter(selectedSegmentItems) {
15
- return [
16
- "match",
17
- ["get", "uri", ["get", BucketNames.SEGMENT]],
18
- selectedSegmentItems.length ? selectedSegmentItems : [EMPTY_SEGMENT_VALUE],
19
- true,
20
- false,
21
- ];
13
+ return createSegmentFilter(selectedSegmentItems);
22
14
  }
23
15
  /**
24
16
  * Creates the area fill layer for areas
@@ -29,15 +21,16 @@ export function createAreaFilter(selectedSegmentItems) {
29
21
  *
30
22
  * @param dataSourceName - Name of the GeoJSON data source
31
23
  * @param config - Area chart configuration
24
+ * @param layerId - Optional custom layer ID (defaults to DEFAULT_AREA_LAYER_NAME)
32
25
  * @returns MapLibre fill layer specification
33
26
  *
34
27
  * @alpha
35
28
  */
36
- export function createAreaFillLayer(dataSourceName, config) {
29
+ export function createAreaFillLayer(dataSourceName, config, layerId = DEFAULT_AREA_LAYER_NAME) {
37
30
  const { selectedSegmentItems = [], areas = {} } = config || {};
38
31
  const { fillOpacity = 0.7 } = areas;
39
32
  const layer = {
40
- id: DEFAULT_AREA_LAYER_NAME,
33
+ id: layerId,
41
34
  type: "fill",
42
35
  source: dataSourceName,
43
36
  paint: {
@@ -59,15 +52,16 @@ export function createAreaFillLayer(dataSourceName, config) {
59
52
  *
60
53
  * @param dataSourceName - Name of the GeoJSON data source
61
54
  * @param config - Area chart configuration
55
+ * @param layerId - Optional custom layer ID (defaults to DEFAULT_AREA_OUTLINE_LAYER_NAME)
62
56
  * @returns MapLibre line layer specification
63
57
  *
64
58
  * @alpha
65
59
  */
66
- export function createAreaOutlineLayer(dataSourceName, config) {
60
+ export function createAreaOutlineLayer(dataSourceName, config, layerId = DEFAULT_AREA_OUTLINE_LAYER_NAME) {
67
61
  const { selectedSegmentItems = [], areas = {} } = config || {};
68
62
  const { borderColor = "#FFFFFF", borderWidth = 1 } = areas;
69
63
  const layer = {
70
- id: DEFAULT_AREA_OUTLINE_LAYER_NAME,
64
+ id: layerId,
71
65
  type: "line",
72
66
  source: dataSourceName,
73
67
  paint: {
@@ -80,4 +74,4 @@ export function createAreaOutlineLayer(dataSourceName, config) {
80
74
  }
81
75
  return layer;
82
76
  }
83
- //# sourceMappingURL=maplibreDataLayersArea.js.map
77
+ //# sourceMappingURL=layers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"layers.js","sourceRoot":"","sources":["../../../../src/next/layers/area/layers.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAEhC,OAAO,EAAE,uBAAuB,EAAE,+BAA+B,EAAE,MAAM,gBAAgB,CAAC;AAC1F,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAQtE;;;;;;;GAOG;AACH,MAAM,UAAU,gBAAgB,CAAC,oBAA8B;IAC3D,OAAO,mBAAmB,CAAC,oBAAoB,CAAC,CAAC;AACrD,CAAC;AAED;;;;;;;;;;;;;GAaG;AACH,MAAM,UAAU,mBAAmB,CAC/B,cAAsB,EACtB,MAA2B,EAC3B,UAAkB,uBAAuB;IAEzC,MAAM,EAAE,oBAAoB,GAAG,EAAE,EAAE,KAAK,GAAG,EAAE,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;IAC/D,MAAM,EAAE,WAAW,GAAG,GAAG,EAAE,GAAG,KAAK,CAAC;IAEpC,MAAM,KAAK,GAA2B;QAClC,EAAE,EAAE,OAAO;QACX,IAAI,EAAE,MAAM;QACZ,MAAM,EAAE,cAAc;QACtB,KAAK,EAAE;YACH,4DAA4D;YAC5D,YAAY,EAAE,CAAC,UAAU,EAAE,CAAC,KAAK,EAAE,YAAY,CAAC,EAAE,SAAS,CAAC;YAC5D,cAAc,EAAE,WAAW;SAC9B;KACJ,CAAC;IAEF,IAAI,oBAAoB,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAClC,KAAK,CAAC,MAAM,GAAG,gBAAgB,CAAC,oBAAoB,CAAC,CAAC;IAC1D,CAAC;IAED,OAAO,KAAK,CAAC;AACjB,CAAC;AAED;;;;;;;;;;;;GAYG;AACH,MAAM,UAAU,sBAAsB,CAClC,cAAsB,EACtB,MAA2B,EAC3B,UAAkB,+BAA+B;IAEjD,MAAM,EAAE,oBAAoB,GAAG,EAAE,EAAE,KAAK,GAAG,EAAE,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;IAC/D,MAAM,EAAE,WAAW,GAAG,SAAS,EAAE,WAAW,GAAG,CAAC,EAAE,GAAG,KAAK,CAAC;IAE3D,MAAM,KAAK,GAA2B;QAClC,EAAE,EAAE,OAAO;QACX,IAAI,EAAE,MAAM;QACZ,MAAM,EAAE,cAAc;QACtB,KAAK,EAAE;YACH,YAAY,EAAE,WAAW;YACzB,YAAY,EAAE,WAAW;SAC5B;KACJ,CAAC;IAEF,IAAI,oBAAoB,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAClC,KAAK,CAAC,MAAM,GAAG,gBAAgB,CAAC,oBAAoB,CAAC,CAAC;IAC1D,CAAC;IAED,OAAO,KAAK,CAAC;AACjB,CAAC"}
@@ -0,0 +1,33 @@
1
+ import { IGeoChartNextConfig } from "../../types/config/unified.js";
2
+ import { GeoJSONSourceSpecification, IMapFacade } from "../common/mapFacade.js";
3
+ /**
4
+ * Generate unique layer IDs for an area layer
5
+ *
6
+ * @internal
7
+ */
8
+ export declare function getAreaLayerIds(layerId: string): {
9
+ sourceId: string;
10
+ fillLayerId: string;
11
+ outlineLayerId: string;
12
+ };
13
+ /**
14
+ * Syncs area layer data to the map using pre-computed source.
15
+ *
16
+ * @param map - MapLibre map instance
17
+ * @param layerId - Unique layer identifier
18
+ * @param source - Pre-computed GeoJSON source specification
19
+ * @param config - Chart configuration
20
+ *
21
+ * @internal
22
+ */
23
+ export declare function syncAreaLayerToMap(map: IMapFacade, layerId: string, source: GeoJSONSourceSpecification, config: IGeoChartNextConfig): void;
24
+ /**
25
+ * Remove area layer and its resources from the map
26
+ *
27
+ * @param map - MapLibre map instance
28
+ * @param layerId - Unique layer identifier
29
+ *
30
+ * @internal
31
+ */
32
+ export declare function removeAreaLayer(map: IMapFacade, layerId: string): void;
33
+ //# sourceMappingURL=operations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../../src/next/layers/area/operations.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAEpE,OAAO,EAAE,0BAA0B,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAEhF;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,MAAM;;;;EAM9C;AAED;;;;;;;;;GASG;AACH,wBAAgB,kBAAkB,CAC9B,GAAG,EAAE,UAAU,EACf,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,0BAA0B,EAClC,MAAM,EAAE,mBAAmB,GAC5B,IAAI,CAcN;AAED;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAAC,GAAG,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI,CAOtE"}
@@ -0,0 +1,55 @@
1
+ // (C) 2025 GoodData Corporation
2
+ import { createAreaFillLayer, createAreaOutlineLayer } from "./layers.js";
3
+ import { createStylePlan } from "../../map/styleReconciliation/planBuilder.js";
4
+ import { applyStylePlan } from "../../map/styleReconciliation/reconcileStyle.js";
5
+ import { removeLayerIfExists, removeSourceIfExists } from "../common/layerOps.js";
6
+ /**
7
+ * Generate unique layer IDs for an area layer
8
+ *
9
+ * @internal
10
+ */
11
+ export function getAreaLayerIds(layerId) {
12
+ return {
13
+ sourceId: `area-source-${layerId}`,
14
+ fillLayerId: `area-fill-${layerId}`,
15
+ outlineLayerId: `area-outline-${layerId}`,
16
+ };
17
+ }
18
+ /**
19
+ * Syncs area layer data to the map using pre-computed source.
20
+ *
21
+ * @param map - MapLibre map instance
22
+ * @param layerId - Unique layer identifier
23
+ * @param source - Pre-computed GeoJSON source specification
24
+ * @param config - Chart configuration
25
+ *
26
+ * @internal
27
+ */
28
+ export function syncAreaLayerToMap(map, layerId, source, config) {
29
+ const ids = getAreaLayerIds(layerId);
30
+ // Build plan using pre-computed source - no transformation needed
31
+ const plan = createStylePlan()
32
+ .addSource(ids.sourceId, source)
33
+ // Add fill layer first (renders below outline)
34
+ .addLayer(createAreaFillLayer(ids.sourceId, config, ids.fillLayerId))
35
+ // Add outline layer on top of fill
36
+ .addLayer(createAreaOutlineLayer(ids.sourceId, config, ids.outlineLayerId))
37
+ .build();
38
+ // applyStylePlan removes only resources in the plan, then re-adds them
39
+ applyStylePlan(map, plan);
40
+ }
41
+ /**
42
+ * Remove area layer and its resources from the map
43
+ *
44
+ * @param map - MapLibre map instance
45
+ * @param layerId - Unique layer identifier
46
+ *
47
+ * @internal
48
+ */
49
+ export function removeAreaLayer(map, layerId) {
50
+ const ids = getAreaLayerIds(layerId);
51
+ const layersToRemove = [ids.fillLayerId, ids.outlineLayerId];
52
+ layersToRemove.forEach((id) => removeLayerIfExists(map, id));
53
+ removeSourceIfExists(map, ids.sourceId);
54
+ }
55
+ //# sourceMappingURL=operations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/next/layers/area/operations.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAEhC,OAAO,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAC1E,OAAO,EAAE,eAAe,EAAE,MAAM,8CAA8C,CAAC;AAC/E,OAAO,EAAE,cAAc,EAAE,MAAM,iDAAiD,CAAC;AAEjF,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAGlF;;;;GAIG;AACH,MAAM,UAAU,eAAe,CAAC,OAAe;IAC3C,OAAO;QACH,QAAQ,EAAE,eAAe,OAAO,EAAE;QAClC,WAAW,EAAE,aAAa,OAAO,EAAE;QACnC,cAAc,EAAE,gBAAgB,OAAO,EAAE;KAC5C,CAAC;AACN,CAAC;AAED;;;;;;;;;GASG;AACH,MAAM,UAAU,kBAAkB,CAC9B,GAAe,EACf,OAAe,EACf,MAAkC,EAClC,MAA2B;IAE3B,MAAM,GAAG,GAAG,eAAe,CAAC,OAAO,CAAC,CAAC;IAErC,kEAAkE;IAClE,MAAM,IAAI,GAAG,eAAe,EAAE;SACzB,SAAS,CAAC,GAAG,CAAC,QAAQ,EAAE,MAAM,CAAC;QAChC,+CAA+C;SAC9C,QAAQ,CAAC,mBAAmB,CAAC,GAAG,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,CAAC,WAAW,CAAC,CAAC;QACrE,mCAAmC;SAClC,QAAQ,CAAC,sBAAsB,CAAC,GAAG,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,CAAC,cAAc,CAAC,CAAC;SAC1E,KAAK,EAAE,CAAC;IAEb,uEAAuE;IACvE,cAAc,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;AAC9B,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,eAAe,CAAC,GAAe,EAAE,OAAe;IAC5D,MAAM,GAAG,GAAG,eAAe,CAAC,OAAO,CAAC,CAAC;IAErC,MAAM,cAAc,GAAG,CAAC,GAAG,CAAC,WAAW,EAAE,GAAG,CAAC,cAAc,CAAC,CAAC;IAE7D,cAAc,CAAC,OAAO,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,mBAAmB,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,CAAC;IAC7D,oBAAoB,CAAC,GAAG,EAAE,GAAG,CAAC,QAAQ,CAAC,CAAC;AAC5C,CAAC"}
@@ -0,0 +1,36 @@
1
+ import { IGeoJsonFeature } from "@gooddata/sdk-model";
2
+ import { IColorStrategy } from "@gooddata/sdk-ui-vis-commons";
3
+ import type { GeoJSONSourceSpecification } from "../common/mapFacade.js";
4
+ import { IGeoAreaChartConfig } from "../../types/config/areaChart.js";
5
+ import { IAreaGeoData } from "../../types/geoData/area.js";
6
+ /**
7
+ * Properties for creating a area data source
8
+ *
9
+ * @alpha
10
+ */
11
+ export interface IAreaDataSourceProps {
12
+ colorStrategy: IColorStrategy;
13
+ config: IGeoAreaChartConfig;
14
+ geoData: IAreaGeoData;
15
+ /**
16
+ * Boundary features to render. These are matched with geoData by area identifier.
17
+ */
18
+ features: IGeoJsonFeature[];
19
+ }
20
+ type IAreaDataSourceFeature = GeoJSON.Feature<GeoJSON.Geometry, GeoJSON.GeoJsonProperties>;
21
+ export type IAreaDataSourceFeatures = IAreaDataSourceFeature[];
22
+ /**
23
+ * Creates a GeoJSON data source for area visualization.
24
+ *
25
+ * @remarks
26
+ * Transforms area geo data into a complete GeoJSON source specification
27
+ * with polygon features for MapLibre rendering.
28
+ *
29
+ * @param dataSourceProps - Properties containing area data, config, and styling
30
+ * @returns GeoJSON source specification for MapLibre
31
+ *
32
+ * @alpha
33
+ */
34
+ export declare function createAreaDataSource(dataSourceProps: IAreaDataSourceProps): GeoJSONSourceSpecification;
35
+ export {};
36
+ //# sourceMappingURL=source.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"source.d.ts","sourceRoot":"","sources":["../../../../src/next/layers/area/source.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAgB,MAAM,qBAAqB,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AAEzE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAE3D;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC,aAAa,EAAE,cAAc,CAAC;IAC9B,MAAM,EAAE,mBAAmB,CAAC;IAC5B,OAAO,EAAE,YAAY,CAAC;IACtB;;OAEG;IACH,QAAQ,EAAE,eAAe,EAAE,CAAC;CAC/B;AAED,KAAK,sBAAsB,GAAG,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,QAAQ,EAAE,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAC3F,MAAM,MAAM,uBAAuB,GAAG,sBAAsB,EAAE,CAAC;AA6L/D;;;;;;;;;;;GAWG;AACH,wBAAgB,oBAAoB,CAAC,eAAe,EAAE,oBAAoB,GAAG,0BAA0B,CAUtG"}