@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,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/map/contexts/layer-ids.context.ts"],
4
+ "sourcesContent": ["/**\n * @license\n * Copyright 2023 Dynatrace LLC\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React from 'react';\n\nexport const LayerIdsContext = React.createContext<string[]>([]);\n"],
5
+ "mappings": "AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAgBA,OAAOA,MAAW,QAEX,MAAMC,EAAkBD,EAAM,cAAwB,CAAC,CAAC",
6
+ "names": ["React", "LayerIdsContext"]
7
+ }
@@ -0,0 +1,16 @@
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
+ */import n from"react";const i=n.createContext({toolbar:void 0,interactions:void 0,legend:void 0});export{i as MapConfigurationContext};
16
+ //# sourceMappingURL=map-configuration.context.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/map/contexts/map-configuration.context.ts"],
4
+ "sourcesContent": ["/**\n * @license\n * Copyright 2023 Dynatrace LLC\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React from 'react';\n\nimport { MapConfig } from '../types/configuration.js';\n\nexport const MapConfigurationContext = React.createContext<MapConfig>({\n toolbar: undefined,\n interactions: undefined,\n legend: undefined,\n});\n"],
5
+ "mappings": "AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAgBA,OAAOA,MAAW,QAIX,MAAMC,EAA0BD,EAAM,cAAyB,CACpE,QAAS,OACT,aAAc,OACd,OAAQ,MACV,CAAC",
6
+ "names": ["React", "MapConfigurationContext"]
7
+ }
@@ -0,0 +1,16 @@
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
+ */import t from"react";import{DEFAULT_COUNTRY_CODE as o}from"../constants.js";const C=t.createContext(o);export{C as MapCountryCodeContext};
16
+ //# sourceMappingURL=map-country-code.context.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/map/contexts/map-country-code.context.ts"],
4
+ "sourcesContent": ["/**\n * @license\n * Copyright 2023 Dynatrace LLC\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React from 'react';\n\nimport { DEFAULT_COUNTRY_CODE } from '../constants.js';\n\nexport const MapCountryCodeContext =\n React.createContext<string>(DEFAULT_COUNTRY_CODE);\n"],
5
+ "mappings": "AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAgBA,OAAOA,MAAW,QAElB,OAAS,wBAAAC,MAA4B,kBAE9B,MAAMC,EACXF,EAAM,cAAsBC,CAAoB",
6
+ "names": ["React", "DEFAULT_COUNTRY_CODE", "MapCountryCodeContext"]
7
+ }
@@ -0,0 +1,16 @@
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
+ */import t from"react";import{WHOLE_WORLD_VIEW_BOUNDARIES as e}from"../constants.js";const n=t.createContext(e);export{n as MapDataBoundingBoxContext};
16
+ //# sourceMappingURL=map-data-bounding-box.context.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/map/contexts/map-data-bounding-box.context.ts"],
4
+ "sourcesContent": ["/**\n * @license\n * Copyright 2023 Dynatrace LLC\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport React from 'react';\n\nimport { WHOLE_WORLD_VIEW_BOUNDARIES } from '../constants.js';\n\nexport const MapDataBoundingBoxContext = React.createContext<\n [number, number, number, number]\n>(WHOLE_WORLD_VIEW_BOUNDARIES);\n"],
5
+ "mappings": "AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAeA,OAAOA,MAAW,QAElB,OAAS,+BAAAC,MAAmC,kBAErC,MAAMC,EAA4BF,EAAM,cAE7CC,CAA2B",
6
+ "names": ["React", "WHOLE_WORLD_VIEW_BOUNDARIES", "MapDataBoundingBoxContext"]
7
+ }
@@ -0,0 +1,16 @@
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
+ */import t from"react";const a=t.createContext({latitude:0,longitude:0,zoom:0});export{a as MapInitialViewContext};
16
+ //# sourceMappingURL=map-initial-view.context.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/map/contexts/map-initial-view.context.tsx"],
4
+ "sourcesContent": ["/**\n * @license\n * Copyright 2023 Dynatrace LLC\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React from 'react';\n\nimport { ViewState } from '../types/map-view.js';\n\nexport const MapInitialViewContext = React.createContext<ViewState>({\n latitude: 0,\n longitude: 0,\n zoom: 0,\n});\n"],
5
+ "mappings": "AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAgBA,OAAOA,MAAW,QAIX,MAAMC,EAAwBD,EAAM,cAAyB,CAClE,SAAU,EACV,UAAW,EACX,KAAM,CACR,CAAC",
6
+ "names": ["React", "MapInitialViewContext"]
7
+ }
@@ -0,0 +1,16 @@
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
+ */import t from"react";const e=t.createContext([]);export{e as MapRawDataContext};
16
+ //# sourceMappingURL=map-raw-data.context.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/map/contexts/map-raw-data.context.ts"],
4
+ "sourcesContent": ["/**\n * @license\n * Copyright 2023 Dynatrace LLC\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport React from 'react';\n\nexport const MapRawDataContext = React.createContext([]);\n"],
5
+ "mappings": "AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAeA,OAAOA,MAAW,QAEX,MAAMC,EAAoBD,EAAM,cAAc,CAAC,CAAC",
6
+ "names": ["React", "MapRawDataContext"]
7
+ }
@@ -0,0 +1,16 @@
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
+ */const t=[{id:6601,revenue:2e4,name:"Sam's Club",latitude:61.14076995,longitude:-149.86001586},{id:6602,revenue:2e6,name:"Xavi's Club",latitude:61.23107872,longitude:-149.74084407},{id:2074,revenue:2e3,name:"Manu's Soccer Court",latitude:61.568752,longitude:-149.36364699},{id:2070,revenue:2e4,name:"Maty's Grill",latitude:61.192337,longitude:-149.880356},{id:2071,revenue:1e4,name:"Georg Concert Hall",latitude:61.14026299,longitude:-149.86883499}],a=[{id:6601,revenue:2e4,name:"Sam's Club",latitude:61.14076995,longitude:-149.86001586,"layer-name":"bubble-0"},{id:6602,revenue:2e6,name:"Xavi's Club",latitude:61.23107872,longitude:-149.74084407,"layer-name":"bubble-0"},{id:2074,revenue:2e3,name:"Manu's Soccer Court",latitude:61.568752,longitude:-149.36364699,"layer-name":"bubble-0"},{id:2070,revenue:2e4,name:"Maty's Grill",latitude:61.192337,longitude:-149.880356,"layer-name":"bubble-0"},{id:2071,revenue:1e4,name:"Georg Concert Hall",latitude:61.14026299,longitude:-149.86883499,"layer-name":"bubble-0"}];export{t as businessLocations,a as businessLocationsCsvData};
16
+ //# sourceMappingURL=business-locations.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../../src/map/functions/__test__/fixtures/business-locations.ts"],
4
+ "sourcesContent": ["/**\n * @license\n * Copyright 2023 Dynatrace LLC\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { Location } from '../../../types/location.js';\n\ninterface BusinessLocation extends Location {\n id: number;\n revenue: number;\n name: string;\n}\n\nexport const businessLocations: BusinessLocation[] = [\n {\n id: 6601,\n revenue: 20000,\n name: \"Sam's Club\",\n latitude: 61.14076995,\n longitude: -149.86001586,\n },\n {\n id: 6602,\n revenue: 2000000,\n name: \"Xavi's Club\",\n latitude: 61.23107872,\n longitude: -149.74084407,\n },\n {\n id: 2074,\n revenue: 2000,\n name: \"Manu's Soccer Court\",\n latitude: 61.568752,\n longitude: -149.36364699,\n },\n {\n id: 2070,\n revenue: 20000,\n name: \"Maty's Grill\",\n latitude: 61.192337,\n longitude: -149.880356,\n },\n {\n id: 2071,\n revenue: 10000,\n name: 'Georg Concert Hall',\n latitude: 61.14026299,\n longitude: -149.86883499,\n },\n];\n\nexport const businessLocationsCsvData = [\n {\n id: 6601,\n revenue: 20000,\n name: \"Sam's Club\",\n latitude: 61.14076995,\n longitude: -149.86001586,\n 'layer-name': 'bubble-0',\n },\n {\n id: 6602,\n revenue: 2000000,\n name: \"Xavi's Club\",\n latitude: 61.23107872,\n longitude: -149.74084407,\n 'layer-name': 'bubble-0',\n },\n {\n id: 2074,\n revenue: 2000,\n name: \"Manu's Soccer Court\",\n latitude: 61.568752,\n longitude: -149.36364699,\n 'layer-name': 'bubble-0',\n },\n {\n id: 2070,\n revenue: 20000,\n name: \"Maty's Grill\",\n latitude: 61.192337,\n longitude: -149.880356,\n 'layer-name': 'bubble-0',\n },\n {\n id: 2071,\n revenue: 10000,\n name: 'Georg Concert Hall',\n latitude: 61.14026299,\n longitude: -149.86883499,\n 'layer-name': 'bubble-0',\n },\n];\n"],
5
+ "mappings": "AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAuBO,MAAMA,EAAwC,CACnD,CACE,GAAI,KACJ,QAAS,IACT,KAAM,aACN,SAAU,YACV,UAAW,aACb,EACA,CACE,GAAI,KACJ,QAAS,IACT,KAAM,cACN,SAAU,YACV,UAAW,aACb,EACA,CACE,GAAI,KACJ,QAAS,IACT,KAAM,sBACN,SAAU,UACV,UAAW,aACb,EACA,CACE,GAAI,KACJ,QAAS,IACT,KAAM,eACN,SAAU,UACV,UAAW,WACb,EACA,CACE,GAAI,KACJ,QAAS,IACT,KAAM,qBACN,SAAU,YACV,UAAW,aACb,CACF,EAEaC,EAA2B,CACtC,CACE,GAAI,KACJ,QAAS,IACT,KAAM,aACN,SAAU,YACV,UAAW,cACX,aAAc,UAChB,EACA,CACE,GAAI,KACJ,QAAS,IACT,KAAM,cACN,SAAU,YACV,UAAW,cACX,aAAc,UAChB,EACA,CACE,GAAI,KACJ,QAAS,IACT,KAAM,sBACN,SAAU,UACV,UAAW,cACX,aAAc,UAChB,EACA,CACE,GAAI,KACJ,QAAS,IACT,KAAM,eACN,SAAU,UACV,UAAW,YACX,aAAc,UAChB,EACA,CACE,GAAI,KACJ,QAAS,IACT,KAAM,qBACN,SAAU,YACV,UAAW,cACX,aAAc,UAChB,CACF",
6
+ "names": ["businessLocations", "businessLocationsCsvData"]
7
+ }
@@ -0,0 +1,16 @@
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
+ */const n=[{path:[{latitude:45.6739,longitude:9.7042},{latitude:53.4197,longitude:-6.2413},{latitude:41.1814,longitude:12.4275}]},{path:[{latitude:30.9932,longitude:-11.9583},{latitude:40.8971,longitude:14.3141}]}],e=[{"connection-item-index":0,"connection-name":"connection-1","layer-name":"connection-0",latitude:45.6739,longitude:9.7042},{"connection-item-index":1,"connection-name":"connection-1","layer-name":"connection-0",latitude:53.4197,longitude:-6.2413},{"connection-item-index":2,"connection-name":"connection-1","layer-name":"connection-0",latitude:41.1814,longitude:12.4275},{"connection-item-index":0,"connection-name":"connection-2","layer-name":"connection-0",latitude:30.9932,longitude:-11.9583},{"connection-item-index":1,"connection-name":"connection-2","layer-name":"connection-0",latitude:40.8971,longitude:14.3141}];export{e as connectionLayerCsvData,n as connectionLayerMockData};
16
+ //# sourceMappingURL=connection-layer.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../../src/map/functions/__test__/fixtures/connection-layer.ts"],
4
+ "sourcesContent": ["/**\n * @license\n * Copyright 2023 Dynatrace LLC\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport const connectionLayerMockData = [\n {\n path: [\n {\n latitude: 45.6739,\n longitude: 9.7042,\n },\n {\n latitude: 53.4197,\n longitude: -6.2413,\n },\n {\n latitude: 41.1814,\n longitude: 12.4275,\n },\n ],\n },\n {\n path: [\n {\n latitude: 30.9932,\n longitude: -11.9583,\n },\n {\n latitude: 40.8971,\n longitude: 14.3141,\n },\n ],\n },\n];\n\nexport const connectionLayerCsvData = [\n {\n 'connection-item-index': 0,\n 'connection-name': 'connection-1',\n 'layer-name': 'connection-0',\n latitude: 45.6739,\n longitude: 9.7042,\n },\n {\n 'connection-item-index': 1,\n 'connection-name': 'connection-1',\n 'layer-name': 'connection-0',\n latitude: 53.4197,\n longitude: -6.2413,\n },\n {\n 'connection-item-index': 2,\n 'connection-name': 'connection-1',\n 'layer-name': 'connection-0',\n latitude: 41.1814,\n longitude: 12.4275,\n },\n {\n 'connection-item-index': 0,\n 'connection-name': 'connection-2',\n 'layer-name': 'connection-0',\n latitude: 30.9932,\n longitude: -11.9583,\n },\n {\n 'connection-item-index': 1,\n 'connection-name': 'connection-2',\n 'layer-name': 'connection-0',\n latitude: 40.8971,\n longitude: 14.3141,\n },\n];\n"],
5
+ "mappings": "AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAgBO,MAAMA,EAA0B,CACrC,CACE,KAAM,CACJ,CACE,SAAU,QACV,UAAW,MACb,EACA,CACE,SAAU,QACV,UAAW,OACb,EACA,CACE,SAAU,QACV,UAAW,OACb,CACF,CACF,EACA,CACE,KAAM,CACJ,CACE,SAAU,QACV,UAAW,QACb,EACA,CACE,SAAU,QACV,UAAW,OACb,CACF,CACF,CACF,EAEaC,EAAyB,CACpC,CACE,wBAAyB,EACzB,kBAAmB,eACnB,aAAc,eACd,SAAU,QACV,UAAW,MACb,EACA,CACE,wBAAyB,EACzB,kBAAmB,eACnB,aAAc,eACd,SAAU,QACV,UAAW,OACb,EACA,CACE,wBAAyB,EACzB,kBAAmB,eACnB,aAAc,eACd,SAAU,QACV,UAAW,OACb,EACA,CACE,wBAAyB,EACzB,kBAAmB,eACnB,aAAc,eACd,SAAU,QACV,UAAW,QACb,EACA,CACE,wBAAyB,EACzB,kBAAmB,eACnB,aAAc,eACd,SAAU,QACV,UAAW,OACb,CACF",
6
+ "names": ["connectionLayerMockData", "connectionLayerCsvData"]
7
+ }
@@ -0,0 +1,16 @@
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
+ */const o=[{country:"DE",primary_color:"#f7c910",population:84724070,continent:"Europe",apdex:"Excellent"},{country:"AU",primary_color:"#012066",population:26473055,continent:"Oceania",apdex:"Excellent"},{country:"BR",primary_color:"#029639",population:218689752,continent:"South America",apdex:"Unacceptable"},{country:"ES",primary_color:"#c70219",population:48196693,continent:"Europe",apdex:"Fair"},{country:"MX",primary_color:"#006e49",population:131135337,continent:"North America",apdex:"Unacceptable"},{country:"CA",primary_color:"#d62618",population:38037204,continent:"North America",apdex:"Excellent"},{country:"AR",primary_color:"#6CACE4",population:47327407,continent:"South America",apdex:"Good"},{country:"VE",primary_color:"#FCE300",population:28515829,continent:"South America",apdex:"Excellent"},{country:"CU",primary_color:"#002a90",population:10985974,continent:"North America",apdex:"Good"},{country:"PR",primary_color:"#ee0200",population:3285874,continent:"North America",apdex:"Excellent"},{country:"UA",primary_color:"#0057B7",population:41732779,continent:"Europe",apdex:"Fair"},{country:"IT",primary_color:"#028e44",population:59346717,continent:"Europe",apdex:"Poor"}],r=[{country:"DE",primary_color:"#f7c910",population:84724070,continent:"Europe",apdex:"Excellent",region:"DE","layer-name":"choropleth-0"},{country:"AU",primary_color:"#012066",population:26473055,continent:"Oceania",apdex:"Excellent",region:"AU","layer-name":"choropleth-0"},{country:"BR",primary_color:"#029639",population:218689752,continent:"South America",apdex:"Unacceptable",region:"BR","layer-name":"choropleth-0"},{country:"ES",primary_color:"#c70219",population:48196693,continent:"Europe",apdex:"Fair",region:"ES","layer-name":"choropleth-0"},{country:"MX",primary_color:"#006e49",population:131135337,continent:"North America",apdex:"Unacceptable",region:"MX","layer-name":"choropleth-0"},{country:"CA",primary_color:"#d62618",population:38037204,continent:"North America",apdex:"Excellent",region:"CA","layer-name":"choropleth-0"},{country:"AR",primary_color:"#6CACE4",population:47327407,continent:"South America",apdex:"Good",region:"AR","layer-name":"choropleth-0"},{country:"VE",primary_color:"#FCE300",population:28515829,continent:"South America",apdex:"Excellent",region:"VE","layer-name":"choropleth-0"},{country:"CU",primary_color:"#002a90",population:10985974,continent:"North America",apdex:"Good",region:"CU","layer-name":"choropleth-0"},{country:"PR",primary_color:"#ee0200",population:3285874,continent:"North America",apdex:"Excellent",region:"PR","layer-name":"choropleth-0"},{country:"UA",primary_color:"#0057B7",population:41732779,continent:"Europe",apdex:"Fair",region:"UA","layer-name":"choropleth-0"},{country:"IT",primary_color:"#028e44",population:59346717,continent:"Europe",apdex:"Poor",region:"IT","layer-name":"choropleth-0"}];export{o as countriesStats,r as countriesStatsAsCSV};
16
+ //# sourceMappingURL=countries-stats.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../../src/map/functions/__test__/fixtures/countries-stats.ts"],
4
+ "sourcesContent": ["/**\n * @license\n * Copyright 2023 Dynatrace LLC\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport const countriesStats = [\n {\n country: 'DE',\n primary_color: '#f7c910',\n population: 84_724_070,\n continent: 'Europe',\n apdex: 'Excellent',\n },\n {\n country: 'AU',\n primary_color: '#012066',\n population: 26_473_055,\n continent: 'Oceania',\n apdex: 'Excellent',\n },\n {\n country: 'BR',\n primary_color: '#029639',\n population: 218_689_752,\n continent: 'South America',\n apdex: 'Unacceptable',\n },\n {\n country: 'ES',\n primary_color: '#c70219',\n population: 48_196_693,\n continent: 'Europe',\n apdex: 'Fair',\n },\n {\n country: 'MX',\n primary_color: '#006e49',\n population: 131_135_337,\n continent: 'North America',\n apdex: 'Unacceptable',\n },\n {\n country: 'CA',\n primary_color: '#d62618',\n population: 38_037_204,\n continent: 'North America',\n apdex: 'Excellent',\n },\n {\n country: 'AR',\n primary_color: '#6CACE4',\n population: 47_327_407,\n continent: 'South America',\n apdex: 'Good',\n },\n {\n country: 'VE',\n primary_color: '#FCE300',\n population: 28_515_829,\n continent: 'South America',\n apdex: 'Excellent',\n },\n {\n country: 'CU',\n primary_color: '#002a90',\n population: 10_985_974,\n continent: 'North America',\n apdex: 'Good',\n },\n {\n country: 'PR',\n primary_color: '#ee0200',\n population: 3_285_874,\n continent: 'North America',\n apdex: 'Excellent',\n },\n {\n country: 'UA',\n primary_color: '#0057B7',\n population: 41_732_779,\n continent: 'Europe',\n apdex: 'Fair',\n },\n {\n country: 'IT',\n primary_color: '#028e44',\n population: 59_346_717,\n continent: 'Europe',\n apdex: 'Poor',\n },\n];\n\nexport const countriesStatsAsCSV = [\n {\n country: 'DE',\n primary_color: '#f7c910',\n population: 84724070,\n continent: 'Europe',\n apdex: 'Excellent',\n region: 'DE',\n 'layer-name': 'choropleth-0',\n },\n {\n country: 'AU',\n primary_color: '#012066',\n population: 26473055,\n continent: 'Oceania',\n apdex: 'Excellent',\n region: 'AU',\n 'layer-name': 'choropleth-0',\n },\n {\n country: 'BR',\n primary_color: '#029639',\n population: 218689752,\n continent: 'South America',\n apdex: 'Unacceptable',\n region: 'BR',\n 'layer-name': 'choropleth-0',\n },\n {\n country: 'ES',\n primary_color: '#c70219',\n population: 48196693,\n continent: 'Europe',\n apdex: 'Fair',\n region: 'ES',\n 'layer-name': 'choropleth-0',\n },\n {\n country: 'MX',\n primary_color: '#006e49',\n population: 131135337,\n continent: 'North America',\n apdex: 'Unacceptable',\n region: 'MX',\n 'layer-name': 'choropleth-0',\n },\n {\n country: 'CA',\n primary_color: '#d62618',\n population: 38037204,\n continent: 'North America',\n apdex: 'Excellent',\n region: 'CA',\n 'layer-name': 'choropleth-0',\n },\n {\n country: 'AR',\n primary_color: '#6CACE4',\n population: 47327407,\n continent: 'South America',\n apdex: 'Good',\n region: 'AR',\n 'layer-name': 'choropleth-0',\n },\n {\n country: 'VE',\n primary_color: '#FCE300',\n population: 28515829,\n continent: 'South America',\n apdex: 'Excellent',\n region: 'VE',\n 'layer-name': 'choropleth-0',\n },\n {\n country: 'CU',\n primary_color: '#002a90',\n population: 10985974,\n continent: 'North America',\n apdex: 'Good',\n region: 'CU',\n 'layer-name': 'choropleth-0',\n },\n {\n country: 'PR',\n primary_color: '#ee0200',\n population: 3285874,\n continent: 'North America',\n apdex: 'Excellent',\n region: 'PR',\n 'layer-name': 'choropleth-0',\n },\n {\n country: 'UA',\n primary_color: '#0057B7',\n population: 41732779,\n continent: 'Europe',\n apdex: 'Fair',\n region: 'UA',\n 'layer-name': 'choropleth-0',\n },\n {\n country: 'IT',\n primary_color: '#028e44',\n population: 59346717,\n continent: 'Europe',\n apdex: 'Poor',\n region: 'IT',\n 'layer-name': 'choropleth-0',\n },\n];\n"],
5
+ "mappings": "AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAgBO,MAAMA,EAAiB,CAC5B,CACE,QAAS,KACT,cAAe,UACf,WAAY,SACZ,UAAW,SACX,MAAO,WACT,EACA,CACE,QAAS,KACT,cAAe,UACf,WAAY,SACZ,UAAW,UACX,MAAO,WACT,EACA,CACE,QAAS,KACT,cAAe,UACf,WAAY,UACZ,UAAW,gBACX,MAAO,cACT,EACA,CACE,QAAS,KACT,cAAe,UACf,WAAY,SACZ,UAAW,SACX,MAAO,MACT,EACA,CACE,QAAS,KACT,cAAe,UACf,WAAY,UACZ,UAAW,gBACX,MAAO,cACT,EACA,CACE,QAAS,KACT,cAAe,UACf,WAAY,SACZ,UAAW,gBACX,MAAO,WACT,EACA,CACE,QAAS,KACT,cAAe,UACf,WAAY,SACZ,UAAW,gBACX,MAAO,MACT,EACA,CACE,QAAS,KACT,cAAe,UACf,WAAY,SACZ,UAAW,gBACX,MAAO,WACT,EACA,CACE,QAAS,KACT,cAAe,UACf,WAAY,SACZ,UAAW,gBACX,MAAO,MACT,EACA,CACE,QAAS,KACT,cAAe,UACf,WAAY,QACZ,UAAW,gBACX,MAAO,WACT,EACA,CACE,QAAS,KACT,cAAe,UACf,WAAY,SACZ,UAAW,SACX,MAAO,MACT,EACA,CACE,QAAS,KACT,cAAe,UACf,WAAY,SACZ,UAAW,SACX,MAAO,MACT,CACF,EAEaC,EAAsB,CACjC,CACE,QAAS,KACT,cAAe,UACf,WAAY,SACZ,UAAW,SACX,MAAO,YACP,OAAQ,KACR,aAAc,cAChB,EACA,CACE,QAAS,KACT,cAAe,UACf,WAAY,SACZ,UAAW,UACX,MAAO,YACP,OAAQ,KACR,aAAc,cAChB,EACA,CACE,QAAS,KACT,cAAe,UACf,WAAY,UACZ,UAAW,gBACX,MAAO,eACP,OAAQ,KACR,aAAc,cAChB,EACA,CACE,QAAS,KACT,cAAe,UACf,WAAY,SACZ,UAAW,SACX,MAAO,OACP,OAAQ,KACR,aAAc,cAChB,EACA,CACE,QAAS,KACT,cAAe,UACf,WAAY,UACZ,UAAW,gBACX,MAAO,eACP,OAAQ,KACR,aAAc,cAChB,EACA,CACE,QAAS,KACT,cAAe,UACf,WAAY,SACZ,UAAW,gBACX,MAAO,YACP,OAAQ,KACR,aAAc,cAChB,EACA,CACE,QAAS,KACT,cAAe,UACf,WAAY,SACZ,UAAW,gBACX,MAAO,OACP,OAAQ,KACR,aAAc,cAChB,EACA,CACE,QAAS,KACT,cAAe,UACf,WAAY,SACZ,UAAW,gBACX,MAAO,YACP,OAAQ,KACR,aAAc,cAChB,EACA,CACE,QAAS,KACT,cAAe,UACf,WAAY,SACZ,UAAW,gBACX,MAAO,OACP,OAAQ,KACR,aAAc,cAChB,EACA,CACE,QAAS,KACT,cAAe,UACf,WAAY,QACZ,UAAW,gBACX,MAAO,YACP,OAAQ,KACR,aAAc,cAChB,EACA,CACE,QAAS,KACT,cAAe,UACf,WAAY,SACZ,UAAW,SACX,MAAO,OACP,OAAQ,KACR,aAAc,cAChB,EACA,CACE,QAAS,KACT,cAAe,UACf,WAAY,SACZ,UAAW,SACX,MAAO,OACP,OAAQ,KACR,aAAc,cAChB,CACF",
6
+ "names": ["countriesStats", "countriesStatsAsCSV"]
7
+ }
@@ -0,0 +1,16 @@
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
+ */const e=[{"layer-name":"dot-0",prop1:"value11",longitude:-116.18414234589588,latitude:43.61582009133616,obj1:{prop2:"value12",obj2:{prop3:"value13",obj3:{prop4:"value14"},arr1:[1,2,3]}}},{"layer-name":"dot-0",prop1:"value21",longitude:-116.18414234589588,latitude:43.61582009133616,obj1:{prop2:"value22",obj2:{prop3:"value23",obj3:{prop4:"value24"},arr1:[1,2,3]}}}],a=[{"layer-name":"bubble-1",prop1:"value1",longitude:-116.18414234589588,latitude:43.61582009133616,obj1:{obj2:{obj3:{prop4:"value4"}}},arr1:[[[1,2,3]]],arr2:[]}],r=[{"layer-name":"connection-1",prop1:"value1",longitude:-149.86001586,latitude:61.14076995,arr1:["arr1Value1","arr1Value2",{prop2:"value2",obj2:{prop3:"value3"}},["arr2Value1","arr2Value2"]]}],o=[{"layer-name":"connection-0",prop1:"value1",longitude:-116.18414234589588,latitude:43.61582009133616,arr1:[1,2,3],arr2:[4,5,6,7,8]}],t=[{"layer-name":"bubble-1",longitude:-116.18414234589588,latitude:43.61582009133616,obj2:{prop2:"value15"},obj3:{prop3:"value16",prop4:"value17"},prop1:"value11"},{"layer-name":"bubble-1",longitude:-116.18414234589588,latitude:43.61582009133616,obj2:{prop2:""},obj3:{prop3:"value26",prop4:"value27"},prop1:"value11"},{"layer-name":"bubble-1",longitude:-116.18414234589588,latitude:43.61582009133616,obj2:{prop2:"value35"},obj3:{prop3:"value36",prop4:"value37"},prop1:"value11"}];export{e as csvData1,a as csvData2,r as csvData3,o as csvData4,t as csvData5};
16
+ //# sourceMappingURL=csv-download-cases.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../../src/map/functions/__test__/fixtures/csv-download-cases.ts"],
4
+ "sourcesContent": ["/**\n * @license\n * Copyright 2023 Dynatrace LLC\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport type { Location } from '../../../types/location.js';\n\ninterface Case1 extends Location {\n 'layer-name': string;\n prop1: string;\n obj1: object;\n}\n\ninterface Case2 extends Location {\n 'layer-name': string;\n prop1: string;\n obj1: object;\n arr1: object;\n arr2: object;\n}\n\ninterface Case3 extends Location {\n 'layer-name': string;\n prop1: string;\n arr1: object;\n}\n\ninterface Case4 extends Location {\n 'layer-name': string;\n prop1: string;\n arr1: object;\n arr2: object;\n}\n\ninterface Case5 extends Location {\n 'layer-name': string;\n obj2: object;\n obj3: object;\n prop1: string;\n}\n\nexport const csvData1: Array<{ [key in keyof Case1]: Case1[key] }> = [\n {\n 'layer-name': 'dot-0',\n prop1: 'value11',\n longitude: -116.18414234589588,\n latitude: 43.61582009133616,\n obj1: {\n prop2: 'value12',\n obj2: {\n prop3: 'value13',\n obj3: {\n prop4: 'value14',\n },\n arr1: [1, 2, 3],\n },\n },\n },\n {\n 'layer-name': 'dot-0',\n prop1: 'value21',\n longitude: -116.18414234589588,\n latitude: 43.61582009133616,\n obj1: {\n prop2: 'value22',\n obj2: {\n prop3: 'value23',\n obj3: {\n prop4: 'value24',\n },\n arr1: [1, 2, 3],\n },\n },\n },\n];\n\nexport const csvData2: Array<{ [key in keyof Case2]: Case2[key] }> = [\n {\n 'layer-name': 'bubble-1',\n prop1: 'value1',\n longitude: -116.18414234589588,\n latitude: 43.61582009133616,\n obj1: {\n obj2: {\n obj3: {\n prop4: 'value4',\n },\n },\n },\n arr1: [[[1, 2, 3]]],\n arr2: [],\n },\n];\n\nexport const csvData3: Array<{ [key in keyof Case3]: Case3[key] }> = [\n {\n 'layer-name': 'connection-1',\n prop1: 'value1',\n longitude: -149.86001586,\n latitude: 61.14076995,\n arr1: [\n 'arr1Value1',\n 'arr1Value2',\n { prop2: 'value2', obj2: { prop3: 'value3' } },\n ['arr2Value1', 'arr2Value2'],\n ],\n },\n];\n\nexport const csvData4: Array<{ [key in keyof Case4]: Case4[key] }> = [\n {\n 'layer-name': 'connection-0',\n prop1: 'value1',\n longitude: -116.18414234589588,\n latitude: 43.61582009133616,\n arr1: [1, 2, 3],\n arr2: [4, 5, 6, 7, 8],\n },\n];\nexport const csvData5: Case5[] = [\n {\n 'layer-name': 'bubble-1',\n longitude: -116.18414234589588,\n latitude: 43.61582009133616,\n obj2: {\n prop2: 'value15',\n },\n obj3: {\n prop3: 'value16',\n prop4: 'value17',\n },\n prop1: 'value11',\n },\n {\n 'layer-name': 'bubble-1',\n longitude: -116.18414234589588,\n latitude: 43.61582009133616,\n obj2: {\n prop2: '',\n },\n obj3: {\n prop3: 'value26',\n prop4: 'value27',\n },\n prop1: 'value11',\n },\n {\n 'layer-name': 'bubble-1',\n longitude: -116.18414234589588,\n latitude: 43.61582009133616,\n obj2: {\n prop2: 'value35',\n },\n obj3: {\n prop3: 'value36',\n prop4: 'value37',\n },\n prop1: 'value11',\n },\n];\n"],
5
+ "mappings": "AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAmDO,MAAMA,EAAwD,CACnE,CACE,aAAc,QACd,MAAO,UACP,UAAW,oBACX,SAAU,kBACV,KAAM,CACJ,MAAO,UACP,KAAM,CACJ,MAAO,UACP,KAAM,CACJ,MAAO,SACT,EACA,KAAM,CAAC,EAAG,EAAG,CAAC,CAChB,CACF,CACF,EACA,CACE,aAAc,QACd,MAAO,UACP,UAAW,oBACX,SAAU,kBACV,KAAM,CACJ,MAAO,UACP,KAAM,CACJ,MAAO,UACP,KAAM,CACJ,MAAO,SACT,EACA,KAAM,CAAC,EAAG,EAAG,CAAC,CAChB,CACF,CACF,CACF,EAEaC,EAAwD,CACnE,CACE,aAAc,WACd,MAAO,SACP,UAAW,oBACX,SAAU,kBACV,KAAM,CACJ,KAAM,CACJ,KAAM,CACJ,MAAO,QACT,CACF,CACF,EACA,KAAM,CAAC,CAAC,CAAC,EAAG,EAAG,CAAC,CAAC,CAAC,EAClB,KAAM,CAAC,CACT,CACF,EAEaC,EAAwD,CACnE,CACE,aAAc,eACd,MAAO,SACP,UAAW,cACX,SAAU,YACV,KAAM,CACJ,aACA,aACA,CAAE,MAAO,SAAU,KAAM,CAAE,MAAO,QAAS,CAAE,EAC7C,CAAC,aAAc,YAAY,CAC7B,CACF,CACF,EAEaC,EAAwD,CACnE,CACE,aAAc,eACd,MAAO,SACP,UAAW,oBACX,SAAU,kBACV,KAAM,CAAC,EAAG,EAAG,CAAC,EACd,KAAM,CAAC,EAAG,EAAG,EAAG,EAAG,CAAC,CACtB,CACF,EACaC,EAAoB,CAC/B,CACE,aAAc,WACd,UAAW,oBACX,SAAU,kBACV,KAAM,CACJ,MAAO,SACT,EACA,KAAM,CACJ,MAAO,UACP,MAAO,SACT,EACA,MAAO,SACT,EACA,CACE,aAAc,WACd,UAAW,oBACX,SAAU,kBACV,KAAM,CACJ,MAAO,EACT,EACA,KAAM,CACJ,MAAO,UACP,MAAO,SACT,EACA,MAAO,SACT,EACA,CACE,aAAc,WACd,UAAW,oBACX,SAAU,kBACV,KAAM,CACJ,MAAO,SACT,EACA,KAAM,CACJ,MAAO,UACP,MAAO,SACT,EACA,MAAO,SACT,CACF",
6
+ "names": ["csvData1", "csvData2", "csvData3", "csvData4", "csvData5"]
7
+ }
@@ -0,0 +1,16 @@
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
+ */const a=[{name:"John's Birthday Party",latitude:40.7128,longitude:-74.006,date:"2023-05-20",time:"19:00:00"},{name:"Downtown Theater Show",latitude:34.0522,longitude:-118.2437,date:"2023-06-15",time:"20:30:00"},{name:"Summer Music Concert",latitude:51.5074,longitude:-.1278,date:"2023-07-10",time:"18:00:00"},{name:"Modern Art Exhibition",latitude:48.8566,longitude:2.3522,date:"2023-08-05",time:"10:00:00"},{name:"Basketball Championship",latitude:34.0522,longitude:-118.2437,date:"2023-09-02",time:"16:30:00"}],n=[{name:"John's Birthday Party",latitude:40.7128,longitude:-74.006,date:"2023-05-20",time:"19:00:00","layer-name":"dot-2"},{name:"Downtown Theater Show",latitude:34.0522,longitude:-118.2437,date:"2023-06-15",time:"20:30:00","layer-name":"dot-2"},{name:"Summer Music Concert",latitude:51.5074,longitude:-.1278,date:"2023-07-10",time:"18:00:00","layer-name":"dot-2"},{name:"Modern Art Exhibition",latitude:48.8566,longitude:2.3522,date:"2023-08-05",time:"10:00:00","layer-name":"dot-2"},{name:"Basketball Championship",latitude:34.0522,longitude:-118.2437,date:"2023-09-02",time:"16:30:00","layer-name":"dot-2"}];export{a as eventLocations,n as eventLocationsCsvData};
16
+ //# sourceMappingURL=events-locations.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../../src/map/functions/__test__/fixtures/events-locations.ts"],
4
+ "sourcesContent": ["/**\n * @license\n * Copyright 2023 Dynatrace LLC\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Location } from '../../../types/location.js';\n\ninterface EventLocation extends Location {\n name: string;\n\n date: string;\n\n time: string;\n}\n\nexport const eventLocations: EventLocation[] = [\n {\n name: \"John's Birthday Party\",\n latitude: 40.7128,\n longitude: -74.006,\n date: '2023-05-20',\n time: '19:00:00',\n },\n {\n name: 'Downtown Theater Show',\n latitude: 34.0522,\n longitude: -118.2437,\n date: '2023-06-15',\n time: '20:30:00',\n },\n {\n name: 'Summer Music Concert',\n latitude: 51.5074,\n longitude: -0.1278,\n date: '2023-07-10',\n time: '18:00:00',\n },\n {\n name: 'Modern Art Exhibition',\n latitude: 48.8566,\n longitude: 2.3522,\n date: '2023-08-05',\n time: '10:00:00',\n },\n {\n name: 'Basketball Championship',\n latitude: 34.0522,\n longitude: -118.2437,\n date: '2023-09-02',\n time: '16:30:00',\n },\n];\n\nexport const eventLocationsCsvData = [\n {\n name: \"John's Birthday Party\",\n latitude: 40.7128,\n longitude: -74.006,\n date: '2023-05-20',\n time: '19:00:00',\n 'layer-name': 'dot-2',\n },\n {\n name: 'Downtown Theater Show',\n latitude: 34.0522,\n longitude: -118.2437,\n date: '2023-06-15',\n time: '20:30:00',\n 'layer-name': 'dot-2',\n },\n {\n name: 'Summer Music Concert',\n latitude: 51.5074,\n longitude: -0.1278,\n date: '2023-07-10',\n time: '18:00:00',\n 'layer-name': 'dot-2',\n },\n {\n name: 'Modern Art Exhibition',\n latitude: 48.8566,\n longitude: 2.3522,\n date: '2023-08-05',\n time: '10:00:00',\n 'layer-name': 'dot-2',\n },\n {\n name: 'Basketball Championship',\n latitude: 34.0522,\n longitude: -118.2437,\n date: '2023-09-02',\n time: '16:30:00',\n 'layer-name': 'dot-2',\n },\n];\n"],
5
+ "mappings": "AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GA0BO,MAAMA,EAAkC,CAC7C,CACE,KAAM,wBACN,SAAU,QACV,UAAW,QACX,KAAM,aACN,KAAM,UACR,EACA,CACE,KAAM,wBACN,SAAU,QACV,UAAW,UACX,KAAM,aACN,KAAM,UACR,EACA,CACE,KAAM,uBACN,SAAU,QACV,UAAW,OACX,KAAM,aACN,KAAM,UACR,EACA,CACE,KAAM,wBACN,SAAU,QACV,UAAW,OACX,KAAM,aACN,KAAM,UACR,EACA,CACE,KAAM,0BACN,SAAU,QACV,UAAW,UACX,KAAM,aACN,KAAM,UACR,CACF,EAEaC,EAAwB,CACnC,CACE,KAAM,wBACN,SAAU,QACV,UAAW,QACX,KAAM,aACN,KAAM,WACN,aAAc,OAChB,EACA,CACE,KAAM,wBACN,SAAU,QACV,UAAW,UACX,KAAM,aACN,KAAM,WACN,aAAc,OAChB,EACA,CACE,KAAM,uBACN,SAAU,QACV,UAAW,OACX,KAAM,aACN,KAAM,WACN,aAAc,OAChB,EACA,CACE,KAAM,wBACN,SAAU,QACV,UAAW,OACX,KAAM,aACN,KAAM,WACN,aAAc,OAChB,EACA,CACE,KAAM,0BACN,SAAU,QACV,UAAW,UACX,KAAM,aACN,KAAM,WACN,aAAc,OAChB,CACF",
6
+ "names": ["eventLocations", "eventLocationsCsvData"]
7
+ }
@@ -0,0 +1,16 @@
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
+ */const o=[{facilityName:"Military Reserve Dog Off-Leash Park",comments:"Hours: Sunrise to Sunset, Not Fenced",ratio:15,longitude:-116.18414234589588,latitude:43.61582009133616,reviews:[{author:"John Doe",comment:"Lots of fun"}]},{facilityName:"Morris Hill Park Dog Off-Leash Park",comments:"Hours: Sunrise to Sunset, Fenced",ratio:20,longitude:-116.23150023369409,latitude:43.60484585840266,reviews:[{author:"Jane Doe",comment:"Clean place"}]},{facilityName:"Pine Grove Park Dog Off-Leash Park",comments:"Hours: Sunrise to Sunset, Fenced",ratio:5,longitude:-116.29242370608995,latitude:43.59790446943602,reviews:[{author:"Homer Simpson",comment:"D'oh!"}]},{facilityName:"Sterling Site Dog Off-Leash Park",comments:"Hours: Sunrise to Sunset, Fenced",ratio:25,longitude:-116.30578970938058,latitude:43.61547413945589,reviews:[]}],i=[{facilityName:"Military Reserve Dog Off-Leash Park",comments:"Hours: Sunrise to Sunset, Not Fenced",ratio:15,longitude:-116.18414234589588,latitude:43.61582009133616,reviews:[{author:"John Doe",comment:"Lots of fun"}],"layer-name":"dot-1"},{facilityName:"Morris Hill Park Dog Off-Leash Park",comments:"Hours: Sunrise to Sunset, Fenced",ratio:20,longitude:-116.23150023369409,latitude:43.60484585840266,reviews:[{author:"Jane Doe",comment:"Clean place"}],"layer-name":"dot-1"},{facilityName:"Pine Grove Park Dog Off-Leash Park",comments:"Hours: Sunrise to Sunset, Fenced",ratio:5,longitude:-116.29242370608995,latitude:43.59790446943602,reviews:[{author:"Homer Simpson",comment:"D'oh!"}],"layer-name":"dot-1"},{facilityName:"Sterling Site Dog Off-Leash Park",comments:"Hours: Sunrise to Sunset, Fenced",ratio:25,longitude:-116.30578970938058,latitude:43.61547413945589,reviews:[],"layer-name":"dot-1"}];export{o as facilityLocations,i as facilityLocationsCsvData};
16
+ //# sourceMappingURL=facilities-locations.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../../src/map/functions/__test__/fixtures/facilities-locations.ts"],
4
+ "sourcesContent": ["/**\n * @license\n * Copyright 2023 Dynatrace LLC\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Location } from '../../../types/location.js';\n\ninterface Review {\n author: string;\n comment: string;\n}\n\ninterface FacilityLocation extends Location {\n facilityName: string;\n comments: string;\n ratio: number;\n reviews: Review[];\n}\n\nexport const facilityLocations: FacilityLocation[] = [\n {\n facilityName: 'Military Reserve Dog Off-Leash Park',\n comments: 'Hours: Sunrise to Sunset, Not Fenced',\n ratio: 15,\n longitude: -116.18414234589588,\n latitude: 43.61582009133616,\n reviews: [\n {\n author: 'John Doe',\n comment: 'Lots of fun',\n },\n ],\n },\n {\n facilityName: 'Morris Hill Park Dog Off-Leash Park',\n comments: 'Hours: Sunrise to Sunset, Fenced',\n ratio: 20,\n longitude: -116.23150023369409,\n latitude: 43.60484585840266,\n reviews: [\n {\n author: 'Jane Doe',\n comment: 'Clean place',\n },\n ],\n },\n {\n facilityName: 'Pine Grove Park Dog Off-Leash Park',\n comments: 'Hours: Sunrise to Sunset, Fenced',\n ratio: 5,\n longitude: -116.29242370608995,\n latitude: 43.59790446943602,\n reviews: [\n {\n author: 'Homer Simpson',\n comment: \"D'oh!\",\n },\n ],\n },\n {\n facilityName: 'Sterling Site Dog Off-Leash Park',\n comments: 'Hours: Sunrise to Sunset, Fenced',\n ratio: 25,\n longitude: -116.30578970938058,\n latitude: 43.61547413945589,\n reviews: [],\n },\n];\n\nexport const facilityLocationsCsvData = [\n {\n facilityName: 'Military Reserve Dog Off-Leash Park',\n comments: 'Hours: Sunrise to Sunset, Not Fenced',\n ratio: 15,\n longitude: -116.18414234589588,\n latitude: 43.61582009133616,\n reviews: [\n {\n author: 'John Doe',\n comment: 'Lots of fun',\n },\n ],\n 'layer-name': 'dot-1',\n },\n {\n facilityName: 'Morris Hill Park Dog Off-Leash Park',\n comments: 'Hours: Sunrise to Sunset, Fenced',\n ratio: 20,\n longitude: -116.23150023369409,\n latitude: 43.60484585840266,\n reviews: [\n {\n author: 'Jane Doe',\n comment: 'Clean place',\n },\n ],\n 'layer-name': 'dot-1',\n },\n {\n facilityName: 'Pine Grove Park Dog Off-Leash Park',\n comments: 'Hours: Sunrise to Sunset, Fenced',\n ratio: 5,\n longitude: -116.29242370608995,\n latitude: 43.59790446943602,\n reviews: [\n {\n author: 'Homer Simpson',\n comment: \"D'oh!\",\n },\n ],\n 'layer-name': 'dot-1',\n },\n {\n facilityName: 'Sterling Site Dog Off-Leash Park',\n comments: 'Hours: Sunrise to Sunset, Fenced',\n ratio: 25,\n longitude: -116.30578970938058,\n latitude: 43.61547413945589,\n reviews: [],\n 'layer-name': 'dot-1',\n },\n];\n"],
5
+ "mappings": "AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GA8BO,MAAMA,EAAwC,CACnD,CACE,aAAc,sCACd,SAAU,wCACV,MAAO,GACP,UAAW,oBACX,SAAU,kBACV,QAAS,CACP,CACE,OAAQ,WACR,QAAS,aACX,CACF,CACF,EACA,CACE,aAAc,sCACd,SAAU,oCACV,MAAO,GACP,UAAW,oBACX,SAAU,kBACV,QAAS,CACP,CACE,OAAQ,WACR,QAAS,aACX,CACF,CACF,EACA,CACE,aAAc,qCACd,SAAU,oCACV,MAAO,EACP,UAAW,oBACX,SAAU,kBACV,QAAS,CACP,CACE,OAAQ,gBACR,QAAS,OACX,CACF,CACF,EACA,CACE,aAAc,mCACd,SAAU,oCACV,MAAO,GACP,UAAW,oBACX,SAAU,kBACV,QAAS,CAAC,CACZ,CACF,EAEaC,EAA2B,CACtC,CACE,aAAc,sCACd,SAAU,wCACV,MAAO,GACP,UAAW,oBACX,SAAU,kBACV,QAAS,CACP,CACE,OAAQ,WACR,QAAS,aACX,CACF,EACA,aAAc,OAChB,EACA,CACE,aAAc,sCACd,SAAU,oCACV,MAAO,GACP,UAAW,oBACX,SAAU,kBACV,QAAS,CACP,CACE,OAAQ,WACR,QAAS,aACX,CACF,EACA,aAAc,OAChB,EACA,CACE,aAAc,qCACd,SAAU,oCACV,MAAO,EACP,UAAW,oBACX,SAAU,kBACV,QAAS,CACP,CACE,OAAQ,gBACR,QAAS,OACX,CACF,EACA,aAAc,OAChB,EACA,CACE,aAAc,mCACd,SAAU,oCACV,MAAO,GACP,UAAW,oBACX,SAAU,kBACV,QAAS,CAAC,EACV,aAAc,OAChB,CACF",
6
+ "names": ["facilityLocations", "facilityLocationsCsvData"]
7
+ }
@@ -0,0 +1,16 @@
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
+ */const t=[{latitude:49.0097,longitude:2.5479,name:"Charles de Gaulle Airport",city:"Paris",country:"France"},{latitude:51.47,longitude:-.4543,name:"Heathrow Airport",city:"London",country:"United Kingdom"},{latitude:41.8003,longitude:12.2388,name:"Leonardo da Vinci\u2013Fiumicino Airport",city:"Rome",country:"Italy"},{latitude:52.5597,longitude:13.2877,name:"Berlin Brandenburg Airport",city:"Berlin",country:"Germany"},{latitude:55.9726,longitude:37.4145,name:"Sheremetyevo International Airport",city:"Moscow",country:"Russia"}],n=[{latitude:33.6407,longitude:-84.4277,name:"Hartsfield-Jackson Atlanta International Airport",city:"Atlanta",country:"USA"},{latitude:32.8975,longitude:-97.037,name:"Dallas/Fort Worth International Airport",city:"Dallas",country:"USA"},{latitude:40.6413,longitude:-73.7781,name:"John F. Kennedy International Airport",city:"New York City",country:"USA"},{latitude:37.7749,longitude:-122.4194,name:"San Francisco International Airport",city:"San Francisco",country:"USA"},{latitude:45.5887,longitude:-122.5976,name:"Portland International Airport",city:"Portland",country:"USA"},{latitude:43.6777,longitude:-79.6248,name:"Toronto Pearson International Airport",city:"Toronto",country:"Canada"},{latitude:49.193,longitude:-123.1837,name:"Vancouver International Airport",city:"Vancouver",country:"Canada"}],a=[{path:t}],l=[{path:n}];export{a as europeFlightRoutes,l as northAmericaRoutes};
16
+ //# sourceMappingURL=flight-connections.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../../src/map/functions/__test__/fixtures/flight-connections.ts"],
4
+ "sourcesContent": ["/**\n * @license\n * Copyright 2023 Dynatrace LLC\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Connection } from '../../../types/connection-layer.js';\nimport { Location } from '../../../types/location.js';\n\ninterface Airport extends Location {\n name: string;\n city: string;\n country: string;\n}\n\ntype FlightRoute = Connection<Airport>;\n\nconst europeAirports: Airport[] = [\n {\n latitude: 49.0097,\n longitude: 2.5479,\n name: 'Charles de Gaulle Airport',\n city: 'Paris',\n country: 'France',\n },\n {\n latitude: 51.47,\n longitude: -0.4543,\n name: 'Heathrow Airport',\n city: 'London',\n country: 'United Kingdom',\n },\n {\n latitude: 41.8003,\n longitude: 12.2388,\n name: 'Leonardo da Vinci\u2013Fiumicino Airport',\n city: 'Rome',\n country: 'Italy',\n },\n {\n latitude: 52.5597,\n longitude: 13.2877,\n name: 'Berlin Brandenburg Airport',\n city: 'Berlin',\n country: 'Germany',\n },\n {\n latitude: 55.9726,\n longitude: 37.4145,\n name: 'Sheremetyevo International Airport',\n city: 'Moscow',\n country: 'Russia',\n },\n];\n\nconst northAmericaAirports: Airport[] = [\n {\n latitude: 33.6407,\n longitude: -84.4277,\n name: 'Hartsfield-Jackson Atlanta International Airport',\n city: 'Atlanta',\n country: 'USA',\n },\n {\n latitude: 32.8975,\n longitude: -97.037,\n name: 'Dallas/Fort Worth International Airport',\n city: 'Dallas',\n country: 'USA',\n },\n {\n latitude: 40.6413,\n longitude: -73.7781,\n name: 'John F. Kennedy International Airport',\n city: 'New York City',\n country: 'USA',\n },\n {\n latitude: 37.7749,\n longitude: -122.4194,\n name: 'San Francisco International Airport',\n city: 'San Francisco',\n country: 'USA',\n },\n {\n latitude: 45.5887,\n longitude: -122.5976,\n name: 'Portland International Airport',\n city: 'Portland',\n country: 'USA',\n },\n {\n latitude: 43.6777,\n longitude: -79.6248,\n name: 'Toronto Pearson International Airport',\n city: 'Toronto',\n country: 'Canada',\n },\n {\n latitude: 49.193,\n longitude: -123.1837,\n name: 'Vancouver International Airport',\n city: 'Vancouver',\n country: 'Canada',\n },\n];\n\nexport const europeFlightRoutes: FlightRoute[] = [{ path: europeAirports }];\n\nexport const northAmericaRoutes: FlightRoute[] = [\n { path: northAmericaAirports },\n];\n"],
5
+ "mappings": "AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GA2BA,MAAMA,EAA4B,CAChC,CACE,SAAU,QACV,UAAW,OACX,KAAM,4BACN,KAAM,QACN,QAAS,QACX,EACA,CACE,SAAU,MACV,UAAW,OACX,KAAM,mBACN,KAAM,SACN,QAAS,gBACX,EACA,CACE,SAAU,QACV,UAAW,QACX,KAAM,2CACN,KAAM,OACN,QAAS,OACX,EACA,CACE,SAAU,QACV,UAAW,QACX,KAAM,6BACN,KAAM,SACN,QAAS,SACX,EACA,CACE,SAAU,QACV,UAAW,QACX,KAAM,qCACN,KAAM,SACN,QAAS,QACX,CACF,EAEMC,EAAkC,CACtC,CACE,SAAU,QACV,UAAW,SACX,KAAM,mDACN,KAAM,UACN,QAAS,KACX,EACA,CACE,SAAU,QACV,UAAW,QACX,KAAM,0CACN,KAAM,SACN,QAAS,KACX,EACA,CACE,SAAU,QACV,UAAW,SACX,KAAM,wCACN,KAAM,gBACN,QAAS,KACX,EACA,CACE,SAAU,QACV,UAAW,UACX,KAAM,sCACN,KAAM,gBACN,QAAS,KACX,EACA,CACE,SAAU,QACV,UAAW,UACX,KAAM,iCACN,KAAM,WACN,QAAS,KACX,EACA,CACE,SAAU,QACV,UAAW,SACX,KAAM,wCACN,KAAM,UACN,QAAS,QACX,EACA,CACE,SAAU,OACV,UAAW,UACX,KAAM,kCACN,KAAM,YACN,QAAS,QACX,CACF,EAEaC,EAAoC,CAAC,CAAE,KAAMF,CAAe,CAAC,EAE7DG,EAAoC,CAC/C,CAAE,KAAMF,CAAqB,CAC/B",
6
+ "names": ["europeAirports", "northAmericaAirports", "europeFlightRoutes", "northAmericaRoutes"]
7
+ }
@@ -0,0 +1,16 @@
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
+ */function n(o){return Object.keys(o)[0]}export{n as getTabIndexKey};
16
+ //# sourceMappingURL=a11y-toolbar-controls.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/map/functions/a11y-toolbar-controls.ts"],
4
+ "sourcesContent": ["/**\n * @license\n * Copyright 2023 Dynatrace LLC\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport {\n A11yToolbarTabIndex,\n ToolbarInteractionModes,\n} from '../types/toolbar.js';\n\n/**\n * Get value from ToolbarTabIndex [key]: number\n *\n * @param tabIndex - toolbar control tab index [key]: number\n */\nexport function getTabIndexKey(\n tabIndex: A11yToolbarTabIndex,\n): ToolbarInteractionModes {\n return Object.keys(tabIndex)[0] as ToolbarInteractionModes;\n}\n"],
5
+ "mappings": "AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAyBO,SAASA,EACdC,EACyB,CACzB,OAAO,OAAO,KAAKA,CAAQ,EAAE,CAAC,CAChC",
6
+ "names": ["getTabIndexKey", "tabIndex"]
7
+ }
@@ -0,0 +1,16 @@
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
+ */import{attachImageToMap as c}from"./attach-image-to-map.js";import{createBitmapConfigOptions as f}from"./create-bitmap-config-options.js";import{getDataUri as g}from"./get-data-uri.js";import{DEFAULT_INPUT_ICON_SIZE as t}from"../constants.js";import{getShape as s}from"../shapes/shape-picker.js";const T=(o,a,r,m)=>{const p=s(a),i=g(encodeURIComponent(p)),e=new Image(t,t);e.addEventListener("load",()=>{createImageBitmap(e,0,0,t,t,f(m)).then(n=>{c(o,n,r)})}),e.src=i};export{T as attachImageFromShape};
16
+ //# sourceMappingURL=attach-image-from-shape.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/map/functions/attach-image-from-shape.ts"],
4
+ "sourcesContent": ["/**\n * @license\n * Copyright 2023 Dynatrace LLC\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { MapRef } from 'react-map-gl/maplibre';\n\nimport { attachImageToMap } from './attach-image-to-map.js';\nimport { createBitmapConfigOptions } from './create-bitmap-config-options.js';\nimport { getDataUri } from './get-data-uri.js';\nimport { DEFAULT_INPUT_ICON_SIZE } from '../constants.js';\nimport { getShape } from '../shapes/shape-picker.js';\nimport { MapShape } from '../types/shapes.js';\n\nexport const attachImageFromShape = (\n map: MapRef,\n shape: MapShape,\n name: string,\n outputSize?: number,\n) => {\n const pickedShape = getShape(shape);\n const stringUrl = getDataUri(encodeURIComponent(pickedShape));\n const img = new Image(DEFAULT_INPUT_ICON_SIZE, DEFAULT_INPUT_ICON_SIZE);\n img.addEventListener('load', () => {\n createImageBitmap(\n img,\n 0,\n 0,\n DEFAULT_INPUT_ICON_SIZE,\n DEFAULT_INPUT_ICON_SIZE,\n createBitmapConfigOptions(outputSize),\n ).then((bitmap) => {\n attachImageToMap(map, bitmap, name);\n });\n });\n img.src = stringUrl;\n};\n"],
5
+ "mappings": "AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAkBA,OAAS,oBAAAA,MAAwB,2BACjC,OAAS,6BAAAC,MAAiC,oCAC1C,OAAS,cAAAC,MAAkB,oBAC3B,OAAS,2BAAAC,MAA+B,kBACxC,OAAS,YAAAC,MAAgB,4BAGlB,MAAMC,EAAuB,CAClCC,EACAC,EACAC,EACAC,IACG,CACH,MAAMC,EAAcN,EAASG,CAAK,EAC5BI,EAAYT,EAAW,mBAAmBQ,CAAW,CAAC,EACtDE,EAAM,IAAI,MAAMT,EAAyBA,CAAuB,EACtES,EAAI,iBAAiB,OAAQ,IAAM,CACjC,kBACEA,EACA,EACA,EACAT,EACAA,EACAF,EAA0BQ,CAAU,CACtC,EAAE,KAAMI,GAAW,CACjBb,EAAiBM,EAAKO,EAAQL,CAAI,CACpC,CAAC,CACH,CAAC,EACDI,EAAI,IAAMD,CACZ",
6
+ "names": ["attachImageToMap", "createBitmapConfigOptions", "getDataUri", "DEFAULT_INPUT_ICON_SIZE", "getShape", "attachImageFromShape", "map", "shape", "name", "outputSize", "pickedShape", "stringUrl", "img", "bitmap"]
7
+ }
@@ -0,0 +1,16 @@
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
+ */import{_sanitizeSymbol as p}from"@dynatrace/strato-components-preview/core";import{attachImageFromShape as n}from"./attach-image-from-shape.js";import{attachImageFromText as c}from"./attach-image-from-text.js";import{isValidShape as f}from"./is-valid-shape.js";const $=(o,m,t="",a)=>{const r=f(m),e=r?`${m}-${t}`:`emoji-${t}`;if(r)n(o,m,e,a);else{const i=p(m);c(o,i,e,a)}};export{$ as attachImageFromString};
16
+ //# sourceMappingURL=attach-image-from-string.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/map/functions/attach-image-from-string.ts"],
4
+ "sourcesContent": ["/**\n * @license\n * Copyright 2023 Dynatrace LLC\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { MapRef } from 'react-map-gl/maplibre';\n\nimport { _sanitizeSymbol } from '@dynatrace/strato-components-preview/core';\n\nimport { attachImageFromShape } from './attach-image-from-shape.js';\nimport { attachImageFromText } from './attach-image-from-text.js';\nimport { isValidShape } from './is-valid-shape.js';\nimport { MapShape } from '../types/shapes.js';\n\nexport const attachImageFromString = (\n map: MapRef,\n shape: MapShape | string,\n suffix = '',\n outputSize?: number,\n) => {\n const isShape = isValidShape(shape);\n const name = isShape ? `${shape}-${suffix}` : `emoji-${suffix}`;\n\n if (isShape) {\n attachImageFromShape(map, shape, name, outputSize);\n } else {\n const sanitizedShape = _sanitizeSymbol(shape);\n attachImageFromText(map, sanitizedShape, name, outputSize);\n }\n};\n"],
5
+ "mappings": "AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAkBA,OAAS,mBAAAA,MAAuB,4CAEhC,OAAS,wBAAAC,MAA4B,+BACrC,OAAS,uBAAAC,MAA2B,8BACpC,OAAS,gBAAAC,MAAoB,sBAGtB,MAAMC,EAAwB,CACnCC,EACAC,EACAC,EAAS,GACTC,IACG,CACH,MAAMC,EAAUN,EAAaG,CAAK,EAC5BI,EAAOD,EAAU,GAAGH,CAAK,IAAIC,CAAM,GAAK,SAASA,CAAM,GAE7D,GAAIE,EACFR,EAAqBI,EAAKC,EAAOI,EAAMF,CAAU,MAC5C,CACL,MAAMG,EAAiBX,EAAgBM,CAAK,EAC5CJ,EAAoBG,EAAKM,EAAgBD,EAAMF,CAAU,CAC3D,CACF",
6
+ "names": ["_sanitizeSymbol", "attachImageFromShape", "attachImageFromText", "isValidShape", "attachImageFromString", "map", "shape", "suffix", "outputSize", "isShape", "name", "sanitizedShape"]
7
+ }
@@ -0,0 +1,16 @@
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
+ */import{attachImageToMap as r}from"./attach-image-to-map.js";import{getScaledSymbolSize as s}from"./get-scaled-symbol-size.js";const f=(o,m,i,c)=>{const e=s(c),a=document.createElement("canvas");a.width=e,a.height=e;const t=a.getContext("2d")??new CanvasRenderingContext2D;t.imageSmoothingEnabled=!1,t.font=`${e}px DynatraceFlow`,t.textAlign="center",t.textBaseline="middle",t.fillText(m,e/2,e/2);const n=new Image(e,e);n.addEventListener("load",()=>{r(o,n,i,!1)}),n.src=a.toDataURL("image/png")};export{f as attachImageFromText};
16
+ //# sourceMappingURL=attach-image-from-text.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/map/functions/attach-image-from-text.ts"],
4
+ "sourcesContent": ["/**\n * @license\n * Copyright 2023 Dynatrace LLC\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { MapRef } from 'react-map-gl/maplibre';\n\nimport { attachImageToMap } from './attach-image-to-map.js';\nimport { getScaledSymbolSize } from './get-scaled-symbol-size.js';\n\nexport const attachImageFromText = (\n map: MapRef,\n text: string,\n name: string,\n outputSize?: number,\n) => {\n const scaledTextSymbolSize = getScaledSymbolSize(outputSize);\n const canvas = document.createElement('canvas');\n // Create a canvas with the default icon size (dpr for retina displays)\n canvas.width = scaledTextSymbolSize;\n canvas.height = scaledTextSymbolSize;\n const ctx = canvas.getContext('2d') ?? new CanvasRenderingContext2D();\n ctx.imageSmoothingEnabled = false;\n ctx.font = `${scaledTextSymbolSize}px DynatraceFlow`;\n ctx.textAlign = 'center';\n ctx.textBaseline = 'middle';\n ctx.fillText(text, scaledTextSymbolSize / 2, scaledTextSymbolSize / 2);\n\n const img = new Image(scaledTextSymbolSize, scaledTextSymbolSize);\n img.addEventListener('load', () => {\n attachImageToMap(map, img, name, false);\n });\n img.src = canvas.toDataURL('image/png');\n};\n"],
5
+ "mappings": "AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAkBA,OAAS,oBAAAA,MAAwB,2BACjC,OAAS,uBAAAC,MAA2B,8BAE7B,MAAMC,EAAsB,CACjCC,EACAC,EACAC,EACAC,IACG,CACH,MAAMC,EAAuBN,EAAoBK,CAAU,EACrDE,EAAS,SAAS,cAAc,QAAQ,EAE9CA,EAAO,MAAQD,EACfC,EAAO,OAASD,EAChB,MAAME,EAAMD,EAAO,WAAW,IAAI,GAAK,IAAI,yBAC3CC,EAAI,sBAAwB,GAC5BA,EAAI,KAAO,GAAGF,CAAoB,mBAClCE,EAAI,UAAY,SAChBA,EAAI,aAAe,SACnBA,EAAI,SAASL,EAAMG,EAAuB,EAAGA,EAAuB,CAAC,EAErE,MAAMG,EAAM,IAAI,MAAMH,EAAsBA,CAAoB,EAChEG,EAAI,iBAAiB,OAAQ,IAAM,CACjCV,EAAiBG,EAAKO,EAAKL,EAAM,EAAK,CACxC,CAAC,EACDK,EAAI,IAAMF,EAAO,UAAU,WAAW,CACxC",
6
+ "names": ["attachImageToMap", "getScaledSymbolSize", "attachImageFromText", "map", "text", "name", "outputSize", "scaledTextSymbolSize", "canvas", "ctx", "img"]
7
+ }
@@ -0,0 +1,16 @@
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
+ */const r=(e,t,a,g=!0)=>{const I=devicePixelRatio;e.hasImage(a)?(e.removeImage(a),e.addImage(a,t,{sdf:g,pixelRatio:I})):e.addImage(a,t,{sdf:g,pixelRatio:I})};export{r as attachImageToMap};
16
+ //# sourceMappingURL=attach-image-to-map.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/map/functions/attach-image-to-map.ts"],
4
+ "sourcesContent": ["/**\n * @license\n * Copyright 2023 Dynatrace LLC\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { MapRef } from 'react-map-gl/maplibre';\n\nexport const attachImageToMap = (\n map: MapRef,\n bitmap: ImageBitmap | HTMLImageElement,\n iconName: string,\n sdf = true,\n) => {\n const pixelRatio = devicePixelRatio;\n if (!map.hasImage(iconName)) {\n map.addImage(iconName, bitmap, { sdf: sdf, pixelRatio });\n } else {\n // Update doesn't work until you make some move in the map, so we need to\n // remove it and add it to make the render right away\n map.removeImage(iconName);\n map.addImage(iconName, bitmap, { sdf: sdf, pixelRatio });\n }\n};\n"],
5
+ "mappings": "AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAiBO,MAAMA,EAAmB,CAC9BC,EACAC,EACAC,EACAC,EAAM,KACH,CACH,MAAMC,EAAa,iBACdJ,EAAI,SAASE,CAAQ,GAKxBF,EAAI,YAAYE,CAAQ,EACxBF,EAAI,SAASE,EAAUD,EAAQ,CAAE,IAAKE,EAAK,WAAAC,CAAW,CAAC,GALvDJ,EAAI,SAASE,EAAUD,EAAQ,CAAE,IAAKE,EAAK,WAAAC,CAAW,CAAC,CAO3D",
6
+ "names": ["attachImageToMap", "map", "bitmap", "iconName", "sdf", "pixelRatio"]
7
+ }