@aibee/crc-bmap 0.0.53 → 0.0.55

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,7 @@ export interface Config {
6
6
  floorGraphic: string;
7
7
  floorRange: string;
8
8
  };
9
+ mutationObserver: boolean;
9
10
  heatMap: Partial<HeatmapConfiguration>;
10
11
  useFloorCache: boolean;
11
12
  control: {
@@ -37,6 +37,10 @@ export interface ContextEventMap {
37
37
  graphics: Graphic[];
38
38
  };
39
39
  "control-change": {};
40
+ "resize": {
41
+ width: number;
42
+ height: number;
43
+ };
40
44
  }
41
45
  export declare class Context extends EventDispatcher<ContextEventMap> {
42
46
  container: HTMLElement;
@@ -53,6 +57,7 @@ export declare class Context extends EventDispatcher<ContextEventMap> {
53
57
  hoverHelper: HoverHelper;
54
58
  private basicRatio?;
55
59
  materialFactory: MaterialFactory;
60
+ private observe;
56
61
  clientSize: {
57
62
  width: number;
58
63
  height: number;
@@ -6,6 +6,9 @@ export declare class BaseSvg<T extends {} = {}> extends EventDispatcher<T> {
6
6
  protected svg: SVGElement;
7
7
  protected enable: boolean;
8
8
  constructor(context: Context);
9
+ private _onResize;
10
+ private _registryEvent;
11
+ private _unRegistryEvent;
9
12
  setEnable(enable: boolean): void;
10
13
  getIntersectByPointerEvent(e: PointerEvent): Vector3;
11
14
  getSvgCoordinate(vector: Vector3): {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aibee/crc-bmap",
3
- "version": "0.0.53",
3
+ "version": "0.0.55",
4
4
  "description": "",
5
5
  "main": "lib/bmap.min.js",
6
6
  "module": "lib/bmap.esm.min.js",