kepler.gl 3.1.7 → 3.1.8
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/src/actions/src/ui-state-actions.d.ts +0 -16
- package/dist/src/actions/src/vis-state-actions.d.ts +26 -0
- package/dist/src/ai-assistant/src/constants.d.ts +2 -5
- package/dist/src/ai-assistant/src/tools/geo-tools.d.ts +76 -25
- package/dist/src/ai-assistant/src/tools/tools.d.ts +76 -25
- package/dist/src/components/src/side-panel/add-by-dataset-button.d.ts +0 -1
- package/dist/src/duckdb/src/table/duckdb-table-utils.d.ts +8 -9
- package/dist/src/localization/src/translations/ca.d.ts +2 -0
- package/dist/src/localization/src/translations/cn.d.ts +2 -0
- package/dist/src/localization/src/translations/en.d.ts +2 -0
- package/dist/src/localization/src/translations/es.d.ts +2 -0
- package/dist/src/localization/src/translations/fi.d.ts +2 -0
- package/dist/src/localization/src/translations/ja.d.ts +2 -0
- package/dist/src/localization/src/translations/pt.d.ts +2 -0
- package/dist/src/localization/src/translations/ru.d.ts +2 -0
- package/dist/src/reducers/src/ui-state-updaters.d.ts +0 -10
- package/dist/src/reducers/src/vis-state-updaters.d.ts +16 -1
- package/dist/src/reducers/src/vis-state.d.ts +4 -0
- package/dist/src/schemas/src/vis-state-schema.d.ts +1 -0
- package/package.json +2 -2
- package/src/actions/dist/ui-state-actions.d.ts +0 -16
- package/src/actions/dist/ui-state-actions.js +2 -17
- package/src/actions/dist/vis-state-actions.d.ts +26 -0
- package/src/actions/dist/vis-state-actions.js +25 -1
- package/src/actions/package.json +8 -8
- package/src/actions/src/ui-state-actions.ts +0 -22
- package/src/actions/src/vis-state-actions.ts +30 -0
- package/src/ai-assistant/dist/components/ai-assistant-component.js +63 -4
- package/src/ai-assistant/dist/components/ai-assistant-config.js +55 -17
- package/src/ai-assistant/dist/constants.d.ts +2 -5
- package/src/ai-assistant/dist/constants.js +3 -21
- package/src/ai-assistant/dist/reducers/index.js +2 -2
- package/src/ai-assistant/dist/tools/geo-tools.d.ts +76 -25
- package/src/ai-assistant/dist/tools/geo-tools.js +44 -8
- package/src/ai-assistant/dist/tools/lisa-tool.js +17 -6
- package/src/ai-assistant/dist/tools/tools.d.ts +76 -25
- package/src/ai-assistant/package.json +19 -14
- package/src/ai-assistant/src/components/ai-assistant-component.tsx +34 -4
- package/src/ai-assistant/src/components/ai-assistant-config.tsx +64 -18
- package/src/ai-assistant/src/config/models.json +5 -24
- package/src/ai-assistant/src/constants.ts +21 -26
- package/src/ai-assistant/src/reducers/index.ts +1 -1
- package/src/ai-assistant/src/tools/geo-tools.tsx +70 -9
- package/src/ai-assistant/src/tools/lisa-tool.tsx +15 -4
- package/src/cloud-providers/package.json +2 -2
- package/src/common-utils/package.json +3 -3
- package/src/components/dist/kepler-gl.js +2 -2
- package/src/components/dist/map/map-popover.js +2 -2
- package/src/components/dist/map-container.js +2 -2
- package/src/components/dist/side-panel/add-by-dataset-button.d.ts +0 -1
- package/src/components/dist/side-panel/add-by-dataset-button.js +1 -3
- package/src/components/dist/side-panel/filter-panel/add-filter-button.js +1 -2
- package/src/components/dist/side-panel/layer-panel/add-layer-button.js +1 -2
- package/src/components/dist/side-panel/layer-panel/custom-picker.js +18 -5
- package/src/components/package.json +15 -15
- package/src/components/src/kepler-gl.tsx +1 -1
- package/src/components/src/map/map-popover.tsx +1 -1
- package/src/components/src/map-container.tsx +1 -1
- package/src/components/src/side-panel/add-by-dataset-button.tsx +0 -3
- package/src/components/src/side-panel/filter-panel/add-filter-button.tsx +0 -1
- package/src/components/src/side-panel/layer-panel/add-layer-button.tsx +0 -1
- package/src/components/src/side-panel/layer-panel/custom-picker.tsx +15 -1
- package/src/constants/dist/default-settings.js +1 -1
- package/src/constants/node_modules/.cache/terser-webpack-plugin/content-v2/sha512/e6/16/9fd3750f7cfc51cf980ec6937f88e24e5b03b144d0439efabdec6a028ce7442883abce42b76f97bffa8d37bfb65c10508e48d68a2b019c4b750a48374080 +1 -0
- package/src/constants/node_modules/.cache/terser-webpack-plugin/index-v5/b6/51/9b3488269917e0404a46b4db6235f226deef2d5b5b5ffb7414dafaa60b52 +2 -0
- package/src/constants/package.json +2 -2
- package/src/constants/umd/keplergl.min.js +1 -1
- package/src/deckgl-arrow-layers/package.json +2 -2
- package/src/deckgl-layers/package.json +4 -4
- package/src/duckdb/dist/components/sql-panel.js +34 -33
- package/src/duckdb/dist/table/duckdb-table-utils.d.ts +8 -9
- package/src/duckdb/dist/table/duckdb-table-utils.js +21 -23
- package/src/duckdb/dist/table/duckdb-table.js +20 -17
- package/src/duckdb/package.json +6 -6
- package/src/duckdb/src/components/sql-panel.tsx +3 -5
- package/src/duckdb/src/table/duckdb-table-utils.ts +19 -18
- package/src/duckdb/src/table/duckdb-table.ts +7 -4
- package/src/effects/package.json +5 -5
- package/src/layers/dist/geojson-layer/geojson-layer.js +5 -2
- package/src/layers/package.json +9 -9
- package/src/layers/src/geojson-layer/geojson-layer.ts +4 -1
- package/src/localization/dist/translations/ca.d.ts +2 -0
- package/src/localization/dist/translations/ca.js +3 -1
- package/src/localization/dist/translations/cn.d.ts +2 -0
- package/src/localization/dist/translations/cn.js +3 -1
- package/src/localization/dist/translations/en.d.ts +2 -0
- package/src/localization/dist/translations/en.js +4 -2
- package/src/localization/dist/translations/es.d.ts +2 -0
- package/src/localization/dist/translations/es.js +3 -1
- package/src/localization/dist/translations/fi.d.ts +2 -0
- package/src/localization/dist/translations/fi.js +3 -1
- package/src/localization/dist/translations/ja.d.ts +2 -0
- package/src/localization/dist/translations/ja.js +3 -1
- package/src/localization/dist/translations/pt.d.ts +2 -0
- package/src/localization/dist/translations/pt.js +3 -1
- package/src/localization/dist/translations/ru.d.ts +2 -0
- package/src/localization/dist/translations/ru.js +3 -1
- package/src/localization/package.json +1 -1
- package/src/localization/src/translations/ca.ts +2 -0
- package/src/localization/src/translations/cn.ts +2 -0
- package/src/localization/src/translations/en.ts +4 -2
- package/src/localization/src/translations/es.ts +2 -0
- package/src/localization/src/translations/fi.ts +2 -0
- package/src/localization/src/translations/ja.ts +2 -0
- package/src/localization/src/translations/pt.ts +2 -0
- package/src/localization/src/translations/ru.ts +2 -0
- package/src/processors/dist/file-handler.js +13 -14
- package/src/processors/package.json +7 -7
- package/src/processors/src/file-handler.ts +0 -1
- package/src/reducers/dist/combined-updaters.js +4 -2
- package/src/reducers/dist/ui-state-updaters.d.ts +0 -10
- package/src/reducers/dist/ui-state-updaters.js +2 -22
- package/src/reducers/dist/ui-state.js +2 -2
- package/src/reducers/dist/vis-state-updaters.d.ts +16 -1
- package/src/reducers/dist/vis-state-updaters.js +79 -45
- package/src/reducers/dist/vis-state.d.ts +4 -0
- package/src/reducers/dist/vis-state.js +2 -2
- package/src/reducers/package.json +16 -16
- package/src/reducers/src/combined-updaters.ts +1 -0
- package/src/reducers/src/ui-state-updaters.ts +0 -24
- package/src/reducers/src/ui-state.ts +1 -3
- package/src/reducers/src/vis-state-updaters.ts +74 -22
- package/src/reducers/src/vis-state.ts +3 -1
- package/src/schemas/dist/vis-state-schema.d.ts +1 -0
- package/src/schemas/dist/vis-state-schema.js +1 -1
- package/src/schemas/package.json +7 -7
- package/src/schemas/src/vis-state-schema.ts +1 -0
- package/src/styles/node_modules/.cache/terser-webpack-plugin/content-v2/sha512/f9/fc/86ccce4fa2c3e73042785814bc24476cb7cc9531d16a7c2ecb66bfc154f7b35d7416d852faa175d172da177931675cd2ba82e3b7898e8f4bf499921b00c2 +1 -0
- package/src/styles/node_modules/.cache/terser-webpack-plugin/index-v5/ba/31/d609a3a75657c3640471d5a925a4a64689ea3853d9379bdcd675dba816a2 +2 -0
- package/src/styles/package.json +2 -2
- package/src/styles/umd/keplergl.min.js +1 -1
- package/src/table/package.json +5 -5
- package/src/tasks/package.json +2 -2
- package/src/types/package.json +1 -1
- package/src/utils/package.json +4 -4
- package/umd/keplergl.min.js +1350 -1312
|
@@ -334,19 +334,3 @@ export declare type TogglePanelListViewAction = {
|
|
|
334
334
|
export declare const togglePanelListView: (payload: TogglePanelListViewAction['payload']) => Merge<TogglePanelListViewAction, {
|
|
335
335
|
type: typeof ActionTypes.TOGGLE_PANEL_LIST_VIEW;
|
|
336
336
|
}>;
|
|
337
|
-
/** SET_LOADING_INDICATOR */
|
|
338
|
-
export declare type SetLoadingIndicatorAction = {
|
|
339
|
-
payload: {
|
|
340
|
-
change: number;
|
|
341
|
-
};
|
|
342
|
-
};
|
|
343
|
-
/**
|
|
344
|
-
* Change of number of active loading actions.
|
|
345
|
-
* @memberof uiStateActions
|
|
346
|
-
* @param payload
|
|
347
|
-
* @param payload.change Change of number of active loading actions.
|
|
348
|
-
* @public
|
|
349
|
-
*/
|
|
350
|
-
export declare const setLoadingIndicator: (payload: SetLoadingIndicatorAction['payload']) => Merge<SetLoadingIndicatorAction, {
|
|
351
|
-
type: typeof ActionTypes.SET_LOADING_INDICATOR;
|
|
352
|
-
}>;
|
|
@@ -1040,6 +1040,13 @@ export declare type SyncTimeFilterWithLayerTimelineAction = {
|
|
|
1040
1040
|
idx: number;
|
|
1041
1041
|
enable: boolean;
|
|
1042
1042
|
};
|
|
1043
|
+
/**
|
|
1044
|
+
* Sync time filter with layer timeline
|
|
1045
|
+
* @memberof visStateActions
|
|
1046
|
+
* @param idx
|
|
1047
|
+
* @param enable
|
|
1048
|
+
* @return action
|
|
1049
|
+
*/
|
|
1043
1050
|
export declare function syncTimeFilterWithLayerTimeline(idx: SyncTimeFilterWithLayerTimelineAction['idx'], enable: SyncTimeFilterWithLayerTimelineAction['enable']): Merge<SyncTimeFilterWithLayerTimelineAction, {
|
|
1044
1051
|
type: typeof ActionTypes.SYNC_TIME_FILTER_WITH_LAYER_TIMELINE;
|
|
1045
1052
|
}>;
|
|
@@ -1047,6 +1054,13 @@ export declare type setTimeFilterSyncTimelineModeAction = {
|
|
|
1047
1054
|
id: string;
|
|
1048
1055
|
mode: SyncTimelineMode;
|
|
1049
1056
|
};
|
|
1057
|
+
/**
|
|
1058
|
+
* Set time filter sync timeline mode
|
|
1059
|
+
* @memberof visStateActions
|
|
1060
|
+
* @param id
|
|
1061
|
+
* @param mode
|
|
1062
|
+
* @return action
|
|
1063
|
+
*/
|
|
1050
1064
|
export declare function setTimeFilterSyncTimelineMode({ id, mode }: setTimeFilterSyncTimelineModeAction): Merge<setTimeFilterSyncTimelineModeAction, {
|
|
1051
1065
|
type: typeof ActionTypes.SYNC_TIME_FILTER_TIMELINE_MODE;
|
|
1052
1066
|
}>;
|
|
@@ -1056,9 +1070,21 @@ export declare type CreateNewDatasetSuccessPayload = {
|
|
|
1056
1070
|
};
|
|
1057
1071
|
/**
|
|
1058
1072
|
* Called when a new dataset is created successfully via async table methods
|
|
1073
|
+
* @memberof visStateActions
|
|
1059
1074
|
* @param payload
|
|
1060
1075
|
* @param payload.results - results of promises.allSettlted
|
|
1061
1076
|
* @returns
|
|
1062
1077
|
*/
|
|
1063
1078
|
export declare const createNewDatasetSuccess: import("@reduxjs/toolkit").ActionCreatorWithPayload<CreateNewDatasetSuccessPayload, string>;
|
|
1079
|
+
export declare type SetLoadingIndicatorPayload = {
|
|
1080
|
+
change: number;
|
|
1081
|
+
};
|
|
1082
|
+
/**
|
|
1083
|
+
* Change of number of active loading items, used to render loading indicator.
|
|
1084
|
+
* @memberof visStateActions
|
|
1085
|
+
* @param payload
|
|
1086
|
+
* @param payload.change Change of number of active loading actions.
|
|
1087
|
+
* @public
|
|
1088
|
+
*/
|
|
1089
|
+
export declare const setLoadingIndicator: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetLoadingIndicatorPayload, string>;
|
|
1064
1090
|
export {};
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
export declare const WELCOME_MESSAGE = "Hi, I am Kepler.gl AI Assistant!";
|
|
2
|
-
export declare const INSTRUCTIONS = "You are a Kepler.gl AI Assistant.\nNote:\n-
|
|
3
|
-
export declare const PROMPT_IDEAS: {
|
|
4
|
-
title: string;
|
|
5
|
-
description: string;
|
|
6
|
-
}[];
|
|
2
|
+
export declare const INSTRUCTIONS = "You are a Kepler.gl AI Assistant.\nNote:\n- IMPORTANT: make a plan if tools can be used to answer the question before calling tools\n- Add emojis to your responses to make them more engaging\n\n- For tool usage:\n 1. If parameters are missing, ask the user to provide them\n 2. If a tool fails:\n a. First try to understand and fix the error\n b. If the error persists, explain the issue to the user\n c. Suggest alternative approaches if available\n 3. Use the most appropriate tool for each task\n 4. Chain tool calls when necessary to achieve the desired outcome\n 5. Please do not run tools in parallel\n\n- For any SQL query:\n 1. Please include the SQL clause in your response\n\n- For data analysis:\n 1. For geojson data generated by tools (buffer, centroid, dissolve, zipcode, county, state, isochrone, routing):\n a. Save them as a new dataset first\n b. Use the new dataset for spatial analysis\n 2. For clustering analysis:\n a. Always perform a spatial statistical test (e.g., Local Moran's I)\n b. Explain the results in context\n c. STRICT RULE: Never use datasets generated from previous LISA tools (dataset name with \"lisa_\" prefix) as input for a new LISA analysis\n 3. For spatial joins:\n a. Use the points dataset as the first (left) dataset\n b. Explain the join operation and its purpose\n 4. For using road or line dataset in spatial analysis (e.g. local moran, spatial weights, and spatial join):\n a. buffer the road by 1 meter first\n b. save the buffered road as a new dataset\n c. if needed, spatial join by buffered road (left) with points (right)\n d. if needed, create a spatial weights using the buffered road\n e. apply spatial analysis using the count in the result of spatial join\n\n- For spatial filtering:\n 1. IMPORTANT: when use spatial filter to filter the points within polygons, please follow the steps:\n a. The leftDatasetName should be the points dataset\n b. The rightDatasetName should be the polygon dataset\n c. Apply the spatial filter tool and save the result (points)\n d. Use the filterDataset tool to filter the result where Count > 0\n e. Save the result of filterDataset as the final answer\n\n- For datasetName argument:\n 1. Please use the dataset name or dataset label as the datasetName argument, not the dataset id\n";
|
|
3
|
+
export declare const PROMPT_IDEAS = "Return ONLY a JSON array of 5 ideas based on the tools in current context.\nIMPORTANT: please mention tool in a user-friendly title, and use actual field name in the description.\nDo not include any other text or explanation.\nRandomly pick 5 tools.\nFormat:\n[{\n \"title\": \"Data Insight\",\n \"description\": \"What is the distribution of HR60?\"\n},\n{\n \"title\": \"Spatial Analysis\",\n \"description\": \"Is HR60 spatially clustered?\"\n},\n];\n";
|
|
7
4
|
export declare const ASSISTANT_NAME = "kepler-gl-ai-assistant";
|
|
8
5
|
export declare const ASSISTANT_DESCRIPTION = "A Kepler.gl AI Assistant";
|
|
9
6
|
export declare const ASSISTANT_VERSION = "0.0.2";
|
|
@@ -21,31 +21,72 @@ export declare function getGeoTools(aiAssistant: AiAssistantState, datasets: Dat
|
|
|
21
21
|
execute: import("@openassistant/utils").ExecuteFunction<import("@openassistant/geoda").SpatialJoinFunctionArgs, import("@openassistant/geoda").SpatialJoinLlmResult, import("@openassistant/geoda").SpatialJoinAdditionalData, import("@openassistant/geoda").SpatialJoinFunctionContext>;
|
|
22
22
|
priority?: number | undefined;
|
|
23
23
|
};
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
24
|
+
bufferTool: import("@openassistant/utils").ExtendedTool<import("@openassistant/geoda").BufferFunctionArgs, import("@openassistant/geoda").BufferLlmResult, import("@openassistant/geoda").BufferAdditionalData, import("@openassistant/geoda").SpatialToolContext>;
|
|
25
|
+
centroidTool: import("@openassistant/utils").ExtendedTool<import("@openassistant/geoda").CentroidFunctionArgs, import("@openassistant/geoda").CentroidLlmResult, import("@openassistant/geoda").CentroidAdditionalData, import("@openassistant/geoda").SpatialToolContext>;
|
|
26
|
+
dissolveTool: import("@openassistant/utils").ExtendedTool<import("@openassistant/geoda").DissolveFunctionArgs, import("@openassistant/geoda").DissolveLlmResult, import("@openassistant/geoda").DissolveAdditionalData, import("@openassistant/geoda").SpatialToolContext>;
|
|
27
|
+
lengthTool: {
|
|
28
|
+
context: {
|
|
29
|
+
getGeometries: (datasetName: string) => Promise<import("@geoda/core").SpatialGeometry>;
|
|
30
|
+
};
|
|
31
|
+
description: string;
|
|
32
|
+
parameters: import("zod").ZodObject<{
|
|
33
|
+
geojson: import("zod").ZodOptional<import("zod").ZodString>;
|
|
34
|
+
datasetName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
35
|
+
distanceUnit: import("zod").ZodDefault<import("zod").ZodEnum<["KM", "Mile"]>>;
|
|
36
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
37
|
+
distanceUnit: "KM" | "Mile";
|
|
38
|
+
datasetName?: string | undefined;
|
|
39
|
+
geojson?: string | undefined;
|
|
40
|
+
}, {
|
|
41
|
+
datasetName?: string | undefined;
|
|
42
|
+
geojson?: string | undefined;
|
|
43
|
+
distanceUnit?: "KM" | "Mile" | undefined;
|
|
44
|
+
}>;
|
|
45
|
+
execute: import("@openassistant/utils").ExecuteFunction<import("zod").ZodObject<{
|
|
46
|
+
geojson: import("zod").ZodOptional<import("zod").ZodString>;
|
|
47
|
+
datasetName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
48
|
+
distanceUnit: import("zod").ZodDefault<import("zod").ZodEnum<["KM", "Mile"]>>;
|
|
49
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
50
|
+
distanceUnit: "KM" | "Mile";
|
|
51
|
+
datasetName?: string | undefined;
|
|
52
|
+
geojson?: string | undefined;
|
|
53
|
+
}, {
|
|
54
|
+
datasetName?: string | undefined;
|
|
55
|
+
geojson?: string | undefined;
|
|
56
|
+
distanceUnit?: "KM" | "Mile" | undefined;
|
|
57
|
+
}>, {
|
|
58
|
+
success: boolean;
|
|
59
|
+
result: string;
|
|
60
|
+
lengths: number[];
|
|
61
|
+
distanceUnit: "KM" | "Mile";
|
|
62
|
+
}, never, {
|
|
63
|
+
getGeometries: () => void;
|
|
64
|
+
}>;
|
|
65
|
+
component?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
|
66
|
+
priority?: number | undefined;
|
|
67
|
+
};
|
|
68
|
+
areaTool: {
|
|
69
|
+
context: {
|
|
70
|
+
getGeometries: (datasetName: string) => Promise<import("@geoda/core").SpatialGeometry>;
|
|
71
|
+
getValues?: import("@openassistant/geoda").GetValues | undefined;
|
|
72
|
+
};
|
|
73
|
+
description: string;
|
|
74
|
+
parameters: import("@openassistant/geoda").AreaFunctionArgs;
|
|
75
|
+
execute: import("@openassistant/utils").ExecuteFunction<import("@openassistant/geoda").AreaFunctionArgs, import("@openassistant/geoda").AreaLlmResult, import("@openassistant/geoda").AreaAdditionalData, import("@openassistant/geoda").SpatialToolContext>;
|
|
76
|
+
component?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
|
77
|
+
priority?: number | undefined;
|
|
78
|
+
};
|
|
79
|
+
perimeterTool: {
|
|
80
|
+
context: {
|
|
81
|
+
getGeometries: (datasetName: string) => Promise<import("@geoda/core").SpatialGeometry>;
|
|
82
|
+
getValues?: import("@openassistant/geoda").GetValues | undefined;
|
|
83
|
+
};
|
|
84
|
+
description: string;
|
|
85
|
+
parameters: import("@openassistant/geoda").PerimeterFunctionArgs;
|
|
86
|
+
execute: import("@openassistant/utils").ExecuteFunction<import("@openassistant/geoda").PerimeterFunctionArgs, import("@openassistant/geoda").PerimeterLlmResult, import("@openassistant/geoda").PerimeterAdditionalData, import("@openassistant/geoda").SpatialToolContext>;
|
|
87
|
+
component?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
|
88
|
+
priority?: number | undefined;
|
|
89
|
+
};
|
|
49
90
|
getUsStateGeojson: import("@openassistant/utils").ExtendedTool<import("@openassistant/osm").GetUsStateGeojsonFunctionArgs, import("@openassistant/osm").GetUsStateGeojsonLlmResult, import("@openassistant/osm").GetUsStateGeojsonAdditionalData, object>;
|
|
50
91
|
getUsCountyGeojson: import("@openassistant/utils").ExtendedTool<import("@openassistant/osm").GetUsCountyGeojsonFunctionArgs, import("@openassistant/osm").GetUsCountyGeojsonLlmResult, import("@openassistant/osm").GetUsCountyGeojsonAdditionalData, object>;
|
|
51
92
|
getUsZipcodeGeojson: import("@openassistant/utils").ExtendedTool<import("@openassistant/osm").GetUsZipcodeGeojsonFunctionArgs, import("@openassistant/osm").GetUsZipcodeGeojsonLlmResult, import("@openassistant/osm").GetUsZipcodeGeojsonAdditionalData, object>;
|
|
@@ -53,6 +94,16 @@ export declare function getGeoTools(aiAssistant: AiAssistantState, datasets: Dat
|
|
|
53
94
|
geocoding: import("@openassistant/utils").ExtendedTool<import("@openassistant/osm").GeocodingFunctionArgs, import("@openassistant/osm").GeocodingLlmResult, import("@openassistant/osm").GeocodingAdditionalData, object>;
|
|
54
95
|
routing: import("@openassistant/utils").ExtendedTool<import("@openassistant/osm").RoutingFunctionArgs, import("@openassistant/osm").RoutingLlmResult, import("@openassistant/osm").RoutingAdditionalData, import("@openassistant/osm/dist/register-tools").OsmToolContext>;
|
|
55
96
|
isochrone: import("@openassistant/utils").ExtendedTool<import("@openassistant/osm").IsochroneFunctionArgs, import("@openassistant/osm").IsochroneLlmResult, import("@openassistant/osm").IsochroneAdditionalData, import("@openassistant/osm/dist/register-tools").OsmToolContext>;
|
|
97
|
+
roads: {
|
|
98
|
+
context: {
|
|
99
|
+
getGeometries: (datasetName: string) => Promise<import("@geoda/core").SpatialGeometry>;
|
|
100
|
+
};
|
|
101
|
+
description: string;
|
|
102
|
+
parameters: import("@openassistant/osm").RoadsFunctionArgs;
|
|
103
|
+
execute: import("@openassistant/utils").ExecuteFunction<import("@openassistant/osm").RoadsFunctionArgs, import("@openassistant/osm").RoadsLlmResult, import("@openassistant/osm").RoadsAdditionalData, import("@openassistant/osm").RoadsToolContext>;
|
|
104
|
+
component?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
|
105
|
+
priority?: number | undefined;
|
|
106
|
+
};
|
|
56
107
|
};
|
|
57
108
|
/**
|
|
58
109
|
* Use SpatialJoinToolComponent to add the join result to kepler.gl
|
|
@@ -27,31 +27,72 @@ export declare function setupLLMTools({ visState, aiAssistant, dispatch }: {
|
|
|
27
27
|
execute: import("@openassistant/utils").ExecuteFunction<import("@openassistant/geoda").SpatialJoinFunctionArgs, import("@openassistant/geoda").SpatialJoinLlmResult, import("@openassistant/geoda").SpatialJoinAdditionalData, import("@openassistant/geoda").SpatialJoinFunctionContext>;
|
|
28
28
|
priority?: number | undefined;
|
|
29
29
|
};
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
30
|
+
bufferTool: import("@openassistant/utils").ExtendedTool<import("@openassistant/geoda").BufferFunctionArgs, import("@openassistant/geoda").BufferLlmResult, import("@openassistant/geoda").BufferAdditionalData, import("@openassistant/geoda").SpatialToolContext>;
|
|
31
|
+
centroidTool: import("@openassistant/utils").ExtendedTool<import("@openassistant/geoda").CentroidFunctionArgs, import("@openassistant/geoda").CentroidLlmResult, import("@openassistant/geoda").CentroidAdditionalData, import("@openassistant/geoda").SpatialToolContext>;
|
|
32
|
+
dissolveTool: import("@openassistant/utils").ExtendedTool<import("@openassistant/geoda").DissolveFunctionArgs, import("@openassistant/geoda").DissolveLlmResult, import("@openassistant/geoda").DissolveAdditionalData, import("@openassistant/geoda").SpatialToolContext>;
|
|
33
|
+
lengthTool: {
|
|
34
|
+
context: {
|
|
35
|
+
getGeometries: (datasetName: string) => Promise<import("@geoda/core").SpatialGeometry>;
|
|
36
|
+
};
|
|
37
|
+
description: string;
|
|
38
|
+
parameters: import("zod").ZodObject<{
|
|
39
|
+
geojson: import("zod").ZodOptional<import("zod").ZodString>;
|
|
40
|
+
datasetName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
41
|
+
distanceUnit: import("zod").ZodDefault<import("zod").ZodEnum<["KM", "Mile"]>>;
|
|
42
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
43
|
+
distanceUnit: "KM" | "Mile";
|
|
44
|
+
datasetName?: string | undefined;
|
|
45
|
+
geojson?: string | undefined;
|
|
46
|
+
}, {
|
|
47
|
+
datasetName?: string | undefined;
|
|
48
|
+
geojson?: string | undefined;
|
|
49
|
+
distanceUnit?: "KM" | "Mile" | undefined;
|
|
50
|
+
}>;
|
|
51
|
+
execute: import("@openassistant/utils").ExecuteFunction<import("zod").ZodObject<{
|
|
52
|
+
geojson: import("zod").ZodOptional<import("zod").ZodString>;
|
|
53
|
+
datasetName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
54
|
+
distanceUnit: import("zod").ZodDefault<import("zod").ZodEnum<["KM", "Mile"]>>;
|
|
55
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
56
|
+
distanceUnit: "KM" | "Mile";
|
|
57
|
+
datasetName?: string | undefined;
|
|
58
|
+
geojson?: string | undefined;
|
|
59
|
+
}, {
|
|
60
|
+
datasetName?: string | undefined;
|
|
61
|
+
geojson?: string | undefined;
|
|
62
|
+
distanceUnit?: "KM" | "Mile" | undefined;
|
|
63
|
+
}>, {
|
|
64
|
+
success: boolean;
|
|
65
|
+
result: string;
|
|
66
|
+
lengths: number[];
|
|
67
|
+
distanceUnit: "KM" | "Mile";
|
|
68
|
+
}, never, {
|
|
69
|
+
getGeometries: () => void;
|
|
70
|
+
}>;
|
|
71
|
+
component?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
72
|
+
priority?: number | undefined;
|
|
73
|
+
};
|
|
74
|
+
areaTool: {
|
|
75
|
+
context: {
|
|
76
|
+
getGeometries: (datasetName: string) => Promise<import("@geoda/core").SpatialGeometry>;
|
|
77
|
+
getValues?: import("@openassistant/geoda").GetValues | undefined;
|
|
78
|
+
};
|
|
79
|
+
description: string;
|
|
80
|
+
parameters: import("@openassistant/geoda").AreaFunctionArgs;
|
|
81
|
+
execute: import("@openassistant/utils").ExecuteFunction<import("@openassistant/geoda").AreaFunctionArgs, import("@openassistant/geoda").AreaLlmResult, import("@openassistant/geoda").AreaAdditionalData, import("@openassistant/geoda").SpatialToolContext>;
|
|
82
|
+
component?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
83
|
+
priority?: number | undefined;
|
|
84
|
+
};
|
|
85
|
+
perimeterTool: {
|
|
86
|
+
context: {
|
|
87
|
+
getGeometries: (datasetName: string) => Promise<import("@geoda/core").SpatialGeometry>;
|
|
88
|
+
getValues?: import("@openassistant/geoda").GetValues | undefined;
|
|
89
|
+
};
|
|
90
|
+
description: string;
|
|
91
|
+
parameters: import("@openassistant/geoda").PerimeterFunctionArgs;
|
|
92
|
+
execute: import("@openassistant/utils").ExecuteFunction<import("@openassistant/geoda").PerimeterFunctionArgs, import("@openassistant/geoda").PerimeterLlmResult, import("@openassistant/geoda").PerimeterAdditionalData, import("@openassistant/geoda").SpatialToolContext>;
|
|
93
|
+
component?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
94
|
+
priority?: number | undefined;
|
|
95
|
+
};
|
|
55
96
|
getUsStateGeojson: import("@openassistant/utils").ExtendedTool<import("@openassistant/osm").GetUsStateGeojsonFunctionArgs, import("@openassistant/osm").GetUsStateGeojsonLlmResult, import("@openassistant/osm").GetUsStateGeojsonAdditionalData, object>;
|
|
56
97
|
getUsCountyGeojson: import("@openassistant/utils").ExtendedTool<import("@openassistant/osm").GetUsCountyGeojsonFunctionArgs, import("@openassistant/osm").GetUsCountyGeojsonLlmResult, import("@openassistant/osm").GetUsCountyGeojsonAdditionalData, object>;
|
|
57
98
|
getUsZipcodeGeojson: import("@openassistant/utils").ExtendedTool<import("@openassistant/osm").GetUsZipcodeGeojsonFunctionArgs, import("@openassistant/osm").GetUsZipcodeGeojsonLlmResult, import("@openassistant/osm").GetUsZipcodeGeojsonAdditionalData, object>;
|
|
@@ -59,6 +100,16 @@ export declare function setupLLMTools({ visState, aiAssistant, dispatch }: {
|
|
|
59
100
|
geocoding: import("@openassistant/utils").ExtendedTool<import("@openassistant/osm").GeocodingFunctionArgs, import("@openassistant/osm").GeocodingLlmResult, import("@openassistant/osm").GeocodingAdditionalData, object>;
|
|
60
101
|
routing: import("@openassistant/utils").ExtendedTool<import("@openassistant/osm").RoutingFunctionArgs, import("@openassistant/osm").RoutingLlmResult, import("@openassistant/osm").RoutingAdditionalData, import("@openassistant/osm/dist/register-tools").OsmToolContext>;
|
|
61
102
|
isochrone: import("@openassistant/utils").ExtendedTool<import("@openassistant/osm").IsochroneFunctionArgs, import("@openassistant/osm").IsochroneLlmResult, import("@openassistant/osm").IsochroneAdditionalData, import("@openassistant/osm/dist/register-tools").OsmToolContext>;
|
|
103
|
+
roads: {
|
|
104
|
+
context: {
|
|
105
|
+
getGeometries: (datasetName: string) => Promise<import("@geoda/core").SpatialGeometry>;
|
|
106
|
+
};
|
|
107
|
+
description: string;
|
|
108
|
+
parameters: import("@openassistant/osm").RoadsFunctionArgs;
|
|
109
|
+
execute: import("@openassistant/utils").ExecuteFunction<import("@openassistant/osm").RoadsFunctionArgs, import("@openassistant/osm").RoadsLlmResult, import("@openassistant/osm").RoadsAdditionalData, import("@openassistant/osm").RoadsToolContext>;
|
|
110
|
+
component?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
111
|
+
priority?: number | undefined;
|
|
112
|
+
};
|
|
62
113
|
boxplotTool: import("@openassistant/utils").ExtendedTool<import("@openassistant/echarts").BoxplotToolArgs, import("@openassistant/echarts").BoxplotLlmResult, import("@openassistant/echarts").BoxplotAdditionalData, import("@openassistant/echarts").EChartsToolContext>;
|
|
63
114
|
bubbleChartTool: import("@openassistant/utils").ExtendedTool<import("@openassistant/echarts").BubbleChartToolArgs, import("@openassistant/echarts").BubbleChartLlmResult, import("@openassistant/echarts").BubbleChartAdditionalData, import("@openassistant/echarts").EChartsToolContext>;
|
|
64
115
|
histogramTool: import("@openassistant/utils").ExtendedTool<import("@openassistant/echarts").HistogramToolArgs, import("@openassistant/echarts").HistogramLlmResult, import("@openassistant/echarts").HistogramAdditionalData, import("@openassistant/echarts").EChartsToolContext>;
|
|
@@ -22,18 +22,17 @@ export declare function getDuckDBColumnTypes(connection: DatabaseConnection, tab
|
|
|
22
22
|
export declare function getDuckDBColumnTypesMap(columns: DuckDBColumnDesc[]): Record<string, string>;
|
|
23
23
|
/**
|
|
24
24
|
* Constructs an SQL query to select all columns from a given table,
|
|
25
|
-
* converting specified columns to Well-Known Binary (WKB) format using ST_AsWKB
|
|
25
|
+
* converting specified columns to Well-Known Binary (WKB) format using ST_AsWKB,
|
|
26
|
+
* and casting BIGINT columns to DOUBLE if specified.
|
|
26
27
|
* @param tableName The name of the table from which to select data.
|
|
27
|
-
* @param
|
|
28
|
+
* @param columns An array of column descriptors, each with a type and name.
|
|
29
|
+
* @param options Optional parameters to control the conversion behavior.
|
|
28
30
|
* @returns The constructed SQL query.
|
|
29
31
|
*/
|
|
30
|
-
export declare function
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
* @returns An array of column names that are of type GEOMETRY.
|
|
35
|
-
*/
|
|
36
|
-
export declare function getGeometryColumns(columns: DuckDBColumnDesc[]): string[];
|
|
32
|
+
export declare function castDuckDBTypesForKepler(tableName: string, columns: DuckDBColumnDesc[], options?: {
|
|
33
|
+
geometryToWKB: boolean;
|
|
34
|
+
bigIntToDouble: boolean;
|
|
35
|
+
}): string;
|
|
37
36
|
/**
|
|
38
37
|
* Sets the GeoArrow WKB extension metadata for columns of type GEOMETRY in an Arrow table.
|
|
39
38
|
* @param table The Apache Arrow table whose schema fields will be modified.
|
|
@@ -370,13 +370,3 @@ export declare const setLocaleUpdater: (state: UiState, { payload: { locale } }:
|
|
|
370
370
|
* @public
|
|
371
371
|
*/
|
|
372
372
|
export declare const togglePanelListViewUpdater: (state: UiState, { payload: { panelId, listView } }: UIStateActions.TogglePanelListViewAction) => UiState;
|
|
373
|
-
/**
|
|
374
|
-
* Update state of the loading indicator.
|
|
375
|
-
* @memberof uiStateUpdaters
|
|
376
|
-
* @param state uiState
|
|
377
|
-
* @param action
|
|
378
|
-
* @param action.payload Payload with change of number of active loading actions.
|
|
379
|
-
* @returns nextState
|
|
380
|
-
* @public
|
|
381
|
-
*/
|
|
382
|
-
export declare const setLoadingIndicatorUpdater: (state: UiState, { payload: { change } }: UIStateActions.SetLoadingIndicatorAction) => UiState;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ActionTypes, CreateNewDatasetSuccessPayload, MapStateActions, ReceiveMapConfigPayload, VisStateActions } from '@kepler.gl/actions';
|
|
1
|
+
import { ActionTypes, CreateNewDatasetSuccessPayload, MapStateActions, ReceiveMapConfigPayload, VisStateActions, SetLoadingIndicatorPayload } from '@kepler.gl/actions';
|
|
2
2
|
import { Layer } from '@kepler.gl/layers';
|
|
3
3
|
import { Merger, PostMergerPayload, VisState } from '@kepler.gl/schemas';
|
|
4
4
|
import { Filter, InteractionConfig, AnimationConfig, FilterAnimationConfig, Editor } from '@kepler.gl/types';
|
|
@@ -15,6 +15,8 @@ export declare const DEFAULT_EDITOR: Editor;
|
|
|
15
15
|
* @public
|
|
16
16
|
*/
|
|
17
17
|
export declare const INITIAL_VIS_STATE: VisState;
|
|
18
|
+
export declare const ACTION_TASK_FIT_BOUNDS: any;
|
|
19
|
+
export declare const ACTION_TASK_ADD_NOTIFICATION: any;
|
|
18
20
|
declare type UpdateStateWithLayerAndDataType = {
|
|
19
21
|
layers: Layer[];
|
|
20
22
|
layerData: any[];
|
|
@@ -226,6 +228,7 @@ export declare const setFilterViewUpdater: (state: VisState, action: VisStateAct
|
|
|
226
228
|
splitMapsToBeMerged: import("@kepler.gl/types").SplitMap[];
|
|
227
229
|
fileLoading: false | import("@kepler.gl/types").FileLoading;
|
|
228
230
|
fileLoadingProgress: import("@kepler.gl/types").FileLoadingProgress;
|
|
231
|
+
loadingIndicatorValue: number;
|
|
229
232
|
loaders: Loader<any, any, import("@loaders.gl/loader-utils").LoaderOptions>[];
|
|
230
233
|
loadOptions: object;
|
|
231
234
|
initialState?: Partial<VisState> | undefined;
|
|
@@ -567,6 +570,18 @@ export declare function setLayerAnimationTimeConfigUpdater(state: VisState, { co
|
|
|
567
570
|
export declare function layerFilteredItemsChangeUpdater<S extends VisState>(state: S, action: VisStateActions.LayerFilteredItemsChangeAction): S;
|
|
568
571
|
export declare function syncTimeFilterWithLayerTimelineUpdater<S extends VisState>(state: S, action: VisStateActions.SyncTimeFilterWithLayerTimelineAction): S;
|
|
569
572
|
export declare function setTimeFilterTimelineModeUpdater<S extends VisState>(state: S, action: VisStateActions.setTimeFilterSyncTimelineModeAction): S;
|
|
573
|
+
/**
|
|
574
|
+
* Update state of the loading indicator.
|
|
575
|
+
* @memberof visStateUpdaters
|
|
576
|
+
* @param state visState
|
|
577
|
+
* @param action
|
|
578
|
+
* @param action.payload Payload with change of number of active loading actions.
|
|
579
|
+
* @returns nextState
|
|
580
|
+
* @public
|
|
581
|
+
*/
|
|
582
|
+
export declare const setLoadingIndicatorUpdater: (state: VisState, { payload: { change } }: {
|
|
583
|
+
payload: SetLoadingIndicatorPayload;
|
|
584
|
+
}) => VisState;
|
|
570
585
|
export declare function prepareStateForDatasetReplace<T extends VisState>(state: T, dataId: string, dataIdToUse: string): T;
|
|
571
586
|
export declare function replaceDatasetDepsInState<T extends VisState>(state: T, { dataId, dataIdToUse }: {
|
|
572
587
|
dataId: string;
|
|
@@ -41,6 +41,7 @@ export declare const visStateReducerFactory: (initialState?: {}) => import("redu
|
|
|
41
41
|
splitMapsToBeMerged: import("@kepler.gl/types").SplitMap[];
|
|
42
42
|
fileLoading: false | import("@kepler.gl/types").FileLoading;
|
|
43
43
|
fileLoadingProgress: import("@kepler.gl/types").FileLoadingProgress;
|
|
44
|
+
loadingIndicatorValue: number;
|
|
44
45
|
loaders: import("@loaders.gl/loader-utils").Loader<any, any, import("@loaders.gl/loader-utils").LoaderOptions>[];
|
|
45
46
|
loadOptions: object;
|
|
46
47
|
initialState?: Partial<import("@kepler.gl/schemas").VisState> | undefined;
|
|
@@ -95,6 +96,7 @@ export declare const visStateReducerFactory: (initialState?: {}) => import("redu
|
|
|
95
96
|
splitMapsToBeMerged: import("@kepler.gl/types").SplitMap[];
|
|
96
97
|
fileLoading: false | import("@kepler.gl/types").FileLoading;
|
|
97
98
|
fileLoadingProgress: import("@kepler.gl/types").FileLoadingProgress;
|
|
99
|
+
loadingIndicatorValue: number;
|
|
98
100
|
loaders: import("@loaders.gl/loader-utils").Loader<any, any, import("@loaders.gl/loader-utils").LoaderOptions>[];
|
|
99
101
|
loadOptions: object;
|
|
100
102
|
initialState?: Partial<import("@kepler.gl/schemas").VisState> | undefined;
|
|
@@ -150,6 +152,7 @@ declare const _default: import("redux-actions").ReduxCompatibleReducer<{
|
|
|
150
152
|
splitMapsToBeMerged: import("@kepler.gl/types").SplitMap[];
|
|
151
153
|
fileLoading: false | import("@kepler.gl/types").FileLoading;
|
|
152
154
|
fileLoadingProgress: import("@kepler.gl/types").FileLoadingProgress;
|
|
155
|
+
loadingIndicatorValue: number;
|
|
153
156
|
loaders: import("@loaders.gl/loader-utils").Loader<any, any, import("@loaders.gl/loader-utils").LoaderOptions>[];
|
|
154
157
|
loadOptions: object;
|
|
155
158
|
initialState?: Partial<import("@kepler.gl/schemas").VisState> | undefined;
|
|
@@ -204,6 +207,7 @@ declare const _default: import("redux-actions").ReduxCompatibleReducer<{
|
|
|
204
207
|
splitMapsToBeMerged: import("@kepler.gl/types").SplitMap[];
|
|
205
208
|
fileLoading: false | import("@kepler.gl/types").FileLoading;
|
|
206
209
|
fileLoadingProgress: import("@kepler.gl/types").FileLoadingProgress;
|
|
210
|
+
loadingIndicatorValue: number;
|
|
207
211
|
loaders: import("@loaders.gl/loader-utils").Loader<any, any, import("@loaders.gl/loader-utils").LoaderOptions>[];
|
|
208
212
|
loadOptions: object;
|
|
209
213
|
initialState?: Partial<import("@kepler.gl/schemas").VisState> | undefined;
|
|
@@ -41,6 +41,7 @@ export interface VisState {
|
|
|
41
41
|
splitMapsToBeMerged: SplitMap[];
|
|
42
42
|
fileLoading: FileLoading | false;
|
|
43
43
|
fileLoadingProgress: FileLoadingProgress;
|
|
44
|
+
loadingIndicatorValue: number;
|
|
44
45
|
loaders: Loader[];
|
|
45
46
|
loadOptions: object;
|
|
46
47
|
initialState?: Partial<VisState>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kepler.gl",
|
|
3
3
|
"author": "Shan He <shan@uber.com>",
|
|
4
|
-
"version": "3.1.
|
|
4
|
+
"version": "3.1.8",
|
|
5
5
|
"description": "kepler.gl is a webgl based application to visualize large scale location data in the browser",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"main": "dist/index.js",
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
"@deck.gl/mapbox": "^8.9.27",
|
|
104
104
|
"@hubble.gl/core": "1.4.0",
|
|
105
105
|
"@hubble.gl/react": "1.4.0",
|
|
106
|
-
"@kepler.gl/components": "3.1.
|
|
106
|
+
"@kepler.gl/components": "3.1.8",
|
|
107
107
|
"@loaders.gl/polyfills": "^4.3.2",
|
|
108
108
|
"@types/mapbox__geo-viewport": "^0.4.1",
|
|
109
109
|
"html-webpack-plugin": "^4.3.0",
|
|
@@ -334,19 +334,3 @@ export declare type TogglePanelListViewAction = {
|
|
|
334
334
|
export declare const togglePanelListView: (payload: TogglePanelListViewAction['payload']) => Merge<TogglePanelListViewAction, {
|
|
335
335
|
type: typeof ActionTypes.TOGGLE_PANEL_LIST_VIEW;
|
|
336
336
|
}>;
|
|
337
|
-
/** SET_LOADING_INDICATOR */
|
|
338
|
-
export declare type SetLoadingIndicatorAction = {
|
|
339
|
-
payload: {
|
|
340
|
-
change: number;
|
|
341
|
-
};
|
|
342
|
-
};
|
|
343
|
-
/**
|
|
344
|
-
* Change of number of active loading actions.
|
|
345
|
-
* @memberof uiStateActions
|
|
346
|
-
* @param payload
|
|
347
|
-
* @param payload.change Change of number of active loading actions.
|
|
348
|
-
* @public
|
|
349
|
-
*/
|
|
350
|
-
export declare const setLoadingIndicator: (payload: SetLoadingIndicatorAction['payload']) => Merge<SetLoadingIndicatorAction, {
|
|
351
|
-
type: typeof ActionTypes.SET_LOADING_INDICATOR;
|
|
352
|
-
}>;
|