@realsee/dnalogel 3.3.3 → 3.3.4

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.
@@ -63,7 +63,7 @@ export declare class Controller extends BasePlugin.Controller<State, EventMap, P
63
63
  setState(state: PartialDeep<State>, options?: BaseOptions): void;
64
64
  changeConfigs(config: Partial<Config>, userAction?: boolean): void;
65
65
  /** 更新户型图大小 */
66
- updateSize: () => void;
66
+ updateSize: () => boolean;
67
67
  /** 更新户型图位置 */
68
68
  updatePosition(): void;
69
69
  highlight: (highlightData: HighlightData) => void;
@@ -63,7 +63,7 @@ export declare class Controller extends BasePlugin.Controller<State, EventMap, P
63
63
  setState(state: PartialDeep<State>, options?: BaseOptions): void;
64
64
  changeConfigs(config: Partial<Config>, userAction?: boolean): void;
65
65
  /** 更新户型图大小 */
66
- updateSize: () => void;
66
+ updateSize: () => boolean;
67
67
  highlight: (highlightData: HighlightData) => void;
68
68
  unhighlight: () => void;
69
69
  protected formatData(serverData: PluginServerData): Promise<PluginData>;
@@ -30,7 +30,7 @@ export declare class Controller extends BasePlugin.Controller<State, EventMap, P
30
30
  constructor(five: Five, params?: Parameters);
31
31
  load(serverData: PluginServerData | FloorplanServerData, state?: Partial<State>, userAction?: boolean): Promise<void>;
32
32
  /** 更新户型图大小 */
33
- updateSize: () => void;
33
+ updateSize: () => boolean;
34
34
  /** 更新户型图位置 */
35
35
  updatePosition(): void;
36
36
  /** 把插件的渲染DOM插入到对应的容器中去 */
@@ -3,6 +3,8 @@ export declare const enum FloorplanErrorType {
3
3
  UnknownError = "UnknownError",
4
4
  /** 数据未加载 */
5
5
  DataNotLoaded = "DataNotLoaded",
6
+ /** 更新户型图大小失败 */
7
+ UpdateSizeError = "UpdateSizeError",
6
8
  /** 展示过程被隐藏打断 */
7
9
  BreakOffByHide = "BreakOffByHide",
8
10
  /** 展示过程中插件被禁用 */