@vived/app 3.9.1 → 4.0.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.
Files changed (1050) hide show
  1. package/lib/AppObject/AppObjectComponent.d.ts +8 -2
  2. package/lib/AppObject/AppObjectComponent.js +26 -0
  3. package/lib/AppObject/AppObjectController.d.ts +1 -6
  4. package/lib/AppObject/AppObjectController.js +2 -12
  5. package/lib/AppObject/AppObjectEntity.d.ts +6 -8
  6. package/lib/AppObject/AppObjectEntity.js +4 -8
  7. package/lib/AppObject/AppObjectPM.d.ts +1 -5
  8. package/lib/AppObject/AppObjectPM.js +5 -8
  9. package/lib/AppObject/AppObjectRepo.d.ts +5 -1
  10. package/lib/AppObject/AppObjectRepo.js +15 -3
  11. package/lib/AppObject/AppObjectUC.d.ts +1 -6
  12. package/lib/AppObject/AppObjectUC.js +2 -12
  13. package/lib/AppObject/AppObjectView.d.ts +1 -6
  14. package/lib/AppObject/AppObjectView.js +2 -12
  15. package/lib/AppObject/getSingletonComponent.d.ts +3 -0
  16. package/lib/AppObject/getSingletonComponent.js +15 -0
  17. package/lib/AppObject/index.d.ts +1 -0
  18. package/lib/AppObject/index.js +1 -0
  19. package/lib/Components/App/Controller/clickContinue.d.ts +2 -0
  20. package/lib/Components/App/Controller/clickContinue.js +13 -0
  21. package/lib/Components/App/Controller/clickEditSlideText.d.ts +2 -0
  22. package/lib/Components/App/Controller/clickEditSlideText.js +13 -0
  23. package/lib/Components/App/Controller/index.d.ts +4 -0
  24. package/lib/Components/App/Controller/index.js +16 -0
  25. package/lib/Components/App/Controller/removeRenderCanvas.js +13 -0
  26. package/lib/Components/App/Controller/submitRenderCanvas.js +13 -0
  27. package/lib/Components/App/Entity/BaseAppState.d.ts +16 -0
  28. package/lib/Components/App/Entity/BaseAppState.js +54 -0
  29. package/lib/Components/App/Entity/index.d.ts +1 -0
  30. package/lib/Components/App/Entity/index.js +13 -0
  31. package/lib/Components/App/Mocks/MockAppRenderingUC.d.ts +8 -0
  32. package/lib/Components/App/Mocks/MockAppRenderingUC.js +12 -0
  33. package/lib/Components/App/Mocks/MockRenderCanvasUC.d.ts +8 -0
  34. package/lib/Components/App/Mocks/MockRenderCanvasUC.js +12 -0
  35. package/lib/Components/App/PM/HasNextPreviousStatePM.d.ts +15 -0
  36. package/lib/Components/App/PM/HasNextPreviousStatePM.js +44 -0
  37. package/lib/Components/App/PM/IsAuthoringPM.d.ts +10 -0
  38. package/lib/Components/App/PM/IsAuthoringPM.js +33 -0
  39. package/lib/Components/App/PM/IsReviewingPM.d.ts +10 -0
  40. package/lib/Components/App/PM/IsReviewingPM.js +33 -0
  41. package/lib/Components/App/PM/SlideTextPM.d.ts +9 -0
  42. package/lib/Components/App/PM/SlideTextPM.js +27 -0
  43. package/lib/Components/App/PM/index.d.ts +4 -0
  44. package/lib/Components/App/PM/index.js +16 -0
  45. package/lib/Components/App/UC/AppRenderingUC.d.ts +7 -0
  46. package/lib/Components/App/UC/AppRenderingUC.js +9 -0
  47. package/lib/Components/App/UC/EditSlideTextUC.d.ts +9 -0
  48. package/lib/Components/App/UC/EditSlideTextUC.js +57 -0
  49. package/lib/Components/App/UC/RenderCanvasUC.d.ts +10 -0
  50. package/lib/Components/App/UC/RenderCanvasUC.js +88 -0
  51. package/lib/Components/App/UC/UndoRedoEditSlideText.d.ts +11 -0
  52. package/lib/Components/App/UC/UndoRedoEditSlideText.js +43 -0
  53. package/lib/Components/App/UC/index.d.ts +5 -0
  54. package/lib/Components/App/UC/index.js +17 -0
  55. package/lib/Components/App/UC/submitError.js +28 -0
  56. package/lib/Components/App/UC/submitFatal.js +28 -0
  57. package/lib/Components/App/UC/submitLog.js +28 -0
  58. package/lib/Components/App/UC/submitWarning.js +28 -0
  59. package/lib/Components/App/index.d.ts +4 -0
  60. package/lib/Components/App/index.js +16 -0
  61. package/lib/Components/Babylon/Entities/BabylonEntity.d.ts +16 -0
  62. package/lib/Components/Babylon/Entities/BabylonEntity.js +71 -0
  63. package/lib/Components/Babylon/Entities/index.d.ts +1 -0
  64. package/lib/Components/Babylon/Entities/index.js +13 -0
  65. package/lib/Components/Babylon/Mocks/MockBabylonRenderingUC.d.ts +9 -0
  66. package/lib/Components/Babylon/Mocks/MockBabylonRenderingUC.js +13 -0
  67. package/lib/Components/Babylon/PM/ShowBabylonInspectorPM.js +27 -0
  68. package/lib/Components/Babylon/PM/index.d.ts +1 -0
  69. package/lib/Components/Babylon/PM/index.js +13 -0
  70. package/lib/Components/Babylon/UC/BabylonRenderingUC.d.ts +9 -0
  71. package/lib/Components/Babylon/UC/BabylonRenderingUC.js +10 -0
  72. package/lib/Components/Babylon/UC/PixelToSceneRayUC.d.ts +9 -0
  73. package/lib/Components/Babylon/UC/PixelToSceneRayUC.js +20 -0
  74. package/lib/Components/Babylon/UC/ScenePixelPickUC.d.ts +17 -0
  75. package/lib/Components/Babylon/UC/ScenePixelPickUC.js +19 -0
  76. package/lib/Components/Babylon/UC/SceneRayPickUC.d.ts +16 -0
  77. package/lib/Components/Babylon/UC/SceneRayPickUC.js +19 -0
  78. package/lib/Components/Babylon/UC/index.d.ts +4 -0
  79. package/lib/Components/Babylon/UC/index.js +16 -0
  80. package/lib/Components/Babylon/index.d.ts +3 -0
  81. package/lib/Components/Babylon/index.js +15 -0
  82. package/lib/Components/Camera/Entities/CameraEntity.d.ts +29 -0
  83. package/lib/Components/Camera/Entities/CameraEntity.js +44 -0
  84. package/lib/Components/Camera/Entities/index.d.ts +1 -0
  85. package/lib/Components/Camera/Entities/index.js +13 -0
  86. package/lib/Components/Camera/Factory/CameraFactoryImp.d.ts +4 -0
  87. package/lib/Components/Camera/Factory/CameraFactoryImp.js +25 -0
  88. package/lib/Components/Camera/PM/CameraPM.d.ts +22 -0
  89. package/lib/Components/Camera/PM/CameraPM.js +60 -0
  90. package/lib/Components/Camera/PM/index.d.ts +1 -0
  91. package/lib/Components/Camera/PM/index.js +13 -0
  92. package/lib/Components/Camera/index.d.ts +2 -0
  93. package/lib/Components/Camera/index.js +14 -0
  94. package/lib/Components/ChannelModel/Entities/ChannelModel.d.ts +42 -0
  95. package/lib/Components/ChannelModel/Entities/ChannelModel.js +99 -0
  96. package/lib/Components/ChannelModel/Entities/ChannelModelRepo.d.ts +12 -0
  97. package/lib/Components/ChannelModel/Entities/ChannelModelRepo.js +35 -0
  98. package/lib/Components/ChannelModel/Entities/index.d.ts +2 -0
  99. package/lib/Components/ChannelModel/Entities/index.js +14 -0
  100. package/lib/Components/ChannelModel/UC/ProcessChannelModelUC.d.ts +6 -0
  101. package/lib/Components/ChannelModel/UC/ProcessChannelModelUC.js +9 -0
  102. package/lib/Components/ChannelModel/UC/SelectChannelModelUC.d.ts +7 -0
  103. package/lib/Components/ChannelModel/UC/SelectChannelModelUC.js +57 -0
  104. package/lib/Components/ChannelModel/UC/SetupChannelModelUC.d.ts +10 -0
  105. package/lib/Components/ChannelModel/UC/SetupChannelModelUC.js +141 -0
  106. package/lib/Components/ChannelModel/UC/index.d.ts +3 -0
  107. package/lib/Components/ChannelModel/UC/index.js +15 -0
  108. package/lib/Components/ChannelModel/index.d.ts +2 -0
  109. package/lib/Components/ChannelModel/index.js +14 -0
  110. package/lib/Components/Dispatcher/Controllers/dispatchStopZSpace.d.ts +2 -0
  111. package/lib/Components/Dispatcher/Controllers/dispatchStopZSpace.js +14 -0
  112. package/lib/Components/Dispatcher/Controllers/index.d.ts +1 -0
  113. package/lib/Components/Dispatcher/Controllers/index.js +13 -0
  114. package/lib/Components/Dispatcher/Entities/AppDispatcher.d.ts +9 -0
  115. package/lib/Components/Dispatcher/Entities/AppDispatcher.js +30 -0
  116. package/lib/Components/Dispatcher/Entities/index.d.ts +1 -0
  117. package/lib/Components/Dispatcher/Entities/index.js +13 -0
  118. package/lib/Components/Dispatcher/UC/AppIsReadyUC.d.ts +11 -0
  119. package/lib/Components/Dispatcher/UC/AppIsReadyUC.js +45 -0
  120. package/lib/Components/Dispatcher/UC/DispatchStartZSpaceUC.d.ts +10 -0
  121. package/lib/Components/Dispatcher/UC/DispatchStartZSpaceUC.js +35 -0
  122. package/lib/Components/Dispatcher/UC/DispatchStateChangeUC.d.ts +18 -0
  123. package/lib/Components/Dispatcher/UC/DispatchStateChangeUC.js +69 -0
  124. package/lib/Components/Dispatcher/UC/DispatchStopZSpaceUC.d.ts +10 -0
  125. package/lib/Components/Dispatcher/UC/DispatchStopZSpaceUC.js +35 -0
  126. package/lib/Components/Dispatcher/UC/GetAssetBlobURLUC.d.ts +11 -0
  127. package/lib/Components/Dispatcher/UC/GetAssetBlobURLUC.js +62 -0
  128. package/lib/Components/Dispatcher/UC/GetAssetFolderURLUC.d.ts +11 -0
  129. package/lib/Components/Dispatcher/UC/GetAssetFolderURLUC.js +61 -0
  130. package/lib/Components/Dispatcher/UC/GetAssetMetaUC.d.ts +12 -0
  131. package/lib/Components/Dispatcher/UC/GetAssetMetaUC.js +62 -0
  132. package/lib/Components/Dispatcher/UC/GetAssetsForOwnerUC.d.ts +12 -0
  133. package/lib/Components/Dispatcher/UC/GetAssetsForOwnerUC.js +62 -0
  134. package/lib/Components/Dispatcher/UC/GetLinkedAssetsUC.d.ts +12 -0
  135. package/lib/Components/Dispatcher/UC/GetLinkedAssetsUC.js +63 -0
  136. package/lib/Components/Dispatcher/UC/GoToNextStateUC.d.ts +10 -0
  137. package/lib/Components/Dispatcher/UC/GoToNextStateUC.js +35 -0
  138. package/lib/Components/Dispatcher/UC/GoToPreviousStateUC.d.ts +10 -0
  139. package/lib/Components/Dispatcher/UC/GoToPreviousStateUC.js +35 -0
  140. package/lib/Components/Dispatcher/UC/HasNextStateUC.d.ts +10 -0
  141. package/lib/Components/Dispatcher/UC/HasNextStateUC.js +45 -0
  142. package/lib/Components/Dispatcher/UC/HasPreviousStateUC.d.ts +10 -0
  143. package/lib/Components/Dispatcher/UC/HasPreviousStateUC.js +45 -0
  144. package/lib/Components/Dispatcher/UC/IsAssetFetchedUC.d.ts +11 -0
  145. package/lib/Components/Dispatcher/UC/IsAssetFetchedUC.js +57 -0
  146. package/lib/Components/Dispatcher/UC/IsZSpaceAvailableUC.d.ts +10 -0
  147. package/lib/Components/Dispatcher/UC/IsZSpaceAvailableUC.js +45 -0
  148. package/lib/Components/Dispatcher/UC/LogUC.d.ts +13 -0
  149. package/lib/Components/Dispatcher/UC/LogUC.js +51 -0
  150. package/lib/Components/Dispatcher/UC/RegisterExternalStylesheetsUC.d.ts +11 -0
  151. package/lib/Components/Dispatcher/UC/RegisterExternalStylesheetsUC.js +47 -0
  152. package/lib/Components/Dispatcher/UC/ShowAlertUC.d.ts +16 -0
  153. package/lib/Components/Dispatcher/UC/ShowAlertUC.js +41 -0
  154. package/lib/Components/Dispatcher/UC/ShowConfirmUC.d.ts +18 -0
  155. package/lib/Components/Dispatcher/UC/ShowConfirmUC.js +43 -0
  156. package/lib/Components/Dispatcher/UC/ShowMarkdownEditorUC.d.ts +15 -0
  157. package/lib/Components/Dispatcher/UC/ShowMarkdownEditorUC.js +43 -0
  158. package/lib/Components/Dispatcher/UC/ShowSelectModelUC.d.ts +13 -0
  159. package/lib/Components/Dispatcher/UC/ShowSelectModelUC.js +45 -0
  160. package/lib/Components/Dispatcher/UC/ShowSpinnerUC.d.ts +10 -0
  161. package/lib/Components/Dispatcher/UC/ShowSpinnerUC.js +48 -0
  162. package/lib/Components/Dispatcher/UC/StateHasChangedUC.d.ts +10 -0
  163. package/lib/Components/Dispatcher/UC/StateHasChangedUC.js +40 -0
  164. package/lib/Components/Dispatcher/UC/StateIsCompleteUC.d.ts +11 -0
  165. package/lib/Components/Dispatcher/UC/StateIsCompleteUC.js +45 -0
  166. package/lib/Components/Dispatcher/UC/SubmitResultResultUC.d.ts +43 -0
  167. package/lib/Components/Dispatcher/UC/SubmitResultResultUC.js +149 -0
  168. package/lib/Components/Dispatcher/UC/index.d.ts +25 -0
  169. package/lib/Components/Dispatcher/UC/index.js +37 -0
  170. package/lib/Components/Dispatcher/index.d.ts +3 -0
  171. package/lib/Components/Dispatcher/index.js +15 -0
  172. package/lib/Components/Enablement/Entities/index.d.ts +1 -0
  173. package/lib/Components/Enablement/Entities/index.js +13 -0
  174. package/lib/Components/Enablement/PM/EnablableStatePM.js +41 -0
  175. package/lib/Components/Enablement/PM/index.d.ts +1 -0
  176. package/lib/Components/Enablement/PM/index.js +13 -0
  177. package/lib/Components/Enablement/index.d.ts +2 -0
  178. package/lib/Components/Enablement/index.js +14 -0
  179. package/lib/Components/FramedScreen/Entities/FramedScreenContainer.d.ts +14 -0
  180. package/lib/Components/FramedScreen/Entities/FramedScreenContainer.js +43 -0
  181. package/lib/Components/FramedScreen/Entities/FramedScreenEntity.d.ts +18 -0
  182. package/lib/Components/FramedScreen/Entities/FramedScreenEntity.js +55 -0
  183. package/lib/Components/FramedScreen/Entities/index.d.ts +2 -0
  184. package/lib/Components/FramedScreen/Entities/index.js +14 -0
  185. package/lib/Components/FramedScreen/PM/FramedScreenContainerPM.d.ts +18 -0
  186. package/lib/Components/FramedScreen/PM/FramedScreenContainerPM.js +55 -0
  187. package/lib/Components/FramedScreen/PM/FramedScreenSizePM.d.ts +17 -0
  188. package/lib/Components/FramedScreen/PM/FramedScreenSizePM.js +45 -0
  189. package/lib/Components/FramedScreen/PM/index.d.ts +2 -0
  190. package/lib/Components/FramedScreen/PM/index.js +14 -0
  191. package/lib/Components/FramedScreen/index.d.ts +2 -0
  192. package/lib/Components/FramedScreen/index.js +14 -0
  193. package/lib/Components/Hideable/Entities/index.d.ts +1 -0
  194. package/lib/Components/Hideable/Entities/index.js +13 -0
  195. package/lib/Components/Hideable/PM/IsHiddenPM.js +43 -0
  196. package/lib/Components/Hideable/PM/index.d.ts +1 -0
  197. package/lib/Components/Hideable/PM/index.js +13 -0
  198. package/lib/Components/Hideable/index.d.ts +2 -0
  199. package/lib/Components/Hideable/index.js +14 -0
  200. package/lib/Components/KeyboardInput/Entities/KeyboardInput.d.ts +18 -0
  201. package/lib/Components/KeyboardInput/Entities/KeyboardInput.js +76 -0
  202. package/lib/Components/KeyboardInput/Entities/index.d.ts +1 -0
  203. package/lib/Components/KeyboardInput/Entities/index.js +13 -0
  204. package/lib/Components/KeyboardInput/index.d.ts +1 -0
  205. package/lib/Components/KeyboardInput/index.js +13 -0
  206. package/lib/Components/Label/Entities/index.d.ts +1 -0
  207. package/lib/Components/Label/Entities/index.js +13 -0
  208. package/lib/Components/Label/PM/LabelPM.js +62 -0
  209. package/lib/Components/Label/PM/index.d.ts +1 -0
  210. package/lib/Components/Label/PM/index.js +13 -0
  211. package/lib/Components/Label/index.d.ts +2 -0
  212. package/lib/Components/Label/index.js +14 -0
  213. package/lib/Components/Mesh/Entities/index.d.ts +1 -0
  214. package/lib/Components/Mesh/Entities/index.js +13 -0
  215. package/lib/Components/Mesh/index.d.ts +1 -0
  216. package/lib/Components/Mesh/index.js +13 -0
  217. package/lib/Components/MouseInput/Entities/MouseInput.d.ts +31 -0
  218. package/lib/Components/MouseInput/Entities/MouseInput.js +188 -0
  219. package/lib/Components/MouseInput/Entities/index.d.ts +1 -0
  220. package/lib/Components/MouseInput/Entities/index.js +13 -0
  221. package/lib/Components/MouseInput/index.d.ts +1 -0
  222. package/lib/Components/MouseInput/index.js +13 -0
  223. package/lib/Components/OverlayColor/Entities/index.d.ts +1 -0
  224. package/lib/Components/OverlayColor/Entities/index.js +13 -0
  225. package/lib/Components/OverlayColor/PM/OverlayColorPM.js +43 -0
  226. package/lib/Components/OverlayColor/PM/index.d.ts +1 -0
  227. package/lib/Components/OverlayColor/PM/index.js +13 -0
  228. package/lib/Components/OverlayColor/index.d.ts +2 -0
  229. package/lib/Components/OverlayColor/index.js +14 -0
  230. package/lib/Components/Question/Controllers/setAnswerFeedback.js +24 -0
  231. package/lib/Components/Question/Controllers/setAnswerText.js +24 -0
  232. package/lib/Components/Question/Controllers/submitQuestionAnswer.js +13 -0
  233. package/lib/Components/Question/Controllers/toggleAnswerIsCorrect.js +24 -0
  234. package/lib/Components/Question/Entities/QuestionEntity.d.ts +25 -0
  235. package/lib/Components/Question/Entities/QuestionEntity.js +117 -0
  236. package/lib/Components/Question/PM/QuestionAnswerPM.js +59 -0
  237. package/lib/Components/Question/PM/QuestionChallengePM.d.ts +19 -0
  238. package/lib/Components/Question/PM/QuestionChallengePM.js +61 -0
  239. package/lib/Components/Question/UC/AddAnswerUndoRedo.d.ts +10 -0
  240. package/lib/Components/Question/UC/AddAnswerUndoRedo.js +41 -0
  241. package/lib/Components/Question/UC/AddQuestionAnswerUC.d.ts +10 -0
  242. package/lib/Components/Question/UC/AddQuestionAnswerUC.js +44 -0
  243. package/lib/Components/Question/UC/DeleteAnswerUndoRedo.d.ts +14 -0
  244. package/lib/Components/Question/UC/DeleteAnswerUndoRedo.js +48 -0
  245. package/lib/Components/Question/UC/DeleteQuestionAnswerUC.d.ts +10 -0
  246. package/lib/Components/Question/UC/DeleteQuestionAnswerUC.js +47 -0
  247. package/lib/Components/Question/UC/SerializeQuestionChallenge.d.ts +32 -0
  248. package/lib/Components/Question/UC/SerializeQuestionChallenge.js +100 -0
  249. package/lib/Components/Question/UC/SetAnswerFeedbackUC.js +35 -0
  250. package/lib/Components/Question/UC/SetAnswerFeedbackUndoRedo.d.ts +13 -0
  251. package/lib/Components/Question/UC/SetAnswerFeedbackUndoRedo.js +52 -0
  252. package/lib/Components/Question/UC/SetAnswerTextUC.js +35 -0
  253. package/lib/Components/Question/UC/SetAnswerTextUndoRedo.d.ts +13 -0
  254. package/lib/Components/Question/UC/SetAnswerTextUndoRedo.js +52 -0
  255. package/lib/Components/Question/UC/SubmitQuestionAnswerUC.d.ts +9 -0
  256. package/lib/Components/Question/UC/SubmitQuestionAnswerUC.js +50 -0
  257. package/lib/Components/Question/UC/ToggleIsCorrectUndoRedo.d.ts +10 -0
  258. package/lib/Components/Question/UC/ToggleIsCorrectUndoRedo.js +46 -0
  259. package/lib/Components/Question/UC/ToggleQuestionAnswerIsCorrect.d.ts +7 -0
  260. package/lib/Components/Question/UC/ToggleQuestionAnswerIsCorrect.js +32 -0
  261. package/lib/Components/Question/index.d.ts +4 -0
  262. package/lib/Components/Question/index.js +16 -0
  263. package/lib/Components/RequestHandler/Entities/AppHandler.d.ts +20 -0
  264. package/lib/Components/RequestHandler/Entities/AppHandler.js +86 -0
  265. package/lib/Components/RequestHandler/Entities/index.d.ts +1 -0
  266. package/lib/Components/RequestHandler/Entities/index.js +13 -0
  267. package/lib/Components/RequestHandler/Mocks/MockAppHandlerEntity.d.ts +8 -0
  268. package/lib/Components/RequestHandler/Mocks/MockAppHandlerEntity.js +12 -0
  269. package/lib/Components/RequestHandler/UC/DisposeAppUC.d.ts +11 -0
  270. package/lib/Components/RequestHandler/UC/DisposeAppUC.js +40 -0
  271. package/lib/Components/RequestHandler/UC/SetAppStateUC.d.ts +12 -0
  272. package/lib/Components/RequestHandler/UC/SetAppStateUC.js +68 -0
  273. package/lib/Components/RequestHandler/UC/SetIsAuthoringUC.d.ts +12 -0
  274. package/lib/Components/RequestHandler/UC/SetIsAuthoringUC.js +55 -0
  275. package/lib/Components/RequestHandler/UC/SetThemeColorUC.d.ts +14 -0
  276. package/lib/Components/RequestHandler/UC/SetThemeColorUC.js +58 -0
  277. package/lib/Components/RequestHandler/UC/ShowBabylonInspectorUC.d.ts +12 -0
  278. package/lib/Components/RequestHandler/UC/ShowBabylonInspectorUC.js +54 -0
  279. package/lib/Components/RequestHandler/UC/StartAppUC.d.ts +12 -0
  280. package/lib/Components/RequestHandler/UC/StartAppUC.js +55 -0
  281. package/lib/Components/RequestHandler/UC/StartZSpaceUC.d.ts +12 -0
  282. package/lib/Components/RequestHandler/UC/StartZSpaceUC.js +81 -0
  283. package/lib/Components/RequestHandler/UC/StopAppUC.d.ts +11 -0
  284. package/lib/Components/RequestHandler/UC/StopAppUC.js +47 -0
  285. package/lib/Components/RequestHandler/UC/StopZSpaceUC.d.ts +11 -0
  286. package/lib/Components/RequestHandler/UC/StopZSpaceUC.js +55 -0
  287. package/lib/Components/RequestHandler/UC/index.d.ts +10 -0
  288. package/lib/Components/RequestHandler/UC/index.js +22 -0
  289. package/lib/Components/RequestHandler/index.d.ts +2 -0
  290. package/lib/Components/RequestHandler/index.js +14 -0
  291. package/lib/Components/SceneRoot/Controllers/DoubleTapToFocus.js +88 -0
  292. package/lib/Components/SceneRoot/Controllers/MouseClickToFocus.d.ts +10 -0
  293. package/lib/Components/SceneRoot/Controllers/MouseClickToFocus.js +34 -0
  294. package/lib/Components/SceneRoot/Controllers/MouseDoubleClickToRecenter.d.ts +11 -0
  295. package/lib/Components/SceneRoot/Controllers/MouseDoubleClickToRecenter.js +35 -0
  296. package/lib/Components/SceneRoot/Controllers/MouseOrbit.d.ts +13 -0
  297. package/lib/Components/SceneRoot/Controllers/MouseOrbit.js +53 -0
  298. package/lib/Components/SceneRoot/Controllers/MousePan.d.ts +13 -0
  299. package/lib/Components/SceneRoot/Controllers/MousePan.js +48 -0
  300. package/lib/Components/SceneRoot/Controllers/MouseRoll.d.ts +10 -0
  301. package/lib/Components/SceneRoot/Controllers/MouseRoll.js +36 -0
  302. package/lib/Components/SceneRoot/Controllers/MouseScale.d.ts +13 -0
  303. package/lib/Components/SceneRoot/Controllers/MouseScale.js +49 -0
  304. package/lib/Components/SceneRoot/Controllers/StylusMove.d.ts +14 -0
  305. package/lib/Components/SceneRoot/Controllers/StylusMove.js +56 -0
  306. package/lib/Components/SceneRoot/Controllers/StylusScale.d.ts +14 -0
  307. package/lib/Components/SceneRoot/Controllers/StylusScale.js +58 -0
  308. package/lib/Components/SceneRoot/Controllers/TouchOrbit.js +51 -0
  309. package/lib/Components/SceneRoot/Controllers/TouchPan.js +52 -0
  310. package/lib/Components/SceneRoot/Controllers/TouchPinch.js +55 -0
  311. package/lib/Components/SceneRoot/Controllers/TouchScale.js +56 -0
  312. package/lib/Components/SceneRoot/Controllers/index.d.ts +13 -0
  313. package/lib/Components/SceneRoot/Controllers/index.js +25 -0
  314. package/lib/Components/SceneRoot/Entities/SceneRootEntity.d.ts +31 -0
  315. package/lib/Components/SceneRoot/Entities/SceneRootEntity.js +104 -0
  316. package/lib/Components/SceneRoot/Entities/index.d.ts +1 -0
  317. package/lib/Components/SceneRoot/Entities/index.js +13 -0
  318. package/lib/Components/SceneRoot/UC/BumpSceneRootScaleAboutPixelPoint.d.ts +11 -0
  319. package/lib/Components/SceneRoot/UC/BumpSceneRootScaleAboutPixelPoint.js +49 -0
  320. package/lib/Components/SceneRoot/UC/CenterSceneRootOnPixelPick.d.ts +14 -0
  321. package/lib/Components/SceneRoot/UC/CenterSceneRootOnPixelPick.js +51 -0
  322. package/lib/Components/SceneRoot/UC/DragScaleSceneRoot.d.ts +12 -0
  323. package/lib/Components/SceneRoot/UC/DragScaleSceneRoot.js +63 -0
  324. package/lib/Components/SceneRoot/UC/FocusOnPixel.d.ts +13 -0
  325. package/lib/Components/SceneRoot/UC/FocusOnPixel.js +45 -0
  326. package/lib/Components/SceneRoot/UC/OrbitSceneRoot.d.ts +14 -0
  327. package/lib/Components/SceneRoot/UC/OrbitSceneRoot.js +81 -0
  328. package/lib/Components/SceneRoot/UC/PanSceneRoot.d.ts +13 -0
  329. package/lib/Components/SceneRoot/UC/PanSceneRoot.js +75 -0
  330. package/lib/Components/SceneRoot/UC/PinchSceneRoot.d.ts +13 -0
  331. package/lib/Components/SceneRoot/UC/PinchSceneRoot.js +91 -0
  332. package/lib/Components/SceneRoot/UC/ScaleSceneRootWithRay.d.ts +13 -0
  333. package/lib/Components/SceneRoot/UC/ScaleSceneRootWithRay.js +37 -0
  334. package/lib/Components/SceneRoot/UC/SerializeSceneRoot.d.ts +31 -0
  335. package/lib/Components/SceneRoot/UC/SerializeSceneRoot.js +126 -0
  336. package/lib/Components/SceneRoot/UC/index.d.ts +9 -0
  337. package/lib/Components/SceneRoot/UC/index.js +21 -0
  338. package/lib/Components/SceneRoot/index.d.ts +3 -0
  339. package/lib/Components/SceneRoot/index.js +15 -0
  340. package/lib/Components/StateMachine/Entities/StateMachineEntity.d.ts +30 -0
  341. package/lib/Components/StateMachine/Entities/StateMachineEntity.js +95 -0
  342. package/lib/Components/StateMachine/Entities/index.d.ts +1 -0
  343. package/lib/Components/StateMachine/Entities/index.js +13 -0
  344. package/lib/Components/StateMachine/Mocks/MockStateMachine.d.ts +12 -0
  345. package/lib/Components/StateMachine/Mocks/MockStateMachine.js +16 -0
  346. package/lib/Components/StateMachine/Mocks/index.d.ts +1 -0
  347. package/lib/Components/StateMachine/Mocks/index.js +13 -0
  348. package/lib/Components/StateMachine/index.d.ts +1 -0
  349. package/lib/Components/StateMachine/index.js +13 -0
  350. package/lib/Components/StoredView/Entities/StoredView.d.ts +13 -0
  351. package/lib/Components/StoredView/Entities/StoredView.js +55 -0
  352. package/lib/Components/StoredView/Entities/index.d.ts +1 -0
  353. package/lib/Components/StoredView/Entities/index.js +13 -0
  354. package/lib/Components/StoredView/PM/HasStoredViewPM.d.ts +6 -0
  355. package/lib/Components/StoredView/PM/HasStoredViewPM.js +42 -0
  356. package/lib/Components/StoredView/PM/index.d.ts +1 -0
  357. package/lib/Components/StoredView/PM/index.js +13 -0
  358. package/lib/Components/StoredView/UC/ClearStoredViewUC.d.ts +8 -0
  359. package/lib/Components/StoredView/UC/ClearStoredViewUC.js +44 -0
  360. package/lib/Components/StoredView/UC/RestoreStoredViewUC.d.ts +10 -0
  361. package/lib/Components/StoredView/UC/RestoreStoredViewUC.js +62 -0
  362. package/lib/Components/StoredView/UC/SerializeStoredView.d.ts +27 -0
  363. package/lib/Components/StoredView/UC/SerializeStoredView.js +89 -0
  364. package/lib/Components/StoredView/UC/SetInXRUC.d.ts +8 -0
  365. package/lib/Components/StoredView/UC/SetInXRUC.js +41 -0
  366. package/lib/Components/StoredView/UC/StoreCurrentViewUC.d.ts +8 -0
  367. package/lib/Components/StoredView/UC/StoreCurrentViewUC.js +48 -0
  368. package/lib/Components/StoredView/UC/index.d.ts +5 -0
  369. package/lib/Components/StoredView/UC/index.js +17 -0
  370. package/lib/Components/StoredView/index.d.ts +3 -0
  371. package/lib/Components/StoredView/index.js +15 -0
  372. package/lib/Components/ThemeColors/Entities/ThemeColors.d.ts +69 -0
  373. package/lib/Components/ThemeColors/Entities/ThemeColors.js +102 -0
  374. package/lib/Components/ThemeColors/Entities/index.d.ts +1 -0
  375. package/lib/Components/ThemeColors/Entities/index.js +13 -0
  376. package/lib/Components/ThemeColors/index.d.ts +1 -0
  377. package/lib/Components/ThemeColors/index.js +13 -0
  378. package/lib/Components/Tools/Controller/ToolHotkeys.js +42 -0
  379. package/lib/Components/Tools/Controller/index.d.ts +2 -0
  380. package/lib/Components/Tools/Controller/index.js +14 -0
  381. package/lib/Components/Tools/Controller/triggerTool.js +13 -0
  382. package/lib/Components/Tools/Entities/ToolRepository.d.ts +18 -0
  383. package/lib/Components/Tools/Entities/ToolRepository.js +124 -0
  384. package/lib/Components/Tools/Entities/index.d.ts +2 -0
  385. package/lib/Components/Tools/Entities/index.js +14 -0
  386. package/lib/Components/Tools/Factory/index.d.ts +2 -0
  387. package/lib/Components/Tools/Factory/index.js +14 -0
  388. package/lib/Components/Tools/Factory/setupTool.js +12 -0
  389. package/lib/Components/Tools/PM/ToolPM.js +65 -0
  390. package/lib/Components/Tools/PM/index.d.ts +1 -0
  391. package/lib/Components/Tools/PM/index.js +13 -0
  392. package/lib/Components/Tools/index.d.ts +3 -0
  393. package/lib/Components/Tools/index.js +15 -0
  394. package/lib/Components/TouchController/Entities/TouchInput.d.ts +33 -0
  395. package/lib/Components/TouchController/Entities/TouchInput.js +152 -0
  396. package/lib/Components/TouchController/Entities/index.d.ts +1 -0
  397. package/lib/Components/TouchController/Entities/index.js +13 -0
  398. package/lib/Components/TouchController/UC/UpdateTouchInputBound.d.ts +7 -0
  399. package/lib/Components/TouchController/UC/UpdateTouchInputBound.js +29 -0
  400. package/lib/Components/TouchController/UC/index.d.ts +1 -0
  401. package/lib/Components/TouchController/UC/index.js +13 -0
  402. package/lib/Components/TouchController/index.d.ts +2 -0
  403. package/lib/Components/TouchController/index.js +14 -0
  404. package/lib/Components/Transform3D/Entities/Transform3D.d.ts +32 -0
  405. package/lib/Components/Transform3D/Entities/Transform3D.js +233 -0
  406. package/lib/Components/Transform3D/Entities/index.d.ts +1 -0
  407. package/lib/Components/Transform3D/Entities/index.js +13 -0
  408. package/lib/Components/Transform3D/PM/CanBeStuckPM.d.ts +8 -0
  409. package/lib/Components/Transform3D/PM/CanBeStuckPM.js +52 -0
  410. package/lib/Components/Transform3D/PM/Transform3DPM.d.ts +14 -0
  411. package/lib/Components/Transform3D/PM/Transform3DPM.js +73 -0
  412. package/lib/Components/Transform3D/PM/index.d.ts +2 -0
  413. package/lib/Components/Transform3D/PM/index.js +14 -0
  414. package/lib/Components/Transform3D/UC/DragTransformUC.d.ts +11 -0
  415. package/lib/Components/Transform3D/UC/DragTransformUC.js +108 -0
  416. package/lib/Components/Transform3D/UC/MoveTransformUndoRedo.d.ts +18 -0
  417. package/lib/Components/Transform3D/UC/MoveTransformUndoRedo.js +40 -0
  418. package/lib/Components/Transform3D/UC/StickTransformUC.d.ts +12 -0
  419. package/lib/Components/Transform3D/UC/StickTransformUC.js +71 -0
  420. package/lib/Components/Transform3D/UC/StylusMoveTransformUC.d.ts +10 -0
  421. package/lib/Components/Transform3D/UC/StylusMoveTransformUC.js +107 -0
  422. package/lib/Components/Transform3D/UC/index.d.ts +3 -0
  423. package/lib/Components/Transform3D/UC/index.js +15 -0
  424. package/lib/Components/Transform3D/index.d.ts +3 -0
  425. package/lib/Components/Transform3D/index.js +15 -0
  426. package/lib/Components/UndoRedo/Controllers/clearUndoStack.js +13 -0
  427. package/lib/Components/UndoRedo/Controllers/doRedo.js +13 -0
  428. package/lib/Components/UndoRedo/Controllers/doUndo.js +13 -0
  429. package/lib/Components/UndoRedo/Controllers/index.d.ts +3 -0
  430. package/lib/Components/UndoRedo/Controllers/index.js +15 -0
  431. package/lib/Components/UndoRedo/Entities/UndoRedoEntity.d.ts +29 -0
  432. package/lib/Components/UndoRedo/Entities/UndoRedoEntity.js +65 -0
  433. package/lib/Components/UndoRedo/Entities/index.d.ts +1 -0
  434. package/lib/Components/UndoRedo/Entities/index.js +13 -0
  435. package/lib/Components/UndoRedo/Mocks/MockUndoRedo.d.ts +12 -0
  436. package/lib/Components/UndoRedo/Mocks/MockUndoRedo.js +20 -0
  437. package/lib/Components/UndoRedo/PM/HasRedoPM.d.ts +8 -0
  438. package/lib/Components/UndoRedo/PM/HasRedoPM.js +41 -0
  439. package/lib/Components/UndoRedo/PM/HasUndoPM.d.ts +8 -0
  440. package/lib/Components/UndoRedo/PM/HasUndoPM.js +41 -0
  441. package/lib/Components/UndoRedo/PM/index.d.ts +2 -0
  442. package/lib/Components/UndoRedo/PM/index.js +14 -0
  443. package/lib/Components/UndoRedo/index.d.ts +3 -0
  444. package/lib/Components/UndoRedo/index.js +15 -0
  445. package/lib/Components/XR/Entity/index.d.ts +1 -0
  446. package/lib/Components/XR/Entity/index.js +13 -0
  447. package/lib/Components/XR/Mocks/MockRenderToXR.d.ts +8 -0
  448. package/lib/Components/XR/Mocks/MockRenderToXR.js +12 -0
  449. package/lib/Components/XR/Mocks/MockXRSession.d.ts +28 -0
  450. package/lib/Components/XR/Mocks/MockXRSession.js +49 -0
  451. package/lib/Components/XR/Mocks/index.d.ts +2 -0
  452. package/lib/Components/XR/Mocks/index.js +14 -0
  453. package/lib/Components/XR/UC/index.d.ts +1 -0
  454. package/lib/Components/XR/UC/index.js +13 -0
  455. package/lib/Components/XR/index.d.ts +2 -0
  456. package/lib/Components/XR/index.js +14 -0
  457. package/lib/Components/index.d.ts +25 -0
  458. package/lib/Components/index.js +37 -0
  459. package/lib/Components/zSpace/Controllers/EmulateStylus.d.ts +9 -0
  460. package/lib/Components/zSpace/Controllers/EmulateStylus.js +100 -0
  461. package/lib/Components/zSpace/Controllers/ZSpaceScaleRoot.js +57 -0
  462. package/lib/Components/zSpace/Controllers/index.d.ts +1 -0
  463. package/lib/Components/zSpace/Controllers/index.js +13 -0
  464. package/lib/Components/zSpace/Entities/ZSpaceDisplayEntity.d.ts +22 -0
  465. package/lib/Components/zSpace/Entities/ZSpaceDisplayEntity.js +64 -0
  466. package/lib/Components/zSpace/Entities/ZSpaceEntity.d.ts +26 -0
  467. package/lib/Components/zSpace/Entities/ZSpaceEntity.js +79 -0
  468. package/lib/Components/zSpace/Entities/ZSpaceStylusEntity.d.ts +27 -0
  469. package/lib/Components/zSpace/Entities/ZSpaceStylusEntity.js +111 -0
  470. package/lib/Components/zSpace/Entities/ZSpaceViewEntity.d.ts +25 -0
  471. package/lib/Components/zSpace/Entities/ZSpaceViewEntity.js +47 -0
  472. package/lib/Components/zSpace/Entities/index.d.ts +4 -0
  473. package/lib/Components/zSpace/Entities/index.js +16 -0
  474. package/lib/Components/zSpace/Mocks/MockCheckZSpaceDisplaySizeUC.d.ts +8 -0
  475. package/lib/Components/zSpace/Mocks/MockCheckZSpaceDisplaySizeUC.js +12 -0
  476. package/lib/Components/zSpace/PM/StylusColorLengthPM.d.ts +13 -0
  477. package/lib/Components/zSpace/PM/StylusColorLengthPM.js +77 -0
  478. package/lib/Components/zSpace/PM/StylusIsInUsePM.d.ts +6 -0
  479. package/lib/Components/zSpace/PM/StylusIsInUsePM.js +42 -0
  480. package/lib/Components/zSpace/PM/ZSpaceDisplayPM.js +65 -0
  481. package/lib/Components/zSpace/PM/ZSpaceIsEnabledPM.js +41 -0
  482. package/lib/Components/zSpace/PM/ZSpaceIsSupportedPM.d.ts +8 -0
  483. package/lib/Components/zSpace/PM/ZSpaceIsSupportedPM.js +43 -0
  484. package/lib/Components/zSpace/PM/ZSpaceViewerScalePM.d.ts +5 -0
  485. package/lib/Components/zSpace/PM/ZSpaceViewerScalePM.js +41 -0
  486. package/lib/Components/zSpace/PM/index.d.ts +6 -0
  487. package/lib/Components/zSpace/PM/index.js +18 -0
  488. package/lib/Components/zSpace/UC/CheckZSpaceDisplaySizeUC.d.ts +11 -0
  489. package/lib/Components/zSpace/UC/CheckZSpaceDisplaySizeUC.js +8 -0
  490. package/lib/Components/zSpace/UC/EmulateDisplaySizeHook.d.ts +5 -0
  491. package/lib/Components/zSpace/UC/EmulateDisplaySizeHook.js +57 -0
  492. package/lib/Components/zSpace/UC/StylusFromGamepadHook.d.ts +18 -0
  493. package/lib/Components/zSpace/UC/StylusFromGamepadHook.js +82 -0
  494. package/lib/Components/zSpace/UC/index.d.ts +4 -0
  495. package/lib/Components/zSpace/UC/index.js +16 -0
  496. package/lib/Components/zSpace/index.d.ts +4 -0
  497. package/lib/Components/zSpace/index.js +16 -0
  498. package/lib/Entities/MemoizedAngle.d.ts +9 -0
  499. package/lib/Entities/MemoizedColor.d.ts +9 -0
  500. package/lib/Entities/MemoizedColor.js +23 -0
  501. package/lib/Entities/MemoizedQuaternion.d.ts +9 -0
  502. package/lib/Entities/MemoizedQuaternion.js +23 -0
  503. package/lib/Entities/MemoizedVector2.d.ts +9 -0
  504. package/lib/Entities/MemoizedVector2.js +23 -0
  505. package/lib/Entities/MemoizedVector3.d.ts +9 -0
  506. package/lib/Entities/MemoizedVector3.js +23 -0
  507. package/lib/Entities/TransformNode.d.ts +1 -1
  508. package/lib/Entities/index.d.ts +8 -32
  509. package/lib/Entities/index.js +8 -32
  510. package/lib/Types/AppBoundary.d.ts +4 -0
  511. package/lib/Types/index.d.ts +3 -1
  512. package/lib/Types/index.js +3 -1
  513. package/lib/Utilities/index.d.ts +1 -0
  514. package/lib/Utilities/index.js +1 -0
  515. package/lib/ValueObjects/Quaternion.js +1 -1
  516. package/lib/ValueObjects/Rectangle.d.ts +15 -0
  517. package/lib/ValueObjects/Rectangle.js +23 -0
  518. package/lib/ValueObjects/Vector3.d.ts +3 -3
  519. package/lib/ValueObjects/Vector3.js +5 -6
  520. package/lib/ValueObjects/index.d.ts +5 -5
  521. package/lib/ValueObjects/index.js +5 -5
  522. package/lib/index.d.ts +5 -11
  523. package/lib/index.js +5 -12
  524. package/package.json +6 -1
  525. package/lib/AppObjectComponents/App/Controller/clickEditSlideText.d.ts +0 -2
  526. package/lib/AppObjectComponents/App/Controller/clickEditSlideText.js +0 -14
  527. package/lib/AppObjectComponents/App/Controller/removeRenderCanvas.js +0 -14
  528. package/lib/AppObjectComponents/App/Controller/startRenderingApp.d.ts +0 -2
  529. package/lib/AppObjectComponents/App/Controller/startRenderingApp.js +0 -14
  530. package/lib/AppObjectComponents/App/Controller/stopRenderingApp.d.ts +0 -2
  531. package/lib/AppObjectComponents/App/Controller/stopRenderingApp.js +0 -14
  532. package/lib/AppObjectComponents/App/Controller/submitRenderCanvas.js +0 -14
  533. package/lib/AppObjectComponents/App/Entity/BaseAppState.d.ts +0 -14
  534. package/lib/AppObjectComponents/App/Entity/BaseAppState.js +0 -50
  535. package/lib/AppObjectComponents/App/Mocks/MockAppRenderingUC.d.ts +0 -8
  536. package/lib/AppObjectComponents/App/Mocks/MockAppRenderingUC.js +0 -12
  537. package/lib/AppObjectComponents/App/Mocks/MockRenderCanvasUC.d.ts +0 -8
  538. package/lib/AppObjectComponents/App/Mocks/MockRenderCanvasUC.js +0 -12
  539. package/lib/AppObjectComponents/App/PM/IsAuthoringPM.d.ts +0 -11
  540. package/lib/AppObjectComponents/App/PM/IsAuthoringPM.js +0 -38
  541. package/lib/AppObjectComponents/App/PM/IsReviewingPM.d.ts +0 -11
  542. package/lib/AppObjectComponents/App/PM/IsReviewingPM.js +0 -38
  543. package/lib/AppObjectComponents/App/PM/SlideTextPM.d.ts +0 -11
  544. package/lib/AppObjectComponents/App/PM/SlideTextPM.js +0 -37
  545. package/lib/AppObjectComponents/App/UseCase/AppRenderingUC.d.ts +0 -8
  546. package/lib/AppObjectComponents/App/UseCase/AppRenderingUC.js +0 -20
  547. package/lib/AppObjectComponents/App/UseCase/EditSlideTextUC.d.ts +0 -17
  548. package/lib/AppObjectComponents/App/UseCase/EditSlideTextUC.js +0 -67
  549. package/lib/AppObjectComponents/App/UseCase/RenderCanvasUC.d.ts +0 -10
  550. package/lib/AppObjectComponents/App/UseCase/RenderCanvasUC.js +0 -101
  551. package/lib/AppObjectComponents/App/UseCase/removeRenderCanvas.d.ts +0 -2
  552. package/lib/AppObjectComponents/App/UseCase/removeRenderCanvas.js +0 -23
  553. package/lib/AppObjectComponents/App/UseCase/submitError.js +0 -26
  554. package/lib/AppObjectComponents/App/UseCase/submitFatal.js +0 -26
  555. package/lib/AppObjectComponents/App/UseCase/submitLog.js +0 -26
  556. package/lib/AppObjectComponents/App/UseCase/submitRenderCanvas.d.ts +0 -2
  557. package/lib/AppObjectComponents/App/UseCase/submitRenderCanvas.js +0 -26
  558. package/lib/AppObjectComponents/App/UseCase/submitWarning.js +0 -26
  559. package/lib/AppObjectComponents/App/index.d.ts +0 -14
  560. package/lib/AppObjectComponents/App/index.js +0 -26
  561. package/lib/AppObjectComponents/Babylon/Entities/BabylonEntity.d.ts +0 -16
  562. package/lib/AppObjectComponents/Babylon/Entities/BabylonEntity.js +0 -80
  563. package/lib/AppObjectComponents/Babylon/Factory/makeBabylon.d.ts +0 -2
  564. package/lib/AppObjectComponents/Babylon/Factory/makeBabylon.js +0 -11
  565. package/lib/AppObjectComponents/Babylon/Mocks/MockBabylonRenderingUC.d.ts +0 -9
  566. package/lib/AppObjectComponents/Babylon/Mocks/MockBabylonRenderingUC.js +0 -13
  567. package/lib/AppObjectComponents/Babylon/PresentationManangers/ShowBabylonInspectorPM.js +0 -28
  568. package/lib/AppObjectComponents/Babylon/UseCases/BabylonRenderingUC.d.ts +0 -9
  569. package/lib/AppObjectComponents/Babylon/UseCases/BabylonRenderingUC.js +0 -20
  570. package/lib/AppObjectComponents/Babylon/UseCases/PixelToSceneRayUC.d.ts +0 -9
  571. package/lib/AppObjectComponents/Babylon/UseCases/PixelToSceneRayUC.js +0 -30
  572. package/lib/AppObjectComponents/Babylon/UseCases/ScenePixelPickUC.d.ts +0 -17
  573. package/lib/AppObjectComponents/Babylon/UseCases/ScenePixelPickUC.js +0 -29
  574. package/lib/AppObjectComponents/Babylon/UseCases/SceneRayPickUC.d.ts +0 -16
  575. package/lib/AppObjectComponents/Babylon/UseCases/SceneRayPickUC.js +0 -29
  576. package/lib/AppObjectComponents/Babylon/index.d.ts +0 -7
  577. package/lib/AppObjectComponents/Babylon/index.js +0 -19
  578. package/lib/AppObjectComponents/ChannelModel/Entities/ChannelModel.d.ts +0 -42
  579. package/lib/AppObjectComponents/ChannelModel/Entities/ChannelModel.js +0 -99
  580. package/lib/AppObjectComponents/ChannelModel/Entities/ChannelModelRepo.d.ts +0 -12
  581. package/lib/AppObjectComponents/ChannelModel/Entities/ChannelModelRepo.js +0 -45
  582. package/lib/AppObjectComponents/ChannelModel/UseCases/ProcessChannelModelUC.d.ts +0 -7
  583. package/lib/AppObjectComponents/ChannelModel/UseCases/ProcessChannelModelUC.js +0 -19
  584. package/lib/AppObjectComponents/ChannelModel/UseCases/SelectChannelModelUC.d.ts +0 -9
  585. package/lib/AppObjectComponents/ChannelModel/UseCases/SelectChannelModelUC.js +0 -63
  586. package/lib/AppObjectComponents/ChannelModel/UseCases/SetupChannelModelUC.d.ts +0 -10
  587. package/lib/AppObjectComponents/ChannelModel/UseCases/SetupChannelModelUC.js +0 -21
  588. package/lib/AppObjectComponents/ChannelModel/index.d.ts +0 -2
  589. package/lib/AppObjectComponents/ChannelModel/index.js +0 -14
  590. package/lib/AppObjectComponents/Dispatcher/Entities/AppDispatcher.d.ts +0 -16
  591. package/lib/AppObjectComponents/Dispatcher/Entities/AppDispatcher.js +0 -40
  592. package/lib/AppObjectComponents/Dispatcher/Factories/makeBasicDispatcher.d.ts +0 -5
  593. package/lib/AppObjectComponents/Dispatcher/Factories/makeBasicDispatcher.js +0 -25
  594. package/lib/AppObjectComponents/Dispatcher/UC/AppIsReadyUC.d.ts +0 -11
  595. package/lib/AppObjectComponents/Dispatcher/UC/AppIsReadyUC.js +0 -55
  596. package/lib/AppObjectComponents/Dispatcher/UC/DispatchStartZSpaceUC.d.ts +0 -10
  597. package/lib/AppObjectComponents/Dispatcher/UC/DispatchStartZSpaceUC.js +0 -44
  598. package/lib/AppObjectComponents/Dispatcher/UC/DispatchStateChangeUC.d.ts +0 -18
  599. package/lib/AppObjectComponents/Dispatcher/UC/DispatchStateChangeUC.js +0 -78
  600. package/lib/AppObjectComponents/Dispatcher/UC/DispatchStopZSpaceUC.d.ts +0 -10
  601. package/lib/AppObjectComponents/Dispatcher/UC/DispatchStopZSpaceUC.js +0 -44
  602. package/lib/AppObjectComponents/Dispatcher/UC/GetAssetBlobURLUC.d.ts +0 -11
  603. package/lib/AppObjectComponents/Dispatcher/UC/GetAssetBlobURLUC.js +0 -72
  604. package/lib/AppObjectComponents/Dispatcher/UC/GetAssetFolderURLUC.d.ts +0 -11
  605. package/lib/AppObjectComponents/Dispatcher/UC/GetAssetFolderURLUC.js +0 -71
  606. package/lib/AppObjectComponents/Dispatcher/UC/GetAssetMetaUC.d.ts +0 -12
  607. package/lib/AppObjectComponents/Dispatcher/UC/GetAssetMetaUC.js +0 -72
  608. package/lib/AppObjectComponents/Dispatcher/UC/GetAssetsForOwnerUC.d.ts +0 -12
  609. package/lib/AppObjectComponents/Dispatcher/UC/GetAssetsForOwnerUC.js +0 -72
  610. package/lib/AppObjectComponents/Dispatcher/UC/GetLinkedAssetsUC.d.ts +0 -12
  611. package/lib/AppObjectComponents/Dispatcher/UC/GetLinkedAssetsUC.js +0 -73
  612. package/lib/AppObjectComponents/Dispatcher/UC/GoToNextStateUC.d.ts +0 -10
  613. package/lib/AppObjectComponents/Dispatcher/UC/GoToNextStateUC.js +0 -44
  614. package/lib/AppObjectComponents/Dispatcher/UC/GoToPreviousStateUC.d.ts +0 -10
  615. package/lib/AppObjectComponents/Dispatcher/UC/GoToPreviousStateUC.js +0 -44
  616. package/lib/AppObjectComponents/Dispatcher/UC/HasNextStateUC.d.ts +0 -10
  617. package/lib/AppObjectComponents/Dispatcher/UC/HasNextStateUC.js +0 -54
  618. package/lib/AppObjectComponents/Dispatcher/UC/HasPreviousStateUC.d.ts +0 -10
  619. package/lib/AppObjectComponents/Dispatcher/UC/HasPreviousStateUC.js +0 -54
  620. package/lib/AppObjectComponents/Dispatcher/UC/IsAssetFetchedUC.d.ts +0 -11
  621. package/lib/AppObjectComponents/Dispatcher/UC/IsAssetFetchedUC.js +0 -67
  622. package/lib/AppObjectComponents/Dispatcher/UC/IsZSpaceAvailableUC.d.ts +0 -10
  623. package/lib/AppObjectComponents/Dispatcher/UC/IsZSpaceAvailableUC.js +0 -54
  624. package/lib/AppObjectComponents/Dispatcher/UC/LogUC.d.ts +0 -13
  625. package/lib/AppObjectComponents/Dispatcher/UC/LogUC.js +0 -61
  626. package/lib/AppObjectComponents/Dispatcher/UC/RegisterExternalStylesheetsUC.d.ts +0 -11
  627. package/lib/AppObjectComponents/Dispatcher/UC/RegisterExternalStylesheetsUC.js +0 -57
  628. package/lib/AppObjectComponents/Dispatcher/UC/ShowAlertUC.d.ts +0 -16
  629. package/lib/AppObjectComponents/Dispatcher/UC/ShowAlertUC.js +0 -50
  630. package/lib/AppObjectComponents/Dispatcher/UC/ShowConfirmUC.d.ts +0 -18
  631. package/lib/AppObjectComponents/Dispatcher/UC/ShowConfirmUC.js +0 -52
  632. package/lib/AppObjectComponents/Dispatcher/UC/ShowMarkdownEditorUC.d.ts +0 -15
  633. package/lib/AppObjectComponents/Dispatcher/UC/ShowMarkdownEditorUC.js +0 -52
  634. package/lib/AppObjectComponents/Dispatcher/UC/ShowSelectModelUC.d.ts +0 -13
  635. package/lib/AppObjectComponents/Dispatcher/UC/ShowSelectModelUC.js +0 -54
  636. package/lib/AppObjectComponents/Dispatcher/UC/ShowSpinnerUC.d.ts +0 -10
  637. package/lib/AppObjectComponents/Dispatcher/UC/ShowSpinnerUC.js +0 -57
  638. package/lib/AppObjectComponents/Dispatcher/UC/StateHasChangedUC.d.ts +0 -10
  639. package/lib/AppObjectComponents/Dispatcher/UC/StateHasChangedUC.js +0 -49
  640. package/lib/AppObjectComponents/Dispatcher/UC/StateIsCompleteUC.d.ts +0 -11
  641. package/lib/AppObjectComponents/Dispatcher/UC/StateIsCompleteUC.js +0 -55
  642. package/lib/AppObjectComponents/Dispatcher/UC/SubmitResultResultUC.d.ts +0 -43
  643. package/lib/AppObjectComponents/Dispatcher/UC/SubmitResultResultUC.js +0 -159
  644. package/lib/AppObjectComponents/Dispatcher/index.d.ts +0 -9
  645. package/lib/AppObjectComponents/Dispatcher/index.js +0 -21
  646. package/lib/AppObjectComponents/Enablement/PM/EnablableStatePM.js +0 -41
  647. package/lib/AppObjectComponents/Enablement/index.d.ts +0 -2
  648. package/lib/AppObjectComponents/Enablement/index.js +0 -14
  649. package/lib/AppObjectComponents/Hideable/PresentationManagers/IsHiddenPM.js +0 -43
  650. package/lib/AppObjectComponents/Hideable/index.d.ts +0 -2
  651. package/lib/AppObjectComponents/Hideable/index.js +0 -14
  652. package/lib/AppObjectComponents/KeyboardInput/Entities/KeyboardInput.d.ts +0 -18
  653. package/lib/AppObjectComponents/KeyboardInput/Entities/KeyboardInput.js +0 -86
  654. package/lib/AppObjectComponents/KeyboardInput/index.d.ts +0 -1
  655. package/lib/AppObjectComponents/KeyboardInput/index.js +0 -13
  656. package/lib/AppObjectComponents/Label/PresentationManagers/LabelPM.js +0 -62
  657. package/lib/AppObjectComponents/Label/index.d.ts +0 -2
  658. package/lib/AppObjectComponents/Label/index.js +0 -14
  659. package/lib/AppObjectComponents/Mesh/index.d.ts +0 -1
  660. package/lib/AppObjectComponents/Mesh/index.js +0 -13
  661. package/lib/AppObjectComponents/MouseInput/Entities/MouseInput.d.ts +0 -31
  662. package/lib/AppObjectComponents/MouseInput/Entities/MouseInput.js +0 -196
  663. package/lib/AppObjectComponents/MouseInput/index.d.ts +0 -1
  664. package/lib/AppObjectComponents/MouseInput/index.js +0 -13
  665. package/lib/AppObjectComponents/OverlayColor/PresentationManagers/OverlayColorPM.js +0 -43
  666. package/lib/AppObjectComponents/OverlayColor/index.d.ts +0 -2
  667. package/lib/AppObjectComponents/OverlayColor/index.js +0 -14
  668. package/lib/AppObjectComponents/Question/Controllers/setAnswerFeedback.js +0 -25
  669. package/lib/AppObjectComponents/Question/Controllers/setAnswerText.js +0 -25
  670. package/lib/AppObjectComponents/Question/Controllers/submitQuestionAnswer.js +0 -14
  671. package/lib/AppObjectComponents/Question/Controllers/toggleAnswerIsCorrect.js +0 -25
  672. package/lib/AppObjectComponents/Question/Entities/QuestionEntity.d.ts +0 -24
  673. package/lib/AppObjectComponents/Question/Entities/QuestionEntity.js +0 -122
  674. package/lib/AppObjectComponents/Question/Factories/index.d.ts +0 -2
  675. package/lib/AppObjectComponents/Question/Factories/index.js +0 -14
  676. package/lib/AppObjectComponents/Question/Factories/setupQuestionAnswer.d.ts +0 -3
  677. package/lib/AppObjectComponents/Question/Factories/setupQuestionAnswer.js +0 -20
  678. package/lib/AppObjectComponents/Question/Factories/setupQuestionChallenge.d.ts +0 -3
  679. package/lib/AppObjectComponents/Question/Factories/setupQuestionChallenge.js +0 -22
  680. package/lib/AppObjectComponents/Question/PresentationManagers/QuestionAnswerPM.js +0 -60
  681. package/lib/AppObjectComponents/Question/PresentationManagers/QuestionChallengeAnswerPM.d.ts +0 -20
  682. package/lib/AppObjectComponents/Question/PresentationManagers/QuestionChallengeAnswerPM.js +0 -70
  683. package/lib/AppObjectComponents/Question/PresentationManagers/QuestionChallengePM.d.ts +0 -19
  684. package/lib/AppObjectComponents/Question/PresentationManagers/QuestionChallengePM.js +0 -71
  685. package/lib/AppObjectComponents/Question/UseCases/AddQuestionAnswerUC.d.ts +0 -10
  686. package/lib/AppObjectComponents/Question/UseCases/AddQuestionAnswerUC.js +0 -52
  687. package/lib/AppObjectComponents/Question/UseCases/DeleteQuestionAnswerUC.d.ts +0 -10
  688. package/lib/AppObjectComponents/Question/UseCases/DeleteQuestionAnswerUC.js +0 -54
  689. package/lib/AppObjectComponents/Question/UseCases/SerializeQuestionChallenge.d.ts +0 -35
  690. package/lib/AppObjectComponents/Question/UseCases/SerializeQuestionChallenge.js +0 -94
  691. package/lib/AppObjectComponents/Question/UseCases/SetAnswerFeedbackUC.js +0 -33
  692. package/lib/AppObjectComponents/Question/UseCases/SetAnswerTextUC.js +0 -33
  693. package/lib/AppObjectComponents/Question/UseCases/SetQuesionAnswerFeedback.d.ts +0 -2
  694. package/lib/AppObjectComponents/Question/UseCases/SetQuesionAnswerFeedback.js +0 -16
  695. package/lib/AppObjectComponents/Question/UseCases/SubmitQuestionAnswerUC.d.ts +0 -9
  696. package/lib/AppObjectComponents/Question/UseCases/SubmitQuestionAnswerUC.js +0 -59
  697. package/lib/AppObjectComponents/Question/UseCases/ToggleQuestionAnswerIsCorrect.d.ts +0 -7
  698. package/lib/AppObjectComponents/Question/UseCases/ToggleQuestionAnswerIsCorrect.js +0 -31
  699. package/lib/AppObjectComponents/SceneRoot/Controllers/DoubleTapToFocus.js +0 -89
  700. package/lib/AppObjectComponents/SceneRoot/Controllers/MouseClickToFocus.d.ts +0 -11
  701. package/lib/AppObjectComponents/SceneRoot/Controllers/MouseClickToFocus.js +0 -36
  702. package/lib/AppObjectComponents/SceneRoot/Controllers/MouseDoubleClickToRecenter.d.ts +0 -12
  703. package/lib/AppObjectComponents/SceneRoot/Controllers/MouseDoubleClickToRecenter.js +0 -37
  704. package/lib/AppObjectComponents/SceneRoot/Controllers/MouseOrbit.d.ts +0 -14
  705. package/lib/AppObjectComponents/SceneRoot/Controllers/MouseOrbit.js +0 -55
  706. package/lib/AppObjectComponents/SceneRoot/Controllers/MousePan.d.ts +0 -14
  707. package/lib/AppObjectComponents/SceneRoot/Controllers/MousePan.js +0 -50
  708. package/lib/AppObjectComponents/SceneRoot/Controllers/MouseRoll.d.ts +0 -11
  709. package/lib/AppObjectComponents/SceneRoot/Controllers/MouseRoll.js +0 -38
  710. package/lib/AppObjectComponents/SceneRoot/Controllers/MouseScale.d.ts +0 -14
  711. package/lib/AppObjectComponents/SceneRoot/Controllers/MouseScale.js +0 -51
  712. package/lib/AppObjectComponents/SceneRoot/Controllers/TouchOrbit.js +0 -52
  713. package/lib/AppObjectComponents/SceneRoot/Controllers/TouchPan.js +0 -53
  714. package/lib/AppObjectComponents/SceneRoot/Controllers/TouchPinch.js +0 -56
  715. package/lib/AppObjectComponents/SceneRoot/Controllers/TouchScale.js +0 -57
  716. package/lib/AppObjectComponents/SceneRoot/Entities/SceneRoot.d.ts +0 -31
  717. package/lib/AppObjectComponents/SceneRoot/Entities/SceneRoot.js +0 -106
  718. package/lib/AppObjectComponents/SceneRoot/Factory/setupSceneRoot.d.ts +0 -3
  719. package/lib/AppObjectComponents/SceneRoot/Factory/setupSceneRoot.js +0 -28
  720. package/lib/AppObjectComponents/SceneRoot/UC/BumpSceneRootScaleAboutPixelPoint.d.ts +0 -11
  721. package/lib/AppObjectComponents/SceneRoot/UC/BumpSceneRootScaleAboutPixelPoint.js +0 -60
  722. package/lib/AppObjectComponents/SceneRoot/UC/CenterSceneRootOnPixelPick.d.ts +0 -14
  723. package/lib/AppObjectComponents/SceneRoot/UC/CenterSceneRootOnPixelPick.js +0 -62
  724. package/lib/AppObjectComponents/SceneRoot/UC/DragScaleSceneRoot.d.ts +0 -12
  725. package/lib/AppObjectComponents/SceneRoot/UC/DragScaleSceneRoot.js +0 -74
  726. package/lib/AppObjectComponents/SceneRoot/UC/FocusOnPixel.d.ts +0 -13
  727. package/lib/AppObjectComponents/SceneRoot/UC/FocusOnPixel.js +0 -56
  728. package/lib/AppObjectComponents/SceneRoot/UC/OrbitSceneRoot.d.ts +0 -14
  729. package/lib/AppObjectComponents/SceneRoot/UC/OrbitSceneRoot.js +0 -92
  730. package/lib/AppObjectComponents/SceneRoot/UC/PanSceneRoot.d.ts +0 -13
  731. package/lib/AppObjectComponents/SceneRoot/UC/PanSceneRoot.js +0 -86
  732. package/lib/AppObjectComponents/SceneRoot/UC/PinchSceneRoot.d.ts +0 -13
  733. package/lib/AppObjectComponents/SceneRoot/UC/PinchSceneRoot.js +0 -102
  734. package/lib/AppObjectComponents/SceneRoot/UC/ScaleSceneRootWithRay.d.ts +0 -14
  735. package/lib/AppObjectComponents/SceneRoot/UC/ScaleSceneRootWithRay.js +0 -38
  736. package/lib/AppObjectComponents/SceneRoot/UC/SerializeSceneRoot.d.ts +0 -31
  737. package/lib/AppObjectComponents/SceneRoot/UC/SerializeSceneRoot.js +0 -109
  738. package/lib/AppObjectComponents/SceneRoot/index.d.ts +0 -2
  739. package/lib/AppObjectComponents/SceneRoot/index.js +0 -14
  740. package/lib/AppObjectComponents/StateMachine/Entities/StateMachineEntity.d.ts +0 -30
  741. package/lib/AppObjectComponents/StateMachine/Entities/StateMachineEntity.js +0 -105
  742. package/lib/AppObjectComponents/StateMachine/index.d.ts +0 -1
  743. package/lib/AppObjectComponents/StateMachine/index.js +0 -13
  744. package/lib/AppObjectComponents/StoredView/Entities/StoredView.d.ts +0 -13
  745. package/lib/AppObjectComponents/StoredView/Entities/StoredView.js +0 -64
  746. package/lib/AppObjectComponents/StoredView/UC/SerializeStoredView.d.ts +0 -27
  747. package/lib/AppObjectComponents/StoredView/UC/SerializeStoredView.js +0 -82
  748. package/lib/AppObjectComponents/StoredView/index.d.ts +0 -2
  749. package/lib/AppObjectComponents/StoredView/index.js +0 -14
  750. package/lib/AppObjectComponents/Tools/Controller/ToolHotkeys.js +0 -43
  751. package/lib/AppObjectComponents/Tools/Controller/triggerTool.js +0 -14
  752. package/lib/AppObjectComponents/Tools/Entities/ToolRepository.d.ts +0 -17
  753. package/lib/AppObjectComponents/Tools/Entities/ToolRepository.js +0 -132
  754. package/lib/AppObjectComponents/Tools/Factories/setupTool.js +0 -12
  755. package/lib/AppObjectComponents/Tools/PresentationManagers/ToolPM.js +0 -66
  756. package/lib/AppObjectComponents/Tools/index.d.ts +0 -6
  757. package/lib/AppObjectComponents/Tools/index.js +0 -18
  758. package/lib/AppObjectComponents/TouchController/Entities/TouchInput.d.ts +0 -33
  759. package/lib/AppObjectComponents/TouchController/Entities/TouchInput.js +0 -161
  760. package/lib/AppObjectComponents/TouchController/index.d.ts +0 -1
  761. package/lib/AppObjectComponents/TouchController/index.js +0 -13
  762. package/lib/AppObjectComponents/Transform3D/Entities/Transform3D.d.ts +0 -45
  763. package/lib/AppObjectComponents/Transform3D/Entities/Transform3D.js +0 -226
  764. package/lib/AppObjectComponents/Transform3D/PresentationManagers/CanBeStuckPM.d.ts +0 -12
  765. package/lib/AppObjectComponents/Transform3D/PresentationManagers/CanBeStuckPM.js +0 -46
  766. package/lib/AppObjectComponents/Transform3D/PresentationManagers/Transform3DPM.d.ts +0 -19
  767. package/lib/AppObjectComponents/Transform3D/PresentationManagers/Transform3DPM.js +0 -60
  768. package/lib/AppObjectComponents/Transform3D/UseCases/PeelTransform3D.d.ts +0 -20
  769. package/lib/AppObjectComponents/Transform3D/UseCases/PeelTransform3D.js +0 -67
  770. package/lib/AppObjectComponents/Transform3D/UseCases/StickTransform3D.d.ts +0 -14
  771. package/lib/AppObjectComponents/Transform3D/UseCases/StickTransform3D.js +0 -53
  772. package/lib/AppObjectComponents/Transform3D/index.d.ts +0 -5
  773. package/lib/AppObjectComponents/Transform3D/index.js +0 -17
  774. package/lib/AppObjectComponents/UndoRedo/Controllers/clearUndoStack.js +0 -14
  775. package/lib/AppObjectComponents/UndoRedo/Controllers/doRedo.js +0 -14
  776. package/lib/AppObjectComponents/UndoRedo/Controllers/doUndo.js +0 -14
  777. package/lib/AppObjectComponents/UndoRedo/Entities/UndoRedoEntity.d.ts +0 -31
  778. package/lib/AppObjectComponents/UndoRedo/Entities/UndoRedoEntity.js +0 -76
  779. package/lib/AppObjectComponents/UndoRedo/Factories/setupUndo.d.ts +0 -3
  780. package/lib/AppObjectComponents/UndoRedo/Factories/setupUndo.js +0 -14
  781. package/lib/AppObjectComponents/UndoRedo/PresentationManager/HasRedoPM.d.ts +0 -12
  782. package/lib/AppObjectComponents/UndoRedo/PresentationManager/HasRedoPM.js +0 -45
  783. package/lib/AppObjectComponents/UndoRedo/PresentationManager/HasUndoPM.d.ts +0 -12
  784. package/lib/AppObjectComponents/UndoRedo/PresentationManager/HasUndoPM.js +0 -45
  785. package/lib/AppObjectComponents/UndoRedo/index.d.ts +0 -7
  786. package/lib/AppObjectComponents/UndoRedo/index.js +0 -19
  787. package/lib/AppObjectComponents/XR/index.d.ts +0 -2
  788. package/lib/AppObjectComponents/XR/index.js +0 -14
  789. package/lib/AppObjectComponents/index.d.ts +0 -10
  790. package/lib/AppObjectComponents/index.js +0 -22
  791. package/lib/AppObjectComponents/zSpace/Controllers/ZSpaceScaleRoot.js +0 -57
  792. package/lib/AppObjectComponents/zSpace/Controllers/ZSpaceStylusRootMovement.d.ts +0 -13
  793. package/lib/AppObjectComponents/zSpace/Controllers/ZSpaceStylusRootMovement.js +0 -51
  794. package/lib/AppObjectComponents/zSpace/Entities/ZSpaceDisplayEntity.d.ts +0 -21
  795. package/lib/AppObjectComponents/zSpace/Entities/ZSpaceDisplayEntity.js +0 -60
  796. package/lib/AppObjectComponents/zSpace/Entities/ZSpaceEntity.d.ts +0 -21
  797. package/lib/AppObjectComponents/zSpace/Entities/ZSpaceEntity.js +0 -64
  798. package/lib/AppObjectComponents/zSpace/Entities/ZSpaceStylusEntity.d.ts +0 -26
  799. package/lib/AppObjectComponents/zSpace/Entities/ZSpaceStylusEntity.js +0 -86
  800. package/lib/AppObjectComponents/zSpace/Entities/ZSpaceViewEntity.d.ts +0 -25
  801. package/lib/AppObjectComponents/zSpace/Entities/ZSpaceViewEntity.js +0 -47
  802. package/lib/AppObjectComponents/zSpace/Factories/makeZSpace.d.ts +0 -3
  803. package/lib/AppObjectComponents/zSpace/Factories/makeZSpace.js +0 -31
  804. package/lib/AppObjectComponents/zSpace/PM/ZSpaceDisplayPM.js +0 -65
  805. package/lib/AppObjectComponents/zSpace/PM/ZSpaceIsEnabledPM.js +0 -41
  806. package/lib/AppObjectComponents/zSpace/UseCases/StylusFromGamepadHook.d.ts +0 -18
  807. package/lib/AppObjectComponents/zSpace/UseCases/StylusFromGamepadHook.js +0 -79
  808. package/lib/AppObjectComponents/zSpace/UseCases/StylusRootMovementUC.d.ts +0 -12
  809. package/lib/AppObjectComponents/zSpace/UseCases/StylusRootMovementUC.js +0 -69
  810. package/lib/AppObjectComponents/zSpace/index.d.ts +0 -12
  811. package/lib/AppObjectComponents/zSpace/index.js +0 -24
  812. package/lib/Controllers/HoverLabelMouse.d.ts +0 -10
  813. package/lib/Controllers/HoverLabelMouse.js +0 -23
  814. package/lib/Controllers/HoverLabelTouch.d.ts +0 -14
  815. package/lib/Controllers/HoverLabelTouch.js +0 -41
  816. package/lib/Controllers/ToolHotkeys.d.ts +0 -6
  817. package/lib/Controllers/ToolHotkeys.js +0 -25
  818. package/lib/Controllers/index.d.ts +0 -3
  819. package/lib/Controllers/index.js +0 -15
  820. package/lib/Entities/AppBoundary.d.ts +0 -6
  821. package/lib/Entities/AppBoundary.js +0 -2
  822. package/lib/Entities/AppDispatcher.d.ts +0 -63
  823. package/lib/Entities/AppDispatcher.js +0 -336
  824. package/lib/Entities/AppHandler.d.ts +0 -20
  825. package/lib/Entities/AppHandler.js +0 -94
  826. package/lib/Entities/Babylon.d.ts +0 -48
  827. package/lib/Entities/Babylon.js +0 -146
  828. package/lib/Entities/BaseApp.d.ts +0 -9
  829. package/lib/Entities/BaseApp.js +0 -30
  830. package/lib/Entities/DevicePreview.d.ts +0 -11
  831. package/lib/Entities/DevicePreview.js +0 -49
  832. package/lib/Entities/FramedScreen.d.ts +0 -15
  833. package/lib/Entities/FramedScreen.js +0 -58
  834. package/lib/Entities/FramedScreenContainer.d.ts +0 -12
  835. package/lib/Entities/FramedScreenContainer.js +0 -41
  836. package/lib/Entities/HoverLabels.d.ts +0 -42
  837. package/lib/Entities/HoverLabels.js +0 -82
  838. package/lib/Entities/KeyboardInput.d.ts +0 -13
  839. package/lib/Entities/KeyboardInput.js +0 -68
  840. package/lib/Entities/Memoized/MemoizedAngle.d.ts +0 -9
  841. package/lib/Entities/Memoized/MemoizedColor.d.ts +0 -9
  842. package/lib/Entities/Memoized/MemoizedColor.js +0 -23
  843. package/lib/Entities/Memoized/MemoizedQuaternion.d.ts +0 -9
  844. package/lib/Entities/Memoized/MemoizedQuaternion.js +0 -23
  845. package/lib/Entities/Memoized/MemoizedVector2.d.ts +0 -9
  846. package/lib/Entities/Memoized/MemoizedVector2.js +0 -23
  847. package/lib/Entities/Memoized/MemoizedVector3.d.ts +0 -9
  848. package/lib/Entities/Memoized/MemoizedVector3.js +0 -23
  849. package/lib/Entities/MouseInput.d.ts +0 -21
  850. package/lib/Entities/MouseInput.js +0 -127
  851. package/lib/Entities/ObservableEntityRepo.d.ts +0 -20
  852. package/lib/Entities/ObservableEntityRepo.js +0 -80
  853. package/lib/Entities/QuestionChallenge.d.ts +0 -21
  854. package/lib/Entities/QuestionChallenge.js +0 -105
  855. package/lib/Entities/QuestionChallengeAnswer.d.ts +0 -32
  856. package/lib/Entities/QuestionChallengeAnswer.js +0 -51
  857. package/lib/Entities/SceneModel.d.ts +0 -85
  858. package/lib/Entities/SceneModel.js +0 -202
  859. package/lib/Entities/SceneModelMesh.d.ts +0 -40
  860. package/lib/Entities/SceneModelMesh.js +0 -75
  861. package/lib/Entities/SceneModelRepo.d.ts +0 -11
  862. package/lib/Entities/SceneModelRepo.js +0 -48
  863. package/lib/Entities/SceneObject.d.ts +0 -23
  864. package/lib/Entities/SceneObject.js +0 -79
  865. package/lib/Entities/SceneObjectsRepo.d.ts +0 -12
  866. package/lib/Entities/SceneObjectsRepo.js +0 -58
  867. package/lib/Entities/StateMachine.d.ts +0 -29
  868. package/lib/Entities/StateMachine.js +0 -98
  869. package/lib/Entities/Tool.d.ts +0 -81
  870. package/lib/Entities/Tool.js +0 -94
  871. package/lib/Entities/ToolRepository.d.ts +0 -46
  872. package/lib/Entities/ToolRepository.js +0 -118
  873. package/lib/Entities/TouchInput.d.ts +0 -28
  874. package/lib/Entities/TouchInput.js +0 -144
  875. package/lib/Entities/UndoRedo.d.ts +0 -22
  876. package/lib/Entities/UndoRedo.js +0 -61
  877. package/lib/PresentationManagers/DevicePreviewPM.d.ts +0 -14
  878. package/lib/PresentationManagers/DevicePreviewPM.js +0 -30
  879. package/lib/PresentationManagers/FramedScreenContainerPM.d.ts +0 -18
  880. package/lib/PresentationManagers/FramedScreenContainerPM.js +0 -55
  881. package/lib/PresentationManagers/HasRedoPM.d.ts +0 -9
  882. package/lib/PresentationManagers/HasRedoPM.js +0 -22
  883. package/lib/PresentationManagers/HasUndoPM.d.ts +0 -9
  884. package/lib/PresentationManagers/HasUndoPM.js +0 -22
  885. package/lib/PresentationManagers/HoverLabels/AllowHoverLabelPM.d.ts +0 -9
  886. package/lib/PresentationManagers/HoverLabels/AllowHoverLabelPM.js +0 -19
  887. package/lib/PresentationManagers/HoverLabels/HoverLabelPM.d.ts +0 -17
  888. package/lib/PresentationManagers/HoverLabels/HoverLabelPM.js +0 -32
  889. package/lib/PresentationManagers/HoverLabels/index.d.ts +0 -2
  890. package/lib/PresentationManagers/HoverLabels/index.js +0 -14
  891. package/lib/PresentationManagers/IsAuthoringPM.d.ts +0 -9
  892. package/lib/PresentationManagers/IsAuthoringPM.js +0 -20
  893. package/lib/PresentationManagers/PresentationManager.d.ts +0 -8
  894. package/lib/PresentationManagers/PresentationManager.js +0 -16
  895. package/lib/PresentationManagers/QuestionChallenge/AuthorQuestionChallengeAnswerPM.d.ts +0 -24
  896. package/lib/PresentationManagers/QuestionChallenge/AuthorQuestionChallengeAnswerPM.js +0 -65
  897. package/lib/PresentationManagers/QuestionChallenge/AuthorQuestionChallengePM.d.ts +0 -17
  898. package/lib/PresentationManagers/QuestionChallenge/AuthorQuestionChallengePM.js +0 -46
  899. package/lib/PresentationManagers/QuestionChallenge/QuestionChallengeAnswerPM.d.ts +0 -17
  900. package/lib/PresentationManagers/QuestionChallenge/QuestionChallengeAnswerPM.js +0 -51
  901. package/lib/PresentationManagers/QuestionChallenge/QuestionChallengePM.d.ts +0 -15
  902. package/lib/PresentationManagers/QuestionChallenge/QuestionChallengePM.js +0 -34
  903. package/lib/PresentationManagers/QuestionChallenge/index.d.ts +0 -4
  904. package/lib/PresentationManagers/QuestionChallenge/index.js +0 -16
  905. package/lib/PresentationManagers/SceneModel/SceneModelPM.d.ts +0 -15
  906. package/lib/PresentationManagers/SceneModel/SceneModelPM.js +0 -36
  907. package/lib/PresentationManagers/SceneModel/index.d.ts +0 -1
  908. package/lib/PresentationManagers/SceneModel/index.js +0 -13
  909. package/lib/PresentationManagers/SceneObject/SceneObjectPM.d.ts +0 -22
  910. package/lib/PresentationManagers/SceneObject/SceneObjectPM.js +0 -57
  911. package/lib/PresentationManagers/SceneObject/index.d.ts +0 -1
  912. package/lib/PresentationManagers/SceneObject/index.js +0 -13
  913. package/lib/PresentationManagers/ShowBabylonInspectorPM.d.ts +0 -9
  914. package/lib/PresentationManagers/ShowBabylonInspectorPM.js +0 -24
  915. package/lib/PresentationManagers/ToolPM.d.ts +0 -17
  916. package/lib/PresentationManagers/ToolPM.js +0 -35
  917. package/lib/PresentationManagers/TransformNodePM.d.ts +0 -14
  918. package/lib/PresentationManagers/TransformNodePM.js +0 -23
  919. package/lib/PresentationManagers/index.d.ts +0 -13
  920. package/lib/PresentationManagers/index.js +0 -25
  921. package/lib/UseCases/Handlers/DisposeAppBase.d.ts +0 -8
  922. package/lib/UseCases/Handlers/DisposeAppBase.js +0 -24
  923. package/lib/UseCases/Handlers/SetAppStateBase.d.ts +0 -10
  924. package/lib/UseCases/Handlers/SetAppStateBase.js +0 -32
  925. package/lib/UseCases/Handlers/SetDevicePreviewBase.d.ts +0 -10
  926. package/lib/UseCases/Handlers/SetDevicePreviewBase.js +0 -32
  927. package/lib/UseCases/Handlers/SetIsAuthoringBase.d.ts +0 -10
  928. package/lib/UseCases/Handlers/SetIsAuthoringBase.js +0 -32
  929. package/lib/UseCases/Handlers/SetThemeColorsBase.d.ts +0 -13
  930. package/lib/UseCases/Handlers/SetThemeColorsBase.js +0 -32
  931. package/lib/UseCases/Handlers/ShowBabylonInspectorBase.d.ts +0 -10
  932. package/lib/UseCases/Handlers/ShowBabylonInspectorBase.js +0 -32
  933. package/lib/UseCases/Handlers/StartAppBase.d.ts +0 -10
  934. package/lib/UseCases/Handlers/StartAppBase.js +0 -32
  935. package/lib/UseCases/Handlers/StartZSpaceBase.d.ts +0 -10
  936. package/lib/UseCases/Handlers/StartZSpaceBase.js +0 -35
  937. package/lib/UseCases/Handlers/StopAppBase.d.ts +0 -8
  938. package/lib/UseCases/Handlers/StopAppBase.js +0 -24
  939. package/lib/UseCases/Handlers/StopZSpaceBase.d.ts +0 -8
  940. package/lib/UseCases/Handlers/StopZSpaceBase.js +0 -24
  941. package/lib/UseCases/Handlers/index.d.ts +0 -10
  942. package/lib/UseCases/Handlers/index.js +0 -22
  943. package/lib/UseCases/HoverLabels/SerializeAllowHoverLabel.d.ts +0 -14
  944. package/lib/UseCases/HoverLabels/SerializeAllowHoverLabel.js +0 -35
  945. package/lib/UseCases/HoverLabels/trySetHoverLabel.d.ts +0 -3
  946. package/lib/UseCases/HoverLabels/trySetHoverLabel.js +0 -12
  947. package/lib/UseCases/LerpVector3.d.ts +0 -26
  948. package/lib/UseCases/LerpVector3.js +0 -66
  949. package/lib/UseCases/QuestionChallenge/SerializeQuestionChallenge.d.ts +0 -25
  950. package/lib/UseCases/QuestionChallenge/SerializeQuestionChallenge.js +0 -70
  951. package/lib/UseCases/QuestionChallenge/index.d.ts +0 -4
  952. package/lib/UseCases/QuestionChallenge/index.js +0 -16
  953. package/lib/UseCases/QuestionChallenge/setQuesionChallengeAnswerFeedback.d.ts +0 -2
  954. package/lib/UseCases/QuestionChallenge/setQuesionChallengeAnswerFeedback.js +0 -16
  955. package/lib/UseCases/QuestionChallenge/setQuesionChallengeAnswerText.d.ts +0 -2
  956. package/lib/UseCases/QuestionChallenge/setQuesionChallengeAnswerText.js +0 -16
  957. package/lib/UseCases/QuestionChallenge/toggleQuesionChallengeAnswerIsCorrect.d.ts +0 -2
  958. package/lib/UseCases/QuestionChallenge/toggleQuesionChallengeAnswerIsCorrect.js +0 -16
  959. package/lib/UseCases/index.d.ts +0 -7
  960. package/lib/UseCases/index.js +0 -19
  961. package/lib/UseCases/setDevicePreview.d.ts +0 -2
  962. package/lib/UseCases/setDevicePreview.js +0 -14
  963. package/lib/UseCases/setupStandardAppObjects.d.ts +0 -2
  964. package/lib/UseCases/setupStandardAppObjects.js +0 -10
  965. /package/lib/{AppObjectComponents → Components}/App/Controller/removeRenderCanvas.d.ts +0 -0
  966. /package/lib/{AppObjectComponents → Components}/App/Controller/submitRenderCanvas.d.ts +0 -0
  967. /package/lib/{AppObjectComponents/App/UseCase → Components/App/UC}/submitError.d.ts +0 -0
  968. /package/lib/{AppObjectComponents/App/UseCase → Components/App/UC}/submitFatal.d.ts +0 -0
  969. /package/lib/{AppObjectComponents/App/UseCase → Components/App/UC}/submitLog.d.ts +0 -0
  970. /package/lib/{AppObjectComponents/App/UseCase → Components/App/UC}/submitWarning.d.ts +0 -0
  971. /package/lib/{AppObjectComponents/Babylon/PresentationManangers → Components/Babylon/PM}/ShowBabylonInspectorPM.d.ts +0 -0
  972. /package/lib/{AppObjectComponents → Components}/Dispatcher/Mocks/MockDispatchStateChange.d.ts +0 -0
  973. /package/lib/{AppObjectComponents → Components}/Dispatcher/Mocks/MockDispatchStateChange.js +0 -0
  974. /package/lib/{AppObjectComponents → Components}/Dispatcher/Mocks/MockDispatcher.d.ts +0 -0
  975. /package/lib/{AppObjectComponents → Components}/Dispatcher/Mocks/MockDispatcher.js +0 -0
  976. /package/lib/{AppObjectComponents → Components}/Dispatcher/Mocks/MockLogUC.d.ts +0 -0
  977. /package/lib/{AppObjectComponents → Components}/Dispatcher/Mocks/MockLogUC.js +0 -0
  978. /package/lib/{AppObjectComponents → Components}/Enablement/Entities/EnablablementEntity.d.ts +0 -0
  979. /package/lib/{AppObjectComponents → Components}/Enablement/Entities/EnablablementEntity.js +0 -0
  980. /package/lib/{AppObjectComponents → Components}/Enablement/PM/EnablableStatePM.d.ts +0 -0
  981. /package/lib/{AppObjectComponents → Components}/Hideable/Entities/Hideable.d.ts +0 -0
  982. /package/lib/{AppObjectComponents → Components}/Hideable/Entities/Hideable.js +0 -0
  983. /package/lib/{AppObjectComponents/Hideable/PresentationManagers → Components/Hideable/PM}/IsHiddenPM.d.ts +0 -0
  984. /package/lib/{AppObjectComponents → Components}/KeyboardInput/Mocks/MockKeyboardInput.d.ts +0 -0
  985. /package/lib/{AppObjectComponents → Components}/KeyboardInput/Mocks/MockKeyboardInput.js +0 -0
  986. /package/lib/{AppObjectComponents → Components}/Label/Entities/Label.d.ts +0 -0
  987. /package/lib/{AppObjectComponents → Components}/Label/Entities/Label.js +0 -0
  988. /package/lib/{AppObjectComponents/Label/PresentationManagers → Components/Label/PM}/LabelPM.d.ts +0 -0
  989. /package/lib/{AppObjectComponents → Components}/Mesh/Entities/Mesh.d.ts +0 -0
  990. /package/lib/{AppObjectComponents → Components}/Mesh/Entities/Mesh.js +0 -0
  991. /package/lib/{AppObjectComponents → Components}/MouseInput/Mocks/MockMouseInput.d.ts +0 -0
  992. /package/lib/{AppObjectComponents → Components}/MouseInput/Mocks/MockMouseInput.js +0 -0
  993. /package/lib/{AppObjectComponents → Components}/OverlayColor/Entities/OverlayColor.d.ts +0 -0
  994. /package/lib/{AppObjectComponents → Components}/OverlayColor/Entities/OverlayColor.js +0 -0
  995. /package/lib/{AppObjectComponents/OverlayColor/PresentationManagers → Components/OverlayColor/PM}/OverlayColorPM.d.ts +0 -0
  996. /package/lib/{AppObjectComponents → Components}/Question/Controllers/index.d.ts +0 -0
  997. /package/lib/{AppObjectComponents → Components}/Question/Controllers/index.js +0 -0
  998. /package/lib/{AppObjectComponents → Components}/Question/Controllers/setAnswerFeedback.d.ts +0 -0
  999. /package/lib/{AppObjectComponents → Components}/Question/Controllers/setAnswerText.d.ts +0 -0
  1000. /package/lib/{AppObjectComponents → Components}/Question/Controllers/submitQuestionAnswer.d.ts +0 -0
  1001. /package/lib/{AppObjectComponents → Components}/Question/Controllers/toggleAnswerIsCorrect.d.ts +0 -0
  1002. /package/lib/{AppObjectComponents → Components}/Question/Entities/QuestionAnswerEntity.d.ts +0 -0
  1003. /package/lib/{AppObjectComponents → Components}/Question/Entities/QuestionAnswerEntity.js +0 -0
  1004. /package/lib/{AppObjectComponents → Components}/Question/Entities/index.d.ts +0 -0
  1005. /package/lib/{AppObjectComponents → Components}/Question/Entities/index.js +0 -0
  1006. /package/lib/{AppObjectComponents → Components}/Question/Mocks/MockQuestionAnswerEntity.d.ts +0 -0
  1007. /package/lib/{AppObjectComponents → Components}/Question/Mocks/MockQuestionAnswerEntity.js +0 -0
  1008. /package/lib/{AppObjectComponents/Question/PresentationManagers → Components/Question/PM}/QuestionAnswerPM.d.ts +0 -0
  1009. /package/lib/{AppObjectComponents/Question/PresentationManagers → Components/Question/PM}/index.d.ts +0 -0
  1010. /package/lib/{AppObjectComponents/Question/PresentationManagers → Components/Question/PM}/index.js +0 -0
  1011. /package/lib/{AppObjectComponents/Question/UseCases → Components/Question/UC}/SetAnswerFeedbackUC.d.ts +0 -0
  1012. /package/lib/{AppObjectComponents/Question/UseCases → Components/Question/UC}/SetAnswerTextUC.d.ts +0 -0
  1013. /package/lib/{AppObjectComponents/Question/UseCases → Components/Question/UC}/index.d.ts +0 -0
  1014. /package/lib/{AppObjectComponents/Question/UseCases → Components/Question/UC}/index.js +0 -0
  1015. /package/lib/{AppObjectComponents → Components}/SceneRoot/Controllers/DoubleTapToFocus.d.ts +0 -0
  1016. /package/lib/{AppObjectComponents → Components}/SceneRoot/Controllers/TouchOrbit.d.ts +0 -0
  1017. /package/lib/{AppObjectComponents → Components}/SceneRoot/Controllers/TouchPan.d.ts +0 -0
  1018. /package/lib/{AppObjectComponents → Components}/SceneRoot/Controllers/TouchPinch.d.ts +0 -0
  1019. /package/lib/{AppObjectComponents → Components}/SceneRoot/Controllers/TouchScale.d.ts +0 -0
  1020. /package/lib/{AppObjectComponents → Components}/Tools/Controller/ToolHotkeys.d.ts +0 -0
  1021. /package/lib/{AppObjectComponents → Components}/Tools/Controller/triggerTool.d.ts +0 -0
  1022. /package/lib/{AppObjectComponents → Components}/Tools/Entities/ToolEntity.d.ts +0 -0
  1023. /package/lib/{AppObjectComponents → Components}/Tools/Entities/ToolEntity.js +0 -0
  1024. /package/lib/{AppObjectComponents/Tools/Factories → Components/Tools/Factory}/setupTool.d.ts +0 -0
  1025. /package/lib/{AppObjectComponents/Tools/Factories → Components/Tools/Factory}/setupToolRepo.d.ts +0 -0
  1026. /package/lib/{AppObjectComponents/Tools/Factories → Components/Tools/Factory}/setupToolRepo.js +0 -0
  1027. /package/lib/{AppObjectComponents/Tools/PresentationManagers → Components/Tools/PM}/ToolPM.d.ts +0 -0
  1028. /package/lib/{AppObjectComponents → Components}/TouchController/Mock/MockTouchInput.d.ts +0 -0
  1029. /package/lib/{AppObjectComponents → Components}/TouchController/Mock/MockTouchInput.js +0 -0
  1030. /package/lib/{AppObjectComponents → Components}/TouchController/Mock/mockTouchInputEvent.d.ts +0 -0
  1031. /package/lib/{AppObjectComponents → Components}/TouchController/Mock/mockTouchInputEvent.js +0 -0
  1032. /package/lib/{AppObjectComponents → Components}/UndoRedo/Controllers/clearUndoStack.d.ts +0 -0
  1033. /package/lib/{AppObjectComponents → Components}/UndoRedo/Controllers/doRedo.d.ts +0 -0
  1034. /package/lib/{AppObjectComponents → Components}/UndoRedo/Controllers/doUndo.d.ts +0 -0
  1035. /package/lib/{AppObjectComponents → Components}/XR/Entity/XREntity.d.ts +0 -0
  1036. /package/lib/{AppObjectComponents → Components}/XR/Entity/XREntity.js +0 -0
  1037. /package/lib/{AppObjectComponents/XR/UseCase → Components/XR/UC}/RenderToXR.d.ts +0 -0
  1038. /package/lib/{AppObjectComponents/XR/UseCase → Components/XR/UC}/RenderToXR.js +0 -0
  1039. /package/lib/{AppObjectComponents → Components}/zSpace/Controllers/ZSpaceScaleRoot.d.ts +0 -0
  1040. /package/lib/{AppObjectComponents → Components}/zSpace/PM/ZSpaceDisplayPM.d.ts +0 -0
  1041. /package/lib/{AppObjectComponents → Components}/zSpace/PM/ZSpaceIsEnabledPM.d.ts +0 -0
  1042. /package/lib/{AppObjectComponents/zSpace/UseCases → Components/zSpace/UC}/ViewFromPoseHook.d.ts +0 -0
  1043. /package/lib/{AppObjectComponents/zSpace/UseCases → Components/zSpace/UC}/ViewFromPoseHook.js +0 -0
  1044. /package/lib/Entities/{Memoized/MemoizedAngle.js → MemoizedAngle.js} +0 -0
  1045. /package/lib/Entities/{Memoized/MemoizedBoolean.d.ts → MemoizedBoolean.d.ts} +0 -0
  1046. /package/lib/Entities/{Memoized/MemoizedBoolean.js → MemoizedBoolean.js} +0 -0
  1047. /package/lib/Entities/{Memoized/MemoizedNumber.d.ts → MemoizedNumber.d.ts} +0 -0
  1048. /package/lib/Entities/{Memoized/MemoizedNumber.js → MemoizedNumber.js} +0 -0
  1049. /package/lib/Entities/{Memoized/MemoizedString.d.ts → MemoizedString.d.ts} +0 -0
  1050. /package/lib/Entities/{Memoized/MemoizedString.js → MemoizedString.js} +0 -0
