vis-core 0.12.19 → 0.12.21-test.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.
- package/dist/index.js +196 -196
- package/dist/index.module.js +6128 -6112
- package/dist/version.d.ts +1 -1
- package/dist/vis/map/objects/ContinentsBg.d.ts +2 -10
- package/dist/vis/map/world.d.ts +1 -0
- package/dist/vis/map2/index.d.ts +1 -0
- package/package.json +10 -9
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "0.12.
|
|
1
|
+
declare const _default: "0.12.21-test.1";
|
|
2
2
|
export default _default;
|
|
@@ -4,22 +4,14 @@ interface Options {
|
|
|
4
4
|
scale: number;
|
|
5
5
|
depth: number;
|
|
6
6
|
equirectangular: boolean;
|
|
7
|
+
continents?: any;
|
|
7
8
|
}
|
|
8
9
|
export default class extends BaseObject {
|
|
9
10
|
options: Options;
|
|
10
11
|
mapArr: PlaneMap[];
|
|
11
12
|
constructor(options: Options);
|
|
12
13
|
create(): Promise<void>;
|
|
13
|
-
getPointInContinentInfo(location: [number, number]):
|
|
14
|
-
type: string;
|
|
15
|
-
properties: {
|
|
16
|
-
name: string;
|
|
17
|
-
};
|
|
18
|
-
geometry: {
|
|
19
|
-
type: string;
|
|
20
|
-
coordinates: number[][][][];
|
|
21
|
-
};
|
|
22
|
-
} | undefined;
|
|
14
|
+
getPointInContinentInfo(location: [number, number]): any;
|
|
23
15
|
getPointInContinent(location: [number, number]): boolean;
|
|
24
16
|
getLocationPosition(location: [number, number]): number[] | undefined;
|
|
25
17
|
dispose(): void;
|
package/dist/vis/map/world.d.ts
CHANGED
package/dist/vis/map2/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ interface MapCityOptions extends Map2Options {
|
|
|
5
5
|
initCity?: boolean;
|
|
6
6
|
cityOnMap?: boolean;
|
|
7
7
|
clipOutShow?: boolean;
|
|
8
|
+
mapBoundary?: boolean;
|
|
8
9
|
cityBboxMap?: Record<number, [number, number, number, number]>;
|
|
9
10
|
jsonNameObj?: Record<number, string>;
|
|
10
11
|
allCity?: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vis-core",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.21-test.1",
|
|
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",
|
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
"version": "node ./scripts/generate-version",
|
|
11
11
|
"start:3dSite": "npm run version && VITE_SITE_3D=true bundler-dev",
|
|
12
12
|
"build:3dSite": "npm run version && VITE_SITE_3D=true bundler",
|
|
13
|
-
"pub": "npm publish"
|
|
13
|
+
"pub": "npm publish",
|
|
14
|
+
"pub.test": "npm publish --tag test"
|
|
14
15
|
},
|
|
15
16
|
"main": "dist/index.js",
|
|
16
17
|
"module": "dist/index.module.js",
|
|
@@ -39,11 +40,11 @@
|
|
|
39
40
|
"@types/lodash-es": "^4.17.9",
|
|
40
41
|
"@types/node": "^20.6.0",
|
|
41
42
|
"@types/three": "^0.164.0",
|
|
42
|
-
"ant-design-vue": "4.
|
|
43
|
+
"ant-design-vue": "^4.2.1",
|
|
43
44
|
"codemirror": "^6.0.1",
|
|
44
45
|
"dayjs": "^1.11.10",
|
|
45
46
|
"eslint-config-bundler": "^0.4.0",
|
|
46
|
-
"esus": "^0.
|
|
47
|
+
"esus": "^0.4.23",
|
|
47
48
|
"fs-extra": "^11.1.1",
|
|
48
49
|
"gl-draw": "0.9.0-beta.404",
|
|
49
50
|
"idb-keyval": "^6.2.1",
|
|
@@ -54,17 +55,17 @@
|
|
|
54
55
|
"tailwind-config-bundler": "^0.4.0",
|
|
55
56
|
"three": "0.164.1",
|
|
56
57
|
"vite-plugin-markdown": "^2.1.0",
|
|
57
|
-
"vue": "^3.4.
|
|
58
|
-
"vue-bundler": "^0.4.
|
|
58
|
+
"vue": "^3.4.27",
|
|
59
|
+
"vue-bundler": "^0.4.2",
|
|
59
60
|
"vue-easy-dnd": "^2.1.3",
|
|
60
|
-
"vue-router": "^4.3.
|
|
61
|
+
"vue-router": "^4.3.2",
|
|
61
62
|
"vue3-colorpicker": "^2.3.0"
|
|
62
63
|
},
|
|
63
64
|
"dependencies": {
|
|
64
65
|
"@turf/turf": "^6.5.0",
|
|
65
|
-
"esus-lite": "^0.2.
|
|
66
|
+
"esus-lite": "^0.2.2",
|
|
66
67
|
"events": "^3.3.0",
|
|
67
|
-
"geojson-cn": "^0.1.
|
|
68
|
+
"geojson-cn": "^0.1.19",
|
|
68
69
|
"lodash-es": "^4.17.21"
|
|
69
70
|
},
|
|
70
71
|
"prettier": "prettier-config-bundler"
|