vis-core 0.28.34 → 0.28.36

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/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const _default: "0.28.34";
1
+ declare const _default: "0.28.36";
2
2
  export default _default;
@@ -1,11 +1,12 @@
1
1
  import Base, { BaseOptions } from "../base";
2
- import * as THREE from 'three';
3
2
  import leadObjs from "./objects";
3
+ import { BaseObject, Lead } from 'gl-draw';
4
4
  import { MeshLineMaterial } from 'gl-draw/dist/objects';
5
+ import * as THREE from 'three';
5
6
  import Countries from './objects/countries';
6
- import { BaseObject, Lead } from 'gl-draw';
7
7
  interface EarthOptions extends BaseOptions {
8
8
  mapDepth?: number;
9
+ otherMapDepth?: number;
9
10
  radius?: number;
10
11
  copyChinaPlane?: boolean;
11
12
  style?: 'chinaPlate' | 'countryPlate' | 'base';
@@ -52,7 +53,6 @@ export default class extends Base {
52
53
  map: Countries;
53
54
  get mapArea(): import("gl-draw/dist/objects").ConicPolygon[];
54
55
  setOptions(options: EarthOptions): void;
55
- autoRotateSpeed: number;
56
56
  handleSetting(key: string, value: any): Promise<any>;
57
57
  show(): void;
58
58
  animationIn(): void;
@@ -1,7 +1,7 @@
1
+ import type { FeatureCollection, MultiPolygon, Polygon } from 'geojson';
1
2
  import { BaseObject } from 'gl-draw';
3
+ import { ConicPolygon, Line, MeshLineMaterial } from 'gl-draw/dist/objects';
2
4
  import * as THREE from 'three';
3
- import { MeshLineMaterial, ConicPolygon, Line } from 'gl-draw/dist/objects';
4
- import type { FeatureCollection, Polygon, MultiPolygon } from 'geojson';
5
5
  export type GeoJSON = FeatureCollection<Polygon | MultiPolygon>;
6
6
  interface Options {
7
7
  geojson: GeoJSON;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vis-core",
3
- "version": "0.28.34",
3
+ "version": "0.28.36",
4
4
  "scripts": {
5
5
  "start": "npm run version && PORT=5173 bundler-dev",
6
6
  "build:site": "npm run version && PUBLIC_EXCLUDE=true bundler",
@@ -61,12 +61,12 @@
61
61
  "dependencies": {
62
62
  "@turf/turf": "^6.5.0",
63
63
  "@types/crypto-js": "^4.2.2",
64
- "@types/three": "^0.178.1",
64
+ "@types/three": "^0.179.0",
65
65
  "crypto-js": "^4.2.0",
66
66
  "esus-lite": "^0.2.8",
67
67
  "events": "^3.3.0",
68
68
  "geojson-cn": "^0.2.5",
69
- "gl-draw": "0.15.29",
69
+ "gl-draw": "0.15.32",
70
70
  "jsrsasign": "^11.1.0",
71
71
  "lodash-es": "^4.17.21"
72
72
  },