@smarterplan/ngx-smarterplan-locations 0.4.20 → 0.4.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.
- package/esm2022/lib/components/detail-location/detail-location.component.mjs +40 -4
- package/esm2022/lib/components/visits/visits.component.mjs +5 -2
- package/fesm2022/smarterplan-ngx-smarterplan-locations.mjs +42 -3
- package/fesm2022/smarterplan-ngx-smarterplan-locations.mjs.map +1 -1
- package/lib/components/detail-location/detail-location.component.d.ts +13 -0
- package/package.json +2 -2
|
@@ -43,6 +43,10 @@ export declare class DetailLocationComponent implements OnInit, OnDestroy {
|
|
|
43
43
|
selectedTarget3dModel: string | null;
|
|
44
44
|
sourceVisits: Visit[];
|
|
45
45
|
visits: Visit[];
|
|
46
|
+
/** The capture a visitor opens by default, of any viewer type. Null means none chosen. */
|
|
47
|
+
defaultCaptureID: string | null;
|
|
48
|
+
savingDefaultCapture: boolean;
|
|
49
|
+
defaultCaptureError: string | null;
|
|
46
50
|
landmarkSourceA: Vec3 | null;
|
|
47
51
|
landmarkTargetA: Vec3 | null;
|
|
48
52
|
landmarkSourceB: Vec3 | null;
|
|
@@ -69,6 +73,15 @@ export declare class DetailLocationComponent implements OnInit, OnDestroy {
|
|
|
69
73
|
onCancel(): void;
|
|
70
74
|
onErase(): Promise<void>;
|
|
71
75
|
onGetDpeData(): Promise<void>;
|
|
76
|
+
/**
|
|
77
|
+
* Stores which capture a visitor opens by default.
|
|
78
|
+
*
|
|
79
|
+
* One field on the space, not a flag per capture, so the two admin screens cannot disagree:
|
|
80
|
+
* setting it from either one writes the same place, and there is nothing to clear elsewhere.
|
|
81
|
+
*/
|
|
82
|
+
onDefaultCaptureChange(): Promise<void>;
|
|
83
|
+
/** Label for a visit in the default picker, naming the viewer it opens in. */
|
|
84
|
+
visitLabel(visit: Visit): string;
|
|
72
85
|
/** Toggles visibility of the admin "copy POIs from another location" form. */
|
|
73
86
|
toggleCopyPoisForm(): void;
|
|
74
87
|
onSourceLandmarkPicked(slot: 'A' | 'B', point: Vec3): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smarterplan/ngx-smarterplan-locations",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.21",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"tslib": "^2.4.0"
|
|
6
6
|
},
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"@asymmetrik/ngx-leaflet": "^17.0.0",
|
|
12
12
|
"@ng-bootstrap/ng-bootstrap": "^16.0.0",
|
|
13
13
|
"@ngx-translate/core": "^17.0.0",
|
|
14
|
-
"@smarterplan/ngx-smarterplan-core": "^1.4.
|
|
14
|
+
"@smarterplan/ngx-smarterplan-core": "^1.4.17",
|
|
15
15
|
"leaflet": "^1.9.4",
|
|
16
16
|
"ng2-pdf-viewer": "^10.0.0",
|
|
17
17
|
"panzoom": "^9.4.1"
|