@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.
Files changed (58) hide show
  1. package/lib/Components/ChannelModel/Adapters/channelModelAdapter.d.ts +3 -0
  2. package/lib/Components/ChannelModel/Adapters/channelModelAdapter.js +23 -0
  3. package/lib/Components/ChannelModel/Adapters/channelModelObjectAdapter.d.ts +3 -0
  4. package/lib/Components/ChannelModel/Adapters/channelModelObjectAdapter.js +23 -0
  5. package/lib/Components/ChannelModel/Adapters/index.d.ts +2 -0
  6. package/lib/Components/ChannelModel/Adapters/index.js +14 -0
  7. package/lib/Components/ChannelModel/Controllers/index.d.ts +1 -0
  8. package/lib/Components/ChannelModel/Controllers/index.js +13 -0
  9. package/lib/Components/ChannelModel/Controllers/setModelObjectLabel.d.ts +2 -0
  10. package/lib/Components/ChannelModel/Controllers/setModelObjectLabel.js +14 -0
  11. package/lib/Components/ChannelModel/Entities/ChannelModel.d.ts +132 -33
  12. package/lib/Components/ChannelModel/Entities/ChannelModel.js +119 -22
  13. package/lib/Components/ChannelModel/Entities/ChannelModelObject.d.ts +15 -0
  14. package/lib/Components/ChannelModel/Entities/ChannelModelObject.js +64 -0
  15. package/lib/Components/ChannelModel/Entities/ChannelModelRepo.d.ts +5 -4
  16. package/lib/Components/ChannelModel/Entities/ChannelModelRepo.js +8 -1
  17. package/lib/Components/ChannelModel/Entities/index.d.ts +1 -0
  18. package/lib/Components/ChannelModel/Entities/index.js +1 -0
  19. package/lib/Components/ChannelModel/Mocks/ChannelModelObjectPMMock.d.ts +7 -0
  20. package/lib/Components/ChannelModel/Mocks/ChannelModelObjectPMMock.js +11 -0
  21. package/lib/Components/ChannelModel/Mocks/ChannelModelPMMock.d.ts +7 -0
  22. package/lib/Components/ChannelModel/Mocks/ChannelModelPMMock.js +11 -0
  23. package/lib/Components/ChannelModel/Mocks/index.d.ts +3 -0
  24. package/lib/Components/ChannelModel/Mocks/index.js +15 -0
  25. package/lib/Components/ChannelModel/PMs/ChannelModelObjectPM.d.ts +12 -0
  26. package/lib/Components/ChannelModel/PMs/ChannelModelObjectPM.js +60 -0
  27. package/lib/Components/ChannelModel/PMs/ChannelModelPM.d.ts +11 -0
  28. package/lib/Components/ChannelModel/PMs/ChannelModelPM.js +66 -0
  29. package/lib/Components/ChannelModel/PMs/index.d.ts +2 -0
  30. package/lib/Components/ChannelModel/PMs/index.js +14 -0
  31. package/lib/Components/ChannelModel/UC/InitializeChannelModelFromGLB.d.ts +0 -0
  32. package/lib/Components/ChannelModel/UC/InitializeChannelModelFromGLB.js +1 -0
  33. package/lib/Components/ChannelModel/UC/SetupChannelModelUC.d.ts +3 -4
  34. package/lib/Components/ChannelModel/UC/SetupChannelModelUC.js +1 -139
  35. package/lib/Components/ChannelModel/index.d.ts +4 -0
  36. package/lib/Components/ChannelModel/index.js +4 -0
  37. package/lib/Components/GLBModel/Entities/GblModelRepo.d.ts +9 -0
  38. package/lib/Components/GLBModel/Entities/GblModelRepo.js +32 -0
  39. package/lib/Components/GLBModel/Entities/GlbModelEntity.d.ts +26 -0
  40. package/lib/Components/GLBModel/Entities/GlbModelEntity.js +56 -0
  41. package/lib/Components/GLBModel/Entities/index.d.ts +2 -0
  42. package/lib/Components/GLBModel/Entities/index.js +14 -0
  43. package/lib/Components/GLBModel/Mocks/LoadGlbFileUCMock.d.ts +8 -0
  44. package/lib/Components/GLBModel/Mocks/LoadGlbFileUCMock.js +15 -0
  45. package/lib/Components/GLBModel/Mocks/index.d.ts +1 -0
  46. package/lib/Components/GLBModel/Mocks/index.js +13 -0
  47. package/lib/Components/GLBModel/UCs/LoadGlbFileUC.d.ts +7 -0
  48. package/lib/Components/GLBModel/UCs/LoadGlbFileUC.js +11 -0
  49. package/lib/Components/GLBModel/UCs/index.d.ts +1 -0
  50. package/lib/Components/GLBModel/UCs/index.js +13 -0
  51. package/lib/Components/GLBModel/index.d.ts +3 -0
  52. package/lib/Components/GLBModel/index.js +15 -0
  53. package/lib/Components/Landmarks/UseCases/DeleteLandmarkUC.js +3 -3
  54. package/lib/Components/index.d.ts +1 -0
  55. package/lib/Components/index.js +1 -0
  56. package/lib/Types/index.d.ts +0 -1
  57. package/lib/Types/index.js +0 -1
  58. 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 __1 = require("..");
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 = __1.LandmarkEntity.get(landmarkAppObject);
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(__1.LandmarkRepo.type);
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
  }
@@ -6,6 +6,7 @@ export * from "./ChannelModel";
6
6
  export * from "./Dispatcher";
7
7
  export * from "./Enablement";
8
8
  export * from "./FramedScreen";
9
+ export * from "./GLBModel";
9
10
  export * from "./Hideable";
10
11
  export * from "./HoverLabel";
11
12
  export * from "./KeyboardInput";
@@ -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);
@@ -1,6 +1,5 @@
1
1
  export * from "./AppBoundary";
2
2
  export * from "./AssetMetaDTO";
3
- export * from "./ChannelModelData";
4
3
  export * from "./EaseFn";
5
4
  export * from "./PmAdapter";
6
5
  export * from "./ReactHookPmAdapter";
@@ -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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vived/app",
3
- "version": "4.17.5",
3
+ "version": "4.18.1",
4
4
  "description": "Public package for the VIVED Learning App system",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",