vis-core 0.0.1

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 (102) hide show
  1. package/README.md +1 -0
  2. package/dist/command/AddObject.d.ts +13 -0
  3. package/dist/command/AddVis.d.ts +12 -0
  4. package/dist/command/Command.d.ts +17 -0
  5. package/dist/command/Commands.d.ts +17 -0
  6. package/dist/command/RemoveObject.d.ts +13 -0
  7. package/dist/command/SetColor.d.ts +12 -0
  8. package/dist/command/SetMaterial.d.ts +12 -0
  9. package/dist/command/SetMaterialColor.d.ts +14 -0
  10. package/dist/command/SetMaterialMap.d.ts +17 -0
  11. package/dist/command/SetMaterialMapVector.d.ts +15 -0
  12. package/dist/command/SetMaterialRange.d.ts +14 -0
  13. package/dist/command/SetMaterialValue.d.ts +14 -0
  14. package/dist/command/SetMaterialVector.d.ts +14 -0
  15. package/dist/command/SetPosition.d.ts +12 -0
  16. package/dist/command/SetRotation.d.ts +11 -0
  17. package/dist/command/SetScale.d.ts +11 -0
  18. package/dist/command/SetScript.d.ts +14 -0
  19. package/dist/command/SetSetting.d.ts +14 -0
  20. package/dist/command/SetTarget.d.ts +12 -0
  21. package/dist/command/SetValue.d.ts +13 -0
  22. package/dist/getVisConfig.d.ts +66 -0
  23. package/dist/helper.d.ts +1 -0
  24. package/dist/history.d.ts +20 -0
  25. package/dist/index.d.ts +94 -0
  26. package/dist/index.js +4889 -0
  27. package/dist/index.module.js +46641 -0
  28. package/dist/script.d.ts +10 -0
  29. package/dist/utils/clipGeojson.d.ts +5 -0
  30. package/dist/utils/compareVersion.d.ts +2 -0
  31. package/dist/utils/e.d.ts +2 -0
  32. package/dist/utils/jsonFetch.d.ts +2 -0
  33. package/dist/version.d.ts +2 -0
  34. package/dist/viewport.d.ts +39 -0
  35. package/dist/vis/Base.d.ts +68 -0
  36. package/dist/vis/all/MaterialList.d.ts +25 -0
  37. package/dist/vis/all/objects/Arc/index.d.ts +33 -0
  38. package/dist/vis/all/objects/Arc/utils.d.ts +6 -0
  39. package/dist/vis/all/objects/Box.d.ts +4 -0
  40. package/dist/vis/all/objects/Capsule.d.ts +4 -0
  41. package/dist/vis/all/objects/Circle.d.ts +4 -0
  42. package/dist/vis/all/objects/Cylinder.d.ts +4 -0
  43. package/dist/vis/all/objects/Dodecahedron.d.ts +4 -0
  44. package/dist/vis/all/objects/Icosahedron.d.ts +4 -0
  45. package/dist/vis/all/objects/Lathe.d.ts +4 -0
  46. package/dist/vis/all/objects/Light.d.ts +18 -0
  47. package/dist/vis/all/objects/Octahedron.d.ts +4 -0
  48. package/dist/vis/all/objects/Plane.d.ts +4 -0
  49. package/dist/vis/all/objects/Point.d.ts +11 -0
  50. package/dist/vis/all/objects/Ring.d.ts +4 -0
  51. package/dist/vis/all/objects/Sphere.d.ts +7 -0
  52. package/dist/vis/all/objects/Sprite.d.ts +4 -0
  53. package/dist/vis/all/objects/Tetrahedron.d.ts +4 -0
  54. package/dist/vis/all/objects/Torus.d.ts +4 -0
  55. package/dist/vis/all/objects/TorusKnot.d.ts +4 -0
  56. package/dist/vis/all/objects/Tube.d.ts +4 -0
  57. package/dist/vis/all/objects/index.d.ts +66 -0
  58. package/dist/vis/city/config.d.ts +22 -0
  59. package/dist/vis/city/index.d.ts +102 -0
  60. package/dist/vis/city/objects/area/index.d.ts +28 -0
  61. package/dist/vis/city/objects/building/index.d.ts +29 -0
  62. package/dist/vis/city/objects/index.d.ts +38 -0
  63. package/dist/vis/city/objects/plane/Water2.d.ts +68 -0
  64. package/dist/vis/city/objects/plane/index.d.ts +18 -0
  65. package/dist/vis/city/objects/road/index.d.ts +28 -0
  66. package/dist/vis/city/objects/target/index.d.ts +26 -0
  67. package/dist/vis/earth/config.d.ts +8 -0
  68. package/dist/vis/earth/index.d.ts +28 -0
  69. package/dist/vis/earth/objects/china/index.d.ts +14 -0
  70. package/dist/vis/earth/objects/countries/index.d.ts +4 -0
  71. package/dist/vis/earth/objects/earth/index.d.ts +5 -0
  72. package/dist/vis/earth/objects/index.d.ts +19 -0
  73. package/dist/vis/earth/objects/light/index.d.ts +97 -0
  74. package/dist/vis/earth/utils/animation.d.ts +1 -0
  75. package/dist/vis/earth/utils/index.d.ts +2 -0
  76. package/dist/vis/earth2/config.d.ts +8 -0
  77. package/dist/vis/earth2/index.d.ts +36 -0
  78. package/dist/vis/earth2/objects/bg/index.d.ts +4 -0
  79. package/dist/vis/earth2/objects/earth/index.d.ts +4 -0
  80. package/dist/vis/earth2/objects/index.d.ts +21 -0
  81. package/dist/vis/earth2/objects/label/index.d.ts +4 -0
  82. package/dist/vis/earth2/objects/point/index.d.ts +17 -0
  83. package/dist/vis/index.d.ts +6 -0
  84. package/dist/vis/map/config.d.ts +9 -0
  85. package/dist/vis/map/el.d.ts +1 -0
  86. package/dist/vis/map/index.d.ts +153 -0
  87. package/dist/vis/map/objects/ContinentsBg.d.ts +26 -0
  88. package/dist/vis/map/objects/PlaneMap.d.ts +80 -0
  89. package/dist/vis/map/objects/PlaneShadow.d.ts +4 -0
  90. package/dist/vis/map/objects/index.d.ts +19 -0
  91. package/dist/vis/map/world.d.ts +53 -0
  92. package/dist/vis/map2/city.d.ts +22 -0
  93. package/dist/vis/map2/city350000.d.ts +2 -0
  94. package/dist/vis/map2/config.d.ts +21 -0
  95. package/dist/vis/map2/el.d.ts +1 -0
  96. package/dist/vis/map2/index.d.ts +62 -0
  97. package/dist/vis/map2/map.d.ts +45 -0
  98. package/dist/vis/map2/map350000.d.ts +2 -0
  99. package/dist/vis/map2/mapOnCity.d.ts +2 -0
  100. package/dist/vis/map2/objects/index.d.ts +30 -0
  101. package/dist/vis/map2/utils/index.d.ts +2 -0
  102. package/package.json +71 -0
