vis-core 0.22.10 → 0.22.12
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/editor/history.d.ts +1 -1
- package/dist/editor/index.d.ts +7 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +19 -19
- package/dist/index.module.js +31766 -27096
- package/dist/version.d.ts +1 -1
- package/dist/vis/all/MaterialList.d.ts +1 -0
- package/dist/vis/all/json/continents/continents.d.ts +144 -99
- package/dist/vis/all/json/world/world.d.ts +176 -136
- package/dist/vis/base/index.d.ts +2 -1
- package/dist/vis/map/index.d.ts +3 -3
- package/package.json +1 -1
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "0.22.
|
|
1
|
+
declare const _default: "0.22.12";
|
|
2
2
|
export default _default;
|
|
@@ -35,6 +35,7 @@ export default class MaterialList {
|
|
|
35
35
|
setObject3dMeta(key: string, meta: ObjectMeta): void;
|
|
36
36
|
setObject3d(object3d: THREE.Object3D, key: string, meta?: ObjectMeta & {
|
|
37
37
|
disableCheckHide?: boolean;
|
|
38
|
+
replace?: boolean;
|
|
38
39
|
}): void;
|
|
39
40
|
delObject3d(object3d: THREE.Object3D): void;
|
|
40
41
|
getObject3dKey(object3d: THREE.Object3D): string | undefined;
|
|
@@ -1,21 +1,43 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const continentsM49: {
|
|
2
|
+
Asia: number;
|
|
3
|
+
Europe: number;
|
|
4
|
+
Africa: number;
|
|
5
|
+
Oceania: number;
|
|
6
|
+
'North America': number;
|
|
7
|
+
'South America': number;
|
|
8
|
+
Antarctica: number;
|
|
9
|
+
};
|
|
10
|
+
export declare const continentsType: {
|
|
11
|
+
name: "Antarctica" | "Africa" | "South America" | "Oceania" | "North America" | "Asia" | "Europe";
|
|
12
|
+
adcode: number;
|
|
13
|
+
}[];
|
|
14
|
+
export declare const continentsJson: Record<number, {
|
|
2
15
|
features: ({
|
|
3
|
-
type: string;
|
|
4
|
-
properties: {
|
|
5
|
-
NAME_CN: string;
|
|
6
|
-
NAME_CN_FULL: string;
|
|
7
|
-
ISO_A2: string;
|
|
8
|
-
ISO_A3: string;
|
|
9
|
-
CAPITAL: number[];
|
|
10
|
-
NAME: string;
|
|
11
|
-
CENTROID: number[];
|
|
12
|
-
ignore?: undefined;
|
|
13
|
-
};
|
|
14
16
|
geometry: {
|
|
17
|
+
coordinates: (number[][] | number[][][])[];
|
|
18
|
+
type: string;
|
|
19
|
+
} | {
|
|
20
|
+
coordinates: (number[][] | number[][][])[];
|
|
21
|
+
type: string;
|
|
22
|
+
} | {
|
|
23
|
+
coordinates: (number[][] | number[][][])[];
|
|
24
|
+
type: string;
|
|
25
|
+
} | {
|
|
26
|
+
coordinates: (number[][] | number[][][])[];
|
|
27
|
+
type: string;
|
|
28
|
+
} | {
|
|
29
|
+
coordinates: (number[][] | number[][][])[];
|
|
30
|
+
type: string;
|
|
31
|
+
} | {
|
|
32
|
+
coordinates: (number[][] | number[][][])[];
|
|
33
|
+
type: string;
|
|
34
|
+
} | {
|
|
35
|
+
coordinates: (number[][] | number[][][])[];
|
|
36
|
+
type: string;
|
|
37
|
+
} | {
|
|
38
|
+
coordinates: (number[][] | number[][][])[];
|
|
15
39
|
type: string;
|
|
16
|
-
coordinates: number[][][];
|
|
17
40
|
};
|
|
18
|
-
} | {
|
|
19
41
|
type: string;
|
|
20
42
|
properties: {
|
|
21
43
|
NAME_CN: string;
|
|
@@ -27,59 +49,32 @@ export declare const continentsJson: Record<"Antarctica" | "Asia" | "Europe" | "
|
|
|
27
49
|
CENTROID: number[];
|
|
28
50
|
ignore?: undefined;
|
|
29
51
|
};
|
|
30
|
-
geometry: {
|
|
31
|
-
type: string;
|
|
32
|
-
coordinates: number[][][][];
|
|
33
|
-
};
|
|
34
52
|
} | {
|
|
35
|
-
type: string;
|
|
36
|
-
properties: {
|
|
37
|
-
NAME_CN: string;
|
|
38
|
-
NAME_CN_FULL: string;
|
|
39
|
-
ISO_A2: string;
|
|
40
|
-
ISO_A3: string;
|
|
41
|
-
CENTROID: number[];
|
|
42
|
-
CAPITAL: number[];
|
|
43
|
-
NAME?: undefined;
|
|
44
|
-
ignore?: undefined;
|
|
45
|
-
};
|
|
46
53
|
geometry: {
|
|
54
|
+
coordinates: (number[][] | number[][][])[];
|
|
47
55
|
type: string;
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
} | {
|
|
51
|
-
type: string;
|
|
52
|
-
properties: {
|
|
53
|
-
NAME_CN: string;
|
|
54
|
-
NAME_CN_FULL: string;
|
|
55
|
-
ISO_A2: string;
|
|
56
|
-
ISO_A3: string;
|
|
57
|
-
CENTROID: number[];
|
|
58
|
-
CAPITAL: number[];
|
|
59
|
-
ignore: number;
|
|
60
|
-
NAME?: undefined;
|
|
61
|
-
};
|
|
62
|
-
geometry: {
|
|
56
|
+
} | {
|
|
57
|
+
coordinates: (number[][] | number[][][])[];
|
|
63
58
|
type: string;
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
59
|
+
} | {
|
|
60
|
+
coordinates: (number[][] | number[][][])[];
|
|
61
|
+
type: string;
|
|
62
|
+
} | {
|
|
63
|
+
coordinates: (number[][] | number[][][])[];
|
|
64
|
+
type: string;
|
|
65
|
+
} | {
|
|
66
|
+
coordinates: (number[][] | number[][][])[];
|
|
67
|
+
type: string;
|
|
68
|
+
} | {
|
|
69
|
+
coordinates: (number[][] | number[][][])[];
|
|
70
|
+
type: string;
|
|
71
|
+
} | {
|
|
72
|
+
coordinates: (number[][] | number[][][])[];
|
|
73
|
+
type: string;
|
|
74
|
+
} | {
|
|
75
|
+
coordinates: (number[][] | number[][][])[];
|
|
79
76
|
type: string;
|
|
80
|
-
coordinates: number[][][][];
|
|
81
77
|
};
|
|
82
|
-
} | {
|
|
83
78
|
type: string;
|
|
84
79
|
properties: {
|
|
85
80
|
NAME_CN: string;
|
|
@@ -91,11 +86,32 @@ export declare const continentsJson: Record<"Antarctica" | "Asia" | "Europe" | "
|
|
|
91
86
|
NAME?: undefined;
|
|
92
87
|
ignore?: undefined;
|
|
93
88
|
};
|
|
89
|
+
} | {
|
|
94
90
|
geometry: {
|
|
91
|
+
coordinates: (number[][] | number[][][])[];
|
|
92
|
+
type: string;
|
|
93
|
+
} | {
|
|
94
|
+
coordinates: (number[][] | number[][][])[];
|
|
95
|
+
type: string;
|
|
96
|
+
} | {
|
|
97
|
+
coordinates: (number[][] | number[][][])[];
|
|
98
|
+
type: string;
|
|
99
|
+
} | {
|
|
100
|
+
coordinates: (number[][] | number[][][])[];
|
|
101
|
+
type: string;
|
|
102
|
+
} | {
|
|
103
|
+
coordinates: (number[][] | number[][][])[];
|
|
104
|
+
type: string;
|
|
105
|
+
} | {
|
|
106
|
+
coordinates: (number[][] | number[][][])[];
|
|
107
|
+
type: string;
|
|
108
|
+
} | {
|
|
109
|
+
coordinates: (number[][] | number[][][])[];
|
|
110
|
+
type: string;
|
|
111
|
+
} | {
|
|
112
|
+
coordinates: (number[][] | number[][][])[];
|
|
95
113
|
type: string;
|
|
96
|
-
coordinates: number[][][][];
|
|
97
114
|
};
|
|
98
|
-
} | {
|
|
99
115
|
type: string;
|
|
100
116
|
properties: {
|
|
101
117
|
NAME_CN: string;
|
|
@@ -107,11 +123,32 @@ export declare const continentsJson: Record<"Antarctica" | "Asia" | "Europe" | "
|
|
|
107
123
|
ignore: number;
|
|
108
124
|
NAME?: undefined;
|
|
109
125
|
};
|
|
126
|
+
} | {
|
|
110
127
|
geometry: {
|
|
128
|
+
coordinates: (number[][] | number[][][])[];
|
|
129
|
+
type: string;
|
|
130
|
+
} | {
|
|
131
|
+
coordinates: (number[][] | number[][][])[];
|
|
132
|
+
type: string;
|
|
133
|
+
} | {
|
|
134
|
+
coordinates: (number[][] | number[][][])[];
|
|
135
|
+
type: string;
|
|
136
|
+
} | {
|
|
137
|
+
coordinates: (number[][] | number[][][])[];
|
|
138
|
+
type: string;
|
|
139
|
+
} | {
|
|
140
|
+
coordinates: (number[][] | number[][][])[];
|
|
141
|
+
type: string;
|
|
142
|
+
} | {
|
|
143
|
+
coordinates: (number[][] | number[][][])[];
|
|
144
|
+
type: string;
|
|
145
|
+
} | {
|
|
146
|
+
coordinates: (number[][] | number[][][])[];
|
|
147
|
+
type: string;
|
|
148
|
+
} | {
|
|
149
|
+
coordinates: (number[][] | number[][][])[];
|
|
111
150
|
type: string;
|
|
112
|
-
coordinates: number[][][][];
|
|
113
151
|
};
|
|
114
|
-
} | {
|
|
115
152
|
type: string;
|
|
116
153
|
properties: {
|
|
117
154
|
NAME_CN: string;
|
|
@@ -123,85 +160,102 @@ export declare const continentsJson: Record<"Antarctica" | "Asia" | "Europe" | "
|
|
|
123
160
|
CENTROID: number[];
|
|
124
161
|
ignore: number;
|
|
125
162
|
};
|
|
126
|
-
geometry: {
|
|
127
|
-
type: string;
|
|
128
|
-
coordinates: number[][][];
|
|
129
|
-
};
|
|
130
163
|
})[];
|
|
131
164
|
type: string;
|
|
132
165
|
}>;
|
|
133
166
|
export declare const continentsLiteJson: {
|
|
134
|
-
|
|
167
|
+
"2": {
|
|
135
168
|
type: string;
|
|
136
169
|
features: {
|
|
137
170
|
type: string;
|
|
138
|
-
properties: {
|
|
171
|
+
properties: {
|
|
172
|
+
name: string;
|
|
173
|
+
adcode: number;
|
|
174
|
+
};
|
|
139
175
|
geometry: {
|
|
140
176
|
type: string;
|
|
141
177
|
coordinates: number[][][][];
|
|
142
178
|
};
|
|
143
179
|
}[];
|
|
144
180
|
};
|
|
145
|
-
|
|
181
|
+
"5": {
|
|
146
182
|
type: string;
|
|
147
183
|
features: {
|
|
148
184
|
type: string;
|
|
149
|
-
properties: {
|
|
185
|
+
properties: {
|
|
186
|
+
name: string;
|
|
187
|
+
adcode: number;
|
|
188
|
+
};
|
|
150
189
|
geometry: {
|
|
151
190
|
type: string;
|
|
152
191
|
coordinates: number[][][][];
|
|
153
192
|
};
|
|
154
193
|
}[];
|
|
155
194
|
};
|
|
156
|
-
|
|
195
|
+
"9": {
|
|
157
196
|
type: string;
|
|
158
197
|
features: {
|
|
159
198
|
type: string;
|
|
160
|
-
properties: {
|
|
199
|
+
properties: {
|
|
200
|
+
name: string;
|
|
201
|
+
adcode: number;
|
|
202
|
+
};
|
|
161
203
|
geometry: {
|
|
162
204
|
type: string;
|
|
163
205
|
coordinates: number[][][][];
|
|
164
206
|
};
|
|
165
207
|
}[];
|
|
166
208
|
};
|
|
167
|
-
|
|
209
|
+
"10": {
|
|
168
210
|
type: string;
|
|
169
211
|
features: {
|
|
170
212
|
type: string;
|
|
171
|
-
properties: {
|
|
213
|
+
properties: {
|
|
214
|
+
name: string;
|
|
215
|
+
adcode: number;
|
|
216
|
+
};
|
|
172
217
|
geometry: {
|
|
173
218
|
type: string;
|
|
174
219
|
coordinates: number[][][][];
|
|
175
220
|
};
|
|
176
221
|
}[];
|
|
177
222
|
};
|
|
178
|
-
"
|
|
223
|
+
"21": {
|
|
179
224
|
type: string;
|
|
180
225
|
features: {
|
|
181
226
|
type: string;
|
|
182
|
-
properties: {
|
|
227
|
+
properties: {
|
|
228
|
+
name: string;
|
|
229
|
+
adcode: number;
|
|
230
|
+
};
|
|
183
231
|
geometry: {
|
|
184
232
|
type: string;
|
|
185
233
|
coordinates: number[][][][];
|
|
186
234
|
};
|
|
187
235
|
}[];
|
|
188
236
|
};
|
|
189
|
-
"
|
|
237
|
+
"142": {
|
|
190
238
|
type: string;
|
|
191
239
|
features: {
|
|
192
240
|
type: string;
|
|
193
|
-
properties: {
|
|
241
|
+
properties: {
|
|
242
|
+
name: string;
|
|
243
|
+
adcode: number;
|
|
244
|
+
};
|
|
194
245
|
geometry: {
|
|
195
246
|
type: string;
|
|
196
247
|
coordinates: number[][][][];
|
|
197
248
|
};
|
|
198
249
|
}[];
|
|
199
250
|
};
|
|
200
|
-
|
|
251
|
+
"150": {
|
|
201
252
|
type: string;
|
|
202
253
|
features: {
|
|
203
254
|
type: string;
|
|
204
|
-
properties: {
|
|
255
|
+
properties: {
|
|
256
|
+
name: string;
|
|
257
|
+
adcode: number;
|
|
258
|
+
};
|
|
205
259
|
geometry: {
|
|
206
260
|
type: string;
|
|
207
261
|
coordinates: number[][][][];
|
|
@@ -210,20 +264,11 @@ export declare const continentsLiteJson: {
|
|
|
210
264
|
};
|
|
211
265
|
};
|
|
212
266
|
export declare const continentsBbox: {
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
"
|
|
218
|
-
"
|
|
219
|
-
|
|
220
|
-
};
|
|
221
|
-
export declare const continentsCentroid: {
|
|
222
|
-
Asia: number[];
|
|
223
|
-
Europe: number[];
|
|
224
|
-
Africa: number[];
|
|
225
|
-
Oceania: number[];
|
|
226
|
-
"North America": number[];
|
|
227
|
-
"South America": number[];
|
|
228
|
-
Antarctica: number[];
|
|
267
|
+
"2": number[];
|
|
268
|
+
"5": number[];
|
|
269
|
+
"9": number[];
|
|
270
|
+
"10": number[];
|
|
271
|
+
"21": number[];
|
|
272
|
+
"142": number[];
|
|
273
|
+
"150": number[];
|
|
229
274
|
};
|