@kepler.gl/schemas 3.3.0-alpha.12 → 3.3.0-alpha.14

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.
@@ -1,5 +1,5 @@
1
1
  import Schema from './schema';
2
- import { AddDataToMapOptions, AnimationConfig, Editor, FileLoading, FileLoadingProgress, Filter, InteractionConfig, LayerOrder, MapInfo, ParsedFilter, ParsedLayer, ParsedVisState, SavedFilter, MinSavedFilter, SavedInteractionConfig, SavedLayer, MinSavedLayer, SavedVisState, SplitMap, ValueOf, Effect, Annotation } from '@kepler.gl/types';
2
+ import { AddDataToMapOptions, AnimationConfig, Editor, FileLoading, FileLoadingProgress, Filter, InteractionConfig, LayerOrder, MapInfo, ParsedFilter, ParsedLayer, ParsedVisState, SavedFilter, MinSavedFilter, SavedInteractionConfig, SavedLayer, MinSavedLayer, SavedVisState, SplitMap, ValueOf, Effect, Annotation, ChartConfig } from '@kepler.gl/types';
3
3
  import { Datasets } from '@kepler.gl/table';
4
4
  import { Layer, LayerClassesType } from '@kepler.gl/layers';
5
5
  import { Loader } from '@loaders.gl/loader-utils';
@@ -23,6 +23,8 @@ export interface VisState {
23
23
  layerOrderToBeMerged: any[] | null;
24
24
  effects: Effect[];
25
25
  effectOrder: string[];
26
+ charts: ChartConfig[];
27
+ chartsToBeMerged: ChartConfig[];
26
28
  annotations: Annotation[];
27
29
  annotationsToBeMerged: any[];
28
30
  selectedAnnotationId: string | null;
@@ -246,6 +248,36 @@ export declare const effectPropsV1: {
246
248
  isEnabled: null;
247
249
  parameters: null;
248
250
  };
251
+ export declare const chartPropsV1: {
252
+ id: null;
253
+ title: null;
254
+ type: null;
255
+ dataId: null;
256
+ applyFilters: null;
257
+ pinned: null;
258
+ display: null;
259
+ crossFilter: null;
260
+ xAxis: null;
261
+ yAxis: null;
262
+ groupBy: null;
263
+ value: null;
264
+ axis: null;
265
+ numGroups: null;
266
+ groupOthers: null;
267
+ colorBy: null;
268
+ chartDisplay: null;
269
+ layerId: null;
270
+ layerChartType: null;
271
+ };
272
+ export declare class ChartsSchema extends Schema {
273
+ key: string;
274
+ save(charts: any): {
275
+ [x: string]: any[];
276
+ };
277
+ load(charts: any): {
278
+ [x: string]: any[];
279
+ };
280
+ }
249
281
  export declare class EffectsSchema extends Schema {
250
282
  key: string;
251
283
  save(effects: any, parents: any): {
@@ -295,6 +327,7 @@ export declare const propertiesV1: {
295
327
  filters: FilterSchemaV0;
296
328
  layers: LayerSchemaV0;
297
329
  effects: EffectsSchema;
330
+ charts: ChartsSchema;
298
331
  annotations: AnnotationsSchema;
299
332
  interactionConfig: InteractionSchemaV1;
300
333
  layerBlending: null;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@kepler.gl/schemas",
3
3
  "author": "Shan He <shan@uber.com>",
4
- "version": "3.3.0-alpha.12",
4
+ "version": "3.3.0-alpha.14",
5
5
  "description": "kepler.gl schemas used by kepler.gl components, actions and reducers",
6
6
  "license": "MIT",
7
7
  "main": "dist/cjs/index.js",
@@ -28,12 +28,12 @@
28
28
  "dist"
29
29
  ],
30
30
  "dependencies": {
31
- "@kepler.gl/common-utils": "3.3.0-alpha.12",
32
- "@kepler.gl/constants": "3.3.0-alpha.12",
33
- "@kepler.gl/layers": "3.3.0-alpha.12",
34
- "@kepler.gl/table": "3.3.0-alpha.12",
35
- "@kepler.gl/types": "3.3.0-alpha.12",
36
- "@kepler.gl/utils": "3.3.0-alpha.12",
31
+ "@kepler.gl/common-utils": "3.3.0-alpha.14",
32
+ "@kepler.gl/constants": "3.3.0-alpha.14",
33
+ "@kepler.gl/layers": "3.3.0-alpha.14",
34
+ "@kepler.gl/table": "3.3.0-alpha.14",
35
+ "@kepler.gl/types": "3.3.0-alpha.14",
36
+ "@kepler.gl/utils": "3.3.0-alpha.14",
37
37
  "@loaders.gl/loader-utils": "^4.4.1",
38
38
  "@types/keymirror": "^0.1.1",
39
39
  "apache-arrow": ">=15.0.0",