@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.
- package/LICENSE +174 -0
- package/README.md +15 -0
- package/esm/index.js +16 -0
- package/esm/index.js.map +7 -0
- package/esm/map/MapView.js +16 -0
- package/esm/map/MapView.js.map +7 -0
- package/esm/map/components/BubbleLayer/BubbleCircleLayer.js +16 -0
- package/esm/map/components/BubbleLayer/BubbleCircleLayer.js.map +7 -0
- package/esm/map/components/BubbleLayer/BubbleLayer.js +16 -0
- package/esm/map/components/BubbleLayer/BubbleLayer.js.map +7 -0
- package/esm/map/components/BubbleLayer/BubbleLayerTooltip.js +16 -0
- package/esm/map/components/BubbleLayer/BubbleLayerTooltip.js.map +7 -0
- package/esm/map/components/BubbleLayer/BubbleOutlineLayer.js +16 -0
- package/esm/map/components/BubbleLayer/BubbleOutlineLayer.js.map +7 -0
- package/esm/map/components/BubbleLayer/contexts/size-interpolation.context.js +16 -0
- package/esm/map/components/BubbleLayer/contexts/size-interpolation.context.js.map +7 -0
- package/esm/map/components/BubbleLayer/functions/add-outline-size.js +16 -0
- package/esm/map/components/BubbleLayer/functions/add-outline-size.js.map +7 -0
- package/esm/map/components/BubbleLayer/functions/build-radius-scale.js +16 -0
- package/esm/map/components/BubbleLayer/functions/build-radius-scale.js.map +7 -0
- package/esm/map/components/BubbleLayer/functions/build-stick-to-distance-expressions.js +16 -0
- package/esm/map/components/BubbleLayer/functions/build-stick-to-distance-expressions.js.map +7 -0
- package/esm/map/components/BubbleLayer/functions/parse-bubble-data-to-geo-json.js +16 -0
- package/esm/map/components/BubbleLayer/functions/parse-bubble-data-to-geo-json.js.map +7 -0
- package/esm/map/components/BubbleLayer/hooks/use-size-interpolation.js +16 -0
- package/esm/map/components/BubbleLayer/hooks/use-size-interpolation.js.map +7 -0
- package/esm/map/components/ChoroplethLayer.js +16 -0
- package/esm/map/components/ChoroplethLayer.js.map +7 -0
- package/esm/map/components/ChoroplethLayerTooltip.js +16 -0
- package/esm/map/components/ChoroplethLayerTooltip.js.map +7 -0
- package/esm/map/components/ConnectionLayer/ConnectionLayer.js +16 -0
- package/esm/map/components/ConnectionLayer/ConnectionLayer.js.map +7 -0
- package/esm/map/components/ConnectionLayer/ConnectionLayerDirection.js +16 -0
- package/esm/map/components/ConnectionLayer/ConnectionLayerDirection.js.map +7 -0
- package/esm/map/components/ConnectionLayer/ConnectionLayerTooltip.js +16 -0
- package/esm/map/components/ConnectionLayer/ConnectionLayerTooltip.js.map +7 -0
- package/esm/map/components/ConnectionLayer/functions/get-arc-line-features.js +16 -0
- package/esm/map/components/ConnectionLayer/functions/get-arc-line-features.js.map +7 -0
- package/esm/map/components/ConnectionLayer/functions/get-arrows-angles.js +16 -0
- package/esm/map/components/ConnectionLayer/functions/get-arrows-angles.js.map +7 -0
- package/esm/map/components/ConnectionLayer/functions/get-straight-line-features.js +16 -0
- package/esm/map/components/ConnectionLayer/functions/get-straight-line-features.js.map +7 -0
- package/esm/map/components/ConnectionLayer/functions/parse-connection-data-to-geo-json.js +16 -0
- package/esm/map/components/ConnectionLayer/functions/parse-connection-data-to-geo-json.js.map +7 -0
- package/esm/map/components/ConnectionLayer/functions/parse-direction-data-to-geo-json.js +16 -0
- package/esm/map/components/ConnectionLayer/functions/parse-direction-data-to-geo-json.js.map +7 -0
- package/esm/map/components/DefaultTooltip.js +16 -0
- package/esm/map/components/DefaultTooltip.js.map +7 -0
- package/esm/map/components/DotLayer/BackgroundLayer.js +16 -0
- package/esm/map/components/DotLayer/BackgroundLayer.js.map +7 -0
- package/esm/map/components/DotLayer/DotLayer.js +16 -0
- package/esm/map/components/DotLayer/DotLayer.js.map +7 -0
- package/esm/map/components/DotLayer/DotLayerTooltip.js +16 -0
- package/esm/map/components/DotLayer/DotLayerTooltip.js.map +7 -0
- package/esm/map/components/DotLayer/functions/calculate-circle-translate.js +16 -0
- package/esm/map/components/DotLayer/functions/calculate-circle-translate.js.map +7 -0
- package/esm/map/components/DotLayer/functions/resolve-icon-background.js +16 -0
- package/esm/map/components/DotLayer/functions/resolve-icon-background.js.map +7 -0
- package/esm/map/components/MapContent.js +16 -0
- package/esm/map/components/MapContent.js.map +7 -0
- package/esm/map/components/legend/CategoricalLegendRenderer.js +16 -0
- package/esm/map/components/legend/CategoricalLegendRenderer.js.map +7 -0
- package/esm/map/components/legend/MapLegendRenderer.js +16 -0
- package/esm/map/components/legend/MapLegendRenderer.js.map +7 -0
- package/esm/map/components/legend/SequentialLegendRenderer.js +16 -0
- package/esm/map/components/legend/SequentialLegendRenderer.js.map +7 -0
- package/esm/map/components/legend/ThresholdLegendRenderer.js +16 -0
- package/esm/map/components/legend/ThresholdLegendRenderer.js.map +7 -0
- package/esm/map/components/legend/functions/resolve-color.js +16 -0
- package/esm/map/components/legend/functions/resolve-color.js.map +7 -0
- package/esm/map/components/toolbar/MapToolbar.js +16 -0
- package/esm/map/components/toolbar/MapToolbar.js.map +7 -0
- package/esm/map/components/toolbar/buttons/MapDownloadDataButton.js +16 -0
- package/esm/map/components/toolbar/buttons/MapDownloadDataButton.js.map +7 -0
- package/esm/map/components/toolbar/buttons/MapResetButton.js +16 -0
- package/esm/map/components/toolbar/buttons/MapResetButton.js.map +7 -0
- package/esm/map/components/toolbar/buttons/MapZoomInOutButtons.js +16 -0
- package/esm/map/components/toolbar/buttons/MapZoomInOutButtons.js.map +7 -0
- package/esm/map/components/toolbar/buttons/MapZoomToFitButton.js +16 -0
- package/esm/map/components/toolbar/buttons/MapZoomToFitButton.js.map +7 -0
- package/esm/map/components/toolbar/constants.js +16 -0
- package/esm/map/components/toolbar/constants.js.map +7 -0
- package/esm/map/constants.js +16 -0
- package/esm/map/constants.js.map +7 -0
- package/esm/map/contexts/a11y-toolbar-tab-index.context.js +16 -0
- package/esm/map/contexts/a11y-toolbar-tab-index.context.js.map +7 -0
- package/esm/map/contexts/color-scale.context.js +16 -0
- package/esm/map/contexts/color-scale.context.js.map +7 -0
- package/esm/map/contexts/layer-coloring-strategy.context.js +16 -0
- package/esm/map/contexts/layer-coloring-strategy.context.js.map +7 -0
- package/esm/map/contexts/layer-ids.context.js +16 -0
- package/esm/map/contexts/layer-ids.context.js.map +7 -0
- package/esm/map/contexts/map-configuration.context.js +16 -0
- package/esm/map/contexts/map-configuration.context.js.map +7 -0
- package/esm/map/contexts/map-country-code.context.js +16 -0
- package/esm/map/contexts/map-country-code.context.js.map +7 -0
- package/esm/map/contexts/map-data-bounding-box.context.js +16 -0
- package/esm/map/contexts/map-data-bounding-box.context.js.map +7 -0
- package/esm/map/contexts/map-initial-view.context.js +16 -0
- package/esm/map/contexts/map-initial-view.context.js.map +7 -0
- package/esm/map/contexts/map-raw-data.context.js +16 -0
- package/esm/map/contexts/map-raw-data.context.js.map +7 -0
- package/esm/map/functions/__test__/fixtures/business-locations.js +16 -0
- package/esm/map/functions/__test__/fixtures/business-locations.js.map +7 -0
- package/esm/map/functions/__test__/fixtures/connection-layer.js +16 -0
- package/esm/map/functions/__test__/fixtures/connection-layer.js.map +7 -0
- package/esm/map/functions/__test__/fixtures/countries-stats.js +16 -0
- package/esm/map/functions/__test__/fixtures/countries-stats.js.map +7 -0
- package/esm/map/functions/__test__/fixtures/csv-download-cases.js +16 -0
- package/esm/map/functions/__test__/fixtures/csv-download-cases.js.map +7 -0
- package/esm/map/functions/__test__/fixtures/events-locations.js +16 -0
- package/esm/map/functions/__test__/fixtures/events-locations.js.map +7 -0
- package/esm/map/functions/__test__/fixtures/facilities-locations.js +16 -0
- package/esm/map/functions/__test__/fixtures/facilities-locations.js.map +7 -0
- package/esm/map/functions/__test__/fixtures/flight-connections.js +16 -0
- package/esm/map/functions/__test__/fixtures/flight-connections.js.map +7 -0
- package/esm/map/functions/a11y-toolbar-controls.js +16 -0
- package/esm/map/functions/a11y-toolbar-controls.js.map +7 -0
- package/esm/map/functions/attach-image-from-shape.js +16 -0
- package/esm/map/functions/attach-image-from-shape.js.map +7 -0
- package/esm/map/functions/attach-image-from-string.js +16 -0
- package/esm/map/functions/attach-image-from-string.js.map +7 -0
- package/esm/map/functions/attach-image-from-text.js +16 -0
- package/esm/map/functions/attach-image-from-text.js.map +7 -0
- package/esm/map/functions/attach-image-to-map.js +16 -0
- package/esm/map/functions/attach-image-to-map.js.map +7 -0
- package/esm/map/functions/build-and-download-csv.js +16 -0
- package/esm/map/functions/build-and-download-csv.js.map +7 -0
- package/esm/map/functions/build-categorical-scale.js +16 -0
- package/esm/map/functions/build-categorical-scale.js.map +7 -0
- package/esm/map/functions/build-scale-from-legend-config.js +16 -0
- package/esm/map/functions/build-scale-from-legend-config.js.map +7 -0
- package/esm/map/functions/calculate-hovered-color.js +16 -0
- package/esm/map/functions/calculate-hovered-color.js.map +7 -0
- package/esm/map/functions/create-bitmap-config-options.js +16 -0
- package/esm/map/functions/create-bitmap-config-options.js.map +7 -0
- package/esm/map/functions/define-bearing.js +16 -0
- package/esm/map/functions/define-bearing.js.map +7 -0
- package/esm/map/functions/define-color.js +16 -0
- package/esm/map/functions/define-color.js.map +7 -0
- package/esm/map/functions/define-radius.js +16 -0
- package/esm/map/functions/define-radius.js.map +7 -0
- package/esm/map/functions/extract-layers-data.js +16 -0
- package/esm/map/functions/extract-layers-data.js.map +7 -0
- package/esm/map/functions/get-client-settings.js +16 -0
- package/esm/map/functions/get-client-settings.js.map +7 -0
- package/esm/map/functions/get-color-from-token.js +16 -0
- package/esm/map/functions/get-color-from-token.js.map +7 -0
- package/esm/map/functions/get-countries-geo-code.js +16 -0
- package/esm/map/functions/get-countries-geo-code.js.map +7 -0
- package/esm/map/functions/get-data-layers-bounding-box.js +16 -0
- package/esm/map/functions/get-data-layers-bounding-box.js.map +7 -0
- package/esm/map/functions/get-data-uri.js +16 -0
- package/esm/map/functions/get-data-uri.js.map +7 -0
- package/esm/map/functions/get-map-states-template.js +16 -0
- package/esm/map/functions/get-map-states-template.js.map +7 -0
- package/esm/map/functions/get-scaled-symbol-size.js +16 -0
- package/esm/map/functions/get-scaled-symbol-size.js.map +7 -0
- package/esm/map/functions/get-tenant-country-code.js +16 -0
- package/esm/map/functions/get-tenant-country-code.js.map +7 -0
- package/esm/map/functions/is-valid-shape.js +16 -0
- package/esm/map/functions/is-valid-shape.js.map +7 -0
- package/esm/map/functions/iterate-config-slots.js +16 -0
- package/esm/map/functions/iterate-config-slots.js.map +7 -0
- package/esm/map/functions/parse-dot-data-to-geo-json.js +16 -0
- package/esm/map/functions/parse-dot-data-to-geo-json.js.map +7 -0
- package/esm/map/functions/parse-region-data-to-geo-json.js +16 -0
- package/esm/map/functions/parse-region-data-to-geo-json.js.map +7 -0
- package/esm/map/functions/safe-reactdom-render.js +16 -0
- package/esm/map/functions/safe-reactdom-render.js.map +7 -0
- package/esm/map/functions/set-layers-id.js +16 -0
- package/esm/map/functions/set-layers-id.js.map +7 -0
- package/esm/map/functions/tabularize-layers-data.js +18 -0
- package/esm/map/functions/tabularize-layers-data.js.map +7 -0
- package/esm/map/functions/to-mapbox-initial-view-state.js +16 -0
- package/esm/map/functions/to-mapbox-initial-view-state.js.map +7 -0
- package/esm/map/functions/tooltip-type-guards.js +16 -0
- package/esm/map/functions/tooltip-type-guards.js.map +7 -0
- package/esm/map/hooks/use-a11y-toolbar-tab-index.js +16 -0
- package/esm/map/hooks/use-a11y-toolbar-tab-index.js.map +7 -0
- package/esm/map/hooks/use-active-interaction.js +16 -0
- package/esm/map/hooks/use-active-interaction.js.map +7 -0
- package/esm/map/hooks/use-attach-image-from-icon.js +16 -0
- package/esm/map/hooks/use-attach-image-from-icon.js.map +7 -0
- package/esm/map/hooks/use-attach-symbol-to-map.js +16 -0
- package/esm/map/hooks/use-attach-symbol-to-map.js.map +7 -0
- package/esm/map/hooks/use-color-scale.js +16 -0
- package/esm/map/hooks/use-color-scale.js.map +7 -0
- package/esm/map/hooks/use-connection-direction-interaction-highlighting.js +16 -0
- package/esm/map/hooks/use-connection-direction-interaction-highlighting.js.map +7 -0
- package/esm/map/hooks/use-connection-interaction-highlighting.js +16 -0
- package/esm/map/hooks/use-connection-interaction-highlighting.js.map +7 -0
- package/esm/map/hooks/use-data-bounding-box.js +16 -0
- package/esm/map/hooks/use-data-bounding-box.js.map +7 -0
- package/esm/map/hooks/use-hover-interaction.js +16 -0
- package/esm/map/hooks/use-hover-interaction.js.map +7 -0
- package/esm/map/hooks/use-initial-view-context.js +16 -0
- package/esm/map/hooks/use-initial-view-context.js.map +7 -0
- package/esm/map/hooks/use-initial-view-state.js +16 -0
- package/esm/map/hooks/use-initial-view-state.js.map +7 -0
- package/esm/map/hooks/use-layer-coloring-strategy.js +16 -0
- package/esm/map/hooks/use-layer-coloring-strategy.js.map +7 -0
- package/esm/map/hooks/use-legend-interaction-highlighting.js +16 -0
- package/esm/map/hooks/use-legend-interaction-highlighting.js.map +7 -0
- package/esm/map/hooks/use-legend-interaction-visibility.js +16 -0
- package/esm/map/hooks/use-legend-interaction-visibility.js.map +7 -0
- package/esm/map/hooks/use-load-symbol-into-map.js +16 -0
- package/esm/map/hooks/use-load-symbol-into-map.js.map +7 -0
- package/esm/map/hooks/use-map-config.js +16 -0
- package/esm/map/hooks/use-map-config.js.map +7 -0
- package/esm/map/hooks/use-map-country-code.js +16 -0
- package/esm/map/hooks/use-map-country-code.js.map +7 -0
- package/esm/map/hooks/use-map-raw-data.js +16 -0
- package/esm/map/hooks/use-map-raw-data.js.map +7 -0
- package/esm/map/hooks/use-map-settings.js +16 -0
- package/esm/map/hooks/use-map-settings.js.map +7 -0
- package/esm/map/hooks/use-map-source.js +16 -0
- package/esm/map/hooks/use-map-source.js.map +7 -0
- package/esm/map/hooks/use-overlay-events.js +16 -0
- package/esm/map/hooks/use-overlay-events.js.map +7 -0
- package/esm/map/hooks/use-resolve-color.js +16 -0
- package/esm/map/hooks/use-resolve-color.js.map +7 -0
- package/esm/map/hooks/use-safe-svg-parser.js +16 -0
- package/esm/map/hooks/use-safe-svg-parser.js.map +7 -0
- package/esm/map/hooks/use-tooltip-event-listeners.js +16 -0
- package/esm/map/hooks/use-tooltip-event-listeners.js.map +7 -0
- package/esm/map/hooks/use-tooltip-template.js +16 -0
- package/esm/map/hooks/use-tooltip-template.js.map +7 -0
- package/esm/map/hooks/useDefaultTooltipActions.js +16 -0
- package/esm/map/hooks/useDefaultTooltipActions.js.map +7 -0
- package/esm/map/map-styles/default-style.js +16 -0
- package/esm/map/map-styles/default-style.js.map +7 -0
- package/esm/map/providers/color-scale.provider.js +16 -0
- package/esm/map/providers/color-scale.provider.js.map +7 -0
- package/esm/map/providers/layer-color-strategy.provider.js +16 -0
- package/esm/map/providers/layer-color-strategy.provider.js.map +7 -0
- package/esm/map/providers/map-initial-view.provider.js +16 -0
- package/esm/map/providers/map-initial-view.provider.js.map +7 -0
- package/esm/map/shapes/circle.js +33 -0
- package/esm/map/shapes/circle.js.map +7 -0
- package/esm/map/shapes/cross.js +28 -0
- package/esm/map/shapes/cross.js.map +7 -0
- package/esm/map/shapes/diamond.js +21 -0
- package/esm/map/shapes/diamond.js.map +7 -0
- package/esm/map/shapes/heart.js +28 -0
- package/esm/map/shapes/heart.js.map +7 -0
- package/esm/map/shapes/pin.js +22 -0
- package/esm/map/shapes/pin.js.map +7 -0
- package/esm/map/shapes/shape-picker.js +16 -0
- package/esm/map/shapes/shape-picker.js.map +7 -0
- package/esm/map/shapes/square.js +19 -0
- package/esm/map/shapes/square.js.map +7 -0
- package/esm/map/shapes/star.js +33 -0
- package/esm/map/shapes/star.js.map +7 -0
- package/esm/map/shapes/triangle.js +28 -0
- package/esm/map/shapes/triangle.js.map +7 -0
- package/esm/map/slots/BubbleLayer.js +16 -0
- package/esm/map/slots/BubbleLayer.js.map +7 -0
- package/esm/map/slots/BubbleLayerTooltip.js +16 -0
- package/esm/map/slots/BubbleLayerTooltip.js.map +7 -0
- package/esm/map/slots/CategoricalLegend.js +16 -0
- package/esm/map/slots/CategoricalLegend.js.map +7 -0
- package/esm/map/slots/ChartInteractions.js +16 -0
- package/esm/map/slots/ChartInteractions.js.map +7 -0
- package/esm/map/slots/ChoroplethLayer.js +16 -0
- package/esm/map/slots/ChoroplethLayer.js.map +7 -0
- package/esm/map/slots/ChoroplethLayerTooltip.js +16 -0
- package/esm/map/slots/ChoroplethLayerTooltip.js.map +7 -0
- package/esm/map/slots/ConnectionLayer.js +16 -0
- package/esm/map/slots/ConnectionLayer.js.map +7 -0
- package/esm/map/slots/ConnectionLayerTooltip.js +16 -0
- package/esm/map/slots/ConnectionLayerTooltip.js.map +7 -0
- package/esm/map/slots/DotLayer.js +16 -0
- package/esm/map/slots/DotLayer.js.map +7 -0
- package/esm/map/slots/DotLayerTooltip.js +16 -0
- package/esm/map/slots/DotLayerTooltip.js.map +7 -0
- package/esm/map/slots/SequentialLegend.js +16 -0
- package/esm/map/slots/SequentialLegend.js.map +7 -0
- package/esm/map/slots/ThresholdLegend.js +16 -0
- package/esm/map/slots/ThresholdLegend.js.map +7 -0
- package/esm/map/slots/Tooltip.js +16 -0
- package/esm/map/slots/Tooltip.js.map +7 -0
- package/esm/map/slots/Zoom.js +16 -0
- package/esm/map/slots/Zoom.js.map +7 -0
- package/esm/map/slots/ZoomToFit.js +16 -0
- package/esm/map/slots/ZoomToFit.js.map +7 -0
- package/esm/map/slots/states/DisabledState.js +16 -0
- package/esm/map/slots/states/DisabledState.js.map +7 -0
- package/esm/map/slots/states/ErrorStateSlot.js +16 -0
- package/esm/map/slots/states/ErrorStateSlot.js.map +7 -0
- package/esm/map/sources/CN.js +16 -0
- package/esm/map/sources/CN.js.map +7 -0
- package/esm/map/sources/IL.js +16 -0
- package/esm/map/sources/IL.js.map +7 -0
- package/esm/map/sources/IN.js +16 -0
- package/esm/map/sources/IN.js.map +7 -0
- package/esm/map/sources/countries.js +16 -0
- package/esm/map/sources/countries.js.map +7 -0
- package/esm/map/store/map-store.context.js +16 -0
- package/esm/map/store/map-store.context.js.map +7 -0
- package/esm/map/store/map-store.provider.js +16 -0
- package/esm/map/store/map-store.provider.js.map +7 -0
- package/esm/map/store/selectors.js +16 -0
- package/esm/map/store/selectors.js.map +7 -0
- package/esm/map/store/store.js +16 -0
- package/esm/map/store/store.js.map +7 -0
- package/esm/map/styles/react-mapgl-styles.css +671 -0
- package/esm/map/types/bubble-layer.js +16 -0
- package/esm/map/types/bubble-layer.js.map +7 -0
- package/esm/map/types/choropleth-layer.js +16 -0
- package/esm/map/types/choropleth-layer.js.map +7 -0
- package/esm/map/types/coloring.js +16 -0
- package/esm/map/types/coloring.js.map +7 -0
- package/esm/map/types/configuration.js +16 -0
- package/esm/map/types/configuration.js.map +7 -0
- package/esm/map/types/connection-layer.js +16 -0
- package/esm/map/types/connection-layer.js.map +7 -0
- package/esm/map/types/dot-layer.js +16 -0
- package/esm/map/types/dot-layer.js.map +7 -0
- package/esm/map/types/legend.js +16 -0
- package/esm/map/types/legend.js.map +7 -0
- package/esm/map/types/location.js +16 -0
- package/esm/map/types/location.js.map +7 -0
- package/esm/map/types/map-view.js +16 -0
- package/esm/map/types/map-view.js.map +7 -0
- package/esm/map/types/shapes.js +16 -0
- package/esm/map/types/shapes.js.map +7 -0
- package/esm/map/types/state.js +16 -0
- package/esm/map/types/state.js.map +7 -0
- package/esm/map/types/toolbar.js +16 -0
- package/esm/map/types/toolbar.js.map +7 -0
- package/esm/map/types/tooltip.js +16 -0
- package/esm/map/types/tooltip.js.map +7 -0
- package/index.d.ts +37 -0
- package/index.js +15 -0
- package/map/MapView.d.ts +25 -0
- package/map/MapView.js +15 -0
- package/map/components/BubbleLayer/BubbleCircleLayer.d.ts +20 -0
- package/map/components/BubbleLayer/BubbleCircleLayer.js +15 -0
- package/map/components/BubbleLayer/BubbleLayer.d.ts +22 -0
- package/map/components/BubbleLayer/BubbleLayer.js +15 -0
- package/map/components/BubbleLayer/BubbleLayerTooltip.d.ts +26 -0
- package/map/components/BubbleLayer/BubbleLayerTooltip.js +15 -0
- package/map/components/BubbleLayer/BubbleOutlineLayer.d.ts +5 -0
- package/map/components/BubbleLayer/BubbleOutlineLayer.js +15 -0
- package/map/components/BubbleLayer/contexts/size-interpolation.context.d.ts +2 -0
- package/map/components/BubbleLayer/contexts/size-interpolation.context.js +15 -0
- package/map/components/BubbleLayer/functions/add-outline-size.d.ts +21 -0
- package/map/components/BubbleLayer/functions/add-outline-size.js +15 -0
- package/map/components/BubbleLayer/functions/build-radius-scale.d.ts +18 -0
- package/map/components/BubbleLayer/functions/build-radius-scale.js +15 -0
- package/map/components/BubbleLayer/functions/build-stick-to-distance-expressions.d.ts +28 -0
- package/map/components/BubbleLayer/functions/build-stick-to-distance-expressions.js +15 -0
- package/map/components/BubbleLayer/functions/parse-bubble-data-to-geo-json.d.ts +35 -0
- package/map/components/BubbleLayer/functions/parse-bubble-data-to-geo-json.js +15 -0
- package/map/components/BubbleLayer/hooks/use-size-interpolation.d.ts +1 -0
- package/map/components/BubbleLayer/hooks/use-size-interpolation.js +15 -0
- package/map/components/ChoroplethLayer.d.ts +21 -0
- package/map/components/ChoroplethLayer.js +15 -0
- package/map/components/ChoroplethLayerTooltip.d.ts +25 -0
- package/map/components/ChoroplethLayerTooltip.js +15 -0
- package/map/components/ConnectionLayer/ConnectionLayer.d.ts +22 -0
- package/map/components/ConnectionLayer/ConnectionLayer.js +15 -0
- package/map/components/ConnectionLayer/ConnectionLayerDirection.d.ts +26 -0
- package/map/components/ConnectionLayer/ConnectionLayerDirection.js +15 -0
- package/map/components/ConnectionLayer/ConnectionLayerTooltip.d.ts +26 -0
- package/map/components/ConnectionLayer/ConnectionLayerTooltip.js +15 -0
- package/map/components/ConnectionLayer/functions/get-arc-line-features.d.ts +18 -0
- package/map/components/ConnectionLayer/functions/get-arc-line-features.js +15 -0
- package/map/components/ConnectionLayer/functions/get-arrows-angles.d.ts +4 -0
- package/map/components/ConnectionLayer/functions/get-arrows-angles.js +15 -0
- package/map/components/ConnectionLayer/functions/get-straight-line-features.d.ts +18 -0
- package/map/components/ConnectionLayer/functions/get-straight-line-features.js +15 -0
- package/map/components/ConnectionLayer/functions/parse-connection-data-to-geo-json.d.ts +18 -0
- package/map/components/ConnectionLayer/functions/parse-connection-data-to-geo-json.js +15 -0
- package/map/components/ConnectionLayer/functions/parse-direction-data-to-geo-json.d.ts +7 -0
- package/map/components/ConnectionLayer/functions/parse-direction-data-to-geo-json.js +15 -0
- package/map/components/DefaultTooltip.d.ts +26 -0
- package/map/components/DefaultTooltip.js +15 -0
- package/map/components/DotLayer/BackgroundLayer.d.ts +25 -0
- package/map/components/DotLayer/BackgroundLayer.js +15 -0
- package/map/components/DotLayer/DotLayer.d.ts +25 -0
- package/map/components/DotLayer/DotLayer.js +15 -0
- package/map/components/DotLayer/DotLayerTooltip.d.ts +26 -0
- package/map/components/DotLayer/DotLayerTooltip.js +15 -0
- package/map/components/DotLayer/functions/calculate-circle-translate.d.ts +16 -0
- package/map/components/DotLayer/functions/calculate-circle-translate.js +15 -0
- package/map/components/DotLayer/functions/resolve-icon-background.d.ts +19 -0
- package/map/components/DotLayer/functions/resolve-icon-background.js +15 -0
- package/map/components/MapContent.d.ts +18 -0
- package/map/components/MapContent.js +15 -0
- package/map/components/legend/CategoricalLegendRenderer.d.ts +2 -0
- package/map/components/legend/CategoricalLegendRenderer.js +15 -0
- package/map/components/legend/MapLegendRenderer.d.ts +17 -0
- package/map/components/legend/MapLegendRenderer.js +15 -0
- package/map/components/legend/SequentialLegendRenderer.d.ts +17 -0
- package/map/components/legend/SequentialLegendRenderer.js +15 -0
- package/map/components/legend/ThresholdLegendRenderer.d.ts +17 -0
- package/map/components/legend/ThresholdLegendRenderer.js +15 -0
- package/map/components/legend/functions/resolve-color.d.ts +23 -0
- package/map/components/legend/functions/resolve-color.js +15 -0
- package/map/components/toolbar/MapToolbar.d.ts +20 -0
- package/map/components/toolbar/MapToolbar.js +15 -0
- package/map/components/toolbar/buttons/MapDownloadDataButton.d.ts +17 -0
- package/map/components/toolbar/buttons/MapDownloadDataButton.js +15 -0
- package/map/components/toolbar/buttons/MapResetButton.d.ts +17 -0
- package/map/components/toolbar/buttons/MapResetButton.js +15 -0
- package/map/components/toolbar/buttons/MapZoomInOutButtons.d.ts +17 -0
- package/map/components/toolbar/buttons/MapZoomInOutButtons.js +15 -0
- package/map/components/toolbar/buttons/MapZoomToFitButton.d.ts +20 -0
- package/map/components/toolbar/buttons/MapZoomToFitButton.js +15 -0
- package/map/components/toolbar/constants.d.ts +19 -0
- package/map/components/toolbar/constants.js +15 -0
- package/map/constants.d.ts +73 -0
- package/map/constants.js +15 -0
- package/map/contexts/a11y-toolbar-tab-index.context.d.ts +18 -0
- package/map/contexts/a11y-toolbar-tab-index.context.js +15 -0
- package/map/contexts/color-scale.context.d.ts +19 -0
- package/map/contexts/color-scale.context.js +15 -0
- package/map/contexts/layer-coloring-strategy.context.d.ts +2 -0
- package/map/contexts/layer-coloring-strategy.context.js +15 -0
- package/map/contexts/layer-ids.context.d.ts +17 -0
- package/map/contexts/layer-ids.context.js +15 -0
- package/map/contexts/map-configuration.context.d.ts +18 -0
- package/map/contexts/map-configuration.context.js +15 -0
- package/map/contexts/map-country-code.context.d.ts +17 -0
- package/map/contexts/map-country-code.context.js +15 -0
- package/map/contexts/map-data-bounding-box.context.d.ts +17 -0
- package/map/contexts/map-data-bounding-box.context.js +15 -0
- package/map/contexts/map-initial-view.context.d.ts +18 -0
- package/map/contexts/map-initial-view.context.js +15 -0
- package/map/contexts/map-raw-data.context.d.ts +17 -0
- package/map/contexts/map-raw-data.context.js +15 -0
- package/map/functions/__test__/fixtures/business-locations.d.ts +31 -0
- package/map/functions/__test__/fixtures/business-locations.js +15 -0
- package/map/functions/__test__/fixtures/connection-layer.d.ts +28 -0
- package/map/functions/__test__/fixtures/connection-layer.js +15 -0
- package/map/functions/__test__/fixtures/countries-stats.d.ts +31 -0
- package/map/functions/__test__/fixtures/countries-stats.js +15 -0
- package/map/functions/__test__/fixtures/csv-download-cases.d.ts +59 -0
- package/map/functions/__test__/fixtures/csv-download-cases.js +15 -0
- package/map/functions/__test__/fixtures/events-locations.d.ts +31 -0
- package/map/functions/__test__/fixtures/events-locations.js +15 -0
- package/map/functions/__test__/fixtures/facilities-locations.d.ts +40 -0
- package/map/functions/__test__/fixtures/facilities-locations.js +15 -0
- package/map/functions/__test__/fixtures/flight-connections.d.ts +26 -0
- package/map/functions/__test__/fixtures/flight-connections.js +15 -0
- package/map/functions/a11y-toolbar-controls.d.ts +22 -0
- package/map/functions/a11y-toolbar-controls.js +15 -0
- package/map/functions/attach-image-from-shape.d.ts +18 -0
- package/map/functions/attach-image-from-shape.js +15 -0
- package/map/functions/attach-image-from-string.d.ts +18 -0
- package/map/functions/attach-image-from-string.js +15 -0
- package/map/functions/attach-image-from-text.d.ts +17 -0
- package/map/functions/attach-image-from-text.js +15 -0
- package/map/functions/attach-image-to-map.d.ts +17 -0
- package/map/functions/attach-image-to-map.js +15 -0
- package/map/functions/build-and-download-csv.d.ts +6 -0
- package/map/functions/build-and-download-csv.js +15 -0
- package/map/functions/build-categorical-scale.d.ts +2 -0
- package/map/functions/build-categorical-scale.js +15 -0
- package/map/functions/build-scale-from-legend-config.d.ts +23 -0
- package/map/functions/build-scale-from-legend-config.js +15 -0
- package/map/functions/calculate-hovered-color.d.ts +1 -0
- package/map/functions/calculate-hovered-color.js +15 -0
- package/map/functions/create-bitmap-config-options.d.ts +16 -0
- package/map/functions/create-bitmap-config-options.js +15 -0
- package/map/functions/define-bearing.d.ts +17 -0
- package/map/functions/define-bearing.js +15 -0
- package/map/functions/define-color.d.ts +16 -0
- package/map/functions/define-color.js +15 -0
- package/map/functions/define-radius.d.ts +17 -0
- package/map/functions/define-radius.js +15 -0
- package/map/functions/extract-layers-data.d.ts +7 -0
- package/map/functions/extract-layers-data.js +15 -0
- package/map/functions/get-client-settings.d.ts +16 -0
- package/map/functions/get-client-settings.js +15 -0
- package/map/functions/get-color-from-token.d.ts +1 -0
- package/map/functions/get-color-from-token.js +15 -0
- package/map/functions/get-countries-geo-code.d.ts +16 -0
- package/map/functions/get-countries-geo-code.js +15 -0
- package/map/functions/get-data-layers-bounding-box.d.ts +17 -0
- package/map/functions/get-data-layers-bounding-box.js +15 -0
- package/map/functions/get-data-uri.d.ts +16 -0
- package/map/functions/get-data-uri.js +15 -0
- package/map/functions/get-map-states-template.d.ts +19 -0
- package/map/functions/get-map-states-template.js +15 -0
- package/map/functions/get-scaled-symbol-size.d.ts +17 -0
- package/map/functions/get-scaled-symbol-size.js +15 -0
- package/map/functions/get-tenant-country-code.d.ts +16 -0
- package/map/functions/get-tenant-country-code.js +15 -0
- package/map/functions/is-valid-shape.d.ts +18 -0
- package/map/functions/is-valid-shape.js +15 -0
- package/map/functions/iterate-config-slots.d.ts +23 -0
- package/map/functions/iterate-config-slots.js +15 -0
- package/map/functions/parse-dot-data-to-geo-json.d.ts +31 -0
- package/map/functions/parse-dot-data-to-geo-json.js +15 -0
- package/map/functions/parse-region-data-to-geo-json.d.ts +17 -0
- package/map/functions/parse-region-data-to-geo-json.js +15 -0
- package/map/functions/safe-reactdom-render.d.ts +22 -0
- package/map/functions/safe-reactdom-render.js +15 -0
- package/map/functions/set-layers-id.d.ts +25 -0
- package/map/functions/set-layers-id.js +15 -0
- package/map/functions/tabularize-layers-data.d.ts +27 -0
- package/map/functions/tabularize-layers-data.js +17 -0
- package/map/functions/to-mapbox-initial-view-state.d.ts +1 -0
- package/map/functions/to-mapbox-initial-view-state.js +15 -0
- package/map/functions/tooltip-type-guards.d.ts +32 -0
- package/map/functions/tooltip-type-guards.js +15 -0
- package/map/hooks/use-a11y-toolbar-tab-index.d.ts +22 -0
- package/map/hooks/use-a11y-toolbar-tab-index.js +15 -0
- package/map/hooks/use-active-interaction.d.ts +1 -0
- package/map/hooks/use-active-interaction.js +15 -0
- package/map/hooks/use-attach-image-from-icon.d.ts +18 -0
- package/map/hooks/use-attach-image-from-icon.js +15 -0
- package/map/hooks/use-attach-symbol-to-map.d.ts +18 -0
- package/map/hooks/use-attach-symbol-to-map.js +15 -0
- package/map/hooks/use-color-scale.d.ts +17 -0
- package/map/hooks/use-color-scale.js +15 -0
- package/map/hooks/use-connection-direction-interaction-highlighting.d.ts +1 -0
- package/map/hooks/use-connection-direction-interaction-highlighting.js +15 -0
- package/map/hooks/use-connection-interaction-highlighting.d.ts +1 -0
- package/map/hooks/use-connection-interaction-highlighting.js +15 -0
- package/map/hooks/use-data-bounding-box.d.ts +1 -0
- package/map/hooks/use-data-bounding-box.js +15 -0
- package/map/hooks/use-hover-interaction.d.ts +1 -0
- package/map/hooks/use-hover-interaction.js +15 -0
- package/map/hooks/use-initial-view-context.d.ts +1 -0
- package/map/hooks/use-initial-view-context.js +15 -0
- package/map/hooks/use-initial-view-state.d.ts +2 -0
- package/map/hooks/use-initial-view-state.js +15 -0
- package/map/hooks/use-layer-coloring-strategy.d.ts +1 -0
- package/map/hooks/use-layer-coloring-strategy.js +15 -0
- package/map/hooks/use-legend-interaction-highlighting.d.ts +5 -0
- package/map/hooks/use-legend-interaction-highlighting.js +15 -0
- package/map/hooks/use-legend-interaction-visibility.d.ts +5 -0
- package/map/hooks/use-legend-interaction-visibility.js +15 -0
- package/map/hooks/use-load-symbol-into-map.d.ts +21 -0
- package/map/hooks/use-load-symbol-into-map.js +15 -0
- package/map/hooks/use-map-config.d.ts +1 -0
- package/map/hooks/use-map-config.js +15 -0
- package/map/hooks/use-map-country-code.d.ts +1 -0
- package/map/hooks/use-map-country-code.js +15 -0
- package/map/hooks/use-map-raw-data.d.ts +1 -0
- package/map/hooks/use-map-raw-data.js +15 -0
- package/map/hooks/use-map-settings.d.ts +5 -0
- package/map/hooks/use-map-settings.js +15 -0
- package/map/hooks/use-map-source.d.ts +1 -0
- package/map/hooks/use-map-source.js +15 -0
- package/map/hooks/use-overlay-events.d.ts +24 -0
- package/map/hooks/use-overlay-events.js +15 -0
- package/map/hooks/use-resolve-color.d.ts +16 -0
- package/map/hooks/use-resolve-color.js +15 -0
- package/map/hooks/use-safe-svg-parser.d.ts +23 -0
- package/map/hooks/use-safe-svg-parser.js +15 -0
- package/map/hooks/use-tooltip-event-listeners.d.ts +16 -0
- package/map/hooks/use-tooltip-event-listeners.js +15 -0
- package/map/hooks/use-tooltip-template.d.ts +11 -0
- package/map/hooks/use-tooltip-template.js +15 -0
- package/map/hooks/useDefaultTooltipActions.d.ts +18 -0
- package/map/hooks/useDefaultTooltipActions.js +15 -0
- package/map/map-styles/default-style.d.ts +17 -0
- package/map/map-styles/default-style.js +15 -0
- package/map/providers/color-scale.provider.d.ts +15 -0
- package/map/providers/color-scale.provider.js +15 -0
- package/map/providers/layer-color-strategy.provider.d.ts +30 -0
- package/map/providers/layer-color-strategy.provider.js +15 -0
- package/map/providers/map-initial-view.provider.d.ts +28 -0
- package/map/providers/map-initial-view.provider.js +15 -0
- package/map/shapes/circle.d.ts +16 -0
- package/map/shapes/circle.js +32 -0
- package/map/shapes/cross.d.ts +16 -0
- package/map/shapes/cross.js +27 -0
- package/map/shapes/diamond.d.ts +16 -0
- package/map/shapes/diamond.js +20 -0
- package/map/shapes/heart.d.ts +16 -0
- package/map/shapes/heart.js +27 -0
- package/map/shapes/pin.d.ts +16 -0
- package/map/shapes/pin.js +21 -0
- package/map/shapes/shape-picker.d.ts +2 -0
- package/map/shapes/shape-picker.js +15 -0
- package/map/shapes/square.d.ts +16 -0
- package/map/shapes/square.js +18 -0
- package/map/shapes/star.d.ts +16 -0
- package/map/shapes/star.js +32 -0
- package/map/shapes/triangle.d.ts +16 -0
- package/map/shapes/triangle.js +27 -0
- package/map/slots/BubbleLayer.d.ts +31 -0
- package/map/slots/BubbleLayer.js +15 -0
- package/map/slots/BubbleLayerTooltip.d.ts +22 -0
- package/map/slots/BubbleLayerTooltip.js +15 -0
- package/map/slots/CategoricalLegend.d.ts +21 -0
- package/map/slots/CategoricalLegend.js +15 -0
- package/map/slots/ChartInteractions.d.ts +31 -0
- package/map/slots/ChartInteractions.js +15 -0
- package/map/slots/ChoroplethLayer.d.ts +31 -0
- package/map/slots/ChoroplethLayer.js +15 -0
- package/map/slots/ChoroplethLayerTooltip.d.ts +20 -0
- package/map/slots/ChoroplethLayerTooltip.js +15 -0
- package/map/slots/ConnectionLayer.d.ts +32 -0
- package/map/slots/ConnectionLayer.js +15 -0
- package/map/slots/ConnectionLayerTooltip.d.ts +21 -0
- package/map/slots/ConnectionLayerTooltip.js +15 -0
- package/map/slots/DotLayer.d.ts +33 -0
- package/map/slots/DotLayer.js +15 -0
- package/map/slots/DotLayerTooltip.d.ts +22 -0
- package/map/slots/DotLayerTooltip.js +15 -0
- package/map/slots/SequentialLegend.d.ts +21 -0
- package/map/slots/SequentialLegend.js +15 -0
- package/map/slots/ThresholdLegend.d.ts +21 -0
- package/map/slots/ThresholdLegend.js +15 -0
- package/map/slots/Tooltip.d.ts +29 -0
- package/map/slots/Tooltip.js +15 -0
- package/map/slots/Zoom.d.ts +22 -0
- package/map/slots/Zoom.js +15 -0
- package/map/slots/ZoomToFit.d.ts +22 -0
- package/map/slots/ZoomToFit.js +15 -0
- package/map/slots/states/DisabledState.d.ts +29 -0
- package/map/slots/states/DisabledState.js +15 -0
- package/map/slots/states/ErrorStateSlot.d.ts +20 -0
- package/map/slots/states/ErrorStateSlot.js +15 -0
- package/map/sources/CN.d.ts +16 -0
- package/map/sources/CN.js +15 -0
- package/map/sources/IL.d.ts +16 -0
- package/map/sources/IL.js +15 -0
- package/map/sources/IN.d.ts +16 -0
- package/map/sources/IN.js +15 -0
- package/map/sources/countries.d.ts +41 -0
- package/map/sources/countries.js +15 -0
- package/map/store/map-store.context.d.ts +20 -0
- package/map/store/map-store.context.js +15 -0
- package/map/store/map-store.provider.d.ts +17 -0
- package/map/store/map-store.provider.js +15 -0
- package/map/store/selectors.d.ts +30 -0
- package/map/store/selectors.js +15 -0
- package/map/store/store.d.ts +7 -0
- package/map/store/store.js +15 -0
- package/map/styles/react-mapgl-styles.css +671 -0
- package/map/types/bubble-layer.d.ts +85 -0
- package/map/types/bubble-layer.js +15 -0
- package/map/types/choropleth-layer.d.ts +40 -0
- package/map/types/choropleth-layer.js +15 -0
- package/map/types/coloring.d.ts +46 -0
- package/map/types/coloring.js +15 -0
- package/map/types/configuration.d.ts +25 -0
- package/map/types/configuration.js +15 -0
- package/map/types/connection-layer.d.ts +77 -0
- package/map/types/connection-layer.js +15 -0
- package/map/types/dot-layer.d.ts +62 -0
- package/map/types/dot-layer.js +15 -0
- package/map/types/legend.d.ts +85 -0
- package/map/types/legend.js +15 -0
- package/map/types/location.d.ts +22 -0
- package/map/types/location.js +15 -0
- package/map/types/map-view.d.ts +97 -0
- package/map/types/map-view.js +15 -0
- package/map/types/shapes.d.ts +18 -0
- package/map/types/shapes.js +15 -0
- package/map/types/state.d.ts +39 -0
- package/map/types/state.js +15 -0
- package/map/types/toolbar.d.ts +47 -0
- package/map/types/toolbar.js +15 -0
- package/map/types/tooltip.d.ts +77 -0
- package/map/types/tooltip.js +15 -0
- package/package.json +59 -0
|
@@ -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
|
+
*/
|
|
16
|
+
export declare const createBitmapConfigOptions: (containerSize?: number) => ImageBitmapOptions;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
var o=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var p=Object.prototype.hasOwnProperty;var g=(i,e)=>{for(var r in e)o(i,r,{get:e[r],enumerable:!0})},z=(i,e,r,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of n(e))!p.call(i,t)&&t!==r&&o(i,t,{get:()=>e[t],enumerable:!(a=m(e,t))||a.enumerable});return i};var c=i=>z(o({},"__esModule",{value:!0}),i);var u={};g(u,{createBitmapConfigOptions:()=>h});module.exports=c(u);var s=require("./get-scaled-symbol-size.js");/**
|
|
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 h=i=>{const e=(0,s.getScaledSymbolSize)(i)??(0,s.getScaledSymbolSize)();return{resizeHeight:e,resizeWidth:e,resizeQuality:"high"}};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2023 Dynatrace LLC
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { Location } from '../types/location.js';
|
|
17
|
+
export declare function defineBearing<T extends Location>(bearing: number | ((item: T) => number), feature: T): number;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
var r=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames;var f=Object.prototype.hasOwnProperty;var c=(e,n)=>{for(var t in n)r(e,t,{get:n[t],enumerable:!0})},p=(e,n,t,m)=>{if(n&&typeof n=="object"||typeof n=="function")for(let o of u(n))!f.call(e,o)&&o!==t&&r(e,o,{get:()=>n[o],enumerable:!(m=i(n,o))||m.enumerable});return e};var T=e=>p(r({},"__esModule",{value:!0}),e);var x={};c(x,{defineBearing:()=>d});module.exports=T(x);/**
|
|
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 d(e,n){return typeof e=="number"?e:e(n)}
|
|
@@ -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
|
+
*/
|
|
16
|
+
export declare const defineColor: <T>(color: string | ((item: T) => string), feature: T) => string;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
var s=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var T=Object.getOwnPropertyNames;var f=Object.prototype.hasOwnProperty;var p=(t,e)=>{for(var n in e)s(t,n,{get:e[n],enumerable:!0})},d=(t,e,n,g)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of T(e))!f.call(t,i)&&i!==n&&s(t,i,{get:()=>e[i],enumerable:!(g=r(e,i))||g.enumerable});return t};var m=t=>d(s({},"__esModule",{value:!0}),t);var x={};p(x,{defineColor:()=>o});module.exports=m(x);/**
|
|
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=(t,e)=>typeof t=="string"?t:t(e);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2023 Dynatrace LLC
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { Location } from '../types/location.js';
|
|
17
|
+
export declare function defineRadius<T extends Location>(radius: number | ((item: T) => number), feature: T): number;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
var m=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var u=Object.prototype.hasOwnProperty;var b=(e,n)=>{for(var t in n)m(e,t,{get:n[t],enumerable:!0})},c=(e,n,t,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let o of f(n))!u.call(e,o)&&o!==t&&m(e,o,{get:()=>n[o],enumerable:!(r=i(n,o))||r.enumerable});return e};var p=e=>c(m({},"__esModule",{value:!0}),e);var x={};b(x,{defineRadius:()=>T});module.exports=p(x);/**
|
|
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 T(e,n){return typeof e=="number"?e:e(n)}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
var C=Object.create;var c=Object.defineProperty;var D=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var k=Object.getPrototypeOf,x=Object.prototype.hasOwnProperty;var E=(e,o)=>{for(var a in o)c(e,a,{get:o[a],enumerable:!0})},i=(e,o,a,s)=>{if(o&&typeof o=="object"||typeof o=="function")for(let r of g(o))!x.call(e,r)&&r!==a&&c(e,r,{get:()=>o[r],enumerable:!(s=D(o,r))||s.enumerable});return e};var P=(e,o,a)=>(a=e!=null?C(k(e)):{},i(o||!e||!e.__esModule?c(a,"default",{value:e,enumerable:!0}):a,e)),R=e=>i(c({},"__esModule",{value:!0}),e);var w={};E(w,{extractLayersData:()=>v});module.exports=R(w);var f=require("lodash"),h=P(require("react")),y=require("react-is"),d=require("../components/BubbleLayer/BubbleLayer.js"),l=require("../components/ChoroplethLayer.js"),L=require("../components/ConnectionLayer/ConnectionLayer.js"),b=require("../components/DotLayer/DotLayer.js");/**
|
|
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 v=e=>{let o=[];return h.default.Children.forEach(e,a=>{if((0,y.isElement)(a)){const s=a.props.layerId;switch(a.type){case d.BubbleLayer:case b.DotLayer:{a.props.data.forEach(t=>{const n={...t,"layer-name":s};o=o.concat(n)});break}case L.ConnectionLayer:{a.props.data.forEach((t,n)=>{t.path.forEach((p,m)=>{const u={...p,"connection-name":`connection-${n+1}`,"connection-item-index":m,"layer-name":s};o.push(u)})});break}case l.ChoroplethLayer:{const{data:r,regionAccessor:t}=a.props;r.forEach(n=>{const p=(0,f.isString)(t)?n[t]:t(n),m={...n,region:p,"layer-name":s};o.push(m)});break}}}}),o};
|
|
@@ -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
|
+
*/
|
|
16
|
+
export declare const getClientSettings: () => Promise<boolean>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
var i=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var d=Object.getOwnPropertyNames;var a=Object.prototype.hasOwnProperty;var u=(t,e)=>{for(var n in e)i(t,n,{get:e[n],enumerable:!0})},c=(t,e,n,l)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of d(e))!a.call(t,s)&&s!==n&&i(t,s,{get:()=>e[s],enumerable:!(l=r(e,s))||l.enumerable});return t};var m=t=>c(i({},"__esModule",{value:!0}),t);var f={};u(f,{getClientSettings:()=>p});module.exports=m(f);var o=require("@dynatrace-sdk/client-classic-environment-v2");/**
|
|
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 p=()=>o.settingsObjectsClient.getSettingsObjects({schemaIds:"builtin:geo-settings",scopes:"environment",fields:"value"}).then(t=>{if(t){const e=t.items.find(n=>n.value?.displayWorldmap!==void 0);if(e!==void 0&&e.value!==void 0)return e.value.displayWorldmap}return!0}).catch(t=>!0);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getColorFromToken: (token: string) => string | undefined;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
var c=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var u=Object.prototype.hasOwnProperty;var i=(e,t)=>{for(var o in t)c(e,o,{get:t[o],enumerable:!0})},p=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of l(t))!u.call(e,r)&&r!==o&&c(e,r,{get:()=>t[r],enumerable:!(n=s(t,r))||n.enumerable});return e};var a=e=>p(c({},"__esModule",{value:!0}),e);var g={};i(g,{getColorFromToken:()=>d});module.exports=a(g);var m=require("lodash");/**
|
|
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 d=e=>{const t=document.documentElement;if((0,m.isNil)(t))return;const o=getComputedStyle(t),n=e.split(",")[0].replace("var(","");return o.getPropertyValue(n)};
|
|
@@ -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
|
+
*/
|
|
16
|
+
export declare const getCountriesWithGeoCode: (countryId?: string) => any;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
var m=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var N=Object.prototype.hasOwnProperty;var d=(o,r)=>{for(var e in r)m(o,e,{get:r[e],enumerable:!0})},g=(o,r,e,f)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of c(r))!N.call(o,t)&&t!==e&&m(o,t,{get:()=>r[t],enumerable:!(f=a(r,t))||f.enumerable});return o};var l=o=>g(m({},"__esModule",{value:!0}),o);var E={};d(E,{getCountriesWithGeoCode:()=>D});module.exports=l(E);var p=require("../constants.js"),n=require("../sources/CN.js"),s=require("../sources/countries.js"),C=require("../sources/IL.js"),u=require("../sources/IN.js");/**
|
|
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 i={CN:n.CN,IN:u.IN,IL:C.IL,default:s.countries},D=(o=p.DEFAULT_COUNTRY_CODE)=>i[o]?i[o]:i.default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2023 Dynatrace LLC
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import React from 'react';
|
|
17
|
+
export declare const getDataLayersBoundingBox: (children: React.ReactNode) => [number, number, number, number];
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
var f=Object.create;var a=Object.defineProperty;var y=Object.getOwnPropertyDescriptor;var E=Object.getOwnPropertyNames;var M=Object.getPrototypeOf,D=Object.prototype.hasOwnProperty;var C=(r,n)=>{for(var o in n)a(r,o,{get:n[o],enumerable:!0})},i=(r,n,o,t)=>{if(n&&typeof n=="object"||typeof n=="function")for(let e of E(n))!D.call(r,e)&&e!==o&&a(r,e,{get:()=>n[e],enumerable:!(t=y(n,e))||t.enumerable});return r};var I=(r,n,o)=>(o=r!=null?f(M(r)):{},i(n||!r||!r.__esModule?a(o,"default",{value:r,enumerable:!0}):o,r)),T=r=>i(a({},"__esModule",{value:!0}),r);var x={};C(x,{getDataLayersBoundingBox:()=>N});module.exports=T(x);var u=I(require("react")),b=require("react-is"),m=require("../constants.js"),c=require("../slots/BubbleLayer.js"),p=require("../slots/ConnectionLayer.js"),L=require("../slots/DotLayer.js");/**
|
|
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 s=(r,n)=>{const o=[...n];return r.forEach(({latitude:t,longitude:e})=>{o[0]=Math.min(o[0],e),o[1]=Math.min(o[1],t),o[2]=Math.max(o[2],e),o[3]=Math.max(o[3],t)}),o},N=r=>{let n=[m.MAX_LONGITUDE,m.MAX_LATITUDE,m.MIN_LONGITUDE,m.MIN_LATITUDE];return u.default.Children.forEach(r,o=>{if((0,b.isElement)(o))if(o.type===c.BubbleLayer||o.type===L.DotLayer){const t=o.props.data;n=s(t,n)}else o.type===p.ConnectionLayer&&o.props.data.forEach(({path:e})=>{n=s(e,n)})}),n};
|
|
@@ -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
|
+
*/
|
|
16
|
+
export declare function getDataUri(stringElement: string): string;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
var r=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var o=Object.getOwnPropertyNames;var u=Object.prototype.hasOwnProperty;var f=(t,a)=>{for(var n in a)r(t,n,{get:a[n],enumerable:!0})},m=(t,a,n,e)=>{if(a&&typeof a=="object"||typeof a=="function")for(let i of o(a))!u.call(t,i)&&i!==n&&r(t,i,{get:()=>a[i],enumerable:!(e=g(a,i))||e.enumerable});return t};var s=t=>m(r({},"__esModule",{value:!0}),t);var c={};f(c,{getDataUri:()=>x});module.exports=s(c);/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2023 Dynatrace LLC
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/function x(t){return["data:image/svg+xml;utf-8",t].join(",")}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2023 Dynatrace LLC
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import React from 'react';
|
|
17
|
+
export declare function getMapStatesTemplates(children: React.ReactNode): {
|
|
18
|
+
errorState: React.ReactNode | ((errorMessage: string) => JSX.Element);
|
|
19
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
var l=Object.create;var a=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var c=Object.getPrototypeOf,E=Object.prototype.hasOwnProperty;var d=(t,r)=>{for(var e in r)a(t,e,{get:r[e],enumerable:!0})},s=(t,r,e,p)=>{if(r&&typeof r=="object"||typeof r=="function")for(let o of f(r))!E.call(t,o)&&o!==e&&a(t,o,{get:()=>r[o],enumerable:!(p=n(r,o))||p.enumerable});return t};var h=(t,r,e)=>(e=t!=null?l(c(t)):{},s(r||!t||!t.__esModule?a(e,"default",{value:t,enumerable:!0}):e,t)),u=t=>s(a({},"__esModule",{value:!0}),t);var y={};d(y,{getMapStatesTemplates:()=>R});module.exports=u(y);var i=h(require("react")),m=require("react-is"),S=require("../slots/states/ErrorStateSlot.js");/**
|
|
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 R(t){let r;return i.default.Children.forEach(t,e=>{if((0,m.isElement)(e))switch(e.type){case S.ErrorStateSlot:{r=e.props.children;break}}}),{errorState:r}}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2023 Dynatrace LLC
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
/** Scales the icon size by dpr to preserve the size on HiDPI screens */
|
|
17
|
+
export declare const getScaledSymbolSize: (symbolSize?: number) => number;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
var S=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var r=Object.getOwnPropertyNames;var a=Object.prototype.hasOwnProperty;var d=(e,o)=>{for(var t in o)S(e,t,{get:o[t],enumerable:!0})},p=(e,o,t,c)=>{if(o&&typeof o=="object"||typeof o=="function")for(let i of r(o))!a.call(e,i)&&i!==t&&S(e,i,{get:()=>o[i],enumerable:!(c=m(o,i))||c.enumerable});return e};var x=e=>p(S({},"__esModule",{value:!0}),e);var L={};d(L,{getScaledSymbolSize:()=>E});module.exports=x(L);var l=require("../constants.js");/**
|
|
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=(e=l.DEFAULT_SYMBOL_SIZE)=>e*devicePixelRatio;
|
|
@@ -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
|
+
*/
|
|
16
|
+
export declare const getTenantCountryCode: () => Promise<string>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
var r=Object.defineProperty;var C=Object.getOwnPropertyDescriptor;var T=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var f=(t,n)=>{for(var o in n)r(t,o,{get:n[o],enumerable:!0})},g=(t,n,o,i)=>{if(n&&typeof n=="object"||typeof n=="function")for(let e of T(n))!c.call(t,e)&&e!==o&&r(t,e,{get:()=>n[e],enumerable:!(i=C(n,e))||i.enumerable});return t};var p=t=>g(r({},"__esModule",{value:!0}),t);var _={};f(_,{getTenantCountryCode:()=>s});module.exports=p(_);var m=require("@dynatrace-sdk/client-platform-management-service"),a=require("../constants.js");/**
|
|
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 s=()=>m.tenantsInformationClient.getTenantSettings({}).then(({countryCode:t})=>t??a.DEFAULT_COUNTRY_CODE).catch(t=>a.DEFAULT_COUNTRY_CODE);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2023 Dynatrace LLC
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { ReactNode } from 'react';
|
|
17
|
+
import { MapShape } from '../types/shapes.js';
|
|
18
|
+
export declare const isValidShape: (shape: MapShape | ReactNode) => shape is MapShape;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
var i=Object.defineProperty;var t=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var d=(a,e)=>{for(var r in e)i(a,r,{get:e[r],enumerable:!0})},n=(a,e,r,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let p of s(e))!c.call(a,p)&&p!==r&&i(a,p,{get:()=>e[p],enumerable:!(o=t(e,p))||o.enumerable});return a};var h=a=>n(i({},"__esModule",{value:!0}),a);var l={};d(l,{isValidShape:()=>m});module.exports=h(l);/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2023 Dynatrace LLC
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/const m=a=>typeof a=="string"&&["circle","square","diamond","heart","star","cross","triangle","pin"].includes(a);
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2023 Dynatrace LLC
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import React from 'react';
|
|
17
|
+
import { MapConfig } from '../types/configuration.js';
|
|
18
|
+
/**
|
|
19
|
+
* Generate map config based on slots
|
|
20
|
+
* @param children - Map children
|
|
21
|
+
* @returns Map slot config
|
|
22
|
+
*/
|
|
23
|
+
export declare const iterateConfigSlots: (children: React.ReactNode) => MapConfig;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
var b=Object.create;var a=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var C=Object.getOwnPropertyNames;var u=Object.getPrototypeOf,k=Object.prototype.hasOwnProperty;var R=(o,e)=>{for(var t in e)a(o,t,{get:e[t],enumerable:!0})},d=(o,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of C(e))!k.call(o,r)&&r!==t&&a(o,r,{get:()=>e[r],enumerable:!(n=h(e,r))||n.enumerable});return o};var y=(o,e,t)=>(t=o!=null?b(u(o)):{},d(e||!o||!o.__esModule?a(t,"default",{value:o,enumerable:!0}):t,o)),E=o=>d(a({},"__esModule",{value:!0}),o);var S={};R(S,{iterateConfigSlots:()=>T});module.exports=E(S);var i=y(require("react")),s=require("react-is"),p=require("@dynatrace/strato-components-preview/charts"),m=require("../slots/CategoricalLegend.js"),c=require("../slots/ChartInteractions.js"),f=require("../slots/SequentialLegend.js"),g=require("../slots/ThresholdLegend.js");/**
|
|
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=o=>{let e={toolbar:void 0,interactions:void 0,legend:void 0};return i.default.Children.forEach(o,t=>{if((0,s.isElement)(t))switch(t.type){case c.ChartInteractions:{const{children:n,...r}=t.props,l=w(n);e={...e,interactions:{...r,...l}};break}case p.ChartToolbar:{const{children:n,...r}=t.props,l=I(n);e={...e,toolbar:{...r,...l}};break}case f.SequentialLegend:{const{children:n,...r}=t.props;e={...e,legend:{type:"sequential",...r}};break}case m.CategoricalLegend:{const{children:n,...r}=t.props;e={...e,legend:{type:"categorical",...r}};break}case g.ThresholdLegend:{const{children:n,...r}=t.props;e={...e,legend:{type:"threshold",...r}};break}}}),e},w=o=>{let e={};return i.default.Children.forEach(o,t=>{if((0,s.isElement)(t))switch(t.type){case c.ChartInteractions.Zoom:e={...e,zoom:{enabled:!0}};break;case c.ChartInteractions.ZoomToFit:e={...e,zoomToFit:{enabled:!0}};break}}),e},I=o=>{let e={};return i.default.Children.forEach(o,t=>{(0,s.isElement)(t)&&t.type===p.ChartToolbar.DownloadData&&(e={...e,downloadData:{enabled:!0}})}),e};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2023 Dynatrace LLC
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { Location } from '../types/location.js';
|
|
17
|
+
export declare const parseDotDataToGeoJSON: <T extends Location>(data: T[], color: string | ((item: T) => string), bearing: number | ((item: T) => number)) => {
|
|
18
|
+
type: string;
|
|
19
|
+
features: {
|
|
20
|
+
type: string;
|
|
21
|
+
properties: Omit<T, "latitude" | "longitude"> & {
|
|
22
|
+
__color: string;
|
|
23
|
+
__hoveredColor: string;
|
|
24
|
+
__bearing: number;
|
|
25
|
+
};
|
|
26
|
+
geometry: {
|
|
27
|
+
type: string;
|
|
28
|
+
coordinates: number[];
|
|
29
|
+
};
|
|
30
|
+
}[];
|
|
31
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
var i=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames;var _=Object.prototype.hasOwnProperty;var f=(e,o)=>{for(var t in o)i(e,t,{get:o[t],enumerable:!0})},v=(e,o,t,n)=>{if(o&&typeof o=="object"||typeof o=="function")for(let r of u(o))!_.call(e,r)&&r!==t&&i(e,r,{get:()=>o[r],enumerable:!(n=g(o,r))||n.enumerable});return e};var T=e=>v(i({},"__esModule",{value:!0}),e);var b={};f(b,{parseDotDataToGeoJSON:()=>y});module.exports=T(b);var m=require("@dynatrace/strato-components-preview/charts"),s=require("./calculate-hovered-color.js"),p=require("./define-bearing.js"),l=require("./define-color.js");/**
|
|
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 y=(e,o,t)=>({type:"FeatureCollection",features:e.map(n=>{const{longitude:r,latitude:c,...C}=n,a=(0,m._getCanvasColor)((0,l.defineColor)(o,n)),d=(0,s.calculateHoveredColor)(a);return{type:"Feature",properties:{...C,__color:a,__hoveredColor:d,__bearing:(0,p.defineBearing)(t,n)},geometry:{type:"Point",coordinates:[r,c]}}})});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2023 Dynatrace LLC
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { ThemeOptions } from '@dynatrace/strato-components-preview/core';
|
|
17
|
+
export declare const parseRegionDataToGeoJSON: <T extends Record<string, unknown>>(mapSource: GeoJSON.FeatureCollection, data: T[], regionAccessor: string | ((i: T) => string), color: string | ((i: T) => string), theme: ThemeOptions) => GeoJSON.FeatureCollection;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
var c=Object.defineProperty;var v=Object.getOwnPropertyDescriptor;var O=Object.getOwnPropertyNames;var _=Object.prototype.hasOwnProperty;var F=(o,e)=>{for(var t in e)c(o,t,{get:e[t],enumerable:!0})},G=(o,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of O(e))!_.call(o,r)&&r!==t&&c(o,r,{get:()=>e[r],enumerable:!(n=v(e,r))||n.enumerable});return o};var J=o=>G(c({},"__esModule",{value:!0}),o);var S={};F(S,{parseRegionDataToGeoJSON:()=>N});module.exports=J(S);var p=require("@dynatrace/strato-components-preview/charts"),d=require("@dynatrace/strato-components-preview/core"),C=require("./calculate-hovered-color.js"),g=require("./define-color.js");/**
|
|
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=(o,e,t,n,r)=>({type:"FeatureCollection",features:e.reduce((u,s)=>{let a="";typeof t=="function"?a=t(s):a=(0,d._accessValue)(s,t);const i=o.features.find(l=>l.id===a);if(i!==void 0){const l=(0,g.defineColor)(n,s),f=(0,p._getCanvasColor)(l),m=(0,C.calculateHoveredColor)(f),{n:T}=i.properties,h={...i,properties:{name:T,...s,__color:f,__hoveredColor:m}};u.push(h)}return u},[])});
|