@smarterplan/ngx-smarterplan-locations 0.2.37 → 0.2.39

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.
@@ -3,6 +3,7 @@ import { FormGroup } from '@angular/forms';
3
3
  import { ActivatedRoute, Router } from '@angular/router';
4
4
  import { TranslateService } from '@ngx-translate/core';
5
5
  import { MenuItem, SpaceService, BaseUserService, NavigatorService, Space } from '@smarterplan/ngx-smarterplan-core';
6
+ import { Subject } from 'rxjs';
6
7
  import * as i0 from "@angular/core";
7
8
  export declare class DetailLocationComponent implements OnInit {
8
9
  private route;
@@ -30,8 +31,11 @@ export declare class DetailLocationComponent implements OnInit {
30
31
  }[];
31
32
  guestLink: string;
32
33
  canArchive: boolean;
34
+ destroy$: Subject<unknown>;
33
35
  constructor(route: ActivatedRoute, spaceService: SpaceService, router: Router, userService: BaseUserService, translate: TranslateService, navigatorService: NavigatorService);
34
- ngOnInit(): Promise<void>;
36
+ ngOnInit(): void;
37
+ setup(): Promise<void>;
38
+ ngOnDestroy(): void;
35
39
  setupMenuItems(): void;
36
40
  onEdit(): void;
37
41
  onReturn(): void;
@@ -1,12 +1,15 @@
1
1
  import { OnInit } from '@angular/core';
2
- import { ActivatedRoute } from '@angular/router';
3
- import { Space, Visit, MenuItem, SpaceService, VisitService, NodeService } from '@smarterplan/ngx-smarterplan-core';
2
+ import { ActivatedRoute, Router } from '@angular/router';
3
+ import { Space, Visit, MenuItem, SpaceService, VisitService, NodeService, NavigatorService } from '@smarterplan/ngx-smarterplan-core';
4
+ import { Subject } from 'rxjs';
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class ImagesComponent implements OnInit {
6
7
  private route;
7
8
  private spaceService;
8
9
  private visitService;
9
10
  private nodeService;
11
+ private navigatorService;
12
+ private router;
10
13
  images: Array<any>;
11
14
  spaceID: string;
12
15
  currentSpace: Space;
@@ -15,8 +18,10 @@ export declare class ImagesComponent implements OnInit {
15
18
  loading: boolean;
16
19
  currentScanID: string;
17
20
  menuItems: MenuItem[];
18
- constructor(route: ActivatedRoute, spaceService: SpaceService, visitService: VisitService, nodeService: NodeService);
21
+ destroy$: Subject<unknown>;
22
+ constructor(route: ActivatedRoute, spaceService: SpaceService, visitService: VisitService, nodeService: NodeService, navigatorService: NavigatorService, router: Router);
19
23
  ngOnInit(): void;
24
+ ngOnDestroy(): void;
20
25
  setupMenuItems(): void;
21
26
  onGoBack(): void;
22
27
  loadImages(): Promise<void>;
@@ -45,6 +45,7 @@ export declare class LocationsComponent implements OnInit {
45
45
  applyResultsSearchBar(results: Space[]): void;
46
46
  getSearchType(): SearchObjectType;
47
47
  getStringNoSpace(data: any): string;
48
+ onDetailViewClick(spaceID: string): void;
48
49
  static ɵfac: i0.ɵɵFactoryDeclaration<LocationsComponent, never>;
49
50
  static ɵcmp: i0.ɵɵComponentDeclaration<LocationsComponent, "lib-locations", never, {}, {}, never, never>;
50
51
  }
@@ -2,7 +2,8 @@ import { OnInit } from '@angular/core';
2
2
  import { FormGroup, FormBuilder } from '@angular/forms';
3
3
  import { ActivatedRoute, Router } from '@angular/router';
4
4
  import { TranslateService } from '@ngx-translate/core';
5
- import { Zone, Space, Plan, MenuItem, SpaceService, PlanService } from '@smarterplan/ngx-smarterplan-core';
5
+ import { Zone, Space, Plan, MenuItem, SpaceService, PlanService, NavigatorService } from '@smarterplan/ngx-smarterplan-core';
6
+ import { Subject } from 'rxjs';
6
7
  import * as i0 from "@angular/core";
7
8
  export declare class PlansComponent implements OnInit {
8
9
  private route;
@@ -11,6 +12,7 @@ export declare class PlansComponent implements OnInit {
11
12
  private planService;
12
13
  private fb;
13
14
  private translate;
15
+ private navigatorService;
14
16
  spaceID: string;
15
17
  currentSpace: Space;
16
18
  plans: Plan[];
@@ -27,8 +29,10 @@ export declare class PlansComponent implements OnInit {
27
29
  chosenPlanIsPdf: boolean;
28
30
  zones: Zone[];
29
31
  menuItems: MenuItem[];
30
- constructor(route: ActivatedRoute, router: Router, spaceService: SpaceService, planService: PlanService, fb: FormBuilder, translate: TranslateService);
32
+ destroy$: Subject<unknown>;
33
+ constructor(route: ActivatedRoute, router: Router, spaceService: SpaceService, planService: PlanService, fb: FormBuilder, translate: TranslateService, navigatorService: NavigatorService);
31
34
  ngOnInit(): void;
35
+ ngOnDestroy(): void;
32
36
  setupMenuItems(): void;
33
37
  onGoBack(): void;
34
38
  onPlanClick(plan?: Plan): Promise<void>;
@@ -1,9 +1,10 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { FormGroup, FormBuilder, AbstractControl } from '@angular/forms';
3
- import { ActivatedRoute } from '@angular/router';
3
+ import { ActivatedRoute, Router } from '@angular/router';
4
4
  import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
5
- import { Visit, MenuItem, MatterportImportService, CaptureService, NodeService, SpaceService, VisitService, ValidatorsService } from '@smarterplan/ngx-smarterplan-core';
5
+ import { Visit, MenuItem, MatterportImportService, CaptureService, NodeService, SpaceService, VisitService, ValidatorsService, NavigatorService } from '@smarterplan/ngx-smarterplan-core';
6
6
  import { TranslateService } from '@ngx-translate/core';
7
+ import { Subject } from 'rxjs';
7
8
  import * as i0 from "@angular/core";
8
9
  export declare class VisitsComponent implements OnInit {
9
10
  private fb;
@@ -16,6 +17,8 @@ export declare class VisitsComponent implements OnInit {
16
17
  private visitService;
17
18
  validatorsService: ValidatorsService;
18
19
  private translate;
20
+ private navigatorService;
21
+ private router;
19
22
  spaceId: string;
20
23
  visitIndexDetails: number;
21
24
  visitForm: FormGroup;
@@ -33,8 +36,10 @@ export declare class VisitsComponent implements OnInit {
33
36
  menuItems: MenuItem[];
34
37
  errorForm: boolean;
35
38
  isProcessing: boolean;
36
- constructor(fb: FormBuilder, matterportImportService: MatterportImportService, captureService: CaptureService, nodeService: NodeService, spaceService: SpaceService, route: ActivatedRoute, modalService: NgbModal, visitService: VisitService, validatorsService: ValidatorsService, translate: TranslateService);
39
+ destroy$: Subject<unknown>;
40
+ constructor(fb: FormBuilder, matterportImportService: MatterportImportService, captureService: CaptureService, nodeService: NodeService, spaceService: SpaceService, route: ActivatedRoute, modalService: NgbModal, visitService: VisitService, validatorsService: ValidatorsService, translate: TranslateService, navigatorService: NavigatorService, router: Router);
37
41
  ngOnInit(): Promise<void>;
42
+ ngOnDestroy(): void;
38
43
  setupMenuItems(): void;
39
44
  onGoBack(): void;
40
45
  resetVisits(): Promise<void>;
@@ -1,7 +1,8 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
- import { ActivatedRoute } from '@angular/router';
2
+ import { ActivatedRoute, Router } from '@angular/router';
3
3
  import { TranslateService } from '@ngx-translate/core';
4
- import { MenuItem, ZoneService, SpaceService, VisitService, NavigationService, BaseUserService, PlanService, Navigation, Plan, Space, Zone } from '@smarterplan/ngx-smarterplan-core';
4
+ import { MenuItem, ZoneService, SpaceService, VisitService, NavigationService, BaseUserService, PlanService, Navigation, Plan, Space, Zone, NavigatorService } from '@smarterplan/ngx-smarterplan-core';
5
+ import { Subject } from 'rxjs';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class ZonesComponent implements OnInit {
7
8
  private route;
@@ -12,6 +13,8 @@ export declare class ZonesComponent implements OnInit {
12
13
  private userService;
13
14
  private planService;
14
15
  private translate;
16
+ private navigatorService;
17
+ private router;
15
18
  lotIndexDetails: number;
16
19
  currentSpace: Space;
17
20
  updatedZone: EventEmitter<boolean>;
@@ -38,8 +41,10 @@ export declare class ZonesComponent implements OnInit {
38
41
  defaultShowing: boolean;
39
42
  isAddingAudioTrack: boolean;
40
43
  parentZoneForAudio: Zone;
41
- constructor(route: ActivatedRoute, zoneService: ZoneService, spaceService: SpaceService, visitService: VisitService, navigationService: NavigationService, userService: BaseUserService, planService: PlanService, translate: TranslateService);
44
+ destroy$: Subject<unknown>;
45
+ constructor(route: ActivatedRoute, zoneService: ZoneService, spaceService: SpaceService, visitService: VisitService, navigationService: NavigationService, userService: BaseUserService, planService: PlanService, translate: TranslateService, navigatorService: NavigatorService, router: Router);
42
46
  ngOnInit(): Promise<void>;
47
+ ngOnDestroy(): void;
43
48
  setupMenuItems(): void;
44
49
  onGoBack(): void;
45
50
  ngOnChanges(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smarterplan/ngx-smarterplan-locations",
3
- "version": "0.2.37",
3
+ "version": "0.2.39",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^13.2.0",
6
6
  "@angular/core": "^13.2.0",
@@ -9,7 +9,7 @@
9
9
  "@ngx-translate/core": "^14.0.0",
10
10
  "leaflet": "^1.8.0",
11
11
  "ngx-clipboard": "^15.1.0",
12
- "@smarterplan/ngx-smarterplan-core": "^1.0.22",
12
+ "@smarterplan/ngx-smarterplan-core": "^1.0.42",
13
13
  "panzoom": "^9.4.2",
14
14
  "ng2-pdf-viewer": "^9.0.0"
15
15
  },