@smarterplan/ngx-smarterplan-locations 0.2.20 → 0.2.21

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.
Files changed (59) hide show
  1. package/esm2020/lib/components/carousel/carousel.component.mjs +27 -27
  2. package/esm2020/lib/components/chevron/chevron.component.mjs +17 -17
  3. package/esm2020/lib/components/detail-location/detail-location.component.mjs +154 -154
  4. package/esm2020/lib/components/form-location/form-location.component.mjs +237 -237
  5. package/esm2020/lib/components/images/images.component.mjs +90 -90
  6. package/esm2020/lib/components/locations/locations.component.mjs +141 -141
  7. package/esm2020/lib/components/locations/map/map-popup/map-popup.component.mjs +65 -65
  8. package/esm2020/lib/components/locations/map/map.component.mjs +90 -90
  9. package/esm2020/lib/components/plans/calibration/calibration.component.mjs +468 -468
  10. package/esm2020/lib/components/plans/edit-plan/edit-plan.component.mjs +324 -324
  11. package/esm2020/lib/components/plans/plans.component.mjs +210 -210
  12. package/esm2020/lib/components/tab-navigation/tab-navigation.component.mjs +41 -41
  13. package/esm2020/lib/components/visits/visits.component.mjs +235 -235
  14. package/esm2020/lib/components/zones/add-audio-zone/add-audio-zone.component.mjs +230 -230
  15. package/esm2020/lib/components/zones/add-zone/add-zone.component.mjs +294 -294
  16. package/esm2020/lib/components/zones/add-zone/selection/selection.component.mjs +76 -76
  17. package/esm2020/lib/components/zones/add-zone/sweep-plan-selection/sweep-plan-selection.component.mjs +413 -414
  18. package/esm2020/lib/components/zones/zones.component.mjs +232 -232
  19. package/esm2020/lib/helper.service.mjs +134 -134
  20. package/esm2020/lib/ngx-smarterplan-location-routing.module.mjs +49 -49
  21. package/esm2020/lib/ngx-smarterplan-locations.module.mjs +122 -122
  22. package/esm2020/lib/ngx-smarterplan-locations.service.mjs +13 -13
  23. package/esm2020/lib/pipes/count-audio-sweeps.pipe.mjs +27 -0
  24. package/esm2020/lib/radio-button/radio-button.component.mjs +26 -26
  25. package/esm2020/public-api.mjs +8 -8
  26. package/esm2020/smarterplan-ngx-smarterplan-locations.mjs +4 -4
  27. package/fesm2015/smarterplan-ngx-smarterplan-locations.mjs +3627 -3648
  28. package/fesm2015/smarterplan-ngx-smarterplan-locations.mjs.map +1 -1
  29. package/fesm2020/smarterplan-ngx-smarterplan-locations.mjs +3475 -3494
  30. package/fesm2020/smarterplan-ngx-smarterplan-locations.mjs.map +1 -1
  31. package/lib/components/carousel/carousel.component.d.ts +12 -12
  32. package/lib/components/chevron/chevron.component.d.ts +9 -9
  33. package/lib/components/detail-location/detail-location.component.d.ts +51 -51
  34. package/lib/components/form-location/form-location.component.d.ts +45 -45
  35. package/lib/components/images/images.component.d.ts +28 -28
  36. package/lib/components/locations/locations.component.d.ts +50 -50
  37. package/lib/components/locations/map/map-popup/map-popup.component.d.ts +22 -22
  38. package/lib/components/locations/map/map.component.d.ts +22 -22
  39. package/lib/components/plans/calibration/calibration.component.d.ts +140 -140
  40. package/lib/components/plans/edit-plan/edit-plan.component.d.ts +55 -55
  41. package/lib/components/plans/plans.component.d.ts +59 -59
  42. package/lib/components/tab-navigation/tab-navigation.component.d.ts +13 -13
  43. package/lib/components/visits/visits.component.d.ts +51 -51
  44. package/lib/components/zones/add-audio-zone/add-audio-zone.component.d.ts +63 -63
  45. package/lib/components/zones/add-zone/add-zone.component.d.ts +67 -67
  46. package/lib/components/zones/add-zone/selection/selection.component.d.ts +44 -44
  47. package/lib/components/zones/add-zone/sweep-plan-selection/sweep-plan-selection.component.d.ts +96 -96
  48. package/lib/components/zones/zones.component.d.ts +67 -67
  49. package/lib/helper.service.d.ts +53 -53
  50. package/lib/ngx-smarterplan-location-routing.module.d.ts +7 -7
  51. package/lib/ngx-smarterplan-locations.module.d.ts +35 -35
  52. package/lib/ngx-smarterplan-locations.service.d.ts +6 -6
  53. package/lib/pipes/count-audio-sweeps.pipe.d.ts +10 -0
  54. package/lib/radio-button/radio-button.component.d.ts +12 -12
  55. package/package.json +2 -2
  56. package/public-api.d.ts +4 -4
  57. package/smarterplan-ngx-smarterplan-locations.d.ts +5 -5
  58. package/esm2020/lib/components/plan-legend/plan-legend.component.mjs +0 -47
  59. package/lib/components/plan-legend/plan-legend.component.d.ts +0 -14
