@gooddata/sdk-ui-geo 11.18.0-alpha.7 → 11.18.0-alpha.8

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 (363) hide show
  1. package/esm/GeoChart.d.ts +26 -26
  2. package/esm/GeoChart.d.ts.map +1 -1
  3. package/esm/GeoChart.js.map +1 -1
  4. package/esm/GeoPushpinChart.d.ts +7 -2
  5. package/esm/GeoPushpinChart.d.ts.map +1 -1
  6. package/esm/GeoPushpinChart.js +6 -1
  7. package/esm/GeoPushpinChart.js.map +1 -1
  8. package/esm/core/MapboxTokenProvider.d.ts +12 -6
  9. package/esm/core/MapboxTokenProvider.d.ts.map +1 -1
  10. package/esm/core/MapboxTokenProvider.js +13 -7
  11. package/esm/core/MapboxTokenProvider.js.map +1 -1
  12. package/esm/core/geoChart/GeoChartInner.d.ts +2 -1
  13. package/esm/core/geoChart/GeoChartInner.d.ts.map +1 -1
  14. package/esm/core/geoChart/GeoChartInner.js.map +1 -1
  15. package/esm/core/geoChart/GeoChartRenderer.d.ts +2 -1
  16. package/esm/core/geoChart/GeoChartRenderer.d.ts.map +1 -1
  17. package/esm/core/geoChart/GeoChartRenderer.js +2 -2
  18. package/esm/core/geoChart/GeoChartRenderer.js.map +1 -1
  19. package/esm/core/geoChart/constants/geoChart.d.ts +2 -1
  20. package/esm/core/geoChart/constants/geoChart.d.ts.map +1 -1
  21. package/esm/core/geoChart/constants/geoChart.js +1 -1
  22. package/esm/core/geoChart/constants/geoChart.js.map +1 -1
  23. package/esm/core/geoChart/geoChartDataSource.d.ts.map +1 -1
  24. package/esm/core/geoChart/geoChartDataSource.js +1 -1
  25. package/esm/core/geoChart/geoChartDataSource.js.map +1 -1
  26. package/esm/core/geoChart/helpers/geoChart/data.d.ts +2 -1
  27. package/esm/core/geoChart/helpers/geoChart/data.d.ts.map +1 -1
  28. package/esm/core/geoChart/helpers/geoChart/data.js +1 -1
  29. package/esm/core/geoChart/helpers/geoChart/viewport.d.ts +2 -1
  30. package/esm/core/geoChart/helpers/geoChart/viewport.d.ts.map +1 -1
  31. package/esm/core/geoChart/helpers/geoChart/viewport.js +1 -0
  32. package/esm/core/geoChart/helpers/geoChart/viewport.js.map +1 -1
  33. package/esm/index.d.ts +26 -4
  34. package/esm/index.d.ts.map +1 -1
  35. package/esm/index.js +9 -1
  36. package/esm/index.js.map +1 -1
  37. package/esm/internal/index.d.ts +16 -0
  38. package/esm/internal/index.d.ts.map +1 -0
  39. package/esm/internal/index.js +16 -0
  40. package/esm/internal/index.js.map +1 -0
  41. package/esm/next/GeoAreaChart.d.ts +2 -2
  42. package/esm/next/GeoAreaChart.d.ts.map +1 -1
  43. package/esm/next/GeoAreaChart.js +7 -5
  44. package/esm/next/GeoAreaChart.js.map +1 -1
  45. package/esm/next/GeoChart.d.ts +19 -0
  46. package/esm/next/GeoChart.d.ts.map +1 -0
  47. package/esm/next/GeoChart.js +34 -0
  48. package/esm/next/GeoChart.js.map +1 -0
  49. package/esm/next/GeoPushpinChart.d.ts +12 -0
  50. package/esm/next/GeoPushpinChart.d.ts.map +1 -0
  51. package/esm/next/GeoPushpinChart.js +53 -0
  52. package/esm/next/GeoPushpinChart.js.map +1 -0
  53. package/esm/next/components/{GeoChartNextDataLoader.d.ts → GeoChartDataLoader.d.ts} +3 -3
  54. package/esm/next/components/GeoChartDataLoader.d.ts.map +1 -0
  55. package/esm/next/components/{GeoChartNextDataLoader.js → GeoChartDataLoader.js} +7 -7
  56. package/esm/next/components/GeoChartDataLoader.js.map +1 -0
  57. package/esm/next/components/{GeoChartNextProviders.d.ts → GeoChartProviders.d.ts} +4 -4
  58. package/esm/next/components/GeoChartProviders.d.ts.map +1 -0
  59. package/esm/next/components/{GeoChartNextProviders.js → GeoChartProviders.js} +3 -3
  60. package/esm/next/components/GeoChartProviders.js.map +1 -0
  61. package/esm/next/components/GeoErrorComponent.js +3 -3
  62. package/esm/next/components/GeoErrorComponent.js.map +1 -1
  63. package/esm/next/components/GeoLoadingComponent.js +3 -3
  64. package/esm/next/components/GeoLoadingComponent.js.map +1 -1
  65. package/esm/next/components/{RenderGeoChartNext.d.ts → RenderGeoChart.d.ts} +3 -3
  66. package/esm/next/components/RenderGeoChart.d.ts.map +1 -0
  67. package/esm/next/components/{RenderGeoChartNext.js → RenderGeoChart.js} +7 -7
  68. package/esm/next/components/RenderGeoChart.js.map +1 -0
  69. package/esm/next/components/multiLayerLegend/{GeoChartNextLegendOverlay.d.ts → GeoChartLegendOverlay.d.ts} +8 -8
  70. package/esm/next/components/multiLayerLegend/GeoChartLegendOverlay.d.ts.map +1 -0
  71. package/esm/next/components/multiLayerLegend/{GeoChartNextLegendOverlay.js → GeoChartLegendOverlay.js} +2 -2
  72. package/esm/next/components/multiLayerLegend/GeoChartLegendOverlay.js.map +1 -0
  73. package/esm/next/components/multiLayerLegend/LegendGroupColor.d.ts +2 -2
  74. package/esm/next/components/multiLayerLegend/LegendGroupColor.js +1 -1
  75. package/esm/next/components/multiLayerLegend/LegendGroupColorScale.d.ts +2 -2
  76. package/esm/next/components/multiLayerLegend/LegendGroupColorScale.js +1 -1
  77. package/esm/next/components/multiLayerLegend/LegendGroupSize.d.ts +2 -2
  78. package/esm/next/components/multiLayerLegend/LegendGroupSize.js +1 -1
  79. package/esm/next/components/multiLayerLegend/MultiLayerLegendPanel.d.ts +1 -1
  80. package/esm/next/components/multiLayerLegend/MultiLayerLegendPanel.js +1 -1
  81. package/esm/next/components/multiLayerLegend/MultiLayerLegendSection.d.ts +2 -2
  82. package/esm/next/components/multiLayerLegend/MultiLayerLegendSection.js +1 -1
  83. package/esm/next/constants/defaults.d.ts +6 -8
  84. package/esm/next/constants/defaults.d.ts.map +1 -1
  85. package/esm/next/constants/defaults.js +3 -3
  86. package/esm/next/constants/defaults.js.map +1 -1
  87. package/esm/next/context/GeoChartContext.d.ts +22 -0
  88. package/esm/next/context/GeoChartContext.d.ts.map +1 -0
  89. package/esm/next/context/GeoChartContext.js +36 -0
  90. package/esm/next/context/GeoChartContext.js.map +1 -0
  91. package/esm/next/context/GeoDataContext.d.ts +1 -1
  92. package/esm/next/context/GeoDataContext.js +2 -2
  93. package/esm/next/context/GeoDataContext.js.map +1 -1
  94. package/esm/next/context/GeoLayersContext.d.ts +1 -1
  95. package/esm/next/context/GeoLayersContext.d.ts.map +1 -1
  96. package/esm/next/context/GeoLayersContext.js +1 -1
  97. package/esm/next/context/GeoLayersContext.js.map +1 -1
  98. package/esm/next/context/GeoLegendContext.d.ts +4 -4
  99. package/esm/next/context/GeoLegendContext.js +3 -3
  100. package/esm/next/context/GeoLegendContext.js.map +1 -1
  101. package/esm/next/hooks/dataLoading/useGeoChartDataPipeline.d.ts +3 -3
  102. package/esm/next/hooks/dataLoading/useGeoChartDataPipeline.d.ts.map +1 -1
  103. package/esm/next/hooks/dataLoading/useGeoChartDataPipeline.js +1 -1
  104. package/esm/next/hooks/dataLoading/useGeoChartDataPipeline.js.map +1 -1
  105. package/esm/next/hooks/dataLoading/useNormalizedLayerExecutions.d.ts +1 -1
  106. package/esm/next/hooks/dataLoading/useNormalizedLayerExecutions.d.ts.map +1 -1
  107. package/esm/next/hooks/layers/useGeoAdapterContext.js +3 -3
  108. package/esm/next/hooks/layers/useGeoAdapterContext.js.map +1 -1
  109. package/esm/next/hooks/layers/useLayerTooltips.d.ts +1 -1
  110. package/esm/next/hooks/layers/useLayerTooltips.d.ts.map +1 -1
  111. package/esm/next/hooks/layers/useLayerTooltips.js +1 -1
  112. package/esm/next/hooks/layers/useLayerTooltips.js.map +1 -1
  113. package/esm/next/hooks/layers/useLayersData.d.ts +1 -1
  114. package/esm/next/hooks/layers/useLayersData.d.ts.map +1 -1
  115. package/esm/next/hooks/layers/useLayersExecutions.d.ts +2 -2
  116. package/esm/next/hooks/layers/useLayersExecutions.d.ts.map +1 -1
  117. package/esm/next/hooks/layers/useLayersPrepare.d.ts +3 -3
  118. package/esm/next/hooks/layers/useLayersPrepare.d.ts.map +1 -1
  119. package/esm/next/hooks/layers/useLayersPrepare.js +1 -1
  120. package/esm/next/hooks/layers/useLayersPrepare.js.map +1 -1
  121. package/esm/next/hooks/legend/useLegendConfig.d.ts +4 -4
  122. package/esm/next/hooks/legend/useLegendConfig.d.ts.map +1 -1
  123. package/esm/next/hooks/legend/useLegendConfig.js +2 -2
  124. package/esm/next/hooks/legend/useLegendConfig.js.map +1 -1
  125. package/esm/next/hooks/legend/useLegendDetails.d.ts +3 -3
  126. package/esm/next/hooks/legend/useLegendDetails.d.ts.map +1 -1
  127. package/esm/next/hooks/legend/useLegendDetails.js +2 -2
  128. package/esm/next/hooks/legend/useLegendDetails.js.map +1 -1
  129. package/esm/next/hooks/legend/useMultiLayerLegend.d.ts +3 -3
  130. package/esm/next/hooks/legend/useMultiLayerLegend.d.ts.map +1 -1
  131. package/esm/next/hooks/legend/useMultiLayerLegend.js +1 -1
  132. package/esm/next/hooks/map/useAfterRender.d.ts +1 -1
  133. package/esm/next/hooks/map/useAfterRender.d.ts.map +1 -1
  134. package/esm/next/hooks/map/useAfterRender.js +1 -1
  135. package/esm/next/hooks/map/useAfterRender.js.map +1 -1
  136. package/esm/next/hooks/map/useApplyViewportOnConfigChange.d.ts +2 -2
  137. package/esm/next/hooks/map/useApplyViewportOnConfigChange.d.ts.map +1 -1
  138. package/esm/next/hooks/map/useApplyViewportOnConfigChange.js.map +1 -1
  139. package/esm/next/hooks/map/useMapInitialization.d.ts +2 -2
  140. package/esm/next/hooks/map/useMapInitialization.d.ts.map +1 -1
  141. package/esm/next/hooks/map/useMapInitialization.js.map +1 -1
  142. package/esm/next/hooks/props/useResolvedGeoChartProps.d.ts +18 -0
  143. package/esm/next/hooks/props/useResolvedGeoChartProps.d.ts.map +1 -0
  144. package/esm/next/hooks/props/{useResolvedGeoChartNextProps.js → useResolvedGeoChartProps.js} +12 -10
  145. package/esm/next/hooks/props/useResolvedGeoChartProps.js.map +1 -0
  146. package/esm/next/index.d.ts +9 -10
  147. package/esm/next/index.d.ts.map +1 -1
  148. package/esm/next/index.js +1 -3
  149. package/esm/next/index.js.map +1 -1
  150. package/esm/next/layers/area/coloring/palette.d.ts +2 -2
  151. package/esm/next/layers/area/coloring/palette.js +2 -2
  152. package/esm/next/layers/area/coloring/palette.js.map +1 -1
  153. package/esm/next/layers/area/config/defaults.d.ts +2 -2
  154. package/esm/next/layers/area/config/defaults.d.ts.map +1 -1
  155. package/esm/next/layers/area/config/defaults.js +1 -1
  156. package/esm/next/layers/area/config/defaults.js.map +1 -1
  157. package/esm/next/layers/area/layerFactory.d.ts +4 -2
  158. package/esm/next/layers/area/layerFactory.d.ts.map +1 -1
  159. package/esm/next/layers/area/layerFactory.js +5 -3
  160. package/esm/next/layers/area/layerFactory.js.map +1 -1
  161. package/esm/next/layers/area/layers.d.ts +3 -3
  162. package/esm/next/layers/area/layers.js +4 -4
  163. package/esm/next/layers/area/layers.js.map +1 -1
  164. package/esm/next/layers/area/operations.d.ts +2 -2
  165. package/esm/next/layers/area/operations.d.ts.map +1 -1
  166. package/esm/next/layers/area/operations.js +1 -1
  167. package/esm/next/layers/area/operations.js.map +1 -1
  168. package/esm/next/layers/area/source.d.ts +2 -2
  169. package/esm/next/layers/area/source.js +1 -1
  170. package/esm/next/layers/common/constants.d.ts +2 -2
  171. package/esm/next/layers/common/constants.js +2 -2
  172. package/esm/next/layers/common/mapFacade.d.ts +7 -2
  173. package/esm/next/layers/common/mapFacade.d.ts.map +1 -1
  174. package/esm/next/layers/common/mapFacade.js +3 -3
  175. package/esm/next/layers/common/mapFacade.js.map +1 -1
  176. package/esm/next/layers/execution/buildLayerExecution.d.ts +1 -1
  177. package/esm/next/layers/execution/buildLayerExecution.js +2 -2
  178. package/esm/next/layers/execution/buildLayerExecution.js.map +1 -1
  179. package/esm/next/layers/pushpin/adapter.js.map +1 -1
  180. package/esm/next/layers/pushpin/coloring/colorStrategy.js +2 -2
  181. package/esm/next/layers/pushpin/coloring/colorStrategy.js.map +1 -1
  182. package/esm/next/layers/pushpin/coloring/palette.js +2 -2
  183. package/esm/next/layers/pushpin/coloring/palette.js.map +1 -1
  184. package/esm/next/layers/pushpin/config/defaults.d.ts +4 -4
  185. package/esm/next/layers/pushpin/config/defaults.d.ts.map +1 -1
  186. package/esm/next/layers/pushpin/config/defaults.js +1 -1
  187. package/esm/next/layers/pushpin/config/defaults.js.map +1 -1
  188. package/esm/next/layers/pushpin/data/transformation.js +2 -2
  189. package/esm/next/layers/pushpin/data/transformation.js.map +1 -1
  190. package/esm/next/layers/pushpin/layerFactory.d.ts +5 -3
  191. package/esm/next/layers/pushpin/layerFactory.d.ts.map +1 -1
  192. package/esm/next/layers/pushpin/layerFactory.js +6 -4
  193. package/esm/next/layers/pushpin/layerFactory.js.map +1 -1
  194. package/esm/next/layers/pushpin/layers.d.ts +7 -7
  195. package/esm/next/layers/pushpin/layers.d.ts.map +1 -1
  196. package/esm/next/layers/pushpin/layers.js +6 -6
  197. package/esm/next/layers/pushpin/layers.js.map +1 -1
  198. package/esm/next/layers/pushpin/operations.d.ts +2 -2
  199. package/esm/next/layers/pushpin/operations.d.ts.map +1 -1
  200. package/esm/next/layers/pushpin/operations.js +1 -1
  201. package/esm/next/layers/pushpin/operations.js.map +1 -1
  202. package/esm/next/layers/pushpin/size/calculations.d.ts +1 -1
  203. package/esm/next/layers/pushpin/size/calculations.js +1 -1
  204. package/esm/next/layers/pushpin/size/calculations.js.map +1 -1
  205. package/esm/next/layers/pushpin/source.d.ts +4 -4
  206. package/esm/next/layers/pushpin/source.d.ts.map +1 -1
  207. package/esm/next/layers/pushpin/source.js +1 -1
  208. package/esm/next/layers/pushpin/source.js.map +1 -1
  209. package/esm/next/layers/pushpin/tooltip/tooltipManagement.d.ts +4 -4
  210. package/esm/next/layers/pushpin/tooltip/tooltipManagement.d.ts.map +1 -1
  211. package/esm/next/layers/pushpin/tooltip/tooltipManagement.js +2 -2
  212. package/esm/next/layers/pushpin/tooltip/tooltipManagement.js.map +1 -1
  213. package/esm/next/layers/registry/adapterTypes.d.ts +2 -2
  214. package/esm/next/layers/registry/adapterTypes.d.ts.map +1 -1
  215. package/esm/next/map/MapController.d.ts +3 -3
  216. package/esm/next/map/MapController.d.ts.map +1 -1
  217. package/esm/next/map/runtime/mapConfig.d.ts +6 -6
  218. package/esm/next/map/runtime/mapConfig.js +6 -6
  219. package/esm/next/map/style/sharedDefaults.d.ts +5 -5
  220. package/esm/next/map/style/sharedDefaults.d.ts.map +1 -1
  221. package/esm/next/map/style/sharedDefaults.js +2 -2
  222. package/esm/next/map/style/sharedDefaults.js.map +1 -1
  223. package/esm/next/map/style/tooltipFormatting.js +2 -2
  224. package/esm/next/map/style/tooltipFormatting.js.map +1 -1
  225. package/esm/next/map/viewport/viewportCalculation.d.ts +1 -1
  226. package/esm/next/map/viewport/viewportCalculation.js +2 -2
  227. package/esm/next/map/viewport/viewportCalculation.js.map +1 -1
  228. package/esm/next/map/viewport/viewportPresets.d.ts +4 -4
  229. package/esm/next/map/viewport/viewportPresets.d.ts.map +1 -1
  230. package/esm/next/map/viewport/viewportPresets.js +1 -1
  231. package/esm/next/map/viewport/viewportPresets.js.map +1 -1
  232. package/esm/next/map/viewport/viewportResolution.d.ts +3 -3
  233. package/esm/next/map/viewport/viewportResolution.d.ts.map +1 -1
  234. package/esm/next/map/viewport/viewportResolution.js.map +1 -1
  235. package/esm/next/pushData/PushDataSync.js +2 -2
  236. package/esm/next/pushData/PushDataSync.js.map +1 -1
  237. package/esm/next/types/common/callbacks.d.ts +2 -2
  238. package/esm/next/types/common/callbacks.js +1 -1
  239. package/esm/next/types/common/callbacks.js.map +1 -1
  240. package/esm/next/types/common/coordinates.d.ts +3 -30
  241. package/esm/next/types/common/coordinates.d.ts.map +1 -1
  242. package/esm/next/types/common/coordinates.js +1 -1
  243. package/esm/next/types/common/coordinates.js.map +1 -1
  244. package/esm/next/types/common/legends.d.ts +3 -3
  245. package/esm/next/types/common/legends.js +1 -1
  246. package/esm/next/types/common/legends.js.map +1 -1
  247. package/esm/next/types/config/areaChart.d.ts +8 -6
  248. package/esm/next/types/config/areaChart.d.ts.map +1 -1
  249. package/esm/next/types/config/areas.d.ts +1 -1
  250. package/esm/next/types/config/areas.js +1 -1
  251. package/esm/next/types/config/areas.js.map +1 -1
  252. package/esm/next/types/config/legend.d.ts +3 -3
  253. package/esm/next/types/config/legend.d.ts.map +1 -1
  254. package/esm/next/types/config/legend.js +1 -1
  255. package/esm/next/types/config/legend.js.map +1 -1
  256. package/esm/next/types/config/points.d.ts +10 -10
  257. package/esm/next/types/config/points.d.ts.map +1 -1
  258. package/esm/next/types/config/points.js +9 -4
  259. package/esm/next/types/config/points.js.map +1 -1
  260. package/esm/next/types/config/pushpinChart.d.ts +41 -11
  261. package/esm/next/types/config/pushpinChart.d.ts.map +1 -1
  262. package/esm/next/types/config/unified.d.ts +12 -10
  263. package/esm/next/types/config/unified.d.ts.map +1 -1
  264. package/esm/next/types/config/viewport.d.ts +11 -11
  265. package/esm/next/types/config/viewport.d.ts.map +1 -1
  266. package/esm/next/types/config/viewport.js +11 -4
  267. package/esm/next/types/config/viewport.js.map +1 -1
  268. package/esm/next/types/geoData/area.d.ts +2 -2
  269. package/esm/next/types/geoData/area.js +1 -1
  270. package/esm/next/types/geoData/area.js.map +1 -1
  271. package/esm/next/types/geoData/common.d.ts +5 -5
  272. package/esm/next/types/geoData/common.js +1 -1
  273. package/esm/next/types/geoData/common.js.map +1 -1
  274. package/esm/next/types/geoData/pushpin.d.ts +3 -3
  275. package/esm/next/types/geoData/pushpin.js +1 -1
  276. package/esm/next/types/geoData/pushpin.js.map +1 -1
  277. package/esm/next/types/layers/index.d.ts +11 -11
  278. package/esm/next/types/layers/index.js +3 -3
  279. package/esm/next/types/layers/index.js.map +1 -1
  280. package/esm/next/types/legend/model.d.ts +11 -11
  281. package/esm/next/types/legend/model.js +4 -4
  282. package/esm/next/types/legend/model.js.map +1 -1
  283. package/esm/next/types/map/provider.d.ts +6 -6
  284. package/esm/next/types/map/provider.d.ts.map +1 -1
  285. package/esm/next/types/map/tileset.d.ts +1 -1
  286. package/esm/next/types/props/areaChart/public.d.ts +6 -6
  287. package/esm/next/types/props/areaChart/public.d.ts.map +1 -1
  288. package/esm/next/types/props/areaChart/public.js +1 -1
  289. package/esm/next/types/props/areaChart/public.js.map +1 -1
  290. package/esm/next/types/props/geoChart/internal.d.ts +52 -0
  291. package/esm/next/types/props/geoChart/internal.d.ts.map +1 -0
  292. package/esm/next/types/props/geoChart/internal.js +3 -0
  293. package/esm/next/types/props/geoChart/internal.js.map +1 -0
  294. package/esm/next/types/props/{geoChartNext → geoChart}/public.d.ts +5 -5
  295. package/esm/next/types/props/geoChart/public.d.ts.map +1 -0
  296. package/esm/next/types/props/geoChart/public.js +3 -0
  297. package/esm/next/types/props/geoChart/public.js.map +1 -0
  298. package/esm/next/types/props/pushpinChart/internal.d.ts +10 -10
  299. package/esm/next/types/props/pushpinChart/internal.d.ts.map +1 -1
  300. package/esm/next/types/props/pushpinChart/internal.js +1 -1
  301. package/esm/next/types/props/pushpinChart/internal.js.map +1 -1
  302. package/esm/next/types/props/pushpinChart/public.d.ts +37 -16
  303. package/esm/next/types/props/pushpinChart/public.d.ts.map +1 -1
  304. package/esm/next/types/props/pushpinChart/public.js +1 -1
  305. package/esm/next/types/props/pushpinChart/public.js.map +1 -1
  306. package/esm/next/types/props/shared.d.ts +15 -12
  307. package/esm/next/types/props/shared.d.ts.map +1 -1
  308. package/esm/next/types/props/shared.js +1 -1
  309. package/esm/next/types/props/shared.js.map +1 -1
  310. package/esm/next/utils/dataValidation.d.ts +2 -2
  311. package/esm/next/utils/dataValidation.d.ts.map +1 -1
  312. package/esm/next/utils/dataValidation.js +1 -1
  313. package/esm/next/utils/dataValidation.js.map +1 -1
  314. package/esm/next/utils/fingerprint.d.ts +1 -1
  315. package/esm/next/utils/fingerprint.d.ts.map +1 -1
  316. package/esm/next/utils/geoCollection.d.ts +2 -2
  317. package/esm/next/utils/geoCollection.js +2 -2
  318. package/esm/next/utils/geoCollection.js.map +1 -1
  319. package/esm/next/utils/layerConversion.d.ts +2 -2
  320. package/esm/next/utils/layerConversion.js +2 -2
  321. package/esm/next/utils/legend/aggregateLegend.d.ts +2 -2
  322. package/esm/next/utils/legend/aggregateLegend.d.ts.map +1 -1
  323. package/esm/next/utils/legend/aggregateLegend.js +1 -1
  324. package/esm/next/utils/legend/computeAreaLegend.d.ts +1 -1
  325. package/esm/next/utils/legend/computeAreaLegend.js +1 -1
  326. package/esm/next/utils/legend/computePushpinLegend.d.ts +1 -1
  327. package/esm/next/utils/legend/computePushpinLegend.js +1 -1
  328. package/esm/publicTypes/geoCommon.d.ts +31 -0
  329. package/esm/publicTypes/geoCommon.d.ts.map +1 -0
  330. package/esm/publicTypes/geoCommon.js +3 -0
  331. package/esm/publicTypes/geoCommon.js.map +1 -0
  332. package/esm/sdk-ui-geo.d.ts +865 -15
  333. package/package.json +15 -13
  334. package/esm/next/GeoChartNext.d.ts +0 -19
  335. package/esm/next/GeoChartNext.d.ts.map +0 -1
  336. package/esm/next/GeoChartNext.js +0 -34
  337. package/esm/next/GeoChartNext.js.map +0 -1
  338. package/esm/next/GeoPushpinChartNext.d.ts +0 -9
  339. package/esm/next/GeoPushpinChartNext.d.ts.map +0 -1
  340. package/esm/next/GeoPushpinChartNext.js +0 -24
  341. package/esm/next/GeoPushpinChartNext.js.map +0 -1
  342. package/esm/next/components/GeoChartNextDataLoader.d.ts.map +0 -1
  343. package/esm/next/components/GeoChartNextDataLoader.js.map +0 -1
  344. package/esm/next/components/GeoChartNextProviders.d.ts.map +0 -1
  345. package/esm/next/components/GeoChartNextProviders.js.map +0 -1
  346. package/esm/next/components/RenderGeoChartNext.d.ts.map +0 -1
  347. package/esm/next/components/RenderGeoChartNext.js.map +0 -1
  348. package/esm/next/components/multiLayerLegend/GeoChartNextLegendOverlay.d.ts.map +0 -1
  349. package/esm/next/components/multiLayerLegend/GeoChartNextLegendOverlay.js.map +0 -1
  350. package/esm/next/context/GeoChartNextContext.d.ts +0 -30
  351. package/esm/next/context/GeoChartNextContext.d.ts.map +0 -1
  352. package/esm/next/context/GeoChartNextContext.js +0 -44
  353. package/esm/next/context/GeoChartNextContext.js.map +0 -1
  354. package/esm/next/hooks/props/useResolvedGeoChartNextProps.d.ts +0 -21
  355. package/esm/next/hooks/props/useResolvedGeoChartNextProps.d.ts.map +0 -1
  356. package/esm/next/hooks/props/useResolvedGeoChartNextProps.js.map +0 -1
  357. package/esm/next/types/props/geoChartNext/internal.d.ts +0 -92
  358. package/esm/next/types/props/geoChartNext/internal.d.ts.map +0 -1
  359. package/esm/next/types/props/geoChartNext/internal.js +0 -3
  360. package/esm/next/types/props/geoChartNext/internal.js.map +0 -1
  361. package/esm/next/types/props/geoChartNext/public.d.ts.map +0 -1
  362. package/esm/next/types/props/geoChartNext/public.js +0 -3
  363. package/esm/next/types/props/geoChartNext/public.js.map +0 -1
