@carto/kepler.gl 0.1.0-alpha.1 → 0.1.0-next.0
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/dist/actions/action-wrapper.d.ts +115 -115
- package/dist/actions/action-wrapper.js +190 -0
- package/dist/actions/actions.d.ts +195 -195
- package/dist/actions/actions.js +194 -0
- package/dist/actions/identity-actions.d.ts +61 -61
- package/dist/actions/identity-actions.js +101 -0
- package/dist/actions/index.d.ts +9 -9
- package/dist/actions/index.js +144 -0
- package/dist/actions/map-state-actions.d.ts +69 -69
- package/dist/actions/map-state-actions.js +106 -0
- package/dist/actions/map-style-actions.d.ts +146 -146
- package/dist/actions/map-style-actions.js +176 -0
- package/dist/actions/provider-actions.d.ts +153 -153
- package/dist/actions/provider-actions.js +144 -0
- package/dist/actions/ui-state-actions.d.ts +300 -300
- package/dist/actions/ui-state-actions.js +356 -0
- package/dist/actions/vis-state-actions.d.ts +821 -821
- package/dist/actions/vis-state-actions.js +900 -0
- package/dist/cloud-providers/index.d.ts +2 -2
- package/dist/cloud-providers/index.js +22 -0
- package/dist/cloud-providers/provider.d.ts +176 -176
- package/dist/cloud-providers/provider.js +346 -0
- package/dist/components/bottom-widget.d.ts +47 -47
- package/dist/components/bottom-widget.js +217 -0
- package/dist/components/common/action-panel.d.ts +27 -27
- package/dist/components/common/action-panel.js +133 -0
- package/dist/components/common/animation-control/animation-control.d.ts +24 -24
- package/dist/components/common/animation-control/animation-control.js +129 -0
- package/dist/components/common/animation-control/animation-controller.d.ts +16 -16
- package/dist/components/common/animation-control/animation-controller.js +270 -0
- package/dist/components/common/animation-control/animation-speed-slider.d.ts +12 -12
- package/dist/components/common/animation-control/animation-speed-slider.js +88 -0
- package/dist/components/common/animation-control/floating-time-display.d.ts +9 -9
- package/dist/components/common/animation-control/floating-time-display.js +149 -0
- package/dist/components/common/animation-control/playback-controls.d.ts +72 -72
- package/dist/components/common/animation-control/playback-controls.js +261 -0
- package/dist/components/common/animation-control/speed-control.d.ts +13 -13
- package/dist/components/common/animation-control/speed-control.js +70 -0
- package/dist/components/common/checkbox.d.ts +35 -35
- package/dist/components/common/checkbox.js +117 -0
- package/dist/components/common/color-legend.d.ts +43 -43
- package/dist/components/common/color-legend.js +205 -0
- package/dist/components/common/data-table/button.d.ts +8 -8
- package/dist/components/common/data-table/button.js +53 -0
- package/dist/components/common/data-table/canvas.d.ts +2 -2
- package/dist/components/common/data-table/canvas.js +43 -0
- package/dist/components/common/data-table/cell-size.d.ts +36 -36
- package/dist/components/common/data-table/cell-size.js +170 -0
- package/dist/components/common/data-table/grid.d.ts +7 -7
- package/dist/components/common/data-table/grid.js +90 -0
- package/dist/components/common/data-table/index.d.ts +143 -143
- package/dist/components/common/data-table/index.js +469 -0
- package/dist/components/common/data-table/option-dropdown.d.ts +14 -14
- package/dist/components/common/data-table/option-dropdown.js +99 -0
- package/dist/components/common/dataset-label.d.ts +10 -10
- package/dist/components/common/dataset-label.js +44 -0
- package/dist/components/common/error-boundary.d.ts +16 -16
- package/dist/components/common/error-boundary.js +76 -0
- package/dist/components/common/field-selector.d.ts +47 -47
- package/dist/components/common/field-selector.js +214 -0
- package/dist/components/common/field-token.d.ts +45 -45
- package/dist/components/common/field-token.js +47 -0
- package/dist/components/common/file-uploader/file-drop.d.ts +54 -54
- package/dist/components/common/file-uploader/file-drop.js +213 -0
- package/dist/components/common/file-uploader/file-upload-progress.d.ts +8 -8
- package/dist/components/common/file-uploader/file-upload-progress.js +103 -0
- package/dist/components/common/file-uploader/file-upload.d.ts +27 -27
- package/dist/components/common/file-uploader/file-upload.js +263 -0
- package/dist/components/common/file-uploader/upload-button.d.ts +8 -8
- package/dist/components/common/file-uploader/upload-button.js +76 -0
- package/dist/components/common/histogram-plot.d.ts +3 -3
- package/dist/components/common/histogram-plot.js +112 -0
- package/dist/components/common/icons/add.d.ts +9 -9
- package/dist/components/common/icons/add.js +58 -0
- package/dist/components/common/icons/anchor_window.d.ts +11 -11
- package/dist/components/common/icons/anchor_window.js +51 -0
- package/dist/components/common/icons/arrow-down-alt.d.ts +9 -9
- package/dist/components/common/icons/arrow-down-alt.js +58 -0
- package/dist/components/common/icons/arrow-down-solid.d.ts +9 -9
- package/dist/components/common/icons/arrow-down-solid.js +58 -0
- package/dist/components/common/icons/arrow-down.d.ts +9 -9
- package/dist/components/common/icons/arrow-down.js +58 -0
- package/dist/components/common/icons/arrow-left.d.ts +9 -9
- package/dist/components/common/icons/arrow-left.js +61 -0
- package/dist/components/common/icons/arrow-right.d.ts +9 -9
- package/dist/components/common/icons/arrow-right.js +58 -0
- package/dist/components/common/icons/arrow-up-alt.d.ts +9 -9
- package/dist/components/common/icons/arrow-up-alt.js +59 -0
- package/dist/components/common/icons/arrow-up-solid.d.ts +9 -9
- package/dist/components/common/icons/arrow-up-solid.js +58 -0
- package/dist/components/common/icons/arrow-up.d.ts +9 -9
- package/dist/components/common/icons/arrow-up.js +58 -0
- package/dist/components/common/icons/base.d.ts +29 -29
- package/dist/components/common/icons/base.js +94 -0
- package/dist/components/common/icons/bug.d.ts +9 -9
- package/dist/components/common/icons/bug.js +60 -0
- package/dist/components/common/icons/cancel.d.ts +9 -9
- package/dist/components/common/icons/cancel.js +58 -0
- package/dist/components/common/icons/checkmark.d.ts +10 -10
- package/dist/components/common/icons/checkmark.js +64 -0
- package/dist/components/common/icons/chevron-right.js +68 -0
- package/dist/components/common/icons/clipboard.d.ts +9 -9
- package/dist/components/common/icons/clipboard.js +59 -0
- package/dist/components/common/icons/clock.d.ts +9 -9
- package/dist/components/common/icons/clock.js +60 -0
- package/dist/components/common/icons/close.d.ts +9 -9
- package/dist/components/common/icons/close.js +63 -0
- package/dist/components/common/icons/code-alt.d.ts +9 -9
- package/dist/components/common/icons/code-alt.js +61 -0
- package/dist/components/common/icons/copy.d.ts +9 -9
- package/dist/components/common/icons/copy.js +63 -0
- package/dist/components/common/icons/crosshairs.d.ts +9 -9
- package/dist/components/common/icons/crosshairs.js +61 -0
- package/dist/components/common/icons/cube-3d.d.ts +9 -9
- package/dist/components/common/icons/cube-3d.js +62 -0
- package/dist/components/common/icons/cursor-click.d.ts +9 -9
- package/dist/components/common/icons/cursor-click.js +62 -0
- package/dist/components/common/icons/data-table.d.ts +10 -10
- package/dist/components/common/icons/data-table.js +59 -0
- package/dist/components/common/icons/db.d.ts +10 -10
- package/dist/components/common/icons/db.js +59 -0
- package/dist/components/common/icons/delete.d.ts +9 -9
- package/dist/components/common/icons/delete.js +60 -0
- package/dist/components/common/icons/docs.d.ts +9 -9
- package/dist/components/common/icons/docs.js +74 -0
- package/dist/components/common/icons/drag-n-drop.d.ts +9 -9
- package/dist/components/common/icons/drag-n-drop.js +60 -0
- package/dist/components/common/icons/draw-polygon.d.ts +10 -10
- package/dist/components/common/icons/draw-polygon.js +78 -0
- package/dist/components/common/icons/email.d.ts +9 -9
- package/dist/components/common/icons/email.js +62 -0
- package/dist/components/common/icons/expand.d.ts +9 -9
- package/dist/components/common/icons/expand.js +60 -0
- package/dist/components/common/icons/eye-seen.d.ts +9 -9
- package/dist/components/common/icons/eye-seen.js +60 -0
- package/dist/components/common/icons/eye-unseen.d.ts +9 -9
- package/dist/components/common/icons/eye-unseen.js +60 -0
- package/dist/components/common/icons/file-type.d.ts +8 -8
- package/dist/components/common/icons/file-type.js +52 -0
- package/dist/components/common/icons/file.d.ts +9 -9
- package/dist/components/common/icons/file.js +58 -0
- package/dist/components/common/icons/files.d.ts +9 -9
- package/dist/components/common/icons/files.js +58 -0
- package/dist/components/common/icons/filter-funnel.d.ts +9 -9
- package/dist/components/common/icons/filter-funnel.js +58 -0
- package/dist/components/common/icons/free-window.d.ts +11 -11
- package/dist/components/common/icons/free-window.js +51 -0
- package/dist/components/common/icons/gear.d.ts +9 -9
- package/dist/components/common/icons/gear.js +60 -0
- package/dist/components/common/icons/hash.d.ts +9 -9
- package/dist/components/common/icons/hash.js +58 -0
- package/dist/components/common/icons/histogram.d.ts +9 -9
- package/dist/components/common/icons/histogram.js +58 -0
- package/dist/components/common/icons/index.d.ts +78 -78
- package/dist/components/common/icons/index.js +551 -0
- package/dist/components/common/icons/info.d.ts +12 -12
- package/dist/components/common/icons/info.js +71 -0
- package/dist/components/common/icons/layers.d.ts +9 -9
- package/dist/components/common/icons/layers.js +58 -0
- package/dist/components/common/icons/left-arrow.d.ts +9 -9
- package/dist/components/common/icons/left-arrow.js +61 -0
- package/dist/components/common/icons/legend.d.ts +9 -9
- package/dist/components/common/icons/legend.js +58 -0
- package/dist/components/common/icons/line-chart.d.ts +9 -9
- package/dist/components/common/icons/line-chart.js +58 -0
- package/dist/components/common/icons/login.d.ts +9 -9
- package/dist/components/common/icons/login.js +61 -0
- package/dist/components/common/icons/logout.d.ts +9 -9
- package/dist/components/common/icons/logout.js +60 -0
- package/dist/components/common/icons/map-icon.d.ts +11 -11
- package/dist/components/common/icons/map-icon.js +65 -0
- package/dist/components/common/icons/map.d.ts +11 -11
- package/dist/components/common/icons/map.js +65 -0
- package/dist/components/common/icons/messages.d.ts +9 -9
- package/dist/components/common/icons/messages.js +58 -0
- package/dist/components/common/icons/minus.d.ts +9 -9
- package/dist/components/common/icons/minus.js +58 -0
- package/dist/components/common/icons/order-by-dataset.d.ts +12 -12
- package/dist/components/common/icons/order-by-dataset.js +51 -0
- package/dist/components/common/icons/order-by-list.d.ts +12 -12
- package/dist/components/common/icons/order-by-list.js +43 -0
- package/dist/components/common/icons/pause.d.ts +9 -9
- package/dist/components/common/icons/pause.js +58 -0
- package/dist/components/common/icons/picture.d.ts +9 -9
- package/dist/components/common/icons/picture.js +58 -0
- package/dist/components/common/icons/pin.d.ts +9 -9
- package/dist/components/common/icons/pin.js +62 -0
- package/dist/components/common/icons/play.d.ts +9 -9
- package/dist/components/common/icons/play.js +58 -0
- package/dist/components/common/icons/polygon.d.ts +10 -10
- package/dist/components/common/icons/polygon.js +80 -0
- package/dist/components/common/icons/rectangle.d.ts +10 -10
- package/dist/components/common/icons/rectangle.js +81 -0
- package/dist/components/common/icons/reduce.d.ts +9 -9
- package/dist/components/common/icons/reduce.js +61 -0
- package/dist/components/common/icons/reset.d.ts +9 -9
- package/dist/components/common/icons/reset.js +58 -0
- package/dist/components/common/icons/rocket.d.ts +9 -9
- package/dist/components/common/icons/rocket.js +58 -0
- package/dist/components/common/icons/save.d.ts +9 -9
- package/dist/components/common/icons/save.js +60 -0
- package/dist/components/common/icons/save2.d.ts +9 -9
- package/dist/components/common/icons/save2.js +64 -0
- package/dist/components/common/icons/search.d.ts +9 -9
- package/dist/components/common/icons/search.js +60 -0
- package/dist/components/common/icons/settings.d.ts +9 -9
- package/dist/components/common/icons/settings.js +60 -0
- package/dist/components/common/icons/share.d.ts +9 -9
- package/dist/components/common/icons/share.js +58 -0
- package/dist/components/common/icons/split.d.ts +9 -9
- package/dist/components/common/icons/split.js +86 -0
- package/dist/components/common/icons/square-select.d.ts +9 -9
- package/dist/components/common/icons/square-select.js +60 -0
- package/dist/components/common/icons/swap-horizontal.js +66 -0
- package/dist/components/common/icons/table.d.ts +9 -9
- package/dist/components/common/icons/table.js +58 -0
- package/dist/components/common/icons/trash.d.ts +9 -9
- package/dist/components/common/icons/trash.js +60 -0
- package/dist/components/common/icons/upload.d.ts +9 -9
- package/dist/components/common/icons/upload.js +58 -0
- package/dist/components/common/icons/vert-dots.d.ts +9 -9
- package/dist/components/common/icons/vert-dots.js +96 -0
- package/dist/components/common/icons/vert-three-dots.d.ts +9 -9
- package/dist/components/common/icons/vert-three-dots.js +71 -0
- package/dist/components/common/icons/warning.d.ts +10 -10
- package/dist/components/common/icons/warning.js +72 -0
- package/dist/components/common/image-preview.d.ts +15 -15
- package/dist/components/common/image-preview.js +79 -0
- package/dist/components/common/info-helper.d.ts +11 -11
- package/dist/components/common/info-helper.js +79 -0
- package/dist/components/common/item-selector/accessor.d.ts +7 -7
- package/dist/components/common/item-selector/accessor.js +54 -0
- package/dist/components/common/item-selector/chickleted-input.d.ts +21 -21
- package/dist/components/common/item-selector/chickleted-input.js +96 -0
- package/dist/components/common/item-selector/dropdown-list.d.ts +68 -68
- package/dist/components/common/item-selector/dropdown-list.js +279 -0
- package/dist/components/common/item-selector/item-selector-submenu.js +88 -0
- package/dist/components/common/item-selector/item-selector.d.ts +91 -91
- package/dist/components/common/item-selector/item-selector.js +282 -0
- package/dist/components/common/item-selector/typeahead.d.ts +115 -115
- package/dist/components/common/item-selector/typeahead.js +425 -0
- package/dist/components/common/line-chart.d.ts +34 -34
- package/dist/components/common/line-chart.js +127 -0
- package/dist/components/common/loading-spinner.d.ts +9 -9
- package/dist/components/common/loading-spinner.js +64 -0
- package/dist/components/common/logo.d.ts +8 -8
- package/dist/components/common/logo.js +85 -0
- package/dist/components/common/map-layer-selector.d.ts +13 -13
- package/dist/components/common/map-layer-selector.js +56 -0
- package/dist/components/common/modal.d.ts +49 -49
- package/dist/components/common/modal.js +165 -0
- package/dist/components/common/portaled.d.ts +527 -527
- package/dist/components/common/portaled.js +277 -0
- package/dist/components/common/progress-bar.d.ts +12 -12
- package/dist/components/common/progress-bar.js +64 -0
- package/dist/components/common/range-brush.d.ts +19 -19
- package/dist/components/common/range-brush.js +277 -0
- package/dist/components/common/range-plot.d.ts +35 -35
- package/dist/components/common/range-plot.js +130 -0
- package/dist/components/common/range-slider.d.ts +32 -32
- package/dist/components/common/range-slider.js +305 -0
- package/dist/components/common/slider/mouse-event.d.ts +27 -27
- package/dist/components/common/slider/mouse-event.js +115 -0
- package/dist/components/common/slider/slider-bar-handle.d.ts +29 -29
- package/dist/components/common/slider/slider-bar-handle.js +105 -0
- package/dist/components/common/slider/slider-handle.d.ts +33 -33
- package/dist/components/common/slider/slider-handle.js +151 -0
- package/dist/components/common/slider/slider.d.ts +70 -70
- package/dist/components/common/slider/slider.js +221 -0
- package/dist/components/common/styled-components.d.ts +119 -119
- package/dist/components/common/styled-components.js +300 -0
- package/dist/components/common/switch.d.ts +16 -16
- package/dist/components/common/switch.js +38 -0
- package/dist/components/common/time-range-slider-time-title.d.ts +9 -9
- package/dist/components/common/time-range-slider-time-title.js +79 -0
- package/dist/components/common/time-range-slider.d.ts +32 -32
- package/dist/components/common/time-range-slider.js +116 -0
- package/dist/components/common/time-slider-marker.d.ts +21 -21
- package/dist/components/common/time-slider-marker.js +136 -0
- package/dist/components/common/tippy-tooltip.d.ts +4 -4
- package/dist/components/common/tippy-tooltip.js +115 -0
- package/dist/components/common/toolbar-item.d.ts +14 -14
- package/dist/components/common/toolbar-item.js +75 -0
- package/dist/components/common/toolbar.d.ts +5 -5
- package/dist/components/common/toolbar.js +44 -0
- package/dist/components/common/vertical-toolbar.d.ts +3 -3
- package/dist/components/common/vertical-toolbar.js +33 -0
- package/dist/components/container.d.ts +39 -39
- package/dist/components/container.js +203 -0
- package/dist/components/context.d.ts +7 -7
- package/dist/components/context.js +38 -0
- package/dist/components/editor/constants.d.ts +17 -17
- package/dist/components/editor/constants.js +45 -0
- package/dist/components/editor/editor.d.ts +29 -29
- package/dist/components/editor/editor.js +226 -0
- package/dist/components/editor/feature-action-panel.d.ts +27 -27
- package/dist/components/editor/feature-action-panel.js +141 -0
- package/dist/components/editor/feature-styles.d.ts +24 -24
- package/dist/components/editor/feature-styles.js +67 -0
- package/dist/components/editor/handle-style.d.ts +38 -38
- package/dist/components/editor/handle-style.js +78 -0
- package/dist/components/filters/components.d.ts +1 -3
- package/dist/components/filters/components.js +31 -0
- package/dist/components/filters/filter-panels/filter-panel-with-field-select.d.ts +10 -10
- package/dist/components/filters/filter-panels/filter-panel-with-field-select.js +96 -0
- package/dist/components/filters/filter-panels/multi-select-filter-panel.d.ts +9 -9
- package/dist/components/filters/filter-panels/multi-select-filter-panel.js +66 -0
- package/dist/components/filters/filter-panels/new-filter-panel.d.ts +12 -12
- package/dist/components/filters/filter-panels/new-filter-panel.js +85 -0
- package/dist/components/filters/filter-panels/polygon-filter-panel.d.ts +9 -9
- package/dist/components/filters/filter-panels/polygon-filter-panel.js +85 -0
- package/dist/components/filters/filter-panels/range-filter-panel.d.ts +9 -9
- package/dist/components/filters/filter-panels/range-filter-panel.js +66 -0
- package/dist/components/filters/filter-panels/single-select-filter-panel.d.ts +9 -9
- package/dist/components/filters/filter-panels/single-select-filter-panel.js +66 -0
- package/dist/components/filters/filter-panels/time-range-filter-panel.d.ts +8 -8
- package/dist/components/filters/filter-panels/time-range-filter-panel.js +80 -0
- package/dist/components/filters/filter-panels/types.d.ts +36 -36
- package/dist/components/filters/filter-panels/types.js +6 -0
- package/dist/components/filters/index.d.ts +5 -5
- package/dist/components/filters/index.js +42 -0
- package/dist/components/filters/multi-select-filter.d.ts +3 -3
- package/dist/components/filters/multi-select-filter.js +48 -0
- package/dist/components/filters/polygon-filter.d.ts +4 -4
- package/dist/components/filters/polygon-filter.js +85 -0
- package/dist/components/filters/range-filter.d.ts +8 -8
- package/dist/components/filters/range-filter.js +48 -0
- package/dist/components/filters/single-select-filter.d.ts +3 -3
- package/dist/components/filters/single-select-filter.js +57 -0
- package/dist/components/filters/time-range-filter.d.ts +28 -28
- package/dist/components/filters/time-range-filter.js +75 -0
- package/dist/components/filters/time-widget.d.ts +14 -14
- package/dist/components/filters/time-widget.js +162 -0
- package/dist/components/filters/types.d.ts +53 -53
- package/dist/components/filters/types.js +6 -0
- package/dist/components/geocoder/geocoder.d.ts +33 -33
- package/dist/components/geocoder/geocoder.js +282 -0
- package/dist/components/geocoder-panel.d.ts +28 -28
- package/dist/components/geocoder-panel.js +192 -0
- package/dist/components/index.d.ts +165 -165
- package/dist/components/index.js +1474 -0
- package/dist/components/injector.d.ts +25 -25
- package/dist/components/injector.js +162 -0
- package/dist/components/kepler-gl.d.ts +302 -302
- package/dist/components/kepler-gl.js +487 -0
- package/dist/components/map/coordinate-info.d.ts +7 -7
- package/dist/components/map/coordinate-info.js +59 -0
- package/dist/components/map/layer-hover-info.d.ts +13 -13
- package/dist/components/map/layer-hover-info.js +167 -0
- package/dist/components/map/layer-selector-panel.d.ts +22 -22
- package/dist/components/map/layer-selector-panel.js +103 -0
- package/dist/components/map/locale-panel.d.ts +16 -16
- package/dist/components/map/locale-panel.js +103 -0
- package/dist/components/map/map-control-panel.d.ts +14 -14
- package/dist/components/map/map-control-panel.js +97 -0
- package/dist/components/map/map-control-toolbar.d.ts +2 -2
- package/dist/components/map/map-control-toolbar.js +35 -0
- package/dist/components/map/map-control-tooltip.d.ts +7 -7
- package/dist/components/map/map-control-tooltip.js +48 -0
- package/dist/components/map/map-control.d.ts +44 -44
- package/dist/components/map/map-control.js +79 -0
- package/dist/components/map/map-draw-panel.d.ts +21 -21
- package/dist/components/map/map-draw-panel.js +131 -0
- package/dist/components/map/map-legend-panel.d.ts +23 -23
- package/dist/components/map/map-legend-panel.js +152 -0
- package/dist/components/map/map-legend.d.ts +55 -55
- package/dist/components/map/map-legend.js +234 -0
- package/dist/components/map/map-popover.d.ts +37 -37
- package/dist/components/map/map-popover.js +191 -0
- package/dist/components/map/split-map-button.d.ts +19 -19
- package/dist/components/map/split-map-button.js +89 -0
- package/dist/components/map/toggle-3d-button.d.ts +16 -16
- package/dist/components/map/toggle-3d-button.js +79 -0
- package/dist/components/map-container.d.ts +58 -58
- package/dist/components/map-container.js +502 -0
- package/dist/components/maps-layout.d.ts +10 -10
- package/dist/components/maps-layout.js +57 -0
- package/dist/components/modal-container.d.ts +65 -65
- package/dist/components/modal-container.js +459 -0
- package/dist/components/modals/add-map-style-modal.d.ts +17 -17
- package/dist/components/modals/add-map-style-modal.js +250 -0
- package/dist/components/modals/cloud-tile.d.ts +15 -15
- package/dist/components/modals/cloud-tile.js +124 -0
- package/dist/components/modals/data-table-modal.d.ts +29 -29
- package/dist/components/modals/data-table-modal.js +223 -0
- package/dist/components/modals/delete-data-modal.d.ts +10 -10
- package/dist/components/modals/delete-data-modal.js +58 -0
- package/dist/components/modals/error-display.d.ts +6 -6
- package/dist/components/modals/error-display.js +44 -0
- package/dist/components/modals/export-data-modal.d.ts +25 -25
- package/dist/components/modals/export-data-modal.js +194 -0
- package/dist/components/modals/export-image-modal.d.ts +18 -18
- package/dist/components/modals/export-image-modal.js +139 -0
- package/dist/components/modals/export-map-modal/components.d.ts +8 -8
- package/dist/components/modals/export-map-modal/components.js +51 -0
- package/dist/components/modals/export-map-modal/export-html-map.d.ts +12 -12
- package/dist/components/modals/export-map-modal/export-html-map.js +140 -0
- package/dist/components/modals/export-map-modal/export-json-map.d.ts +9 -9
- package/dist/components/modals/export-map-modal/export-json-map.js +98 -0
- package/dist/components/modals/export-map-modal/export-map-modal.d.ts +27 -27
- package/dist/components/modals/export-map-modal/export-map-modal.js +101 -0
- package/dist/components/modals/image-modal-container.d.ts +18 -18
- package/dist/components/modals/image-modal-container.js +83 -0
- package/dist/components/modals/load-data-modal.d.ts +33 -33
- package/dist/components/modals/load-data-modal.js +93 -0
- package/dist/components/modals/load-storage-map.d.ts +26 -26
- package/dist/components/modals/load-storage-map.js +251 -0
- package/dist/components/modals/loading-dialog.d.ts +7 -7
- package/dist/components/modals/loading-dialog.js +54 -0
- package/dist/components/modals/modal-dialog.d.ts +2 -2
- package/dist/components/modals/modal-dialog.js +33 -0
- package/dist/components/modals/modal-tabs.d.ts +27 -27
- package/dist/components/modals/modal-tabs.js +99 -0
- package/dist/components/modals/overwrite-map-modal.d.ts +16 -16
- package/dist/components/modals/overwrite-map-modal.js +81 -0
- package/dist/components/modals/provider-modal-container.d.ts +23 -23
- package/dist/components/modals/provider-modal-container.js +79 -0
- package/dist/components/modals/save-map-modal.d.ts +29 -29
- package/dist/components/modals/save-map-modal.js +201 -0
- package/dist/components/modals/share-map-modal.d.ts +30 -30
- package/dist/components/modals/share-map-modal.js +188 -0
- package/dist/components/modals/status-panel.d.ts +13 -13
- package/dist/components/modals/status-panel.js +82 -0
- package/dist/components/modals/storage-map-viewer.d.ts +21 -21
- package/dist/components/modals/storage-map-viewer.js +115 -0
- package/dist/components/notification-panel/notification-item.d.ts +66 -66
- package/dist/components/notification-panel/notification-item.js +139 -0
- package/dist/components/notification-panel.d.ts +61 -61
- package/dist/components/notification-panel.js +74 -0
- package/dist/components/performance.d.ts +4 -4
- package/dist/components/performance.js +110 -0
- package/dist/components/plot-container.d.ts +24 -24
- package/dist/components/plot-container.js +240 -0
- package/dist/components/side-panel/cloud-storage-dropdown.d.ts +6 -6
- package/dist/components/side-panel/cloud-storage-dropdown.js +57 -0
- package/dist/components/side-panel/common/dataset-info.d.ts +3 -3
- package/dist/components/side-panel/common/dataset-info.js +50 -0
- package/dist/components/side-panel/common/dataset-tag.d.ts +3 -3
- package/dist/components/side-panel/common/dataset-tag.js +75 -0
- package/dist/components/side-panel/common/dataset-title.d.ts +8 -8
- package/dist/components/side-panel/common/dataset-title.js +185 -0
- package/dist/components/side-panel/common/source-data-catalog.d.ts +9 -9
- package/dist/components/side-panel/common/source-data-catalog.js +66 -0
- package/dist/components/side-panel/common/source-data-selector.d.ts +8 -8
- package/dist/components/side-panel/common/source-data-selector.js +119 -0
- package/dist/components/side-panel/common/types.d.ts +58 -58
- package/dist/components/side-panel/common/types.js +6 -0
- package/dist/components/side-panel/custom-panel.d.ts +9 -9
- package/dist/components/side-panel/custom-panel.js +56 -0
- package/dist/components/side-panel/filter-manager.d.ts +20 -20
- package/dist/components/side-panel/filter-manager.js +113 -0
- package/dist/components/side-panel/filter-panel/filter-panel-header.d.ts +21 -21
- package/dist/components/side-panel/filter-panel/filter-panel-header.js +67 -0
- package/dist/components/side-panel/filter-panel/filter-panel.d.ts +23 -23
- package/dist/components/side-panel/filter-panel/filter-panel.js +110 -0
- package/dist/components/side-panel/interaction-manager.d.ts +14 -14
- package/dist/components/side-panel/interaction-manager.js +51 -0
- package/dist/components/side-panel/interaction-panel/brush-config.d.ts +15 -15
- package/dist/components/side-panel/interaction-panel/brush-config.js +58 -0
- package/dist/components/side-panel/interaction-panel/interaction-panel.d.ts +19 -19
- package/dist/components/side-panel/interaction-panel/interaction-panel.js +137 -0
- package/dist/components/side-panel/interaction-panel/tooltip-config/tooltip-chicklet.d.ts +28 -28
- package/dist/components/side-panel/interaction-panel/tooltip-config/tooltip-chicklet.js +204 -0
- package/dist/components/side-panel/interaction-panel/tooltip-config.d.ts +38 -38
- package/dist/components/side-panel/interaction-panel/tooltip-config.js +155 -0
- package/dist/components/side-panel/layer-manager.d.ts +46 -46
- package/dist/components/side-panel/layer-manager.js +185 -0
- package/dist/components/side-panel/layer-panel/add-layer-button.d.ts +10 -10
- package/dist/components/side-panel/layer-panel/add-layer-button.js +147 -0
- package/dist/components/side-panel/layer-panel/color-dimension-scale-selector.d.ts +8 -8
- package/dist/components/side-panel/layer-panel/color-dimension-scale-selector.js +38 -0
- package/dist/components/side-panel/layer-panel/color-palette.d.ts +13 -13
- package/dist/components/side-panel/layer-panel/color-palette.js +79 -0
- package/dist/components/side-panel/layer-panel/color-range-selector.d.ts +129 -129
- package/dist/components/side-panel/layer-panel/color-range-selector.js +329 -0
- package/dist/components/side-panel/layer-panel/color-selector.d.ts +101 -101
- package/dist/components/side-panel/layer-panel/color-selector.js +177 -0
- package/dist/components/side-panel/layer-panel/column-selector.d.ts +22 -22
- package/dist/components/side-panel/layer-panel/column-selector.js +66 -0
- package/dist/components/side-panel/layer-panel/custom-markers-config-group.d.ts +6 -6
- package/dist/components/side-panel/layer-panel/custom-markers-config-group.js +36 -0
- package/dist/components/side-panel/layer-panel/custom-palette.d.ts +38 -38
- package/dist/components/side-panel/layer-panel/custom-palette.js +278 -0
- package/dist/components/side-panel/layer-panel/custom-picker.d.ts +67 -67
- package/dist/components/side-panel/layer-panel/custom-picker.js +106 -0
- package/dist/components/side-panel/layer-panel/dataset-layer-group.d.ts +24 -24
- package/dist/components/side-panel/layer-panel/dataset-layer-group.js +81 -0
- package/dist/components/side-panel/layer-panel/dataset-layer-section.d.ts +25 -25
- package/dist/components/side-panel/layer-panel/dataset-layer-section.js +74 -0
- package/dist/components/side-panel/layer-panel/dataset-section.d.ts +26 -26
- package/dist/components/side-panel/layer-panel/dataset-section.js +91 -0
- package/dist/components/side-panel/layer-panel/dimension-scale-selector.d.ts +10 -10
- package/dist/components/side-panel/layer-panel/dimension-scale-selector.js +53 -0
- package/dist/components/side-panel/layer-panel/hex-column-config.d.ts +62 -62
- package/dist/components/side-panel/layer-panel/hex-column-config.js +74 -0
- package/dist/components/side-panel/layer-panel/layer-aggregation-resolution.d.ts +8 -8
- package/dist/components/side-panel/layer-panel/layer-aggregation-resolution.js +18 -0
- package/dist/components/side-panel/layer-panel/layer-column-config.d.ts +20 -20
- package/dist/components/side-panel/layer-panel/layer-column-config.js +86 -0
- package/dist/components/side-panel/layer-panel/layer-config-group.d.ts +37 -37
- package/dist/components/side-panel/layer-panel/layer-config-group.js +209 -0
- package/dist/components/side-panel/layer-panel/layer-configurator.d.ts +415 -415
- package/dist/components/side-panel/layer-panel/layer-configurator.js +977 -0
- package/dist/components/side-panel/layer-panel/layer-list.d.ts +20 -20
- package/dist/components/side-panel/layer-panel/layer-list.js +168 -0
- package/dist/components/side-panel/layer-panel/layer-panel-header.d.ts +43 -43
- package/dist/components/side-panel/layer-panel/layer-panel-header.js +194 -0
- package/dist/components/side-panel/layer-panel/layer-panel.d.ts +40 -40
- package/dist/components/side-panel/layer-panel/layer-panel.js +161 -0
- package/dist/components/side-panel/layer-panel/layer-type-dropdown-list.d.ts +17 -17
- package/dist/components/side-panel/layer-panel/layer-type-dropdown-list.js +95 -0
- package/dist/components/side-panel/layer-panel/layer-type-list-item.d.ts +11 -11
- package/dist/components/side-panel/layer-panel/layer-type-list-item.js +75 -0
- package/dist/components/side-panel/layer-panel/layer-type-selector.d.ts +23 -23
- package/dist/components/side-panel/layer-panel/layer-type-selector.js +87 -0
- package/dist/components/side-panel/layer-panel/layer-visibility-by-zoom.d.ts +23 -23
- package/dist/components/side-panel/layer-panel/layer-visibility-by-zoom.js +106 -0
- package/dist/components/side-panel/layer-panel/panel-view-list-toggle.d.ts +36 -36
- package/dist/components/side-panel/layer-panel/panel-view-list-toggle.js +116 -0
- package/dist/components/side-panel/layer-panel/single-color-palette.d.ts +12 -12
- package/dist/components/side-panel/layer-panel/single-color-palette.js +68 -0
- package/dist/components/side-panel/layer-panel/text-label-panel.d.ts +18 -18
- package/dist/components/side-panel/layer-panel/text-label-panel.js +157 -0
- package/dist/components/side-panel/layer-panel/vis-config-by-field-selector.d.ts +35 -35
- package/dist/components/side-panel/layer-panel/vis-config-by-field-selector.js +148 -0
- package/dist/components/side-panel/layer-panel/vis-config-slider.d.ts +20 -20
- package/dist/components/side-panel/layer-panel/vis-config-slider.js +177 -0
- package/dist/components/side-panel/layer-panel/vis-config-switch.d.ts +16 -16
- package/dist/components/side-panel/layer-panel/vis-config-switch.js +73 -0
- package/dist/components/side-panel/map-manager.d.ts +21 -21
- package/dist/components/side-panel/map-manager.js +133 -0
- package/dist/components/side-panel/map-style-panel/map-layer-selector.d.ts +19 -19
- package/dist/components/side-panel/map-style-panel/map-layer-selector.js +103 -0
- package/dist/components/side-panel/map-style-panel/map-style-selector.d.ts +16 -16
- package/dist/components/side-panel/map-style-panel/map-style-selector.js +80 -0
- package/dist/components/side-panel/panel-dropdown.d.ts +18 -18
- package/dist/components/side-panel/panel-dropdown.js +71 -0
- package/dist/components/side-panel/panel-header-action.d.ts +20 -20
- package/dist/components/side-panel/panel-header-action.js +103 -0
- package/dist/components/side-panel/panel-header.d.ts +78 -78
- package/dist/components/side-panel/panel-header.js +301 -0
- package/dist/components/side-panel/panel-tab.d.ts +20 -20
- package/dist/components/side-panel/panel-tab.js +72 -0
- package/dist/components/side-panel/panel-title.d.ts +4 -4
- package/dist/components/side-panel/panel-title.js +44 -0
- package/dist/components/side-panel/panel-toggle.d.ts +14 -14
- package/dist/components/side-panel/panel-toggle.js +65 -0
- package/dist/components/side-panel/side-bar.d.ts +76 -76
- package/dist/components/side-panel/side-bar.js +140 -0
- package/dist/components/side-panel.d.ts +134 -134
- package/dist/components/side-panel.js +235 -0
- package/dist/components/types.d.ts +44 -44
- package/dist/components/types.js +6 -0
- package/dist/connect/keplergl-connect.d.ts +5 -5
- package/dist/connect/keplergl-connect.js +59 -0
- package/dist/connect/with-local-selector.d.ts +6 -6
- package/dist/connect/with-local-selector.js +102 -0
- package/dist/constants/action-types.d.ts +111 -111
- package/dist/constants/action-types.js +184 -0
- package/dist/constants/color-palette.d.ts +491 -491
- package/dist/constants/color-palette.js +536 -0
- package/dist/constants/color-ranges.d.ts +24 -24
- package/dist/constants/color-ranges.js +83 -0
- package/dist/constants/custom-color-ranges.d.ts +37 -37
- package/dist/constants/custom-color-ranges.js +410 -0
- package/dist/constants/default-settings.d.ts +773 -773
- package/dist/constants/default-settings.js +832 -0
- package/dist/constants/index.d.ts +9 -9
- package/dist/constants/index.js +387 -0
- package/dist/constants/keyevent.d.ts +2 -2
- package/dist/constants/keyevent.js +43 -0
- package/dist/constants/tooltip.d.ts +165 -165
- package/dist/constants/tooltip.js +202 -0
- package/dist/constants/user-feedbacks.d.ts +5 -5
- package/dist/constants/user-feedbacks.js +32 -0
- package/dist/constants/user-guides.d.ts +9 -9
- package/dist/constants/user-guides.js +36 -0
- package/dist/deckgl-layers/3d-building-layer/3d-building-layer.d.ts +13 -13
- package/dist/deckgl-layers/3d-building-layer/3d-building-layer.js +92 -0
- package/dist/deckgl-layers/3d-building-layer/3d-building-utils.d.ts +7 -7
- package/dist/deckgl-layers/3d-building-layer/3d-building-utils.js +181 -0
- package/dist/deckgl-layers/3d-building-layer/types.d.ts +37 -0
- package/dist/deckgl-layers/3d-building-layer/types.js +6 -0
- package/dist/deckgl-layers/cluster-layer/cluster-layer.js +312 -0
- package/dist/deckgl-layers/column-layer/enhanced-column-layer.d.ts +6 -6
- package/dist/deckgl-layers/column-layer/enhanced-column-layer.js +75 -0
- package/dist/deckgl-layers/grid-layer/enhanced-cpu-grid-layer.d.ts +13 -13
- package/dist/deckgl-layers/grid-layer/enhanced-cpu-grid-layer.js +96 -0
- package/dist/deckgl-layers/hexagon-layer/enhanced-hexagon-layer.d.ts +13 -13
- package/dist/deckgl-layers/hexagon-layer/enhanced-hexagon-layer.js +96 -0
- package/dist/deckgl-layers/layer-utils/cluster-utils.js +107 -0
- package/dist/deckgl-layers/layer-utils/cpu-aggregator.d.ts +91 -91
- package/dist/deckgl-layers/layer-utils/cpu-aggregator.js +585 -0
- package/dist/deckgl-layers/layer-utils/shader-utils.d.ts +1 -1
- package/dist/deckgl-layers/layer-utils/shader-utils.js +46 -0
- package/dist/deckgl-layers/line-layer/line-layer.d.ts +12 -12
- package/dist/deckgl-layers/line-layer/line-layer.js +106 -0
- package/dist/deckgl-layers/svg-icon-layer/scatterplot-icon-layer.d.ts +8 -8
- package/dist/deckgl-layers/svg-icon-layer/scatterplot-icon-layer.js +80 -0
- package/dist/deckgl-layers/svg-icon-layer/svg-icon-layer.d.ts +18 -18
- package/dist/deckgl-layers/svg-icon-layer/svg-icon-layer.js +123 -0
- package/dist/index.d.ts +11 -11
- package/dist/index.js +179 -0
- package/dist/layers/aggregation-layer.d.ts +70 -70
- package/dist/layers/aggregation-layer.js +392 -0
- package/dist/layers/arc-layer/arc-layer-icon.d.ts +16 -16
- package/dist/layers/arc-layer/arc-layer-icon.js +76 -0
- package/dist/layers/arc-layer/arc-layer.d.ts +143 -143
- package/dist/layers/arc-layer/arc-layer.js +252 -0
- package/dist/layers/base-layer.d.ts +436 -436
- package/dist/layers/base-layer.js +1703 -0
- package/dist/layers/cluster-layer/cluster-layer-icon.d.ts +16 -16
- package/dist/layers/cluster-layer/cluster-layer-icon.js +79 -0
- package/dist/layers/cluster-layer/cluster-layer.d.ts +39 -39
- package/dist/layers/cluster-layer/cluster-layer.js +139 -0
- package/dist/layers/default-layer-icon.d.ts +14 -14
- package/dist/layers/default-layer-icon.js +86 -0
- package/dist/layers/geojson-layer/geojson-layer-icon.d.ts +15 -15
- package/dist/layers/geojson-layer/geojson-layer-icon.js +90 -0
- package/dist/layers/geojson-layer/geojson-layer.d.ts +227 -230
- package/dist/layers/geojson-layer/geojson-layer.js +423 -0
- package/dist/layers/geojson-layer/geojson-utils.d.ts +44 -44
- package/dist/layers/geojson-layer/geojson-utils.js +184 -0
- package/dist/layers/grid-layer/grid-layer-icon.d.ts +15 -15
- package/dist/layers/grid-layer/grid-layer-icon.js +135 -0
- package/dist/layers/grid-layer/grid-layer.d.ts +74 -74
- package/dist/layers/grid-layer/grid-layer.js +104 -0
- package/dist/layers/grid-layer/grid-utils.d.ts +24 -24
- package/dist/layers/grid-layer/grid-utils.js +59 -0
- package/dist/layers/h3-hexagon-layer/h3-hexagon-layer-icon.d.ts +16 -16
- package/dist/layers/h3-hexagon-layer/h3-hexagon-layer-icon.js +70 -0
- package/dist/layers/h3-hexagon-layer/h3-hexagon-layer.d.ts +170 -170
- package/dist/layers/h3-hexagon-layer/h3-hexagon-layer.js +321 -0
- package/dist/layers/h3-hexagon-layer/h3-utils.d.ts +20 -20
- package/dist/layers/h3-hexagon-layer/h3-utils.js +86 -0
- package/dist/layers/heatmap-layer/heatmap-layer-icon.d.ts +15 -15
- package/dist/layers/heatmap-layer/heatmap-layer-icon.js +87 -0
- package/dist/layers/heatmap-layer/heatmap-layer.d.ts +144 -144
- package/dist/layers/heatmap-layer/heatmap-layer.js +236 -0
- package/dist/layers/hexagon-layer/hexagon-layer-icon.d.ts +15 -15
- package/dist/layers/hexagon-layer/hexagon-layer-icon.js +99 -0
- package/dist/layers/hexagon-layer/hexagon-layer.d.ts +78 -78
- package/dist/layers/hexagon-layer/hexagon-layer.js +108 -0
- package/dist/layers/hexagon-layer/hexagon-utils.d.ts +7 -7
- package/dist/layers/hexagon-layer/hexagon-utils.js +62 -0
- package/dist/layers/icon-layer/icon-info-modal.d.ts +3 -3
- package/dist/layers/icon-layer/icon-info-modal.js +115 -0
- package/dist/layers/icon-layer/icon-layer-icon.d.ts +15 -15
- package/dist/layers/icon-layer/icon-layer-icon.js +72 -0
- package/dist/layers/icon-layer/icon-layer.d.ts +119 -119
- package/dist/layers/icon-layer/icon-layer.js +366 -0
- package/dist/layers/index.d.ts +53 -53
- package/dist/layers/index.js +105 -0
- package/dist/layers/layer-factory.d.ts +150 -150
- package/dist/layers/layer-factory.js +517 -0
- package/dist/layers/layer-text-label.d.ts +7 -7
- package/dist/layers/layer-text-label.js +60 -0
- package/dist/layers/layer-update.d.ts +9 -9
- package/dist/layers/layer-update.js +73 -0
- package/dist/layers/line-layer/line-layer-icon.d.ts +15 -15
- package/dist/layers/line-layer/line-layer-icon.js +78 -0
- package/dist/layers/line-layer/line-layer.d.ts +136 -136
- package/dist/layers/line-layer/line-layer.js +191 -0
- package/dist/layers/mapbox-utils.d.ts +57 -57
- package/dist/layers/mapbox-utils.js +186 -0
- package/dist/layers/mapboxgl-layer.d.ts +87 -87
- package/dist/layers/mapboxgl-layer.js +201 -0
- package/dist/layers/point-layer/point-layer-icon.d.ts +15 -15
- package/dist/layers/point-layer/point-layer-icon.js +93 -0
- package/dist/layers/point-layer/point-layer.d.ts +272 -272
- package/dist/layers/point-layer/point-layer.js +457 -0
- package/dist/layers/s2-geometry-layer/s2-geometry-layer.d.ts +189 -189
- package/dist/layers/s2-geometry-layer/s2-geometry-layer.js +306 -0
- package/dist/layers/s2-geometry-layer/s2-layer-icon.d.ts +15 -15
- package/dist/layers/s2-geometry-layer/s2-layer-icon.js +69 -0
- package/dist/layers/s2-geometry-layer/s2-utils.d.ts +7 -7
- package/dist/layers/s2-geometry-layer/s2-utils.js +51 -0
- package/dist/layers/scenegraph-layer/scenegraph-info-modal.d.ts +3 -3
- package/dist/layers/scenegraph-layer/scenegraph-info-modal.js +54 -0
- package/dist/layers/scenegraph-layer/scenegraph-layer-icon.d.ts +15 -15
- package/dist/layers/scenegraph-layer/scenegraph-layer-icon.js +150 -0
- package/dist/layers/scenegraph-layer/scenegraph-layer.d.ts +80 -80
- package/dist/layers/scenegraph-layer/scenegraph-layer.js +230 -0
- package/dist/layers/trip-layer/trip-info-modal.d.ts +3 -3
- package/dist/layers/trip-layer/trip-info-modal.js +59 -0
- package/dist/layers/trip-layer/trip-layer-icon.d.ts +15 -15
- package/dist/layers/trip-layer/trip-layer-icon.js +88 -0
- package/dist/layers/trip-layer/trip-layer.d.ts +157 -157
- package/dist/layers/trip-layer/trip-layer.js +369 -0
- package/dist/layers/trip-layer/trip-utils.d.ts +31 -31
- package/dist/layers/trip-layer/trip-utils.js +180 -0
- package/dist/layers/types.d.ts +15 -15
- package/dist/layers/types.js +44 -0
- package/dist/localization/formatted-message.d.ts +12 -12
- package/dist/localization/formatted-message.js +39 -0
- package/dist/localization/index.d.ts +5 -5
- package/dist/localization/index.js +54 -0
- package/dist/localization/locales.d.ts +27 -27
- package/dist/localization/locales.js +59 -0
- package/dist/localization/messages.d.ts +4 -4
- package/dist/localization/messages.js +37 -0
- package/dist/localization/translations/ca.d.ts +438 -438
- package/dist/localization/translations/ca.js +466 -0
- package/dist/localization/translations/cn.d.ts +441 -441
- package/dist/localization/translations/cn.js +469 -0
- package/dist/localization/translations/en.d.ts +466 -466
- package/dist/localization/translations/en.js +494 -0
- package/dist/localization/translations/es.d.ts +438 -438
- package/dist/localization/translations/es.js +466 -0
- package/dist/localization/translations/fi.d.ts +410 -410
- package/dist/localization/translations/fi.js +438 -0
- package/dist/localization/translations/ja.d.ts +439 -439
- package/dist/localization/translations/ja.js +467 -0
- package/dist/localization/translations/pt.d.ts +410 -410
- package/dist/localization/translations/pt.js +438 -0
- package/dist/localization/translations/ru.d.ts +447 -447
- package/dist/localization/translations/ru.js +475 -0
- package/dist/middleware/index.d.ts +8 -8
- package/dist/middleware/index.js +44 -0
- package/dist/processors/data-processor.d.ts +242 -242
- package/dist/processors/data-processor.js +721 -0
- package/dist/processors/file-handler.d.ts +28 -28
- package/dist/processors/file-handler.js +357 -0
- package/dist/processors/index.d.ts +3 -3
- package/dist/processors/index.js +39 -0
- package/dist/processors/types.d.ts +21 -21
- package/dist/processors/types.js +6 -0
- package/dist/reducers/combined-updaters.d.ts +52 -52
- package/dist/reducers/combined-updaters.js +180 -0
- package/dist/reducers/composer-helpers.d.ts +21 -21
- package/dist/reducers/composer-helpers.js +111 -0
- package/dist/reducers/composers.d.ts +12 -12
- package/dist/reducers/composers.js +40 -0
- package/dist/reducers/core.d.ts +65 -65
- package/dist/reducers/core.js +119 -0
- package/dist/reducers/index.d.ts +19 -19
- package/dist/reducers/index.js +137 -0
- package/dist/reducers/map-state-updaters.d.ts +96 -96
- package/dist/reducers/map-state-updaters.js +220 -0
- package/dist/reducers/map-state.d.ts +4 -4
- package/dist/reducers/map-state.js +52 -0
- package/dist/reducers/map-style-updaters.d.ts +204 -204
- package/dist/reducers/map-style-updaters.js +473 -0
- package/dist/reducers/map-style.d.ts +16 -16
- package/dist/reducers/map-style.js +51 -0
- package/dist/reducers/provider-state-updaters.d.ts +41 -41
- package/dist/reducers/provider-state-updaters.js +421 -0
- package/dist/reducers/provider-state.d.ts +4 -4
- package/dist/reducers/provider-state.js +53 -0
- package/dist/reducers/root.d.ts +24 -24
- package/dist/reducers/root.js +212 -0
- package/dist/reducers/types.d.ts +16 -16
- package/dist/reducers/types.js +6 -0
- package/dist/reducers/ui-state-updaters.d.ts +433 -433
- package/dist/reducers/ui-state-updaters.js +744 -0
- package/dist/reducers/ui-state.d.ts +3 -3
- package/dist/reducers/ui-state.js +54 -0
- package/dist/reducers/vis-state-merger.d.ts +110 -110
- package/dist/reducers/vis-state-merger.js +569 -0
- package/dist/reducers/vis-state-selectors.d.ts +10 -10
- package/dist/reducers/vis-state-selectors.js +47 -0
- package/dist/reducers/vis-state-updaters.d.ts +645 -645
- package/dist/reducers/vis-state-updaters.js +2102 -0
- package/dist/reducers/vis-state.d.ts +4 -4
- package/dist/reducers/vis-state.js +53 -0
- package/dist/schemas/dataset-schema.d.ts +17 -17
- package/dist/schemas/dataset-schema.js +166 -0
- package/dist/schemas/index.d.ts +8 -8
- package/dist/schemas/index.js +125 -0
- package/dist/schemas/map-state-schema.d.ts +23 -23
- package/dist/schemas/map-state-schema.js +53 -0
- package/dist/schemas/map-style-schema.d.ts +38 -38
- package/dist/schemas/map-style-schema.js +106 -0
- package/dist/schemas/schema-manager.d.ts +271 -271
- package/dist/schemas/schema-manager.js +246 -0
- package/dist/schemas/schema-utils.d.ts +11 -11
- package/dist/schemas/schema-utils.js +58 -0
- package/dist/schemas/schema.d.ts +37 -37
- package/dist/schemas/schema.js +119 -0
- package/dist/schemas/versions.d.ts +5 -5
- package/dist/schemas/versions.js +34 -0
- package/dist/schemas/vis-state-schema.d.ts +214 -214
- package/dist/schemas/vis-state-schema.js +886 -0
- package/dist/styles/base.d.ts +1530 -1530
- package/dist/styles/base.js +1301 -0
- package/dist/styles/index.d.ts +2 -2
- package/dist/styles/index.js +28 -0
- package/dist/styles/media-breakpoints.d.ts +13 -13
- package/dist/styles/media-breakpoints.js +70 -0
- package/dist/tasks/tasks.d.ts +15 -15
- package/dist/tasks/tasks.js +94 -0
- package/dist/templates/export-map-html.d.ts +9 -9
- package/dist/templates/export-map-html.js +42 -0
- package/dist/utils/aggregate-utils.d.ts +3 -3
- package/dist/utils/aggregate-utils.js +71 -0
- package/dist/utils/color-utils.d.ts +44 -44
- package/dist/utils/color-utils.js +144 -0
- package/dist/utils/custom-scales.js +22 -0
- package/dist/utils/data-scale-utils.d.ts +23 -23
- package/dist/utils/data-scale-utils.js +70 -0
- package/dist/utils/data-utils.d.ts +115 -115
- package/dist/utils/data-utils.js +441 -0
- package/dist/utils/dataset-utils.d.ts +38 -38
- package/dist/utils/dataset-utils.js +236 -0
- package/dist/utils/dom-to-image.d.ts +73 -73
- package/dist/utils/dom-to-image.js +479 -0
- package/dist/utils/dom-utils.d.ts +20 -20
- package/dist/utils/dom-utils.js +343 -0
- package/dist/utils/export-utils.d.ts +56 -56
- package/dist/utils/export-utils.js +266 -0
- package/dist/utils/filter-utils.d.ts +267 -267
- package/dist/utils/filter-utils.js +1081 -0
- package/dist/utils/gl-utils.d.ts +1 -1
- package/dist/utils/gl-utils.js +43 -0
- package/dist/utils/gpu-filter-utils.d.ts +28 -28
- package/dist/utils/gpu-filter-utils.js +241 -0
- package/dist/utils/index.d.ts +22 -22
- package/dist/utils/index.js +361 -0
- package/dist/utils/interaction-utils.d.ts +36 -36
- package/dist/utils/interaction-utils.js +170 -0
- package/dist/utils/layer-utils.d.ts +54 -54
- package/dist/utils/layer-utils.js +200 -0
- package/dist/utils/locale-utils.d.ts +2 -2
- package/dist/utils/locale-utils.js +56 -0
- package/dist/utils/map-info-utils.d.ts +1 -1
- package/dist/utils/map-info-utils.js +31 -0
- package/dist/utils/map-style-utils/mapbox-gl-style-editor.d.ts +64 -64
- package/dist/utils/map-style-utils/mapbox-gl-style-editor.js +213 -0
- package/dist/utils/map-style-utils/mapbox-utils.d.ts +3 -3
- package/dist/utils/map-style-utils/mapbox-utils.js +33 -0
- package/dist/utils/mapbox-utils.d.ts +7 -7
- package/dist/utils/mapbox-utils.js +36 -0
- package/dist/utils/notifications-utils.d.ts +54 -54
- package/dist/utils/notifications-utils.js +90 -0
- package/dist/utils/observe-dimensions.d.ts +15 -15
- package/dist/utils/observe-dimensions.js +142 -0
- package/dist/utils/projection-utils.d.ts +12 -12
- package/dist/utils/projection-utils.js +72 -0
- package/dist/utils/searcher-utils.d.ts +1 -1
- package/dist/utils/searcher-utils.js +42 -0
- package/dist/utils/split-map-utils.d.ts +29 -29
- package/dist/utils/split-map-utils.js +112 -0
- package/dist/utils/table-utils/data-container-interface.d.ts +115 -115
- package/dist/utils/table-utils/data-container-interface.js +6 -0
- package/dist/utils/table-utils/data-container-utils.d.ts +29 -29
- package/dist/utils/table-utils/data-container-utils.js +84 -0
- package/dist/utils/table-utils/data-row.d.ts +59 -59
- package/dist/utils/table-utils/data-row.js +124 -0
- package/dist/utils/table-utils/index.d.ts +1 -1
- package/dist/utils/table-utils/index.js +19 -0
- package/dist/utils/table-utils/indexed-data-container.d.ts +34 -34
- package/dist/utils/table-utils/indexed-data-container.js +228 -0
- package/dist/utils/table-utils/kepler-table.d.ts +168 -168
- package/dist/utils/table-utils/kepler-table.js +554 -0
- package/dist/utils/table-utils/row-data-container.d.ts +31 -31
- package/dist/utils/table-utils/row-data-container.js +220 -0
- package/dist/utils/utils.d.ts +98 -98
- package/dist/utils/utils.js +240 -0
- package/package.json +61 -25
- package/src/index.ts +1 -1
- package/dist/bundle.js +0 -75163
- package/dist/bundle.js.map +0 -1
- package/dist/deckgl-layers/layer-utils/cluster-utils.d.ts +0 -12
|
@@ -1,195 +1,195 @@
|
|
|
1
|
-
import ActionTypes from 'constants/action-types';
|
|
2
|
-
import { ParsedConfig } from '../schemas';
|
|
3
|
-
import { RGBColor } from 'reducers/types';
|
|
4
|
-
import { Bounds } from 'reducers/map-state-updaters';
|
|
5
|
-
import { MapInfo } from 'reducers/vis-state-updaters';
|
|
6
|
-
import { UiState } from 'reducers/ui-state-updaters';
|
|
7
|
-
/**
|
|
8
|
-
* Input dataest parsed to addDataToMap
|
|
9
|
-
*/
|
|
10
|
-
export type ProtoDataset = {
|
|
11
|
-
info: {
|
|
12
|
-
id?: string;
|
|
13
|
-
label?: string;
|
|
14
|
-
format?: string;
|
|
15
|
-
color?: RGBColor;
|
|
16
|
-
};
|
|
17
|
-
data: {
|
|
18
|
-
fields: {
|
|
19
|
-
name: string;
|
|
20
|
-
type?: string;
|
|
21
|
-
format?: string;
|
|
22
|
-
displayName?: string;
|
|
23
|
-
id?: string;
|
|
24
|
-
}[];
|
|
25
|
-
rows: any[][];
|
|
26
|
-
};
|
|
27
|
-
metadata?: any;
|
|
28
|
-
supportedFilterTypes?: string[];
|
|
29
|
-
};
|
|
30
|
-
export type AddDataToMapOptions = {
|
|
31
|
-
centerMap?: boolean;
|
|
32
|
-
readOnly?: boolean;
|
|
33
|
-
keepExistingConfig?: boolean;
|
|
34
|
-
autoCreateLayers?: boolean;
|
|
35
|
-
};
|
|
36
|
-
export type AddDataToMapPayload = {
|
|
37
|
-
datasets: ProtoDataset[] | ProtoDataset;
|
|
38
|
-
options?: AddDataToMapOptions;
|
|
39
|
-
config?: ParsedConfig;
|
|
40
|
-
info?: Partial<MapInfo>;
|
|
41
|
-
};
|
|
42
|
-
export type ActionHandler<A extends (...args: any) => any> = (...args: Parameters<A>) => void;
|
|
43
|
-
/**
|
|
44
|
-
* Add data to kepler.gl reducer, prepare map with preset configuration if config is passed.
|
|
45
|
-
* Kepler.gl provides a handy set of utils to parse data from different formats to the `data` object required in dataset. You rarely need to manually format the data obejct.
|
|
46
|
-
*
|
|
47
|
-
* Use `KeplerGlSchema.getConfigToSave` to generate a json blob of the currents instance config.
|
|
48
|
-
* The config object value will always have higher precedence than the options properties.
|
|
49
|
-
*
|
|
50
|
-
* Kepler.gl uses `dataId` in the config to match with loaded dataset. If you pass a config object, you need
|
|
51
|
-
* to match the `info.id` of your dataset to the `dataId` in each `layer`, `filter` and `interactionConfig.tooltips.fieldsToShow`
|
|
52
|
-
*
|
|
53
|
-
* @memberof main
|
|
54
|
-
* @param {Object} data
|
|
55
|
-
* @param {Array<Object>|Object} data.datasets - ***required** datasets can be a dataset or an array of datasets
|
|
56
|
-
* Each dataset object needs to have `info` and `data` property.
|
|
57
|
-
* @param {Object} data.datasets.info -info of a dataset
|
|
58
|
-
* @param {string} data.datasets.info.id - id of this dataset. If config is defined, `id` should matches the `dataId` in config.
|
|
59
|
-
* @param {string} data.datasets.info.label - A display name of this dataset
|
|
60
|
-
* @param {Object} data.datasets.data - ***required** The data object, in a tabular format with 2 properties `fields` and `rows`
|
|
61
|
-
* @param {Array<Object>} data.datasets.data.fields - ***required** Array of fields,
|
|
62
|
-
* @param {string} data.datasets.data.fields.name - ***required** Name of the field,
|
|
63
|
-
* @param {Array<Array>} data.datasets.data.rows - ***required** Array of rows, in a tabular format with `fields` and `rows`
|
|
64
|
-
*
|
|
65
|
-
* @param {Object} data.options
|
|
66
|
-
* @param {boolean} data.options.centerMap `default: true` if `centerMap` is set to `true` kepler.gl will
|
|
67
|
-
* place the map view within the data points boundaries. `options.centerMap` will override `config.mapState` if passed in.
|
|
68
|
-
* @param {boolean} data.options.readOnly `default: false` if `readOnly` is set to `true`
|
|
69
|
-
* the left setting panel will be hidden
|
|
70
|
-
* @param {boolean} data.options.keepExistingConfig whether to keep exiting map data and associated layer filter interaction config `default: false`.
|
|
71
|
-
* @param {Object} data.config this object will contain the full kepler.gl instance configuration {mapState, mapStyle, visState}
|
|
72
|
-
* @public
|
|
73
|
-
* @example
|
|
74
|
-
*
|
|
75
|
-
* // app.js
|
|
76
|
-
* import {addDataToMap} from 'kepler.gl/actions';
|
|
77
|
-
*
|
|
78
|
-
* const sampleTripData = {
|
|
79
|
-
* fields: [
|
|
80
|
-
* {name: 'tpep_pickup_datetime', format: 'YYYY-M-D H:m:s', type: 'timestamp'},
|
|
81
|
-
* {name: 'pickup_longitude', format: '', type: 'real'},
|
|
82
|
-
* {name: 'pickup_latitude', format: '', type: 'real'}
|
|
83
|
-
* ],
|
|
84
|
-
* rows: [
|
|
85
|
-
* ['2015-01-15 19:05:39 +00:00', -73.99389648, 40.75011063],
|
|
86
|
-
* ['2015-01-15 19:05:39 +00:00', -73.97642517, 40.73981094],
|
|
87
|
-
* ['2015-01-15 19:05:40 +00:00', -73.96870422, 40.75424576],
|
|
88
|
-
* ]
|
|
89
|
-
* };
|
|
90
|
-
*
|
|
91
|
-
* const sampleConfig = {
|
|
92
|
-
* visState: {
|
|
93
|
-
* filters: [
|
|
94
|
-
* {
|
|
95
|
-
* id: 'me',
|
|
96
|
-
* dataId: 'test_trip_data',
|
|
97
|
-
* name: 'tpep_pickup_datetime',
|
|
98
|
-
* type: 'timeRange',
|
|
99
|
-
* enlarged: true
|
|
100
|
-
* }
|
|
101
|
-
* ]
|
|
102
|
-
* }
|
|
103
|
-
* }
|
|
104
|
-
*
|
|
105
|
-
* this.props.dispatch(
|
|
106
|
-
* addDataToMap({
|
|
107
|
-
* datasets: {
|
|
108
|
-
* info: {
|
|
109
|
-
* label: 'Sample Taxi Trips in New York City',
|
|
110
|
-
* id: 'test_trip_data'
|
|
111
|
-
* },
|
|
112
|
-
* data: sampleTripData
|
|
113
|
-
* },
|
|
114
|
-
* options: {
|
|
115
|
-
* centerMap: true,
|
|
116
|
-
* readOnly: false,
|
|
117
|
-
* keepExistingConfig: false
|
|
118
|
-
* },
|
|
119
|
-
* info: {
|
|
120
|
-
* title: 'Taro and Blue',
|
|
121
|
-
* description: 'This is my map'
|
|
122
|
-
* },
|
|
123
|
-
* config: sampleConfig
|
|
124
|
-
* })
|
|
125
|
-
* );
|
|
126
|
-
*/
|
|
127
|
-
export declare const addDataToMap: (data: AddDataToMapPayload) => {
|
|
128
|
-
type: typeof ActionTypes.ADD_DATA_TO_MAP;
|
|
129
|
-
payload: AddDataToMapPayload;
|
|
130
|
-
};
|
|
131
|
-
/**
|
|
132
|
-
* Reset all sub-reducers to its initial state. This can be used to clear out all configuration in the reducer.
|
|
133
|
-
* @memberof main
|
|
134
|
-
* @public
|
|
135
|
-
*/
|
|
136
|
-
export declare const resetMapConfig: () => {
|
|
137
|
-
type: typeof ActionTypes.RESET_MAP_CONFIG;
|
|
138
|
-
};
|
|
139
|
-
export type ReceiveMapConfigPayload = {
|
|
140
|
-
config: ParsedConfig;
|
|
141
|
-
options?: AddDataToMapOptions;
|
|
142
|
-
bounds?: Bounds;
|
|
143
|
-
};
|
|
144
|
-
/**
|
|
145
|
-
* Pass config to kepler.gl instance, prepare the state with preset configs.
|
|
146
|
-
* Calling `KeplerGlSchema.parseSavedConfig` to convert saved config before passing it in is required.
|
|
147
|
-
*
|
|
148
|
-
* You can call `receiveMapConfig` before passing in any data. The reducer will store layer and filter config, waiting for
|
|
149
|
-
* data to come in. When data arrives, you can call `addDataToMap` without passing any config, and the reducer will try to match
|
|
150
|
-
* preloaded configs. This behavior is designed to allow asynchronous data loading.
|
|
151
|
-
*
|
|
152
|
-
* It is also useful when you want to prepare the kepler.gl instance with some preset layer and filter settings.
|
|
153
|
-
* **Note** Sequence is important, `receiveMapConfig` needs to be called __before__ data is loaded. Currently kepler.gl doesn't allow calling `receiveMapConfig` after data is loaded.
|
|
154
|
-
* It will reset current configuration first then apply config to it.
|
|
155
|
-
* @memberof main
|
|
156
|
-
* @param {Object} config - ***required** The Config Object
|
|
157
|
-
* @param {Object} options - ***optional** The Option object
|
|
158
|
-
* @param {boolean} options.centerMap `default: true` if `centerMap` is set to `true` kepler.gl will
|
|
159
|
-
* place the map view within the data points boundaries
|
|
160
|
-
* @param {boolean} options.readOnly `default: false` if `readOnly` is set to `true`
|
|
161
|
-
* the left setting panel will be hidden
|
|
162
|
-
* @param {boolean} options.keepExistingConfig whether to keep exiting layer filter and interaction config `default: false`.
|
|
163
|
-
* @param {boolean} options.autoCreateLayers whether to automatically create layers based on dataset columns `default: true`.
|
|
164
|
-
* @public
|
|
165
|
-
* @example
|
|
166
|
-
* import {receiveMapConfig} from 'kepler.gl/actions';
|
|
167
|
-
* import KeplerGlSchema from 'kepler.gl/schemas';
|
|
168
|
-
*
|
|
169
|
-
* const parsedConfig = KeplerGlSchema.parseSavedConfig(config);
|
|
170
|
-
* this.props.dispatch(receiveMapConfig(parsedConfig));
|
|
171
|
-
*/
|
|
172
|
-
export declare const receiveMapConfig: (config: ReceiveMapConfigPayload['config'], options: ReceiveMapConfigPayload['options']) => {
|
|
173
|
-
type: typeof ActionTypes.RECEIVE_MAP_CONFIG;
|
|
174
|
-
payload: ReceiveMapConfigPayload;
|
|
175
|
-
};
|
|
176
|
-
export type KeplerGlInitPayload = {
|
|
177
|
-
mapboxApiAccessToken?: string;
|
|
178
|
-
mapboxApiUrl?: string;
|
|
179
|
-
mapStylesReplaceDefault?: boolean;
|
|
180
|
-
initialUiState?: Partial<UiState>;
|
|
181
|
-
};
|
|
182
|
-
/**
|
|
183
|
-
* Initialize kepler.gl reducer. It is used to pass in `mapboxApiAccessToken` to `mapStyle` reducer.
|
|
184
|
-
* @memberof main
|
|
185
|
-
* @param {object} payload
|
|
186
|
-
* @param payload.mapboxApiAccessToken - mapboxApiAccessToken to be saved to mapStyle reducer
|
|
187
|
-
* @param payload.mapboxApiUrl - mapboxApiUrl to be saved to mapStyle reducer.
|
|
188
|
-
* @param payload.mapStylesReplaceDefault - mapStylesReplaceDefault to be saved to mapStyle reducer
|
|
189
|
-
* @param payload.initialUiState - initial ui state
|
|
190
|
-
* @public
|
|
191
|
-
*/
|
|
192
|
-
export declare const keplerGlInit: (options?: KeplerGlInitPayload) => {
|
|
193
|
-
type: typeof ActionTypes.INIT;
|
|
194
|
-
payload: KeplerGlInitPayload;
|
|
195
|
-
};
|
|
1
|
+
import ActionTypes from 'constants/action-types';
|
|
2
|
+
import { ParsedConfig } from '../schemas';
|
|
3
|
+
import { RGBColor } from 'reducers/types';
|
|
4
|
+
import { Bounds } from 'reducers/map-state-updaters';
|
|
5
|
+
import { MapInfo } from 'reducers/vis-state-updaters';
|
|
6
|
+
import { UiState } from 'reducers/ui-state-updaters';
|
|
7
|
+
/**
|
|
8
|
+
* Input dataest parsed to addDataToMap
|
|
9
|
+
*/
|
|
10
|
+
export type ProtoDataset = {
|
|
11
|
+
info: {
|
|
12
|
+
id?: string;
|
|
13
|
+
label?: string;
|
|
14
|
+
format?: string;
|
|
15
|
+
color?: RGBColor;
|
|
16
|
+
};
|
|
17
|
+
data: {
|
|
18
|
+
fields: {
|
|
19
|
+
name: string;
|
|
20
|
+
type?: string;
|
|
21
|
+
format?: string;
|
|
22
|
+
displayName?: string;
|
|
23
|
+
id?: string;
|
|
24
|
+
}[];
|
|
25
|
+
rows: any[][];
|
|
26
|
+
};
|
|
27
|
+
metadata?: any;
|
|
28
|
+
supportedFilterTypes?: string[];
|
|
29
|
+
};
|
|
30
|
+
export type AddDataToMapOptions = {
|
|
31
|
+
centerMap?: boolean;
|
|
32
|
+
readOnly?: boolean;
|
|
33
|
+
keepExistingConfig?: boolean;
|
|
34
|
+
autoCreateLayers?: boolean;
|
|
35
|
+
};
|
|
36
|
+
export type AddDataToMapPayload = {
|
|
37
|
+
datasets: ProtoDataset[] | ProtoDataset;
|
|
38
|
+
options?: AddDataToMapOptions;
|
|
39
|
+
config?: ParsedConfig;
|
|
40
|
+
info?: Partial<MapInfo>;
|
|
41
|
+
};
|
|
42
|
+
export type ActionHandler<A extends (...args: any) => any> = (...args: Parameters<A>) => void;
|
|
43
|
+
/**
|
|
44
|
+
* Add data to kepler.gl reducer, prepare map with preset configuration if config is passed.
|
|
45
|
+
* Kepler.gl provides a handy set of utils to parse data from different formats to the `data` object required in dataset. You rarely need to manually format the data obejct.
|
|
46
|
+
*
|
|
47
|
+
* Use `KeplerGlSchema.getConfigToSave` to generate a json blob of the currents instance config.
|
|
48
|
+
* The config object value will always have higher precedence than the options properties.
|
|
49
|
+
*
|
|
50
|
+
* Kepler.gl uses `dataId` in the config to match with loaded dataset. If you pass a config object, you need
|
|
51
|
+
* to match the `info.id` of your dataset to the `dataId` in each `layer`, `filter` and `interactionConfig.tooltips.fieldsToShow`
|
|
52
|
+
*
|
|
53
|
+
* @memberof main
|
|
54
|
+
* @param {Object} data
|
|
55
|
+
* @param {Array<Object>|Object} data.datasets - ***required** datasets can be a dataset or an array of datasets
|
|
56
|
+
* Each dataset object needs to have `info` and `data` property.
|
|
57
|
+
* @param {Object} data.datasets.info -info of a dataset
|
|
58
|
+
* @param {string} data.datasets.info.id - id of this dataset. If config is defined, `id` should matches the `dataId` in config.
|
|
59
|
+
* @param {string} data.datasets.info.label - A display name of this dataset
|
|
60
|
+
* @param {Object} data.datasets.data - ***required** The data object, in a tabular format with 2 properties `fields` and `rows`
|
|
61
|
+
* @param {Array<Object>} data.datasets.data.fields - ***required** Array of fields,
|
|
62
|
+
* @param {string} data.datasets.data.fields.name - ***required** Name of the field,
|
|
63
|
+
* @param {Array<Array>} data.datasets.data.rows - ***required** Array of rows, in a tabular format with `fields` and `rows`
|
|
64
|
+
*
|
|
65
|
+
* @param {Object} data.options
|
|
66
|
+
* @param {boolean} data.options.centerMap `default: true` if `centerMap` is set to `true` kepler.gl will
|
|
67
|
+
* place the map view within the data points boundaries. `options.centerMap` will override `config.mapState` if passed in.
|
|
68
|
+
* @param {boolean} data.options.readOnly `default: false` if `readOnly` is set to `true`
|
|
69
|
+
* the left setting panel will be hidden
|
|
70
|
+
* @param {boolean} data.options.keepExistingConfig whether to keep exiting map data and associated layer filter interaction config `default: false`.
|
|
71
|
+
* @param {Object} data.config this object will contain the full kepler.gl instance configuration {mapState, mapStyle, visState}
|
|
72
|
+
* @public
|
|
73
|
+
* @example
|
|
74
|
+
*
|
|
75
|
+
* // app.js
|
|
76
|
+
* import {addDataToMap} from 'kepler.gl/actions';
|
|
77
|
+
*
|
|
78
|
+
* const sampleTripData = {
|
|
79
|
+
* fields: [
|
|
80
|
+
* {name: 'tpep_pickup_datetime', format: 'YYYY-M-D H:m:s', type: 'timestamp'},
|
|
81
|
+
* {name: 'pickup_longitude', format: '', type: 'real'},
|
|
82
|
+
* {name: 'pickup_latitude', format: '', type: 'real'}
|
|
83
|
+
* ],
|
|
84
|
+
* rows: [
|
|
85
|
+
* ['2015-01-15 19:05:39 +00:00', -73.99389648, 40.75011063],
|
|
86
|
+
* ['2015-01-15 19:05:39 +00:00', -73.97642517, 40.73981094],
|
|
87
|
+
* ['2015-01-15 19:05:40 +00:00', -73.96870422, 40.75424576],
|
|
88
|
+
* ]
|
|
89
|
+
* };
|
|
90
|
+
*
|
|
91
|
+
* const sampleConfig = {
|
|
92
|
+
* visState: {
|
|
93
|
+
* filters: [
|
|
94
|
+
* {
|
|
95
|
+
* id: 'me',
|
|
96
|
+
* dataId: 'test_trip_data',
|
|
97
|
+
* name: 'tpep_pickup_datetime',
|
|
98
|
+
* type: 'timeRange',
|
|
99
|
+
* enlarged: true
|
|
100
|
+
* }
|
|
101
|
+
* ]
|
|
102
|
+
* }
|
|
103
|
+
* }
|
|
104
|
+
*
|
|
105
|
+
* this.props.dispatch(
|
|
106
|
+
* addDataToMap({
|
|
107
|
+
* datasets: {
|
|
108
|
+
* info: {
|
|
109
|
+
* label: 'Sample Taxi Trips in New York City',
|
|
110
|
+
* id: 'test_trip_data'
|
|
111
|
+
* },
|
|
112
|
+
* data: sampleTripData
|
|
113
|
+
* },
|
|
114
|
+
* options: {
|
|
115
|
+
* centerMap: true,
|
|
116
|
+
* readOnly: false,
|
|
117
|
+
* keepExistingConfig: false
|
|
118
|
+
* },
|
|
119
|
+
* info: {
|
|
120
|
+
* title: 'Taro and Blue',
|
|
121
|
+
* description: 'This is my map'
|
|
122
|
+
* },
|
|
123
|
+
* config: sampleConfig
|
|
124
|
+
* })
|
|
125
|
+
* );
|
|
126
|
+
*/
|
|
127
|
+
export declare const addDataToMap: (data: AddDataToMapPayload) => {
|
|
128
|
+
type: typeof ActionTypes.ADD_DATA_TO_MAP;
|
|
129
|
+
payload: AddDataToMapPayload;
|
|
130
|
+
};
|
|
131
|
+
/**
|
|
132
|
+
* Reset all sub-reducers to its initial state. This can be used to clear out all configuration in the reducer.
|
|
133
|
+
* @memberof main
|
|
134
|
+
* @public
|
|
135
|
+
*/
|
|
136
|
+
export declare const resetMapConfig: () => {
|
|
137
|
+
type: typeof ActionTypes.RESET_MAP_CONFIG;
|
|
138
|
+
};
|
|
139
|
+
export type ReceiveMapConfigPayload = {
|
|
140
|
+
config: ParsedConfig;
|
|
141
|
+
options?: AddDataToMapOptions;
|
|
142
|
+
bounds?: Bounds;
|
|
143
|
+
};
|
|
144
|
+
/**
|
|
145
|
+
* Pass config to kepler.gl instance, prepare the state with preset configs.
|
|
146
|
+
* Calling `KeplerGlSchema.parseSavedConfig` to convert saved config before passing it in is required.
|
|
147
|
+
*
|
|
148
|
+
* You can call `receiveMapConfig` before passing in any data. The reducer will store layer and filter config, waiting for
|
|
149
|
+
* data to come in. When data arrives, you can call `addDataToMap` without passing any config, and the reducer will try to match
|
|
150
|
+
* preloaded configs. This behavior is designed to allow asynchronous data loading.
|
|
151
|
+
*
|
|
152
|
+
* It is also useful when you want to prepare the kepler.gl instance with some preset layer and filter settings.
|
|
153
|
+
* **Note** Sequence is important, `receiveMapConfig` needs to be called __before__ data is loaded. Currently kepler.gl doesn't allow calling `receiveMapConfig` after data is loaded.
|
|
154
|
+
* It will reset current configuration first then apply config to it.
|
|
155
|
+
* @memberof main
|
|
156
|
+
* @param {Object} config - ***required** The Config Object
|
|
157
|
+
* @param {Object} options - ***optional** The Option object
|
|
158
|
+
* @param {boolean} options.centerMap `default: true` if `centerMap` is set to `true` kepler.gl will
|
|
159
|
+
* place the map view within the data points boundaries
|
|
160
|
+
* @param {boolean} options.readOnly `default: false` if `readOnly` is set to `true`
|
|
161
|
+
* the left setting panel will be hidden
|
|
162
|
+
* @param {boolean} options.keepExistingConfig whether to keep exiting layer filter and interaction config `default: false`.
|
|
163
|
+
* @param {boolean} options.autoCreateLayers whether to automatically create layers based on dataset columns `default: true`.
|
|
164
|
+
* @public
|
|
165
|
+
* @example
|
|
166
|
+
* import {receiveMapConfig} from 'kepler.gl/actions';
|
|
167
|
+
* import KeplerGlSchema from 'kepler.gl/schemas';
|
|
168
|
+
*
|
|
169
|
+
* const parsedConfig = KeplerGlSchema.parseSavedConfig(config);
|
|
170
|
+
* this.props.dispatch(receiveMapConfig(parsedConfig));
|
|
171
|
+
*/
|
|
172
|
+
export declare const receiveMapConfig: (config: ReceiveMapConfigPayload['config'], options: ReceiveMapConfigPayload['options']) => {
|
|
173
|
+
type: typeof ActionTypes.RECEIVE_MAP_CONFIG;
|
|
174
|
+
payload: ReceiveMapConfigPayload;
|
|
175
|
+
};
|
|
176
|
+
export type KeplerGlInitPayload = {
|
|
177
|
+
mapboxApiAccessToken?: string;
|
|
178
|
+
mapboxApiUrl?: string;
|
|
179
|
+
mapStylesReplaceDefault?: boolean;
|
|
180
|
+
initialUiState?: Partial<UiState>;
|
|
181
|
+
};
|
|
182
|
+
/**
|
|
183
|
+
* Initialize kepler.gl reducer. It is used to pass in `mapboxApiAccessToken` to `mapStyle` reducer.
|
|
184
|
+
* @memberof main
|
|
185
|
+
* @param {object} payload
|
|
186
|
+
* @param payload.mapboxApiAccessToken - mapboxApiAccessToken to be saved to mapStyle reducer
|
|
187
|
+
* @param payload.mapboxApiUrl - mapboxApiUrl to be saved to mapStyle reducer.
|
|
188
|
+
* @param payload.mapStylesReplaceDefault - mapStylesReplaceDefault to be saved to mapStyle reducer
|
|
189
|
+
* @param payload.initialUiState - initial ui state
|
|
190
|
+
* @public
|
|
191
|
+
*/
|
|
192
|
+
export declare const keplerGlInit: (options?: KeplerGlInitPayload) => {
|
|
193
|
+
type: typeof ActionTypes.INIT;
|
|
194
|
+
payload: KeplerGlInitPayload;
|
|
195
|
+
};
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.resetMapConfig = exports.receiveMapConfig = exports.keplerGlInit = exports.addDataToMap = void 0;
|
|
8
|
+
var _actionTypes = _interopRequireDefault(require("../constants/action-types"));
|
|
9
|
+
var _toolkit = require("@reduxjs/toolkit");
|
|
10
|
+
// Copyright (c) 2022 Uber Technologies, Inc.
|
|
11
|
+
//
|
|
12
|
+
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
13
|
+
// of this software and associated documentation files (the "Software"), to deal
|
|
14
|
+
// in the Software without restriction, including without limitation the rights
|
|
15
|
+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
16
|
+
// copies of the Software, and to permit persons to whom the Software is
|
|
17
|
+
// furnished to do so, subject to the following conditions:
|
|
18
|
+
//
|
|
19
|
+
// The above copyright notice and this permission notice shall be included in
|
|
20
|
+
// all copies or substantial portions of the Software.
|
|
21
|
+
//
|
|
22
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
23
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
24
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
25
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
26
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
27
|
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
28
|
+
// THE SOFTWARE.
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Input dataest parsed to addDataToMap
|
|
32
|
+
*/
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Add data to kepler.gl reducer, prepare map with preset configuration if config is passed.
|
|
36
|
+
* Kepler.gl provides a handy set of utils to parse data from different formats to the `data` object required in dataset. You rarely need to manually format the data obejct.
|
|
37
|
+
*
|
|
38
|
+
* Use `KeplerGlSchema.getConfigToSave` to generate a json blob of the currents instance config.
|
|
39
|
+
* The config object value will always have higher precedence than the options properties.
|
|
40
|
+
*
|
|
41
|
+
* Kepler.gl uses `dataId` in the config to match with loaded dataset. If you pass a config object, you need
|
|
42
|
+
* to match the `info.id` of your dataset to the `dataId` in each `layer`, `filter` and `interactionConfig.tooltips.fieldsToShow`
|
|
43
|
+
*
|
|
44
|
+
* @memberof main
|
|
45
|
+
* @param {Object} data
|
|
46
|
+
* @param {Array<Object>|Object} data.datasets - ***required** datasets can be a dataset or an array of datasets
|
|
47
|
+
* Each dataset object needs to have `info` and `data` property.
|
|
48
|
+
* @param {Object} data.datasets.info -info of a dataset
|
|
49
|
+
* @param {string} data.datasets.info.id - id of this dataset. If config is defined, `id` should matches the `dataId` in config.
|
|
50
|
+
* @param {string} data.datasets.info.label - A display name of this dataset
|
|
51
|
+
* @param {Object} data.datasets.data - ***required** The data object, in a tabular format with 2 properties `fields` and `rows`
|
|
52
|
+
* @param {Array<Object>} data.datasets.data.fields - ***required** Array of fields,
|
|
53
|
+
* @param {string} data.datasets.data.fields.name - ***required** Name of the field,
|
|
54
|
+
* @param {Array<Array>} data.datasets.data.rows - ***required** Array of rows, in a tabular format with `fields` and `rows`
|
|
55
|
+
*
|
|
56
|
+
* @param {Object} data.options
|
|
57
|
+
* @param {boolean} data.options.centerMap `default: true` if `centerMap` is set to `true` kepler.gl will
|
|
58
|
+
* place the map view within the data points boundaries. `options.centerMap` will override `config.mapState` if passed in.
|
|
59
|
+
* @param {boolean} data.options.readOnly `default: false` if `readOnly` is set to `true`
|
|
60
|
+
* the left setting panel will be hidden
|
|
61
|
+
* @param {boolean} data.options.keepExistingConfig whether to keep exiting map data and associated layer filter interaction config `default: false`.
|
|
62
|
+
* @param {Object} data.config this object will contain the full kepler.gl instance configuration {mapState, mapStyle, visState}
|
|
63
|
+
* @public
|
|
64
|
+
* @example
|
|
65
|
+
*
|
|
66
|
+
* // app.js
|
|
67
|
+
* import {addDataToMap} from 'kepler.gl/actions';
|
|
68
|
+
*
|
|
69
|
+
* const sampleTripData = {
|
|
70
|
+
* fields: [
|
|
71
|
+
* {name: 'tpep_pickup_datetime', format: 'YYYY-M-D H:m:s', type: 'timestamp'},
|
|
72
|
+
* {name: 'pickup_longitude', format: '', type: 'real'},
|
|
73
|
+
* {name: 'pickup_latitude', format: '', type: 'real'}
|
|
74
|
+
* ],
|
|
75
|
+
* rows: [
|
|
76
|
+
* ['2015-01-15 19:05:39 +00:00', -73.99389648, 40.75011063],
|
|
77
|
+
* ['2015-01-15 19:05:39 +00:00', -73.97642517, 40.73981094],
|
|
78
|
+
* ['2015-01-15 19:05:40 +00:00', -73.96870422, 40.75424576],
|
|
79
|
+
* ]
|
|
80
|
+
* };
|
|
81
|
+
*
|
|
82
|
+
* const sampleConfig = {
|
|
83
|
+
* visState: {
|
|
84
|
+
* filters: [
|
|
85
|
+
* {
|
|
86
|
+
* id: 'me',
|
|
87
|
+
* dataId: 'test_trip_data',
|
|
88
|
+
* name: 'tpep_pickup_datetime',
|
|
89
|
+
* type: 'timeRange',
|
|
90
|
+
* enlarged: true
|
|
91
|
+
* }
|
|
92
|
+
* ]
|
|
93
|
+
* }
|
|
94
|
+
* }
|
|
95
|
+
*
|
|
96
|
+
* this.props.dispatch(
|
|
97
|
+
* addDataToMap({
|
|
98
|
+
* datasets: {
|
|
99
|
+
* info: {
|
|
100
|
+
* label: 'Sample Taxi Trips in New York City',
|
|
101
|
+
* id: 'test_trip_data'
|
|
102
|
+
* },
|
|
103
|
+
* data: sampleTripData
|
|
104
|
+
* },
|
|
105
|
+
* options: {
|
|
106
|
+
* centerMap: true,
|
|
107
|
+
* readOnly: false,
|
|
108
|
+
* keepExistingConfig: false
|
|
109
|
+
* },
|
|
110
|
+
* info: {
|
|
111
|
+
* title: 'Taro and Blue',
|
|
112
|
+
* description: 'This is my map'
|
|
113
|
+
* },
|
|
114
|
+
* config: sampleConfig
|
|
115
|
+
* })
|
|
116
|
+
* );
|
|
117
|
+
*/
|
|
118
|
+
var addDataToMap = exports.addDataToMap = (0, _toolkit.createAction)(_actionTypes["default"].ADD_DATA_TO_MAP, function (data) {
|
|
119
|
+
return {
|
|
120
|
+
payload: data
|
|
121
|
+
};
|
|
122
|
+
});
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* Reset all sub-reducers to its initial state. This can be used to clear out all configuration in the reducer.
|
|
126
|
+
* @memberof main
|
|
127
|
+
* @public
|
|
128
|
+
*/
|
|
129
|
+
var resetMapConfig = exports.resetMapConfig = (0, _toolkit.createAction)(_actionTypes["default"].RESET_MAP_CONFIG);
|
|
130
|
+
/**
|
|
131
|
+
* Pass config to kepler.gl instance, prepare the state with preset configs.
|
|
132
|
+
* Calling `KeplerGlSchema.parseSavedConfig` to convert saved config before passing it in is required.
|
|
133
|
+
*
|
|
134
|
+
* You can call `receiveMapConfig` before passing in any data. The reducer will store layer and filter config, waiting for
|
|
135
|
+
* data to come in. When data arrives, you can call `addDataToMap` without passing any config, and the reducer will try to match
|
|
136
|
+
* preloaded configs. This behavior is designed to allow asynchronous data loading.
|
|
137
|
+
*
|
|
138
|
+
* It is also useful when you want to prepare the kepler.gl instance with some preset layer and filter settings.
|
|
139
|
+
* **Note** Sequence is important, `receiveMapConfig` needs to be called __before__ data is loaded. Currently kepler.gl doesn't allow calling `receiveMapConfig` after data is loaded.
|
|
140
|
+
* It will reset current configuration first then apply config to it.
|
|
141
|
+
* @memberof main
|
|
142
|
+
* @param {Object} config - ***required** The Config Object
|
|
143
|
+
* @param {Object} options - ***optional** The Option object
|
|
144
|
+
* @param {boolean} options.centerMap `default: true` if `centerMap` is set to `true` kepler.gl will
|
|
145
|
+
* place the map view within the data points boundaries
|
|
146
|
+
* @param {boolean} options.readOnly `default: false` if `readOnly` is set to `true`
|
|
147
|
+
* the left setting panel will be hidden
|
|
148
|
+
* @param {boolean} options.keepExistingConfig whether to keep exiting layer filter and interaction config `default: false`.
|
|
149
|
+
* @param {boolean} options.autoCreateLayers whether to automatically create layers based on dataset columns `default: true`.
|
|
150
|
+
* @public
|
|
151
|
+
* @example
|
|
152
|
+
* import {receiveMapConfig} from 'kepler.gl/actions';
|
|
153
|
+
* import KeplerGlSchema from 'kepler.gl/schemas';
|
|
154
|
+
*
|
|
155
|
+
* const parsedConfig = KeplerGlSchema.parseSavedConfig(config);
|
|
156
|
+
* this.props.dispatch(receiveMapConfig(parsedConfig));
|
|
157
|
+
*/
|
|
158
|
+
var receiveMapConfig = exports.receiveMapConfig = (0, _toolkit.createAction)(_actionTypes["default"].RECEIVE_MAP_CONFIG, function (config, options) {
|
|
159
|
+
return {
|
|
160
|
+
payload: {
|
|
161
|
+
config: config,
|
|
162
|
+
options: options
|
|
163
|
+
}
|
|
164
|
+
};
|
|
165
|
+
});
|
|
166
|
+
/**
|
|
167
|
+
* Initialize kepler.gl reducer. It is used to pass in `mapboxApiAccessToken` to `mapStyle` reducer.
|
|
168
|
+
* @memberof main
|
|
169
|
+
* @param {object} payload
|
|
170
|
+
* @param payload.mapboxApiAccessToken - mapboxApiAccessToken to be saved to mapStyle reducer
|
|
171
|
+
* @param payload.mapboxApiUrl - mapboxApiUrl to be saved to mapStyle reducer.
|
|
172
|
+
* @param payload.mapStylesReplaceDefault - mapStylesReplaceDefault to be saved to mapStyle reducer
|
|
173
|
+
* @param payload.initialUiState - initial ui state
|
|
174
|
+
* @public
|
|
175
|
+
*/
|
|
176
|
+
var keplerGlInit = exports.keplerGlInit = (0, _toolkit.createAction)(_actionTypes["default"].INIT, function (payload) {
|
|
177
|
+
return {
|
|
178
|
+
payload: payload
|
|
179
|
+
};
|
|
180
|
+
});
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* This declaration is needed to group actions in docs
|
|
184
|
+
*/
|
|
185
|
+
/**
|
|
186
|
+
* Main kepler.gl actions, these actions handles loading data and config into kepler.gl reducer. These actions
|
|
187
|
+
* is listened by all subreducers,
|
|
188
|
+
* @public
|
|
189
|
+
*/
|
|
190
|
+
/* eslint-disable no-unused-vars */
|
|
191
|
+
// @ts-ignore
|
|
192
|
+
var main = null;
|
|
193
|
+
/* eslint-enable no-unused-vars */
|
|
194
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6WyJfYWN0aW9uVHlwZXMiLCJfaW50ZXJvcFJlcXVpcmVEZWZhdWx0IiwicmVxdWlyZSIsIl90b29sa2l0IiwiYWRkRGF0YVRvTWFwIiwiZXhwb3J0cyIsImNyZWF0ZUFjdGlvbiIsIkFjdGlvblR5cGVzIiwiQUREX0RBVEFfVE9fTUFQIiwiZGF0YSIsInBheWxvYWQiLCJyZXNldE1hcENvbmZpZyIsIlJFU0VUX01BUF9DT05GSUciLCJyZWNlaXZlTWFwQ29uZmlnIiwiUkVDRUlWRV9NQVBfQ09ORklHIiwiY29uZmlnIiwib3B0aW9ucyIsImtlcGxlckdsSW5pdCIsIklOSVQiLCJtYWluIl0sInNvdXJjZXMiOlsiLi4vLi4vc3JjL2FjdGlvbnMvYWN0aW9ucy50cyJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyBDb3B5cmlnaHQgKGMpIDIwMjIgVWJlciBUZWNobm9sb2dpZXMsIEluYy5cbi8vXG4vLyBQZXJtaXNzaW9uIGlzIGhlcmVieSBncmFudGVkLCBmc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