package/README.md ADDED
@@ -0,0 +1 @@
1
+ 1
@@ -0,0 +1,13 @@
1
+ import { Command } from './Command';
2
+ import Editor from "../index";
3
+ declare class AddObject extends Command {
4
+ objectType: string;
5
+ objectOptions: Record<string, any>;
6
+ obj: any;
7
+ constructor(editor: Editor, objectType: string, options: Record<string, any>);
8
+ execute(): Promise<void>;
9
+ undo(): void;
10
+ toJSON(): any;
11
+ fromJSON(json: any): void;
12
+ }
13
+ export { AddObject };
@@ -0,0 +1,12 @@
1
+ import { Command } from './Command';
2
+ import Editor from "../index";
3
+ declare class AddVis extends Command {
4
+ visType: string;
5
+ visOptions: Record<string, any>;
6
+ constructor(editor: Editor, visType: string, options: Record<string, any>);
7
+ execute(): Promise<void>;
8
+ undo(): boolean;
9
+ toJSON(): any;
10
+ fromJSON(json: any): void;
11
+ }
12
+ export { AddVis };
@@ -0,0 +1,17 @@
1
+ import Editor from "../index";
2
+ declare class Command {
3
+ id: number;
4
+ updatable: boolean;
5
+ type: string;
6
+ name: string;
7
+ editor: Editor;
8
+ constructor(editor: Editor);
9
+ toJSON(): {
10
+ type: string;
11
+ id: number;
12
+ name: string;
13
+ updatable: boolean;
14
+ };
15
+ fromJSON(json: Record<string, any>): void;
16
+ }
17
+ export { Command };
@@ -0,0 +1,17 @@
1
+ export { SetColor } from './SetColor.js';
2
+ export { SetMaterialColor } from './SetMaterialColor.js';
3
+ export { SetMaterial } from './SetMaterial.js';
4
+ export { SetMaterialMap } from './SetMaterialMap.js';
5
+ export { SetMaterialValue } from './SetMaterialValue.js';
6
+ export { SetMaterialVector } from './SetMaterialVector.js';
7
+ export { SetMaterialMapVector } from './SetMaterialMapVector.js';
8
+ export { SetPosition } from './SetPosition.js';
9
+ export { SetRotation } from './SetRotation.js';
10
+ export { SetScale } from './SetScale.js';
11
+ export { SetValue } from './SetValue.js';
12
+ export { AddVis } from './AddVis';
13
+ export { AddObject } from './AddObject';
14
+ export { RemoveObject } from './RemoveObject';
15
+ export { SetSetting } from './SetSetting';
16
+ export { SetScript } from './SetScript';
17
+ export { SetTarget } from './SetTarget.js';
@@ -0,0 +1,13 @@
1
+ import { Command } from './Command';
2
+ import Editor from "../index";
3
+ import { BaseObject } from 'gl-draw';
4
+ declare class RemoveObject extends Command {
5
+ object: BaseObject;
6
+ objectUuid?: string;
7
+ constructor(editor: Editor, object: BaseObject);
8
+ execute(): void;
9
+ undo(): Promise<boolean>;
10
+ toJSON(): any;
11
+ fromJSON(json: any): void;
12
+ }
13
+ export { RemoveObject };
@@ -0,0 +1,12 @@
1
+ export class SetColor extends Command {
2
+ constructor(editor: any, object: any, attributeName: any, newValue: any);
3
+ object: any;
4
+ attributeName: any;
5
+ oldValue: any;
6
+ newValue: any;
7
+ execute(): void;
8
+ undo(): void;
9
+ update(cmd: any): void;
10
+ fromJSON(json: any): void;
11
+ }
12
+ import { Command } from './Command';
@@ -0,0 +1,12 @@
1
+ export class SetMaterial extends Command {
2
+ constructor(editor: any, object: any, newMaterial: any, materialSlot: any);
3
+ object: any;
4
+ materialSlot: any;
5
+ oldMaterial: import("three").Material | import("three").Material[] | undefined;
6
+ newMaterial: any;
7
+ loaderSrc: (string | undefined)[];
8
+ execute(): void;
9
+ undo(): void;
10
+ fromJSON(json: any): void;
11
+ }
12
+ import { Command } from './Command';
@@ -0,0 +1,14 @@
1
+ export class SetMaterialColor extends Command {
2
+ constructor(editor: any, object: any, attributeName: any, newValue: any, materialSlot: any);
3
+ object: any;
4
+ materialSlot: any;
5
+ material: import("three").Material | import("three").Material[] | undefined;
6
+ oldValue: any;
7
+ newValue: any;
8
+ attributeName: any;
9
+ execute(): void;
10
+ undo(): void;
11
+ update(cmd: any): void;
12
+ fromJSON(json: any): void;
13
+ }
14
+ import { Command } from './Command';
@@ -0,0 +1,17 @@
1
+ export class SetMaterialMap extends Command {
2
+ constructor(editor: any, object: any, mapName: any, newMap: any, materialSlot: any);
3
+ object: any;
4
+ materialSlot: any;
5
+ material: THREE.Material | THREE.Material[] | undefined;
6
+ oldMap: any;
7
+ newMap: any;
8
+ loaderSrc: string | undefined;
9
+ mapName: any;
10
+ execute(): void;
11
+ undo(): void;
12
+ fromJSON(json: any): void;
13
+ }
14
+ export function parseTexture(json: any): any;
15
+ export function serializeMap(map: any): any;
16
+ import { Command } from './Command';
17
+ import * as THREE from 'three';
@@ -0,0 +1,15 @@
1
+ export class SetMaterialMapVector extends Command {
2
+ constructor(editor: any, object: any, attributeName: any, newValue: any, materialSlot: any);
3
+ object: any;
4
+ materialSlot: any;
5
+ material: THREE.Material | THREE.Material[] | undefined;
6
+ oldValue: any;
7
+ newValue: any;
8
+ attributeName: any;
9
+ execute(): void;
10
+ undo(): void;
11
+ update(cmd: any): void;
12
+ fromJSON(json: any): void;
13
+ }
14
+ import { Command } from './Command';
15
+ import * as THREE from 'three';
@@ -0,0 +1,14 @@
1
+ export class SetMaterialRange extends Command {
2
+ constructor(editor: any, object: any, attributeName: any, newMinValue: any, newMaxValue: any, materialSlot: any);
3
+ object: any;
4
+ materialSlot: any;
5
+ material: import("three").Material | import("three").Material[] | undefined;
6
+ oldRange: any[] | undefined;
7
+ newRange: any[];
8
+ attributeName: any;
9
+ execute(): void;
10
+ undo(): void;
11
+ update(cmd: any): void;
12
+ fromJSON(json: any): void;
13
+ }
14
+ import { Command } from './Command';
@@ -0,0 +1,14 @@
1
+ export class SetMaterialValue extends Command {
2
+ constructor(editor: any, object: any, attributeName: any, newValue: any, materialSlot: any);
3
+ object: any;
4
+ materialSlot: any;
5
+ material: import("three").Material | import("three").Material[] | undefined;
6
+ oldValue: any;
7
+ newValue: any;
8
+ attributeName: any;
9
+ execute(): void;
10
+ undo(): void;
11
+ update(cmd: any): void;
12
+ fromJSON(json: any): void;
13
+ }
14
+ import { Command } from './Command';
@@ -0,0 +1,14 @@
1
+ export class SetMaterialVector extends Command {
2
+ constructor(editor: any, object: any, attributeName: any, newValue: any, materialSlot: any);
3
+ object: any;
4
+ materialSlot: any;
5
+ material: import("three").Material | import("three").Material[] | undefined;
6
+ oldValue: any;
7
+ newValue: any;
8
+ attributeName: any;
9
+ execute(): void;
10
+ undo(): void;
11
+ update(cmd: any): void;
12
+ fromJSON(json: any): void;
13
+ }
14
+ import { Command } from './Command';
@@ -0,0 +1,12 @@
1
+ export class SetPosition extends Command {
2
+ constructor(editor: any, object: any, newPosition: any, optionalOldPosition: any, cameraControls: any);
3
+ cameraControls: any;
4
+ object: any;
5
+ oldPosition: any;
6
+ newPosition: any;
7
+ execute(): void;
8
+ undo(): void;
9
+ update(command: any): void;
10
+ fromJSON(json: any): void;
11
+ }
12
+ import { Command } from './Command';
@@ -0,0 +1,11 @@
1
+ export class SetRotation extends Command {
2
+ constructor(editor: any, object: any, newRotation: any, optionalOldRotation: any);
3
+ object: any;
4
+ oldRotation: any;
5
+ newRotation: any;
6
+ execute(): void;
7
+ undo(): void;
8
+ update(command: any): void;
9
+ fromJSON(json: any): void;
10
+ }
11
+ import { Command } from './Command';
@@ -0,0 +1,11 @@
1
+ export class SetScale extends Command {
2
+ constructor(editor: any, object: any, newScale: any, optionalOldScale: any);
3
+ object: any;
4
+ oldScale: any;
5
+ newScale: any;
6
+ execute(): void;
7
+ undo(): void;
8
+ update(command: any): void;
9
+ fromJSON(json: any): void;
10
+ }
11
+ import { Command } from './Command';
@@ -0,0 +1,14 @@
1
+ import { Command } from './Command';
2
+ import Editor from "../index";
3
+ declare class SetScript extends Command {
4
+ objectUuid: string;
5
+ script?: string;
6
+ prevScript?: string;
7
+ constructor(editor: Editor, objectUuid: string, script?: string);
8
+ execute(): void;
9
+ undo(): void;
10
+ update(command: any): void;
11
+ toJSON(): any;
12
+ fromJSON(json: any): void;
13
+ }
14
+ export { SetScript };
@@ -0,0 +1,14 @@
1
+ import { Command } from './Command';
2
+ import Editor from "../index";
3
+ declare class SetSetting extends Command {
4
+ attributeName: string;
5
+ newValue: boolean;
6
+ oldValue: boolean;
7
+ constructor(editor: Editor, name: string, newValue: boolean);
8
+ execute(): Promise<void>;
9
+ undo(): Promise<void>;
10
+ update(command: any): void;
11
+ toJSON(): any;
12
+ fromJSON(json: any): void;
13
+ }
14
+ export { SetSetting };
@@ -0,0 +1,12 @@
1
+ export class SetTarget extends Command {
2
+ constructor(editor: any, object: any, newPosition: any, optionalOldPosition: any, cameraControls: any);
3
+ cameraControls: any;
4
+ object: any;
5
+ oldPosition: any;
6
+ newPosition: any;
7
+ execute(): void;
8
+ undo(): void;
9
+ update(command: any): void;
10
+ fromJSON(json: any): void;
11
+ }
12
+ import { Command } from './Command';
@@ -0,0 +1,13 @@
1
+ export class SetValue extends Command {
2
+ constructor(editor: any, object: any, attributeName: any, newValue: any, properties: any);
3
+ object: any;
4
+ properties: any;
5
+ attributeName: any;
6
+ oldValue: any;
7
+ newValue: any;
8
+ execute(): void;
9
+ undo(): void;
10
+ update(cmd: any): void;
11
+ fromJSON(json: any): void;
12
+ }
13
+ import { Command } from './Command';
@@ -0,0 +1,66 @@
1
+ export declare const getMapConfig: (adcode: number, base?: any) => Promise<{
2
+ geojsonMap: {
3
+ [x: number]: any;
4
+ };
5
+ extrudeLineGeojsonMap: {
6
+ [x: number]: any;
7
+ };
8
+ bboxMap: {
9
+ [x: number]: import("@turf/turf").BBox;
10
+ };
11
+ cityBboxMap: Record<string, any>;
12
+ jsonNameObj: Record<string, any>;
13
+ } | {
14
+ [x: string]: any;
15
+ }>;
16
+ export declare const getMap2Config: (adcode: number, base?: any) => Promise<{
17
+ geojsonMap: {
18
+ [x: number]: any;
19
+ };
20
+ extrudeLineGeojsonMap: {
21
+ [x: number]: any;
22
+ };
23
+ bboxMap: {
24
+ [x: number]: import("@turf/turf").BBox;
25
+ };
26
+ cityBboxMap: Record<string, any>;
27
+ jsonNameObj: Record<string, any>;
28
+ } | {
29
+ [x: string]: any;
30
+ }>;
31
+ export declare const getMap2WithCityConfig: (adcode: number, base?: any) => Promise<{
32
+ geojsonMap: {
33
+ [x: number]: any;
34
+ };
35
+ extrudeLineGeojsonMap: {
36
+ [x: number]: any;
37
+ };
38
+ bboxMap: {
39
+ [x: number]: import("@turf/turf").BBox;
40
+ };
41
+ cityBboxMap: Record<string, any>;
42
+ jsonNameObj: Record<string, any>;
43
+ } | {
44
+ [x: string]: any;
45
+ }>;
46
+ export declare const extendMapConfig: (type: string, data: Record<string, any>, base?: any) => Promise<{
47
+ geojsonMap: {
48
+ [x: number]: any;
49
+ };
50
+ extrudeLineGeojsonMap: {
51
+ [x: number]: any;
52
+ };
53
+ bboxMap: {
54
+ [x: number]: import("@turf/turf").BBox;
55
+ };
56
+ cityBboxMap: Record<string, any>;
57
+ jsonNameObj: Record<string, any>;
58
+ } | {
59
+ [x: string]: any;
60
+ }>;
61
+ export declare const getCityConfig: (adcode: number, base?: any) => Promise<{
62
+ center: number[];
63
+ adcode: number;
64
+ bbox: import("@turf/turf").BBox;
65
+ jsonName: string;
66
+ }>;
@@ -0,0 +1 @@
1
+ export declare const fixJSON: (json: any) => any;
@@ -0,0 +1,20 @@
1
+ import Editor from "./index";
2
+ declare class History {
3
+ editor: Editor;
4
+ undos: any[];
5
+ redos: any[];
6
+ lastCmdTime: number;
7
+ idCounter: number;
8
+ historyDisabled: boolean;
9
+ constructor(editor: Editor);
10
+ execute(cmd: any, optionalName?: string): Promise<void>;
11
+ undo(): any;
12
+ redo(): any;
13
+ toJSON(): {
14
+ u: any[];
15
+ };
16
+ fromJSON(json: any, extendVisOptions?: (json: any) => any): void;
17
+ executeUndos(): Promise<void>;
18
+ clear(): void;
19
+ }
20
+ export default History;
@@ -0,0 +1,94 @@
1
+ /// <reference types="node" />
2
+ import '@/styles/vis.css';
3
+ import * as THREE from 'three';
4
+ import { EventEmitter } from 'events';
5
+ import Pencil, { BaseObject } from 'gl-draw';
6
+ import { Map, City, Earth, Earth2, Map2, World } from "./vis/index";
7
+ import Base from "./vis/Base";
8
+ import History from './history';
9
+ import Viewport from './viewport';
10
+ import Script from './script';
11
+ export * as THREE from 'three';
12
+ export * as visConfig from './getVisConfig';
13
+ interface SelectedMeta {
14
+ name: string;
15
+ object: THREE.Mesh;
16
+ uuid: string;
17
+ fixUuid?: string;
18
+ baseObject?: BaseObject;
19
+ remove?: boolean;
20
+ parent?: THREE.Mesh;
21
+ }
22
+ export interface Options {
23
+ container?: HTMLElement;
24
+ assetsPrefix?: string;
25
+ css2DContainer?: HTMLElement;
26
+ }
27
+ export default class Editor {
28
+ selected: any;
29
+ isSDK: boolean;
30
+ playing: boolean;
31
+ currentMaterialSlot: number;
32
+ events: EventEmitter;
33
+ history: History;
34
+ script: Script;
35
+ viewport: Viewport;
36
+ pencil: Pencil;
37
+ on: (eventName: string | symbol, listener: (...args: any[]) => void) => EventEmitter;
38
+ emit: (eventName: string | symbol, ...args: any[]) => boolean;
39
+ sdkVersion: string;
40
+ jsonVersion: string | undefined;
41
+ key: string;
42
+ name: string;
43
+ open: boolean;
44
+ assetsPrefix: string;
45
+ css2DContainer?: HTMLElement;
46
+ getVis(name: 'base'): Base;
47
+ getVis(name: 'map'): Map;
48
+ getVis(name: 'map2'): Map2;
49
+ getVis(name: 'world'): World;
50
+ getVis(name: 'city'): City;
51
+ getVis(name: 'earth'): Earth;
52
+ getVis(name: 'earth2'): Earth2;
53
+ fixBufferGeometry: THREE.BufferGeometry;
54
+ constructor(options?: Options);
55
+ use(visFactoriesMap: Record<string, any>): void;
56
+ getObjectMaterial(object?: THREE.Mesh | null, slot?: number): THREE.Material | THREE.Material[] | undefined;
57
+ setObjectMaterial(object: THREE.Mesh, slot: number, newMaterial: THREE.Material): void;
58
+ uuidByObject(object: THREE.Object3D): string | undefined;
59
+ objectByUuid(uuid: string): THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[], THREE.Object3DEventMap> | undefined;
60
+ uuidByBaseObject(object: BaseObject): string | undefined;
61
+ baseObjectByUuid(uuid: string): BaseObject | undefined;
62
+ changeSelectOption(): void;
63
+ selectOption: SelectedMeta[];
64
+ checkSelectOption: import("lodash-es").DebouncedFunc<(res: {
65
+ name: string;
66
+ object: THREE.Mesh;
67
+ uuid: string;
68
+ baseObject?: BaseObject;
69
+ }[]) => void>;
70
+ execute(cmd: any, optionalName?: string): Promise<void>;
71
+ fromJSON(jsonOrUrl: Record<string, any> | string, extendVisOptions?: (json: any) => any): Promise<void>;
72
+ toJSON(): {
73
+ h: {
74
+ u: any[];
75
+ };
76
+ v: {
77
+ eo: Record<string, any>;
78
+ delLoadObj: string[] | undefined;
79
+ bg: {};
80
+ };
81
+ c: {
82
+ version: string;
83
+ };
84
+ };
85
+ select(...args: any[]): void;
86
+ setConfig(c: Partial<{
87
+ name: string;
88
+ key: string;
89
+ version: string;
90
+ open: boolean;
91
+ }>): void;
92
+ getDataURL(): string;
93
+ dispose(): void;
94
+ }