@smarterplan/ngx-smarterplan-core 1.4.18 → 1.4.19

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.
@@ -20,6 +20,8 @@ export declare class MatterportNavigationService {
20
20
  currentRooms: any[];
21
21
  /** Sequence number of the floor currently visible in sdk.Floor.current (null = single-floor or unknown). */
22
22
  currentFloorSequence: number | null;
23
+ /** True while a floorplan transition was explicitly requested through action_toolbox_floorplan. */
24
+ private floorplanRequested;
23
25
  private sidToUuid;
24
26
  private uuidToSid;
25
27
  constructor();
@@ -41,6 +43,13 @@ export declare class MatterportNavigationService {
41
43
  */
42
44
  resolveSweepUuid(sidOrUuid: string): string;
43
45
  action_toolbox_floorplan(sdk: any): Promise<void>;
46
+ /**
47
+ * When a dollhouse camera looks straight down, Matterport reports 'mode.floorplan'
48
+ * (its "peekaboo" corrected mode) although the camera is still in dollhouse.
49
+ * The native mode buttons are hidden, so such a switch that we did not request
50
+ * is never a user action and must not be treated as a real mode change.
51
+ */
52
+ isUnrequestedFloorplanSwitch(previousMode: string, newMode: string): boolean;
44
53
  action_toolbox_inside_view(sdk: any): void;
45
54
  actionShowAllFloors(sdk: any): void;
46
55
  action_toolbox_dollhouse(sdk: any): Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smarterplan/ngx-smarterplan-core",
3
- "version": "1.4.18",
3
+ "version": "1.4.19",
4
4
  "dependencies": {
5
5
  "tslib": "^2.5.0"
6
6
  },