vis-core 0.30.0-beta.33 → 0.30.0-beta.35
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/index.d.ts +6 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +35 -35
- package/dist/index.module.js +2277 -2026
- package/dist/version.d.ts +1 -1
- package/dist/vis/index.d.ts +1 -0
- package/dist/vis/map/MapManager.d.ts +142 -0
- package/package.json +2 -2
package/dist/editor/index.d.ts
CHANGED
|
@@ -76,6 +76,12 @@ export default class Editor {
|
|
|
76
76
|
}[];
|
|
77
77
|
changeMListOptions(): never[] | undefined;
|
|
78
78
|
execute(cmd: any, optionalName?: string): Promise<void>;
|
|
79
|
+
private static urlCache;
|
|
80
|
+
/**
|
|
81
|
+
* 清除特定 URL 的缓存
|
|
82
|
+
* @param url 要清除的 URL,如果不提供则清除所有缓存
|
|
83
|
+
*/
|
|
84
|
+
static clearUrlCache(url?: string): void;
|
|
79
85
|
fromJSON(jsonOrUrl: Record<string, any> | string, hooks?: Record<string, any>): Promise<Record<string, any>>;
|
|
80
86
|
appendJSON(jsonOrUrl: Record<string, any> | string): Promise<void>;
|
|
81
87
|
toJSON(): {};
|
package/dist/index.d.ts
CHANGED