@smarterplan/ngx-smarterplan-locations 0.2.23 → 0.2.25
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.
- package/esm2020/lib/components/visits/visits.component.mjs +14 -6
- package/esm2020/lib/components/zones/zones.component.mjs +7 -1
- package/fesm2015/smarterplan-ngx-smarterplan-locations.mjs +19 -5
- package/fesm2015/smarterplan-ngx-smarterplan-locations.mjs.map +1 -1
- package/fesm2020/smarterplan-ngx-smarterplan-locations.mjs +19 -5
- package/fesm2020/smarterplan-ngx-smarterplan-locations.mjs.map +1 -1
- package/lib/components/visits/visits.component.d.ts +5 -2
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { OnInit } from '@angular/core';
|
|
|
2
2
|
import { FormGroup, FormBuilder, AbstractControl } from '@angular/forms';
|
|
3
3
|
import { ActivatedRoute } from '@angular/router';
|
|
4
4
|
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
5
|
-
import { Visit, MenuItem, MatterportImportService, CaptureService, NodeService, SpaceService, VisitService } from '@smarterplan/ngx-smarterplan-core';
|
|
5
|
+
import { Visit, MenuItem, MatterportImportService, CaptureService, NodeService, SpaceService, VisitService, ValidatorsService } from '@smarterplan/ngx-smarterplan-core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class VisitsComponent implements OnInit {
|
|
8
8
|
private fb;
|
|
@@ -13,6 +13,7 @@ export declare class VisitsComponent implements OnInit {
|
|
|
13
13
|
private route;
|
|
14
14
|
private modalService;
|
|
15
15
|
private visitService;
|
|
16
|
+
validatorsService: ValidatorsService;
|
|
16
17
|
spaceId: string;
|
|
17
18
|
visitIndexDetails: number;
|
|
18
19
|
visitForm: FormGroup;
|
|
@@ -28,7 +29,8 @@ export declare class VisitsComponent implements OnInit {
|
|
|
28
29
|
imagesProcessed: number;
|
|
29
30
|
totalImages: number;
|
|
30
31
|
menuItems: MenuItem[];
|
|
31
|
-
|
|
32
|
+
errorForm: boolean;
|
|
33
|
+
constructor(fb: FormBuilder, matterportImportService: MatterportImportService, captureService: CaptureService, nodeService: NodeService, spaceService: SpaceService, route: ActivatedRoute, modalService: NgbModal, visitService: VisitService, validatorsService: ValidatorsService);
|
|
32
34
|
ngOnInit(): void;
|
|
33
35
|
setupMenuItems(): void;
|
|
34
36
|
onGoBack(): void;
|
|
@@ -46,6 +48,7 @@ export declare class VisitsComponent implements OnInit {
|
|
|
46
48
|
launchImport(model3D: any, surface: any, node: any, imagesOnly?: boolean): Promise<boolean>;
|
|
47
49
|
private cancelImport;
|
|
48
50
|
onImport(visit: Visit): void;
|
|
51
|
+
isFormError(control: any): boolean;
|
|
49
52
|
static ɵfac: i0.ɵɵFactoryDeclaration<VisitsComponent, never>;
|
|
50
53
|
static ɵcmp: i0.ɵɵComponentDeclaration<VisitsComponent, "lib-visits", never, {}, {}, never, never>;
|
|
51
54
|
}
|