vis-core 0.15.3 → 0.15.4

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.15.3";
1
+ declare const _default: "0.15.4";
2
2
  export default _default;
@@ -13,7 +13,6 @@ export default class extends Base {
13
13
  drawController: DrawController<{
14
14
  Earth: typeof import("./objects/earth").default;
15
15
  Countries: typeof Countries;
16
- China: typeof import("./objects/china").BorderAreaArc;
17
16
  Plane: typeof import("../all/objects/Plane").default;
18
17
  Ring: typeof import("../all/objects/Ring").default;
19
18
  Sphere: typeof import("../all/objects/Sphere").default;
@@ -15,6 +15,7 @@ interface Options {
15
15
  bbox?: number[];
16
16
  hasTop?: boolean;
17
17
  hasSide?: boolean;
18
+ lineDuration?: number;
18
19
  }
19
20
  export default class extends BaseObject {
20
21
  options: Required<Omit<Options, 'bbox'>> & Pick<Options, 'bbox'>;
@@ -1,11 +1,9 @@
1
1
  import { Draw as DrawController } from 'gl-draw/dist/plugins';
2
2
  import Earth from './earth';
3
3
  import Countries from './countries';
4
- import China from './china';
5
4
  declare const objs: {
6
5
  Earth: typeof Earth;
7
6
  Countries: typeof Countries;
8
- China: typeof China;
9
7
  Plane: typeof import("../../all/objects/Plane").default;
10
8
  Ring: typeof import("../../all/objects/Ring").default;
11
9
  Sphere: typeof import("../../all/objects/Sphere").default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vis-core",
3
- "version": "0.15.3",
3
+ "version": "0.15.4",
4
4
  "scripts": {
5
5
  "start": "npm run version && PORT=5173 bundler-dev",
6
6
  "build:site": "npm run version &&PUBLIC_EXCLUDE=public/city bundler",
@@ -1,14 +0,0 @@
1
- import { BaseObject } from 'gl-draw';
2
- import * as THREE from 'three';
3
- interface Options {
4
- borderColor: THREE.Color;
5
- }
6
- export declare class BorderAreaArc extends BaseObject {
7
- options: Options;
8
- constructor(options?: Partial<Options>);
9
- create(): Promise<void>;
10
- getProvinceByAdcode(adcode: number): import("gl-draw/dist/objects").ConicPolygon | undefined;
11
- start(adcode: number): void;
12
- end(adcode: number): void;
13
- }
14
- export default BorderAreaArc;