@vived/app 4.17.5 → 4.18.1
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/ChannelModel/Adapters/channelModelAdapter.d.ts +3 -0
- package/lib/Components/ChannelModel/Adapters/channelModelAdapter.js +23 -0
- package/lib/Components/ChannelModel/Adapters/channelModelObjectAdapter.d.ts +3 -0
- package/lib/Components/ChannelModel/Adapters/channelModelObjectAdapter.js +23 -0
- package/lib/Components/ChannelModel/Adapters/index.d.ts +2 -0
- package/lib/Components/ChannelModel/Adapters/index.js +14 -0
- package/lib/Components/ChannelModel/Controllers/index.d.ts +1 -0
- package/lib/Components/ChannelModel/Controllers/index.js +13 -0
- package/lib/Components/ChannelModel/Controllers/setModelObjectLabel.d.ts +2 -0
- package/lib/Components/ChannelModel/Controllers/setModelObjectLabel.js +14 -0
- package/lib/Components/ChannelModel/Entities/ChannelModel.d.ts +132 -33
- package/lib/Components/ChannelModel/Entities/ChannelModel.js +119 -22
- package/lib/Components/ChannelModel/Entities/ChannelModelObject.d.ts +15 -0
- package/lib/Components/ChannelModel/Entities/ChannelModelObject.js +64 -0
- package/lib/Components/ChannelModel/Entities/ChannelModelRepo.d.ts +5 -4
- package/lib/Components/ChannelModel/Entities/ChannelModelRepo.js +8 -1
- package/lib/Components/ChannelModel/Entities/index.d.ts +1 -0
- package/lib/Components/ChannelModel/Entities/index.js +1 -0
- package/lib/Components/ChannelModel/Mocks/ChannelModelObjectPMMock.d.ts +7 -0
- package/lib/Components/ChannelModel/Mocks/ChannelModelObjectPMMock.js +11 -0
- package/lib/Components/ChannelModel/Mocks/ChannelModelPMMock.d.ts +7 -0
- package/lib/Components/ChannelModel/Mocks/ChannelModelPMMock.js +11 -0
- package/lib/Components/ChannelModel/Mocks/index.d.ts +3 -0
- package/lib/Components/ChannelModel/Mocks/index.js +15 -0
- package/lib/Components/ChannelModel/PMs/ChannelModelObjectPM.d.ts +12 -0
- package/lib/Components/ChannelModel/PMs/ChannelModelObjectPM.js +60 -0
- package/lib/Components/ChannelModel/PMs/ChannelModelPM.d.ts +11 -0
- package/lib/Components/ChannelModel/PMs/ChannelModelPM.js +66 -0
- package/lib/Components/ChannelModel/PMs/index.d.ts +2 -0
- package/lib/Components/ChannelModel/PMs/index.js +14 -0
- package/lib/Components/ChannelModel/UC/InitializeChannelModelFromGLB.d.ts +0 -0
- package/lib/Components/ChannelModel/UC/InitializeChannelModelFromGLB.js +1 -0
- package/lib/Components/ChannelModel/UC/SetupChannelModelUC.d.ts +3 -4
- package/lib/Components/ChannelModel/UC/SetupChannelModelUC.js +1 -139
- package/lib/Components/ChannelModel/index.d.ts +4 -0
- package/lib/Components/ChannelModel/index.js +4 -0
- package/lib/Components/GLBModel/Entities/GblModelRepo.d.ts +9 -0
- package/lib/Components/GLBModel/Entities/GblModelRepo.js +32 -0
- package/lib/Components/GLBModel/Entities/GlbModelEntity.d.ts +26 -0
- package/lib/Components/GLBModel/Entities/GlbModelEntity.js +56 -0
- package/lib/Components/GLBModel/Entities/index.d.ts +2 -0
- package/lib/Components/GLBModel/Entities/index.js +14 -0
- package/lib/Components/GLBModel/Mocks/LoadGlbFileUCMock.d.ts +8 -0
- package/lib/Components/GLBModel/Mocks/LoadGlbFileUCMock.js +15 -0
- package/lib/Components/GLBModel/Mocks/index.d.ts +1 -0
- package/lib/Components/GLBModel/Mocks/index.js +13 -0
- package/lib/Components/GLBModel/UCs/LoadGlbFileUC.d.ts +7 -0
- package/lib/Components/GLBModel/UCs/LoadGlbFileUC.js +11 -0
- package/lib/Components/GLBModel/UCs/index.d.ts +1 -0
- package/lib/Components/GLBModel/UCs/index.js +13 -0
- package/lib/Components/GLBModel/index.d.ts +3 -0
- package/lib/Components/GLBModel/index.js +15 -0
- package/lib/Components/Landmarks/UseCases/DeleteLandmarkUC.js +3 -3
- package/lib/Components/index.d.ts +1 -0
- package/lib/Components/index.js +1 -0
- package/lib/Types/index.d.ts +0 -1
- package/lib/Types/index.js +0 -1
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.DeleteLandmarkUC = void 0;
|
|
4
4
|
const AppObject_1 = require("../../../AppObject");
|
|
5
5
|
const Dispatcher_1 = require("../../Dispatcher");
|
|
6
|
-
const
|
|
6
|
+
const Entities_1 = require("../Entities");
|
|
7
7
|
const DeleteLandmarkUndoRedo_1 = require("./DeleteLandmarkUndoRedo");
|
|
8
8
|
class DeleteLandmarkUC extends AppObject_1.AppObjectUC {
|
|
9
9
|
constructor(appObject) {
|
|
@@ -14,7 +14,7 @@ class DeleteLandmarkUC extends AppObject_1.AppObjectUC {
|
|
|
14
14
|
const landmarkAppObject = this.appObjects.get(id);
|
|
15
15
|
let landmarkEntity;
|
|
16
16
|
if (landmarkAppObject) {
|
|
17
|
-
landmarkEntity =
|
|
17
|
+
landmarkEntity = Entities_1.LandmarkEntity.get(landmarkAppObject);
|
|
18
18
|
}
|
|
19
19
|
if (createUndo && landmarkEntity) {
|
|
20
20
|
new DeleteLandmarkUndoRedo_1.DeleteLandmarkUndoRedo(landmarkEntity.data, this.appObject);
|
|
@@ -27,7 +27,7 @@ class DeleteLandmarkUC extends AppObject_1.AppObjectUC {
|
|
|
27
27
|
Dispatcher_1.dispatchStateChange(this.appObjects);
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
|
-
this.landmarkRepo = appObject.getComponent(
|
|
30
|
+
this.landmarkRepo = appObject.getComponent(Entities_1.LandmarkRepo.type);
|
|
31
31
|
if (!this.landmarkRepo) {
|
|
32
32
|
this.warn("App Object does not have a Landmark Repo");
|
|
33
33
|
}
|
package/lib/Components/index.js
CHANGED
|
@@ -18,6 +18,7 @@ __exportStar(require("./ChannelModel"), exports);
|
|
|
18
18
|
__exportStar(require("./Dispatcher"), exports);
|
|
19
19
|
__exportStar(require("./Enablement"), exports);
|
|
20
20
|
__exportStar(require("./FramedScreen"), exports);
|
|
21
|
+
__exportStar(require("./GLBModel"), exports);
|
|
21
22
|
__exportStar(require("./Hideable"), exports);
|
|
22
23
|
__exportStar(require("./HoverLabel"), exports);
|
|
23
24
|
__exportStar(require("./KeyboardInput"), exports);
|
package/lib/Types/index.d.ts
CHANGED
package/lib/Types/index.js
CHANGED
|
@@ -12,7 +12,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
13
|
__exportStar(require("./AppBoundary"), exports);
|
|
14
14
|
__exportStar(require("./AssetMetaDTO"), exports);
|
|
15
|
-
__exportStar(require("./ChannelModelData"), exports);
|
|
16
15
|
__exportStar(require("./EaseFn"), exports);
|
|
17
16
|
__exportStar(require("./PmAdapter"), exports);
|
|
18
17
|
__exportStar(require("./ReactHookPmAdapter"), exports);
|