@smarterplan/ngx-smarterplan-core 1.2.25 → 1.2.27

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
1
  import { NgZone } from '@angular/core';
2
- import { Router } from '@angular/router';
2
+ import { ActivatedRoute, Router } from '@angular/router';
3
3
  import { Subject } from 'rxjs';
4
4
  import { MattertagData } from '../mattertagData';
5
5
  import { DbObjectType, IObject3D, MattertagActionMode, POI, PoiType, SpModule } from '../types.service';
@@ -39,6 +39,7 @@ declare global {
39
39
  }
40
40
  export declare class MatterportService {
41
41
  private router;
42
+ private activeRoute;
42
43
  private visibilityService;
43
44
  private ngZone;
44
45
  private slots;
@@ -104,7 +105,7 @@ export declare class MatterportService {
104
105
  pointerLeftClickHandler: () => void;
105
106
  pointerRightClickHandler: (e: any) => void;
106
107
  pointerMiddleClickHandler: (e: any) => void;
107
- constructor(config: Config, router: Router, visibilityService: BaseVisibilityService, ngZone: NgZone);
108
+ constructor(config: Config, router: Router, activeRoute: ActivatedRoute, visibilityService: BaseVisibilityService, ngZone: NgZone);
108
109
  /**
109
110
  * Initializes Matterport and all listeners/data
110
111
  * @param tagService BaseTagService (to inject html)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smarterplan/ngx-smarterplan-core",
3
- "version": "1.2.25",
3
+ "version": "1.2.27",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^13.2.0",
6
6
  "@angular/core": "^13.2.0",