@@ -1,12 +1,12 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class CarouselComponent implements OnInit {
4
- images: any;
5
- currentScan: EventEmitter<number>;
6
- dataEvent: string;
7
- constructor();
8
- ngOnInit(): void;
9
- onSlide(event: any): void;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<CarouselComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<CarouselComponent, "lib-carousel", never, { "images": "images"; }, { "currentScan": "currentScan"; }, never, never>;
12
- }
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class CarouselComponent implements OnInit {
4
+ images: any;
5
+ currentScan: EventEmitter<number>;
6
+ dataEvent: string;
7
+ constructor();
8
+ ngOnInit(): void;
9
+ onSlide(event: any): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<CarouselComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<CarouselComponent, "lib-carousel", never, { "images": "images"; }, { "currentScan": "currentScan"; }, never, never>;
12
+ }
@@ -1,9 +1,9 @@
1
- import { OnInit } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class ChevronComponent implements OnInit {
4
- conditionShowing: boolean;
5
- constructor();
6
- ngOnInit(): void;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<ChevronComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<ChevronComponent, "lib-chevron", never, { "conditionShowing": "conditionShowing"; }, {}, never, never>;
9
- }
1
+ import { OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ChevronComponent implements OnInit {
4
+ conditionShowing: boolean;
5
+ constructor();
6
+ ngOnInit(): void;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<ChevronComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<ChevronComponent, "lib-chevron", never, { "conditionShowing": "conditionShowing"; }, {}, never, never>;
9
+ }
@@ -1,51 +1,51 @@
1
- import { OnInit } from '@angular/core';
2
- import { FormGroup } from '@angular/forms';
3
- import { ActivatedRoute, Router } from '@angular/router';
4
- import { TranslateService } from '@ngx-translate/core';
5
- import { MenuItem, SpaceService, BaseUserService, NavigatorService, Space } from '@smarterplan/ngx-smarterplan-core';
6
- import * as i0 from "@angular/core";
7
- export declare class DetailLocationComponent implements OnInit {
8
- private route;
9
- private spaceService;
10
- private router;
11
- private userService;
12
- private translate;
13
- private navigatorService;
14
- space: Space;
15
- editForm: FormGroup;
16
- isEditing: boolean;
17
- imageToUpload: File;
18
- id: string;
19
- menuItems: MenuItem[];
20
- isValidatingDpe: boolean;
21
- selectedDpeResult: any;
22
- gettingData: boolean;
23
- parsedMetadata: {
24
- geo_adresse: string;
25
- secteur_activite: string;
26
- annee_construction: string;
27
- classe_consommation_energie: string;
28
- classe_estimation_ges: string;
29
- selected: boolean;
30
- }[];
31
- guestLink: string;
32
- canArchive: boolean;
33
- constructor(route: ActivatedRoute, spaceService: SpaceService, router: Router, userService: BaseUserService, translate: TranslateService, navigatorService: NavigatorService);
34
- ngOnInit(): Promise<void>;
35
- setupMenuItems(): void;
36
- onEdit(): void;
37
- onReturn(): void;
38
- reset(): void;
39
- onArchive(): Promise<void>;
40
- onFormChange(event: Space): void;
41
- onDpeValidate(): void;
42
- onSelectChange(selectedResult: any): void;
43
- onSaveResult(): Promise<void>;
44
- onCancel(): void;
45
- onErase(): Promise<void>;
46
- onGetDpeData(): Promise<void>;
47
- setGuestLink(): void;
48
- setCanArchive(): Promise<void>;
49
- static ɵfac: i0.ɵɵFactoryDeclaration<DetailLocationComponent, never>;
50
- static ɵcmp: i0.ɵɵComponentDeclaration<DetailLocationComponent, "lib-detail-location", never, {}, {}, never, never>;
51
- }
1
+ import { OnInit } from '@angular/core';
2
+ import { FormGroup } from '@angular/forms';
3
+ import { ActivatedRoute, Router } from '@angular/router';
4
+ import { TranslateService } from '@ngx-translate/core';
5
+ import { MenuItem, SpaceService, BaseUserService, NavigatorService, Space } from '@smarterplan/ngx-smarterplan-core';
6
+ import * as i0 from "@angular/core";
7
+ export declare class DetailLocationComponent implements OnInit {
8
+ private route;
9
+ private spaceService;
10
+ private router;
11
+ private userService;
12
+ private translate;
13
+ private navigatorService;
14
+ space: Space;
15
+ editForm: FormGroup;
16
+ isEditing: boolean;
17
+ imageToUpload: File;
18
+ id: string;
19
+ menuItems: MenuItem[];
20
+ isValidatingDpe: boolean;
21
+ selectedDpeResult: any;
22
+ gettingData: boolean;
23
+ parsedMetadata: {
24
+ geo_adresse: string;
25
+ secteur_activite: string;
26
+ annee_construction: string;
27
+ classe_consommation_energie: string;
28
+ classe_estimation_ges: string;
29
+ selected: boolean;
30
+ }[];
31
+ guestLink: string;
32
+ canArchive: boolean;
33
+ constructor(route: ActivatedRoute, spaceService: SpaceService, router: Router, userService: BaseUserService, translate: TranslateService, navigatorService: NavigatorService);
34
+ ngOnInit(): Promise<void>;
35
+ setupMenuItems(): void;
36
+ onEdit(): void;
37
+ onReturn(): void;
38
+ reset(): void;
39
+ onArchive(): Promise<void>;
40
+ onFormChange(event: Space): void;
41
+ onDpeValidate(): void;
42
+ onSelectChange(selectedResult: any): void;
43
+ onSaveResult(): Promise<void>;
44
+ onCancel(): void;
45
+ onErase(): Promise<void>;
46
+ onGetDpeData(): Promise<void>;
47
+ setGuestLink(): void;
48
+ setCanArchive(): Promise<void>;
49
+ static ɵfac: i0.ɵɵFactoryDeclaration<DetailLocationComponent, never>;
50
+ static ɵcmp: i0.ɵɵComponentDeclaration<DetailLocationComponent, "lib-detail-location", never, {}, {}, never, never>;
51
+ }
@@ -1,45 +1,45 @@
1
- import { ElementRef, EventEmitter, OnInit } from '@angular/core';
2
- import { FormGroup, FormBuilder, AbstractControl } from '@angular/forms';
3
- import { Space, LevelStatus, SpaceService, PropertyService, BaseUserService, MissionService, Layer, LayerService } from '@smarterplan/ngx-smarterplan-core';
4
- import { ValidatorsService } from "@smarterplan/ngx-smarterplan-core";
5
- import * as i0 from "@angular/core";
6
- export declare class FormLocationComponent implements OnInit {
7
- private spaceService;
8
- private propertyService;
9
- private userService;
10
- private fb;
11
- private missionService;
12
- private layerService;
13
- validatorsService: ValidatorsService;
14
- form: FormGroup;
15
- imageInputContainer: ElementRef;
16
- imageInput: ElementRef;
17
- imageBasePreview: ElementRef;
18
- location: Space;
19
- imageToUpload: any;
20
- isSubmitted: boolean;
21
- levels: Array<LevelStatus>;
22
- addMissionForNewSpace: boolean;
23
- imageInputText: string;
24
- currentImage: string;
25
- imageToBeDeleted: boolean;
26
- errorForm: boolean;
27
- onChange: EventEmitter<Space>;
28
- constructor(spaceService: SpaceService, propertyService: PropertyService, userService: BaseUserService, fb: FormBuilder, missionService: MissionService, layerService: LayerService, validatorsService: ValidatorsService);
29
- ngOnInit(): void;
30
- initForm(): void;
31
- initEditForm(): void;
32
- handleImageInput(target: EventTarget): void;
33
- uploadImage(spaceID: string): Promise<void>;
34
- clearImageFile(): void;
35
- getLayerByName(name: string): Promise<Layer>;
36
- onSubmit(): Promise<void>;
37
- onCancel(): void;
38
- get name(): AbstractControl;
39
- changeCommaToDot(): void;
40
- handleInputImageText(): void;
41
- isFormError(control: any): boolean;
42
- onFormChange(): void;
43
- static ɵfac: i0.ɵɵFactoryDeclaration<FormLocationComponent, never>;
44
- static ɵcmp: i0.ɵɵComponentDeclaration<FormLocationComponent, "lib-form-location", never, { "location": "location"; }, { "onChange": "onChange"; }, never, never>;
45
- }
1
+ import { ElementRef, EventEmitter, OnInit } from '@angular/core';
2
+ import { FormGroup, FormBuilder, AbstractControl } from '@angular/forms';
3
+ import { Space, LevelStatus, SpaceService, PropertyService, BaseUserService, MissionService, Layer, LayerService } from '@smarterplan/ngx-smarterplan-core';
4
+ import { ValidatorsService } from "@smarterplan/ngx-smarterplan-core";
5
+ import * as i0 from "@angular/core";
6
+ export declare class FormLocationComponent implements OnInit {
7
+ private spaceService;
8
+ private propertyService;
9
+ private userService;
10
+ private fb;
11
+ private missionService;
12
+ private layerService;
13
+ validatorsService: ValidatorsService;
14
+ form: FormGroup;
15
+ imageInputContainer: ElementRef;
16
+ imageInput: ElementRef;
17
+ imageBasePreview: ElementRef;
18
+ location: Space;
19
+ imageToUpload: any;
20
+ isSubmitted: boolean;
21
+ levels: Array<LevelStatus>;
22
+ addMissionForNewSpace: boolean;
23
+ imageInputText: string;
24
+ currentImage: string;
25
+ imageToBeDeleted: boolean;
26
+ errorForm: boolean;
27
+ onChange: EventEmitter<Space>;
28
+ constructor(spaceService: SpaceService, propertyService: PropertyService, userService: BaseUserService, fb: FormBuilder, missionService: MissionService, layerService: LayerService, validatorsService: ValidatorsService);
29
+ ngOnInit(): void;
30
+ initForm(): void;
31
+ initEditForm(): void;
32
+ handleImageInput(target: EventTarget): void;
33
+ uploadImage(spaceID: string): Promise<void>;
34
+ clearImageFile(): void;
35
+ getLayerByName(name: string): Promise<Layer>;
36
+ onSubmit(): Promise<void>;
37
+ onCancel(): void;
38
+ get name(): AbstractControl;
39
+ changeCommaToDot(): void;
40
+ handleInputImageText(): void;
41
+ isFormError(control: any): boolean;
42
+ onFormChange(): void;
43
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormLocationComponent, never>;
44
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormLocationComponent, "lib-form-location", never, { "location": "location"; }, { "onChange": "onChange"; }, never, never>;
45
+ }
@@ -1,28 +1,28 @@
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';
4
- import * as i0 from "@angular/core";
5
- export declare class ImagesComponent implements OnInit {
6
- private route;
7
- private spaceService;
8
- private visitService;
9
- private nodeService;
10
- images: Array<any>;
11
- spaceID: string;
12
- currentSpace: Space;
13
- currentVisit: Visit;
14
- currentImages: Array<any>;
15
- loading: boolean;
16
- currentScanID: string;
17
- menuItems: MenuItem[];
18
- constructor(route: ActivatedRoute, spaceService: SpaceService, visitService: VisitService, nodeService: NodeService);
19
- ngOnInit(): void;
20
- setupMenuItems(): void;
21
- onGoBack(): void;
22
- loadImages(): Promise<void>;
23
- setVisit(visit: any): void;
24
- setCurrentScan(id: any): void;
25
- onInventoryClick(): Promise<void>;
26
- static ɵfac: i0.ɵɵFactoryDeclaration<ImagesComponent, never>;
27
- static ɵcmp: i0.ɵɵComponentDeclaration<ImagesComponent, "lib-images", never, {}, {}, never, never>;
28
- }
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';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ImagesComponent implements OnInit {
6
+ private route;
7
+ private spaceService;
8
+ private visitService;
9
+ private nodeService;
10
+ images: Array<any>;
11
+ spaceID: string;
12
+ currentSpace: Space;
13
+ currentVisit: Visit;
14
+ currentImages: Array<any>;
15
+ loading: boolean;
16
+ currentScanID: string;
17
+ menuItems: MenuItem[];
18
+ constructor(route: ActivatedRoute, spaceService: SpaceService, visitService: VisitService, nodeService: NodeService);
19
+ ngOnInit(): void;
20
+ setupMenuItems(): void;
21
+ onGoBack(): void;
22
+ loadImages(): Promise<void>;
23
+ setVisit(visit: any): void;
24
+ setCurrentScan(id: any): void;
25
+ onInventoryClick(): Promise<void>;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<ImagesComponent, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<ImagesComponent, "lib-images", never, {}, {}, never, never>;
28
+ }
@@ -1,50 +1,50 @@
1
- import { OnInit } from '@angular/core';
2
- import { FormGroup } from '@angular/forms';
3
- import { Router } from '@angular/router';
4
- import { LevelStatus, Space, SpaceService, BaseUserService, ViewerService, NavigationService, NavigatorService, Visit, MenuItem, SearchObjectType } from '@smarterplan/ngx-smarterplan-core';
5
- import { Subscription } from 'rxjs';
6
- import * as i0 from "@angular/core";
7
- export declare class LocationsComponent implements OnInit {
8
- private spaceService;
9
- private router;
10
- private userService;
11
- private viewerService;
12
- private navigationService;
13
- private navigatorService;
14
- createForm: FormGroup;
15
- levels: Array<LevelStatus>;
16
- imageToUpload: File;
17
- isAdding: boolean;
18
- filteredLocations: Space[];
19
- isManager: boolean;
20
- isMuseumUser: boolean;
21
- locations: Space[];
22
- menuItems: MenuItem[];
23
- userSubcription: Subscription;
24
- locationIDSubscription: Subscription;
25
- /** Last filtered Locations, used when we go back on all locations from the search bar location */
26
- lastFiltredLocations: Space[];
27
- constructor(spaceService: SpaceService, router: Router, userService: BaseUserService, viewerService: ViewerService, navigationService: NavigationService, navigatorService: NavigatorService);
28
- ngOnInit(): Promise<void>;
29
- findSpaceById(id: string): Space;
30
- /**
31
- * Update when we change the selected location in filter (search bar)
32
- * @param id for a location, if null display all last filtred location
33
- */
34
- changeSelectedLocation(id?: string): void;
35
- refresh(): void;
36
- ngOnDestroy(): void;
37
- setupMenuItems(): void;
38
- updateUserRights(): void;
39
- isManagerForSpace(spaceID: string): boolean;
40
- resetList(): Promise<void>;
41
- onAddLocation(): void;
42
- handleImageInput(files: FileList): void;
43
- onFormChange(event: any): void;
44
- onVisitClick(loc: Space, visit: Visit): Promise<void>;
45
- applyResultsSearchBar(results: Space[]): void;
46
- getSearchType(): SearchObjectType;
47
- getStringNoSpace(data: any): string;
48
- static ɵfac: i0.ɵɵFactoryDeclaration<LocationsComponent, never>;
49
- static ɵcmp: i0.ɵɵComponentDeclaration<LocationsComponent, "lib-locations", never, {}, {}, never, never>;
50
- }
1
+ import { OnInit } from '@angular/core';
2
+ import { FormGroup } from '@angular/forms';
3
+ import { Router } from '@angular/router';
4
+ import { LevelStatus, Space, SpaceService, BaseUserService, ViewerService, NavigationService, NavigatorService, Visit, MenuItem, SearchObjectType } from '@smarterplan/ngx-smarterplan-core';
5
+ import { Subscription } from 'rxjs';
6
+ import * as i0 from "@angular/core";
7
+ export declare class LocationsComponent implements OnInit {
8
+ private spaceService;
9
+ private router;
10
+ private userService;
11
+ private viewerService;
12
+ private navigationService;
13
+ private navigatorService;
14
+ createForm: FormGroup;
15
+ levels: Array<LevelStatus>;
16
+ imageToUpload: File;
17
+ isAdding: boolean;
18
+ filteredLocations: Space[];
19
+ isManager: boolean;
20
+ isMuseumUser: boolean;
21
+ locations: Space[];
22
+ menuItems: MenuItem[];
23
+ userSubcription: Subscription;
24
+ locationIDSubscription: Subscription;
25
+ /** Last filtered Locations, used when we go back on all locations from the search bar location */
26
+ lastFiltredLocations: Space[];
27
+ constructor(spaceService: SpaceService, router: Router, userService: BaseUserService, viewerService: ViewerService, navigationService: NavigationService, navigatorService: NavigatorService);
28
+ ngOnInit(): Promise<void>;
29
+ findSpaceById(id: string): Space;
30
+ /**
31
+ * Update when we change the selected location in filter (search bar)
32
+ * @param id for a location, if null display all last filtred location
33
+ */
34
+ changeSelectedLocation(id?: string): void;
35
+ refresh(): void;
36
+ ngOnDestroy(): void;
37
+ setupMenuItems(): void;
38
+ updateUserRights(): void;
39
+ isManagerForSpace(spaceID: string): boolean;
40
+ resetList(): Promise<void>;
41
+ onAddLocation(): void;
42
+ handleImageInput(files: FileList): void;
43
+ onFormChange(event: any): void;
44
+ onVisitClick(loc: Space, visit: Visit): Promise<void>;
45
+ applyResultsSearchBar(results: Space[]): void;
46
+ getSearchType(): SearchObjectType;
47
+ getStringNoSpace(data: any): string;
48
+ static ɵfac: i0.ɵɵFactoryDeclaration<LocationsComponent, never>;
49
+ static ɵcmp: i0.ɵɵComponentDeclaration<LocationsComponent, "lib-locations", never, {}, {}, never, never>;
50
+ }
@@ -1,22 +1,22 @@
1
- import { NgZone, OnInit } from '@angular/core';
2
- import { Router } from '@angular/router';
3
- import { Marker } from 'leaflet';
4
- import { Space, Visit } from '@smarterplan/ngx-smarterplan-core';
5
- import * as i0 from "@angular/core";
6
- export declare class MapPopupComponent implements OnInit {
7
- private router;
8
- private ngZone;
9
- space: Space;
10
- marker: Marker;
11
- popuparea: HTMLElement;
12
- isOnPopup: boolean;
13
- isMuseumUser: boolean;
14
- constructor(router: Router, ngZone: NgZone);
15
- ngOnInit(): void;
16
- openPopup(): void;
17
- closePopup(): void;
18
- onClickVisitFirst(): void;
19
- onVisitClick(visit: Visit): Promise<void>;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<MapPopupComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<MapPopupComponent, "lib-map-popup", never, {}, {}, never, never>;
22
- }
1
+ import { NgZone, OnInit } from '@angular/core';
2
+ import { Router } from '@angular/router';
3
+ import { Marker } from 'leaflet';
4
+ import { Space, Visit } from '@smarterplan/ngx-smarterplan-core';
5
+ import * as i0 from "@angular/core";
6
+ export declare class MapPopupComponent implements OnInit {
7
+ private router;
8
+ private ngZone;
9
+ space: Space;
10
+ marker: Marker;
11
+ popuparea: HTMLElement;
12
+ isOnPopup: boolean;
13
+ isMuseumUser: boolean;
14
+ constructor(router: Router, ngZone: NgZone);
15
+ ngOnInit(): void;
16
+ openPopup(): void;
17
+ closePopup(): void;
18
+ onClickVisitFirst(): void;
19
+ onVisitClick(visit: Visit): Promise<void>;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<MapPopupComponent, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<MapPopupComponent, "lib-map-popup", never, {}, {}, never, never>;
22
+ }
@@ -1,22 +1,22 @@
1
- import { ComponentFactoryResolver, Injector, OnChanges, SimpleChanges } from '@angular/core';
2
- import { Space } from '@smarterplan/ngx-smarterplan-core';
3
- import { Map, Marker } from "leaflet";
4
- import * as i0 from "@angular/core";
5
- export declare class MapComponent implements OnChanges {
6
- private componentFactoryResolver;
7
- private injector;
8
- constructor(componentFactoryResolver: ComponentFactoryResolver, injector: Injector);
9
- spaces: Space[];
10
- options: {
11
- layers: import("leaflet").TileLayer[];
12
- zoom: number;
13
- center: import("leaflet").LatLng;
14
- };
15
- layers: any[];
16
- map: any;
17
- ngOnChanges(changes: SimpleChanges): void;
18
- onMapReady(map: Map): void;
19
- createPopupComponent(space: Space, marker: Marker): any;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<MapComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<MapComponent, "lib-map", never, { "spaces": "spaces"; }, {}, never, never>;
22
- }
1
+ import { ComponentFactoryResolver, Injector, OnChanges, SimpleChanges } from '@angular/core';
2
+ import { Space } from '@smarterplan/ngx-smarterplan-core';
3
+ import { Map, Marker } from "leaflet";
4
+ import * as i0 from "@angular/core";
5
+ export declare class MapComponent implements OnChanges {
6
+ private componentFactoryResolver;
7
+ private injector;
8
+ constructor(componentFactoryResolver: ComponentFactoryResolver, injector: Injector);
9
+ spaces: Space[];
10
+ options: {
11
+ layers: import("leaflet").TileLayer[];
12
+ zoom: number;
13
+ center: import("leaflet").LatLng;
14
+ };
15
+ layers: any[];
16
+ map: any;
17
+ ngOnChanges(changes: SimpleChanges): void;
18
+ onMapReady(map: Map): void;
19
+ createPopupComponent(space: Space, marker: Marker): any;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<MapComponent, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<MapComponent, "lib-map", never, { "spaces": "spaces"; }, {}, never, never>;
22
+ }