@@ -1,78 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.dispatchStateChange = exports.makeDispatchStateChangeUC = exports.DispatchStateChangeUC = void 0;
4
- const AppObjectUC_1 = require("../../../AppObject/AppObjectUC");
5
- const App_1 = require("../../App");
6
- const StateMachine_1 = require("../../StateMachine");
7
- const AppDispatcher_1 = require("../Entities/AppDispatcher");
8
- class DispatchStateChangeUC extends AppObjectUC_1.AppObjectUC {
9
- constructor() {
10
- super(...arguments);
11
- this.requestType = "ON_STATE_CHANGE";
12
- }
13
- static get(appObjects) {
14
- const components = appObjects.getAllComponents(DispatchStateChangeUC.type);
15
- if (components.length === 0) {
16
- App_1.submitWarning("DispatchStateChangeUC", `Unable to find component ${DispatchStateChangeUC.type}. Add one on Mount`, appObjects);
17
- return undefined;
18
- }
19
- else if (components.length > 1) {
20
- App_1.submitWarning("DispatchStateChangeUC", `Multiple ${DispatchStateChangeUC.type} found. There should only be one. Using the first one`, appObjects);
21
- }
22
- return components[0];
23
- }
24
- }
25
- exports.DispatchStateChangeUC = DispatchStateChangeUC;
26
- DispatchStateChangeUC.type = "DispatchStateChangeUC";
27
- function makeDispatchStateChangeUC(appObject) {
28
- return new DispatchStateChangeUCImp(appObject);
29
- }
30
- exports.makeDispatchStateChangeUC = makeDispatchStateChangeUC;
31
- function dispatchStateChange(appObjects) {
32
- const dispatchUC = DispatchStateChangeUC.get(appObjects);
33
- if (dispatchUC) {
34
- dispatchUC.doDispatch();
35
- }
36
- else {
37
- App_1.submitWarning("dispatchStateChange", "Can't find DispatchStateChangeUC", appObjects);
38
- }
39
- }
40
- exports.dispatchStateChange = dispatchStateChange;
41
- class DispatchStateChangeUCImp extends DispatchStateChangeUC {
42
- constructor(appObject) {
43
- super(appObject, DispatchStateChangeUC.type);
44
- this.requestVersion = 3;
45
- this.validateState = () => {
46
- return undefined;
47
- };
48
- this.getStateAssets = () => {
49
- return [];
50
- };
51
- this.appDispatcher = appObject.getComponent(AppDispatcher_1.AppDispatcher.type);
52
- if (!this.appDispatcher) {
53
- console.warn("DispatchStateChangeUC has been added to an App Object that does not have a AppDispatcher. Add a dispatcher first");
54
- this.dispose();
55
- }
56
- }
57
- doDispatch() {
58
- var _a;
59
- const stateMachine = StateMachine_1.StateMachineEntity.get(this.appObject.appObjectRepo);
60
- if (!stateMachine) {
61
- App_1.submitWarning("DispatchStateChangeUCImp", "Could not find StateMachineEntity", this.appObject.appObjectRepo);
62
- return;
63
- }
64
- const baseApp = App_1.BaseAppState.get(this.appObject.appObjectRepo);
65
- if (!baseApp) {
66
- App_1.submitWarning("DispatchStateChangeUCImp", "Could not find BaseAppState", this.appObject.appObjectRepo);
67
- return;
68
- }
69
- if (!baseApp.isAuthoring)
70
- return;
71
- const payload = {
72
- stateObject: stateMachine.getSerializedStates(),
73
- assets: this.getStateAssets(),
74
- validationErrorMessage: this.validateState(),
75
- };
76
- (_a = this.appDispatcher) === null || _a === void 0 ? void 0 : _a.formRequestAndDispatch(this.requestType, this.requestVersion, payload);
77
- }
78
- }
@@ -1,10 +0,0 @@
1
- import { AppObject } from "../../../AppObject/AppObject";
2
- import { AppObjectRepo } from "../../../AppObject/AppObjectRepo";
3
- import { AppObjectUC } from "../../../AppObject/AppObjectUC";
4
- export declare abstract class DispatchStopZSpaceUC extends AppObjectUC {
5
- static readonly type = "DispatchStopZSpaceUC";
6
- readonly requestType = "STOP_ZSPACE";
7
- abstract doDispatch(): void;
8
- static get(appObjects: AppObjectRepo): DispatchStopZSpaceUC | undefined;
9
- }
10
- export declare function makeDispatchStopZSpaceUC(appObject: AppObject): DispatchStopZSpaceUC;
@@ -1,44 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.makeDispatchStopZSpaceUC = exports.DispatchStopZSpaceUC = void 0;
4
- const AppObjectUC_1 = require("../../../AppObject/AppObjectUC");
5
- const AppDispatcher_1 = require("../Entities/AppDispatcher");
6
- class DispatchStopZSpaceUC extends AppObjectUC_1.AppObjectUC {
7
- constructor() {
8
- super(...arguments);
9
- this.requestType = "STOP_ZSPACE";
10
- }
11
- static get(appObjects) {
12
- const selectionEntities = appObjects.getAllComponents(DispatchStopZSpaceUC.type);
13
- if (selectionEntities.length === 0) {
14
- console.warn("Unable to find a DispatchStopZSpaceUC. Add one on Mount");
15
- return undefined;
16
- }
17
- else if (selectionEntities.length > 1) {
18
- console.warn("Multiple DispatchStopZSpaceUC have been found. There should only be one. Using the first one");
19
- }
20
- return selectionEntities[0];
21
- }
22
- }
23
- exports.DispatchStopZSpaceUC = DispatchStopZSpaceUC;
24
- DispatchStopZSpaceUC.type = "DispatchStopZSpaceUC";
25
- function makeDispatchStopZSpaceUC(appObject) {
26
- return new DispatchStateChangeUCImp(appObject);
27
- }
28
- exports.makeDispatchStopZSpaceUC = makeDispatchStopZSpaceUC;
29
- class DispatchStateChangeUCImp extends DispatchStopZSpaceUC {
30
- constructor(appObject) {
31
- super(appObject, DispatchStopZSpaceUC.type);
32
- this.requestVersion = 1;
33
- this.appDispatcher = appObject.getComponent(AppDispatcher_1.AppDispatcher.type);
34
- if (!this.appDispatcher) {
35
- console.warn("DispatchStopZSpaceUC has been added to an App Object that does not have a AppDispatcher. Add a dispatcher first");
36
- this.dispose();
37
- }
38
- }
39
- doDispatch() {
40
- if (!this.appDispatcher)
41
- return;
42
- this.appDispatcher.formRequestAndDispatch(this.requestType, this.requestVersion);
43
- }
44
- }
@@ -1,11 +0,0 @@
1
- import { AppObject } from "../../../AppObject/AppObject";
2
- import { AppObjectRepo } from "../../../AppObject/AppObjectRepo";
3
- import { AppObjectUC } from "../../../AppObject/AppObjectUC";
4
- export declare abstract class GetAssetBlobURLUC extends AppObjectUC {
5
- static readonly type = "GetAppAssetsURLUC";
6
- readonly requestType = "GET_ASSET_BLOB";
7
- abstract doDispatch(assetID: string): Promise<string>;
8
- static get(appObjects: AppObjectRepo): GetAssetBlobURLUC | undefined;
9
- }
10
- export declare function makeGetAssetBlobURLUC(appObject: AppObject): GetAssetBlobURLUC;
11
- export declare function getAssetBlobURL(assetID: string, appObjects: AppObjectRepo): Promise<string>;
@@ -1,72 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getAssetBlobURL = exports.makeGetAssetBlobURLUC = exports.GetAssetBlobURLUC = void 0;
4
- const AppObjectUC_1 = require("../../../AppObject/AppObjectUC");
5
- const App_1 = require("../../App");
6
- const AppDispatcher_1 = require("../Entities/AppDispatcher");
7
- class GetAssetBlobURLUC extends AppObjectUC_1.AppObjectUC {
8
- constructor() {
9
- super(...arguments);
10
- this.requestType = "GET_ASSET_BLOB";
11
- }
12
- static get(appObjects) {
13
- const components = appObjects.getAllComponents(GetAssetBlobURLUC.type);
14
- if (components.length === 0) {
15
- App_1.submitWarning("GetAssetBlobURLUC", `Unable to find component ${GetAssetBlobURLUC.type}. Add one on Mount`, appObjects);
16
- return undefined;
17
- }
18
- else if (components.length > 1) {
19
- App_1.submitWarning("GetAssetBlobURLUC", `Multiple ${GetAssetBlobURLUC.type} found. There should only be one. Using the first one`, appObjects);
20
- }
21
- return components[0];
22
- }
23
- }
24
- exports.GetAssetBlobURLUC = GetAssetBlobURLUC;
25
- GetAssetBlobURLUC.type = "GetAppAssetsURLUC";
26
- function makeGetAssetBlobURLUC(appObject) {
27
- return new GetAppAssetsURLUCImp(appObject);
28
- }
29
- exports.makeGetAssetBlobURLUC = makeGetAssetBlobURLUC;
30
- function getAssetBlobURL(assetID, appObjects) {
31
- const dispatchUC = GetAssetBlobURLUC.get(appObjects);
32
- if (dispatchUC) {
33
- return dispatchUC.doDispatch(assetID);
34
- }
35
- else {
36
- App_1.submitWarning("getAssetBlobURL", "Can't find GetAssetBlobURLUC", appObjects);
37
- return Promise.reject();
38
- }
39
- }
40
- exports.getAssetBlobURL = getAssetBlobURL;
41
- class GetAppAssetsURLUCImp extends GetAssetBlobURLUC {
42
- constructor(appObject) {
43
- super(appObject, GetAssetBlobURLUC.type);
44
- this.requestVersion = 1;
45
- this.appDispatcher = appObject.getComponent(AppDispatcher_1.AppDispatcher.type);
46
- if (!this.appDispatcher) {
47
- App_1.submitWarning("GetAssetBlobURLUC", "GetAssetBlobURLUC has been added to an App Object that does not have a AppDispatcher. Add a dispatcher first", appObject.appObjectRepo);
48
- this.dispose();
49
- }
50
- }
51
- doDispatch(assetID) {
52
- return new Promise((resolve, reject) => {
53
- const callback = (blobURL) => {
54
- if (blobURL === undefined) {
55
- reject(new Error("Blob URL is undefined"));
56
- }
57
- else {
58
- resolve(blobURL);
59
- }
60
- };
61
- const payload = {
62
- assetID,
63
- callback,
64
- };
65
- if (!this.appDispatcher)
66
- return reject(new Error("No host handler has been registered"));
67
- else {
68
- this.appDispatcher.formRequestAndDispatch(this.requestType, this.requestVersion, payload);
69
- }
70
- });
71
- }
72
- }
@@ -1,11 +0,0 @@
1
- import { AppObject } from "../../../AppObject/AppObject";
2
- import { AppObjectRepo } from "../../../AppObject/AppObjectRepo";
3
- import { AppObjectUC } from "../../../AppObject/AppObjectUC";
4
- export declare abstract class GetAssetFolderURLUC extends AppObjectUC {
5
- static readonly type = "GetAssetFolderURLUC";
6
- readonly requestType = "GET_APP_ASSET_URL";
7
- abstract doDispatch(): Promise<string>;
8
- static get(appObjects: AppObjectRepo): GetAssetFolderURLUC | undefined;
9
- }
10
- export declare function makeGetAssetFolderURLUC(appObject: AppObject): GetAssetFolderURLUC;
11
- export declare function getAssetFolderURL(appObjects: AppObjectRepo): Promise<string>;
@@ -1,71 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getAssetFolderURL = exports.makeGetAssetFolderURLUC = exports.GetAssetFolderURLUC = void 0;
4
- const AppObjectUC_1 = require("../../../AppObject/AppObjectUC");
5
- const App_1 = require("../../App");
6
- const AppDispatcher_1 = require("../Entities/AppDispatcher");
7
- class GetAssetFolderURLUC extends AppObjectUC_1.AppObjectUC {
8
- constructor() {
9
- super(...arguments);
10
- this.requestType = "GET_APP_ASSET_URL";
11
- }
12
- static get(appObjects) {
13
- const components = appObjects.getAllComponents(GetAssetFolderURLUC.type);
14
- if (components.length === 0) {
15
- App_1.submitWarning("GetAssetFolderURLUC", `Unable to find component ${GetAssetFolderURLUC.type}. Add one on Mount`, appObjects);
16
- return undefined;
17
- }
18
- else if (components.length > 1) {
19
- App_1.submitWarning("GetAssetFolderURLUC", `Multiple ${GetAssetFolderURLUC.type} found. There should only be one. Using the first one`, appObjects);
20
- }
21
- return components[0];
22
- }
23
- }
24
- exports.GetAssetFolderURLUC = GetAssetFolderURLUC;
25
- GetAssetFolderURLUC.type = "GetAssetFolderURLUC";
26
- function makeGetAssetFolderURLUC(appObject) {
27
- return new GetAppAssetsURLUCImp(appObject);
28
- }
29
- exports.makeGetAssetFolderURLUC = makeGetAssetFolderURLUC;
30
- function getAssetFolderURL(appObjects) {
31
- const dispatchUC = GetAssetFolderURLUC.get(appObjects);
32
- if (dispatchUC) {
33
- return dispatchUC.doDispatch();
34
- }
35
- else {
36
- App_1.submitWarning("getAssetFolderURL", "Can't find GetAppAssetsURLUC", appObjects);
37
- return Promise.reject();
38
- }
39
- }
40
- exports.getAssetFolderURL = getAssetFolderURL;
41
- class GetAppAssetsURLUCImp extends GetAssetFolderURLUC {
42
- constructor(appObject) {
43
- super(appObject, GetAssetFolderURLUC.type);
44
- this.requestVersion = 1;
45
- this.appDispatcher = appObject.getComponent(AppDispatcher_1.AppDispatcher.type);
46
- if (!this.appDispatcher) {
47
- App_1.submitWarning("GetAssetFolderURLUC", "GetAssetFolderURLUC has been added to an App Object that does not have a AppDispatcher. Add a dispatcher first", appObject.appObjectRepo);
48
- this.dispose();
49
- }
50
- }
51
- doDispatch() {
52
- return new Promise((resolve, reject) => {
53
- const callback = (url) => {
54
- if (!url) {
55
- reject(new Error("URL to asset folder is empty"));
56
- }
57
- else {
58
- resolve(url);
59
- }
60
- };
61
- const payload = {
62
- callback,
63
- };
64
- if (!this.appDispatcher)
65
- return reject(new Error("No host handler has been registered"));
66
- else {
67
- this.appDispatcher.formRequestAndDispatch(this.requestType, this.requestVersion, payload);
68
- }
69
- });
70
- }
71
- }
@@ -1,12 +0,0 @@
1
- import { AppObject } from "../../../AppObject/AppObject";
2
- import { AppObjectRepo } from "../../../AppObject/AppObjectRepo";
3
- import { AppObjectUC } from "../../../AppObject/AppObjectUC";
4
- import { AssetMetaDTO } from "../../../Types";
5
- export declare abstract class GetAssetMetaUC extends AppObjectUC {
6
- static readonly type = "GetAssetMetaUC";
7
- readonly requestType = "GET_ASSET_META";
8
- abstract doDispatch(assetID: string): Promise<AssetMetaDTO>;
9
- static get(appObjects: AppObjectRepo): GetAssetMetaUC | undefined;
10
- }
11
- export declare function makeGetAssetMetaUC(appObject: AppObject): GetAssetMetaUC;
12
- export declare function getAssetMeta(assetID: string, appObjects: AppObjectRepo): Promise<AssetMetaDTO>;
@@ -1,72 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getAssetMeta = exports.makeGetAssetMetaUC = exports.GetAssetMetaUC = void 0;
4
- const AppObjectUC_1 = require("../../../AppObject/AppObjectUC");
5
- const App_1 = require("../../App");
6
- const AppDispatcher_1 = require("../Entities/AppDispatcher");
7
- class GetAssetMetaUC extends AppObjectUC_1.AppObjectUC {
8
- constructor() {
9
- super(...arguments);
10
- this.requestType = "GET_ASSET_META";
11
- }
12
- static get(appObjects) {
13
- const components = appObjects.getAllComponents(GetAssetMetaUC.type);
14
- if (components.length === 0) {
15
- App_1.submitWarning("GetAssetMetaUC", `Unable to find component ${GetAssetMetaUC.type}. Add one on Mount`, appObjects);
16
- return undefined;
17
- }
18
- else if (components.length > 1) {
19
- App_1.submitWarning("GetAssetMetaUC", `Multiple ${GetAssetMetaUC.type} found. There should only be one. Using the first one`, appObjects);
20
- }
21
- return components[0];
22
- }
23
- }
24
- exports.GetAssetMetaUC = GetAssetMetaUC;
25
- GetAssetMetaUC.type = "GetAssetMetaUC";
26
- function makeGetAssetMetaUC(appObject) {
27
- return new GetAppAssetsURLUCImp(appObject);
28
- }
29
- exports.makeGetAssetMetaUC = makeGetAssetMetaUC;
30
- function getAssetMeta(assetID, appObjects) {
31
- const dispatchUC = GetAssetMetaUC.get(appObjects);
32
- if (dispatchUC) {
33
- return dispatchUC.doDispatch(assetID);
34
- }
35
- else {
36
- App_1.submitWarning("getAssetBlobURL", "Can't find GetAssetMetaUC", appObjects);
37
- return Promise.reject();
38
- }
39
- }
40
- exports.getAssetMeta = getAssetMeta;
41
- class GetAppAssetsURLUCImp extends GetAssetMetaUC {
42
- constructor(appObject) {
43
- super(appObject, GetAssetMetaUC.type);
44
- this.requestVersion = 1;
45
- this.appDispatcher = appObject.getComponent(AppDispatcher_1.AppDispatcher.type);
46
- if (!this.appDispatcher) {
47
- App_1.submitWarning("GetAssetMetaUC", "GetAssetMetaUC has been added to an App Object that does not have a AppDispatcher. Add a dispatcher first", appObject.appObjectRepo);
48
- this.dispose();
49
- }
50
- }
51
- doDispatch(assetID) {
52
- return new Promise((resolve, reject) => {
53
- const callback = (assetMeta) => {
54
- if (assetMeta === undefined) {
55
- reject(new Error("Meta is undefined"));
56
- }
57
- else {
58
- resolve(assetMeta);
59
- }
60
- };
61
- const payload = {
62
- assetID,
63
- callback,
64
- };
65
- if (!this.appDispatcher)
66
- return reject(new Error("No host handler has been registered"));
67
- else {
68
- this.appDispatcher.formRequestAndDispatch(this.requestType, this.requestVersion, payload);
69
- }
70
- });
71
- }
72
- }
@@ -1,12 +0,0 @@
1
- import { AppObject } from "../../../AppObject/AppObject";
2
- import { AppObjectRepo } from "../../../AppObject/AppObjectRepo";
3
- import { AppObjectUC } from "../../../AppObject/AppObjectUC";
4
- import { AssetMetaDTO } from "../../../Types";
5
- export declare abstract class GetAssetsForOwnerUC extends AppObjectUC {
6
- static readonly type = "GetAssetsForOwnerUC";
7
- readonly requestType = "GET_ASSET_FOR_OWNER";
8
- abstract doDispatch(ownerID: string): Promise<AssetMetaDTO[]>;
9
- static get(appObjects: AppObjectRepo): GetAssetsForOwnerUC | undefined;
10
- }
11
- export declare function makeGetAssetsForOwnerUC(appObject: AppObject): GetAssetsForOwnerUC;
12
- export declare function getAssetsForOwner(ownerID: string, appObjects: AppObjectRepo): Promise<AssetMetaDTO[]>;
@@ -1,72 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getAssetsForOwner = exports.makeGetAssetsForOwnerUC = exports.GetAssetsForOwnerUC = void 0;
4
- const AppObjectUC_1 = require("../../../AppObject/AppObjectUC");
5
- const App_1 = require("../../App");
6
- const AppDispatcher_1 = require("../Entities/AppDispatcher");
7
- class GetAssetsForOwnerUC extends AppObjectUC_1.AppObjectUC {
8
- constructor() {
9
- super(...arguments);
10
- this.requestType = "GET_ASSET_FOR_OWNER";
11
- }
12
- static get(appObjects) {
13
- const components = appObjects.getAllComponents(GetAssetsForOwnerUC.type);
14
- if (components.length === 0) {
15
- App_1.submitWarning("GetAssetsForOwnerUC", `Unable to find component ${GetAssetsForOwnerUC.type}. Add one on Mount`, appObjects);
16
- return undefined;
17
- }
18
- else if (components.length > 1) {
19
- App_1.submitWarning("GetAssetsForOwnerUC", `Multiple ${GetAssetsForOwnerUC.type} found. There should only be one. Using the first one`, appObjects);
20
- }
21
- return components[0];
22
- }
23
- }
24
- exports.GetAssetsForOwnerUC = GetAssetsForOwnerUC;
25
- GetAssetsForOwnerUC.type = "GetAssetsForOwnerUC";
26
- function makeGetAssetsForOwnerUC(appObject) {
27
- return new GetLinkedAssetsUCImp(appObject);
28
- }
29
- exports.makeGetAssetsForOwnerUC = makeGetAssetsForOwnerUC;
30
- function getAssetsForOwner(ownerID, appObjects) {
31
- const dispatchUC = GetAssetsForOwnerUC.get(appObjects);
32
- if (dispatchUC) {
33
- return dispatchUC.doDispatch(ownerID);
34
- }
35
- else {
36
- App_1.submitWarning("getAssetBlobURL", "Can't find GetAssetMetaUC", appObjects);
37
- return Promise.reject();
38
- }
39
- }
40
- exports.getAssetsForOwner = getAssetsForOwner;
41
- class GetLinkedAssetsUCImp extends GetAssetsForOwnerUC {
42
- constructor(appObject) {
43
- super(appObject, GetAssetsForOwnerUC.type);
44
- this.requestVersion = 1;
45
- this.appDispatcher = appObject.getComponent(AppDispatcher_1.AppDispatcher.type);
46
- if (!this.appDispatcher) {
47
- App_1.submitWarning("GetAssetsForOwnerUC", "GetAssetsForOwnerUC has been added to an App Object that does not have a AppDispatcher. Add a dispatcher first", appObject.appObjectRepo);
48
- this.dispose();
49
- }
50
- }
51
- doDispatch(assetID) {
52
- return new Promise((resolve, reject) => {
53
- const callback = (ownerAssets) => {
54
- if (ownerAssets === undefined) {
55
- reject(new Error("Owner asset list is missing"));
56
- }
57
- else {
58
- resolve(ownerAssets);
59
- }
60
- };
61
- const payload = {
62
- assetID,
63
- callback,
64
- };
65
- if (!this.appDispatcher)
66
- return reject(new Error("No host handler has been registered"));
67
- else {
68
- this.appDispatcher.formRequestAndDispatch(this.requestType, this.requestVersion, payload);
69
- }
70
- });
71
- }
72
- }
@@ -1,12 +0,0 @@
1
- import { AppObject } from "../../../AppObject/AppObject";
2
- import { AppObjectRepo } from "../../../AppObject/AppObjectRepo";
3
- import { AppObjectUC } from "../../../AppObject/AppObjectUC";
4
- import { AssetMetaDTO } from "../../../Types";
5
- export declare abstract class GetLinkedAssetsUC extends AppObjectUC {
6
- static readonly type = "GetLinkedAssetsUC";
7
- readonly requestType = "GET_LINKED_ASSETS";
8
- abstract doDispatch(assetID: string, type: string): Promise<AssetMetaDTO[]>;
9
- static get(appObjects: AppObjectRepo): GetLinkedAssetsUC | undefined;
10
- }
11
- export declare function makeGetLinkedAssetsUC(appObject: AppObject): GetLinkedAssetsUC;
12
- export declare function getLinkedAssets(assetID: string, type: string, appObjects: AppObjectRepo): Promise<AssetMetaDTO[]>;
@@ -1,73 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getLinkedAssets = exports.makeGetLinkedAssetsUC = exports.GetLinkedAssetsUC = void 0;
4
- const AppObjectUC_1 = require("../../../AppObject/AppObjectUC");
5
- const App_1 = require("../../App");
6
- const AppDispatcher_1 = require("../Entities/AppDispatcher");
7
- class GetLinkedAssetsUC extends AppObjectUC_1.AppObjectUC {
8
- constructor() {
9
- super(...arguments);
10
- this.requestType = "GET_LINKED_ASSETS";
11
- }
12
- static get(appObjects) {
13
- const components = appObjects.getAllComponents(GetLinkedAssetsUC.type);
14
- if (components.length === 0) {
15
- App_1.submitWarning("GetLinkedAssetsUC", `Unable to find component ${GetLinkedAssetsUC.type}. Add one on Mount`, appObjects);
16
- return undefined;
17
- }
18
- else if (components.length > 1) {
19
- App_1.submitWarning("GetLinkedAssetsUC", `Multiple ${GetLinkedAssetsUC.type} found. There should only be one. Using the first one`, appObjects);
20
- }
21
- return components[0];
22
- }
23
- }
24
- exports.GetLinkedAssetsUC = GetLinkedAssetsUC;
25
- GetLinkedAssetsUC.type = "GetLinkedAssetsUC";
26
- function makeGetLinkedAssetsUC(appObject) {
27
- return new GetLinkedAssetsUCImp(appObject);
28
- }
29
- exports.makeGetLinkedAssetsUC = makeGetLinkedAssetsUC;
30
- function getLinkedAssets(assetID, type, appObjects) {
31
- const dispatchUC = GetLinkedAssetsUC.get(appObjects);
32
- if (dispatchUC) {
33
- return dispatchUC.doDispatch(assetID, type);
34
- }
35
- else {
36
- App_1.submitWarning("getAssetBlobURL", "Can't find GetAssetMetaUC", appObjects);
37
- return Promise.reject();
38
- }
39
- }
40
- exports.getLinkedAssets = getLinkedAssets;
41
- class GetLinkedAssetsUCImp extends GetLinkedAssetsUC {
42
- constructor(appObject) {
43
- super(appObject, GetLinkedAssetsUC.type);
44
- this.requestVersion = 1;
45
- this.appDispatcher = appObject.getComponent(AppDispatcher_1.AppDispatcher.type);
46
- if (!this.appDispatcher) {
47
- App_1.submitWarning("GetLinkedAssetsUC", "GetLinkedAssetsUC has been added to an App Object that does not have a AppDispatcher. Add a dispatcher first", appObject.appObjectRepo);
48
- this.dispose();
49
- }
50
- }
51
- doDispatch(assetID, type) {
52
- return new Promise((resolve, reject) => {
53
- const callback = (linkedAssets) => {
54
- if (linkedAssets === undefined) {
55
- reject(new Error("Linked asset list is missing"));
56
- }
57
- else {
58
- resolve(linkedAssets);
59
- }
60
- };
61
- const payload = {
62
- assetID,
63
- type,
64
- callback,
65
- };
66
- if (!this.appDispatcher)
67
- return reject(new Error("No host handler has been registered"));
68
- else {
69
- this.appDispatcher.formRequestAndDispatch(this.requestType, this.requestVersion, payload);
70
- }
71
- });
72
- }
73
- }
@@ -1,10 +0,0 @@
1
- import { AppObject } from "../../../AppObject/AppObject";
2
- import { AppObjectRepo } from "../../../AppObject/AppObjectRepo";
3
- import { AppObjectUC } from "../../../AppObject/AppObjectUC";
4
- export declare abstract class GoToNextStateUC extends AppObjectUC {
5
- static readonly type = "GoToNextStateUC";
6
- readonly requestType = "GO_TO_NEXT_STATE";
7
- abstract doDispatch(): void;
8
- static get(appObjects: AppObjectRepo): GoToNextStateUC | undefined;
9
- }
10
- export declare function makeGoToNextStateUC(appObject: AppObject): GoToNextStateUC;
@@ -1,44 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.makeGoToNextStateUC = exports.GoToNextStateUC = void 0;
4
- const AppObjectUC_1 = require("../../../AppObject/AppObjectUC");
5
- const AppDispatcher_1 = require("../Entities/AppDispatcher");
6
- class GoToNextStateUC extends AppObjectUC_1.AppObjectUC {
7
- constructor() {
8
- super(...arguments);
9
- this.requestType = "GO_TO_NEXT_STATE";
10
- }
11
- static get(appObjects) {
12
- const selectionEntities = appObjects.getAllComponents(GoToNextStateUC.type);
13
- if (selectionEntities.length === 0) {
14
- console.warn("Unable to find a GoToNextStateUC. Add one on Mount");
15
- return undefined;
16
- }
17
- else if (selectionEntities.length > 1) {
18
- console.warn("Multiple GoToNextStateUC have been found. There should only be one. Using the first one");
19
- }
20
- return selectionEntities[0];
21
- }
22
- }
23
- exports.GoToNextStateUC = GoToNextStateUC;
24
- GoToNextStateUC.type = "GoToNextStateUC";
25
- function makeGoToNextStateUC(appObject) {
26
- return new DispatchStateChangeUCImp(appObject);
27
- }
28
- exports.makeGoToNextStateUC = makeGoToNextStateUC;
29
- class DispatchStateChangeUCImp extends GoToNextStateUC {
30
- constructor(appObject) {
31
- super(appObject, GoToNextStateUC.type);
32
- this.requestVersion = 1;
33
- this.appDispatcher = appObject.getComponent(AppDispatcher_1.AppDispatcher.type);
34
- if (!this.appDispatcher) {
35
- console.warn("GoToNextStateUC has been added to an App Object that does not have a AppDispatcher. Add a dispatcher first");
36
- this.dispose();
37
- }
38
- }
39
- doDispatch() {
40
- if (!this.appDispatcher)
41
- return;
42
- this.appDispatcher.formRequestAndDispatch(this.requestType, this.requestVersion);
43
- }
44
- }
@@ -1,10 +0,0 @@
1
- import { AppObject } from "../../../AppObject/AppObject";
2
- import { AppObjectRepo } from "../../../AppObject/AppObjectRepo";
3
- import { AppObjectUC } from "../../../AppObject/AppObjectUC";
4
- export declare abstract class GoToPreviousStateUC extends AppObjectUC {
5
- static readonly type = "GoToPreviousStateUC";
6
- readonly requestType = "GO_TO_PREVIOUS_STATE";
7
- abstract doDispatch(): void;
8
- static get(appObjects: AppObjectRepo): GoToPreviousStateUC | undefined;
9
- }
10
- export declare function makeGoToPreviousStateUC(appObject: AppObject): GoToPreviousStateUC;