@kepler.gl/components 3.3.0-alpha.0 → 3.3.0-alpha.2
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/annotations/annotation-node.d.ts +11 -0
- package/dist/annotations/annotation-node.js +145 -0
- package/dist/annotations/annotation-overlay.d.ts +16 -0
- package/dist/annotations/annotation-overlay.js +166 -0
- package/dist/annotations/annotation-panel.d.ts +24 -0
- package/dist/annotations/annotation-panel.js +362 -0
- package/dist/annotations/annotation-text.d.ts +16 -0
- package/dist/annotations/annotation-text.js +150 -0
- package/dist/annotations/annotation-utils.d.ts +39 -0
- package/dist/annotations/annotation-utils.js +156 -0
- package/dist/annotations/index.d.ts +7 -0
- package/dist/annotations/index.js +53 -0
- package/dist/annotations/lexical-editor/clickable-link-plugin.d.ts +3 -0
- package/dist/annotations/lexical-editor/clickable-link-plugin.js +71 -0
- package/dist/annotations/lexical-editor/floating-link-editor.d.ts +1 -0
- package/dist/annotations/lexical-editor/floating-link-editor.js +194 -0
- package/dist/annotations/lexical-editor/index.d.ts +7 -0
- package/dist/annotations/lexical-editor/index.js +78 -0
- package/dist/annotations/lexical-editor/lexical-constants.d.ts +12 -0
- package/dist/annotations/lexical-editor/lexical-constants.js +22 -0
- package/dist/annotations/lexical-editor/lexical-nodes.d.ts +3 -0
- package/dist/annotations/lexical-editor/lexical-nodes.js +13 -0
- package/dist/annotations/lexical-editor/lexical-rich-text-editor.d.ts +15 -0
- package/dist/annotations/lexical-editor/lexical-rich-text-editor.js +122 -0
- package/dist/annotations/lexical-editor/lexical-theme.d.ts +15 -0
- package/dist/annotations/lexical-editor/lexical-theme.js +25 -0
- package/dist/annotations/lexical-editor/lexical-toolbar.d.ts +7 -0
- package/dist/annotations/lexical-editor/lexical-toolbar.js +293 -0
- package/dist/annotations/lexical-editor/lexical-utils.d.ts +4 -0
- package/dist/annotations/lexical-editor/lexical-utils.js +45 -0
- package/dist/annotations/lexical-editor/use-lexical-toolbar.d.ts +36 -0
- package/dist/annotations/lexical-editor/use-lexical-toolbar.js +253 -0
- package/dist/bottom-widget.d.ts +1 -1
- package/dist/bottom-widget.js +12 -6
- package/dist/common/action-panel.js +1 -1
- package/dist/common/animation-control/animation-control.d.ts +1 -0
- package/dist/common/animation-control/animation-control.js +3 -1
- package/dist/common/animation-control/animation-controller.js +8 -6
- package/dist/common/animation-control/export-video-control.d.ts +9 -0
- package/dist/common/animation-control/export-video-control.js +43 -0
- package/dist/common/animation-control/playback-controls.d.ts +4 -2
- package/dist/common/animation-control/playback-controls.js +7 -4
- package/dist/common/checkbox.d.ts +5 -21
- package/dist/common/checkbox.js +58 -70
- package/dist/common/color-legend.d.ts +1 -1
- package/dist/common/color-legend.js +3 -3
- package/dist/common/data-table/canvas.d.ts +1 -1
- package/dist/common/data-table/index.d.ts +2 -2
- package/dist/common/data-table/index.js +3 -3
- package/dist/common/dnd-layer-items.d.ts +4 -0
- package/dist/common/dnd-layer-items.js +6 -2
- package/dist/common/error-boundary.d.ts +1 -1
- package/dist/common/file-uploader/file-upload.d.ts +1 -1
- package/dist/common/file-uploader/file-upload.js +4 -4
- package/dist/common/flex-container.d.ts +15 -7
- package/dist/common/histogram-plot.js +102 -53
- package/dist/common/icon-button.d.ts +53 -6
- package/dist/common/icons/3d-models/airplane.d.ts +14 -0
- package/dist/common/icons/3d-models/airplane.js +104 -0
- package/dist/common/icons/3d-models/bicycle.d.ts +14 -0
- package/dist/common/icons/3d-models/bicycle.js +426 -0
- package/dist/common/icons/3d-models/boeing.d.ts +14 -0
- package/dist/common/icons/3d-models/boeing.js +119 -0
- package/dist/common/icons/3d-models/car.d.ts +14 -0
- package/dist/common/icons/3d-models/car.js +110 -0
- package/dist/common/icons/3d-models/cargoship.d.ts +14 -0
- package/dist/common/icons/3d-models/cargoship.js +246 -0
- package/dist/common/icons/3d-models/evtol.d.ts +14 -0
- package/dist/common/icons/3d-models/evtol.js +134 -0
- package/dist/common/icons/3d-models/glider.d.ts +14 -0
- package/dist/common/icons/3d-models/glider.js +62 -0
- package/dist/common/icons/3d-models/helicopter.d.ts +14 -0
- package/dist/common/icons/3d-models/helicopter.js +110 -0
- package/dist/common/icons/3d-models/scooter.d.ts +14 -0
- package/dist/common/icons/3d-models/scooter.js +159 -0
- package/dist/common/icons/3d-models/semitruck.d.ts +14 -0
- package/dist/common/icons/3d-models/semitruck.js +177 -0
- package/dist/common/icons/3d-models/truck.d.ts +14 -0
- package/dist/common/icons/3d-models/truck.js +122 -0
- package/dist/common/icons/anchor_window.d.ts +1 -8
- package/dist/common/icons/anchor_window.js +17 -10
- package/dist/common/icons/annotation-text.d.ts +9 -0
- package/dist/common/icons/annotation-text.js +56 -0
- package/dist/common/icons/arrow-down-full.d.ts +2 -1
- package/dist/common/icons/arrow-down-full.js +1 -1
- package/dist/common/icons/folder.d.ts +10 -0
- package/dist/common/icons/folder.js +51 -0
- package/dist/common/icons/index.d.ts +2 -0
- package/dist/common/icons/index.js +15 -1
- package/dist/common/icons/timeline-marker.d.ts +2 -1
- package/dist/common/icons/timeline-marker.js +1 -1
- package/dist/common/item-selector/chickleted-input.d.ts +1 -1
- package/dist/common/item-selector/chickleted-input.js +5 -5
- package/dist/common/item-selector/dropdown-list.d.ts +1 -1
- package/dist/common/item-selector/dropdown-list.js +1 -1
- package/dist/common/item-selector/dropdown-select.d.ts +13 -7
- package/dist/common/item-selector/item-selector.d.ts +1 -1
- package/dist/common/item-selector/item-selector.js +1 -1
- package/dist/common/item-selector/typeahead.d.ts +4 -4
- package/dist/common/item-selector/typeahead.js +1 -3
- package/dist/common/layout-splitter.d.ts +45 -0
- package/dist/common/layout-splitter.js +231 -0
- package/dist/common/line-chart.d.ts +10 -3
- package/dist/common/line-chart.js +219 -52
- package/dist/common/modal.d.ts +11 -5
- package/dist/common/modal.js +1 -1
- package/dist/common/portaled.d.ts +17 -17
- package/dist/common/range-plot.js +4 -2
- package/dist/common/range-slider.d.ts +2 -0
- package/dist/common/range-slider.js +108 -45
- package/dist/common/slider/mouse-event.d.ts +1 -1
- package/dist/common/slider/mouse-event.js +1 -2
- package/dist/common/slider/slider-bar-handle.d.ts +1 -1
- package/dist/common/slider/slider-bar-handle.js +1 -1
- package/dist/common/slider/slider-handle.d.ts +3 -3
- package/dist/common/slider/slider-handle.js +1 -1
- package/dist/common/slider/slider.d.ts +8 -4
- package/dist/common/slider/slider.js +78 -35
- package/dist/common/styled-components.d.ts +628 -178
- package/dist/common/styled-components.js +2 -2
- package/dist/common/time-range-slider-time-title.d.ts +1 -1
- package/dist/common/time-range-slider-time-title.js +5 -5
- package/dist/common/time-range-slider.d.ts +2 -1
- package/dist/common/time-range-slider.js +19 -7
- package/dist/common/timeline-helpers.d.ts +3 -0
- package/dist/common/timeline-helpers.js +57 -0
- package/dist/common/timeline-slider.js +21 -12
- package/dist/common/toolbar-item.js +5 -5
- package/dist/common/toolbar.d.ts +1 -1
- package/dist/common/toolbar.js +4 -4
- package/dist/common/vertical-toolbar.d.ts +13 -3
- package/dist/container.d.ts +3 -2
- package/dist/container.js +2 -2
- package/dist/context.d.ts +1 -1
- package/dist/context.js +1 -1
- package/dist/dnd-context.d.ts +4 -3
- package/dist/dnd-context.js +64 -9
- package/dist/effects/compact-color-picker.d.ts +1 -1
- package/dist/effects/effect-configurator.d.ts +5 -6
- package/dist/effects/effect-configurator.js +213 -52
- package/dist/effects/effect-manager.js +3 -3
- package/dist/effects/effect-panel-header.js +34 -17
- package/dist/effects/effect-panel.d.ts +4 -4
- package/dist/effects/effect-panel.js +61 -86
- package/dist/effects/effect-time-configurator.js +10 -10
- package/dist/effects/effect-type-dropdown-list.d.ts +1 -0
- package/dist/effects/effect-type-dropdown-list.js +1 -1
- package/dist/effects/effect-type-list-item.d.ts +2 -1
- package/dist/effects/effect-type-list-item.js +23 -7
- package/dist/effects/effect-type-selector.d.ts +1 -0
- package/dist/effects/effect-type-selector.js +2 -2
- package/dist/effects/surface-fog-section.d.ts +14 -0
- package/dist/effects/surface-fog-section.js +263 -0
- package/dist/filters/components.d.ts +7 -5
- package/dist/filters/filter-panels/filter-synced-dataset-panel.d.ts +6 -2
- package/dist/filters/index.d.ts +1 -0
- package/dist/filters/index.js +8 -1
- package/dist/filters/polygon-filter.js +2 -2
- package/dist/filters/time-range-filter.js +3 -1
- package/dist/filters/time-widget-settings.d.ts +14 -0
- package/dist/filters/time-widget-settings.js +312 -0
- package/dist/filters/time-widget-top.d.ts +2 -3
- package/dist/filters/time-widget-top.js +32 -39
- package/dist/filters/time-widget.d.ts +3 -2
- package/dist/filters/time-widget.js +285 -9
- package/dist/filters/types.d.ts +3 -3
- package/dist/filters/types.js +1 -1
- package/dist/geocoder/geocoder.d.ts +4 -1
- package/dist/geocoder/geocoder.js +61 -14
- package/dist/geocoder-panel.d.ts +3 -2
- package/dist/geocoder-panel.js +11 -8
- package/dist/hooks/use-dnd-layers.d.ts +4 -3
- package/dist/hooks/use-dnd-layers.js +103 -42
- package/dist/index.d.ts +17 -2
- package/dist/index.js +161 -9
- package/dist/injector.d.ts +1 -1
- package/dist/kepler-gl.d.ts +179 -27
- package/dist/kepler-gl.js +91 -12
- package/dist/loading-indicator.d.ts +3 -1
- package/dist/loading-indicator.js +6 -3
- package/dist/map/annotations/annotation-control.d.ts +16 -0
- package/dist/map/annotations/annotation-control.js +56 -0
- package/dist/map/layer-hover-info.d.ts +7 -3
- package/dist/map/layer-hover-info.js +124 -55
- package/dist/map/locale-panel.d.ts +1 -1
- package/dist/map/locale-panel.js +2 -2
- package/dist/map/map-control-panel.js +3 -2
- package/dist/map/map-control-toolbar.d.ts +33 -8
- package/dist/map/map-control.d.ts +14 -4
- package/dist/map/map-control.js +18 -8
- package/dist/map/map-draw-panel.d.ts +1 -1
- package/dist/map/map-draw-panel.js +7 -4
- package/dist/map/map-legend-panel.d.ts +11 -2
- package/dist/map/map-legend-panel.js +25 -8
- package/dist/map/map-legend.d.ts +20 -3
- package/dist/map/map-legend.js +145 -31
- package/dist/map/map-navigation-control.d.ts +13 -0
- package/dist/map/map-navigation-control.js +143 -0
- package/dist/map/map-popover.js +2 -2
- package/dist/map/split-map-button.d.ts +6 -1
- package/dist/map/split-map-button.js +113 -19
- package/dist/map-container.d.ts +13 -3
- package/dist/map-container.js +269 -59
- package/dist/map-view-state-context.d.ts +1 -0
- package/dist/map-view-state-context.js +1 -1
- package/dist/maps-layout.d.ts +3 -0
- package/dist/maps-layout.js +86 -26
- package/dist/modal-container.d.ts +3 -2
- package/dist/modal-container.js +28 -6
- package/dist/modals/add-map-style-modal.js +173 -200
- package/dist/modals/cloud-tile.d.ts +1 -2
- package/dist/modals/data-table-modal.d.ts +1 -1
- package/dist/modals/data-table-modal.js +146 -194
- package/dist/modals/export-data-modal.js +117 -139
- package/dist/modals/export-map-modal/components.d.ts +9 -5
- package/dist/modals/export-video-modal.d.ts +28 -0
- package/dist/modals/export-video-modal.js +371 -0
- package/dist/modals/export-video-modal.spec.d.ts +1 -0
- package/dist/modals/export-video-modal.spec.js +686 -0
- package/dist/modals/fog-height-animation.d.ts +8 -0
- package/dist/modals/fog-height-animation.js +97 -0
- package/dist/modals/hubble-utils.d.ts +41 -0
- package/dist/modals/hubble-utils.js +294 -0
- package/dist/modals/hubble-utils.spec.d.ts +1 -0
- package/dist/modals/hubble-utils.spec.js +397 -0
- package/dist/modals/modal-dialog.d.ts +1 -1
- package/dist/modals/share-map-modal.d.ts +2 -4
- package/dist/modals/swipe-composite-utils.d.ts +10 -0
- package/dist/modals/swipe-composite-utils.js +108 -0
- package/dist/modals/swipe-export-settings.d.ts +24 -0
- package/dist/modals/swipe-export-settings.js +370 -0
- package/dist/modals/swipe-export-video-container.d.ts +122 -0
- package/dist/modals/swipe-export-video-container.js +630 -0
- package/dist/modals/swipe-export-video-preview.d.ts +68 -0
- package/dist/modals/swipe-export-video-preview.js +339 -0
- package/dist/modals/tilesets-modals/load-data-footer.js +2 -2
- package/dist/modals/tilesets-modals/load-tileset.js +21 -10
- package/dist/modals/tilesets-modals/tileset-bitmap-form.d.ts +14 -0
- package/dist/modals/tilesets-modals/tileset-bitmap-form.js +284 -0
- package/dist/modals/tilesets-modals/tileset-raster-form.js +90 -11
- package/dist/modals/tilesets-modals/tileset-tile3d-form.js +3 -2
- package/dist/modals/tilesets-modals/tileset-vector-form.js +58 -4
- package/dist/modals/tilesets-modals/tileset-wms-form.js +4 -3
- package/dist/notification-panel/notification-item.d.ts +1 -53
- package/dist/notification-panel/notification-item.js +47 -75
- package/dist/notification-panel.d.ts +1 -1
- package/dist/notification-panel.js +20 -42
- package/dist/plot-container.js +7 -6
- package/dist/side-panel/add-by-dataset-button.js +3 -3
- package/dist/side-panel/common/dataset-info.js +2 -2
- package/dist/side-panel/filter-panel/filter-panel-header.d.ts +7 -3
- package/dist/side-panel/interaction-panel/geocoder-config.d.ts +11 -0
- package/dist/side-panel/interaction-panel/geocoder-config.js +45 -0
- package/dist/side-panel/interaction-panel/interaction-panel.d.ts +3 -2
- package/dist/side-panel/interaction-panel/interaction-panel.js +10 -3
- package/dist/side-panel/layer-manager.d.ts +5 -4
- package/dist/side-panel/layer-manager.js +26 -6
- package/dist/side-panel/layer-panel/color-scale-selector.d.ts +1 -1
- package/dist/side-panel/layer-panel/color-scale-selector.js +1 -1
- package/dist/side-panel/layer-panel/color-selector.d.ts +6 -4
- package/dist/side-panel/layer-panel/custom-palette.d.ts +3 -5
- package/dist/side-panel/layer-panel/custom-palette.js +5 -5
- package/dist/side-panel/layer-panel/dataset-layer-group.d.ts +2 -1
- package/dist/side-panel/layer-panel/dataset-layer-group.js +1 -1
- package/dist/side-panel/layer-panel/dataset-layer-section.d.ts +2 -1
- package/dist/side-panel/layer-panel/dataset-layer-section.js +19 -3
- package/dist/side-panel/layer-panel/layer-config-group.d.ts +5 -11
- package/dist/side-panel/layer-panel/layer-configurator.d.ts +4 -2
- package/dist/side-panel/layer-panel/layer-configurator.js +450 -76
- package/dist/side-panel/layer-panel/layer-group-header.d.ts +15 -0
- package/dist/side-panel/layer-panel/layer-group-header.js +179 -0
- package/dist/side-panel/layer-panel/layer-list.d.ts +9 -4
- package/dist/side-panel/layer-panel/layer-list.js +197 -40
- package/dist/side-panel/layer-panel/layer-panel-header.js +2 -2
- package/dist/side-panel/layer-panel/raster-tile-layer-configurator.d.ts +1 -1
- package/dist/side-panel/layer-panel/raster-tile-layer-configurator.js +127 -27
- package/dist/side-panel/layer-panel/scenegraph-model-selector.d.ts +24 -0
- package/dist/side-panel/layer-panel/scenegraph-model-selector.js +123 -0
- package/dist/side-panel/layer-panel/text-label-panel.d.ts +1 -1
- package/dist/side-panel/layer-panel/text-label-panel.js +11 -2
- package/dist/side-panel/layer-panel/vector-tile-layer-configurator.d.ts +1 -1
- package/dist/side-panel/layer-panel/vector-tile-layer-configurator.js +2 -10
- package/dist/side-panel/layer-panel/vis-config-slider.d.ts +2 -0
- package/dist/side-panel/layer-panel/vis-config-slider.js +7 -3
- package/dist/side-panel/panel-header.d.ts +1 -0
- package/dist/side-panel/panel-header.js +9 -2
- package/dist/side-panel/panel-tab.d.ts +2 -4
- package/dist/side-panel/panel-tab.js +4 -4
- package/dist/side-panel/panel-view-list-toggle.d.ts +4 -4
- package/dist/side-panel/side-bar.d.ts +1 -6
- package/dist/side-panel.d.ts +1 -1
- package/dist/side-panel.js +5 -1
- package/dist/types.d.ts +2 -2
- package/dist/types.js +1 -1
- package/package.json +53 -48
- package/dist/map/layer-selector-panel.d.ts +0 -21
- package/dist/map/layer-selector-panel.js +0 -85
- package/dist/side-panel/layer-panel/radius-by-zoom-input.d.ts +0 -11
- package/dist/side-panel/layer-panel/radius-by-zoom-input.js +0 -220
package/dist/injector.d.ts
CHANGED
|
@@ -24,6 +24,6 @@ export declare function withState(lenses?: any[], mapStateToProps?: (state: any)
|
|
|
24
24
|
[x: string]: any;
|
|
25
25
|
state: any;
|
|
26
26
|
}) => React.JSX.Element, {
|
|
27
|
-
context?: import("react-redux
|
|
27
|
+
context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").UnknownAction> | null> | undefined;
|
|
28
28
|
store?: import("redux").Store | undefined;
|
|
29
29
|
}>;
|
package/dist/kepler-gl.d.ts
CHANGED
|
@@ -25,10 +25,26 @@ export declare const isViewportDisjointed: (props: any) => any;
|
|
|
25
25
|
type MapStateProps = {
|
|
26
26
|
mapState: MapState;
|
|
27
27
|
};
|
|
28
|
-
export declare const mapStateSelector: ((state: MapStateProps, index?: number | undefined) => MapState) &
|
|
29
|
-
clearCache: () => void;
|
|
30
|
-
}> & {
|
|
28
|
+
export declare const mapStateSelector: ((state: MapStateProps, index?: number | undefined) => MapState) & {
|
|
31
29
|
clearCache: () => void;
|
|
30
|
+
resultsCount: () => number;
|
|
31
|
+
resetResultsCount: () => void;
|
|
32
|
+
} & {
|
|
33
|
+
resultFunc: (resultFuncArgs_0: MapState, resultFuncArgs_1: number | undefined) => MapState;
|
|
34
|
+
memoizedResultFunc: ((resultFuncArgs_0: MapState, resultFuncArgs_1: number | undefined) => MapState) & {
|
|
35
|
+
clearCache: () => void;
|
|
36
|
+
resultsCount: () => number;
|
|
37
|
+
resetResultsCount: () => void;
|
|
38
|
+
};
|
|
39
|
+
lastResult: () => MapState;
|
|
40
|
+
dependencies: [(props: MapStateProps) => MapState, (_: MapStateProps, index?: number) => number | undefined];
|
|
41
|
+
recomputations: () => number;
|
|
42
|
+
resetRecomputations: () => void;
|
|
43
|
+
dependencyRecomputations: () => number;
|
|
44
|
+
resetDependencyRecomputations: () => void;
|
|
45
|
+
} & {
|
|
46
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
47
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
32
48
|
};
|
|
33
49
|
export declare const mapFieldsSelector: (props: KeplerGLProps, index?: number) => {
|
|
34
50
|
getMapboxRef: (() => React.RefObject<any>) | undefined;
|
|
@@ -36,6 +52,7 @@ export declare const mapFieldsSelector: (props: KeplerGLProps, index?: number) =
|
|
|
36
52
|
mapboxApiUrl: string;
|
|
37
53
|
mapState: MapState;
|
|
38
54
|
datasetAttributions: DatasetAttribution[];
|
|
55
|
+
attributionLogos: AttributionWithStyle[];
|
|
39
56
|
mapStyle: import("@kepler.gl/reducers").MapStyle;
|
|
40
57
|
onDeckInitialized: (() => void) | undefined;
|
|
41
58
|
onViewStateChange: ((viewState: Viewport) => void) | undefined;
|
|
@@ -58,6 +75,7 @@ export declare const mapFieldsSelector: (props: KeplerGLProps, index?: number) =
|
|
|
58
75
|
transformRequest: ((url: string) => {
|
|
59
76
|
url: string;
|
|
60
77
|
}) | undefined;
|
|
78
|
+
RTLTextPlugin: string | false | undefined;
|
|
61
79
|
};
|
|
62
80
|
export declare function getVisibleDatasets(datasets: any): {};
|
|
63
81
|
export declare const sidePanelSelector: (props: KeplerGLProps, availableProviders: any, filteredDatasets: any) => {
|
|
@@ -74,7 +92,7 @@ export declare const sidePanelSelector: (props: KeplerGLProps, availableProvider
|
|
|
74
92
|
datasets: any;
|
|
75
93
|
filters: import("@kepler.gl/types").Filter[];
|
|
76
94
|
layers: import("@kepler.gl/layers").Layer[];
|
|
77
|
-
layerOrder:
|
|
95
|
+
layerOrder: import("@kepler.gl/types").LayerOrder;
|
|
78
96
|
layerClasses: {
|
|
79
97
|
point: typeof import("@kepler.gl/layers/dist/point-layer/point-layer").default;
|
|
80
98
|
arc: typeof import("@kepler.gl/layers/dist/arc-layer/arc-layer").default;
|
|
@@ -89,10 +107,12 @@ export declare const sidePanelSelector: (props: KeplerGLProps, availableProvider
|
|
|
89
107
|
"3D": typeof import("@kepler.gl/layers").ScenegraphLayer;
|
|
90
108
|
trip: typeof import("@kepler.gl/layers/dist/trip-layer/trip-layer").default;
|
|
91
109
|
s2: typeof import("@kepler.gl/layers/dist/s2-geometry-layer/s2-geometry-layer").default;
|
|
110
|
+
flow: typeof import("@kepler.gl/layers/dist/flow-layer/flow-layer").default;
|
|
92
111
|
vectorTile: typeof import("@kepler.gl/layers").VectorTileLayer;
|
|
93
112
|
rasterTile: typeof import("@kepler.gl/layers").RasterTileLayer;
|
|
94
113
|
wms: typeof import("@kepler.gl/layers/dist/wms-layer/wms-layer").default;
|
|
95
114
|
tile3d: typeof import("@kepler.gl/layers").Tile3DLayer;
|
|
115
|
+
bitmap: typeof import("@kepler.gl/layers").BitmapOverlayLayer;
|
|
96
116
|
};
|
|
97
117
|
interactionConfig: import("@kepler.gl/types").InteractionConfig;
|
|
98
118
|
mapInfo: import("@kepler.gl/types").MapInfo;
|
|
@@ -122,6 +142,7 @@ export declare const plotContainerSelector: (props: KeplerGLProps) => {
|
|
|
122
142
|
mapboxApiUrl: string;
|
|
123
143
|
mapState: MapState;
|
|
124
144
|
datasetAttributions: DatasetAttribution[];
|
|
145
|
+
attributionLogos: AttributionWithStyle[];
|
|
125
146
|
mapStyle: import("@kepler.gl/reducers").MapStyle;
|
|
126
147
|
onDeckInitialized: (() => void) | undefined;
|
|
127
148
|
onViewStateChange: ((viewState: Viewport) => void) | undefined;
|
|
@@ -144,6 +165,7 @@ export declare const plotContainerSelector: (props: KeplerGLProps) => {
|
|
|
144
165
|
transformRequest: ((url: string) => {
|
|
145
166
|
url: string;
|
|
146
167
|
}) | undefined;
|
|
168
|
+
RTLTextPlugin: string | false | undefined;
|
|
147
169
|
};
|
|
148
170
|
addNotification: (notification: UIStateActions.AddNotificationUpdaterAction["payload"]) => import("@kepler.gl/types").Merge<UIStateActions.AddNotificationUpdaterAction, {
|
|
149
171
|
type: "@@kepler.gl/ADD_NOTIFICATION";
|
|
@@ -200,36 +222,132 @@ export declare const geoCoderPanelSelector: (props: KeplerGLProps, dimensions: {
|
|
|
200
222
|
mapboxApiAccessToken: string;
|
|
201
223
|
mapState: MapState;
|
|
202
224
|
uiState: import("@kepler.gl/types").UiState;
|
|
203
|
-
layerOrder:
|
|
225
|
+
layerOrder: import("@kepler.gl/types").LayerOrder;
|
|
204
226
|
updateVisData: typeof VisStateActions.updateVisData;
|
|
205
227
|
removeDataset: typeof VisStateActions.removeDataset;
|
|
206
228
|
updateMap: (viewport: Viewport, mapIndex?: number) => import("@kepler.gl/types").Merge<MapStateActions.UpdateMapUpdaterAction, {
|
|
207
229
|
type: "@@kepler.gl/UPDATE_MAP";
|
|
208
230
|
}>;
|
|
209
231
|
appWidth: number;
|
|
232
|
+
limitSearch: boolean;
|
|
210
233
|
};
|
|
211
234
|
/**
|
|
212
235
|
* Returns array of unique dataset attributions, each with title and url properties.
|
|
213
236
|
*/
|
|
214
|
-
export declare const datasetAttributionSelector: ((state: any) => DatasetAttribution[]) &
|
|
237
|
+
export declare const datasetAttributionSelector: ((state: any) => DatasetAttribution[]) & {
|
|
215
238
|
clearCache: () => void;
|
|
216
|
-
|
|
239
|
+
resultsCount: () => number;
|
|
240
|
+
resetResultsCount: () => void;
|
|
241
|
+
} & {
|
|
242
|
+
resultFunc: (resultFuncArgs_0: any) => DatasetAttribution[];
|
|
243
|
+
memoizedResultFunc: ((resultFuncArgs_0: any) => DatasetAttribution[]) & {
|
|
244
|
+
clearCache: () => void;
|
|
245
|
+
resultsCount: () => number;
|
|
246
|
+
resetResultsCount: () => void;
|
|
247
|
+
};
|
|
248
|
+
lastResult: () => DatasetAttribution[];
|
|
249
|
+
dependencies: [(state: any) => any];
|
|
250
|
+
recomputations: () => number;
|
|
251
|
+
resetRecomputations: () => void;
|
|
252
|
+
dependencyRecomputations: () => number;
|
|
253
|
+
resetDependencyRecomputations: () => void;
|
|
254
|
+
} & {
|
|
255
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
256
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
257
|
+
};
|
|
258
|
+
export declare const layerAttributionSelector: ((state: any) => AttributionWithStyle[]) & {
|
|
217
259
|
clearCache: () => void;
|
|
260
|
+
resultsCount: () => number;
|
|
261
|
+
resetResultsCount: () => void;
|
|
262
|
+
} & {
|
|
263
|
+
resultFunc: (resultFuncArgs_0: any, resultFuncArgs_1: string) => AttributionWithStyle[];
|
|
264
|
+
memoizedResultFunc: ((resultFuncArgs_0: any, resultFuncArgs_1: string) => AttributionWithStyle[]) & {
|
|
265
|
+
clearCache: () => void;
|
|
266
|
+
resultsCount: () => number;
|
|
267
|
+
resetResultsCount: () => void;
|
|
268
|
+
};
|
|
269
|
+
lastResult: () => AttributionWithStyle[];
|
|
270
|
+
dependencies: [(state: any) => any, (state: any) => string];
|
|
271
|
+
recomputations: () => number;
|
|
272
|
+
resetRecomputations: () => void;
|
|
273
|
+
dependencyRecomputations: () => number;
|
|
274
|
+
resetDependencyRecomputations: () => void;
|
|
275
|
+
} & {
|
|
276
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
277
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
218
278
|
};
|
|
219
|
-
/**
|
|
220
|
-
* Deduplicated dataset and layer text attributions and logos.
|
|
221
|
-
* Returns text attributions and logos to display.
|
|
222
|
-
*/
|
|
223
279
|
export declare const attributionSelector: ((state: any) => {
|
|
224
280
|
sources: DatasetAttribution[];
|
|
225
281
|
logos: AttributionWithStyle[];
|
|
226
|
-
}) &
|
|
227
|
-
sources: DatasetAttribution[];
|
|
228
|
-
logos: AttributionWithStyle[];
|
|
229
|
-
}, {
|
|
230
|
-
clearCache: () => void;
|
|
231
|
-
}> & {
|
|
282
|
+
}) & {
|
|
232
283
|
clearCache: () => void;
|
|
284
|
+
resultsCount: () => number;
|
|
285
|
+
resetResultsCount: () => void;
|
|
286
|
+
} & {
|
|
287
|
+
resultFunc: (resultFuncArgs_0: DatasetAttribution[], resultFuncArgs_1: AttributionWithStyle[]) => {
|
|
288
|
+
sources: DatasetAttribution[];
|
|
289
|
+
logos: AttributionWithStyle[];
|
|
290
|
+
};
|
|
291
|
+
memoizedResultFunc: ((resultFuncArgs_0: DatasetAttribution[], resultFuncArgs_1: AttributionWithStyle[]) => {
|
|
292
|
+
sources: DatasetAttribution[];
|
|
293
|
+
logos: AttributionWithStyle[];
|
|
294
|
+
}) & {
|
|
295
|
+
clearCache: () => void;
|
|
296
|
+
resultsCount: () => number;
|
|
297
|
+
resetResultsCount: () => void;
|
|
298
|
+
};
|
|
299
|
+
lastResult: () => {
|
|
300
|
+
sources: DatasetAttribution[];
|
|
301
|
+
logos: AttributionWithStyle[];
|
|
302
|
+
};
|
|
303
|
+
dependencies: [((state: any) => DatasetAttribution[]) & {
|
|
304
|
+
clearCache: () => void;
|
|
305
|
+
resultsCount: () => number;
|
|
306
|
+
resetResultsCount: () => void;
|
|
307
|
+
} & {
|
|
308
|
+
resultFunc: (resultFuncArgs_0: any) => DatasetAttribution[];
|
|
309
|
+
memoizedResultFunc: ((resultFuncArgs_0: any) => DatasetAttribution[]) & {
|
|
310
|
+
clearCache: () => void;
|
|
311
|
+
resultsCount: () => number;
|
|
312
|
+
resetResultsCount: () => void;
|
|
313
|
+
};
|
|
314
|
+
lastResult: () => DatasetAttribution[];
|
|
315
|
+
dependencies: [(state: any) => any];
|
|
316
|
+
recomputations: () => number;
|
|
317
|
+
resetRecomputations: () => void;
|
|
318
|
+
dependencyRecomputations: () => number;
|
|
319
|
+
resetDependencyRecomputations: () => void;
|
|
320
|
+
} & {
|
|
321
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
322
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
323
|
+
}, ((state: any) => AttributionWithStyle[]) & {
|
|
324
|
+
clearCache: () => void;
|
|
325
|
+
resultsCount: () => number;
|
|
326
|
+
resetResultsCount: () => void;
|
|
327
|
+
} & {
|
|
328
|
+
resultFunc: (resultFuncArgs_0: any, resultFuncArgs_1: string) => AttributionWithStyle[];
|
|
329
|
+
memoizedResultFunc: ((resultFuncArgs_0: any, resultFuncArgs_1: string) => AttributionWithStyle[]) & {
|
|
330
|
+
clearCache: () => void;
|
|
331
|
+
resultsCount: () => number;
|
|
332
|
+
resetResultsCount: () => void;
|
|
333
|
+
};
|
|
334
|
+
lastResult: () => AttributionWithStyle[];
|
|
335
|
+
dependencies: [(state: any) => any, (state: any) => string];
|
|
336
|
+
recomputations: () => number;
|
|
337
|
+
resetRecomputations: () => void;
|
|
338
|
+
dependencyRecomputations: () => number;
|
|
339
|
+
resetDependencyRecomputations: () => void;
|
|
340
|
+
} & {
|
|
341
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
342
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
343
|
+
}];
|
|
344
|
+
recomputations: () => number;
|
|
345
|
+
resetRecomputations: () => void;
|
|
346
|
+
dependencyRecomputations: () => number;
|
|
347
|
+
resetDependencyRecomputations: () => void;
|
|
348
|
+
} & {
|
|
349
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
350
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
233
351
|
};
|
|
234
352
|
export declare const notificationPanelSelector: (props: KeplerGLProps) => {
|
|
235
353
|
removeNotification: (id: UIStateActions.RemoveNotificationUpdaterAction["payload"]) => import("@kepler.gl/types").Merge<UIStateActions.RemoveNotificationUpdaterAction, {
|
|
@@ -294,6 +412,8 @@ type KeplerGLBasicProps = {
|
|
|
294
412
|
transformRequest?: (url: string) => {
|
|
295
413
|
url: string;
|
|
296
414
|
};
|
|
415
|
+
/** Pass `false` to disable the remote RTL text plugin, or a URL string to self-host it. */
|
|
416
|
+
RTLTextPlugin?: string | false;
|
|
297
417
|
};
|
|
298
418
|
type KeplerGLProps = KeplerGlState & KeplerGlActions & KeplerGLBasicProps;
|
|
299
419
|
declare function KeplerGlFactory(BottomWidget: ReturnType<typeof BottomWidgetFactory>, GeoCoderPanel: ReturnType<typeof GeoCoderPanelFactory>, MapContainer: ReturnType<typeof MapContainerFactory>, MapsLayout: ReturnType<typeof MapsLayoutFactory>, ModalContainer: ReturnType<typeof ModalContainerFactory>, SidePanel: ReturnType<typeof SidePanelFactory>, PlotContainer: ReturnType<typeof PlotContainerFactory>, NotificationPanel: ReturnType<typeof NotificationPanelFactory>, DndContext: ReturnType<typeof DndContextFactory>): React.ComponentType<KeplerGLBasicProps & {
|
|
@@ -355,6 +475,8 @@ export declare function mapStateToProps(state: KeplerGlState, props: KeplerGLPro
|
|
|
355
475
|
transformRequest?: (url: string) => {
|
|
356
476
|
url: string;
|
|
357
477
|
};
|
|
478
|
+
/** Pass `false` to disable the remote RTL text plugin, or a URL string to self-host it. */
|
|
479
|
+
RTLTextPlugin?: string | false;
|
|
358
480
|
};
|
|
359
481
|
/** @type {() => import('reselect').OutputParametricSelector<any, any, any, any>} */
|
|
360
482
|
export declare function makeGetActionCreators(): ((state: any, props: any) => {
|
|
@@ -364,16 +486,46 @@ export declare function makeGetActionCreators(): ((state: any, props: any) => {
|
|
|
364
486
|
uiStateActions: any;
|
|
365
487
|
providerActions: any;
|
|
366
488
|
dispatch: any;
|
|
367
|
-
}) &
|
|
368
|
-
visStateActions: any;
|
|
369
|
-
mapStateActions: any;
|
|
370
|
-
mapStyleActions: any;
|
|
371
|
-
uiStateActions: any;
|
|
372
|
-
providerActions: any;
|
|
373
|
-
dispatch: any;
|
|
374
|
-
}, {
|
|
375
|
-
clearCache: () => void;
|
|
376
|
-
}> & {
|
|
489
|
+
}) & {
|
|
377
490
|
clearCache: () => void;
|
|
491
|
+
resultsCount: () => number;
|
|
492
|
+
resetResultsCount: () => void;
|
|
493
|
+
} & {
|
|
494
|
+
resultFunc: (resultFuncArgs_0: any, resultFuncArgs_1: any) => {
|
|
495
|
+
visStateActions: any;
|
|
496
|
+
mapStateActions: any;
|
|
497
|
+
mapStyleActions: any;
|
|
498
|
+
uiStateActions: any;
|
|
499
|
+
providerActions: any;
|
|
500
|
+
dispatch: any;
|
|
501
|
+
};
|
|
502
|
+
memoizedResultFunc: ((resultFuncArgs_0: any, resultFuncArgs_1: any) => {
|
|
503
|
+
visStateActions: any;
|
|
504
|
+
mapStateActions: any;
|
|
505
|
+
mapStyleActions: any;
|
|
506
|
+
uiStateActions: any;
|
|
507
|
+
providerActions: any;
|
|
508
|
+
dispatch: any;
|
|
509
|
+
}) & {
|
|
510
|
+
clearCache: () => void;
|
|
511
|
+
resultsCount: () => number;
|
|
512
|
+
resetResultsCount: () => void;
|
|
513
|
+
};
|
|
514
|
+
lastResult: () => {
|
|
515
|
+
visStateActions: any;
|
|
516
|
+
mapStateActions: any;
|
|
517
|
+
mapStyleActions: any;
|
|
518
|
+
uiStateActions: any;
|
|
519
|
+
providerActions: any;
|
|
520
|
+
dispatch: any;
|
|
521
|
+
};
|
|
522
|
+
dependencies: [(dispatch: any) => any, (dispatch: any, props: any) => any];
|
|
523
|
+
recomputations: () => number;
|
|
524
|
+
resetRecomputations: () => void;
|
|
525
|
+
dependencyRecomputations: () => number;
|
|
526
|
+
resetDependencyRecomputations: () => void;
|
|
527
|
+
} & {
|
|
528
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
529
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
378
530
|
};
|
|
379
531
|
export default KeplerGlFactory;
|