nhanh-pure-function 4.2.1 → 4.2.3

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.
@@ -6,6 +6,8 @@ type ConstructorOption = ConstructorParameters<typeof EventController>[0];
6
6
  export default class LayerGroup extends EventController {
7
7
  /** 图层群组 */
8
8
  layers: Map<string, Layer>;
9
+ private oldLlayersSize;
10
+ private get layersSizeChange();
9
11
  constructor(option: ConstructorOption);
10
12
  /** 地图的事件触发不需要传递 */
11
13
  defaultContextmenu: EventHandler<"contextmenu">;
@@ -27,6 +27,8 @@ export default class Layer extends EventController {
27
27
  /** 是否需要重新绘制 */
28
28
  private isReload;
29
29
  groups: Map<string, OverlayGroup>;
30
+ private oldGroupsSize;
31
+ private get groupsSizeChange();
30
32
  constructor(option: ConstructorOption);
31
33
  setMainCanvas(mainCanvas?: _Canvas_Axis): void;
32
34
  setNotifyReload(notifyReload?: () => void): void;
@@ -32,7 +32,7 @@ declare abstract class BillboardBase extends Overlay<BillboardStyleType, [
32
32
  sw?: number;
33
33
  sh?: number;
34
34
  };
35
- private loadImage;
35
+ constructor(option: ConstructorOption);
36
36
  protected updateBaseData(): void;
37
37
  }
38
38
  export default class Billboard extends BillboardBase {
@@ -13,6 +13,8 @@ export type OverlayType = Text | Point | Line | Arc | ArcTo | Polygon | Billboar
13
13
  export default class OverlayGroup extends EventController {
14
14
  /** 覆盖物集合 */
15
15
  overlays: Set<OverlayType>;
16
+ private oldOverlaysSize;
17
+ private get overlaysSizeChange();
16
18
  constructor(option: ConstructorOption);
17
19
  /** 设置主画布 */
18
20
  setMainCanvas(mainCanvas?: _Canvas_Axis): void;