vis-core 0.33.19 → 0.33.20
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/README.md +6 -2
- package/dist/{dist-6e_r_Ils.js → dist-CBwlzuju.js} +1 -1
- package/dist/e-DsI3lCu-.js +1 -0
- package/dist/index.d.ts +9 -4
- package/dist/index.js +1 -1
- package/dist/io.d.ts +12 -3
- package/dist/io.js +1 -1
- package/dist/resource-url-MTT03G1N.js +1 -0
- package/dist/runtimeImages-CJx9KQkc.js +1 -0
- package/dist/{schema-Brre1WzE.js → schema-DCtwlcYa.js} +1 -1
- package/dist/validation-BOlQdEPC.js +1 -0
- package/package.json +2 -2
- package/dist/e-BTBbEYEO.js +0 -1
- package/dist/runtimeImages-DCG8lEY9.js +0 -1
- package/dist/sha2-BCqd-su1.js +0 -1
- package/dist/validation-DDQJc7mH.js +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -3249,7 +3249,7 @@ declare interface MapCityOptions extends MapOptions {
|
|
|
3249
3249
|
|
|
3250
3250
|
export declare interface MapExportScope {
|
|
3251
3251
|
rootAdcode: number;
|
|
3252
|
-
maxLevel:
|
|
3252
|
+
maxLevel: MapTemplateLevel;
|
|
3253
3253
|
}
|
|
3254
3254
|
|
|
3255
3255
|
declare interface MapLabelStyle {
|
|
@@ -3383,6 +3383,10 @@ declare interface MapSceneBindings {
|
|
|
3383
3383
|
cities: string[];
|
|
3384
3384
|
}
|
|
3385
3385
|
|
|
3386
|
+
declare type MapTemplateLevel = typeof mapTemplateLevels[number];
|
|
3387
|
+
|
|
3388
|
+
declare const mapTemplateLevels: readonly ["world", "country", "province", "city", "district"];
|
|
3389
|
+
|
|
3386
3390
|
export declare const MATERIAL_ASSET_ID = "_materialAssetId";
|
|
3387
3391
|
|
|
3388
3392
|
export declare const MATERIAL_ASSET_REVISION = "_materialAssetRevision";
|
|
@@ -4984,13 +4988,13 @@ export declare interface RuntimeAssetCatalog {
|
|
|
4984
4988
|
scope?: MapExportScope;
|
|
4985
4989
|
/** Explicit delivery contract; omitted only in older packages. */
|
|
4986
4990
|
mapNavigation?: MapNavigation;
|
|
4987
|
-
/** Enumerated
|
|
4991
|
+
/** Enumerated navigation targets, including regions never opened in the editor. */
|
|
4988
4992
|
regions?: Record<string, number[]>;
|
|
4989
4993
|
declaredSources?: string[];
|
|
4990
4994
|
/** Explicitly deployed shared files; these sources are not stored inside the ZIP. */
|
|
4991
4995
|
externalSources?: string[];
|
|
4992
4996
|
mapDataMode?: 'bundled' | 'external';
|
|
4993
|
-
/** Signed authorization restricted to the exported map
|
|
4997
|
+
/** Signed authorization restricted to the exported map navigation targets. */
|
|
4994
4998
|
mapSwitchKey?: string;
|
|
4995
4999
|
projectId?: string;
|
|
4996
5000
|
/** Runtime-only base for an unpacked deployment. ZIP imports contain data instead. */
|
|
@@ -5564,6 +5568,7 @@ export declare interface SceneTypeMap {
|
|
|
5564
5568
|
export declare interface SceneViewportDocument {
|
|
5565
5569
|
id: string;
|
|
5566
5570
|
name: string;
|
|
5571
|
+
/** @deprecated Ignored by the runtime and removed on platform import/export. */
|
|
5567
5572
|
interactions?: SceneInteraction[];
|
|
5568
5573
|
cs?: Record<string, number[]>;
|
|
5569
5574
|
csa?: string;
|
|
@@ -5951,7 +5956,7 @@ declare class UseMaterial extends PointerEvent_2 {
|
|
|
5951
5956
|
|
|
5952
5957
|
declare type ValuesOf<T extends readonly any[]> = T[number];
|
|
5953
5958
|
|
|
5954
|
-
export declare const VERSION = "0.33.
|
|
5959
|
+
export declare const VERSION = "0.33.20";
|
|
5955
5960
|
|
|
5956
5961
|
declare interface Viewport {
|
|
5957
5962
|
left: number;
|