vis-core 0.28.40 → 0.29.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.
@@ -1,5 +1,5 @@
1
- import { Command } from './Command';
2
1
  import Editor from "..";
2
+ import { Command } from './Command';
3
3
  declare class AddObject extends Command {
4
4
  objectType: string;
5
5
  objectOptions: Record<string, any>;
@@ -5,7 +5,7 @@ declare class CopyObject extends Command {
5
5
  object: BaseObject;
6
6
  copyObject: BaseObject | null;
7
7
  copyObjectUuid: string | undefined;
8
- mListUuid: string[];
8
+ cloneMaterial: boolean;
9
9
  constructor(editor: Editor, object: BaseObject);
10
10
  execute(): Promise<void>;
11
11
  undo(): Promise<void>;
@@ -7,6 +7,7 @@ declare class Config {
7
7
  open: boolean;
8
8
  jsonVersion: string;
9
9
  sdkVersion: string;
10
+ __template: string;
10
11
  };
11
12
  constructor(editor: Editor);
12
13
  setConfig<K extends keyof Config['meta']>(key: K, value: Config['meta'][K]): void;
@@ -24,7 +24,7 @@ declare class History {
24
24
  private processCommandWithImages;
25
25
  toJSON(): {
26
26
  u: any[];
27
- i: string[];
27
+ i: Record<string, string>;
28
28
  };
29
29
  /**
30
30
  * 处理图片引用,将引用字符串还原为实际URL或数据
@@ -5,7 +5,7 @@
5
5
  * @param prevConfig 之前的配置
6
6
  * @param imgArr 图像数组
7
7
  */
8
- export declare const getMapConfig: (adcode: number, base?: string, prevConfig?: any, imgArr?: string[]) => Promise<any>;
8
+ export declare const getMapConfig: (adcode: number, base?: string, prevConfig?: any, imgArr?: string[] | Record<string, string>) => Promise<any>;
9
9
  /**
10
10
  * 获取城市配置
11
11
  * @param adcode 区域代码
package/dist/index.d.ts CHANGED
@@ -8,4 +8,4 @@ export * as animationUtils from './utils/animation';
8
8
  export declare const access: {
9
9
  token: string;
10
10
  };
11
- export declare const VERSION = "0.28.40";
11
+ export declare const VERSION = "0.29.1";