vis-core 0.22.5 → 0.22.6

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.
@@ -1,507 +1,6 @@
1
- import type { FeatureCollection, Polygon, MultiPolygon } from 'geojson';
2
- type GeoJSON = FeatureCollection<Polygon | MultiPolygon>;
3
- export declare const countriesJson: {
4
- features: ({
5
- type: string;
6
- properties: {
7
- NAME_CN: string;
8
- NAME_CN_FULL: string;
9
- ISO_A2: string;
10
- ISO_A3: string;
11
- CAPITAL: number[];
12
- NAME: string;
13
- CENTROID: number[];
14
- ignore?: undefined;
15
- };
16
- geometry: {
17
- type: string;
18
- coordinates: number[][][];
19
- };
20
- } | {
21
- type: string;
22
- properties: {
23
- NAME_CN: string;
24
- NAME_CN_FULL: string;
25
- ISO_A2: string;
26
- ISO_A3: string;
27
- CAPITAL: number[];
28
- NAME: string;
29
- CENTROID: number[];
30
- ignore?: undefined;
31
- };
32
- geometry: {
33
- type: string;
34
- coordinates: number[][][][];
35
- };
36
- } | {
37
- type: string;
38
- properties: {
39
- NAME_CN: string;
40
- NAME_CN_FULL: string;
41
- ISO_A2: string;
42
- ISO_A3: string;
43
- CENTROID: number[];
44
- CAPITAL: number[];
45
- NAME?: undefined;
46
- ignore?: undefined;
47
- };
48
- geometry: {
49
- type: string;
50
- coordinates: number[][][];
51
- };
52
- } | {
53
- type: string;
54
- properties: {
55
- NAME_CN: string;
56
- NAME_CN_FULL: string;
57
- ISO_A2: string;
58
- ISO_A3: string;
59
- CENTROID: number[];
60
- CAPITAL: number[];
61
- ignore: number;
62
- NAME?: undefined;
63
- };
64
- geometry: {
65
- type: string;
66
- coordinates: number[][][];
67
- };
68
- } | {
69
- type: string;
70
- properties: {
71
- NAME_CN: string;
72
- NAME_CN_FULL: string;
73
- ISO_A2: string;
74
- ISO_A3: string;
75
- CAPITAL: number[];
76
- NAME: string;
77
- CENTROID: number[];
78
- ignore: number;
79
- };
80
- geometry: {
81
- type: string;
82
- coordinates: number[][][][];
83
- };
84
- } | {
85
- type: string;
86
- properties: {
87
- NAME_CN: string;
88
- NAME_CN_FULL: string;
89
- ISO_A2: string;
90
- ISO_A3: string;
91
- CENTROID: number[];
92
- CAPITAL: number[];
93
- NAME?: undefined;
94
- ignore?: undefined;
95
- };
96
- geometry: {
97
- type: string;
98
- coordinates: number[][][][];
99
- };
100
- } | {
101
- type: string;
102
- properties: {
103
- NAME_CN: string;
104
- NAME_CN_FULL: string;
105
- ISO_A2: string;
106
- ISO_A3: string;
107
- CENTROID: number[];
108
- CAPITAL: number[];
109
- ignore: number;
110
- NAME?: undefined;
111
- };
112
- geometry: {
113
- type: string;
114
- coordinates: number[][][][];
115
- };
116
- } | {
117
- type: string;
118
- properties: {
119
- NAME_CN: string;
120
- NAME_CN_FULL: string;
121
- ISO_A2: string;
122
- ISO_A3: string;
123
- CAPITAL: number[];
124
- NAME: string;
125
- CENTROID: number[];
126
- ignore: number;
127
- };
128
- geometry: {
129
- type: string;
130
- coordinates: number[][][];
131
- };
132
- })[];
133
- type: string;
134
- };
135
- export declare const countriesJsonExclATA: {
136
- features: ({
137
- type: string;
138
- properties: {
139
- NAME_CN: string;
140
- NAME_CN_FULL: string;
141
- ISO_A2: string;
142
- ISO_A3: string;
143
- CAPITAL: number[];
144
- NAME: string;
145
- CENTROID: number[];
146
- ignore?: undefined;
147
- };
148
- geometry: {
149
- type: string;
150
- coordinates: number[][][];
151
- };
152
- } | {
153
- type: string;
154
- properties: {
155
- NAME_CN: string;
156
- NAME_CN_FULL: string;
157
- ISO_A2: string;
158
- ISO_A3: string;
159
- CAPITAL: number[];
160
- NAME: string;
161
- CENTROID: number[];
162
- ignore?: undefined;
163
- };
164
- geometry: {
165
- type: string;
166
- coordinates: number[][][][];
167
- };
168
- } | {
169
- type: string;
170
- properties: {
171
- NAME_CN: string;
172
- NAME_CN_FULL: string;
173
- ISO_A2: string;
174
- ISO_A3: string;
175
- CENTROID: number[];
176
- CAPITAL: number[];
177
- NAME?: undefined;
178
- ignore?: undefined;
179
- };
180
- geometry: {
181
- type: string;
182
- coordinates: number[][][];
183
- };
184
- } | {
185
- type: string;
186
- properties: {
187
- NAME_CN: string;
188
- NAME_CN_FULL: string;
189
- ISO_A2: string;
190
- ISO_A3: string;
191
- CENTROID: number[];
192
- CAPITAL: number[];
193
- ignore: number;
194
- NAME?: undefined;
195
- };
196
- geometry: {
197
- type: string;
198
- coordinates: number[][][];
199
- };
200
- } | {
201
- type: string;
202
- properties: {
203
- NAME_CN: string;
204
- NAME_CN_FULL: string;
205
- ISO_A2: string;
206
- ISO_A3: string;
207
- CAPITAL: number[];
208
- NAME: string;
209
- CENTROID: number[];
210
- ignore: number;
211
- };
212
- geometry: {
213
- type: string;
214
- coordinates: number[][][][];
215
- };
216
- } | {
217
- type: string;
218
- properties: {
219
- NAME_CN: string;
220
- NAME_CN_FULL: string;
221
- ISO_A2: string;
222
- ISO_A3: string;
223
- CENTROID: number[];
224
- CAPITAL: number[];
225
- NAME?: undefined;
226
- ignore?: undefined;
227
- };
228
- geometry: {
229
- type: string;
230
- coordinates: number[][][][];
231
- };
232
- } | {
233
- type: string;
234
- properties: {
235
- NAME_CN: string;
236
- NAME_CN_FULL: string;
237
- ISO_A2: string;
238
- ISO_A3: string;
239
- CENTROID: number[];
240
- CAPITAL: number[];
241
- ignore: number;
242
- NAME?: undefined;
243
- };
244
- geometry: {
245
- type: string;
246
- coordinates: number[][][][];
247
- };
248
- } | {
249
- type: string;
250
- properties: {
251
- NAME_CN: string;
252
- NAME_CN_FULL: string;
253
- ISO_A2: string;
254
- ISO_A3: string;
255
- CAPITAL: number[];
256
- NAME: string;
257
- CENTROID: number[];
258
- ignore: number;
259
- };
260
- geometry: {
261
- type: string;
262
- coordinates: number[][][];
263
- };
264
- })[];
265
- type: string;
266
- };
267
- export declare const countriesJsonExclATALite: GeoJSON;
268
- export declare const continents: Record<"Antarctica" | "Asia" | "Europe" | "Africa" | "Oceania" | "North America" | "South America", {
269
- features: ({
270
- type: string;
271
- properties: {
272
- NAME_CN: string;
273
- NAME_CN_FULL: string;
274
- ISO_A2: string;
275
- ISO_A3: string;
276
- CAPITAL: number[];
277
- NAME: string;
278
- CENTROID: number[];
279
- ignore?: undefined;
280
- };
281
- geometry: {
282
- type: string;
283
- coordinates: number[][][];
284
- };
285
- } | {
286
- type: string;
287
- properties: {
288
- NAME_CN: string;
289
- NAME_CN_FULL: string;
290
- ISO_A2: string;
291
- ISO_A3: string;
292
- CAPITAL: number[];
293
- NAME: string;
294
- CENTROID: number[];
295
- ignore?: undefined;
296
- };
297
- geometry: {
298
- type: string;
299
- coordinates: number[][][][];
300
- };
301
- } | {
302
- type: string;
303
- properties: {
304
- NAME_CN: string;
305
- NAME_CN_FULL: string;
306
- ISO_A2: string;
307
- ISO_A3: string;
308
- CENTROID: number[];
309
- CAPITAL: number[];
310
- NAME?: undefined;
311
- ignore?: undefined;
312
- };
313
- geometry: {
314
- type: string;
315
- coordinates: number[][][];
316
- };
317
- } | {
318
- type: string;
319
- properties: {
320
- NAME_CN: string;
321
- NAME_CN_FULL: string;
322
- ISO_A2: string;
323
- ISO_A3: string;
324
- CENTROID: number[];
325
- CAPITAL: number[];
326
- ignore: number;
327
- NAME?: undefined;
328
- };
329
- geometry: {
330
- type: string;
331
- coordinates: number[][][];
332
- };
333
- } | {
334
- type: string;
335
- properties: {
336
- NAME_CN: string;
337
- NAME_CN_FULL: string;
338
- ISO_A2: string;
339
- ISO_A3: string;
340
- CAPITAL: number[];
341
- NAME: string;
342
- CENTROID: number[];
343
- ignore: number;
344
- };
345
- geometry: {
346
- type: string;
347
- coordinates: number[][][][];
348
- };
349
- } | {
350
- type: string;
351
- properties: {
352
- NAME_CN: string;
353
- NAME_CN_FULL: string;
354
- ISO_A2: string;
355
- ISO_A3: string;
356
- CENTROID: number[];
357
- CAPITAL: number[];
358
- NAME?: undefined;
359
- ignore?: undefined;
360
- };
361
- geometry: {
362
- type: string;
363
- coordinates: number[][][][];
364
- };
365
- } | {
366
- type: string;
367
- properties: {
368
- NAME_CN: string;
369
- NAME_CN_FULL: string;
370
- ISO_A2: string;
371
- ISO_A3: string;
372
- CENTROID: number[];
373
- CAPITAL: number[];
374
- ignore: number;
375
- NAME?: undefined;
376
- };
377
- geometry: {
378
- type: string;
379
- coordinates: number[][][][];
380
- };
381
- } | {
382
- type: string;
383
- properties: {
384
- NAME_CN: string;
385
- NAME_CN_FULL: string;
386
- ISO_A2: string;
387
- ISO_A3: string;
388
- CAPITAL: number[];
389
- NAME: string;
390
- CENTROID: number[];
391
- ignore: number;
392
- };
393
- geometry: {
394
- type: string;
395
- coordinates: number[][][];
396
- };
397
- })[];
398
- type: string;
399
- }>;
400
- export declare const continentsLiteJson: {
401
- Asia: {
402
- type: string;
403
- features: {
404
- type: string;
405
- properties: {
406
- name: string;
407
- };
408
- geometry: {
409
- type: string;
410
- coordinates: number[][][][];
411
- };
412
- }[];
413
- };
414
- Europe: {
415
- type: string;
416
- features: {
417
- type: string;
418
- properties: {
419
- name: string;
420
- };
421
- geometry: {
422
- type: string;
423
- coordinates: number[][][][];
424
- };
425
- }[];
426
- };
427
- Africa: {
428
- type: string;
429
- features: {
430
- type: string;
431
- properties: {
432
- name: string;
433
- };
434
- geometry: {
435
- type: string;
436
- coordinates: number[][][][];
437
- };
438
- }[];
439
- };
440
- Oceania: {
441
- type: string;
442
- features: {
443
- type: string;
444
- properties: {
445
- name: string;
446
- };
447
- geometry: {
448
- type: string;
449
- coordinates: number[][][][];
450
- };
451
- }[];
452
- };
453
- 'North America': {
454
- type: string;
455
- features: {
456
- type: string;
457
- properties: {
458
- name: string;
459
- };
460
- geometry: {
461
- type: string;
462
- coordinates: number[][][][];
463
- };
464
- }[];
465
- };
466
- 'South America': {
467
- type: string;
468
- features: {
469
- type: string;
470
- properties: {
471
- name: string;
472
- };
473
- geometry: {
474
- type: string;
475
- coordinates: number[][][][];
476
- };
477
- }[];
478
- };
479
- };
480
- export declare const IS_DEV: boolean;
481
- export declare const bbox100000: number[];
482
- export declare const bboxworld: number[];
483
- export declare const bboxcontinents: {
484
- Asia: number[];
485
- Europe: number[];
486
- Africa: number[];
487
- Oceania: number[];
488
- 'North America': number[];
489
- 'South America': number[];
490
- Antarctica: number[];
491
- };
492
- export declare const centroidcontinents: {
493
- Asia: number[];
494
- Europe: number[];
495
- Africa: number[];
496
- Oceania: number[];
497
- 'North America': number[];
498
- 'South America': number[];
499
- Antarctica: number[];
500
- };
501
1
  export declare const PENCIL_CONFIG: {
502
2
  camera: {
503
3
  near: number;
504
4
  far: number;
505
5
  };
506
6
  };
507
- export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vis-core",
3
- "version": "0.22.5",
3
+ "version": "0.22.6",
4
4
  "scripts": {
5
5
  "start": "npm run version && PORT=5173 bundler-dev",
6
6
  "build:site": "npm run version && bundler",
@@ -68,7 +68,7 @@
68
68
  "esus-lite": "^0.2.8",
69
69
  "events": "^3.3.0",
70
70
  "geojson-cn": "^0.1.30",
71
- "gl-draw": "0.12.0",
71
+ "gl-draw": "0.12.2",
72
72
  "jsrsasign": "^11.1.0",
73
73
  "lodash-es": "^4.17.21"
74
74
  },