@dynatrace/strato-geo 0.6.32

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 (665) hide show
  1. package/LICENSE +174 -0
  2. package/README.md +15 -0
  3. package/esm/index.js +16 -0
  4. package/esm/index.js.map +7 -0
  5. package/esm/map/MapView.js +16 -0
  6. package/esm/map/MapView.js.map +7 -0
  7. package/esm/map/components/BubbleLayer/BubbleCircleLayer.js +16 -0
  8. package/esm/map/components/BubbleLayer/BubbleCircleLayer.js.map +7 -0
  9. package/esm/map/components/BubbleLayer/BubbleLayer.js +16 -0
  10. package/esm/map/components/BubbleLayer/BubbleLayer.js.map +7 -0
  11. package/esm/map/components/BubbleLayer/BubbleLayerTooltip.js +16 -0
  12. package/esm/map/components/BubbleLayer/BubbleLayerTooltip.js.map +7 -0
  13. package/esm/map/components/BubbleLayer/BubbleOutlineLayer.js +16 -0
  14. package/esm/map/components/BubbleLayer/BubbleOutlineLayer.js.map +7 -0
  15. package/esm/map/components/BubbleLayer/contexts/size-interpolation.context.js +16 -0
  16. package/esm/map/components/BubbleLayer/contexts/size-interpolation.context.js.map +7 -0
  17. package/esm/map/components/BubbleLayer/functions/add-outline-size.js +16 -0
  18. package/esm/map/components/BubbleLayer/functions/add-outline-size.js.map +7 -0
  19. package/esm/map/components/BubbleLayer/functions/build-radius-scale.js +16 -0
  20. package/esm/map/components/BubbleLayer/functions/build-radius-scale.js.map +7 -0
  21. package/esm/map/components/BubbleLayer/functions/build-stick-to-distance-expressions.js +16 -0
  22. package/esm/map/components/BubbleLayer/functions/build-stick-to-distance-expressions.js.map +7 -0
  23. package/esm/map/components/BubbleLayer/functions/parse-bubble-data-to-geo-json.js +16 -0
  24. package/esm/map/components/BubbleLayer/functions/parse-bubble-data-to-geo-json.js.map +7 -0
  25. package/esm/map/components/BubbleLayer/hooks/use-size-interpolation.js +16 -0
  26. package/esm/map/components/BubbleLayer/hooks/use-size-interpolation.js.map +7 -0
  27. package/esm/map/components/ChoroplethLayer.js +16 -0
  28. package/esm/map/components/ChoroplethLayer.js.map +7 -0
  29. package/esm/map/components/ChoroplethLayerTooltip.js +16 -0
  30. package/esm/map/components/ChoroplethLayerTooltip.js.map +7 -0
  31. package/esm/map/components/ConnectionLayer/ConnectionLayer.js +16 -0
  32. package/esm/map/components/ConnectionLayer/ConnectionLayer.js.map +7 -0
  33. package/esm/map/components/ConnectionLayer/ConnectionLayerDirection.js +16 -0
  34. package/esm/map/components/ConnectionLayer/ConnectionLayerDirection.js.map +7 -0
  35. package/esm/map/components/ConnectionLayer/ConnectionLayerTooltip.js +16 -0
  36. package/esm/map/components/ConnectionLayer/ConnectionLayerTooltip.js.map +7 -0
  37. package/esm/map/components/ConnectionLayer/functions/get-arc-line-features.js +16 -0
  38. package/esm/map/components/ConnectionLayer/functions/get-arc-line-features.js.map +7 -0
  39. package/esm/map/components/ConnectionLayer/functions/get-arrows-angles.js +16 -0
  40. package/esm/map/components/ConnectionLayer/functions/get-arrows-angles.js.map +7 -0
  41. package/esm/map/components/ConnectionLayer/functions/get-straight-line-features.js +16 -0
  42. package/esm/map/components/ConnectionLayer/functions/get-straight-line-features.js.map +7 -0
  43. package/esm/map/components/ConnectionLayer/functions/parse-connection-data-to-geo-json.js +16 -0
  44. package/esm/map/components/ConnectionLayer/functions/parse-connection-data-to-geo-json.js.map +7 -0
  45. package/esm/map/components/ConnectionLayer/functions/parse-direction-data-to-geo-json.js +16 -0
  46. package/esm/map/components/ConnectionLayer/functions/parse-direction-data-to-geo-json.js.map +7 -0
  47. package/esm/map/components/DefaultTooltip.js +16 -0
  48. package/esm/map/components/DefaultTooltip.js.map +7 -0
  49. package/esm/map/components/DotLayer/BackgroundLayer.js +16 -0
  50. package/esm/map/components/DotLayer/BackgroundLayer.js.map +7 -0
  51. package/esm/map/components/DotLayer/DotLayer.js +16 -0
  52. package/esm/map/components/DotLayer/DotLayer.js.map +7 -0
  53. package/esm/map/components/DotLayer/DotLayerTooltip.js +16 -0
  54. package/esm/map/components/DotLayer/DotLayerTooltip.js.map +7 -0
  55. package/esm/map/components/DotLayer/functions/calculate-circle-translate.js +16 -0
  56. package/esm/map/components/DotLayer/functions/calculate-circle-translate.js.map +7 -0
  57. package/esm/map/components/DotLayer/functions/resolve-icon-background.js +16 -0
  58. package/esm/map/components/DotLayer/functions/resolve-icon-background.js.map +7 -0
  59. package/esm/map/components/MapContent.js +16 -0
  60. package/esm/map/components/MapContent.js.map +7 -0
  61. package/esm/map/components/legend/CategoricalLegendRenderer.js +16 -0
  62. package/esm/map/components/legend/CategoricalLegendRenderer.js.map +7 -0
  63. package/esm/map/components/legend/MapLegendRenderer.js +16 -0
  64. package/esm/map/components/legend/MapLegendRenderer.js.map +7 -0
  65. package/esm/map/components/legend/SequentialLegendRenderer.js +16 -0
  66. package/esm/map/components/legend/SequentialLegendRenderer.js.map +7 -0
  67. package/esm/map/components/legend/ThresholdLegendRenderer.js +16 -0
  68. package/esm/map/components/legend/ThresholdLegendRenderer.js.map +7 -0
  69. package/esm/map/components/legend/functions/resolve-color.js +16 -0
  70. package/esm/map/components/legend/functions/resolve-color.js.map +7 -0
  71. package/esm/map/components/toolbar/MapToolbar.js +16 -0
  72. package/esm/map/components/toolbar/MapToolbar.js.map +7 -0
  73. package/esm/map/components/toolbar/buttons/MapDownloadDataButton.js +16 -0
  74. package/esm/map/components/toolbar/buttons/MapDownloadDataButton.js.map +7 -0
  75. package/esm/map/components/toolbar/buttons/MapResetButton.js +16 -0
  76. package/esm/map/components/toolbar/buttons/MapResetButton.js.map +7 -0
  77. package/esm/map/components/toolbar/buttons/MapZoomInOutButtons.js +16 -0
  78. package/esm/map/components/toolbar/buttons/MapZoomInOutButtons.js.map +7 -0
  79. package/esm/map/components/toolbar/buttons/MapZoomToFitButton.js +16 -0
  80. package/esm/map/components/toolbar/buttons/MapZoomToFitButton.js.map +7 -0
  81. package/esm/map/components/toolbar/constants.js +16 -0
  82. package/esm/map/components/toolbar/constants.js.map +7 -0
  83. package/esm/map/constants.js +16 -0
  84. package/esm/map/constants.js.map +7 -0
  85. package/esm/map/contexts/a11y-toolbar-tab-index.context.js +16 -0
  86. package/esm/map/contexts/a11y-toolbar-tab-index.context.js.map +7 -0
  87. package/esm/map/contexts/color-scale.context.js +16 -0
  88. package/esm/map/contexts/color-scale.context.js.map +7 -0
  89. package/esm/map/contexts/layer-coloring-strategy.context.js +16 -0
  90. package/esm/map/contexts/layer-coloring-strategy.context.js.map +7 -0
  91. package/esm/map/contexts/layer-ids.context.js +16 -0
  92. package/esm/map/contexts/layer-ids.context.js.map +7 -0
  93. package/esm/map/contexts/map-configuration.context.js +16 -0
  94. package/esm/map/contexts/map-configuration.context.js.map +7 -0
  95. package/esm/map/contexts/map-country-code.context.js +16 -0
  96. package/esm/map/contexts/map-country-code.context.js.map +7 -0
  97. package/esm/map/contexts/map-data-bounding-box.context.js +16 -0
  98. package/esm/map/contexts/map-data-bounding-box.context.js.map +7 -0
  99. package/esm/map/contexts/map-initial-view.context.js +16 -0
  100. package/esm/map/contexts/map-initial-view.context.js.map +7 -0
  101. package/esm/map/contexts/map-raw-data.context.js +16 -0
  102. package/esm/map/contexts/map-raw-data.context.js.map +7 -0
  103. package/esm/map/functions/__test__/fixtures/business-locations.js +16 -0
  104. package/esm/map/functions/__test__/fixtures/business-locations.js.map +7 -0
  105. package/esm/map/functions/__test__/fixtures/connection-layer.js +16 -0
  106. package/esm/map/functions/__test__/fixtures/connection-layer.js.map +7 -0
  107. package/esm/map/functions/__test__/fixtures/countries-stats.js +16 -0
  108. package/esm/map/functions/__test__/fixtures/countries-stats.js.map +7 -0
  109. package/esm/map/functions/__test__/fixtures/csv-download-cases.js +16 -0
  110. package/esm/map/functions/__test__/fixtures/csv-download-cases.js.map +7 -0
  111. package/esm/map/functions/__test__/fixtures/events-locations.js +16 -0
  112. package/esm/map/functions/__test__/fixtures/events-locations.js.map +7 -0
  113. package/esm/map/functions/__test__/fixtures/facilities-locations.js +16 -0
  114. package/esm/map/functions/__test__/fixtures/facilities-locations.js.map +7 -0
  115. package/esm/map/functions/__test__/fixtures/flight-connections.js +16 -0
  116. package/esm/map/functions/__test__/fixtures/flight-connections.js.map +7 -0
  117. package/esm/map/functions/a11y-toolbar-controls.js +16 -0
  118. package/esm/map/functions/a11y-toolbar-controls.js.map +7 -0
  119. package/esm/map/functions/attach-image-from-shape.js +16 -0
  120. package/esm/map/functions/attach-image-from-shape.js.map +7 -0
  121. package/esm/map/functions/attach-image-from-string.js +16 -0
  122. package/esm/map/functions/attach-image-from-string.js.map +7 -0
  123. package/esm/map/functions/attach-image-from-text.js +16 -0
  124. package/esm/map/functions/attach-image-from-text.js.map +7 -0
  125. package/esm/map/functions/attach-image-to-map.js +16 -0
  126. package/esm/map/functions/attach-image-to-map.js.map +7 -0
  127. package/esm/map/functions/build-and-download-csv.js +16 -0
  128. package/esm/map/functions/build-and-download-csv.js.map +7 -0
  129. package/esm/map/functions/build-categorical-scale.js +16 -0
  130. package/esm/map/functions/build-categorical-scale.js.map +7 -0
  131. package/esm/map/functions/build-scale-from-legend-config.js +16 -0
  132. package/esm/map/functions/build-scale-from-legend-config.js.map +7 -0
  133. package/esm/map/functions/calculate-hovered-color.js +16 -0
  134. package/esm/map/functions/calculate-hovered-color.js.map +7 -0
  135. package/esm/map/functions/create-bitmap-config-options.js +16 -0
  136. package/esm/map/functions/create-bitmap-config-options.js.map +7 -0
  137. package/esm/map/functions/define-bearing.js +16 -0
  138. package/esm/map/functions/define-bearing.js.map +7 -0
  139. package/esm/map/functions/define-color.js +16 -0
  140. package/esm/map/functions/define-color.js.map +7 -0
  141. package/esm/map/functions/define-radius.js +16 -0
  142. package/esm/map/functions/define-radius.js.map +7 -0
  143. package/esm/map/functions/extract-layers-data.js +16 -0
  144. package/esm/map/functions/extract-layers-data.js.map +7 -0
  145. package/esm/map/functions/get-client-settings.js +16 -0
  146. package/esm/map/functions/get-client-settings.js.map +7 -0
  147. package/esm/map/functions/get-color-from-token.js +16 -0
  148. package/esm/map/functions/get-color-from-token.js.map +7 -0
  149. package/esm/map/functions/get-countries-geo-code.js +16 -0
  150. package/esm/map/functions/get-countries-geo-code.js.map +7 -0
  151. package/esm/map/functions/get-data-layers-bounding-box.js +16 -0
  152. package/esm/map/functions/get-data-layers-bounding-box.js.map +7 -0
  153. package/esm/map/functions/get-data-uri.js +16 -0
  154. package/esm/map/functions/get-data-uri.js.map +7 -0
  155. package/esm/map/functions/get-map-states-template.js +16 -0
  156. package/esm/map/functions/get-map-states-template.js.map +7 -0
  157. package/esm/map/functions/get-scaled-symbol-size.js +16 -0
  158. package/esm/map/functions/get-scaled-symbol-size.js.map +7 -0
  159. package/esm/map/functions/get-tenant-country-code.js +16 -0
  160. package/esm/map/functions/get-tenant-country-code.js.map +7 -0
  161. package/esm/map/functions/is-valid-shape.js +16 -0
  162. package/esm/map/functions/is-valid-shape.js.map +7 -0
  163. package/esm/map/functions/iterate-config-slots.js +16 -0
  164. package/esm/map/functions/iterate-config-slots.js.map +7 -0
  165. package/esm/map/functions/parse-dot-data-to-geo-json.js +16 -0
  166. package/esm/map/functions/parse-dot-data-to-geo-json.js.map +7 -0
  167. package/esm/map/functions/parse-region-data-to-geo-json.js +16 -0
  168. package/esm/map/functions/parse-region-data-to-geo-json.js.map +7 -0
  169. package/esm/map/functions/safe-reactdom-render.js +16 -0
  170. package/esm/map/functions/safe-reactdom-render.js.map +7 -0
  171. package/esm/map/functions/set-layers-id.js +16 -0
  172. package/esm/map/functions/set-layers-id.js.map +7 -0
  173. package/esm/map/functions/tabularize-layers-data.js +18 -0
  174. package/esm/map/functions/tabularize-layers-data.js.map +7 -0
  175. package/esm/map/functions/to-mapbox-initial-view-state.js +16 -0
  176. package/esm/map/functions/to-mapbox-initial-view-state.js.map +7 -0
  177. package/esm/map/functions/tooltip-type-guards.js +16 -0
  178. package/esm/map/functions/tooltip-type-guards.js.map +7 -0
  179. package/esm/map/hooks/use-a11y-toolbar-tab-index.js +16 -0
  180. package/esm/map/hooks/use-a11y-toolbar-tab-index.js.map +7 -0
  181. package/esm/map/hooks/use-active-interaction.js +16 -0
  182. package/esm/map/hooks/use-active-interaction.js.map +7 -0
  183. package/esm/map/hooks/use-attach-image-from-icon.js +16 -0
  184. package/esm/map/hooks/use-attach-image-from-icon.js.map +7 -0
  185. package/esm/map/hooks/use-attach-symbol-to-map.js +16 -0
  186. package/esm/map/hooks/use-attach-symbol-to-map.js.map +7 -0
  187. package/esm/map/hooks/use-color-scale.js +16 -0
  188. package/esm/map/hooks/use-color-scale.js.map +7 -0
  189. package/esm/map/hooks/use-connection-direction-interaction-highlighting.js +16 -0
  190. package/esm/map/hooks/use-connection-direction-interaction-highlighting.js.map +7 -0
  191. package/esm/map/hooks/use-connection-interaction-highlighting.js +16 -0
  192. package/esm/map/hooks/use-connection-interaction-highlighting.js.map +7 -0
  193. package/esm/map/hooks/use-data-bounding-box.js +16 -0
  194. package/esm/map/hooks/use-data-bounding-box.js.map +7 -0
  195. package/esm/map/hooks/use-hover-interaction.js +16 -0
  196. package/esm/map/hooks/use-hover-interaction.js.map +7 -0
  197. package/esm/map/hooks/use-initial-view-context.js +16 -0
  198. package/esm/map/hooks/use-initial-view-context.js.map +7 -0
  199. package/esm/map/hooks/use-initial-view-state.js +16 -0
  200. package/esm/map/hooks/use-initial-view-state.js.map +7 -0
  201. package/esm/map/hooks/use-layer-coloring-strategy.js +16 -0
  202. package/esm/map/hooks/use-layer-coloring-strategy.js.map +7 -0
  203. package/esm/map/hooks/use-legend-interaction-highlighting.js +16 -0
  204. package/esm/map/hooks/use-legend-interaction-highlighting.js.map +7 -0
  205. package/esm/map/hooks/use-legend-interaction-visibility.js +16 -0
  206. package/esm/map/hooks/use-legend-interaction-visibility.js.map +7 -0
  207. package/esm/map/hooks/use-load-symbol-into-map.js +16 -0
  208. package/esm/map/hooks/use-load-symbol-into-map.js.map +7 -0
  209. package/esm/map/hooks/use-map-config.js +16 -0
  210. package/esm/map/hooks/use-map-config.js.map +7 -0
  211. package/esm/map/hooks/use-map-country-code.js +16 -0
  212. package/esm/map/hooks/use-map-country-code.js.map +7 -0
  213. package/esm/map/hooks/use-map-raw-data.js +16 -0
  214. package/esm/map/hooks/use-map-raw-data.js.map +7 -0
  215. package/esm/map/hooks/use-map-settings.js +16 -0
  216. package/esm/map/hooks/use-map-settings.js.map +7 -0
  217. package/esm/map/hooks/use-map-source.js +16 -0
  218. package/esm/map/hooks/use-map-source.js.map +7 -0
  219. package/esm/map/hooks/use-overlay-events.js +16 -0
  220. package/esm/map/hooks/use-overlay-events.js.map +7 -0
  221. package/esm/map/hooks/use-resolve-color.js +16 -0
  222. package/esm/map/hooks/use-resolve-color.js.map +7 -0
  223. package/esm/map/hooks/use-safe-svg-parser.js +16 -0
  224. package/esm/map/hooks/use-safe-svg-parser.js.map +7 -0
  225. package/esm/map/hooks/use-tooltip-event-listeners.js +16 -0
  226. package/esm/map/hooks/use-tooltip-event-listeners.js.map +7 -0
  227. package/esm/map/hooks/use-tooltip-template.js +16 -0
  228. package/esm/map/hooks/use-tooltip-template.js.map +7 -0
  229. package/esm/map/hooks/useDefaultTooltipActions.js +16 -0
  230. package/esm/map/hooks/useDefaultTooltipActions.js.map +7 -0
  231. package/esm/map/map-styles/default-style.js +16 -0
  232. package/esm/map/map-styles/default-style.js.map +7 -0
  233. package/esm/map/providers/color-scale.provider.js +16 -0
  234. package/esm/map/providers/color-scale.provider.js.map +7 -0
  235. package/esm/map/providers/layer-color-strategy.provider.js +16 -0
  236. package/esm/map/providers/layer-color-strategy.provider.js.map +7 -0
  237. package/esm/map/providers/map-initial-view.provider.js +16 -0
  238. package/esm/map/providers/map-initial-view.provider.js.map +7 -0
  239. package/esm/map/shapes/circle.js +33 -0
  240. package/esm/map/shapes/circle.js.map +7 -0
  241. package/esm/map/shapes/cross.js +28 -0
  242. package/esm/map/shapes/cross.js.map +7 -0
  243. package/esm/map/shapes/diamond.js +21 -0
  244. package/esm/map/shapes/diamond.js.map +7 -0
  245. package/esm/map/shapes/heart.js +28 -0
  246. package/esm/map/shapes/heart.js.map +7 -0
  247. package/esm/map/shapes/pin.js +22 -0
  248. package/esm/map/shapes/pin.js.map +7 -0
  249. package/esm/map/shapes/shape-picker.js +16 -0
  250. package/esm/map/shapes/shape-picker.js.map +7 -0
  251. package/esm/map/shapes/square.js +19 -0
  252. package/esm/map/shapes/square.js.map +7 -0
  253. package/esm/map/shapes/star.js +33 -0
  254. package/esm/map/shapes/star.js.map +7 -0
  255. package/esm/map/shapes/triangle.js +28 -0
  256. package/esm/map/shapes/triangle.js.map +7 -0
  257. package/esm/map/slots/BubbleLayer.js +16 -0
  258. package/esm/map/slots/BubbleLayer.js.map +7 -0
  259. package/esm/map/slots/BubbleLayerTooltip.js +16 -0
  260. package/esm/map/slots/BubbleLayerTooltip.js.map +7 -0
  261. package/esm/map/slots/CategoricalLegend.js +16 -0
  262. package/esm/map/slots/CategoricalLegend.js.map +7 -0
  263. package/esm/map/slots/ChartInteractions.js +16 -0
  264. package/esm/map/slots/ChartInteractions.js.map +7 -0
  265. package/esm/map/slots/ChoroplethLayer.js +16 -0
  266. package/esm/map/slots/ChoroplethLayer.js.map +7 -0
  267. package/esm/map/slots/ChoroplethLayerTooltip.js +16 -0
  268. package/esm/map/slots/ChoroplethLayerTooltip.js.map +7 -0
  269. package/esm/map/slots/ConnectionLayer.js +16 -0
  270. package/esm/map/slots/ConnectionLayer.js.map +7 -0
  271. package/esm/map/slots/ConnectionLayerTooltip.js +16 -0
  272. package/esm/map/slots/ConnectionLayerTooltip.js.map +7 -0
  273. package/esm/map/slots/DotLayer.js +16 -0
  274. package/esm/map/slots/DotLayer.js.map +7 -0
  275. package/esm/map/slots/DotLayerTooltip.js +16 -0
  276. package/esm/map/slots/DotLayerTooltip.js.map +7 -0
  277. package/esm/map/slots/SequentialLegend.js +16 -0
  278. package/esm/map/slots/SequentialLegend.js.map +7 -0
  279. package/esm/map/slots/ThresholdLegend.js +16 -0
  280. package/esm/map/slots/ThresholdLegend.js.map +7 -0
  281. package/esm/map/slots/Tooltip.js +16 -0
  282. package/esm/map/slots/Tooltip.js.map +7 -0
  283. package/esm/map/slots/Zoom.js +16 -0
  284. package/esm/map/slots/Zoom.js.map +7 -0
  285. package/esm/map/slots/ZoomToFit.js +16 -0
  286. package/esm/map/slots/ZoomToFit.js.map +7 -0
  287. package/esm/map/slots/states/DisabledState.js +16 -0
  288. package/esm/map/slots/states/DisabledState.js.map +7 -0
  289. package/esm/map/slots/states/ErrorStateSlot.js +16 -0
  290. package/esm/map/slots/states/ErrorStateSlot.js.map +7 -0
  291. package/esm/map/sources/CN.js +16 -0
  292. package/esm/map/sources/CN.js.map +7 -0
  293. package/esm/map/sources/IL.js +16 -0
  294. package/esm/map/sources/IL.js.map +7 -0
  295. package/esm/map/sources/IN.js +16 -0
  296. package/esm/map/sources/IN.js.map +7 -0
  297. package/esm/map/sources/countries.js +16 -0
  298. package/esm/map/sources/countries.js.map +7 -0
  299. package/esm/map/store/map-store.context.js +16 -0
  300. package/esm/map/store/map-store.context.js.map +7 -0
  301. package/esm/map/store/map-store.provider.js +16 -0
  302. package/esm/map/store/map-store.provider.js.map +7 -0
  303. package/esm/map/store/selectors.js +16 -0
  304. package/esm/map/store/selectors.js.map +7 -0
  305. package/esm/map/store/store.js +16 -0
  306. package/esm/map/store/store.js.map +7 -0
  307. package/esm/map/styles/react-mapgl-styles.css +671 -0
  308. package/esm/map/types/bubble-layer.js +16 -0
  309. package/esm/map/types/bubble-layer.js.map +7 -0
  310. package/esm/map/types/choropleth-layer.js +16 -0
  311. package/esm/map/types/choropleth-layer.js.map +7 -0
  312. package/esm/map/types/coloring.js +16 -0
  313. package/esm/map/types/coloring.js.map +7 -0
  314. package/esm/map/types/configuration.js +16 -0
  315. package/esm/map/types/configuration.js.map +7 -0
  316. package/esm/map/types/connection-layer.js +16 -0
  317. package/esm/map/types/connection-layer.js.map +7 -0
  318. package/esm/map/types/dot-layer.js +16 -0
  319. package/esm/map/types/dot-layer.js.map +7 -0
  320. package/esm/map/types/legend.js +16 -0
  321. package/esm/map/types/legend.js.map +7 -0
  322. package/esm/map/types/location.js +16 -0
  323. package/esm/map/types/location.js.map +7 -0
  324. package/esm/map/types/map-view.js +16 -0
  325. package/esm/map/types/map-view.js.map +7 -0
  326. package/esm/map/types/shapes.js +16 -0
  327. package/esm/map/types/shapes.js.map +7 -0
  328. package/esm/map/types/state.js +16 -0
  329. package/esm/map/types/state.js.map +7 -0
  330. package/esm/map/types/toolbar.js +16 -0
  331. package/esm/map/types/toolbar.js.map +7 -0
  332. package/esm/map/types/tooltip.js +16 -0
  333. package/esm/map/types/tooltip.js.map +7 -0
  334. package/index.d.ts +37 -0
  335. package/index.js +15 -0
  336. package/map/MapView.d.ts +25 -0
  337. package/map/MapView.js +15 -0
  338. package/map/components/BubbleLayer/BubbleCircleLayer.d.ts +20 -0
  339. package/map/components/BubbleLayer/BubbleCircleLayer.js +15 -0
  340. package/map/components/BubbleLayer/BubbleLayer.d.ts +22 -0
  341. package/map/components/BubbleLayer/BubbleLayer.js +15 -0
  342. package/map/components/BubbleLayer/BubbleLayerTooltip.d.ts +26 -0
  343. package/map/components/BubbleLayer/BubbleLayerTooltip.js +15 -0
  344. package/map/components/BubbleLayer/BubbleOutlineLayer.d.ts +5 -0
  345. package/map/components/BubbleLayer/BubbleOutlineLayer.js +15 -0
  346. package/map/components/BubbleLayer/contexts/size-interpolation.context.d.ts +2 -0
  347. package/map/components/BubbleLayer/contexts/size-interpolation.context.js +15 -0
  348. package/map/components/BubbleLayer/functions/add-outline-size.d.ts +21 -0
  349. package/map/components/BubbleLayer/functions/add-outline-size.js +15 -0
  350. package/map/components/BubbleLayer/functions/build-radius-scale.d.ts +18 -0
  351. package/map/components/BubbleLayer/functions/build-radius-scale.js +15 -0
  352. package/map/components/BubbleLayer/functions/build-stick-to-distance-expressions.d.ts +28 -0
  353. package/map/components/BubbleLayer/functions/build-stick-to-distance-expressions.js +15 -0
  354. package/map/components/BubbleLayer/functions/parse-bubble-data-to-geo-json.d.ts +35 -0
  355. package/map/components/BubbleLayer/functions/parse-bubble-data-to-geo-json.js +15 -0
  356. package/map/components/BubbleLayer/hooks/use-size-interpolation.d.ts +1 -0
  357. package/map/components/BubbleLayer/hooks/use-size-interpolation.js +15 -0
  358. package/map/components/ChoroplethLayer.d.ts +21 -0
  359. package/map/components/ChoroplethLayer.js +15 -0
  360. package/map/components/ChoroplethLayerTooltip.d.ts +25 -0
  361. package/map/components/ChoroplethLayerTooltip.js +15 -0
  362. package/map/components/ConnectionLayer/ConnectionLayer.d.ts +22 -0
  363. package/map/components/ConnectionLayer/ConnectionLayer.js +15 -0
  364. package/map/components/ConnectionLayer/ConnectionLayerDirection.d.ts +26 -0
  365. package/map/components/ConnectionLayer/ConnectionLayerDirection.js +15 -0
  366. package/map/components/ConnectionLayer/ConnectionLayerTooltip.d.ts +26 -0
  367. package/map/components/ConnectionLayer/ConnectionLayerTooltip.js +15 -0
  368. package/map/components/ConnectionLayer/functions/get-arc-line-features.d.ts +18 -0
  369. package/map/components/ConnectionLayer/functions/get-arc-line-features.js +15 -0
  370. package/map/components/ConnectionLayer/functions/get-arrows-angles.d.ts +4 -0
  371. package/map/components/ConnectionLayer/functions/get-arrows-angles.js +15 -0
  372. package/map/components/ConnectionLayer/functions/get-straight-line-features.d.ts +18 -0
  373. package/map/components/ConnectionLayer/functions/get-straight-line-features.js +15 -0
  374. package/map/components/ConnectionLayer/functions/parse-connection-data-to-geo-json.d.ts +18 -0
  375. package/map/components/ConnectionLayer/functions/parse-connection-data-to-geo-json.js +15 -0
  376. package/map/components/ConnectionLayer/functions/parse-direction-data-to-geo-json.d.ts +7 -0
  377. package/map/components/ConnectionLayer/functions/parse-direction-data-to-geo-json.js +15 -0
  378. package/map/components/DefaultTooltip.d.ts +26 -0
  379. package/map/components/DefaultTooltip.js +15 -0
  380. package/map/components/DotLayer/BackgroundLayer.d.ts +25 -0
  381. package/map/components/DotLayer/BackgroundLayer.js +15 -0
  382. package/map/components/DotLayer/DotLayer.d.ts +25 -0
  383. package/map/components/DotLayer/DotLayer.js +15 -0
  384. package/map/components/DotLayer/DotLayerTooltip.d.ts +26 -0
  385. package/map/components/DotLayer/DotLayerTooltip.js +15 -0
  386. package/map/components/DotLayer/functions/calculate-circle-translate.d.ts +16 -0
  387. package/map/components/DotLayer/functions/calculate-circle-translate.js +15 -0
  388. package/map/components/DotLayer/functions/resolve-icon-background.d.ts +19 -0
  389. package/map/components/DotLayer/functions/resolve-icon-background.js +15 -0
  390. package/map/components/MapContent.d.ts +18 -0
  391. package/map/components/MapContent.js +15 -0
  392. package/map/components/legend/CategoricalLegendRenderer.d.ts +2 -0
  393. package/map/components/legend/CategoricalLegendRenderer.js +15 -0
  394. package/map/components/legend/MapLegendRenderer.d.ts +17 -0
  395. package/map/components/legend/MapLegendRenderer.js +15 -0
  396. package/map/components/legend/SequentialLegendRenderer.d.ts +17 -0
  397. package/map/components/legend/SequentialLegendRenderer.js +15 -0
  398. package/map/components/legend/ThresholdLegendRenderer.d.ts +17 -0
  399. package/map/components/legend/ThresholdLegendRenderer.js +15 -0
  400. package/map/components/legend/functions/resolve-color.d.ts +23 -0
  401. package/map/components/legend/functions/resolve-color.js +15 -0
  402. package/map/components/toolbar/MapToolbar.d.ts +20 -0
  403. package/map/components/toolbar/MapToolbar.js +15 -0
  404. package/map/components/toolbar/buttons/MapDownloadDataButton.d.ts +17 -0
  405. package/map/components/toolbar/buttons/MapDownloadDataButton.js +15 -0
  406. package/map/components/toolbar/buttons/MapResetButton.d.ts +17 -0
  407. package/map/components/toolbar/buttons/MapResetButton.js +15 -0
  408. package/map/components/toolbar/buttons/MapZoomInOutButtons.d.ts +17 -0
  409. package/map/components/toolbar/buttons/MapZoomInOutButtons.js +15 -0
  410. package/map/components/toolbar/buttons/MapZoomToFitButton.d.ts +20 -0
  411. package/map/components/toolbar/buttons/MapZoomToFitButton.js +15 -0
  412. package/map/components/toolbar/constants.d.ts +19 -0
  413. package/map/components/toolbar/constants.js +15 -0
  414. package/map/constants.d.ts +73 -0
  415. package/map/constants.js +15 -0
  416. package/map/contexts/a11y-toolbar-tab-index.context.d.ts +18 -0
  417. package/map/contexts/a11y-toolbar-tab-index.context.js +15 -0
  418. package/map/contexts/color-scale.context.d.ts +19 -0
  419. package/map/contexts/color-scale.context.js +15 -0
  420. package/map/contexts/layer-coloring-strategy.context.d.ts +2 -0
  421. package/map/contexts/layer-coloring-strategy.context.js +15 -0
  422. package/map/contexts/layer-ids.context.d.ts +17 -0
  423. package/map/contexts/layer-ids.context.js +15 -0
  424. package/map/contexts/map-configuration.context.d.ts +18 -0
  425. package/map/contexts/map-configuration.context.js +15 -0
  426. package/map/contexts/map-country-code.context.d.ts +17 -0
  427. package/map/contexts/map-country-code.context.js +15 -0
  428. package/map/contexts/map-data-bounding-box.context.d.ts +17 -0
  429. package/map/contexts/map-data-bounding-box.context.js +15 -0
  430. package/map/contexts/map-initial-view.context.d.ts +18 -0
  431. package/map/contexts/map-initial-view.context.js +15 -0
  432. package/map/contexts/map-raw-data.context.d.ts +17 -0
  433. package/map/contexts/map-raw-data.context.js +15 -0
  434. package/map/functions/__test__/fixtures/business-locations.d.ts +31 -0
  435. package/map/functions/__test__/fixtures/business-locations.js +15 -0
  436. package/map/functions/__test__/fixtures/connection-layer.d.ts +28 -0
  437. package/map/functions/__test__/fixtures/connection-layer.js +15 -0
  438. package/map/functions/__test__/fixtures/countries-stats.d.ts +31 -0
  439. package/map/functions/__test__/fixtures/countries-stats.js +15 -0
  440. package/map/functions/__test__/fixtures/csv-download-cases.d.ts +59 -0
  441. package/map/functions/__test__/fixtures/csv-download-cases.js +15 -0
  442. package/map/functions/__test__/fixtures/events-locations.d.ts +31 -0
  443. package/map/functions/__test__/fixtures/events-locations.js +15 -0
  444. package/map/functions/__test__/fixtures/facilities-locations.d.ts +40 -0
  445. package/map/functions/__test__/fixtures/facilities-locations.js +15 -0
  446. package/map/functions/__test__/fixtures/flight-connections.d.ts +26 -0
  447. package/map/functions/__test__/fixtures/flight-connections.js +15 -0
  448. package/map/functions/a11y-toolbar-controls.d.ts +22 -0
  449. package/map/functions/a11y-toolbar-controls.js +15 -0
  450. package/map/functions/attach-image-from-shape.d.ts +18 -0
  451. package/map/functions/attach-image-from-shape.js +15 -0
  452. package/map/functions/attach-image-from-string.d.ts +18 -0
  453. package/map/functions/attach-image-from-string.js +15 -0
  454. package/map/functions/attach-image-from-text.d.ts +17 -0
  455. package/map/functions/attach-image-from-text.js +15 -0
  456. package/map/functions/attach-image-to-map.d.ts +17 -0
  457. package/map/functions/attach-image-to-map.js +15 -0
  458. package/map/functions/build-and-download-csv.d.ts +6 -0
  459. package/map/functions/build-and-download-csv.js +15 -0
  460. package/map/functions/build-categorical-scale.d.ts +2 -0
  461. package/map/functions/build-categorical-scale.js +15 -0
  462. package/map/functions/build-scale-from-legend-config.d.ts +23 -0
  463. package/map/functions/build-scale-from-legend-config.js +15 -0
  464. package/map/functions/calculate-hovered-color.d.ts +1 -0
  465. package/map/functions/calculate-hovered-color.js +15 -0
  466. package/map/functions/create-bitmap-config-options.d.ts +16 -0
  467. package/map/functions/create-bitmap-config-options.js +15 -0
  468. package/map/functions/define-bearing.d.ts +17 -0
  469. package/map/functions/define-bearing.js +15 -0
  470. package/map/functions/define-color.d.ts +16 -0
  471. package/map/functions/define-color.js +15 -0
  472. package/map/functions/define-radius.d.ts +17 -0
  473. package/map/functions/define-radius.js +15 -0
  474. package/map/functions/extract-layers-data.d.ts +7 -0
  475. package/map/functions/extract-layers-data.js +15 -0
  476. package/map/functions/get-client-settings.d.ts +16 -0
  477. package/map/functions/get-client-settings.js +15 -0
  478. package/map/functions/get-color-from-token.d.ts +1 -0
  479. package/map/functions/get-color-from-token.js +15 -0
  480. package/map/functions/get-countries-geo-code.d.ts +16 -0
  481. package/map/functions/get-countries-geo-code.js +15 -0
  482. package/map/functions/get-data-layers-bounding-box.d.ts +17 -0
  483. package/map/functions/get-data-layers-bounding-box.js +15 -0
  484. package/map/functions/get-data-uri.d.ts +16 -0
  485. package/map/functions/get-data-uri.js +15 -0
  486. package/map/functions/get-map-states-template.d.ts +19 -0
  487. package/map/functions/get-map-states-template.js +15 -0
  488. package/map/functions/get-scaled-symbol-size.d.ts +17 -0
  489. package/map/functions/get-scaled-symbol-size.js +15 -0
  490. package/map/functions/get-tenant-country-code.d.ts +16 -0
  491. package/map/functions/get-tenant-country-code.js +15 -0
  492. package/map/functions/is-valid-shape.d.ts +18 -0
  493. package/map/functions/is-valid-shape.js +15 -0
  494. package/map/functions/iterate-config-slots.d.ts +23 -0
  495. package/map/functions/iterate-config-slots.js +15 -0
  496. package/map/functions/parse-dot-data-to-geo-json.d.ts +31 -0
  497. package/map/functions/parse-dot-data-to-geo-json.js +15 -0
  498. package/map/functions/parse-region-data-to-geo-json.d.ts +17 -0
  499. package/map/functions/parse-region-data-to-geo-json.js +15 -0
  500. package/map/functions/safe-reactdom-render.d.ts +22 -0
  501. package/map/functions/safe-reactdom-render.js +15 -0
  502. package/map/functions/set-layers-id.d.ts +25 -0
  503. package/map/functions/set-layers-id.js +15 -0
  504. package/map/functions/tabularize-layers-data.d.ts +27 -0
  505. package/map/functions/tabularize-layers-data.js +17 -0
  506. package/map/functions/to-mapbox-initial-view-state.d.ts +1 -0
  507. package/map/functions/to-mapbox-initial-view-state.js +15 -0
  508. package/map/functions/tooltip-type-guards.d.ts +32 -0
  509. package/map/functions/tooltip-type-guards.js +15 -0
  510. package/map/hooks/use-a11y-toolbar-tab-index.d.ts +22 -0
  511. package/map/hooks/use-a11y-toolbar-tab-index.js +15 -0
  512. package/map/hooks/use-active-interaction.d.ts +1 -0
  513. package/map/hooks/use-active-interaction.js +15 -0
  514. package/map/hooks/use-attach-image-from-icon.d.ts +18 -0
  515. package/map/hooks/use-attach-image-from-icon.js +15 -0
  516. package/map/hooks/use-attach-symbol-to-map.d.ts +18 -0
  517. package/map/hooks/use-attach-symbol-to-map.js +15 -0
  518. package/map/hooks/use-color-scale.d.ts +17 -0
  519. package/map/hooks/use-color-scale.js +15 -0
  520. package/map/hooks/use-connection-direction-interaction-highlighting.d.ts +1 -0
  521. package/map/hooks/use-connection-direction-interaction-highlighting.js +15 -0
  522. package/map/hooks/use-connection-interaction-highlighting.d.ts +1 -0
  523. package/map/hooks/use-connection-interaction-highlighting.js +15 -0
  524. package/map/hooks/use-data-bounding-box.d.ts +1 -0
  525. package/map/hooks/use-data-bounding-box.js +15 -0
  526. package/map/hooks/use-hover-interaction.d.ts +1 -0
  527. package/map/hooks/use-hover-interaction.js +15 -0
  528. package/map/hooks/use-initial-view-context.d.ts +1 -0
  529. package/map/hooks/use-initial-view-context.js +15 -0
  530. package/map/hooks/use-initial-view-state.d.ts +2 -0
  531. package/map/hooks/use-initial-view-state.js +15 -0
  532. package/map/hooks/use-layer-coloring-strategy.d.ts +1 -0
  533. package/map/hooks/use-layer-coloring-strategy.js +15 -0
  534. package/map/hooks/use-legend-interaction-highlighting.d.ts +5 -0
  535. package/map/hooks/use-legend-interaction-highlighting.js +15 -0
  536. package/map/hooks/use-legend-interaction-visibility.d.ts +5 -0
  537. package/map/hooks/use-legend-interaction-visibility.js +15 -0
  538. package/map/hooks/use-load-symbol-into-map.d.ts +21 -0
  539. package/map/hooks/use-load-symbol-into-map.js +15 -0
  540. package/map/hooks/use-map-config.d.ts +1 -0
  541. package/map/hooks/use-map-config.js +15 -0
  542. package/map/hooks/use-map-country-code.d.ts +1 -0
  543. package/map/hooks/use-map-country-code.js +15 -0
  544. package/map/hooks/use-map-raw-data.d.ts +1 -0
  545. package/map/hooks/use-map-raw-data.js +15 -0
  546. package/map/hooks/use-map-settings.d.ts +5 -0
  547. package/map/hooks/use-map-settings.js +15 -0
  548. package/map/hooks/use-map-source.d.ts +1 -0
  549. package/map/hooks/use-map-source.js +15 -0
  550. package/map/hooks/use-overlay-events.d.ts +24 -0
  551. package/map/hooks/use-overlay-events.js +15 -0
  552. package/map/hooks/use-resolve-color.d.ts +16 -0
  553. package/map/hooks/use-resolve-color.js +15 -0
  554. package/map/hooks/use-safe-svg-parser.d.ts +23 -0
  555. package/map/hooks/use-safe-svg-parser.js +15 -0
  556. package/map/hooks/use-tooltip-event-listeners.d.ts +16 -0
  557. package/map/hooks/use-tooltip-event-listeners.js +15 -0
  558. package/map/hooks/use-tooltip-template.d.ts +11 -0
  559. package/map/hooks/use-tooltip-template.js +15 -0
  560. package/map/hooks/useDefaultTooltipActions.d.ts +18 -0
  561. package/map/hooks/useDefaultTooltipActions.js +15 -0
  562. package/map/map-styles/default-style.d.ts +17 -0
  563. package/map/map-styles/default-style.js +15 -0
  564. package/map/providers/color-scale.provider.d.ts +15 -0
  565. package/map/providers/color-scale.provider.js +15 -0
  566. package/map/providers/layer-color-strategy.provider.d.ts +30 -0
  567. package/map/providers/layer-color-strategy.provider.js +15 -0
  568. package/map/providers/map-initial-view.provider.d.ts +28 -0
  569. package/map/providers/map-initial-view.provider.js +15 -0
  570. package/map/shapes/circle.d.ts +16 -0
  571. package/map/shapes/circle.js +32 -0
  572. package/map/shapes/cross.d.ts +16 -0
  573. package/map/shapes/cross.js +27 -0
  574. package/map/shapes/diamond.d.ts +16 -0
  575. package/map/shapes/diamond.js +20 -0
  576. package/map/shapes/heart.d.ts +16 -0
  577. package/map/shapes/heart.js +27 -0
  578. package/map/shapes/pin.d.ts +16 -0
  579. package/map/shapes/pin.js +21 -0
  580. package/map/shapes/shape-picker.d.ts +2 -0
  581. package/map/shapes/shape-picker.js +15 -0
  582. package/map/shapes/square.d.ts +16 -0
  583. package/map/shapes/square.js +18 -0
  584. package/map/shapes/star.d.ts +16 -0
  585. package/map/shapes/star.js +32 -0
  586. package/map/shapes/triangle.d.ts +16 -0
  587. package/map/shapes/triangle.js +27 -0
  588. package/map/slots/BubbleLayer.d.ts +31 -0
  589. package/map/slots/BubbleLayer.js +15 -0
  590. package/map/slots/BubbleLayerTooltip.d.ts +22 -0
  591. package/map/slots/BubbleLayerTooltip.js +15 -0
  592. package/map/slots/CategoricalLegend.d.ts +21 -0
  593. package/map/slots/CategoricalLegend.js +15 -0
  594. package/map/slots/ChartInteractions.d.ts +31 -0
  595. package/map/slots/ChartInteractions.js +15 -0
  596. package/map/slots/ChoroplethLayer.d.ts +31 -0
  597. package/map/slots/ChoroplethLayer.js +15 -0
  598. package/map/slots/ChoroplethLayerTooltip.d.ts +20 -0
  599. package/map/slots/ChoroplethLayerTooltip.js +15 -0
  600. package/map/slots/ConnectionLayer.d.ts +32 -0
  601. package/map/slots/ConnectionLayer.js +15 -0
  602. package/map/slots/ConnectionLayerTooltip.d.ts +21 -0
  603. package/map/slots/ConnectionLayerTooltip.js +15 -0
  604. package/map/slots/DotLayer.d.ts +33 -0
  605. package/map/slots/DotLayer.js +15 -0
  606. package/map/slots/DotLayerTooltip.d.ts +22 -0
  607. package/map/slots/DotLayerTooltip.js +15 -0
  608. package/map/slots/SequentialLegend.d.ts +21 -0
  609. package/map/slots/SequentialLegend.js +15 -0
  610. package/map/slots/ThresholdLegend.d.ts +21 -0
  611. package/map/slots/ThresholdLegend.js +15 -0
  612. package/map/slots/Tooltip.d.ts +29 -0
  613. package/map/slots/Tooltip.js +15 -0
  614. package/map/slots/Zoom.d.ts +22 -0
  615. package/map/slots/Zoom.js +15 -0
  616. package/map/slots/ZoomToFit.d.ts +22 -0
  617. package/map/slots/ZoomToFit.js +15 -0
  618. package/map/slots/states/DisabledState.d.ts +29 -0
  619. package/map/slots/states/DisabledState.js +15 -0
  620. package/map/slots/states/ErrorStateSlot.d.ts +20 -0
  621. package/map/slots/states/ErrorStateSlot.js +15 -0
  622. package/map/sources/CN.d.ts +16 -0
  623. package/map/sources/CN.js +15 -0
  624. package/map/sources/IL.d.ts +16 -0
  625. package/map/sources/IL.js +15 -0
  626. package/map/sources/IN.d.ts +16 -0
  627. package/map/sources/IN.js +15 -0
  628. package/map/sources/countries.d.ts +41 -0
  629. package/map/sources/countries.js +15 -0
  630. package/map/store/map-store.context.d.ts +20 -0
  631. package/map/store/map-store.context.js +15 -0
  632. package/map/store/map-store.provider.d.ts +17 -0
  633. package/map/store/map-store.provider.js +15 -0
  634. package/map/store/selectors.d.ts +30 -0
  635. package/map/store/selectors.js +15 -0
  636. package/map/store/store.d.ts +7 -0
  637. package/map/store/store.js +15 -0
  638. package/map/styles/react-mapgl-styles.css +671 -0
  639. package/map/types/bubble-layer.d.ts +85 -0
  640. package/map/types/bubble-layer.js +15 -0
  641. package/map/types/choropleth-layer.d.ts +40 -0
  642. package/map/types/choropleth-layer.js +15 -0
  643. package/map/types/coloring.d.ts +46 -0
  644. package/map/types/coloring.js +15 -0
  645. package/map/types/configuration.d.ts +25 -0
  646. package/map/types/configuration.js +15 -0
  647. package/map/types/connection-layer.d.ts +77 -0
  648. package/map/types/connection-layer.js +15 -0
  649. package/map/types/dot-layer.d.ts +62 -0
  650. package/map/types/dot-layer.js +15 -0
  651. package/map/types/legend.d.ts +85 -0
  652. package/map/types/legend.js +15 -0
  653. package/map/types/location.d.ts +22 -0
  654. package/map/types/location.js +15 -0
  655. package/map/types/map-view.d.ts +97 -0
  656. package/map/types/map-view.js +15 -0
  657. package/map/types/shapes.d.ts +18 -0
  658. package/map/types/shapes.js +15 -0
  659. package/map/types/state.d.ts +39 -0
  660. package/map/types/state.js +15 -0
  661. package/map/types/toolbar.d.ts +47 -0
  662. package/map/types/toolbar.js +15 -0
  663. package/map/types/tooltip.d.ts +77 -0
  664. package/map/types/tooltip.js +15 -0
  665. package/package.json +59 -0