@@ -1,7 +1,8 @@
1
1
  import { type IAttributeDescriptor, type IResultHeader } from "@gooddata/sdk-model";
2
2
  import { type DataViewFacade } from "@gooddata/sdk-ui";
3
3
  import { type IPushpinCategoryLegendItem } from "@gooddata/sdk-ui-vis-commons";
4
- import { type IAvailableLegends, type IGeoData, type IGeoLngLat } from "../../../../GeoChart.js";
4
+ import { type IAvailableLegends, type IGeoData } from "../../../../GeoChart.js";
5
+ import type { IGeoLngLat } from "../../../../publicTypes/geoCommon.js";
5
6
  export declare function getLocation(latlng: string | null): IGeoLngLat | null;
6
7
  export declare function parseCoordinate(coordinate: string | null): number | null;
7
8
  export declare function getGeoData(dv: DataViewFacade, emptyHeaderString: string, nullHeaderString: string): IGeoData;
@@ -1 +1 @@
1
- {"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../../src/core/geoChart/helpers/geoChart/data.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,oBAAoB,EAGzB,KAAK,aAAa,EAWrB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAe,KAAK,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACpE,OAAO,EAAE,KA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,KAAK,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAQ/E,OAAO,EACH,KAAK,iBAAiB,EAEtB,KAAK,QAAQ,EAIhB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAavE,wBAAgB,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,UAAU,GAAG,IAAI,CAepE;AAED,wBAAgB,eAAe,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM,GAAG,IAAI,CAexE;AAYD,wBAAgB,UAAU,CACtB,EAAE,EAAE,cAAc,EAClB,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,GACzB,QAAQ,CAuEV;AAkKD,wBAAgB,mBAAmB,CAC/B,aAAa,EAAE,0BAA0B,EAAE,EAC3C,OAAO,EAAE,QAAQ,GAClB,iBAAiB,CAenB;AAUD,wBAAgB,kBAAkB,CAAC,UAAU,EAAE,OAAO,CAAC,iBAAiB,GAAG,OAAO,CAAC,iBAAiB,CAQnG;AAED,MAAM,MAAM,aAAa,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,GAAG;IAClE,KAAK,EAAE,aAAa,EAAE,CAAC;CAC1B,CAAC;AACF,MAAM,WAAW,yBAAyB;IACtC,iBAAiB,EAAE,aAAa,CAAC;IACjC,kBAAkB,EAAE,aAAa,GAAG,SAAS,CAAC;IAC9C,oBAAoB,EAAE,aAAa,GAAG,SAAS,CAAC;CACnD;AAED,wBAAgB,4BAA4B,CACxC,EAAE,EAAE,cAAc,EAClB,OAAO,EAAE,QAAQ,GAClB,yBAAyB,CAkC3B"}
@@ -1,4 +1,4 @@
1
- // (C) 2020-2025 GoodData Corporation
1
+ // (C) 2020-2026 GoodData Corporation
2
2
  import { attributeDisplayFormRef, attributeLocalId, isAttribute, isIdentifierRef, isResultAttributeHeader, measureItem, measureLocalId, resultHeaderName, } from "@gooddata/sdk-model";
3
3
  import { BucketNames } from "@gooddata/sdk-ui";
4
4
  import { dataValueAsFloat, getFormatFromExecutionResponse, getGeoAttributeHeaderItems, getMinMax, } from "./common.js";
@@ -1,5 +1,6 @@
1
1
  import type mapboxgl from "mapbox-gl";
2
- import { type IGeoConfig, type IGeoLngLat, type IGeoLngLatBounds } from "../../../../GeoChart.js";
2
+ import { type IGeoConfig } from "../../../../GeoChart.js";
3
+ import type { IGeoLngLat, IGeoLngLatBounds } from "../../../../publicTypes/geoCommon.js";
3
4
  interface IGeoViewport {
4
5
  bounds?: mapboxgl.LngLatBoundsLike;
5
6
  center?: IGeoLngLat;
@@ -1 +1 @@
1
- {"version":3,"file":"viewport.d.ts","sourceRoot":"","sources":["../../../../../src/core/geoChart/helpers/geoChart/viewport.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,QAAQ,MAAM,WAAW,CAAC;AAEtC,OAAO,EACH,KAAK,UAAU,EAEf,KAAK,UAAU,EACf,KAAK,gBAAgB,EACxB,MAAM,yBAAyB,CAAC;AAGjC,UAAU,YAAY;IAClB,MAAM,CAAC,EAAE,QAAQ,CAAC,gBAAgB,CAAC;IACnC,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,UAAU,EAAE,EAAE,MAAM,EAAE,UAAU,GAAG,YAAY,CA8BvF;AAgBD,wBAAgB,eAAe,CAAC,OAAO,EAAE,UAAU,EAAE,GAAG,gBAAgB,GAAG,SAAS,CAMnF"}
1
+ {"version":3,"file":"viewport.d.ts","sourceRoot":"","sources":["../../../../../src/core/geoChart/helpers/geoChart/viewport.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,QAAQ,MAAM,WAAW,CAAC;AAEtC,OAAO,EAAE,KAAK,UAAU,EAA2B,MAAM,yBAAyB,CAAC;AACnF,OAAO,KAAK,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAGzF,UAAU,YAAY;IAClB,MAAM,CAAC,EAAE,QAAQ,CAAC,gBAAgB,CAAC;IACnC,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,UAAU,EAAE,EAAE,MAAM,EAAE,UAAU,GAAG,YAAY,CA8BvF;AAgBD,wBAAgB,eAAe,CAAC,OAAO,EAAE,UAAU,EAAE,GAAG,gBAAgB,GAAG,SAAS,CAMnF"}
@@ -1,3 +1,4 @@
1
+ // (C) 2020-2026 GoodData Corporation
1
2
  import { DEFAULT_CENTER, DEFAULT_WORLD_BOUNDS, DEFAULT_ZOOM, VIEWPORTS } from "../../constants/geoChart.js";
2
3
  export function getViewportOptions(data, config) {
3
4
  const center = config?.center;
@@ -1 +1 @@
1
- {"version":3,"file":"viewport.js","sourceRoot":"","sources":["../../../../../src/core/geoChart/helpers/geoChart/viewport.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,cAAc,EAAE,oBAAoB,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAQ5G,MAAM,UAAU,kBAAkB,CAAC,IAAkB,EAAE,MAAkB;IACrE,MAAM,MAAM,GAA2B,MAAM,EAAE,MAAM,CAAC;IACtD,MAAM,IAAI,GAAW,MAAM,EAAE,IAAI,IAAI,YAAY,CAAC;IAClD,MAAM,EAAE,IAAI,EAAE,GAAuB,MAAM,EAAE,QAAQ,IAAI,EAAE,CAAC;IAE5D,mCAAmC;IACnC,IAAI,CAAC,MAAM,EAAE,CAAC;QACV,IAAI,IAAI,IAAI,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC;YAC1B,OAAO;gBACH,MAAM,EAAE,SAAS,CAAC,IAAI,CAAC;aAC1B,CAAC;QACN,CAAC;aAAM,CAAC;YACJ,MAAM,YAAY,GAAiC,eAAe,CAAC,IAAI,CAAC,CAAC;YACzE,IAAI,YAAY,EAAE,CAAC;gBACf,OAAO;oB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AC"}
1
+ {"version":3,"file":"viewport.js","sourceRoot":"","sources":["../../../../../src/core/geoChart/helpers/geoChart/viewport.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAMrC,OAAO,EAAE,cAAc,EAAE,oBAAoB,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAQ5G,MAAM,UAAU,kBAAkB,CAAC,IAAkB,EAAE,MAAkB;IACrE,MAAM,MAAM,GAA2B,MAAM,EAAE,MAAM,CAAC;IACtD,MAAM,IAAI,GAAW,MAAM,EAAE,IAAI,IAAI,YAAY,CAAC;IAClD,MAAM,EAAE,IAAI,EAAE,GAAuB,MAAM,EAAE,QAAQ,IAAI,EAAE,CAAC;IAE5D,mCAAmC;IACnC,IAAI,CAAC,MAAM,EAAE,CAAC;QACV,IAAI,IAAI,IAAI,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC;YAC1B,OAAO;gBACH,MAAM,EAAE,SAAS,CAAC,IAAI,CAAC;aAC1B,CAAC;QACN,CAAC;aAAM,CAAC;YACJ,MAAM,YAAY,GAAiC,eAAe,CAAC,IAAI,CAAC,CAAC;YACzE,IAAI,YAAY,EAAE,CAAC;gBACf,OAAO;oBACH,MAAM,EAAE,CAAC,YAAY,CAAC,SAAS,EAAE,YAAY,CAAC,SAAS,CAAC;iBAC3D,CAAC;YACN,CAAC;YAED,OAAO;gBACH,MAAM,EAAE,cAAc;gBACtB,IAAI;aACP,CAAC;QACN,CAAC;IACL,CAAC;IAED,OAAO;QACH,MAAM;QACN,IAAI;KACP,CAAC;AACN,CAAC;AAED;;;;;;;;;;;;;GAaG;AACH,MAAM,UAAU,eAAe,CAAC,OAAqB;IACjD,IAAI,CAAC,OAAO,EAAE,MAAM,EAAE,CAAC;QACnB,OAAO;IACX,CAAC;IAED,OAAO,OAAO,CAAC,MAAM,CAAC,kBAAkB,EAAE,SAAS,CAAC,IAAI,oBAAoB,CAAC;AACjF,CAAC;AAED,+CAA+C;AAC/C,+CAA+C;AAC/C,SAAS,kBAAkB,CAAC,MAAoC,EAAE,MAAkB;IAChF,IAAI,CAAC,MAAM,EAAE,CAAC;QACV,OAAO,MAAM,IAAI,oBAAoB,CAAC;IAC1C,CAAC;IAED,IAAI,CAAC,MAAM,EAAE,CAAC;QACV,OAAO;YACH,SAAS,EAAE,MAAM;YACjB,SAAS,EAAE,MAAM;SACpB,CAAC;IACN,CAAC;IAED,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,GAAG,MAAM,CAAC;IACxC,OAAO;QACH,SAAS,EAAE;YACP,GAAG,EAAE,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,EAAE,SAAS,CAAC,GAAG,CAAC;YACxC,GAAG,EAAE,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,EAAE,SAAS,CAAC,GAAG,CAAC;SAC3C;QACD,SAAS,EAAE;YACP,GAAG,EAAE,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,EAAE,SAAS,CAAC,GAAG,CAAC;YACxC,GAAG,EAAE,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,EAAE,SAAS,CAAC,GAAG,CAAC;SAC3C;KACJ,CAAC;AACN,CAAC"}
package/esm/index.d.ts CHANGED
@@ -2,13 +2,35 @@
2
2
  * This package provides the components that you can use to visualize location-based data.
3
3
  *
4
4
  * @remarks
5
- * Currently, only the GeoPushpinChart component is available. Use this component to visualize data bound
6
- * to a single location (not an area).
5
+ * This package provides:
6
+ * - GeoPushpinChart (single-layer pushpin chart)
7
+ * - GeoAreaChart (single-layer area chart)
8
+ * - GeoChart (multi-layer geo visualization)
7
9
  *
8
10
  * @packageDocumentation
9
11
  */
10
- export type { IGeoConfig, IGeoLngLat, IGeoPushpinChartBaseProps, IGeoPushpinChartProps, IGeoPushpinChartLatitudeLongitudeProps, IGeoConfigViewport, IGeoPointsConfig, IGeoConfigViewportArea, PushpinSizeOption, IGeoLegendConfig, CenterPositionChangedCallback, ZoomChangedCallback, IGeoData, IGeoAttributeItem, IGeoLocationItem, IGeoSegmentItem, IGeoMeasureItem, IGeoDataItem, } from "./GeoChart.js";
11
- export { GeoPushpinChart, getGeoChartDimensions } from "./GeoPushpinChart.js";
12
+ export type { IGeoConfig, IGeoConfigViewport, IGeoPointsConfig, IGeoConfigViewportArea, PushpinSizeOption, IGeoLegendConfig, IGeoData, IGeoAttributeItem, IGeoLocationItem, IGeoSegmentItem, IGeoMeasureItem, IGeoDataItem, ILegacyGeoPushpinChartBaseProps, ILegacyGeoPushpinChartLatitudeLongitudeProps, ILegacyGeoPushpinChartProps, } from "./GeoChart.js";
13
+ export type { IGeoPushpinChartBaseProps, IGeoPushpinChartLatitudeLongitudeProps, IGeoPushpinChartLocationProps, IGeoPushpinChartProps, } from "./next/types/props/pushpinChart/public.js";
14
+ export type { CenterPositionChangedCallback, IGeoLngLat, IGeoLngLatBounds, ZoomChangedCallback, } from "./publicTypes/geoCommon.js";
15
+ export { GeoPushpinChart } from "./next/GeoPushpinChart.js";
16
+ export { LegacyGeoPushpinChart, getGeoChartDimensions } from "./GeoPushpinChart.js";
17
+ export type { IGeoPushpinChartConfig } from "./next/types/config/pushpinChart.js";
18
+ export { GeoChart } from "./next/GeoChart.js";
19
+ export type { IGeoChartProps } from "./next/types/props/geoChart/public.js";
20
+ export type { IGeoChartConfig } from "./next/types/config/unified.js";
21
+ export { GeoAreaChart } from "./next/GeoAreaChart.js";
22
+ export type { IGeoAreaChartBaseProps, IGeoAreaChartProps } from "./next/types/props/areaChart/public.js";
23
+ export type { IGeoAreaChartConfig } from "./next/types/config/areaChart.js";
24
+ export type { IGeoAreasConfig } from "./next/types/config/areas.js";
25
+ export type { GeoTileset } from "./next/types/map/tileset.js";
26
+ export { isGeoLayerArea, isGeoLayerPushpin, type GeoLayerType, type IGeoLayerBase, type IGeoLayer, type IGeoLayerArea, type IGeoLayerPushpin, } from "./next/types/layers/index.js";
27
+ export { createAreaLayer } from "./next/layers/area/layerFactory.js";
28
+ export { createPushpinLayer } from "./next/layers/pushpin/layerFactory.js";
29
+ export type { IGeoCommonExecutionProps, IGeoSingleLayerWrapperProps } from "./next/types/props/shared.js";
30
+ export type { IGeoChartLegendConfig } from "./next/types/config/legend.js";
31
+ export { isValidViewportArea, type IGeoChartViewport, type IGeoChartViewportArea, } from "./next/types/config/viewport.js";
32
+ export { isValidPushpinSizeOption, type GeoChartPushpinSizeOption, type IGeoChartPointsConfig, } from "./next/types/config/points.js";
33
+ export type { StyleSpecification } from "./next/layers/common/mapFacade.js";
12
34
  export { MapboxTokenProvider, useMapboxToken, useMapboxTokenStrict, withMapboxToken, enrichMapboxToken, } from "./core/MapboxTokenProvider.js";
13
35
  export { CoreGeoChart } from "./core/CoreGeoChart.js";
14
36
  export type { IGeoChartInnerProps, ICoreGeoChartProps, IGeoChartInnerOptions, } from "./core/geoChart/GeoChartInner.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA;;;;;;;;GAQG;AAEH,YAAY,EACR,UAAU,EACV,UAAU,EACV,yBAAyB,EACzB,qBAAqB,EACrB,sCAAsC,EACtC,kBAAkB,EAClB,gBAAgB,EAChB,sBAAsB,EACtB,iBAAiB,EACjB,gBAAgB,EAChB,6BAA6B,EAC7B,mBAAmB,EACnB,QAAQ,EACR,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,YAAY,GACf,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAE9E,OAAO,EACH,mBAAmB,EACnB,cAAc,EACd,oBAAoB,EACpB,eAAe,EACf,iBAAiB,GACpB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,YAAY,EACR,mBAAmB,EACnB,kBAAkB,EAClB,qBAAqB,GACxB,MAAM,kCAAkC,CAAC;AAC1C,YAAY,EAAE,sBAAsB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AAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EACH,cAAc,EACd,iBAAiB,EACjB,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,KAAK,SAAS,EACd,KAAK,aAAa,EAClB,KAAK,gBAAgB,GACxB,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AACrE,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAC3E,YAAY,EAAE,wBAAwB,EAAE,2BAA2B,EAAE,MAAM,8BAA8B,CAAC;AAE1G,YAAY,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAC3E,OAAO,EACH,mBAAmB,EACnB,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,GAC7B,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACH,wBAAwB,EACxB,KAAK,yBAAyB,EAC9B,KAAK,qBAAqB,GAC7B,MAAM,+BAA+B,CAAC;AAEvC,YAAY,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAE5E,OAAO,EACH,mBAAmB,EACnB,cAAc,EACd,oBAAoB,EACpB,eAAe,EACf,iBAAiB,GACpB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,YAAY,EACR,mBAAmB,EACnB,kBAAkB,EAClB,qBAAqB,GACxB,MAAM,kCAAkC,CAAC;AAC1C,YAAY,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAClF,YAAY,EAAE,4BAA4B,EAAE,MAAM,2CAA2C,CAAC;AAG9F,OAAO,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC"}
package/esm/index.js CHANGED
@@ -1,5 +1,13 @@
1
1
  // (C) 2019-2026 GoodData Corporation
2
- export { GeoPushpinChart, getGeoChartDimensions } from "./GeoPushpinChart.js";
2
+ export { GeoPushpinChart } from "./next/GeoPushpinChart.js";
3
+ export { LegacyGeoPushpinChart, getGeoChartDimensions } from "./GeoPushpinChart.js";
4
+ export { GeoChart } from "./next/GeoChart.js";
5
+ export { GeoAreaChart } from "./next/GeoAreaChart.js";
6
+ export { isGeoLayerArea, isGeoLayerPushpin, } from "./next/types/layers/index.js";
7
+ export { createAreaLayer } from "./next/layers/area/layerFactory.js";
8
+ export { createPushpinLayer } from "./next/layers/pushpin/layerFactory.js";
9
+ export { isValidViewportArea, } from "./next/types/config/viewport.js";
10
+ export { isValidPushpinSizeOption, } from "./next/types/config/points.js";
3
11
  export { MapboxTokenProvider, useMapboxToken, useMapboxTokenStrict, withMapboxToken, enrichMapboxToken, } from "./core/MapboxTokenProvider.js";
4
12
  export { CoreGeoChart } from "./core/CoreGeoChart.js";
5
13
  // export the getColorMappingPredicate so that users can import it directly without having to explicitly install vis-commons
package/esm/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAkCrC,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAE9E,OAAO,EACH,mBAAmB,EACnB,cAAc,EACd,oBAAoB,EACpB,eAAe,EACf,iBAAiB,GACpB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAStD,4HAA4H;AAC5H,OAAO,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,qCAAqC;AA6CrC,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAIpF,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAI9C,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAMtD,OAAO,EACH,cAAc,EACd,iBAAiB,GAMpB,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AACrE,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAI3E,OAAO,EACH,mBAAmB,GAGtB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACH,wBAAwB,GAG3B,MAAM,+BAA+B,CAAC;AAIvC,OAAO,EACH,mBAAmB,EACnB,cAAc,EACd,oBAAoB,EACpB,eAAe,EACf,iBAAiB,GACpB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAStD,4HAA4H;AAC5H,OAAO,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Internal entrypoint for `@gooddata/sdk-ui-geo`.
3
+ *
4
+ * @remarks
5
+ * Not part of the supported public API. May change without notice.
6
+ *
7
+ * @internal
8
+ */
9
+ export { GeoChartInternal } from "../next/GeoChart.js";
10
+ export { buildLayerExecution } from "../next/layers/execution/buildLayerExecution.js";
11
+ export type { IGeoAdapterContext } from "../next/layers/registry/adapterTypes.js";
12
+ export type { ICoreGeoChartProps } from "../next/types/props/geoChart/internal.js";
13
+ export { AREA_LAYER_ID } from "../next/layers/area/layerFactory.js";
14
+ export { PUSHPIN_LAYER_ID } from "../next/layers/pushpin/layerFactory.js";
15
+ export { GEO_LAYER_TYPES, insightLayerToGeoLayer, insightLayersToGeoLayers, } from "../next/utils/layerConversion.js";
16
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/internal/index.ts"],"names":[],"mappings":"AAIA;;;;;;;GAOG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AACtF,YAAY,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAClF,YAAY,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AACnF,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAC1E,OAAO,EACH,eAAe,EACf,sBAAsB,EACtB,wBAAwB,GAC3B,MAAM,kCAAkC,CAAC"}
@@ -0,0 +1,16 @@
1
+ // (C) 2026 GoodData Corporation
2
+ /* eslint-disable no-barrel-files/no-barrel-files */
3
+ /**
4
+ * Internal entrypoint for `@gooddata/sdk-ui-geo`.
5
+ *
6
+ * @remarks
7
+ * Not part of the supported public API. May change without notice.
8
+ *
9
+ * @internal
10
+ */
11
+ export { GeoChartInternal } from "../next/GeoChart.js";
12
+ export { buildLayerExecution } from "../next/layers/execution/buildLayerExecution.js";
13
+ export { AREA_LAYER_ID } from "../next/layers/area/layerFactory.js";
14
+ export { PUSHPIN_LAYER_ID } from "../next/layers/pushpin/layerFactory.js";
15
+ export { GEO_LAYER_TYPES, insightLayerToGeoLayer, insightLayersToGeoLayers, } from "../next/utils/layerConversion.js";
16
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/internal/index.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAEhC,oDAAoD;AAEpD;;;;;;;GAOG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAGtF,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAC1E,OAAO,EACH,eAAe,EACf,sBAAsB,EACtB,wBAAwB,GAC3B,MAAM,kCAAkC,CAAC"}
@@ -1,9 +1,9 @@
1
1
  import { type ReactElement } from "react";
2
2
  import { type IGeoAreaChartProps } from "./types/props/areaChart/public.js";
3
3
  /**
4
- * GeoAreaChart wraps {@link GeoChartNext} for the single area-layer scenario.
4
+ * GeoAreaChart wraps {@link GeoChart} for the single area-layer scenario.
5
5
  *
6
- * @alpha
6
+ * @public
7
7
  */
8
8
  export declare function GeoAreaChart(props: IGeoAreaChartProps): ReactElement;
9
9
  //# sourceMappingURL=GeoAreaChart.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"GeoAreaChart.d.ts","sourceRoot":"","sources":["../../src/next/GeoAreaChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAW,MAAM,OAAO,CAAC;AAKnD,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAE5E;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,kBAAkB,GAAG,YAAY,CAoBpE"}
1
+ {"version":3,"file":"GeoAreaChart.d.ts","sourceRoot":"","sources":["../../src/next/GeoAreaChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAW,MAAM,OAAO,CAAC;AAOnD,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAE5E;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,kBAAkB,GAAG,YAAY,CAmCpE"}
@@ -1,15 +1,17 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  // (C) 2025-2026 GoodData Corporation
3
3
  import { useMemo } from "react";
4
- import { GeoChartNext } from "./GeoChartNext.js";
4
+ import { useResolveValuesWithPlaceholders } from "@gooddata/sdk-ui";
5
+ import { GeoChart } from "./GeoChart.js";
5
6
  import { createAreaLayer } from "./layers/area/layerFactory.js";
6
7
  /**
7
- * GeoAreaChart wraps {@link GeoChartNext} for the single area-layer scenario.
8
+ * GeoAreaChart wraps {@link GeoChart} for the single area-layer scenario.
8
9
  *
9
- * @alpha
10
+ * @public
10
11
  */
11
12
  export function GeoAreaChart(props) {
12
- const { area, color, segmentBy, filters, sortBy, config, additionalLayers, ...restProps } = props;
13
+ const { area: areaInput, color: colorInput, segmentBy: segmentByInput, sortBy: sortByInput, filters, config, additionalLayers, placeholdersResolutionContext, ...restProps } = props;
14
+ const [area, color, segmentBy, sortBy] = useResolveValuesWithPlaceholders([areaInput, colorInput, segmentByInput, sortByInput], placeholdersResolutionContext);
13
15
  const primaryLayer = useMemo(() => createAreaLayer({
14
16
  area,
15
17
  color,
@@ -17,6 +19,6 @@ export function GeoAreaChart(props) {
17
19
  sortBy,
18
20
  }), [area, color, segmentBy, sortBy]);
19
21
  const allLayers = useMemo(() => [primaryLayer, ...(additionalLayers ?? [])], [primaryLayer, additionalLayers]);
20
- return _jsx(GeoChartNext, { ...restProps, layers: allLayers, config: config, filters: filters });
22
+ return _jsx(GeoChart, { ...restProps, layers: allLayers, config: config, filters: filters });
21
23
  }
22
24
  //# sourceMappingURL=GeoAreaChart.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"GeoAreaChart.js","sourceRoot":"","sources":["../../src/next/GeoAreaChart.tsx"],"names":[],"mappings":";AAAA,qCAAqC;AAErC,OAAO,EAAqB,OAAO,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAIhE;;;;GAIG;AACH,MAAM,UAAU,YAAY,CAAC,KAAyB;IAClD,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,gBAAgB,EAAE,GAAG,SAAS,EAAE,GAAG,KAAK,CAAC;IAElG,MAAM,YAAY,GAAG,OAAO,CACxB,GAAG,EAAE,CACD,eAAe,CAAC;QACZ,IAAI;QACJ,KAAK;QACL,SAAS;QACT,MAAM;KACT,CAAC,EACN,CAAC,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,CAAC,CACnC,C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SAAS,GAAG,OAAO,CACrB,GAAG,EAAE,CAAC,CAAC,YAAY,EAAE,GAAG,CAAC,gBAAgB,IAAI,EAAE,CAAC,CAAC,EACjD,CAAC,YAAY,EAAE,gBAAgB,CAAC,CACnC,CAAC;IAEF,OAAO,KAAC,QAAQ,OAAK,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAI,CAAC;AAC5F,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { type ReactElement } from "react";
2
+ import type { GeoLayerType } from "./types/layers/index.js";
3
+ import { type ICoreGeoChartProps } from "./types/props/geoChart/internal.js";
4
+ import { type IGeoChartProps } from "./types/props/geoChart/public.js";
5
+ /**
6
+ * GeoChart renders a MapLibre-based geo visualization composed of one or more data layers.
7
+ *
8
+ * @public
9
+ */
10
+ export declare function GeoChart(props: IGeoChartProps): ReactElement;
11
+ /**
12
+ * Internal implementation of GeoChart that consumes normalized layer executions.
13
+ *
14
+ * @internal
15
+ */
16
+ export declare function GeoChartInternal(props: ICoreGeoChartProps & {
17
+ type: GeoLayerType;
18
+ }): ReactElement;
19
+ //# sourceMappingURL=GeoChart.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GeoChart.d.ts","sourceRoot":"","sources":["../../src/next/GeoChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAU1C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AAC7E,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAEvE;;;;GAIG;AACH,wBAAgB,QAAQ,CAAC,KAAK,EAAE,cAAc,GAAG,YAAY,CAgB5D;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,kBAAkB,GAAG;IAAE,IAAI,EAAE,YAAY,CAAA;CAAE,GAAG,YAAY,CAajG"}
@@ -0,0 +1,34 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { IntlWrapper, UnexpectedSdkError } from "@gooddata/sdk-ui";
3
+ import { ThemeContextProvider } from "@gooddata/sdk-ui-theme-provider";
4
+ import { GeoChartDataLoader } from "./components/GeoChartDataLoader.js";
5
+ import { GeoChartPropsProvider } from "./context/GeoChartContext.js";
6
+ import { useNormalizedLayerExecutions } from "./hooks/dataLoading/useNormalizedLayerExecutions.js";
7
+ import { useLayersExecutions } from "./hooks/layers/useLayersExecutions.js";
8
+ import { useResolvedGeoChartProps } from "./hooks/props/useResolvedGeoChartProps.js";
9
+ /**
10
+ * GeoChart renders a MapLibre-based geo visualization composed of one or more data layers.
11
+ *
12
+ * @public
13
+ */
14
+ export function GeoChart(props) {
15
+ const resolvedProps = useResolvedGeoChartProps(props);
16
+ const { primaryExecution, additionalExecutions } = useLayersExecutions(resolvedProps);
17
+ if (!primaryExecution) {
18
+ throw new UnexpectedSdkError("GeoChart requires at least one layer. " +
19
+ "Provide layers=[{ id: 'myLayer', type: 'pushpin', latitude: Md.Lat, longitude: Md.Lng }] " +
20
+ "for point data, or { id: 'myLayer', type: 'area', area: Md.Country } for region data.");
21
+ }
22
+ return (_jsx(GeoChartInternal, { ...resolvedProps, execution: primaryExecution, executions: additionalExecutions }));
23
+ }
24
+ /**
25
+ * Internal implementation of GeoChart that consumes normalized layer executions.
26
+ *
27
+ * @internal
28
+ */
29
+ export function GeoChartInternal(props) {
30
+ const { layerExecutions, propsWithLayers } = useNormalizedLayerExecutions(props);
31
+ const { locale, theme, ...providerProps } = propsWithLayers;
32
+ return (_jsx(IntlWrapper, { locale: locale, children: _jsx(ThemeContextProvider, { theme: theme || {}, themeIsLoading: false, children: _jsx(GeoChartPropsProvider, { ...providerProps, locale: locale, theme: theme, children: _jsx(GeoChartDataLoader, { layerExecutions: layerExecutions }) }) }) }));
33
+ }
34
+ //# sourceMapp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BAAoB,IAAC,KAAK,EAAE,KAAK,IAAI,EAAE,EAAE,cAAc,EAAE,KAAK,YAC3D,KAAC,qBAAqB,OAAK,aAAa,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,YAClE,KAAC,kBAAkB,IAAC,eAAe,EAAE,eAAe,GAAI,GACpC,GACL,GACb,CACjB,CAAC;AACN,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { type ReactElement } from "react";
2
+ import type { IGeoPushpinChartProps } from "./types/props/pushpinChart/public.js";
3
+ /**
4
+ * MapLibre-based GeoPushpinChart implementation.
5
+ *
6
+ * @remarks
7
+ * The `location` prop (single attribute encoding `lat;long`) is not supported on Tiger.
8
+ *
9
+ * @public
10
+ */
11
+ export declare function GeoPushpinChart(props: IGeoPushpinChartProps): ReactElement;
12
+ //# sourceMappingURL=GeoPushpinChart.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GeoPushpinChart.d.ts","sourceRoot":"","sources":["../../src/next/GeoPushpinChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAW,MAAM,OAAO,CAAC;AAQnD,OAAO,KAAK,EAER,qBAAqB,EACxB,MAAM,sCAAsC,CAAC;AAgD9C;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,qBAAqB,GAAG,YAAY,CAS1E"}
@@ -0,0 +1,53 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ // (C) 2026 GoodData Corporation
3
+ import { useMemo } from "react";
4
+ import { UnexpectedSdkError, useResolveValuesWithPlaceholders } from "@gooddata/sdk-ui";
5
+ import { GeoChart } from "./GeoChart.js";
6
+ import { createPushpinLayer } from "./layers/pushpin/layerFactory.js";
7
+ function mapPushpinConfigToGeoChartConfig(config) {
8
+ if (!config) {
9
+ return undefined;
10
+ }
11
+ // `tooltipText` is handled via the pushpin layer; `mapboxToken` is legacy-only.
12
+ const { tooltipText: _tooltipText, mapboxToken: _mapboxToken, ...geoChartConfig } = config;
13
+ return geoChartConfig;
14
+ }
15
+ function GeoPushpinChartLatitudeLongitude(props) {
16
+ const [longitude, latitude, size, color, segmentBy, filters, sortBy] = useResolveValuesWithPlaceholders([
17
+ props.longitude,
18
+ props.latitude,
19
+ props.size,
20
+ props.color,
21
+ props.segmentBy,
22
+ props.filters,
23
+ props.sortBy,
24
+ ], props.placeholdersResolutionContext);
25
+ const { config: pushpinConfig, ...restProps } = props;
26
+ const config = mapPushpinConfigToGeoChartConfig(pushpinConfig);
27
+ const layer = useMemo(() => createPushpinLayer({
28
+ latitude,
29
+ longitude,
30
+ ...(size ? { size } : {}),
31
+ ...(color ? { color } : {}),
32
+ ...(segmentBy ? { segmentBy } : {}),
33
+ ...(sortBy ? { sortBy } : {}),
34
+ ...(pushpinConfig?.tooltipText ? { tooltipText: pushpinConfig.tooltipText } : {}),
35
+ }), [latitude, longitude, size, color, segmentBy, sortBy, pushpinConfig?.tooltipText]);
36
+ return _jsx(GeoChart, { ...restProps, layers: [layer], config: config, filters: filters, type: "pushpin" });
37
+ }
38
+ /**
39
+ * MapLibre-based GeoPushpinChart implementation.
40
+ *
41
+ * @remarks
42
+ * The `location` prop (single attribute encoding `lat;long`) is not supported on Tiger.
43
+ *
44
+ * @public
45
+ */
46
+ export function GeoPushpinChart(props) {
47
+ if ("location" in props) {
48
+ throw new UnexpectedSdkError('GeoPushpinChart no longer supports the "location" prop. ' +
49
+ 'On Tiger, use separate "latitude" and "longitude" attributes.');
50
+ }
51
+ return _jsx(GeoPushpinChartLatitudeLongitude, { ...props });
52
+ }
53
+ //# sourceMappingURL=GeoPushpinChart.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GeoPushpinChart.js","sourceRoot":"","sources":["../../src/next/GeoPushpinChart.tsx"],"names":[],"mappings":";AAAA,gCAAgC;AAEhC,OAAO,EAAqB,OAAO,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,kBAAkB,EAAE,gCAAgC,EAAE,MAA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AAC;QACnC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAC7B,GAAG,CAAC,aAAa,EAAE,WAAW,CAAC,CAAC,CAAC,EAAE,WAAW,EAAE,aAAa,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;KACpF,CAAC,EACN,CAAC,QAAQ,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,aAAa,EAAE,WAAW,CAAC,CACpF,CAAC;IAEF,OAAO,KAAC,QAAQ,OAAK,SAAS,EAAE,MAAM,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAC,SAAS,GAAG,CAAC;AACzG,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,eAAe,CAAC,KAA4B;IACxD,IAAI,UAAU,IAAI,KAAK,EAAE,CAAC;QACtB,MAAM,IAAI,kBAAkB,CACxB,0DAA0D;YACtD,+DAA+D,CACtE,CAAC;IACN,CAAC;IAED,OAAO,KAAC,gCAAgC,OAAK,KAAK,GAAI,CAAC;AAC3D,CAAC"}
@@ -1,12 +1,12 @@
1
1
  import { type ReactElement } from "react";
2
- import { type ILayerExecutionRecord } from "../types/props/geoChartNext/internal.js";
2
+ import { type ILayerExecutionRecord } from "../types/props/geoChart/internal.js";
3
3
  /**
4
4
  * Component that loads all layer data before rendering.
5
5
  * This is the single async loading gate - everything below is synchronous.
6
6
  *
7
7
  * @internal
8
8
  */
9
- export declare function GeoChartNextDataLoader({ layerExecutions, }: {
9
+ export declare function GeoChartDataLoader({ layerExecutions, }: {
10
10
  layerExecutions: ILayerExecutionRecord[];
11
11
  }): ReactElement;
12
- //# sourceMappingURL=GeoChartNextDataLoader.d.ts.map
12
+ //# sourceMappingURL=GeoChartDataLoader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GeoChartDataLoader.d.ts","sourceRoot":"","sources":["../../../src/next/components/GeoChartDataLoader.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAkB1C,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAEjF;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,EAC/B,eAAe,GAClB,EAAE;IACC,eAAe,EAAE,qBAAqB,EAAE,CAAC;CAC5C,GAAG,YAAY,CA2Df"}
@@ -1,11 +1,11 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { useIntl } from "react-intl";
3
3
  import { createExportErrorFunction, createExportFunction, useBackendStrict, useWorkspaceStrict, } from "@gooddata/sdk-ui";
4
- import { GeoChartNextProviders } from "./GeoChartNextProviders.js";
4
+ import { GeoChartProviders } from "./GeoChartProviders.js";
5
5
  import { GeoErrorComponent } from "./GeoErrorComponent.js";
6
6
  import { GeoLoadingComponent } from "./GeoLoadingComponent.js";
7
- import { RenderGeoChartNext } from "./RenderGeoChartNext.js";
8
- import { useGeoChartNextProps } from "../context/GeoChartNextContext.js";
7
+ import { RenderGeoChart } from "./RenderGeoChart.js";
8
+ import { useGeoChartProps } from "../context/GeoChartContext.js";
9
9
  import { useGeoChartData } from "../hooks/dataLoading/useGeoChartDataPipeline.js";
10
10
  import { useCallbackOnChange } from "../hooks/utils/useCallbackOnChange.js";
11
11
  /**
@@ -14,8 +14,8 @@ import { useCallbackOnChange } from "../hooks/utils/useCallbackOnChange.js";
14
14
  *
15
15
  * @internal
16
16
  */
17
- export function GeoChartNextDataLoader({ layerExecutions, }) {
18
- const props = useGeoChartNextProps();
17
+ export function GeoChartDataLoader({ layerExecutions, }) {
18
+ const props = useGeoChartProps();
19
19
  const intl = useIntl();
20
20
  const backend = useBackendStrict(props.backend, "GeoDataLoadingGate");
21
21
  const workspace = useWorkspaceStrict(props.workspace, "GeoDataLoadingGate");
@@ -46,6 +46,6 @@ export function GeoChartNextDataLoader({ layerExecutions, }) {
46
46
  if (status !== "success") {
47
47
  return _jsx(GeoLoadingComponent, {});
48
48
  }
49
- return (_jsx(GeoChartNextProviders, { layerExecutions: layerExecutions, layerOutputs: layerOutputs, colorPalette: colorPalette, children: _jsx(RenderGeoChartNext, {}) }));
49
+ return (_jsx(GeoChartProviders, { layerExecutions: layerExecutions, layerOutputs: layerOutputs, colorPalette: colorPalette, children: _jsx(RenderGeoChart, {}) }));
50
50
  }
51
- //# sourceMappingURL=GeoChartNextDataLoader.js.map
51
+ //# sourceMappingURL=GeoChartDataLoader.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GeoChartDataLoader.js","sourceRoot":"","sources":["../../../src/next/components/GeoChartDataLoader.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,OAAO,EACH,yBAAyB,EACzB,oBAAoB,EACpB,gBAAgB,EAChB,kBAAkB,GACrB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,iDAAiD,CAAC;AAClF,OAAO,EAAE,mBAAmB,EAAE,MAAM,uCAAuC,CAAC;AAG5E;;;;;GAKG;AACH,MAAM,UAAU,kBAAkB,CAAC,EAC/B,eAAe,GAGlB;IACG,MAAM,KAAK,GAAG,gBAAgB,EAAE,CAAC;IACjC,MAAM,IAAI,GAAG,OAAO,EAAE,CAAC;IACvB,MAAM,OAAO,GAAG,gBAAgB,CAAC,KAAK,CAAC,OAAO,EAAE,oBAAoB,CAAC,C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AAC,aAAa,CAAC,CACnF,CAAC;IAEF,mBAAmB,CACf,KAAK,EACL,CAAC,GAAG,EAAE,EAAE,CAAC,KAAK,CAAC,aAAa,EAAE,CAAC,yBAAyB,CAAC,GAAI,CAAC,CAAC,EAC/D,OAAO,CAAC,KAAK,CAAC,IAAI,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,CACjD,CAAC;IAEF,IAAI,MAAM,KAAK,OAAO,IAAI,KAAK,EAAE,CAAC;QAC9B,OAAO,KAAC,iBAAiB,IAAC,KAAK,EAAE,KAAK,GAAI,CAAC;IAC/C,CAAC;IAED,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;QACvB,OAAO,KAAC,mBAAmB,KAAG,CAAC;IACnC,CAAC;IAED,OAAO,CACH,KAAC,iBAAiB,IACd,eAAe,EAAE,eAAe,EAChC,YAAY,EAAE,YAAY,EAC1B,YAAY,EAAE,YAAY,YAE1B,KAAC,cAAc,KAAG,GACF,CACvB,CAAC;AACN,CAAC"}
@@ -1,13 +1,13 @@
1
1
  import { type ReactElement, type ReactNode } from "react";
2
2
  import { type IColorPalette } from "@gooddata/sdk-model";
3
3
  import type { ILayerPreparedData } from "../hooks/layers/useLayersPrepare.js";
4
- import type { ILayerExecutionRecord } from "../types/props/geoChartNext/internal.js";
5
- interface IGeoChartNextProvidersProps {
4
+ import type { ILayerExecutionRecord } from "../types/props/geoChart/internal.js";
5
+ interface IGeoChartProvidersProps {
6
6
  children: ReactNode;
7
7
  layerExecutions: ILayerExecutionRecord[];
8
8
  layerOutputs: Map<string, ILayerPreparedData>;
9
9
  colorPalette: IColorPalette;
10
10
  }
11
- export declare function GeoChartNextProviders({ children, layerExecutions, layerOutputs, colorPalette, }: IGeoChartNextProvidersProps): ReactElement;
11
+ export declare function GeoChartProviders({ children, layerExecutions, layerOutputs, colorPalette, }: IGeoChartProvidersProps): ReactElement;
12
12
  export {};
13
- //# sourceMappingURL=GeoChartNextProviders.d.ts.map
13
+ //# sourceMappingURL=GeoChartProviders.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GeoChartProviders.d.ts","sourceRoot":"","sources":["../../../src/next/components/GeoChartProviders.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,SAAS,EAAW,MAAM,OAAO,CAAC;AAEnE,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAKzD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAEjF,UAAU,uBAAuB;IAC7B,QAAQ,EAAE,SAAS,CAAC;IACpB,eAAe,EAAE,qBAAqB,EAAE,CAAC;IACzC,YAAY,EAAE,GAAG,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC;IAC9C,YAAY,EAAE,aAAa,CAAC;CAC/B;AAED,wBAAgB,iBAAiB,CAAC,EAC9B,QAAQ,EACR,eAAe,EACf,YAAY,EACZ,YAAY,GACf,EAAE,uBAAuB,GAAG,YAAY,CAYxC"}
@@ -1,10 +1,10 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- // (C) 2025 GoodData Corporation
2
+ // (C) 2025-2026 GoodData Corporation
3
3
  import { useMemo } from "react";
4
4
  import { GeoLayersProvider, useGeoLayers } from "../context/GeoLayersContext.js";
5
5
  import { GeoLegendProvider } from "../context/GeoLegendContext.js";
6
6
  import { InitialExecutionContextProvider } from "../context/InitialExecutionContext.js";
7
- export function GeoChartNextProviders({ children, layerExecutions, layerOutputs, colorPalette, }) {
7
+ export function GeoChartProviders({ children, layerExecutions, layerOutputs, colorPalette, }) {
8
8
  return (_jsx(GeoLayersProvider, { layerExecutions: layerExecutions, layerOutputs: layerOutputs, colorPalette: colorPalette, children: _jsx(GeoLegendProvider, { children: _jsx(InitialExecutionProvider, { children: children }) }) }));
9
9
  }
10
10
  function InitialExecutionProvider({ children }) {
@@ -12,4 +12,4 @@ function InitialExecutionProvider({ children }) {
12
12
  const initialDataView = useMemo(() => primaryLayer?.dataView ?? null, [primaryLayer?.dataView]);
13
13
  return (_jsx(InitialExecutionContextProvider, { initialDataView: initialDataView, children: children }));
14
14
  }
15
- //# sourceMappingURL=GeoChartNextProviders.js.map
15
+ //# sourceMappingURL=GeoChartProviders.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GeoChartProviders.js","sourceRoot":"","sources":["../../../src/next/components/GeoChartProviders.tsx"],"names":[],"mappings":";AAAA,qCAAqC;AAErC,OAAO,EAAqC,OAAO,EAAE,MAAM,OAAO,CAAC;AAInE,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AACjF,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,+BAA+B,EAAE,MAAM,uCAAuC,CAAC;AAWxF,MAAM,UAAU,iBAAiB,CAAC,EAC9B,QAAQ,EACR,eAAe,EACf,YAAY,EACZ,YAAY,GACU;IACtB,OAAO,CACH,KAAC,iBAAiB,IACd,eAAe,EAAE,eAAe,EAChC,YAAY,EAAE,YAAY,EAC1B,YAAY,EAAE,YAAY,YAE1B,KAAC,iBAAiB,cACd,KAAC,wBAAwB,cAAE,QAAQ,GAA4B,GAC/C,GACJ,CACvB,CAAC;AACN,CAAC;AAED,SAAS,wBAAwB,CAAC,EAAE,QAAQ,EAA2B;IACnE,MAAM,EAAE,YAAY,EAAE,GAAG,YAAY,EAAE,CAAC;IACxC,MAAM,eAAe,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,YAAY,EAAE,QAAQ,IAAI,IAAI,EAAE,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC,CAAC;IAEhG,OAAO,CACH,KAAC,+BAA+B,IAAC,eAAe,EAAE,eAAe,YAC5D,QAAQ,GACqB,CACrC,CAAC;AACN,CAAC"}
@@ -1,8 +1,8 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- // (C) 2025 GoodData Corporation
2
+ // (C) 2025-2026 GoodData Corporation
3
3
  import { useIntl } from "react-intl";
4
4
  import { ErrorComponent as DefaultErrorComponent, ErrorCodes, newErrorMapping, } from "@gooddata/sdk-ui";
5
- import { useGeoChartNextProps } from "../context/GeoChartNextContext.js";
5
+ import { useGeoChartProps } from "../context/GeoChartContext.js";
6
6
  const UNKNOWN_ERROR_CODE = ErrorCodes.UNKNOWN_ERROR;
7
7
  /**
8
8
  * @internal
@@ -10,7 +10,7 @@ const UNKNOWN_ERROR_CODE = ErrorCodes.UNKNOWN_ERROR;
10
10
  export function GeoErrorComponent({ error }) {
11
11
  const intl = useIntl();
12
12
  const errorMap = newErrorMapping(intl);
13
- const { ErrorComponent } = useGeoChartNextProps();
13
+ const { ErrorComponent } = useGeoChartProps();
14
14
  const Error = ErrorComponent ?? DefaultErrorComponent;
15
15
  const code = error.getErrorCode?.() ?? UNKNOWN_ERROR_CODE;
16
16
  const errorProps = errorMap[code] ?? errorMap[UNKNOWN_ERROR_CODE];
@@ -1 +1 @@
1
- {"version":3,"file":"GeoErrorComponent.js","sourceRoot":"","sources":["../../../src/next/components/GeoErrorComponent.tsx"],"names":[],"mappings":";AAAA,gCAAgC;AAEhC,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,OAAO,EACH,cAAc,IAAI,qBAAqB,EACvC,UAAU,EAEV,eAAe,GAClB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAEzE,MAAM,kBAAkB,GAAG,UAAU,CAAC,aAAa,CAAC;AASpD;;GAEG;AACH,MAAM,UAAU,iBAAiB,CAAC,EAAE,KAAK,EAA2B;IAChE,MAAM,IAAI,GAAG,OAAO,EAAE,CAAC;IACvB,MAAM,QAAQ,GAAG,eAAe,CAAC,IAAI,CAAC,CAAC;IAEvC,MAAM,EAAE,cAAc,EAAE,GAAG,oBAAoB,EAAE,CAAC;IAClD,MAAM,KAAK,GAAG,cAAc,IAAI,qBAAqB,CAAC;IAEtD,MAAM,IAAI,GAAG,KAAK,CAAC,YAAY,EAAE,EAAE,IAAI,kBAAkB,CAAC;IAC1D,MAAM,UAAU,GAAG,QAAQ,CAAC,IAAI,CAAC,IAAI,QAAQ,CAAC,kBAAkB,CAAC,CAAC;IAElE,OAAO,KAAC,KAAK,IAAC,IAAI,EAAE,IAAI,KAAM,UAAU,GAAI,CAAC;AACjD,CAAC"}
1
+ {"version":3,"file":"GeoErrorComponent.js","sourceRoot":"","sources":["../../../src/next/components/GeoErrorComponent.tsx"],"names":[],"mappings":";AAAA,qCAAqC;AAErC,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,OAAO,EACH,cAAc,IAAI,qBAAqB,EACvC,UAAU,EAEV,eAAe,GAClB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEjE,MAAM,kBAAkB,GAAG,UAAU,CAAC,aAAa,CAAC;AASpD;;GAEG;AACH,MAAM,UAAU,iBAAiB,CAAC,EAAE,KAAK,EAA2B;IAChE,MAAM,IAAI,GAAG,OAAO,EAAE,CAAC;IACvB,MAAM,QAAQ,GAAG,eAAe,CAAC,IAAI,CAAC,CAAC;IAEvC,MAAM,EAAE,cAAc,EAAE,GAAG,gBAAgB,EAAE,CAAC;IAC9C,MAAM,KAAK,GAAG,cAAc,IAAI,qBAAqB,CAAC;IAEtD,MAAM,IAAI,GAAG,KAAK,CAAC,YAAY,EAAE,EAAE,IAAI,kBAAkB,CAAC;IAC1D,MAAM,UAAU,GAAG,QAAQ,CAAC,IAAI,CAAC,IAAI,QAAQ,CAAC,kBAAkB,CAAC,CAAC;IAElE,OAAO,KAAC,KAAK,IAAC,IAAI,EAAE,IAAI,KAAM,UAAU,GAAI,CAAC;AACjD,CAAC"}
@@ -1,12 +1,12 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- // (C) 2025 GoodData Corporation
2
+ // (C) 2025-2026 GoodData Corporation
3
3
  import { LoadingComponent as DefaultLoadingComponent } from "@gooddata/sdk-ui";
4
- import { useGeoChartNextProps } from "../context/GeoChartNextContext.js";
4
+ import { useGeoChartProps } from "../context/GeoChartContext.js";
5
5
  /**
6
6
  * @internal
7
7
  */
8
8
  export function GeoLoadingComponent() {
9
- const { LoadingComponent } = useGeoChartNextProps();
9
+ const { LoadingComponent } = useGeoChartProps();
10
10
  const Loading = LoadingComponent ?? DefaultLoadingComponent;
11
11
  return _jsx(Loading, {});
12
12
  }
@@ -1 +1 @@
1
- {"version":3,"file":"GeoLoadingComponent.js","sourceRoot":"","sources":["../../../src/next/components/GeoLoadingComponent.tsx"],"names":[],"mappings":";AAAA,gCAAgC;AAEhC,OAAO,EAAE,gBAAgB,IAAI,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAE/E,OAAO,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAEzE;;GAEG;AACH,MAAM,UAAU,mBAAmB;IAC/B,MAAM,EAAE,gBAAgB,EAAE,GAAG,oBAAoB,EAAE,CAAC;IACpD,MAAM,OAAO,GAAG,gBAAgB,IAAI,uBAAuB,CAAC;IAE5D,OAAO,KAAC,OAAO,KAAG,CAAC;AACvB,CAAC"}
1
+ {"version":3,"file":"GeoLoadingComponent.js","sourceRoot":"","sources":["../../../src/next/components/GeoLoadingComponent.tsx"],"names":[],"mappings":";AAAA,qCAAqC;AAErC,OAAO,EAAE,gBAAgB,IAAI,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAE/E,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEjE;;GAEG;AACH,MAAM,UAAU,mBAAmB;IAC/B,MAAM,EAAE,gBAAgB,EAAE,GAAG,gBAAgB,EAAE,CAAC;IAChD,MAAM,OAAO,GAAG,gBAAgB,IAAI,uBAAuB,CAAC;IAE5D,OAAO,KAAC,OAAO,KAAG,CAAC;AACvB,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { type ReactElement } from "react";
2
2
  /**
3
- * Rendering component for GeoChartNext
3
+ * Rendering component for GeoChart.
4
4
  *
5
5
  * @remarks
6
6
  * This is the final rendering layer that:
@@ -14,5 +14,5 @@ import { type ReactElement } from "react";
14
14
  *
15
15
  * @internal
16
16
  */
17
- export declare function RenderGeoChartNext(): ReactElement;
18
- //# sourceMappingURL=RenderGeoChartNext.d.ts.map
17
+ export declare function RenderGeoChart(): ReactElement;
18
+ //# sourceMappingURL=RenderGeoChart.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RenderGeoChart.d.ts","sourceRoot":"","sources":["../../../src/next/components/RenderGeoChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAA6B,MAAM,OAAO,CAAC;AA0BrE;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,cAAc,IAAI,YAAY,CAgF7C"}