@kepler.gl/utils 3.3.0-alpha.16 → 3.3.0-alpha.18

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.
Files changed (50) hide show
  1. package/dist/application-config.d.ts +10 -0
  2. package/dist/arrow-data-container.d.ts +19 -2
  3. package/dist/cjs/application-config.js +4 -2
  4. package/dist/cjs/arrow-data-container.js +90 -1
  5. package/dist/cjs/data-container-interface.js +1 -1
  6. package/dist/cjs/data-container-utils.js +3 -2
  7. package/dist/cjs/data-utils.js +11 -16
  8. package/dist/cjs/dataset-utils.js +11 -6
  9. package/dist/cjs/export-map-html.js +60 -3
  10. package/dist/cjs/export-utils.js +36 -14
  11. package/dist/cjs/export-utils.spec.js +92 -0
  12. package/dist/cjs/filter-utils.js +253 -21
  13. package/dist/cjs/index.js +64 -1
  14. package/dist/cjs/map-info-utils.js +30 -3
  15. package/dist/cjs/map-utils.js +4 -4
  16. package/dist/cjs/plot.js +271 -46
  17. package/dist/cjs/projection-utils.js +3 -3
  18. package/dist/cjs/time.js +8 -12
  19. package/dist/cjs/types.js +1 -1
  20. package/dist/data-container-interface.d.ts +1 -1
  21. package/dist/data-container-utils.d.ts +2 -1
  22. package/dist/data-utils.d.ts +3 -3
  23. package/dist/esm/application-config.js +4 -2
  24. package/dist/esm/arrow-data-container.js +89 -1
  25. package/dist/esm/data-container-interface.js +1 -1
  26. package/dist/esm/data-container-utils.js +3 -2
  27. package/dist/esm/data-utils.js +11 -16
  28. package/dist/esm/dataset-utils.js +11 -6
  29. package/dist/esm/export-map-html.js +61 -4
  30. package/dist/esm/export-utils.js +36 -15
  31. package/dist/esm/export-utils.spec.js +91 -0
  32. package/dist/esm/filter-utils.js +248 -22
  33. package/dist/esm/index.js +4 -4
  34. package/dist/esm/map-info-utils.js +29 -2
  35. package/dist/esm/map-utils.js +2 -2
  36. package/dist/esm/plot.js +266 -47
  37. package/dist/esm/projection-utils.js +2 -2
  38. package/dist/esm/time.js +9 -13
  39. package/dist/esm/types.js +1 -1
  40. package/dist/export-map-html.d.ts +3 -0
  41. package/dist/export-utils.d.ts +6 -0
  42. package/dist/export-utils.spec.d.ts +1 -0
  43. package/dist/filter-utils.d.ts +31 -2
  44. package/dist/index.d.ts +3 -3
  45. package/dist/map-info-utils.d.ts +11 -1
  46. package/dist/plot.d.ts +143 -11
  47. package/dist/projection-utils.d.ts +3 -3
  48. package/dist/time.d.ts +2 -2
  49. package/dist/types.d.ts +1 -0
  50. package/package.json +7 -7
package/dist/time.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { AnimationConfig, Timeline, TimeRangeFilter, Filter } from '@kepler.gl/types';
1
+ import { AnimationConfig, Timeline, TimeRangeFilter, RangeFilter, Filter } from '@kepler.gl/types';
2
2
  import { KeplerTableModel } from './types';
3
3
  export declare const TIMELINE_MODES: {
4
4
  inner: string;
@@ -51,4 +51,4 @@ export declare function filterIntervalOptions(options: any, domain: any): any;
51
51
  * @param filter TimeRangeFilter filter
52
52
  * @returns Timeline
53
53
  */
54
- export declare const getTimelineFromFilter: (filter: TimeRangeFilter) => Timeline;
54
+ export declare const getTimelineFromFilter: (filter: TimeRangeFilter | RangeFilter) => Timeline;
package/dist/types.d.ts CHANGED
@@ -16,4 +16,5 @@ export interface KeplerTableModel<K, L, F extends Field = any> {
16
16
  };
17
17
  filteredIndex: number[];
18
18
  filteredIndexByLayer?: Record<string, number[]>;
19
+ disableDataOperation?: boolean;
19
20
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@kepler.gl/utils",
3
3
  "author": "Shan He <shan@uber.com>",
4
- "version": "3.3.0-alpha.16",
4
+ "version": "3.3.0-alpha.18",
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,14 @@
29
29
  ],
30
30
  "dependencies": {
31
31
  "@deck.gl/core": "^9.3.1",
32
- "@kepler.gl/common-utils": "3.3.0-alpha.16",
33
- "@kepler.gl/constants": "3.3.0-alpha.16",
34
- "@kepler.gl/types": "3.3.0-alpha.16",
32
+ "@kepler.gl/common-utils": "3.3.0-alpha.18",
33
+ "@kepler.gl/constants": "3.3.0-alpha.18",
34
+ "@kepler.gl/types": "3.3.0-alpha.18",
35
35
  "@loaders.gl/gis": "^4.4.1",
36
36
  "@luma.gl/constants": "^9.3.2",
37
37
  "@luma.gl/core": "^9.3.2",
38
38
  "@mapbox/geo-viewport": "^0.4.1",
39
+ "@math.gl/web-mercator": "^4.1.0",
39
40
  "@turf/boolean-intersects": "^7.2.0",
40
41
  "@turf/boolean-within": "^7.2.0",
41
42
  "@turf/helpers": "^7.2.0",
@@ -60,8 +61,7 @@
60
61
  "react-map-gl": "^8.1.1",
61
62
  "resize-observer-polyfill": "^1.5.1",
62
63
  "suncalc": "^1.9.0",
63
- "type-analyzer": "0.4.0",
64
- "viewport-mercator-project": "^6.0.0"
64
+ "type-analyzer": "0.4.0"
65
65
  },
66
66
  "nyc": {
67
67
  "sourceMap": false,
@@ -77,7 +77,7 @@
77
77
  "node": ">=20"
78
78
  },
79
79
  "volta": {
80
- "node": "20.19.3",
80
+ "node": "24.21.0",
81
81
  "yarn": "4.4.0"
82
82
  },
83
83
  "packageManager": "yarn@4.4.0",