@@ -0,0 +1,85 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2023 Dynatrace LLC
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { LegendColorLayerProps, LocationColorProps } from './coloring.js';
17
+ import { Location } from './location.js';
18
+ /**
19
+ * Base props to configure a BubbleLayer
20
+ * @typeParam T - Object extending Location
21
+ */
22
+ export interface BubbleLayerBaseProps<T extends Location> {
23
+ /**
24
+ * An array of location data items to be displayed as bubbles in the BubbleLayer
25
+ */
26
+ data: T[];
27
+ /**
28
+ * Determines the interpolation mode for bubble size.
29
+ * 'zoom': Bubble size changes with zoom.
30
+ * 'fixed': Constant bubble size regardless of zoom level.
31
+ * @defaultValue 'fixed'
32
+ */
33
+ sizeInterpolation?: 'zoom' | 'fixed';
34
+ }
35
+ /**
36
+ * The BubbleLayer props
37
+ * @typeParam T - Object extending Location
38
+ */
39
+ export type BubbleLayerProps<T extends Location> = BubbleLayerBaseProps<T> & (LocationColorProps<T> | LegendColorLayerProps) & (ScaleRadiusProps<T> | ScaleNoneProps<T>);
40
+ /**
41
+ * When there's no scale provided, the radius prop is used as radius size in pixels
42
+ * @typeParam T - Object extending Location
43
+ */
44
+ export interface ScaleNoneProps<T> {
45
+ /**
46
+ * The way to indicate that scale should not be used
47
+ */
48
+ scale: 'none';
49
+ /**
50
+ * The radius property, which determines the size of the bubbles.
51
+ * It can be a constant number or a function that calculates the radius based on the data item
52
+ * @defaultValue 12
53
+ */
54
+ radius?: number | ((item: T) => number);
55
+ }
56
+ /**
57
+ * When a scale is provided, all the values in the dataset will be scaled to fit between the `radiusRange`.
58
+ * @typeParam T - Object extending Location
59
+ */
60
+ export interface ScaleRadiusProps<T extends Location> {
61
+ /**
62
+ * The way the radius is scaled.
63
+ * @defaultValue 'linear'
64
+ */
65
+ scale?: 'linear' | 'log';
66
+ /**
67
+ * The radius property, which determines the size of the bubbles.
68
+ * It requires a callback that is used as data accessor.
69
+ */
70
+ radius: (item: T) => number;
71
+ /**
72
+ * It determines the min and max size for the bubble radius
73
+ * @defaultValue [10, 100]
74
+ */
75
+ radiusRange?: [number, number];
76
+ }
77
+ /**
78
+ * Type guard to know whether radius should apply the scale
79
+ * @param props - BubbleLayerProps
80
+ */
81
+ export declare function isScaleRadius<T extends Location>(props: BubbleLayerProps<T>): props is BubbleLayerProps<T> & ScaleRadiusProps<T>;
82
+ /** @internal */
83
+ export type InternalBubbleLayerProps<T extends Location> = {
84
+ layerId: string;
85
+ } & BubbleLayerProps<T>;
@@ -0,0 +1,15 @@
1
+ var n=Object.defineProperty;var t=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var p=Object.prototype.hasOwnProperty;var l=(e,o)=>{for(var a in o)n(e,a,{get:o[a],enumerable:!0})},c=(e,o,a,s)=>{if(o&&typeof o=="object"||typeof o=="function")for(let r of i(o))!p.call(e,r)&&r!==a&&n(e,r,{get:()=>o[r],enumerable:!(s=t(o,r))||s.enumerable});return e};var u=e=>c(n({},"__esModule",{value:!0}),e);var L={};l(L,{isScaleRadius:()=>b});module.exports=u(L);/**
2
+ * @license
3
+ * Copyright 2023 Dynatrace LLC
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */function b(e){return e.scale!=="none"}
@@ -0,0 +1,40 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2023 Dynatrace LLC
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { ChoroplethCustomColorProps, LegendColorLayerProps } from './coloring.js';
17
+ /**
18
+ * Base props to configure a ChoroplethLayer
19
+ * @typeParam T - Object extending a record of string keys and any type of values
20
+ */
21
+ export interface ChoroplethLayerBaseProps<T extends Record<string, unknown>> {
22
+ /**
23
+ * An array of data items representing regions to be displayed in the ChoroplethLayer
24
+ */
25
+ data: T[];
26
+ /**
27
+ * A string property or accessor function that specifies how to access the region identifier from the data items.
28
+ * It can be a string representing the key in the data object or a function that extracts the region identifier
29
+ */
30
+ regionAccessor: string | ((t: T) => string);
31
+ }
32
+ /**
33
+ * The ChoroplethLayer props
34
+ * @typeParam T - Object extending a record of string keys and any type of values
35
+ */
36
+ export type ChoroplethLayerProps<T extends Record<string, unknown>> = ChoroplethLayerBaseProps<T> & (ChoroplethCustomColorProps<T> | LegendColorLayerProps);
37
+ /** @internal */
38
+ export type InternalChoroplethLayerProps<T extends Record<string, unknown>> = {
39
+ layerId: string;
40
+ } & ChoroplethLayerProps<T>;
@@ -0,0 +1,15 @@
1
+ var n=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var h=Object.prototype.hasOwnProperty;var l=(r,o,s,t)=>{if(o&&typeof o=="object"||typeof o=="function")for(let e of a(o))!h.call(r,e)&&e!==s&&n(r,e,{get:()=>o[e],enumerable:!(t=p(o,e))||t.enumerable});return r};var C=r=>l(n({},"__esModule",{value:!0}),r);var d={};module.exports=C(d);/**
2
+ * @license
3
+ * Copyright 2023 Dynatrace LLC
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
@@ -0,0 +1,46 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2023 Dynatrace LLC
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { Location } from './location.js';
17
+ /**
18
+ * Props to configure any Layer with custom coloring
19
+ * @typeParam T - Object extending Location
20
+ */
21
+ export interface LocationColorProps<T extends Location> {
22
+ /** Custom color to apply to the layer */
23
+ color?: string | ((item: T) => string);
24
+ }
25
+ /**
26
+ * Props to configure any Layer with legend coloring
27
+ */
28
+ export interface LegendColorLayerProps {
29
+ /** When the color prop is set to 'legend', a value accessor is needed */
30
+ color: 'legend';
31
+ /** The value accesor to map data point values to legend color */
32
+ valueAccessor: string;
33
+ }
34
+ /**
35
+ * Props to configure any Layer with custom coloring
36
+ * @typeParam T - Object extending a record of string keys and any type of values
37
+ */
38
+ export interface ChoroplethCustomColorProps<T extends Record<string, unknown>> {
39
+ /** Color to apply to the layer */
40
+ color?: string | ((item: T) => string);
41
+ }
42
+ /**
43
+ * Detects whether color is linked to legend or not
44
+ * @param props - layer color props
45
+ */
46
+ export declare function isLegendColoring(props: LocationColorProps<never> | ChoroplethCustomColorProps<never> | LegendColorLayerProps): props is LegendColorLayerProps;
@@ -0,0 +1,15 @@
1
+ var t=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var p=Object.prototype.hasOwnProperty;var c=(o,r)=>{for(var n in r)t(o,n,{get:r[n],enumerable:!0})},g=(o,r,n,s)=>{if(r&&typeof r=="object"||typeof r=="function")for(let e of l(r))!p.call(o,e)&&e!==n&&t(o,e,{get:()=>r[e],enumerable:!(s=i(r,e))||s.enumerable});return o};var C=o=>g(t({},"__esModule",{value:!0}),o);var L={};c(L,{isLegendColoring:()=>a});module.exports=C(L);/**
2
+ * @license
3
+ * Copyright 2023 Dynatrace LLC
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */function a(o){return o.color==="legend"}
@@ -0,0 +1,25 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2023 Dynatrace LLC
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { MapLegendConfig } from './legend.js';
17
+ import { ChartInteractionsConfig, MapToolbarConfig } from './toolbar.js';
18
+ /**
19
+ * @internal
20
+ */
21
+ export interface MapConfig {
22
+ toolbar: MapToolbarConfig | undefined;
23
+ interactions: ChartInteractionsConfig | undefined;
24
+ legend: MapLegendConfig | undefined;
25
+ }
@@ -0,0 +1,15 @@
1
+ var a=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var t=Object.getOwnPropertyNames;var g=Object.prototype.hasOwnProperty;var d=(o,n,r,i)=>{if(n&&typeof n=="object"||typeof n=="function")for(let e of t(n))!g.call(o,e)&&e!==r&&a(o,e,{get:()=>n[e],enumerable:!(i=f(n,e))||i.enumerable});return o};var C=o=>d(a({},"__esModule",{value:!0}),o);var p={};module.exports=C(p);/**
2
+ * @license
3
+ * Copyright 2023 Dynatrace LLC
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
@@ -0,0 +1,77 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2023 Dynatrace LLC
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { Location } from './location.js';
17
+ /**
18
+ * Data type for connections in the Connection Layer.
19
+ * @typeParam L - Object extending Location.
20
+ */
21
+ export interface Connection<L extends Location> {
22
+ /** Array of connections */
23
+ path: L[];
24
+ /**
25
+ * Specifies the color of the connection path.
26
+ * @defaultValue Colors.Charts.Categorical.Color03.Default
27
+ */
28
+ color?: string;
29
+ /**
30
+ * Specifies the thickness of the connection path.
31
+ * It can accept numbers from 1 to 64 (included).
32
+ * @defaultValue 2
33
+ */
34
+ thickness?: number;
35
+ }
36
+ /**
37
+ * Shape of the Connection Layer Component Props.
38
+ * @typeParam L - Object extending Location.
39
+ * @typeParam T - Object extending Connection<L>.
40
+ */
41
+ export interface ConnectionLayerProps<L extends Location, T extends Connection<L>> {
42
+ /** Set of data related to the connections */
43
+ data: T[];
44
+ /**
45
+ * Specifies the line type.
46
+ * @defaultValue 'solid'
47
+ */
48
+ line?: 'dashed' | 'solid';
49
+ /**
50
+ * Position of the arrows in relation of the connection direction
51
+ */
52
+ directionIndicator?: 'start' | 'end' | 'both';
53
+ /**
54
+ * Declare whether the curve is linear or smooth
55
+ * @defaultValue 'linear'
56
+ */
57
+ curve?: CurvedLine;
58
+ }
59
+ /** @internal */
60
+ export type InternalConnectionLayerProps<T extends Location> = ConnectionLayerProps<T, Connection<T>> & {
61
+ layerId: string;
62
+ };
63
+ /** @internal */
64
+ export interface FeatureProperties<T extends Location> {
65
+ __lineColor: string;
66
+ __lineHoveredColor: string;
67
+ __lineWidth: number;
68
+ __angle?: number;
69
+ curve?: CurvedLine;
70
+ path: T[];
71
+ }
72
+ export type GeoJSONFeature<T extends GeoJSON.Geometry, N extends Location> = GeoJSON.Feature<T, FeatureProperties<N>>;
73
+ /**
74
+ * This property is responsible for setting the curve type
75
+ * @defaultValue linear
76
+ */
77
+ export type CurvedLine = 'linear' | 'smooth';
@@ -0,0 +1,15 @@
1
+ var r=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var d=(n,e,i,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of s(e))!c.call(n,t)&&t!==i&&r(n,t,{get:()=>e[t],enumerable:!(o=a(e,t))||o.enumerable});return n};var p=n=>d(r({},"__esModule",{value:!0}),n);var L={};module.exports=p(L);/**
2
+ * @license
3
+ * Copyright 2023 Dynatrace LLC
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
@@ -0,0 +1,62 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2023 Dynatrace LLC
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { ReactNode } from 'react';
17
+ import { LegendColorLayerProps, LocationColorProps } from './coloring.js';
18
+ import { Location } from './location.js';
19
+ import { MapShape } from './shapes.js';
20
+ /**
21
+ * Base props to configure a DotLayer.
22
+ * @typeParam T - Object extending Location
23
+ */
24
+ export interface DotLayerBaseProps<T extends Location> {
25
+ /**
26
+ * An array of location data items to be displayed in the DotLayer
27
+ */
28
+ data: T[];
29
+ /**
30
+ * The shape of the dots
31
+ * @defaultValue 'circle'
32
+ */
33
+ shape?: string | MapShape | ReactNode;
34
+ /**
35
+ * The bearing property, which determines the rotation angle of the dots.
36
+ * It can be a constant number or a function that calculates the bearing based on the data item
37
+ * @defaultValue 0
38
+ */
39
+ bearing?: number | ((item: T) => number);
40
+ /**
41
+ * The background setting for the DotLayer.
42
+ * As boolean, it toggles the visibility and sets a default color.
43
+ * As string, it defines the background color.
44
+ * @defaultValue false
45
+ */
46
+ background?: boolean | string;
47
+ /**
48
+ * The shapeSize property allows to edit the size of the shape, icon, emoji
49
+ * or ReactNode passed to the shape property in pixels.
50
+ * @defaultValue 32
51
+ */
52
+ shapeSize?: number;
53
+ }
54
+ /**
55
+ * The DotLayer props
56
+ * @typeParam T - Object extending Location
57
+ */
58
+ export type DotLayerProps<T extends Location> = DotLayerBaseProps<T> & (LocationColorProps<T> | LegendColorLayerProps);
59
+ /** @internal */
60
+ export type InternalDotLayerProps<T extends Location> = {
61
+ layerId: string;
62
+ } & DotLayerProps<T>;
@@ -0,0 +1,15 @@
1
+ var a=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var L=(e,o,p,t)=>{if(o&&typeof o=="object"||typeof o=="function")for(let r of s(o))!i.call(e,r)&&r!==p&&a(e,r,{get:()=>o[r],enumerable:!(t=n(o,r))||t.enumerable});return e};var m=e=>L(a({},"__esModule",{value:!0}),e);var c={};module.exports=m(c);/**
2
+ * @license
3
+ * Copyright 2023 Dynatrace LLC
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
@@ -0,0 +1,85 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2023 Dynatrace LLC
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { ColoredRange, ColorPalette, LegendPosition } from '@dynatrace/strato-components-preview/charts';
17
+ /** The props common to all different legends */
18
+ export interface BaseLegendProps {
19
+ /**
20
+ * The legend position relative to the map
21
+ * @defaultValue 'auto'
22
+ */
23
+ position?: LegendPosition;
24
+ /**
25
+ * Hides the legend while keeping the coloring
26
+ * @defaultValue false
27
+ */
28
+ hidden?: boolean;
29
+ }
30
+ /** The sequential legend props */
31
+ export interface SequentialLegendProps extends BaseLegendProps {
32
+ /** The min boundary */
33
+ min: number;
34
+ /** The max boundary */
35
+ max: number;
36
+ /** The color palette to apply to the legend */
37
+ colorPalette: string[] | ColorPalette;
38
+ }
39
+ /** The categorical legend props */
40
+ export interface CategoricalLegendProps extends BaseLegendProps {
41
+ /** Available categories to be shown in the legend */
42
+ categories: string[];
43
+ /** The color palette to apply to the legend */
44
+ colorPalette: string[] | ColorPalette;
45
+ }
46
+ /** The threshold legend props */
47
+ export interface ThresholdLegendProps extends BaseLegendProps {
48
+ /** Ranges of the threshold legend */
49
+ ranges: ColoredRange[];
50
+ }
51
+ /** The internal configs common to all different legends */
52
+ export interface BaseLegendConfig {
53
+ /**
54
+ * The legend position relative to the map
55
+ * @defaultValue 'auto'
56
+ */
57
+ position: LegendPosition;
58
+ /**
59
+ * Hides the legend while keeping the coloring
60
+ * @defaultValue 'false'
61
+ */
62
+ hidden: boolean;
63
+ }
64
+ /** The sequential legend internal config */
65
+ export interface SequentialLegendConfig extends BaseLegendConfig {
66
+ type: 'sequential';
67
+ /** The min boundary */
68
+ min: number;
69
+ /** The max boundary */
70
+ max: number;
71
+ /** The color palette to apply to the legend */
72
+ colorPalette: string[] | ColorPalette;
73
+ }
74
+ export interface CategoricalLegendConfig extends BaseLegendConfig {
75
+ type: 'categorical';
76
+ categories: string[];
77
+ /** The color palette to apply to the legend */
78
+ colorPalette: string[] | ColorPalette;
79
+ }
80
+ export interface ThresholdLegendConfig extends BaseLegendConfig {
81
+ type: 'threshold';
82
+ /** Ranges of the threshold legend */
83
+ ranges: ColoredRange[];
84
+ }
85
+ export type MapLegendConfig = SequentialLegendConfig | ThresholdLegendConfig | CategoricalLegendConfig;
@@ -0,0 +1,15 @@
1
+ var r=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var s=Object.prototype.hasOwnProperty;var d=(o,e,i,t)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of g(e))!s.call(o,n)&&n!==i&&r(o,n,{get:()=>e[n],enumerable:!(t=a(e,n))||t.enumerable});return o};var l=o=>d(r({},"__esModule",{value:!0}),o);var p={};module.exports=l(p);/**
2
+ * @license
3
+ * Copyright 2023 Dynatrace LLC
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
@@ -0,0 +1,22 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2023 Dynatrace LLC
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ /** A coordinate-based location */
17
+ export interface Location {
18
+ /** The latitude coordinate of the location. */
19
+ latitude: number;
20
+ /** The longitude coordinate of the location. */
21
+ longitude: number;
22
+ }
@@ -0,0 +1,15 @@
1
+ var o=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var b=Object.prototype.hasOwnProperty;var c=(t,e,r,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of a(e))!b.call(t,n)&&n!==r&&o(t,n,{get:()=>e[n],enumerable:!(i=u(e,n))||i.enumerable});return t};var d=t=>c(o({},"__esModule",{value:!0}),t);var l={};module.exports=d(l);/**
2
+ * @license
3
+ * Copyright 2023 Dynatrace LLC
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */