@vived/app 4.2.0 → 4.4.0
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/lib/Components/Babylon/Mocks/MockSceneRayPickUC.d.ts +2 -0
- package/lib/Components/Babylon/Mocks/MockSceneRayPickUC.js +2 -2
- package/lib/Components/Dispatcher/UC/RestoreCurrentStateUC.d.ts +10 -0
- package/lib/Components/Dispatcher/UC/RestoreCurrentStateUC.js +35 -0
- package/lib/Components/Dispatcher/UC/index.d.ts +1 -0
- package/lib/Components/Dispatcher/UC/index.js +1 -0
- package/lib/Components/Landmarks/Controller/Mouse/MouseLandmark.d.ts +22 -0
- package/lib/Components/Landmarks/Controller/Mouse/MouseLandmark.js +91 -0
- package/lib/Components/Landmarks/Controller/MouseLandmark.d.ts +22 -0
- package/lib/Components/Landmarks/Controller/MouseLandmark.js +91 -0
- package/lib/Components/Landmarks/Controller/SetSelectedLandmarkColor.d.ts +3 -0
- package/lib/Components/Landmarks/Controller/SetSelectedLandmarkColor.js +24 -0
- package/lib/Components/Landmarks/Controller/SubmitLandmarkSize.d.ts +2 -0
- package/lib/Components/Landmarks/Controller/SubmitLandmarkSize.js +19 -0
- package/lib/Components/Landmarks/Controller/Touch/TouchLandmark.d.ts +20 -0
- package/lib/Components/Landmarks/Controller/Touch/TouchLandmark.js +84 -0
- package/lib/Components/Landmarks/Controller/TouchLandmark.d.ts +20 -0
- package/lib/Components/Landmarks/Controller/TouchLandmark.js +84 -0
- package/lib/Components/Landmarks/Controller/UpdateLandmarkSize.d.ts +2 -0
- package/lib/Components/Landmarks/Controller/UpdateLandmarkSize.js +19 -0
- package/lib/Components/Landmarks/Controller/index.d.ts +5 -0
- package/lib/Components/Landmarks/Controller/index.js +17 -0
- package/lib/Components/Landmarks/Entities/LandmarkEntity.d.ts +40 -0
- package/lib/Components/Landmarks/Entities/LandmarkEntity.js +111 -0
- package/lib/Components/Landmarks/Entities/LandmarkGlobals.d.ts +14 -0
- package/lib/Components/Landmarks/Entities/LandmarkGlobals.js +32 -0
- package/lib/Components/Landmarks/Entities/LandmarkRepo.d.ts +9 -0
- package/lib/Components/Landmarks/Entities/LandmarkRepo.js +33 -0
- package/lib/Components/Landmarks/Entities/index.d.ts +3 -0
- package/lib/Components/Landmarks/Entities/index.js +15 -0
- package/lib/Components/Landmarks/Mocks/MockLandmark.d.ts +27 -0
- package/lib/Components/Landmarks/Mocks/MockLandmark.js +50 -0
- package/lib/Components/Landmarks/PM/LandmarkListPM.d.ts +10 -0
- package/lib/Components/Landmarks/PM/LandmarkListPM.js +46 -0
- package/lib/Components/Landmarks/PM/LandmarkSizePM.d.ts +10 -0
- package/lib/Components/Landmarks/PM/LandmarkSizePM.js +44 -0
- package/lib/Components/Landmarks/PM/index.d.ts +2 -0
- package/lib/Components/Landmarks/PM/index.js +14 -0
- package/lib/Components/Landmarks/UseCases/AddLandmarkUC.d.ts +8 -0
- package/lib/Components/Landmarks/UseCases/AddLandmarkUC.js +67 -0
- package/lib/Components/Landmarks/UseCases/AddLandmarkUndoRedo.d.ts +13 -0
- package/lib/Components/Landmarks/UseCases/AddLandmarkUndoRedo.js +48 -0
- package/lib/Components/Landmarks/UseCases/DeleteLandmarkUC.d.ts +9 -0
- package/lib/Components/Landmarks/UseCases/DeleteLandmarkUC.js +48 -0
- package/lib/Components/Landmarks/UseCases/DeleteLandmarkUndoRedo.d.ts +13 -0
- package/lib/Components/Landmarks/UseCases/DeleteLandmarkUndoRedo.js +48 -0
- package/lib/Components/Landmarks/UseCases/SerializeLandmarks.d.ts +16 -0
- package/lib/Components/Landmarks/UseCases/SerializeLandmarks.js +108 -0
- package/lib/Components/Landmarks/UseCases/SetLandmarkSizeUC.d.ts +12 -0
- package/lib/Components/Landmarks/UseCases/SetLandmarkSizeUC.js +57 -0
- package/lib/Components/Landmarks/UseCases/SetLandmarkSizeUndoRedo.d.ts +11 -0
- package/lib/Components/Landmarks/UseCases/SetLandmarkSizeUndoRedo.js +37 -0
- package/lib/Components/Landmarks/UseCases/SetOverlayColorUC.d.ts +11 -0
- package/lib/Components/Landmarks/UseCases/SetOverlayColorUC.js +46 -0
- package/lib/Components/Landmarks/UseCases/SetOverlayColorUndoRedo.d.ts +12 -0
- package/lib/Components/Landmarks/UseCases/SetOverlayColorUndoRedo.js +37 -0
- package/lib/Components/Landmarks/UseCases/TryAddNewLandmarkUC.d.ts +9 -0
- package/lib/Components/Landmarks/UseCases/TryAddNewLandmarkUC.js +59 -0
- package/lib/Components/Landmarks/UseCases/TryPreviewLandmarkUC.d.ts +15 -0
- package/lib/Components/Landmarks/UseCases/TryPreviewLandmarkUC.js +63 -0
- package/lib/Components/Landmarks/UseCases/index.d.ts +11 -0
- package/lib/Components/Landmarks/UseCases/index.js +23 -0
- package/lib/Components/Landmarks/index.d.ts +4 -0
- package/lib/Components/Landmarks/index.js +16 -0
- package/lib/Components/OverlayColor/Entities/OverlayColor.d.ts +5 -5
- package/lib/Components/OverlayColor/Entities/OverlayColor.js +24 -24
- package/lib/Components/OverlayColor/PM/OverlayColorPM.d.ts +3 -3
- package/package.json +1 -1
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteLandmarkUC = void 0;
|
|
4
|
+
const AppObject_1 = require("../../../AppObject");
|
|
5
|
+
const Dispatcher_1 = require("../../Dispatcher");
|
|
6
|
+
const __1 = require("..");
|
|
7
|
+
const DeleteLandmarkUndoRedo_1 = require("./DeleteLandmarkUndoRedo");
|
|
8
|
+
class DeleteLandmarkUC extends AppObject_1.AppObjectUC {
|
|
9
|
+
constructor(appObject) {
|
|
10
|
+
super(appObject, DeleteLandmarkUC.type);
|
|
11
|
+
this.deleteLandmark = (id, quietly = false, createUndo = false) => {
|
|
12
|
+
if (!this.landmarkRepo)
|
|
13
|
+
return;
|
|
14
|
+
const landmarkAppObject = this.appObjects.get(id);
|
|
15
|
+
let landmarkEntity;
|
|
16
|
+
if (landmarkAppObject) {
|
|
17
|
+
landmarkEntity = __1.LandmarkEntity.get(landmarkAppObject);
|
|
18
|
+
}
|
|
19
|
+
if (createUndo && landmarkEntity) {
|
|
20
|
+
new DeleteLandmarkUndoRedo_1.DeleteLandmarkUndoRedo(landmarkEntity.data, this.appObject);
|
|
21
|
+
}
|
|
22
|
+
if (landmarkAppObject) {
|
|
23
|
+
this.landmarkRepo.removeForAppObject(landmarkAppObject.id);
|
|
24
|
+
landmarkAppObject.dispose();
|
|
25
|
+
}
|
|
26
|
+
if (!quietly) {
|
|
27
|
+
Dispatcher_1.dispatchStateChange(this.appObjects);
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
this.landmarkRepo = appObject.getComponent(__1.LandmarkRepo.type);
|
|
31
|
+
if (!this.landmarkRepo) {
|
|
32
|
+
this.warn("App Object does not have a Landmark Repo");
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
static get(appObj) {
|
|
36
|
+
return appObj.getComponent(this.type);
|
|
37
|
+
}
|
|
38
|
+
static addIfMissing(appObj) {
|
|
39
|
+
const existing = appObj.getComponent(this.type);
|
|
40
|
+
if (existing)
|
|
41
|
+
return existing;
|
|
42
|
+
else {
|
|
43
|
+
return new DeleteLandmarkUC(appObj);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.DeleteLandmarkUC = DeleteLandmarkUC;
|
|
48
|
+
DeleteLandmarkUC.type = "DeleteLandmarkUC";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AppObject } from "../../../AppObject";
|
|
2
|
+
import { UndoRedoAction } from "../../UndoRedo/Entities/UndoRedoEntity";
|
|
3
|
+
import { LandmarkDTO } from "../Entities/LandmarkEntity";
|
|
4
|
+
export declare class DeleteLandmarkUndoRedo implements UndoRedoAction {
|
|
5
|
+
private landmarkDTO;
|
|
6
|
+
private appObject;
|
|
7
|
+
private landmarkRepo?;
|
|
8
|
+
private addLandmarkUC?;
|
|
9
|
+
private deleteLandmarkUC?;
|
|
10
|
+
undoAction: () => void;
|
|
11
|
+
redoAction: () => void;
|
|
12
|
+
constructor(landmarkDTO: LandmarkDTO, appObject: AppObject);
|
|
13
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteLandmarkUndoRedo = void 0;
|
|
4
|
+
const DispatchStateChangeUC_1 = require("../../Dispatcher/UC/DispatchStateChangeUC");
|
|
5
|
+
const UndoRedoEntity_1 = require("../../UndoRedo/Entities/UndoRedoEntity");
|
|
6
|
+
const LandmarkRepo_1 = require("../Entities/LandmarkRepo");
|
|
7
|
+
const AddLandmarkUC_1 = require("./AddLandmarkUC");
|
|
8
|
+
const DeleteLandmarkUC_1 = require("./DeleteLandmarkUC");
|
|
9
|
+
class DeleteLandmarkUndoRedo {
|
|
10
|
+
constructor(landmarkDTO, appObject) {
|
|
11
|
+
this.landmarkDTO = landmarkDTO;
|
|
12
|
+
this.appObject = appObject;
|
|
13
|
+
this.undoAction = () => {
|
|
14
|
+
if (!this.addLandmarkUC)
|
|
15
|
+
return;
|
|
16
|
+
this.addLandmarkUC.addFromData(this.landmarkDTO);
|
|
17
|
+
DispatchStateChangeUC_1.dispatchStateChange(this.appObject.appObjectRepo);
|
|
18
|
+
};
|
|
19
|
+
this.redoAction = () => {
|
|
20
|
+
if (!this.deleteLandmarkUC)
|
|
21
|
+
return;
|
|
22
|
+
this.deleteLandmarkUC.deleteLandmark(this.landmarkDTO.id, true);
|
|
23
|
+
DispatchStateChangeUC_1.dispatchStateChange(this.appObject.appObjectRepo);
|
|
24
|
+
};
|
|
25
|
+
this.landmarkRepo = appObject.getComponent(LandmarkRepo_1.LandmarkRepo.type);
|
|
26
|
+
if (!this.landmarkRepo) {
|
|
27
|
+
appObject.appObjectRepo.submitWarning("DeleteLandmarkUndoRedo", "App Object does not have a Landmark Repo");
|
|
28
|
+
return;
|
|
29
|
+
}
|
|
30
|
+
this.addLandmarkUC = appObject.getComponent(AddLandmarkUC_1.AddLandmarkUC.type);
|
|
31
|
+
if (!this.addLandmarkUC) {
|
|
32
|
+
appObject.appObjectRepo.submitWarning("DeleteLandmarkUndoRedo", "App Object does not have a AddLandmarkUC");
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
35
|
+
this.deleteLandmarkUC = appObject.getComponent(DeleteLandmarkUC_1.DeleteLandmarkUC.type);
|
|
36
|
+
if (!this.deleteLandmarkUC) {
|
|
37
|
+
appObject.appObjectRepo.submitWarning("DeleteLandmarkUndoRedo", "App Object does not have a DeleteLandmarkUC");
|
|
38
|
+
return;
|
|
39
|
+
}
|
|
40
|
+
const undoRedo = UndoRedoEntity_1.UndoRedoEntity.get(appObject.appObjectRepo);
|
|
41
|
+
if (!undoRedo) {
|
|
42
|
+
appObject.appObjectRepo.submitWarning("DeleteLandmarkUndoRedo", "Unable to find UndoRedoEntity");
|
|
43
|
+
return;
|
|
44
|
+
}
|
|
45
|
+
undoRedo.submitAction(this);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
exports.DeleteLandmarkUndoRedo = DeleteLandmarkUndoRedo;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { AppObject, AppObjectUC } from "../../../AppObject";
|
|
2
|
+
import { SerializedSystem } from "../../StateMachine";
|
|
3
|
+
import { LandmarkDTO } from "../Entities/LandmarkEntity";
|
|
4
|
+
export declare class SerializeLandmarks extends AppObjectUC implements SerializedSystem {
|
|
5
|
+
static readonly type = "SerializeLandmarks";
|
|
6
|
+
name: string;
|
|
7
|
+
seriliziationVersion: number;
|
|
8
|
+
getSystemState(): object;
|
|
9
|
+
applySystemState(state: object, version: number): void;
|
|
10
|
+
private handleStateVersion1;
|
|
11
|
+
applyDefaultState(): void;
|
|
12
|
+
constructor(appObj: AppObject);
|
|
13
|
+
}
|
|
14
|
+
export interface SerializedLandmarksV1 {
|
|
15
|
+
landmarks: LandmarkDTO[];
|
|
16
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SerializeLandmarks = void 0;
|
|
4
|
+
const AppObject_1 = require("../../../AppObject");
|
|
5
|
+
const Enablement_1 = require("../../Enablement");
|
|
6
|
+
const StateMachine_1 = require("../../StateMachine");
|
|
7
|
+
const LandmarkEntity_1 = require("../Entities/LandmarkEntity");
|
|
8
|
+
const LandmarkGlobals_1 = require("../Entities/LandmarkGlobals");
|
|
9
|
+
const LandmarkRepo_1 = require("../Entities/LandmarkRepo");
|
|
10
|
+
const AddLandmarkUC_1 = require("./AddLandmarkUC");
|
|
11
|
+
class SerializeLandmarks extends AppObject_1.AppObjectUC {
|
|
12
|
+
constructor(appObj) {
|
|
13
|
+
super(appObj, SerializeLandmarks.type);
|
|
14
|
+
this.name = "landmarks";
|
|
15
|
+
this.seriliziationVersion = 1;
|
|
16
|
+
const stateMachine = this.appObjects.getSingleton(StateMachine_1.StateMachineEntity.type);
|
|
17
|
+
if (stateMachine) {
|
|
18
|
+
stateMachine.registerSerializedSystem(this);
|
|
19
|
+
}
|
|
20
|
+
else {
|
|
21
|
+
this.warn("Unable to find StateMachineEntity");
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
getSystemState() {
|
|
25
|
+
const repos = this.appObjects.getAllComponents(LandmarkRepo_1.LandmarkRepo.type);
|
|
26
|
+
const landmarks = [];
|
|
27
|
+
repos.forEach((repo) => {
|
|
28
|
+
const enabledEntity = repo.appObject.getComponent(Enablement_1.EnablablementEntity.type);
|
|
29
|
+
let enabled = false;
|
|
30
|
+
if (enabledEntity) {
|
|
31
|
+
enabled = enabledEntity.enabled;
|
|
32
|
+
}
|
|
33
|
+
if (enabled) {
|
|
34
|
+
repo.getAll().forEach((landmark) => {
|
|
35
|
+
if (landmark.parentID) {
|
|
36
|
+
landmarks.push(landmark.data);
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
return {
|
|
42
|
+
landmarks,
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
applySystemState(state, version) {
|
|
46
|
+
if (version === 1) {
|
|
47
|
+
this.handleStateVersion1(state);
|
|
48
|
+
}
|
|
49
|
+
else {
|
|
50
|
+
this.warn("Unsupported state version. Reverting to default");
|
|
51
|
+
this.applyDefaultState();
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
handleStateVersion1(state) {
|
|
55
|
+
const { landmarks } = state;
|
|
56
|
+
if (!landmarks) {
|
|
57
|
+
this.warn("Unable to parse state. Reverting to default");
|
|
58
|
+
this.applyDefaultState();
|
|
59
|
+
return;
|
|
60
|
+
}
|
|
61
|
+
const previousLandmarkLookup = new Map();
|
|
62
|
+
const allLandmarks = this.appObjects.getAllComponents(LandmarkEntity_1.LandmarkEntity.type);
|
|
63
|
+
allLandmarks.forEach((landmark) => {
|
|
64
|
+
if (landmark.parentID) {
|
|
65
|
+
previousLandmarkLookup.set(landmark.appObject.id, landmark);
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
landmarks.forEach((landmarkData) => {
|
|
69
|
+
var _a;
|
|
70
|
+
const existing = previousLandmarkLookup.get(landmarkData.id);
|
|
71
|
+
if (existing) {
|
|
72
|
+
existing.data = landmarkData;
|
|
73
|
+
previousLandmarkLookup.delete(landmarkData.id);
|
|
74
|
+
}
|
|
75
|
+
let addUC = this.appObjects.getAppObjectComponent(landmarkData.parentID, AddLandmarkUC_1.AddLandmarkUC.type);
|
|
76
|
+
if (!addUC) {
|
|
77
|
+
const globals = this.appObjects.getSingleton(LandmarkGlobals_1.LandmarkGlobals.type);
|
|
78
|
+
const newRepoAO = (_a = globals === null || globals === void 0 ? void 0 : globals.landmarkRepoFactory(landmarkData.parentID)) === null || _a === void 0 ? void 0 : _a.appObject;
|
|
79
|
+
addUC = newRepoAO === null || newRepoAO === void 0 ? void 0 : newRepoAO.getComponent(AddLandmarkUC_1.AddLandmarkUC.type);
|
|
80
|
+
}
|
|
81
|
+
if (addUC) {
|
|
82
|
+
addUC.addFromData(landmarkData);
|
|
83
|
+
}
|
|
84
|
+
else {
|
|
85
|
+
this.error("No create UC");
|
|
86
|
+
}
|
|
87
|
+
});
|
|
88
|
+
previousLandmarkLookup.forEach((landmark) => {
|
|
89
|
+
var _a;
|
|
90
|
+
(_a = landmark.inRepo) === null || _a === void 0 ? void 0 : _a.removeForAppObject(landmark.appObject.id);
|
|
91
|
+
landmark.appObject.dispose();
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
applyDefaultState() {
|
|
95
|
+
const repos = this.appObjects.getAllComponents(LandmarkRepo_1.LandmarkRepo.type);
|
|
96
|
+
repos.forEach((repo) => {
|
|
97
|
+
const landmarks = repo.getAll();
|
|
98
|
+
landmarks.forEach((landmark) => {
|
|
99
|
+
if (landmark.parentID) {
|
|
100
|
+
landmark.appObject.dispose();
|
|
101
|
+
repo.removeForAppObject(landmark.appObject.id);
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
});
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
exports.SerializeLandmarks = SerializeLandmarks;
|
|
108
|
+
SerializeLandmarks.type = "SerializeLandmarks";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { AppObject, AppObjectUC } from "../../../AppObject";
|
|
2
|
+
export declare class SetLandmarkSizeUC extends AppObjectUC {
|
|
3
|
+
static readonly type = "SetLandmarkSizeUC";
|
|
4
|
+
private initialValue?;
|
|
5
|
+
private landmark?;
|
|
6
|
+
private landmarkGlobals?;
|
|
7
|
+
getClampedSize(size: number): number;
|
|
8
|
+
updateSize(size: number): void;
|
|
9
|
+
submitSize(size: number): void;
|
|
10
|
+
constructor(appObject: AppObject);
|
|
11
|
+
static get(appObj: AppObject): SetLandmarkSizeUC | undefined;
|
|
12
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SetLandmarkSizeUC = void 0;
|
|
4
|
+
const AppObject_1 = require("../../../AppObject");
|
|
5
|
+
const Dispatcher_1 = require("../../Dispatcher");
|
|
6
|
+
const LandmarkEntity_1 = require("../Entities/LandmarkEntity");
|
|
7
|
+
const LandmarkGlobals_1 = require("../Entities/LandmarkGlobals");
|
|
8
|
+
const SetLandmarkSizeUndoRedo_1 = require("./SetLandmarkSizeUndoRedo");
|
|
9
|
+
class SetLandmarkSizeUC extends AppObject_1.AppObjectUC {
|
|
10
|
+
constructor(appObject) {
|
|
11
|
+
super(appObject, SetLandmarkSizeUC.type);
|
|
12
|
+
this.landmark = appObject.getComponent(LandmarkEntity_1.LandmarkEntity.type);
|
|
13
|
+
if (!this.landmark) {
|
|
14
|
+
this.warn("SetLandmarkSizeUC has been added to an App Object that does not have a LandmarkEntity. Add a LandmarkEntity before adding the UC");
|
|
15
|
+
return;
|
|
16
|
+
}
|
|
17
|
+
this.landmarkGlobals = LandmarkGlobals_1.LandmarkGlobals.get(this.appObjects);
|
|
18
|
+
if (!this.landmarkGlobals) {
|
|
19
|
+
this.warn("SetLandmarkSizeUC has been added to an App Object but LandmarkGlobals Entity was not added. Add a LandmarkGlobals Entity");
|
|
20
|
+
return;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
getClampedSize(size) {
|
|
24
|
+
return Math.max(LandmarkEntity_1.LANDMARK_MINIMUM_SIZE, Math.min(LandmarkEntity_1.LANDMARK_MAXIMUM_SIZE, size));
|
|
25
|
+
}
|
|
26
|
+
updateSize(size) {
|
|
27
|
+
if (!this.landmark)
|
|
28
|
+
return;
|
|
29
|
+
if (!this.landmarkGlobals)
|
|
30
|
+
return;
|
|
31
|
+
if (this.initialValue === undefined) {
|
|
32
|
+
this.initialValue = size;
|
|
33
|
+
}
|
|
34
|
+
const clampedSize = this.getClampedSize(size);
|
|
35
|
+
this.landmark.size = clampedSize;
|
|
36
|
+
this.landmarkGlobals.lastSize = clampedSize;
|
|
37
|
+
}
|
|
38
|
+
submitSize(size) {
|
|
39
|
+
if (!this.initialValue)
|
|
40
|
+
return;
|
|
41
|
+
if (!this.landmark)
|
|
42
|
+
return;
|
|
43
|
+
if (!this.landmarkGlobals)
|
|
44
|
+
return;
|
|
45
|
+
const clampedSize = this.getClampedSize(size);
|
|
46
|
+
this.landmark.size = clampedSize;
|
|
47
|
+
this.landmarkGlobals.lastSize = clampedSize;
|
|
48
|
+
new SetLandmarkSizeUndoRedo_1.SetLandmarkSizeUndoRedo(clampedSize, this.initialValue, this.appObject);
|
|
49
|
+
Dispatcher_1.dispatchStateChange(this.appObjects);
|
|
50
|
+
this.initialValue = undefined;
|
|
51
|
+
}
|
|
52
|
+
static get(appObj) {
|
|
53
|
+
return appObj.getComponent(this.type);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
exports.SetLandmarkSizeUC = SetLandmarkSizeUC;
|
|
57
|
+
SetLandmarkSizeUC.type = "SetLandmarkSizeUC";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AppObject } from "../../../AppObject";
|
|
2
|
+
import { UndoRedoAction } from "../../UndoRedo/Entities/UndoRedoEntity";
|
|
3
|
+
export declare class SetLandmarkSizeUndoRedo implements UndoRedoAction {
|
|
4
|
+
private size;
|
|
5
|
+
private initialSize;
|
|
6
|
+
private appObject;
|
|
7
|
+
private landmark?;
|
|
8
|
+
undoAction: () => void;
|
|
9
|
+
redoAction: () => void;
|
|
10
|
+
constructor(size: number, initialSize: number, appObject: AppObject);
|
|
11
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SetLandmarkSizeUndoRedo = void 0;
|
|
4
|
+
const DispatchStateChangeUC_1 = require("../../Dispatcher/UC/DispatchStateChangeUC");
|
|
5
|
+
const UndoRedoEntity_1 = require("../../UndoRedo/Entities/UndoRedoEntity");
|
|
6
|
+
const LandmarkEntity_1 = require("../Entities/LandmarkEntity");
|
|
7
|
+
class SetLandmarkSizeUndoRedo {
|
|
8
|
+
constructor(size, initialSize, appObject) {
|
|
9
|
+
this.size = size;
|
|
10
|
+
this.initialSize = initialSize;
|
|
11
|
+
this.appObject = appObject;
|
|
12
|
+
this.undoAction = () => {
|
|
13
|
+
if (!this.landmark)
|
|
14
|
+
return;
|
|
15
|
+
this.landmark.size = this.initialSize;
|
|
16
|
+
DispatchStateChangeUC_1.dispatchStateChange(this.appObject.appObjectRepo);
|
|
17
|
+
};
|
|
18
|
+
this.redoAction = () => {
|
|
19
|
+
if (!this.landmark)
|
|
20
|
+
return;
|
|
21
|
+
this.landmark.size = this.size;
|
|
22
|
+
DispatchStateChangeUC_1.dispatchStateChange(this.appObject.appObjectRepo);
|
|
23
|
+
};
|
|
24
|
+
this.landmark = appObject.getComponent(LandmarkEntity_1.LandmarkEntity.type);
|
|
25
|
+
if (!this.landmark) {
|
|
26
|
+
appObject.appObjectRepo.submitWarning("SetLandmarkSizeUndoRedo", "Unable to find LandmarkEntity");
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
const undoRedo = UndoRedoEntity_1.UndoRedoEntity.get(appObject.appObjectRepo);
|
|
30
|
+
if (!undoRedo) {
|
|
31
|
+
appObject.appObjectRepo.submitWarning("SetLandmarkSizeUndoRedo", "Unable to find UndoRedoEntity");
|
|
32
|
+
return;
|
|
33
|
+
}
|
|
34
|
+
undoRedo.submitAction(this);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
exports.SetLandmarkSizeUndoRedo = SetLandmarkSizeUndoRedo;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AppObject, AppObjectUC } from "../../../AppObject";
|
|
2
|
+
import { OverlayColorEnums } from "../../OverlayColor";
|
|
3
|
+
export declare class SetOverlayColorUC extends AppObjectUC {
|
|
4
|
+
static readonly type = "SetOverlayColorUC";
|
|
5
|
+
private overlayColor?;
|
|
6
|
+
private landmarkGlobals?;
|
|
7
|
+
setOverlayColor: (color: OverlayColorEnums) => void;
|
|
8
|
+
dispose: () => void;
|
|
9
|
+
constructor(appObject: AppObject);
|
|
10
|
+
static get(appObj: AppObject): SetOverlayColorUC | undefined;
|
|
11
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SetOverlayColorUC = void 0;
|
|
4
|
+
const AppObject_1 = require("../../../AppObject");
|
|
5
|
+
const Dispatcher_1 = require("../../Dispatcher");
|
|
6
|
+
const OverlayColor_1 = require("../../OverlayColor");
|
|
7
|
+
const LandmarkGlobals_1 = require("../Entities/LandmarkGlobals");
|
|
8
|
+
const SetOverlayColorUndoRedo_1 = require("./SetOverlayColorUndoRedo");
|
|
9
|
+
class SetOverlayColorUC extends AppObject_1.AppObjectUC {
|
|
10
|
+
constructor(appObject) {
|
|
11
|
+
super(appObject, SetOverlayColorUC.type);
|
|
12
|
+
this.setOverlayColor = (color) => {
|
|
13
|
+
if (!this.overlayColor)
|
|
14
|
+
return;
|
|
15
|
+
if (!this.landmarkGlobals)
|
|
16
|
+
return;
|
|
17
|
+
if (this.overlayColor.overlayColor === color)
|
|
18
|
+
return;
|
|
19
|
+
const prevColor = this.overlayColor.overlayColor;
|
|
20
|
+
this.overlayColor.overlayColor = color;
|
|
21
|
+
Dispatcher_1.dispatchStateChange(this.appObjects);
|
|
22
|
+
new SetOverlayColorUndoRedo_1.SetOverlayColorUndoRedo(color, prevColor, this.appObject);
|
|
23
|
+
this.landmarkGlobals.lastColor = color;
|
|
24
|
+
};
|
|
25
|
+
this.dispose = () => {
|
|
26
|
+
var _a;
|
|
27
|
+
super.dispose();
|
|
28
|
+
(_a = this.overlayColor) === null || _a === void 0 ? void 0 : _a.removeOnDisposeObserver(this.dispose);
|
|
29
|
+
};
|
|
30
|
+
this.landmarkGlobals = LandmarkGlobals_1.LandmarkGlobals.get(this.appObjects);
|
|
31
|
+
if (!this.landmarkGlobals) {
|
|
32
|
+
this.warn("SetOverlayColorUC has been added to an App Object but LandmarkGlobals Entity was not added. Add a LandmarkGlobals Entity");
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
35
|
+
this.overlayColor = appObject.getComponent(OverlayColor_1.OverlayColor.type);
|
|
36
|
+
if (!this.overlayColor) {
|
|
37
|
+
this.warn("SetOverlayColorUC has been added to an App Object that does not have a Overlay Color Entity. Add a Overlay Color Entity before adding the UC");
|
|
38
|
+
return;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
static get(appObj) {
|
|
42
|
+
return appObj.getComponent(this.type);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.SetOverlayColorUC = SetOverlayColorUC;
|
|
46
|
+
SetOverlayColorUC.type = "SetOverlayColorUC";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { AppObject } from "../../../AppObject";
|
|
2
|
+
import { OverlayColorEnums } from "../../OverlayColor";
|
|
3
|
+
import { UndoRedoAction } from "../../UndoRedo/Entities/UndoRedoEntity";
|
|
4
|
+
export declare class SetOverlayColorUndoRedo implements UndoRedoAction {
|
|
5
|
+
private color;
|
|
6
|
+
private preColor;
|
|
7
|
+
private appObject;
|
|
8
|
+
private overlayColor?;
|
|
9
|
+
undoAction: () => void;
|
|
10
|
+
redoAction: () => void;
|
|
11
|
+
constructor(color: OverlayColorEnums, preColor: OverlayColorEnums, appObject: AppObject);
|
|
12
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SetOverlayColorUndoRedo = void 0;
|
|
4
|
+
const DispatchStateChangeUC_1 = require("../../Dispatcher/UC/DispatchStateChangeUC");
|
|
5
|
+
const OverlayColor_1 = require("../../OverlayColor");
|
|
6
|
+
const UndoRedoEntity_1 = require("../../UndoRedo/Entities/UndoRedoEntity");
|
|
7
|
+
class SetOverlayColorUndoRedo {
|
|
8
|
+
constructor(color, preColor, appObject) {
|
|
9
|
+
this.color = color;
|
|
10
|
+
this.preColor = preColor;
|
|
11
|
+
this.appObject = appObject;
|
|
12
|
+
this.undoAction = () => {
|
|
13
|
+
if (!this.overlayColor)
|
|
14
|
+
return;
|
|
15
|
+
this.overlayColor.overlayColor = this.preColor;
|
|
16
|
+
DispatchStateChangeUC_1.dispatchStateChange(this.appObject.appObjectRepo);
|
|
17
|
+
};
|
|
18
|
+
this.redoAction = () => {
|
|
19
|
+
if (!this.overlayColor)
|
|
20
|
+
return;
|
|
21
|
+
this.overlayColor.overlayColor = this.color;
|
|
22
|
+
DispatchStateChangeUC_1.dispatchStateChange(this.appObject.appObjectRepo);
|
|
23
|
+
};
|
|
24
|
+
this.overlayColor = OverlayColor_1.OverlayColor.get(this.appObject);
|
|
25
|
+
if (!this.overlayColor) {
|
|
26
|
+
appObject.appObjectRepo.submitWarning("SetOverlayColorUndoRedo", "Unable to find OverlayColorEntity");
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
const undoRedo = UndoRedoEntity_1.UndoRedoEntity.get(appObject.appObjectRepo);
|
|
30
|
+
if (!undoRedo) {
|
|
31
|
+
appObject.appObjectRepo.submitWarning("SetOverlayColorUndoRedo", "Unable to find UndoRedoEntity");
|
|
32
|
+
return;
|
|
33
|
+
}
|
|
34
|
+
undoRedo.submitAction(this);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
exports.SetOverlayColorUndoRedo = SetOverlayColorUndoRedo;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AppObject, AppObjectUC } from "../../../AppObject";
|
|
2
|
+
import { ParametricLine } from "../../../ValueObjects";
|
|
3
|
+
import { LandmarkEntity } from "../Entities/LandmarkEntity";
|
|
4
|
+
export declare abstract class TryAddNewLandmarkUC extends AppObjectUC {
|
|
5
|
+
static readonly type = "TryAddNewLandmarkUC";
|
|
6
|
+
abstract addFromRay(ray: ParametricLine): LandmarkEntity | undefined;
|
|
7
|
+
static get(appObj: AppObject): TryAddNewLandmarkUC | undefined;
|
|
8
|
+
}
|
|
9
|
+
export declare function makeTryAddLandmarkUC(appObject: AppObject): TryAddNewLandmarkUC;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.makeTryAddLandmarkUC = exports.TryAddNewLandmarkUC = void 0;
|
|
4
|
+
const AppObject_1 = require("../../../AppObject");
|
|
5
|
+
const ValueObjects_1 = require("../../../ValueObjects");
|
|
6
|
+
const Babylon_1 = require("../../Babylon");
|
|
7
|
+
const Dispatcher_1 = require("../../Dispatcher");
|
|
8
|
+
const Label_1 = require("../../Label");
|
|
9
|
+
const LandmarkGlobals_1 = require("../Entities/LandmarkGlobals");
|
|
10
|
+
const AddLandmarkUC_1 = require("./AddLandmarkUC");
|
|
11
|
+
const AddLandmarkUndoRedo_1 = require("./AddLandmarkUndoRedo");
|
|
12
|
+
class TryAddNewLandmarkUC extends AppObject_1.AppObjectUC {
|
|
13
|
+
static get(appObj) {
|
|
14
|
+
return appObj.getComponent(this.type);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.TryAddNewLandmarkUC = TryAddNewLandmarkUC;
|
|
18
|
+
TryAddNewLandmarkUC.type = "TryAddNewLandmarkUC";
|
|
19
|
+
function makeTryAddLandmarkUC(appObject) {
|
|
20
|
+
return new TryAddNewLandmarkUCImp(appObject);
|
|
21
|
+
}
|
|
22
|
+
exports.makeTryAddLandmarkUC = makeTryAddLandmarkUC;
|
|
23
|
+
class TryAddNewLandmarkUCImp extends TryAddNewLandmarkUC {
|
|
24
|
+
addFromRay(ray) {
|
|
25
|
+
const scenePick = Babylon_1.sceneRayPick(ray, this.appObjects);
|
|
26
|
+
if (!scenePick ||
|
|
27
|
+
!scenePick.worldPickPoint ||
|
|
28
|
+
!scenePick.normal ||
|
|
29
|
+
!scenePick.appObjectID) {
|
|
30
|
+
return;
|
|
31
|
+
}
|
|
32
|
+
const pickAO = scenePick.appObjectID;
|
|
33
|
+
const addLandmarkUC = this.appObjects.getAppObjectComponent(pickAO, AddLandmarkUC_1.AddLandmarkUC.type);
|
|
34
|
+
if (!addLandmarkUC) {
|
|
35
|
+
return;
|
|
36
|
+
}
|
|
37
|
+
const newLandmark = addLandmarkUC.addNew();
|
|
38
|
+
if (!newLandmark) {
|
|
39
|
+
this.warn("Failed to add landmark");
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
newLandmark.transform.worldPosition = scenePick.worldPickPoint;
|
|
43
|
+
newLandmark.transform.worldRotation = ValueObjects_1.Quaternion.FromDirectionVector(scenePick.normal);
|
|
44
|
+
const globals = this.appObjects.getSingleton(LandmarkGlobals_1.LandmarkGlobals.type);
|
|
45
|
+
if (globals) {
|
|
46
|
+
newLandmark.size = globals.lastSize;
|
|
47
|
+
newLandmark.overlayColor.overlayColor = globals.lastColor;
|
|
48
|
+
}
|
|
49
|
+
const label = this.appObjects.getAppObjectComponent(pickAO, Label_1.Label.type);
|
|
50
|
+
newLandmark.label.default = label ? label.default : "";
|
|
51
|
+
newLandmark.selectable.selected = true;
|
|
52
|
+
new AddLandmarkUndoRedo_1.AddLandmarkUndoRedo(newLandmark.data, this.appObject);
|
|
53
|
+
Dispatcher_1.dispatchStateChange(this.appObjects);
|
|
54
|
+
return newLandmark;
|
|
55
|
+
}
|
|
56
|
+
constructor(appObject) {
|
|
57
|
+
super(appObject, TryAddNewLandmarkUC.type);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AppObject, AppObjectUC } from "../../../AppObject";
|
|
2
|
+
import { ParametricLine } from "../../../ValueObjects";
|
|
3
|
+
export declare abstract class TryPreviewLandmarkUC extends AppObjectUC {
|
|
4
|
+
static readonly type = "TryPreviewLandmarkUC";
|
|
5
|
+
abstract tryPreviewLandmark: (ray: ParametricLine, pressed: boolean) => boolean | undefined;
|
|
6
|
+
static get(appObj: AppObject): TryPreviewLandmarkUC | undefined;
|
|
7
|
+
}
|
|
8
|
+
export declare function makeTryPreviewLandmark(appObject: AppObject): TryPreviewLandmarkUCImp;
|
|
9
|
+
declare class TryPreviewLandmarkUCImp extends TryPreviewLandmarkUC {
|
|
10
|
+
private previewLandmark?;
|
|
11
|
+
private hidePreview;
|
|
12
|
+
tryPreviewLandmark: (ray: ParametricLine, pressed: boolean) => false | undefined;
|
|
13
|
+
constructor(appObject: AppObject);
|
|
14
|
+
}
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.makeTryPreviewLandmark = exports.TryPreviewLandmarkUC = void 0;
|
|
4
|
+
const AppObject_1 = require("../../../AppObject");
|
|
5
|
+
const ValueObjects_1 = require("../../../ValueObjects");
|
|
6
|
+
const App_1 = require("../../App");
|
|
7
|
+
const Babylon_1 = require("../../Babylon");
|
|
8
|
+
const LandmarkGlobals_1 = require("../Entities/LandmarkGlobals");
|
|
9
|
+
const LandmarkRepo_1 = require("../Entities/LandmarkRepo");
|
|
10
|
+
class TryPreviewLandmarkUC extends AppObject_1.AppObjectUC {
|
|
11
|
+
static get(appObj) {
|
|
12
|
+
return appObj.getComponent(this.type);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
exports.TryPreviewLandmarkUC = TryPreviewLandmarkUC;
|
|
16
|
+
TryPreviewLandmarkUC.type = "TryPreviewLandmarkUC";
|
|
17
|
+
function makeTryPreviewLandmark(appObject) {
|
|
18
|
+
const uc = new TryPreviewLandmarkUCImp(appObject);
|
|
19
|
+
return uc;
|
|
20
|
+
}
|
|
21
|
+
exports.makeTryPreviewLandmark = makeTryPreviewLandmark;
|
|
22
|
+
class TryPreviewLandmarkUCImp extends TryPreviewLandmarkUC {
|
|
23
|
+
constructor(appObject) {
|
|
24
|
+
var _a;
|
|
25
|
+
super(appObject, TryPreviewLandmarkUC.type);
|
|
26
|
+
this.tryPreviewLandmark = (ray, pressed) => {
|
|
27
|
+
if (!this.previewLandmark) {
|
|
28
|
+
return false;
|
|
29
|
+
}
|
|
30
|
+
const baseApp = this.appObjects.getSingleton(App_1.BaseAppState.type);
|
|
31
|
+
if (!baseApp || !baseApp.isAuthoring) {
|
|
32
|
+
this.hidePreview();
|
|
33
|
+
return false;
|
|
34
|
+
}
|
|
35
|
+
const scenePick = Babylon_1.sceneRayPick(ray, this.appObjects);
|
|
36
|
+
if (!scenePick ||
|
|
37
|
+
!scenePick.worldPickPoint ||
|
|
38
|
+
!scenePick.normal ||
|
|
39
|
+
!scenePick.appObjectID) {
|
|
40
|
+
this.hidePreview();
|
|
41
|
+
return;
|
|
42
|
+
}
|
|
43
|
+
const aoRepo = this.appObjects.getAppObjectComponent(scenePick.appObjectID, LandmarkRepo_1.LandmarkRepo.type);
|
|
44
|
+
if (!aoRepo) {
|
|
45
|
+
this.hidePreview();
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
48
|
+
this.previewLandmark.hideable.isHidden = false;
|
|
49
|
+
this.previewLandmark.position = scenePick.worldPickPoint;
|
|
50
|
+
this.previewLandmark.rotation = ValueObjects_1.Quaternion.FromDirectionVector(scenePick.normal);
|
|
51
|
+
this.previewLandmark.selectable.pressed = pressed;
|
|
52
|
+
};
|
|
53
|
+
this.previewLandmark = (_a = this.appObject.getComponent(LandmarkGlobals_1.LandmarkGlobals.type)) === null || _a === void 0 ? void 0 : _a.previewLandmark;
|
|
54
|
+
if (!this.previewLandmark) {
|
|
55
|
+
console.warn("No preview landmark");
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
hidePreview() {
|
|
59
|
+
if (!this.previewLandmark)
|
|
60
|
+
return;
|
|
61
|
+
this.previewLandmark.hideable.isHidden = true;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from "./AddLandmarkUC";
|
|
2
|
+
export * from "./AddLandmarkUndoRedo";
|
|
3
|
+
export * from "./DeleteLandmarkUC";
|
|
4
|
+
export * from "./DeleteLandmarkUndoRedo";
|
|
5
|
+
export * from "./SerializeLandmarks";
|
|
6
|
+
export * from "./SetLandmarkSizeUC";
|
|
7
|
+
export * from "./SetLandmarkSizeUndoRedo";
|
|
8
|
+
export * from "./SetOverlayColorUC";
|
|
9
|
+
export * from "./SetOverlayColorUndoRedo";
|
|
10
|
+
export * from "./TryAddNewLandmarkUC";
|
|
11
|
+
export * from "./TryPreviewLandmarkUC";
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
__exportStar(require("./AddLandmarkUC"), exports);
|
|
14
|
+
__exportStar(require("./AddLandmarkUndoRedo"), exports);
|
|
15
|
+
__exportStar(require("./DeleteLandmarkUC"), exports);
|
|
16
|
+
__exportStar(require("./DeleteLandmarkUndoRedo"), exports);
|
|
17
|
+
__exportStar(require("./SerializeLandmarks"), exports);
|
|
18
|
+
__exportStar(require("./SetLandmarkSizeUC"), exports);
|
|
19
|
+
__exportStar(require("./SetLandmarkSizeUndoRedo"), exports);
|
|
20
|
+
__exportStar(require("./SetOverlayColorUC"), exports);
|
|
21
|
+
__exportStar(require("./SetOverlayColorUndoRedo"), exports);
|
|
22
|
+
__exportStar(require("./TryAddNewLandmarkUC"), exports);
|
|
23
|
+
__exportStar(require("./TryPreviewLandmarkUC"), exports);
|