@kepler.gl/actions 3.3.0-alpha.17 → 3.3.0-alpha.19

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.
@@ -333,12 +333,14 @@ export type SetExportMapBrandingUpdaterAction = {
333
333
  payload: {
334
334
  appName?: string;
335
335
  appWebsite?: string;
336
+ appIcon?: string;
337
+ appNameColor?: string;
336
338
  };
337
339
  };
338
340
  /**
339
341
  * Set application branding overrides for exported maps
340
342
  * @memberOf uiStateActions
341
- * @param payload - application name and/or website overrides
343
+ * @param payload - application name, website, icon, and/or name color overrides
342
344
  */
343
345
  export declare const setExportMapBranding: (payload: SetExportMapBrandingUpdaterAction['payload']) => Merge<SetExportMapBrandingUpdaterAction, {
344
346
  type: typeof ActionTypes.SET_EXPORT_MAP_BRANDING;
@@ -2,7 +2,7 @@ import { default as ActionTypes } from './action-types';
2
2
  import { FileCacheItem, ZipArchiveExpansion } from '@kepler.gl/processors';
3
3
  import { Layer, LayerBaseConfig } from '@kepler.gl/layers';
4
4
  import { GroupByOp, JoinOp, KeplerTable, SuitabilityOp } from '@kepler.gl/table';
5
- import { AddDataToMapOptions, AddDataToMapPayload, ViewportPadding, ValueOf, Merge, PickInfo, RGBColor, NestedPartial, LayerVisConfig, ColorUI, Feature, FeatureSelectionContext, InteractionConfig, Filter, ParsedConfig, ParsedLayer, EffectPropsPartial, AnnotationPropsPartial, SyncTimelineMode, AnimationConfig, FilterAnimationConfig, LayerOrder, LayerOrderGroup, ProtoDataset, ChartConfig } from '@kepler.gl/types';
5
+ import { AddDataToMapOptions, AddDataToMapPayload, ViewportPadding, ValueOf, Merge, PickInfo, RGBColor, NestedPartial, LayerVisConfig, ColorUI, Feature, FeatureSelectionContext, InteractionConfig, Filter, ParsedConfig, ParsedLayer, EffectPropsPartial, AnnotationPropsPartial, SyncTimelineMode, AnimationConfig, FilterAnimationConfig, LayerOrder, LayerOrderGroup, ProtoDataset, ChartConfig, CameraBookmark, CameraTour } from '@kepler.gl/types';
6
6
  export type ApplyLayerConfigUpdaterAction = {
7
7
  oldLayerId: string;
8
8
  newLayerConfig: ParsedLayer;
@@ -503,6 +503,10 @@ export type RemoveChartUpdaterAction = {
503
503
  export declare function removeChart(id: string): Merge<RemoveChartUpdaterAction, {
504
504
  type: typeof ActionTypes.REMOVE_CHART;
505
505
  }>;
506
+ /** Replace the ordered collection of saved camera bookmarks. */
507
+ export declare const setCameraBookmarks: import("@reduxjs/toolkit").ActionCreatorWithPayload<CameraBookmark[], string>;
508
+ /** Replace the single authored camera tour; null removes it. */
509
+ export declare const setCameraTour: import("@reduxjs/toolkit").ActionCreatorWithPayload<CameraTour | null, string>;
506
510
  export type AddAnnotationUpdaterAction = {
507
511
  config?: AnnotationPropsPartial;
508
512
  };
@@ -677,7 +681,8 @@ export type AddToDatasetOptions = {
677
681
  /**
678
682
  * Field name used as a unique key. Matching rows are replaced in place;
679
683
  * keys that are not in the table are appended. Last incoming row wins when
680
- * the same key appears twice. Row tables only — Arrow/DuckDB no-op with a warning.
684
+ * the same key appears twice. DuckDB tables no-op with a warning. Nested, binary, and
685
+ * geoarrow Arrow columns also no-op (primitive Arrow columns concat in place).
681
686
  */
682
687
  upsertBy?: string;
683
688
  };
@@ -687,13 +692,14 @@ export type AddToDatasetUpdaterAction = {
687
692
  options?: AddToDatasetOptions;
688
693
  };
689
694
  /**
690
- * Append rows to an existing in-memory row dataset without `addDataToMap`.
695
+ * Append rows to an existing in-memory row or Arrow dataset without `addDataToMap`.
691
696
  * Keeps layer identity and style. Pass `options.upsertBy` to replace rows that
692
697
  * share that key and append the rest.
693
698
  *
694
- * Not implemented for Arrow or DuckDB tables (no INSERT / concat yet); those
695
- * calls warn and leave the table unchanged. Use `addDataToMap` with
696
- * `keepExistingConfig` for a full replace.
699
+ * DuckDB tables (no INSERT yet) warn and leave the table unchanged. Arrow
700
+ * tables concat primitive columns in place; nested, binary, and geoarrow
701
+ * columns are rejected. Use `addDataToMap` with `keepExistingConfig` for a
702
+ * full replace.
697
703
  * @memberof visStateActions
698
704
  * @param dataId dataset id
699
705
  * @param rows one row or an array of rows (arrays in field order, or objects keyed by field name)
@@ -714,12 +720,12 @@ export type RemoveFromDatasetUpdaterAction = {
714
720
  byField?: RemoveFromDatasetByField;
715
721
  };
716
722
  /**
717
- * Delete rows from an existing in-memory row dataset without restyling layers.
723
+ * Delete rows from an existing in-memory row or Arrow dataset without restyling layers.
718
724
  * The second argument is either row indexes or `{field, values}` to match a
719
725
  * column (e.g. an id). Out-of-range indexes are a no-op for the whole action.
720
726
  *
721
- * Not implemented for Arrow or DuckDB tables; those calls warn and leave the
722
- * table unchanged. For a full table replace use `addDataToMap` with
727
+ * DuckDB tables warn and leave the table unchanged. Arrow tables concat the
728
+ * kept slices in place. For a full table replace use `addDataToMap` with
723
729
  * `keepExistingConfig`.
724
730
  * @memberof visStateActions
725
731
  * @param dataId dataset id
@@ -1529,6 +1535,7 @@ type FileContent = {
1529
1535
  fileName: string;
1530
1536
  header: string[];
1531
1537
  data: any;
1538
+ prepareProgressiveReplay?: boolean;
1532
1539
  };
1533
1540
  export type NextFileBatchUpdaterAction = {
1534
1541
  payload: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@kepler.gl/actions",
3
3
  "author": "Shan He <shan@uber.com>",
4
- "version": "3.3.0-alpha.17",
4
+ "version": "3.3.0-alpha.19",
5
5
  "description": "kepler.gl constants used by kepler.gl components, actions and reducers",
6
6
  "license": "MIT",
7
7
  "main": "dist/cjs/index.js",
@@ -29,13 +29,13 @@
29
29
  ],
30
30
  "dependencies": {
31
31
  "@deck.gl/core": "^9.3.1",
32
- "@kepler.gl/cloud-providers": "3.3.0-alpha.17",
33
- "@kepler.gl/constants": "3.3.0-alpha.17",
34
- "@kepler.gl/layers": "3.3.0-alpha.17",
35
- "@kepler.gl/processors": "3.3.0-alpha.17",
36
- "@kepler.gl/table": "3.3.0-alpha.17",
37
- "@kepler.gl/types": "3.3.0-alpha.17",
38
- "@kepler.gl/utils": "3.3.0-alpha.17",
32
+ "@kepler.gl/cloud-providers": "3.3.0-alpha.19",
33
+ "@kepler.gl/constants": "3.3.0-alpha.19",
34
+ "@kepler.gl/layers": "3.3.0-alpha.19",
35
+ "@kepler.gl/processors": "3.3.0-alpha.19",
36
+ "@kepler.gl/table": "3.3.0-alpha.19",
37
+ "@kepler.gl/types": "3.3.0-alpha.19",
38
+ "@kepler.gl/utils": "3.3.0-alpha.19",
39
39
  "@reduxjs/toolkit": "^1.7.2",
40
40
  "@types/react-redux": "^7.1.23",
41
41
  "@types/redux-actions": "^2.6.2",