@carto/kepler.gl 0.1.0-alpha.0 → 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 +51 -33
- package/src/components/common/portaled.tsx +5 -9
- package/src/constants/action-types.ts +1 -1
- package/src/index.ts +1 -1
- package/src/middleware/index.ts +1 -1
- package/src/reducers/map-style-updaters.ts +1 -1
- package/src/reducers/provider-state-updaters.ts +1 -1
- package/src/reducers/root.ts +1 -1
- package/src/reducers/vis-state-updaters.ts +1 -1
- package/src/schemas/schema.ts +1 -1
- package/src/tasks/tasks.ts +1 -1
- package/dist/bundle.js +0 -54227
- package/dist/bundle.js.map +0 -1
- package/dist/deckgl-layers/layer-utils/cluster-utils.d.ts +0 -12
|
@@ -1,821 +1,821 @@
|
|
|
1
|
-
import ActionTypes from 'constants/action-types';
|
|
2
|
-
import { AddDataToMapPayload } from '../actions/actions';
|
|
3
|
-
import { FileCacheItem } from '../processors/types';
|
|
4
|
-
import { Layer, LayerBaseConfig, LayerVisConfig } from 'layers';
|
|
5
|
-
import { Feature, InteractionConfig } from 'reducers/vis-state-updaters';
|
|
6
|
-
import { ValueOf, Merge, RGBColor, NestedPartial } from '../reducers/types';
|
|
7
|
-
import { ColorUI } from 'layers/layer-factory';
|
|
8
|
-
export type LayerConfigChangeUpdaterAction = {
|
|
9
|
-
oldLayer: Layer;
|
|
10
|
-
newConfig: Partial<LayerBaseConfig>;
|
|
11
|
-
};
|
|
12
|
-
/**
|
|
13
|
-
* Update layer base config: dataId, label, column, isVisible
|
|
14
|
-
* @param oldLayer - layer to be updated
|
|
15
|
-
* @param newConfig - new config to be merged with old config
|
|
16
|
-
* @returns action
|
|
17
|
-
* @public
|
|
18
|
-
*/
|
|
19
|
-
export declare function layerConfigChange(oldLayer: Layer, newConfig: Partial<LayerBaseConfig>): Merge<LayerConfigChangeUpdaterAction, {
|
|
20
|
-
type: typeof ActionTypes.LAYER_CONFIG_CHANGE;
|
|
21
|
-
}>;
|
|
22
|
-
export type LayerTextLabelChangeUpdaterAction = {
|
|
23
|
-
oldLayer: Layer;
|
|
24
|
-
idx: number | 'all';
|
|
25
|
-
prop: string;
|
|
26
|
-
value: any;
|
|
27
|
-
};
|
|
28
|
-
/**
|
|
29
|
-
* Update layer text label
|
|
30
|
-
* @param oldLayer - layer to be updated
|
|
31
|
-
* @param idx -`idx` of text label to be updated
|
|
32
|
-
* @param prop - `prop` of text label, e,g, `anchor`, `alignment`, `color`, `size`, `field`
|
|
33
|
-
* @param value - new value
|
|
34
|
-
* @returns action
|
|
35
|
-
* @public
|
|
36
|
-
*/
|
|
37
|
-
export declare function layerTextLabelChange(oldLayer: Layer, idx: number | 'all', prop: string, value: any): Merge<LayerTextLabelChangeUpdaterAction, {
|
|
38
|
-
type: typeof ActionTypes.LAYER_TEXT_LABEL_CHANGE;
|
|
39
|
-
}>;
|
|
40
|
-
export type LayerTypeChangeUpdaterAction = {
|
|
41
|
-
oldLayer: Layer;
|
|
42
|
-
newType: string;
|
|
43
|
-
};
|
|
44
|
-
/**
|
|
45
|
-
* Update layer type. Previews layer config will be copied if applicable.
|
|
46
|
-
* @param oldLayer - layer to be updated
|
|
47
|
-
* @param newType - new type
|
|
48
|
-
* @returns action
|
|
49
|
-
* @public
|
|
50
|
-
*/
|
|
51
|
-
export declare function layerTypeChange(oldLayer: Layer, newType: string): Merge<LayerTypeChangeUpdaterAction, {
|
|
52
|
-
type: typeof ActionTypes.LAYER_TYPE_CHANGE;
|
|
53
|
-
}>;
|
|
54
|
-
export type LayerVisualChannelConfigChangeUpdaterAction = {
|
|
55
|
-
oldLayer: Layer;
|
|
56
|
-
newConfig: Partial<LayerBaseConfig>;
|
|
57
|
-
channel: string;
|
|
58
|
-
};
|
|
59
|
-
/**
|
|
60
|
-
* Update layer visual channel
|
|
61
|
-
* @memberof visStateActions
|
|
62
|
-
* @param oldLayer - layer to be updated
|
|
63
|
-
* @param newConfig - new visual channel config
|
|
64
|
-
* @param channel - channel to be updated
|
|
65
|
-
* @returns action
|
|
66
|
-
* @public
|
|
67
|
-
*/
|
|
68
|
-
export declare function layerVisualChannelConfigChange(oldLayer: Layer, newConfig: Partial<LayerBaseConfig>, channel: string): Merge<LayerVisualChannelConfigChangeUpdaterAction, {
|
|
69
|
-
type: typeof ActionTypes.LAYER_VISUAL_CHANNEL_CHANGE;
|
|
70
|
-
}>;
|
|
71
|
-
export type LayerVisConfigChangeUpdaterAction = {
|
|
72
|
-
oldLayer: Layer;
|
|
73
|
-
newVisConfig: Partial<LayerVisConfig>;
|
|
74
|
-
};
|
|
75
|
-
/**
|
|
76
|
-
* Update layer `visConfig`
|
|
77
|
-
* @memberof visStateActions
|
|
78
|
-
* @param oldLayer - layer to be updated
|
|
79
|
-
* @param newVisConfig - new visConfig as a key value map: e.g. `{opacity: 0.8}`
|
|
80
|
-
* @returns action
|
|
81
|
-
* @public
|
|
82
|
-
*/
|
|
83
|
-
export declare function layerVisConfigChange(oldLayer: Layer, newVisConfig: Partial<LayerVisConfig>): Merge<LayerVisConfigChangeUpdaterAction, {
|
|
84
|
-
type: typeof ActionTypes.LAYER_VIS_CONFIG_CHANGE;
|
|
85
|
-
}>;
|
|
86
|
-
export type LayerColorUIChangeUpdaterAction = {
|
|
87
|
-
oldLayer: Layer;
|
|
88
|
-
prop: string;
|
|
89
|
-
newConfig: NestedPartial<ColorUI>;
|
|
90
|
-
};
|
|
91
|
-
/**
|
|
92
|
-
* Set the color palette ui for layer color
|
|
93
|
-
* @memberof visStateActions
|
|
94
|
-
* @param oldLayer - layer to be updated
|
|
95
|
-
* @param prop - which color prop
|
|
96
|
-
* @param newConfig - to be merged
|
|
97
|
-
* @returns action
|
|
98
|
-
* @public
|
|
99
|
-
*/
|
|
100
|
-
export declare function layerColorUIChange(oldLayer: Layer, prop: string, newConfig: NestedPartial<ColorUI>): Merge<LayerColorUIChangeUpdaterAction, {
|
|
101
|
-
type: typeof ActionTypes.LAYER_COLOR_UI_CHANGE;
|
|
102
|
-
}>;
|
|
103
|
-
export type UpdateLayerBlendingUpdaterAction = {
|
|
104
|
-
mode: 'additive' | 'normal' | 'subtractive';
|
|
105
|
-
};
|
|
106
|
-
/**
|
|
107
|
-
* Update layer blending mode
|
|
108
|
-
* @memberof visStateActions
|
|
109
|
-
* @param mode one of `additive`, `normal` and `subtractive`
|
|
110
|
-
* @returns action
|
|
111
|
-
* @public
|
|
112
|
-
*/
|
|
113
|
-
export declare function updateLayerBlending(mode: 'additive' | 'normal' | 'subtractive'): Merge<UpdateLayerBlendingUpdaterAction, {
|
|
114
|
-
type: typeof ActionTypes.UPDATE_LAYER_BLENDING;
|
|
115
|
-
}>;
|
|
116
|
-
export type InteractionConfigChangeUpdaterAction = {
|
|
117
|
-
config: ValueOf<InteractionConfig>;
|
|
118
|
-
};
|
|
119
|
-
/**
|
|
120
|
-
* Update `interactionConfig`
|
|
121
|
-
* @memberof visStateActions
|
|
122
|
-
* @param config - new config as key value map: `{tooltip: {enabled: true}}`
|
|
123
|
-
* @returns action
|
|
124
|
-
* @public
|
|
125
|
-
*/
|
|
126
|
-
export declare function interactionConfigChange(config: ValueOf<InteractionConfig>): Merge<InteractionConfigChangeUpdaterAction, {
|
|
127
|
-
type: typeof ActionTypes.INTERACTION_CONFIG_CHANGE;
|
|
128
|
-
}>;
|
|
129
|
-
export type SetFilterUpdaterAction = {
|
|
130
|
-
idx: number;
|
|
131
|
-
prop: string;
|
|
132
|
-
value: any;
|
|
133
|
-
valueIndex?: number;
|
|
134
|
-
};
|
|
135
|
-
/**
|
|
136
|
-
* Update filter property
|
|
137
|
-
* @memberof visStateActions
|
|
138
|
-
* @param idx -`idx` of filter to be updated
|
|
139
|
-
* @param prop - `prop` of filter, e,g, `dataId`, `name`, `value`
|
|
140
|
-
* @param value - new value
|
|
141
|
-
* @param valueIndex - dataId index
|
|
142
|
-
* @returns action
|
|
143
|
-
* @public
|
|
144
|
-
*/
|
|
145
|
-
export declare function setFilter(idx: number, prop: string, value: any, valueIndex?: number): Merge<SetFilterUpdaterAction, {
|
|
146
|
-
type: typeof ActionTypes.SET_FILTER;
|
|
147
|
-
}>;
|
|
148
|
-
export type SetFilterAnimationTimeUpdaterAction = {
|
|
149
|
-
idx: number;
|
|
150
|
-
prop: string;
|
|
151
|
-
value: any;
|
|
152
|
-
valueIndex?: number;
|
|
153
|
-
};
|
|
154
|
-
/**
|
|
155
|
-
* Same as Update filter
|
|
156
|
-
* @memberof visStateActions
|
|
157
|
-
* @param idx -`idx` of filter to be updated
|
|
158
|
-
* @param prop - `prop` of filter, e,g, `dataId`, `name`, `value`
|
|
159
|
-
* @param value - new value
|
|
160
|
-
* @param valueIndex - dataId index
|
|
161
|
-
* @returns action
|
|
162
|
-
* @public
|
|
163
|
-
*/
|
|
164
|
-
export declare function setFilterAnimationTime(idx: number, prop: string, value: any, valueIndex?: number): Merge<SetFilterAnimationTimeUpdaterAction, {
|
|
165
|
-
type: typeof ActionTypes.SET_FILTER_ANIMATION_TIME;
|
|
166
|
-
}>;
|
|
167
|
-
export type SetFilterAnimationWindowUpdaterAction = {
|
|
168
|
-
id: string;
|
|
169
|
-
animationWindow: string;
|
|
170
|
-
};
|
|
171
|
-
/**
|
|
172
|
-
* Same as Update filter
|
|
173
|
-
* @memberof visStateActions
|
|
174
|
-
* @public
|
|
175
|
-
*/
|
|
176
|
-
export declare function setFilterAnimationWindow({ id, animationWindow }: SetFilterAnimationWindowUpdaterAction): Merge<SetFilterAnimationWindowUpdaterAction, {
|
|
177
|
-
type: typeof ActionTypes.SET_FILTER_ANIMATION_WINDOW;
|
|
178
|
-
}>;
|
|
179
|
-
export type AddFilterUpdaterAction = {
|
|
180
|
-
dataId?: string | null;
|
|
181
|
-
};
|
|
182
|
-
/**
|
|
183
|
-
* Add a new filter
|
|
184
|
-
* @memberof visStateActions
|
|
185
|
-
* @param dataId - dataset `id` this new filter is associated with
|
|
186
|
-
* @returns action
|
|
187
|
-
* @public
|
|
188
|
-
*/
|
|
189
|
-
export declare function addFilter(dataId: string | null): Merge<AddFilterUpdaterAction, {
|
|
190
|
-
type: typeof ActionTypes.ADD_FILTER;
|
|
191
|
-
}>;
|
|
192
|
-
export type AddLayerUpdaterAction = {
|
|
193
|
-
config?: object;
|
|
194
|
-
datasetId?: string;
|
|
195
|
-
};
|
|
196
|
-
/**
|
|
197
|
-
* Add a new layer
|
|
198
|
-
* @memberof visStateActions
|
|
199
|
-
* @param config - new layer config
|
|
200
|
-
* @param datasetId - dataset id used for creating an empty layer
|
|
201
|
-
* @returns action
|
|
202
|
-
* @public
|
|
203
|
-
*/
|
|
204
|
-
export declare function addLayer(config?: object, datasetId?: string): Merge<AddLayerUpdaterAction, {
|
|
205
|
-
type: typeof ActionTypes.ADD_LAYER;
|
|
206
|
-
}>;
|
|
207
|
-
export type ReorderLayerUpdaterAction = {
|
|
208
|
-
order: number[];
|
|
209
|
-
};
|
|
210
|
-
/**
|
|
211
|
-
* Reorder layer, order is an array of layer indexes, index 0 will be the one at the bottom
|
|
212
|
-
* @memberof visStateActions
|
|
213
|
-
* @param order an array of layer indexes
|
|
214
|
-
* @returns action
|
|
215
|
-
* @public
|
|
216
|
-
* @example
|
|
217
|
-
*
|
|
218
|
-
* // bring `layers[1]` below `layers[0]`, the sequence layers will be rendered is `1`, `0`, `2`, `3`.
|
|
219
|
-
* // `1` will be at the bottom, `3` will be at the top.
|
|
220
|
-
* this.props.dispatch(reorderLayer([1, 0, 2, 3]));
|
|
221
|
-
*/
|
|
222
|
-
export declare function reorderLayer(order: number[]): Merge<ReorderLayerUpdaterAction, {
|
|
223
|
-
type: typeof ActionTypes.REORDER_LAYER;
|
|
224
|
-
}>;
|
|
225
|
-
export type RemoveFilterUpdaterAction = {
|
|
226
|
-
idx: number;
|
|
227
|
-
};
|
|
228
|
-
/**
|
|
229
|
-
* Remove a filter from `visState.filters`, once a filter is removed, data will be re-filtered and layer will be updated
|
|
230
|
-
* @memberof visStateActions
|
|
231
|
-
* @param idx idx of filter to be removed
|
|
232
|
-
* @returns action
|
|
233
|
-
* @public
|
|
234
|
-
*/
|
|
235
|
-
export declare function removeFilter(idx: number): Merge<RemoveFilterUpdaterAction, {
|
|
236
|
-
type: typeof ActionTypes.REMOVE_FILTER;
|
|
237
|
-
}>;
|
|
238
|
-
export type RemoveLayerUpdaterAction = {
|
|
239
|
-
idx: number;
|
|
240
|
-
};
|
|
241
|
-
/**
|
|
242
|
-
* Remove a layer
|
|
243
|
-
* @memberof visStateActions
|
|
244
|
-
* @param idx idx of layer to be removed
|
|
245
|
-
* @returns action
|
|
246
|
-
* @public
|
|
247
|
-
*/
|
|
248
|
-
export declare function removeLayer(idx: number): Merge<RemoveLayerUpdaterAction, {
|
|
249
|
-
type: typeof ActionTypes.REMOVE_LAYER;
|
|
250
|
-
}>;
|
|
251
|
-
export type DuplicateLayerUpdaterAction = {
|
|
252
|
-
idx: number;
|
|
253
|
-
};
|
|
254
|
-
/**
|
|
255
|
-
* Duplicate a layer
|
|
256
|
-
* @memberof visStateActions
|
|
257
|
-
* @param idx idx of layer to be duplicated
|
|
258
|
-
* @returns action
|
|
259
|
-
* @public
|
|
260
|
-
*/
|
|
261
|
-
export declare function duplicateLayer(idx: number): Merge<DuplicateLayerUpdaterAction, {
|
|
262
|
-
type: typeof ActionTypes.DUPLICATE_LAYER;
|
|
263
|
-
}>;
|
|
264
|
-
export type RemoveDatasetUpdaterAction = {
|
|
265
|
-
dataId: string;
|
|
266
|
-
};
|
|
267
|
-
/**
|
|
268
|
-
* Remove a dataset and all layers, filters, tooltip configs that based on it
|
|
269
|
-
* @memberof visStateActions
|
|
270
|
-
* @param dataId dataset id
|
|
271
|
-
* @returns action
|
|
272
|
-
* @public
|
|
273
|
-
*/
|
|
274
|
-
export declare function removeDataset(dataId: string): Merge<RemoveDatasetUpdaterAction, {
|
|
275
|
-
type: typeof ActionTypes.REMOVE_DATASET;
|
|
276
|
-
}>;
|
|
277
|
-
export type ShowDatasetTableUpdaterAction = {
|
|
278
|
-
dataId: string;
|
|
279
|
-
};
|
|
280
|
-
/**
|
|
281
|
-
* Display dataset table in a modal
|
|
282
|
-
* @memberof visStateActions
|
|
283
|
-
* @param dataId dataset id to show in table
|
|
284
|
-
* @returns action
|
|
285
|
-
* @public
|
|
286
|
-
*/
|
|
287
|
-
export declare function showDatasetTable(dataId: string): Merge<ShowDatasetTableUpdaterAction, {
|
|
288
|
-
type: typeof ActionTypes.SHOW_DATASET_TABLE;
|
|
289
|
-
}>;
|
|
290
|
-
export type UpdateDatasetColorUpdater = {
|
|
291
|
-
dataId: string;
|
|
292
|
-
newColor: RGBColor;
|
|
293
|
-
};
|
|
294
|
-
/**
|
|
295
|
-
* Update dataset color to custom by means of color picker
|
|
296
|
-
* @memberof visStateActions
|
|
297
|
-
* @param dataId dataset `id` this custom color is associated with
|
|
298
|
-
* @param newColor custom color in RGBformat
|
|
299
|
-
* @returns action
|
|
300
|
-
* @public
|
|
301
|
-
*/
|
|
302
|
-
export declare function updateTableColor(dataId: string, newColor: RGBColor): Merge<UpdateDatasetColorUpdater, {
|
|
303
|
-
type: typeof ActionTypes.UPDATE_TABLE_COLOR;
|
|
304
|
-
}>;
|
|
305
|
-
export type SortTableColumnUpdaterAction = {
|
|
306
|
-
dataId: string;
|
|
307
|
-
column: string;
|
|
308
|
-
mode?: string;
|
|
309
|
-
};
|
|
310
|
-
/**
|
|
311
|
-
* Sort dataset column, for table display
|
|
312
|
-
* @memberof visStateActions
|
|
313
|
-
* @param dataId
|
|
314
|
-
* @param column
|
|
315
|
-
* @param mode
|
|
316
|
-
* @returns action
|
|
317
|
-
* @public
|
|
318
|
-
*/
|
|
319
|
-
export declare function sortTableColumn(dataId: string, column: string, mode?: string): Merge<SortTableColumnUpdaterAction, {
|
|
320
|
-
type: typeof ActionTypes.SORT_TABLE_COLUMN;
|
|
321
|
-
}>;
|
|
322
|
-
export type PinTableColumnUpdaterAction = {
|
|
323
|
-
dataId: string;
|
|
324
|
-
column: string;
|
|
325
|
-
};
|
|
326
|
-
/**
|
|
327
|
-
* Pin dataset column, for table display
|
|
328
|
-
* @param dataId
|
|
329
|
-
* @param column
|
|
330
|
-
* @returns action
|
|
331
|
-
* @public
|
|
332
|
-
*/
|
|
333
|
-
export declare function pinTableColumn(dataId: string, column: string): Merge<PinTableColumnUpdaterAction, {
|
|
334
|
-
type: typeof ActionTypes.PIN_TABLE_COLUMN;
|
|
335
|
-
}>;
|
|
336
|
-
export type CopyTableColumnUpdaterAction = {
|
|
337
|
-
dataId: string;
|
|
338
|
-
column: string;
|
|
339
|
-
};
|
|
340
|
-
/**
|
|
341
|
-
* Copy column, for table display
|
|
342
|
-
* @param dataId
|
|
343
|
-
* @param column
|
|
344
|
-
* @returns action
|
|
345
|
-
* @public
|
|
346
|
-
*/
|
|
347
|
-
export declare function copyTableColumn(dataId: string, column: string): Merge<CopyTableColumnUpdaterAction, {
|
|
348
|
-
type: typeof ActionTypes.COPY_TABLE_COLUMN;
|
|
349
|
-
}>;
|
|
350
|
-
export type AddDataToMapUpdaterOptions = {
|
|
351
|
-
centrMap?: boolean;
|
|
352
|
-
readOnly?: boolean;
|
|
353
|
-
keepExistingConfig?: boolean;
|
|
354
|
-
};
|
|
355
|
-
export type UpdateVisDataUpdaterAction = {
|
|
356
|
-
datasets: AddDataToMapPayload['datasets'];
|
|
357
|
-
options: AddDataToMapPayload['options'];
|
|
358
|
-
config: AddDataToMapPayload['config'];
|
|
359
|
-
} & AddDataToMapPayload;
|
|
360
|
-
/**
|
|
361
|
-
* Add new dataset to `visState`, with option to load a map config along with the datasets
|
|
362
|
-
* @memberof visStateActions
|
|
363
|
-
* @param datasets - ***required** datasets can be a dataset or an array of datasets
|
|
364
|
-
* Each dataset object needs to have `info` and `data` property.
|
|
365
|
-
* @param {object} options
|
|
366
|
-
* @param options.centerMap `default: true` if `centerMap` is set to `true` kepler.gl will
|
|
367
|
-
* place the map view within the data points boundaries
|
|
368
|
-
* @param options.readOnly `default: false` if `readOnly` is set to `true`
|
|
369
|
-
* the left setting panel will be hidden
|
|
370
|
-
* @param config this object will contain the full kepler.gl instance configuration {mapState, mapStyle, visState}
|
|
371
|
-
* @returns action
|
|
372
|
-
* @public
|
|
373
|
-
*/
|
|
374
|
-
export declare function updateVisData(datasets: AddDataToMapPayload['datasets'], options: AddDataToMapPayload['options'], config: AddDataToMapPayload['config']): Merge<UpdateVisDataUpdaterAction, {
|
|
375
|
-
type: typeof ActionTypes.UPDATE_VIS_DATA;
|
|
376
|
-
}>;
|
|
377
|
-
export type RenameDatasetUpdaterAction = {
|
|
378
|
-
dataId: string;
|
|
379
|
-
label: string;
|
|
380
|
-
};
|
|
381
|
-
/**
|
|
382
|
-
* Rename an existing dataset in `visState`
|
|
383
|
-
* @memberof visStateActions
|
|
384
|
-
* @param dataId - ***required** Id of the dataset to update
|
|
385
|
-
* @param label - ***required** New name for the dataset
|
|
386
|
-
* @returns action
|
|
387
|
-
* @public
|
|
388
|
-
*/
|
|
389
|
-
export declare function renameDataset(dataId: string, label: string): Merge<RenameDatasetUpdaterAction, {
|
|
390
|
-
type: typeof ActionTypes.RENAME_DATASET;
|
|
391
|
-
}>;
|
|
392
|
-
export type ToggleFilterAnimationUpdaterAction = {
|
|
393
|
-
idx: number;
|
|
394
|
-
};
|
|
395
|
-
/**
|
|
396
|
-
* Start and end filter animation
|
|
397
|
-
* @memberof visStateActions
|
|
398
|
-
* @param {Number} idx of filter
|
|
399
|
-
* @returns action
|
|
400
|
-
* @public
|
|
401
|
-
*/
|
|
402
|
-
export declare function toggleFilterAnimation(idx: number): Merge<ToggleFilterAnimationUpdaterAction, {
|
|
403
|
-
type: typeof ActionTypes.TOGGLE_FILTER_ANIMATION;
|
|
404
|
-
}>;
|
|
405
|
-
export type UpdateFilterAnimationSpeedUpdaterAction = {
|
|
406
|
-
idx: number;
|
|
407
|
-
speed: number;
|
|
408
|
-
};
|
|
409
|
-
/**
|
|
410
|
-
* Change filter animation speed
|
|
411
|
-
* @memberof visStateActions
|
|
412
|
-
* @param idx - `idx` of filter
|
|
413
|
-
* @param speed - `speed` to change it to. `speed` is a multiplier
|
|
414
|
-
* @returns action
|
|
415
|
-
* @public
|
|
416
|
-
*/
|
|
417
|
-
export declare function updateFilterAnimationSpeed(idx: number, speed: number): Merge<UpdateFilterAnimationSpeedUpdaterAction, {
|
|
418
|
-
type: typeof ActionTypes.UPDATE_FILTER_ANIMATION_SPEED;
|
|
419
|
-
}>;
|
|
420
|
-
export type SetLayerAnimationTimeUpdaterAction = {
|
|
421
|
-
value: number;
|
|
422
|
-
};
|
|
423
|
-
/**
|
|
424
|
-
* Reset animation
|
|
425
|
-
* @memberof visStateActions
|
|
426
|
-
* @param value - Current value of the slider
|
|
427
|
-
* @returns action
|
|
428
|
-
* @public
|
|
429
|
-
*/
|
|
430
|
-
export declare function setLayerAnimationTime(value: number): Merge<SetLayerAnimationTimeUpdaterAction, {
|
|
431
|
-
type: typeof ActionTypes.SET_LAYER_ANIMATION_TIME;
|
|
432
|
-
}>;
|
|
433
|
-
export type UpdateLayerAnimationSpeedUpdaterAction = {
|
|
434
|
-
speed: number;
|
|
435
|
-
};
|
|
436
|
-
/**
|
|
437
|
-
* update trip layer animation speed
|
|
438
|
-
* @memberof visStateActions
|
|
439
|
-
* @param speed - `speed` to change it to. `speed` is a multiplier
|
|
440
|
-
* @returns action
|
|
441
|
-
* @public
|
|
442
|
-
*/
|
|
443
|
-
export declare function updateLayerAnimationSpeed(speed: number): Merge<UpdateLayerAnimationSpeedUpdaterAction, {
|
|
444
|
-
type: typeof ActionTypes.UPDATE_LAYER_ANIMATION_SPEED;
|
|
445
|
-
}>;
|
|
446
|
-
export type ToggleLayerAnimationUpdaterAction = {};
|
|
447
|
-
/**
|
|
448
|
-
* start end end layer animation
|
|
449
|
-
* @memberof visStateActions
|
|
450
|
-
* @returns action
|
|
451
|
-
* @public
|
|
452
|
-
*/
|
|
453
|
-
export declare function toggleLayerAnimation(): Merge<ToggleLayerAnimationUpdaterAction, {
|
|
454
|
-
type: typeof ActionTypes.TOGGLE_LAYER_ANIMATION;
|
|
455
|
-
}>;
|
|
456
|
-
export type ToggleLayerAnimationControlUpdaterAction = {};
|
|
457
|
-
/**
|
|
458
|
-
* hide and show layer animation control
|
|
459
|
-
* @memberof visStateActions
|
|
460
|
-
* @returns action
|
|
461
|
-
* @public
|
|
462
|
-
*/
|
|
463
|
-
export declare function toggleLayerAnimationControl(): Merge<ToggleLayerAnimationControlUpdaterAction, {
|
|
464
|
-
type: typeof ActionTypes.TOGGLE_LAYER_ANIMATION_CONTROL;
|
|
465
|
-
}>;
|
|
466
|
-
export type EnlargeFilterUpdaterAction = {
|
|
467
|
-
idx: number;
|
|
468
|
-
};
|
|
469
|
-
/**
|
|
470
|
-
* Show larger time filter at bottom for time playback (apply to time filter only)
|
|
471
|
-
* @memberof visStateActions
|
|
472
|
-
* @param idx - index of filter to enlarge
|
|
473
|
-
* @returns action
|
|
474
|
-
* @public
|
|
475
|
-
*/
|
|
476
|
-
export declare function enlargeFilter(idx: number): Merge<EnlargeFilterUpdaterAction, {
|
|
477
|
-
type: typeof ActionTypes.ENLARGE_FILTER;
|
|
478
|
-
}>;
|
|
479
|
-
export type ToggleFilterFeatureUpdaterAction = {
|
|
480
|
-
idx: number;
|
|
481
|
-
};
|
|
482
|
-
/**
|
|
483
|
-
* Show/hide filter feature on map
|
|
484
|
-
* @memberof visStateActions
|
|
485
|
-
* @param idx - index of filter feature to show/hide
|
|
486
|
-
* @return action
|
|
487
|
-
*/
|
|
488
|
-
export declare function toggleFilterFeature(idx: number): Merge<ToggleFilterFeatureUpdaterAction, {
|
|
489
|
-
type: typeof ActionTypes.TOGGLE_FILTER_FEATURE;
|
|
490
|
-
}>;
|
|
491
|
-
export type OnLayerHoverUpdaterAction = {
|
|
492
|
-
info: {
|
|
493
|
-
picked?: boolean;
|
|
494
|
-
} | null;
|
|
495
|
-
};
|
|
496
|
-
/**
|
|
497
|
-
* Trigger layer hover event with hovered object
|
|
498
|
-
* @memberof visStateActions
|
|
499
|
-
* @param info - Object hovered, returned by deck.gl
|
|
500
|
-
* @returns action
|
|
501
|
-
* @public
|
|
502
|
-
*/
|
|
503
|
-
export declare function onLayerHover(info: {
|
|
504
|
-
picked?: boolean;
|
|
505
|
-
} | null): Merge<OnLayerHoverUpdaterAction, {
|
|
506
|
-
type: typeof ActionTypes.LAYER_HOVER;
|
|
507
|
-
}>;
|
|
508
|
-
export type OnLayerClickUpdaterAction = {
|
|
509
|
-
info: {
|
|
510
|
-
picked?: boolean;
|
|
511
|
-
} | null;
|
|
512
|
-
};
|
|
513
|
-
/**
|
|
514
|
-
* Trigger layer click event with clicked object
|
|
515
|
-
* @memberof visStateActions
|
|
516
|
-
* @param info - Object clicked, returned by deck.gl
|
|
517
|
-
* @returns action
|
|
518
|
-
* @public
|
|
519
|
-
*/
|
|
520
|
-
export declare function onLayerClick(info: {
|
|
521
|
-
picked?: boolean;
|
|
522
|
-
} | null): Merge<OnLayerClickUpdaterAction, {
|
|
523
|
-
type: typeof ActionTypes.LAYER_CLICK;
|
|
524
|
-
}>;
|
|
525
|
-
export type OnMapClickUpdaterAction = {};
|
|
526
|
-
/**
|
|
527
|
-
* Trigger map click event, unselect clicked object
|
|
528
|
-
* @memberof visStateActions
|
|
529
|
-
* @returns action
|
|
530
|
-
* @public
|
|
531
|
-
*/
|
|
532
|
-
export declare function onMapClick(): Merge<OnMapClickUpdaterAction, {
|
|
533
|
-
type: typeof ActionTypes.MAP_CLICK;
|
|
534
|
-
}>;
|
|
535
|
-
export type OnMouseMoveUpdaterAction = {
|
|
536
|
-
evt: any;
|
|
537
|
-
};
|
|
538
|
-
/**
|
|
539
|
-
* Trigger map mouse moveevent, payload would be
|
|
540
|
-
* React-map-gl PointerEvent
|
|
541
|
-
* https://uber.github.io/react-map-gl/#/documentation/api-reference/pointer-event
|
|
542
|
-
*
|
|
543
|
-
* @memberof visStateActions
|
|
544
|
-
* @param evt - PointerEvent
|
|
545
|
-
* @returns action
|
|
546
|
-
* @public
|
|
547
|
-
*/
|
|
548
|
-
export declare function onMouseMove(evt: any): Merge<OnMouseMoveUpdaterAction, {
|
|
549
|
-
type: typeof ActionTypes.MOUSE_MOVE;
|
|
550
|
-
}>;
|
|
551
|
-
export type ToggleLayerForMapUpdaterAction = {
|
|
552
|
-
mapIndex: number;
|
|
553
|
-
layerId: string;
|
|
554
|
-
};
|
|
555
|
-
/**
|
|
556
|
-
* Toggle visibility of a layer in a split map
|
|
557
|
-
* @memberof visStateActions
|
|
558
|
-
* @param mapIndex - index of the split map
|
|
559
|
-
* @param layerId - id of the layer
|
|
560
|
-
* @returns action
|
|
561
|
-
* @public
|
|
562
|
-
*/
|
|
563
|
-
export declare function toggleLayerForMap(mapIndex: number, layerId: string): Merge<ToggleLayerForMapUpdaterAction, {
|
|
564
|
-
type: typeof ActionTypes.TOGGLE_LAYER_FOR_MAP;
|
|
565
|
-
}>;
|
|
566
|
-
export type SetFilterPlotUpdaterAction = {
|
|
567
|
-
idx: number;
|
|
568
|
-
newProp: object;
|
|
569
|
-
valueIndex?: number;
|
|
570
|
-
};
|
|
571
|
-
/**
|
|
572
|
-
* Set the property of a filter plot
|
|
573
|
-
* @memberof visStateActions
|
|
574
|
-
* @param idx
|
|
575
|
-
* @param newProp key value mapping of new prop `{yAxis: 'histogram'}`
|
|
576
|
-
* @param valueIndex dataId index
|
|
577
|
-
* @returns action
|
|
578
|
-
* @public
|
|
579
|
-
*/
|
|
580
|
-
export declare function setFilterPlot(idx: number, newProp: object, valueIndex?: number): Merge<SetFilterPlotUpdaterAction, {
|
|
581
|
-
type: typeof ActionTypes.SET_FILTER_PLOT;
|
|
582
|
-
}>;
|
|
583
|
-
export type SetMapInfoUpdaterAction = {
|
|
584
|
-
info: any;
|
|
585
|
-
};
|
|
586
|
-
/**
|
|
587
|
-
* Set the property of a filter plot
|
|
588
|
-
* @memberof visStateActions
|
|
589
|
-
* @param info
|
|
590
|
-
* @returns action
|
|
591
|
-
* @public
|
|
592
|
-
*/
|
|
593
|
-
export declare function setMapInfo(info: any): Merge<SetMapInfoUpdaterAction, {
|
|
594
|
-
type: typeof ActionTypes.SET_MAP_INFO;
|
|
595
|
-
}>;
|
|
596
|
-
export type LoadFilesUpdaterAction = {
|
|
597
|
-
files: File[];
|
|
598
|
-
onFinish?(result: any): any;
|
|
599
|
-
};
|
|
600
|
-
/**
|
|
601
|
-
* Trigger file loading dispatch `addDataToMap` if succeed, or `loadFilesErr` if failed
|
|
602
|
-
* @memberof visStateActions
|
|
603
|
-
* @param files array of fileblob
|
|
604
|
-
* @returns action
|
|
605
|
-
* @public
|
|
606
|
-
*/
|
|
607
|
-
export declare function loadFiles(files: File[], onFinish?: (result: any) => any): Merge<LoadFilesUpdaterAction, {
|
|
608
|
-
type: typeof ActionTypes.LOAD_FILES;
|
|
609
|
-
}>;
|
|
610
|
-
/**
|
|
611
|
-
* Called with next file to load
|
|
612
|
-
* @memberof visStateActions
|
|
613
|
-
* @returns action
|
|
614
|
-
* @public
|
|
615
|
-
*/
|
|
616
|
-
export declare function loadNextFile(): {
|
|
617
|
-
type: typeof ActionTypes.LOAD_NEXT_FILE;
|
|
618
|
-
};
|
|
619
|
-
export type loadFilesSuccessUpdaterAction = {
|
|
620
|
-
result: FileCacheItem[];
|
|
621
|
-
};
|
|
622
|
-
/**
|
|
623
|
-
* called when all files are processed and loaded
|
|
624
|
-
* @memberof visStateActions
|
|
625
|
-
* @param result
|
|
626
|
-
* @returns action
|
|
627
|
-
*/
|
|
628
|
-
export declare function loadFilesSuccess(result: FileCacheItem[]): Merge<loadFilesSuccessUpdaterAction, {
|
|
629
|
-
type: typeof ActionTypes.LOAD_FILES_SUCCESS;
|
|
630
|
-
}>;
|
|
631
|
-
export type LoadFileStepSuccessAction = {
|
|
632
|
-
fileName: string;
|
|
633
|
-
fileCache: FileCacheItem[];
|
|
634
|
-
};
|
|
635
|
-
/**
|
|
636
|
-
* called when successfully loaded one file, ready to move on to the next one
|
|
637
|
-
* @memberof visStateActions
|
|
638
|
-
* @param result
|
|
639
|
-
* @returns action
|
|
640
|
-
*/
|
|
641
|
-
export declare function loadFileStepSuccess({ fileName, fileCache }: {
|
|
642
|
-
fileName: string;
|
|
643
|
-
fileCache: FileCacheItem[];
|
|
644
|
-
}): Merge<LoadFileStepSuccessAction, {
|
|
645
|
-
type: typeof ActionTypes.LOAD_FILE_STEP_SUCCESS;
|
|
646
|
-
}>;
|
|
647
|
-
export type LoadFilesErrUpdaterAction = {
|
|
648
|
-
fileName: string;
|
|
649
|
-
error: any;
|
|
650
|
-
};
|
|
651
|
-
/**
|
|
652
|
-
* Trigger loading file error
|
|
653
|
-
* @memberof visStateActions
|
|
654
|
-
* @param error
|
|
655
|
-
* @returns action
|
|
656
|
-
* @public
|
|
657
|
-
*/
|
|
658
|
-
export declare function loadFilesErr(fileName: string, error: any): Merge<LoadFilesErrUpdaterAction, {
|
|
659
|
-
type: typeof ActionTypes.LOAD_FILES_ERR;
|
|
660
|
-
}>;
|
|
661
|
-
export type SetFeaturesUpdaterAction = {
|
|
662
|
-
features: Feature[];
|
|
663
|
-
};
|
|
664
|
-
/**
|
|
665
|
-
* Store features to state
|
|
666
|
-
* @memberof visStateActions
|
|
667
|
-
* @param features
|
|
668
|
-
* @returns action
|
|
669
|
-
*/
|
|
670
|
-
export declare function setFeatures(features: Feature[]): Merge<SetFeaturesUpdaterAction, {
|
|
671
|
-
type: typeof ActionTypes.SET_FEATURES;
|
|
672
|
-
}>;
|
|
673
|
-
export type SetPolygonFilterLayerUpdaterAction = {
|
|
674
|
-
layer: Layer;
|
|
675
|
-
feature: Feature;
|
|
676
|
-
};
|
|
677
|
-
/**
|
|
678
|
-
* It will apply the provide feature as filter to the given layer.
|
|
679
|
-
* If the given feature is already applied as filter to the layer, it will remove the layer from the filter
|
|
680
|
-
* @memberof visStateActions
|
|
681
|
-
* @param layer
|
|
682
|
-
* @param feature
|
|
683
|
-
* @returns action
|
|
684
|
-
*/
|
|
685
|
-
export declare function setPolygonFilterLayer(layer: Layer, feature: Feature): Merge<SetPolygonFilterLayerUpdaterAction, {
|
|
686
|
-
type: typeof ActionTypes.SET_POLYGON_FILTER_LAYER;
|
|
687
|
-
}>;
|
|
688
|
-
export type SetSelectedFeatureUpdaterAction = {
|
|
689
|
-
feature: Feature;
|
|
690
|
-
};
|
|
691
|
-
/**
|
|
692
|
-
* Set the current feature to be edited/deleted
|
|
693
|
-
* @memberof visStateActions
|
|
694
|
-
* @param feature
|
|
695
|
-
* @returns action
|
|
696
|
-
*/
|
|
697
|
-
export declare function setSelectedFeature(feature: Feature): Merge<SetSelectedFeatureUpdaterAction, {
|
|
698
|
-
type: typeof ActionTypes.SET_SELECTED_FEATURE;
|
|
699
|
-
}>;
|
|
700
|
-
export type DeleteFeatureUpdaterAction = {
|
|
701
|
-
feature: Feature;
|
|
702
|
-
};
|
|
703
|
-
/**
|
|
704
|
-
* Delete the given feature
|
|
705
|
-
* @memberof visStateActions
|
|
706
|
-
* @param feature
|
|
707
|
-
* @returns action
|
|
708
|
-
*/
|
|
709
|
-
export declare function deleteFeature(feature: Feature): Merge<DeleteFeatureUpdaterAction, {
|
|
710
|
-
type: typeof ActionTypes.DELETE_FEATURE;
|
|
711
|
-
}>;
|
|
712
|
-
export type SetEditorModeUpdaterAction = {
|
|
713
|
-
mode: string;
|
|
714
|
-
};
|
|
715
|
-
/** Set the map mode
|
|
716
|
-
* @memberof visStateActions
|
|
717
|
-
* @param mode one of EDITOR_MODES
|
|
718
|
-
* @returns action
|
|
719
|
-
* @public
|
|
720
|
-
* @example
|
|
721
|
-
* import {setMapMode} from 'kepler.gl/actions';
|
|
722
|
-
* import {EDITOR_MODES} from 'kepler.gl/constants';
|
|
723
|
-
*
|
|
724
|
-
* this.props.dispatch(setMapMode(EDITOR_MODES.DRAW_POLYGON));
|
|
725
|
-
*/
|
|
726
|
-
export declare function setEditorMode(mode: string): Merge<SetEditorModeUpdaterAction, {
|
|
727
|
-
type: typeof ActionTypes.SET_EDITOR_MODE;
|
|
728
|
-
}>;
|
|
729
|
-
export type ApplyCPUFilterUpdaterAction = {
|
|
730
|
-
dataId: string | string[];
|
|
731
|
-
};
|
|
732
|
-
/**
|
|
733
|
-
* Trigger CPU filter of selected dataset
|
|
734
|
-
* @memberof visStateActions
|
|
735
|
-
* @param dataId - single dataId or an array of dataIds
|
|
736
|
-
* @returns action
|
|
737
|
-
* @public
|
|
738
|
-
*/
|
|
739
|
-
export declare function applyCPUFilter(dataId: string | string[]): Merge<ApplyCPUFilterUpdaterAction, {
|
|
740
|
-
type: typeof ActionTypes.APPLY_CPU_FILTER;
|
|
741
|
-
}>;
|
|
742
|
-
export type ToggleEditorVisibilityUpdaterAction = {};
|
|
743
|
-
/**
|
|
744
|
-
* Toggle editor layer visibility
|
|
745
|
-
* @memberof visStateActions
|
|
746
|
-
* @return action
|
|
747
|
-
*/
|
|
748
|
-
export declare function toggleEditorVisibility(): Merge<ToggleEditorVisibilityUpdaterAction, {
|
|
749
|
-
type: typeof ActionTypes.TOGGLE_EDITOR_VISIBILITY;
|
|
750
|
-
}>;
|
|
751
|
-
type FileContent = {
|
|
752
|
-
fileName: string;
|
|
753
|
-
header: string[];
|
|
754
|
-
data: any;
|
|
755
|
-
};
|
|
756
|
-
export type NextFileBatchUpdaterAction = {
|
|
757
|
-
payload: {
|
|
758
|
-
gen: AsyncGenerator<FileContent>;
|
|
759
|
-
fileName: string;
|
|
760
|
-
progress?: any;
|
|
761
|
-
accumulated?: any;
|
|
762
|
-
onFinish: (result: any) => any;
|
|
763
|
-
};
|
|
764
|
-
};
|
|
765
|
-
/**
|
|
766
|
-
* Process the next file batch
|
|
767
|
-
* @memberof visStateActions
|
|
768
|
-
* @param payload - batch payload
|
|
769
|
-
* @return action
|
|
770
|
-
*/
|
|
771
|
-
export declare function nextFileBatch(payload: NextFileBatchUpdaterAction['payload']): Merge<NextFileBatchUpdaterAction, {
|
|
772
|
-
type: typeof ActionTypes.NEXT_FILE_BATCH;
|
|
773
|
-
}>;
|
|
774
|
-
export type ProcessFileContentUpdaterAction = {
|
|
775
|
-
payload: {
|
|
776
|
-
content: FileContent;
|
|
777
|
-
fileCache: FileCacheItem[];
|
|
778
|
-
};
|
|
779
|
-
};
|
|
780
|
-
/**
|
|
781
|
-
* Process the file content
|
|
782
|
-
* @memberof visStateActions
|
|
783
|
-
* @param payload - the file content
|
|
784
|
-
* @return action
|
|
785
|
-
*/
|
|
786
|
-
export declare function processFileContent(payload: ProcessFileContentUpdaterAction['payload']): Merge<ProcessFileContentUpdaterAction, {
|
|
787
|
-
type: typeof ActionTypes.PROCESS_FILE_CONTENT;
|
|
788
|
-
}>;
|
|
789
|
-
export type SetLayerAnimationTimeConfigAction = {
|
|
790
|
-
config: {
|
|
791
|
-
timezone?: string;
|
|
792
|
-
timeFormat?: string;
|
|
793
|
-
};
|
|
794
|
-
};
|
|
795
|
-
/**
|
|
796
|
-
* Set layer animation time format and timezone
|
|
797
|
-
* @memberof visStateActions
|
|
798
|
-
* @param config - {timeFormat: string, timezone: string}
|
|
799
|
-
* @return action
|
|
800
|
-
*/
|
|
801
|
-
export declare function setLayerAnimationTimeConfig(config: SetLayerAnimationTimeConfigAction['config']): Merge<SetLayerAnimationTimeConfigAction, {
|
|
802
|
-
type: typeof ActionTypes.SET_LAYER_ANIMATION_TIME_CONFIG;
|
|
803
|
-
}>;
|
|
804
|
-
export type SetFilterAnimationTimeConfigAction = {
|
|
805
|
-
idx: number;
|
|
806
|
-
config: {
|
|
807
|
-
timezone?: string;
|
|
808
|
-
timeFormat?: string;
|
|
809
|
-
};
|
|
810
|
-
};
|
|
811
|
-
/**
|
|
812
|
-
* Set Filter animation time format and timezone
|
|
813
|
-
* @memberof visStateActions
|
|
814
|
-
* @param idx
|
|
815
|
-
* @param config
|
|
816
|
-
* @return action
|
|
817
|
-
*/
|
|
818
|
-
export declare function setFilterAnimationTimeConfig(idx: SetFilterAnimationTimeConfigAction['idx'], config: SetFilterAnimationTimeConfigAction['config']): Merge<SetFilterAnimationTimeConfigAction, {
|
|
819
|
-
type: typeof ActionTypes.SET_FILTER_ANIMATION_TIME_CONFIG;
|
|
820
|
-
}>;
|
|
821
|
-
export {};
|
|
1
|
+
import ActionTypes from 'constants/action-types';
|
|
2
|
+
import { AddDataToMapPayload } from '../actions/actions';
|
|
3
|
+
import { FileCacheItem } from '../processors/types';
|
|
4
|
+
import { Layer, LayerBaseConfig, LayerVisConfig } from 'layers';
|
|
5
|
+
import { Feature, InteractionConfig } from 'reducers/vis-state-updaters';
|
|
6
|
+
import { ValueOf, Merge, RGBColor, NestedPartial } from '../reducers/types';
|
|
7
|
+
import { ColorUI } from 'layers/layer-factory';
|
|
8
|
+
export type LayerConfigChangeUpdaterAction = {
|
|
9
|
+
oldLayer: Layer;
|
|
10
|
+
newConfig: Partial<LayerBaseConfig>;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Update layer base config: dataId, label, column, isVisible
|
|
14
|
+
* @param oldLayer - layer to be updated
|
|
15
|
+
* @param newConfig - new config to be merged with old config
|
|
16
|
+
* @returns action
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
19
|
+
export declare function layerConfigChange(oldLayer: Layer, newConfig: Partial<LayerBaseConfig>): Merge<LayerConfigChangeUpdaterAction, {
|
|
20
|
+
type: typeof ActionTypes.LAYER_CONFIG_CHANGE;
|
|
21
|
+
}>;
|
|
22
|
+
export type LayerTextLabelChangeUpdaterAction = {
|
|
23
|
+
oldLayer: Layer;
|
|
24
|
+
idx: number | 'all';
|
|
25
|
+
prop: string;
|
|
26
|
+
value: any;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Update layer text label
|
|
30
|
+
* @param oldLayer - layer to be updated
|
|
31
|
+
* @param idx -`idx` of text label to be updated
|
|
32
|
+
* @param prop - `prop` of text label, e,g, `anchor`, `alignment`, `color`, `size`, `field`
|
|
33
|
+
* @param value - new value
|
|
34
|
+
* @returns action
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
export declare function layerTextLabelChange(oldLayer: Layer, idx: number | 'all', prop: string, value: any): Merge<LayerTextLabelChangeUpdaterAction, {
|
|
38
|
+
type: typeof ActionTypes.LAYER_TEXT_LABEL_CHANGE;
|
|
39
|
+
}>;
|
|
40
|
+
export type LayerTypeChangeUpdaterAction = {
|
|
41
|
+
oldLayer: Layer;
|
|
42
|
+
newType: string;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* Update layer type. Previews layer config will be copied if applicable.
|
|
46
|
+
* @param oldLayer - layer to be updated
|
|
47
|
+
* @param newType - new type
|
|
48
|
+
* @returns action
|
|
49
|
+
* @public
|
|
50
|
+
*/
|
|
51
|
+
export declare function layerTypeChange(oldLayer: Layer, newType: string): Merge<LayerTypeChangeUpdaterAction, {
|
|
52
|
+
type: typeof ActionTypes.LAYER_TYPE_CHANGE;
|
|
53
|
+
}>;
|
|
54
|
+
export type LayerVisualChannelConfigChangeUpdaterAction = {
|
|
55
|
+
oldLayer: Layer;
|
|
56
|
+
newConfig: Partial<LayerBaseConfig>;
|
|
57
|
+
channel: string;
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* Update layer visual channel
|
|
61
|
+
* @memberof visStateActions
|
|
62
|
+
* @param oldLayer - layer to be updated
|
|
63
|
+
* @param newConfig - new visual channel config
|
|
64
|
+
* @param channel - channel to be updated
|
|
65
|
+
* @returns action
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
68
|
+
export declare function layerVisualChannelConfigChange(oldLayer: Layer, newConfig: Partial<LayerBaseConfig>, channel: string): Merge<LayerVisualChannelConfigChangeUpdaterAction, {
|
|
69
|
+
type: typeof ActionTypes.LAYER_VISUAL_CHANNEL_CHANGE;
|
|
70
|
+
}>;
|
|
71
|
+
export type LayerVisConfigChangeUpdaterAction = {
|
|
72
|
+
oldLayer: Layer;
|
|
73
|
+
newVisConfig: Partial<LayerVisConfig>;
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* Update layer `visConfig`
|
|
77
|
+
* @memberof visStateActions
|
|
78
|
+
* @param oldLayer - layer to be updated
|
|
79
|
+
* @param newVisConfig - new visConfig as a key value map: e.g. `{opacity: 0.8}`
|
|
80
|
+
* @returns action
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
export declare function layerVisConfigChange(oldLayer: Layer, newVisConfig: Partial<LayerVisConfig>): Merge<LayerVisConfigChangeUpdaterAction, {
|
|
84
|
+
type: typeof ActionTypes.LAYER_VIS_CONFIG_CHANGE;
|
|
85
|
+
}>;
|
|
86
|
+
export type LayerColorUIChangeUpdaterAction = {
|
|
87
|
+
oldLayer: Layer;
|
|
88
|
+
prop: string;
|
|
89
|
+
newConfig: NestedPartial<ColorUI>;
|
|
90
|
+
};
|
|
91
|
+
/**
|
|
92
|
+
* Set the color palette ui for layer color
|
|
93
|
+
* @memberof visStateActions
|
|
94
|
+
* @param oldLayer - layer to be updated
|
|
95
|
+
* @param prop - which color prop
|
|
96
|
+
* @param newConfig - to be merged
|
|
97
|
+
* @returns action
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
export declare function layerColorUIChange(oldLayer: Layer, prop: string, newConfig: NestedPartial<ColorUI>): Merge<LayerColorUIChangeUpdaterAction, {
|
|
101
|
+
type: typeof ActionTypes.LAYER_COLOR_UI_CHANGE;
|
|
102
|
+
}>;
|
|
103
|
+
export type UpdateLayerBlendingUpdaterAction = {
|
|
104
|
+
mode: 'additive' | 'normal' | 'subtractive';
|
|
105
|
+
};
|
|
106
|
+
/**
|
|
107
|
+
* Update layer blending mode
|
|
108
|
+
* @memberof visStateActions
|
|
109
|
+
* @param mode one of `additive`, `normal` and `subtractive`
|
|
110
|
+
* @returns action
|
|
111
|
+
* @public
|
|
112
|
+
*/
|
|
113
|
+
export declare function updateLayerBlending(mode: 'additive' | 'normal' | 'subtractive'): Merge<UpdateLayerBlendingUpdaterAction, {
|
|
114
|
+
type: typeof ActionTypes.UPDATE_LAYER_BLENDING;
|
|
115
|
+
}>;
|
|
116
|
+
export type InteractionConfigChangeUpdaterAction = {
|
|
117
|
+
config: ValueOf<InteractionConfig>;
|
|
118
|
+
};
|
|
119
|
+
/**
|
|
120
|
+
* Update `interactionConfig`
|
|
121
|
+
* @memberof visStateActions
|
|
122
|
+
* @param config - new config as key value map: `{tooltip: {enabled: true}}`
|
|
123
|
+
* @returns action
|
|
124
|
+
* @public
|
|
125
|
+
*/
|
|
126
|
+
export declare function interactionConfigChange(config: ValueOf<InteractionConfig>): Merge<InteractionConfigChangeUpdaterAction, {
|
|
127
|
+
type: typeof ActionTypes.INTERACTION_CONFIG_CHANGE;
|
|
128
|
+
}>;
|
|
129
|
+
export type SetFilterUpdaterAction = {
|
|
130
|
+
idx: number;
|
|
131
|
+
prop: string;
|
|
132
|
+
value: any;
|
|
133
|
+
valueIndex?: number;
|
|
134
|
+
};
|
|
135
|
+
/**
|
|
136
|
+
* Update filter property
|
|
137
|
+
* @memberof visStateActions
|
|
138
|
+
* @param idx -`idx` of filter to be updated
|
|
139
|
+
* @param prop - `prop` of filter, e,g, `dataId`, `name`, `value`
|
|
140
|
+
* @param value - new value
|
|
141
|
+
* @param valueIndex - dataId index
|
|
142
|
+
* @returns action
|
|
143
|
+
* @public
|
|
144
|
+
*/
|
|
145
|
+
export declare function setFilter(idx: number, prop: string, value: any, valueIndex?: number): Merge<SetFilterUpdaterAction, {
|
|
146
|
+
type: typeof ActionTypes.SET_FILTER;
|
|
147
|
+
}>;
|
|
148
|
+
export type SetFilterAnimationTimeUpdaterAction = {
|
|
149
|
+
idx: number;
|
|
150
|
+
prop: string;
|
|
151
|
+
value: any;
|
|
152
|
+
valueIndex?: number;
|
|
153
|
+
};
|
|
154
|
+
/**
|
|
155
|
+
* Same as Update filter
|
|
156
|
+
* @memberof visStateActions
|
|
157
|
+
* @param idx -`idx` of filter to be updated
|
|
158
|
+
* @param prop - `prop` of filter, e,g, `dataId`, `name`, `value`
|
|
159
|
+
* @param value - new value
|
|
160
|
+
* @param valueIndex - dataId index
|
|
161
|
+
* @returns action
|
|
162
|
+
* @public
|
|
163
|
+
*/
|
|
164
|
+
export declare function setFilterAnimationTime(idx: number, prop: string, value: any, valueIndex?: number): Merge<SetFilterAnimationTimeUpdaterAction, {
|
|
165
|
+
type: typeof ActionTypes.SET_FILTER_ANIMATION_TIME;
|
|
166
|
+
}>;
|
|
167
|
+
export type SetFilterAnimationWindowUpdaterAction = {
|
|
168
|
+
id: string;
|
|
169
|
+
animationWindow: string;
|
|
170
|
+
};
|
|
171
|
+
/**
|
|
172
|
+
* Same as Update filter
|
|
173
|
+
* @memberof visStateActions
|
|
174
|
+
* @public
|
|
175
|
+
*/
|
|
176
|
+
export declare function setFilterAnimationWindow({ id, animationWindow }: SetFilterAnimationWindowUpdaterAction): Merge<SetFilterAnimationWindowUpdaterAction, {
|
|
177
|
+
type: typeof ActionTypes.SET_FILTER_ANIMATION_WINDOW;
|
|
178
|
+
}>;
|
|
179
|
+
export type AddFilterUpdaterAction = {
|
|
180
|
+
dataId?: string | null;
|
|
181
|
+
};
|
|
182
|
+
/**
|
|
183
|
+
* Add a new filter
|
|
184
|
+
* @memberof visStateActions
|
|
185
|
+
* @param dataId - dataset `id` this new filter is associated with
|
|
186
|
+
* @returns action
|
|
187
|
+
* @public
|
|
188
|
+
*/
|
|
189
|
+
export declare function addFilter(dataId: string | null): Merge<AddFilterUpdaterAction, {
|
|
190
|
+
type: typeof ActionTypes.ADD_FILTER;
|
|
191
|
+
}>;
|
|
192
|
+
export type AddLayerUpdaterAction = {
|
|
193
|
+
config?: object;
|
|
194
|
+
datasetId?: string;
|
|
195
|
+
};
|
|
196
|
+
/**
|
|
197
|
+
* Add a new layer
|
|
198
|
+
* @memberof visStateActions
|
|
199
|
+
* @param config - new layer config
|
|
200
|
+
* @param datasetId - dataset id used for creating an empty layer
|
|
201
|
+
* @returns action
|
|
202
|
+
* @public
|
|
203
|
+
*/
|
|
204
|
+
export declare function addLayer(config?: object, datasetId?: string): Merge<AddLayerUpdaterAction, {
|
|
205
|
+
type: typeof ActionTypes.ADD_LAYER;
|
|
206
|
+
}>;
|
|
207
|
+
export type ReorderLayerUpdaterAction = {
|
|
208
|
+
order: number[];
|
|
209
|
+
};
|
|
210
|
+
/**
|
|
211
|
+
* Reorder layer, order is an array of layer indexes, index 0 will be the one at the bottom
|
|
212
|
+
* @memberof visStateActions
|
|
213
|
+
* @param order an array of layer indexes
|
|
214
|
+
* @returns action
|
|
215
|
+
* @public
|
|
216
|
+
* @example
|
|
217
|
+
*
|
|
218
|
+
* // bring `layers[1]` below `layers[0]`, the sequence layers will be rendered is `1`, `0`, `2`, `3`.
|
|
219
|
+
* // `1` will be at the bottom, `3` will be at the top.
|
|
220
|
+
* this.props.dispatch(reorderLayer([1, 0, 2, 3]));
|
|
221
|
+
*/
|
|
222
|
+
export declare function reorderLayer(order: number[]): Merge<ReorderLayerUpdaterAction, {
|
|
223
|
+
type: typeof ActionTypes.REORDER_LAYER;
|
|
224
|
+
}>;
|
|
225
|
+
export type RemoveFilterUpdaterAction = {
|
|
226
|
+
idx: number;
|
|
227
|
+
};
|
|
228
|
+
/**
|
|
229
|
+
* Remove a filter from `visState.filters`, once a filter is removed, data will be re-filtered and layer will be updated
|
|
230
|
+
* @memberof visStateActions
|
|
231
|
+
* @param idx idx of filter to be removed
|
|
232
|
+
* @returns action
|
|
233
|
+
* @public
|
|
234
|
+
*/
|
|
235
|
+
export declare function removeFilter(idx: number): Merge<RemoveFilterUpdaterAction, {
|
|
236
|
+
type: typeof ActionTypes.REMOVE_FILTER;
|
|
237
|
+
}>;
|
|
238
|
+
export type RemoveLayerUpdaterAction = {
|
|
239
|
+
idx: number;
|
|
240
|
+
};
|
|
241
|
+
/**
|
|
242
|
+
* Remove a layer
|
|
243
|
+
* @memberof visStateActions
|
|
244
|
+
* @param idx idx of layer to be removed
|
|
245
|
+
* @returns action
|
|
246
|
+
* @public
|
|
247
|
+
*/
|
|
248
|
+
export declare function removeLayer(idx: number): Merge<RemoveLayerUpdaterAction, {
|
|
249
|
+
type: typeof ActionTypes.REMOVE_LAYER;
|
|
250
|
+
}>;
|
|
251
|
+
export type DuplicateLayerUpdaterAction = {
|
|
252
|
+
idx: number;
|
|
253
|
+
};
|
|
254
|
+
/**
|
|
255
|
+
* Duplicate a layer
|
|
256
|
+
* @memberof visStateActions
|
|
257
|
+
* @param idx idx of layer to be duplicated
|
|
258
|
+
* @returns action
|
|
259
|
+
* @public
|
|
260
|
+
*/
|
|
261
|
+
export declare function duplicateLayer(idx: number): Merge<DuplicateLayerUpdaterAction, {
|
|
262
|
+
type: typeof ActionTypes.DUPLICATE_LAYER;
|
|
263
|
+
}>;
|
|
264
|
+
export type RemoveDatasetUpdaterAction = {
|
|
265
|
+
dataId: string;
|
|
266
|
+
};
|
|
267
|
+
/**
|
|
268
|
+
* Remove a dataset and all layers, filters, tooltip configs that based on it
|
|
269
|
+
* @memberof visStateActions
|
|
270
|
+
* @param dataId dataset id
|
|
271
|
+
* @returns action
|
|
272
|
+
* @public
|
|
273
|
+
*/
|
|
274
|
+
export declare function removeDataset(dataId: string): Merge<RemoveDatasetUpdaterAction, {
|
|
275
|
+
type: typeof ActionTypes.REMOVE_DATASET;
|
|
276
|
+
}>;
|
|
277
|
+
export type ShowDatasetTableUpdaterAction = {
|
|
278
|
+
dataId: string;
|
|
279
|
+
};
|
|
280
|
+
/**
|
|
281
|
+
* Display dataset table in a modal
|
|
282
|
+
* @memberof visStateActions
|
|
283
|
+
* @param dataId dataset id to show in table
|
|
284
|
+
* @returns action
|
|
285
|
+
* @public
|
|
286
|
+
*/
|
|
287
|
+
export declare function showDatasetTable(dataId: string): Merge<ShowDatasetTableUpdaterAction, {
|
|
288
|
+
type: typeof ActionTypes.SHOW_DATASET_TABLE;
|
|
289
|
+
}>;
|
|
290
|
+
export type UpdateDatasetColorUpdater = {
|
|
291
|
+
dataId: string;
|
|
292
|
+
newColor: RGBColor;
|
|
293
|
+
};
|
|
294
|
+
/**
|
|
295
|
+
* Update dataset color to custom by means of color picker
|
|
296
|
+
* @memberof visStateActions
|
|
297
|
+
* @param dataId dataset `id` this custom color is associated with
|
|
298
|
+
* @param newColor custom color in RGBformat
|
|
299
|
+
* @returns action
|
|
300
|
+
* @public
|
|
301
|
+
*/
|
|
302
|
+
export declare function updateTableColor(dataId: string, newColor: RGBColor): Merge<UpdateDatasetColorUpdater, {
|
|
303
|
+
type: typeof ActionTypes.UPDATE_TABLE_COLOR;
|
|
304
|
+
}>;
|
|
305
|
+
export type SortTableColumnUpdaterAction = {
|
|
306
|
+
dataId: string;
|
|
307
|
+
column: string;
|
|
308
|
+
mode?: string;
|
|
309
|
+
};
|
|
310
|
+
/**
|
|
311
|
+
* Sort dataset column, for table display
|
|
312
|
+
* @memberof visStateActions
|
|
313
|
+
* @param dataId
|
|
314
|
+
* @param column
|
|
315
|
+
* @param mode
|
|
316
|
+
* @returns action
|
|
317
|
+
* @public
|
|
318
|
+
*/
|
|
319
|
+
export declare function sortTableColumn(dataId: string, column: string, mode?: string): Merge<SortTableColumnUpdaterAction, {
|
|
320
|
+
type: typeof ActionTypes.SORT_TABLE_COLUMN;
|
|
321
|
+
}>;
|
|
322
|
+
export type PinTableColumnUpdaterAction = {
|
|
323
|
+
dataId: string;
|
|
324
|
+
column: string;
|
|
325
|
+
};
|
|
326
|
+
/**
|
|
327
|
+
* Pin dataset column, for table display
|
|
328
|
+
* @param dataId
|
|
329
|
+
* @param column
|
|
330
|
+
* @returns action
|
|
331
|
+
* @public
|
|
332
|
+
*/
|
|
333
|
+
export declare function pinTableColumn(dataId: string, column: string): Merge<PinTableColumnUpdaterAction, {
|
|
334
|
+
type: typeof ActionTypes.PIN_TABLE_COLUMN;
|
|
335
|
+
}>;
|
|
336
|
+
export type CopyTableColumnUpdaterAction = {
|
|
337
|
+
dataId: string;
|
|
338
|
+
column: string;
|
|
339
|
+
};
|
|
340
|
+
/**
|
|
341
|
+
* Copy column, for table display
|
|
342
|
+
* @param dataId
|
|
343
|
+
* @param column
|
|
344
|
+
* @returns action
|
|
345
|
+
* @public
|
|
346
|
+
*/
|
|
347
|
+
export declare function copyTableColumn(dataId: string, column: string): Merge<CopyTableColumnUpdaterAction, {
|
|
348
|
+
type: typeof ActionTypes.COPY_TABLE_COLUMN;
|
|
349
|
+
}>;
|
|
350
|
+
export type AddDataToMapUpdaterOptions = {
|
|
351
|
+
centrMap?: boolean;
|
|
352
|
+
readOnly?: boolean;
|
|
353
|
+
keepExistingConfig?: boolean;
|
|
354
|
+
};
|
|
355
|
+
export type UpdateVisDataUpdaterAction = {
|
|
356
|
+
datasets: AddDataToMapPayload['datasets'];
|
|
357
|
+
options: AddDataToMapPayload['options'];
|
|
358
|
+
config: AddDataToMapPayload['config'];
|
|
359
|
+
} & AddDataToMapPayload;
|
|
360
|
+
/**
|
|
361
|
+
* Add new dataset to `visState`, with option to load a map config along with the datasets
|
|
362
|
+
* @memberof visStateActions
|
|
363
|
+
* @param datasets - ***required** datasets can be a dataset or an array of datasets
|
|
364
|
+
* Each dataset object needs to have `info` and `data` property.
|
|
365
|
+
* @param {object} options
|
|
366
|
+
* @param options.centerMap `default: true` if `centerMap` is set to `true` kepler.gl will
|
|
367
|
+
* place the map view within the data points boundaries
|
|
368
|
+
* @param options.readOnly `default: false` if `readOnly` is set to `true`
|
|
369
|
+
* the left setting panel will be hidden
|
|
370
|
+
* @param config this object will contain the full kepler.gl instance configuration {mapState, mapStyle, visState}
|
|
371
|
+
* @returns action
|
|
372
|
+
* @public
|
|
373
|
+
*/
|
|
374
|
+
export declare function updateVisData(datasets: AddDataToMapPayload['datasets'], options: AddDataToMapPayload['options'], config: AddDataToMapPayload['config']): Merge<UpdateVisDataUpdaterAction, {
|
|
375
|
+
type: typeof ActionTypes.UPDATE_VIS_DATA;
|
|
376
|
+
}>;
|
|
377
|
+
export type RenameDatasetUpdaterAction = {
|
|
378
|
+
dataId: string;
|
|
379
|
+
label: string;
|
|
380
|
+
};
|
|
381
|
+
/**
|
|
382
|
+
* Rename an existing dataset in `visState`
|
|
383
|
+
* @memberof visStateActions
|
|
384
|
+
* @param dataId - ***required** Id of the dataset to update
|
|
385
|
+
* @param label - ***required** New name for the dataset
|
|
386
|
+
* @returns action
|
|
387
|
+
* @public
|
|
388
|
+
*/
|
|
389
|
+
export declare function renameDataset(dataId: string, label: string): Merge<RenameDatasetUpdaterAction, {
|
|
390
|
+
type: typeof ActionTypes.RENAME_DATASET;
|
|
391
|
+
}>;
|
|
392
|
+
export type ToggleFilterAnimationUpdaterAction = {
|
|
393
|
+
idx: number;
|
|
394
|
+
};
|
|
395
|
+
/**
|
|
396
|
+
* Start and end filter animation
|
|
397
|
+
* @memberof visStateActions
|
|
398
|
+
* @param {Number} idx of filter
|
|
399
|
+
* @returns action
|
|
400
|
+
* @public
|
|
401
|
+
*/
|
|
402
|
+
export declare function toggleFilterAnimation(idx: number): Merge<ToggleFilterAnimationUpdaterAction, {
|
|
403
|
+
type: typeof ActionTypes.TOGGLE_FILTER_ANIMATION;
|
|
404
|
+
}>;
|
|
405
|
+
export type UpdateFilterAnimationSpeedUpdaterAction = {
|
|
406
|
+
idx: number;
|
|
407
|
+
speed: number;
|
|
408
|
+
};
|
|
409
|
+
/**
|
|
410
|
+
* Change filter animation speed
|
|
411
|
+
* @memberof visStateActions
|
|
412
|
+
* @param idx - `idx` of filter
|
|
413
|
+
* @param speed - `speed` to change it to. `speed` is a multiplier
|
|
414
|
+
* @returns action
|
|
415
|
+
* @public
|
|
416
|
+
*/
|
|
417
|
+
export declare function updateFilterAnimationSpeed(idx: number, speed: number): Merge<UpdateFilterAnimationSpeedUpdaterAction, {
|
|
418
|
+
type: typeof ActionTypes.UPDATE_FILTER_ANIMATION_SPEED;
|
|
419
|
+
}>;
|
|
420
|
+
export type SetLayerAnimationTimeUpdaterAction = {
|
|
421
|
+
value: number;
|
|
422
|
+
};
|
|
423
|
+
/**
|
|
424
|
+
* Reset animation
|
|
425
|
+
* @memberof visStateActions
|
|
426
|
+
* @param value - Current value of the slider
|
|
427
|
+
* @returns action
|
|
428
|
+
* @public
|
|
429
|
+
*/
|
|
430
|
+
export declare function setLayerAnimationTime(value: number): Merge<SetLayerAnimationTimeUpdaterAction, {
|
|
431
|
+
type: typeof ActionTypes.SET_LAYER_ANIMATION_TIME;
|
|
432
|
+
}>;
|
|
433
|
+
export type UpdateLayerAnimationSpeedUpdaterAction = {
|
|
434
|
+
speed: number;
|
|
435
|
+
};
|
|
436
|
+
/**
|
|
437
|
+
* update trip layer animation speed
|
|
438
|
+
* @memberof visStateActions
|
|
439
|
+
* @param speed - `speed` to change it to. `speed` is a multiplier
|
|
440
|
+
* @returns action
|
|
441
|
+
* @public
|
|
442
|
+
*/
|
|
443
|
+
export declare function updateLayerAnimationSpeed(speed: number): Merge<UpdateLayerAnimationSpeedUpdaterAction, {
|
|
444
|
+
type: typeof ActionTypes.UPDATE_LAYER_ANIMATION_SPEED;
|
|
445
|
+
}>;
|
|
446
|
+
export type ToggleLayerAnimationUpdaterAction = {};
|
|
447
|
+
/**
|
|
448
|
+
* start end end layer animation
|
|
449
|
+
* @memberof visStateActions
|
|
450
|
+
* @returns action
|
|
451
|
+
* @public
|
|
452
|
+
*/
|
|
453
|
+
export declare function toggleLayerAnimation(): Merge<ToggleLayerAnimationUpdaterAction, {
|
|
454
|
+
type: typeof ActionTypes.TOGGLE_LAYER_ANIMATION;
|
|
455
|
+
}>;
|
|
456
|
+
export type ToggleLayerAnimationControlUpdaterAction = {};
|
|
457
|
+
/**
|
|
458
|
+
* hide and show layer animation control
|
|
459
|
+
* @memberof visStateActions
|
|
460
|
+
* @returns action
|
|
461
|
+
* @public
|
|
462
|
+
*/
|
|
463
|
+
export declare function toggleLayerAnimationControl(): Merge<ToggleLayerAnimationControlUpdaterAction, {
|
|
464
|
+
type: typeof ActionTypes.TOGGLE_LAYER_ANIMATION_CONTROL;
|
|
465
|
+
}>;
|
|
466
|
+
export type EnlargeFilterUpdaterAction = {
|
|
467
|
+
idx: number;
|
|
468
|
+
};
|
|
469
|
+
/**
|
|
470
|
+
* Show larger time filter at bottom for time playback (apply to time filter only)
|
|
471
|
+
* @memberof visStateActions
|
|
472
|
+
* @param idx - index of filter to enlarge
|
|
473
|
+
* @returns action
|
|
474
|
+
* @public
|
|
475
|
+
*/
|
|
476
|
+
export declare function enlargeFilter(idx: number): Merge<EnlargeFilterUpdaterAction, {
|
|
477
|
+
type: typeof ActionTypes.ENLARGE_FILTER;
|
|
478
|
+
}>;
|
|
479
|
+
export type ToggleFilterFeatureUpdaterAction = {
|
|
480
|
+
idx: number;
|
|
481
|
+
};
|
|
482
|
+
/**
|
|
483
|
+
* Show/hide filter feature on map
|
|
484
|
+
* @memberof visStateActions
|
|
485
|
+
* @param idx - index of filter feature to show/hide
|
|
486
|
+
* @return action
|
|
487
|
+
*/
|
|
488
|
+
export declare function toggleFilterFeature(idx: number): Merge<ToggleFilterFeatureUpdaterAction, {
|
|
489
|
+
type: typeof ActionTypes.TOGGLE_FILTER_FEATURE;
|
|
490
|
+
}>;
|
|
491
|
+
export type OnLayerHoverUpdaterAction = {
|
|
492
|
+
info: {
|
|
493
|
+
picked?: boolean;
|
|
494
|
+
} | null;
|
|
495
|
+
};
|
|
496
|
+
/**
|
|
497
|
+
* Trigger layer hover event with hovered object
|
|
498
|
+
* @memberof visStateActions
|
|
499
|
+
* @param info - Object hovered, returned by deck.gl
|
|
500
|
+
* @returns action
|
|
501
|
+
* @public
|
|
502
|
+
*/
|
|
503
|
+
export declare function onLayerHover(info: {
|
|
504
|
+
picked?: boolean;
|
|
505
|
+
} | null): Merge<OnLayerHoverUpdaterAction, {
|
|
506
|
+
type: typeof ActionTypes.LAYER_HOVER;
|
|
507
|
+
}>;
|
|
508
|
+
export type OnLayerClickUpdaterAction = {
|
|
509
|
+
info: {
|
|
510
|
+
picked?: boolean;
|
|
511
|
+
} | null;
|
|
512
|
+
};
|
|
513
|
+
/**
|
|
514
|
+
* Trigger layer click event with clicked object
|
|
515
|
+
* @memberof visStateActions
|
|
516
|
+
* @param info - Object clicked, returned by deck.gl
|
|
517
|
+
* @returns action
|
|
518
|
+
* @public
|
|
519
|
+
*/
|
|
520
|
+
export declare function onLayerClick(info: {
|
|
521
|
+
picked?: boolean;
|
|
522
|
+
} | null): Merge<OnLayerClickUpdaterAction, {
|
|
523
|
+
type: typeof ActionTypes.LAYER_CLICK;
|
|
524
|
+
}>;
|
|
525
|
+
export type OnMapClickUpdaterAction = {};
|
|
526
|
+
/**
|
|
527
|
+
* Trigger map click event, unselect clicked object
|
|
528
|
+
* @memberof visStateActions
|
|
529
|
+
* @returns action
|
|
530
|
+
* @public
|
|
531
|
+
*/
|
|
532
|
+
export declare function onMapClick(): Merge<OnMapClickUpdaterAction, {
|
|
533
|
+
type: typeof ActionTypes.MAP_CLICK;
|
|
534
|
+
}>;
|
|
535
|
+
export type OnMouseMoveUpdaterAction = {
|
|
536
|
+
evt: any;
|
|
537
|
+
};
|
|
538
|
+
/**
|
|
539
|
+
* Trigger map mouse moveevent, payload would be
|
|
540
|
+
* React-map-gl PointerEvent
|
|
541
|
+
* https://uber.github.io/react-map-gl/#/documentation/api-reference/pointer-event
|
|
542
|
+
*
|
|
543
|
+
* @memberof visStateActions
|
|
544
|
+
* @param evt - PointerEvent
|
|
545
|
+
* @returns action
|
|
546
|
+
* @public
|
|
547
|
+
*/
|
|
548
|
+
export declare function onMouseMove(evt: any): Merge<OnMouseMoveUpdaterAction, {
|
|
549
|
+
type: typeof ActionTypes.MOUSE_MOVE;
|
|
550
|
+
}>;
|
|
551
|
+
export type ToggleLayerForMapUpdaterAction = {
|
|
552
|
+
mapIndex: number;
|
|
553
|
+
layerId: string;
|
|
554
|
+
};
|
|
555
|
+
/**
|
|
556
|
+
* Toggle visibility of a layer in a split map
|
|
557
|
+
* @memberof visStateActions
|
|
558
|
+
* @param mapIndex - index of the split map
|
|
559
|
+
* @param layerId - id of the layer
|
|
560
|
+
* @returns action
|
|
561
|
+
* @public
|
|
562
|
+
*/
|
|
563
|
+
export declare function toggleLayerForMap(mapIndex: number, layerId: string): Merge<ToggleLayerForMapUpdaterAction, {
|
|
564
|
+
type: typeof ActionTypes.TOGGLE_LAYER_FOR_MAP;
|
|
565
|
+
}>;
|
|
566
|
+
export type SetFilterPlotUpdaterAction = {
|
|
567
|
+
idx: number;
|
|
568
|
+
newProp: object;
|
|
569
|
+
valueIndex?: number;
|
|
570
|
+
};
|
|
571
|
+
/**
|
|
572
|
+
* Set the property of a filter plot
|
|
573
|
+
* @memberof visStateActions
|
|
574
|
+
* @param idx
|
|
575
|
+
* @param newProp key value mapping of new prop `{yAxis: 'histogram'}`
|
|
576
|
+
* @param valueIndex dataId index
|
|
577
|
+
* @returns action
|
|
578
|
+
* @public
|
|
579
|
+
*/
|
|
580
|
+
export declare function setFilterPlot(idx: number, newProp: object, valueIndex?: number): Merge<SetFilterPlotUpdaterAction, {
|
|
581
|
+
type: typeof ActionTypes.SET_FILTER_PLOT;
|
|
582
|
+
}>;
|
|
583
|
+
export type SetMapInfoUpdaterAction = {
|
|
584
|
+
info: any;
|
|
585
|
+
};
|
|
586
|
+
/**
|
|
587
|
+
* Set the property of a filter plot
|
|
588
|
+
* @memberof visStateActions
|
|
589
|
+
* @param info
|
|
590
|
+
* @returns action
|
|
591
|
+
* @public
|
|
592
|
+
*/
|
|
593
|
+
export declare function setMapInfo(info: any): Merge<SetMapInfoUpdaterAction, {
|
|
594
|
+
type: typeof ActionTypes.SET_MAP_INFO;
|
|
595
|
+
}>;
|
|
596
|
+
export type LoadFilesUpdaterAction = {
|
|
597
|
+
files: File[];
|
|
598
|
+
onFinish?(result: any): any;
|
|
599
|
+
};
|
|
600
|
+
/**
|
|
601
|
+
* Trigger file loading dispatch `addDataToMap` if succeed, or `loadFilesErr` if failed
|
|
602
|
+
* @memberof visStateActions
|
|
603
|
+
* @param files array of fileblob
|
|
604
|
+
* @returns action
|
|
605
|
+
* @public
|
|
606
|
+
*/
|
|
607
|
+
export declare function loadFiles(files: File[], onFinish?: (result: any) => any): Merge<LoadFilesUpdaterAction, {
|
|
608
|
+
type: typeof ActionTypes.LOAD_FILES;
|
|
609
|
+
}>;
|
|
610
|
+
/**
|
|
611
|
+
* Called with next file to load
|
|
612
|
+
* @memberof visStateActions
|
|
613
|
+
* @returns action
|
|
614
|
+
* @public
|
|
615
|
+
*/
|
|
616
|
+
export declare function loadNextFile(): {
|
|
617
|
+
type: typeof ActionTypes.LOAD_NEXT_FILE;
|
|
618
|
+
};
|
|
619
|
+
export type loadFilesSuccessUpdaterAction = {
|
|
620
|
+
result: FileCacheItem[];
|
|
621
|
+
};
|
|
622
|
+
/**
|
|
623
|
+
* called when all files are processed and loaded
|
|
624
|
+
* @memberof visStateActions
|
|
625
|
+
* @param result
|
|
626
|
+
* @returns action
|
|
627
|
+
*/
|
|
628
|
+
export declare function loadFilesSuccess(result: FileCacheItem[]): Merge<loadFilesSuccessUpdaterAction, {
|
|
629
|
+
type: typeof ActionTypes.LOAD_FILES_SUCCESS;
|
|
630
|
+
}>;
|
|
631
|
+
export type LoadFileStepSuccessAction = {
|
|
632
|
+
fileName: string;
|
|
633
|
+
fileCache: FileCacheItem[];
|
|
634
|
+
};
|
|
635
|
+
/**
|
|
636
|
+
* called when successfully loaded one file, ready to move on to the next one
|
|
637
|
+
* @memberof visStateActions
|
|
638
|
+
* @param result
|
|
639
|
+
* @returns action
|
|
640
|
+
*/
|
|
641
|
+
export declare function loadFileStepSuccess({ fileName, fileCache }: {
|
|
642
|
+
fileName: string;
|
|
643
|
+
fileCache: FileCacheItem[];
|
|
644
|
+
}): Merge<LoadFileStepSuccessAction, {
|
|
645
|
+
type: typeof ActionTypes.LOAD_FILE_STEP_SUCCESS;
|
|
646
|
+
}>;
|
|
647
|
+
export type LoadFilesErrUpdaterAction = {
|
|
648
|
+
fileName: string;
|
|
649
|
+
error: any;
|
|
650
|
+
};
|
|
651
|
+
/**
|
|
652
|
+
* Trigger loading file error
|
|
653
|
+
* @memberof visStateActions
|
|
654
|
+
* @param error
|
|
655
|
+
* @returns action
|
|
656
|
+
* @public
|
|
657
|
+
*/
|
|
658
|
+
export declare function loadFilesErr(fileName: string, error: any): Merge<LoadFilesErrUpdaterAction, {
|
|
659
|
+
type: typeof ActionTypes.LOAD_FILES_ERR;
|
|
660
|
+
}>;
|
|
661
|
+
export type SetFeaturesUpdaterAction = {
|
|
662
|
+
features: Feature[];
|
|
663
|
+
};
|
|
664
|
+
/**
|
|
665
|
+
* Store features to state
|
|
666
|
+
* @memberof visStateActions
|
|
667
|
+
* @param features
|
|
668
|
+
* @returns action
|
|
669
|
+
*/
|
|
670
|
+
export declare function setFeatures(features: Feature[]): Merge<SetFeaturesUpdaterAction, {
|
|
671
|
+
type: typeof ActionTypes.SET_FEATURES;
|
|
672
|
+
}>;
|
|
673
|
+
export type SetPolygonFilterLayerUpdaterAction = {
|
|
674
|
+
layer: Layer;
|
|
675
|
+
feature: Feature;
|
|
676
|
+
};
|
|
677
|
+
/**
|
|
678
|
+
* It will apply the provide feature as filter to the given layer.
|
|
679
|
+
* If the given feature is already applied as filter to the layer, it will remove the layer from the filter
|
|
680
|
+
* @memberof visStateActions
|
|
681
|
+
* @param layer
|
|
682
|
+
* @param feature
|
|
683
|
+
* @returns action
|
|
684
|
+
*/
|
|
685
|
+
export declare function setPolygonFilterLayer(layer: Layer, feature: Feature): Merge<SetPolygonFilterLayerUpdaterAction, {
|
|
686
|
+
type: typeof ActionTypes.SET_POLYGON_FILTER_LAYER;
|
|
687
|
+
}>;
|
|
688
|
+
export type SetSelectedFeatureUpdaterAction = {
|
|
689
|
+
feature: Feature;
|
|
690
|
+
};
|
|
691
|
+
/**
|
|
692
|
+
* Set the current feature to be edited/deleted
|
|
693
|
+
* @memberof visStateActions
|
|
694
|
+
* @param feature
|
|
695
|
+
* @returns action
|
|
696
|
+
*/
|
|
697
|
+
export declare function setSelectedFeature(feature: Feature): Merge<SetSelectedFeatureUpdaterAction, {
|
|
698
|
+
type: typeof ActionTypes.SET_SELECTED_FEATURE;
|
|
699
|
+
}>;
|
|
700
|
+
export type DeleteFeatureUpdaterAction = {
|
|
701
|
+
feature: Feature;
|
|
702
|
+
};
|
|
703
|
+
/**
|
|
704
|
+
* Delete the given feature
|
|
705
|
+
* @memberof visStateActions
|
|
706
|
+
* @param feature
|
|
707
|
+
* @returns action
|
|
708
|
+
*/
|
|
709
|
+
export declare function deleteFeature(feature: Feature): Merge<DeleteFeatureUpdaterAction, {
|
|
710
|
+
type: typeof ActionTypes.DELETE_FEATURE;
|
|
711
|
+
}>;
|
|
712
|
+
export type SetEditorModeUpdaterAction = {
|
|
713
|
+
mode: string;
|
|
714
|
+
};
|
|
715
|
+
/** Set the map mode
|
|
716
|
+
* @memberof visStateActions
|
|
717
|
+
* @param mode one of EDITOR_MODES
|
|
718
|
+
* @returns action
|
|
719
|
+
* @public
|
|
720
|
+
* @example
|
|
721
|
+
* import {setMapMode} from 'kepler.gl/actions';
|
|
722
|
+
* import {EDITOR_MODES} from 'kepler.gl/constants';
|
|
723
|
+
*
|
|
724
|
+
* this.props.dispatch(setMapMode(EDITOR_MODES.DRAW_POLYGON));
|
|
725
|
+
*/
|
|
726
|
+
export declare function setEditorMode(mode: string): Merge<SetEditorModeUpdaterAction, {
|
|
727
|
+
type: typeof ActionTypes.SET_EDITOR_MODE;
|
|
728
|
+
}>;
|
|
729
|
+
export type ApplyCPUFilterUpdaterAction = {
|
|
730
|
+
dataId: string | string[];
|
|
731
|
+
};
|
|
732
|
+
/**
|
|
733
|
+
* Trigger CPU filter of selected dataset
|
|
734
|
+
* @memberof visStateActions
|
|
735
|
+
* @param dataId - single dataId or an array of dataIds
|
|
736
|
+
* @returns action
|
|
737
|
+
* @public
|
|
738
|
+
*/
|
|
739
|
+
export declare function applyCPUFilter(dataId: string | string[]): Merge<ApplyCPUFilterUpdaterAction, {
|
|
740
|
+
type: typeof ActionTypes.APPLY_CPU_FILTER;
|
|
741
|
+
}>;
|
|
742
|
+
export type ToggleEditorVisibilityUpdaterAction = {};
|
|
743
|
+
/**
|
|
744
|
+
* Toggle editor layer visibility
|
|
745
|
+
* @memberof visStateActions
|
|
746
|
+
* @return action
|
|
747
|
+
*/
|
|
748
|
+
export declare function toggleEditorVisibility(): Merge<ToggleEditorVisibilityUpdaterAction, {
|
|
749
|
+
type: typeof ActionTypes.TOGGLE_EDITOR_VISIBILITY;
|
|
750
|
+
}>;
|
|
751
|
+
type FileContent = {
|
|
752
|
+
fileName: string;
|
|
753
|
+
header: string[];
|
|
754
|
+
data: any;
|
|
755
|
+
};
|
|
756
|
+
export type NextFileBatchUpdaterAction = {
|
|
757
|
+
payload: {
|
|
758
|
+
gen: AsyncGenerator<FileContent>;
|
|
759
|
+
fileName: string;
|
|
760
|
+
progress?: any;
|
|
761
|
+
accumulated?: any;
|
|
762
|
+
onFinish: (result: any) => any;
|
|
763
|
+
};
|
|
764
|
+
};
|
|
765
|
+
/**
|
|
766
|
+
* Process the next file batch
|
|
767
|
+
* @memberof visStateActions
|
|
768
|
+
* @param payload - batch payload
|
|
769
|
+
* @return action
|
|
770
|
+
*/
|
|
771
|
+
export declare function nextFileBatch(payload: NextFileBatchUpdaterAction['payload']): Merge<NextFileBatchUpdaterAction, {
|
|
772
|
+
type: typeof ActionTypes.NEXT_FILE_BATCH;
|
|
773
|
+
}>;
|
|
774
|
+
export type ProcessFileContentUpdaterAction = {
|
|
775
|
+
payload: {
|
|
776
|
+
content: FileContent;
|
|
777
|
+
fileCache: FileCacheItem[];
|
|
778
|
+
};
|
|
779
|
+
};
|
|
780
|
+
/**
|
|
781
|
+
* Process the file content
|
|
782
|
+
* @memberof visStateActions
|
|
783
|
+
* @param payload - the file content
|
|
784
|
+
* @return action
|
|
785
|
+
*/
|
|
786
|
+
export declare function processFileContent(payload: ProcessFileContentUpdaterAction['payload']): Merge<ProcessFileContentUpdaterAction, {
|
|
787
|
+
type: typeof ActionTypes.PROCESS_FILE_CONTENT;
|
|
788
|
+
}>;
|
|
789
|
+
export type SetLayerAnimationTimeConfigAction = {
|
|
790
|
+
config: {
|
|
791
|
+
timezone?: string;
|
|
792
|
+
timeFormat?: string;
|
|
793
|
+
};
|
|
794
|
+
};
|
|
795
|
+
/**
|
|
796
|
+
* Set layer animation time format and timezone
|
|
797
|
+
* @memberof visStateActions
|
|
798
|
+
* @param config - {timeFormat: string, timezone: string}
|
|
799
|
+
* @return action
|
|
800
|
+
*/
|
|
801
|
+
export declare function setLayerAnimationTimeConfig(config: SetLayerAnimationTimeConfigAction['config']): Merge<SetLayerAnimationTimeConfigAction, {
|
|
802
|
+
type: typeof ActionTypes.SET_LAYER_ANIMATION_TIME_CONFIG;
|
|
803
|
+
}>;
|
|
804
|
+
export type SetFilterAnimationTimeConfigAction = {
|
|
805
|
+
idx: number;
|
|
806
|
+
config: {
|
|
807
|
+
timezone?: string;
|
|
808
|
+
timeFormat?: string;
|
|
809
|
+
};
|
|
810
|
+
};
|
|
811
|
+
/**
|
|
812
|
+
* Set Filter animation time format and timezone
|
|
813
|
+
* @memberof visStateActions
|
|
814
|
+
* @param idx
|
|
815
|
+
* @param config
|
|
816
|
+
* @return action
|
|
817
|
+
*/
|
|
818
|
+
export declare function setFilterAnimationTimeConfig(idx: SetFilterAnimationTimeConfigAction['idx'], config: SetFilterAnimationTimeConfigAction['config']): Merge<SetFilterAnimationTimeConfigAction, {
|
|
819
|
+
type: typeof ActionTypes.SET_FILTER_ANIMATION_TIME_CONFIG;
|
|
820
|
+
}>;
|
|
821
|
+
export {};
|