@vived/host 3.8.0 → 3.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (624) hide show
  1. package/lib/Components/AppSandbox/Adapters/devFeaturesEnabledAdapter.d.ts +2 -0
  2. package/lib/Components/AppSandbox/Adapters/devFeaturesEnabledAdapter.js +23 -0
  3. package/lib/Components/AppSandbox/Adapters/index.d.ts +4 -0
  4. package/lib/{AppObject → Components/AppSandbox/Adapters}/index.js +4 -9
  5. package/lib/Components/AppSandbox/Adapters/sandboxStateAdapter.d.ts +3 -0
  6. package/lib/Components/AppSandbox/Adapters/sandboxStateAdapter.js +24 -0
  7. package/lib/Components/AppSandbox/Adapters/showInspectorAdapter.d.ts +2 -0
  8. package/lib/Components/AppSandbox/Adapters/showInspectorAdapter.js +23 -0
  9. package/lib/Components/AppSandbox/Adapters/startInZSpaceAdapter.d.ts +2 -0
  10. package/lib/Components/AppSandbox/Adapters/startInZSpaceAdapter.js +23 -0
  11. package/lib/Components/AppSandbox/Controller/clearSandboxAppContainer.d.ts +2 -0
  12. package/lib/Components/AppSandbox/Controller/clearSandboxAppContainer.js +11 -0
  13. package/lib/Components/AppSandbox/Controller/index.d.ts +10 -0
  14. package/lib/Components/AppSandbox/Controller/index.js +22 -0
  15. package/lib/Components/AppSandbox/Controller/mountSandboxApp.d.ts +2 -0
  16. package/lib/Components/AppSandbox/Controller/mountSandboxApp.js +19 -0
  17. package/lib/Components/AppSandbox/Controller/setSandboxAppContainer.d.ts +2 -0
  18. package/lib/Components/AppSandbox/Controller/setSandboxAppContainer.js +11 -0
  19. package/lib/Components/AppSandbox/Controller/setSandboxAppState.d.ts +3 -0
  20. package/lib/Components/AppSandbox/Controller/setSandboxAppState.js +11 -0
  21. package/lib/Components/AppSandbox/Controller/startSandboxApp.d.ts +2 -0
  22. package/lib/Components/AppSandbox/Controller/startSandboxApp.js +14 -0
  23. package/lib/Components/AppSandbox/Controller/stopSandboxApp.d.ts +2 -0
  24. package/lib/Components/AppSandbox/Controller/stopSandboxApp.js +14 -0
  25. package/lib/Components/AppSandbox/Controller/toggleAllowDevFeatures.d.ts +2 -0
  26. package/lib/Components/AppSandbox/Controller/toggleAllowDevFeatures.js +11 -0
  27. package/lib/Components/AppSandbox/Controller/toggleShowInspector.d.ts +2 -0
  28. package/lib/Components/AppSandbox/Controller/toggleShowInspector.js +19 -0
  29. package/lib/Components/AppSandbox/Controller/toggleStartInZSpace.d.ts +2 -0
  30. package/lib/Components/AppSandbox/Controller/toggleStartInZSpace.js +11 -0
  31. package/lib/Components/AppSandbox/Controller/unmountSandboxApp.d.ts +2 -0
  32. package/lib/Components/AppSandbox/Controller/unmountSandboxApp.js +19 -0
  33. package/lib/Components/AppSandbox/Entities/AppSandboxEntity.d.ts +34 -0
  34. package/lib/Components/AppSandbox/Entities/AppSandboxEntity.js +81 -0
  35. package/lib/Components/AppSandbox/Entities/index.d.ts +1 -0
  36. package/lib/Components/{Handler/Entites → AppSandbox/Entities}/index.js +1 -1
  37. package/lib/Components/AppSandbox/Factories/index.d.ts +1 -0
  38. package/lib/{UseCases → Components/AppSandbox/Factories}/index.js +1 -1
  39. package/lib/Components/AppSandbox/Factories/setupAppSandbox.d.ts +3 -0
  40. package/lib/Components/AppSandbox/Factories/setupAppSandbox.js +32 -0
  41. package/lib/Components/AppSandbox/Mocks/DevFeaturesEnabledPMMock.d.ts +8 -0
  42. package/lib/Components/AppSandbox/Mocks/DevFeaturesEnabledPMMock.js +15 -0
  43. package/lib/Components/AppSandbox/Mocks/MockShowBabylonInspectorUC.d.ts +8 -0
  44. package/lib/Components/AppSandbox/Mocks/MockShowBabylonInspectorUC.js +12 -0
  45. package/lib/Components/AppSandbox/Mocks/RenderAppPMMock.d.ts +8 -0
  46. package/lib/Components/AppSandbox/Mocks/RenderAppPMMock.js +15 -0
  47. package/lib/Components/AppSandbox/Mocks/ShowInspectorPMMock.d.ts +8 -0
  48. package/lib/Components/AppSandbox/Mocks/ShowInspectorPMMock.js +15 -0
  49. package/lib/Components/AppSandbox/Mocks/StartInZSpacePMMock.d.ts +8 -0
  50. package/lib/Components/AppSandbox/Mocks/StartInZSpacePMMock.js +15 -0
  51. package/lib/Components/AppSandbox/Mocks/index.d.ts +5 -0
  52. package/lib/{UseCases/Handlers → Components/AppSandbox/Mocks}/index.js +5 -6
  53. package/lib/Components/AppSandbox/PMs/DevFeaturesEnabledPM.d.ts +6 -0
  54. package/lib/Components/AppSandbox/PMs/DevFeaturesEnabledPM.js +36 -0
  55. package/lib/Components/AppSandbox/PMs/SandboxStatePM.d.ts +7 -0
  56. package/lib/Components/AppSandbox/PMs/SandboxStatePM.js +36 -0
  57. package/lib/Components/AppSandbox/PMs/ShowInspectorPM.d.ts +6 -0
  58. package/lib/Components/AppSandbox/PMs/ShowInspectorPM.js +36 -0
  59. package/lib/Components/AppSandbox/PMs/StartInZSpacePM.d.ts +6 -0
  60. package/lib/Components/AppSandbox/PMs/StartInZSpacePM.js +36 -0
  61. package/lib/Components/AppSandbox/PMs/index.d.ts +4 -0
  62. package/lib/Components/AppSandbox/PMs/index.js +16 -0
  63. package/lib/Components/AppSandbox/UCs/ShowBabylonInspectorUC.d.ts +9 -0
  64. package/lib/Components/AppSandbox/UCs/ShowBabylonInspectorUC.js +52 -0
  65. package/lib/Components/AppSandbox/UCs/index.d.ts +1 -0
  66. package/lib/Components/AppSandbox/UCs/index.js +13 -0
  67. package/lib/Components/AppSandbox/index.d.ts +7 -0
  68. package/lib/Components/AppSandbox/index.js +19 -0
  69. package/lib/Components/Apps/Mocks/MockAppMounterUC.d.ts +1 -1
  70. package/lib/Components/Apps/Mocks/MockAppMounterUC.js +3 -3
  71. package/lib/Components/Apps/UCs/{MounterUC.d.ts → Mounters/MounterUC.d.ts} +4 -3
  72. package/lib/Components/Apps/UCs/Mounters/MounterUC.js +265 -0
  73. package/lib/Components/Apps/UCs/Mounters/SandboxMounterUC.d.ts +3 -0
  74. package/lib/Components/Apps/UCs/Mounters/SandboxMounterUC.js +110 -0
  75. package/lib/Components/Apps/UCs/Mounters/index.d.ts +2 -0
  76. package/lib/Components/Apps/UCs/Mounters/index.js +14 -0
  77. package/lib/Components/Apps/UCs/StartAppUC.d.ts +1 -0
  78. package/lib/Components/Apps/UCs/StartAppUC.js +54 -1
  79. package/lib/Components/Apps/UCs/StopAppUC.d.ts +1 -0
  80. package/lib/Components/Apps/UCs/StopAppUC.js +18 -1
  81. package/lib/Components/Apps/UCs/formAppIDWithVersion.d.ts +3 -0
  82. package/lib/Components/Apps/UCs/formAppIDWithVersion.js +8 -0
  83. package/lib/Components/Apps/UCs/index.d.ts +2 -2
  84. package/lib/Components/Apps/UCs/index.js +2 -2
  85. package/lib/Components/AssetPlugin/Adapters/assetPluginPMAdapter.js +5 -1
  86. package/lib/Components/AssetPlugin/Factories/index.d.ts +1 -0
  87. package/lib/Components/AssetPlugin/Factories/index.js +13 -0
  88. package/lib/Components/AssetPlugin/Factories/setupAssetsPluginForSandbox.d.ts +3 -0
  89. package/lib/Components/AssetPlugin/Factories/setupAssetsPluginForSandbox.js +35 -0
  90. package/lib/Components/AssetPlugin/UCs/SandboxAssetPluginContainerUC.d.ts +15 -0
  91. package/lib/Components/AssetPlugin/UCs/SandboxAssetPluginContainerUC.js +75 -0
  92. package/lib/Components/AssetPlugin/UCs/index.d.ts +1 -0
  93. package/lib/Components/AssetPlugin/UCs/index.js +1 -0
  94. package/lib/Components/AssetPlugin/index.d.ts +1 -0
  95. package/lib/Components/AssetPlugin/index.js +1 -0
  96. package/lib/Components/Assets/Adapters/appAssetListAdapter.d.ts +2 -0
  97. package/lib/Components/Assets/Adapters/appAssetListAdapter.js +23 -0
  98. package/lib/Components/Assets/Adapters/assetAdapter.d.ts +3 -0
  99. package/lib/Components/Assets/Adapters/assetAdapter.js +23 -0
  100. package/lib/Components/Assets/Adapters/editingAppAssetAdapter.d.ts +3 -0
  101. package/lib/Components/Assets/Adapters/editingAppAssetAdapter.js +23 -0
  102. package/lib/Components/Assets/Adapters/index.d.ts +4 -0
  103. package/lib/Components/Assets/Adapters/index.js +16 -0
  104. package/lib/Components/Assets/Adapters/showArchivedAppAssetAdapter.d.ts +2 -0
  105. package/lib/Components/Assets/Adapters/showArchivedAppAssetAdapter.js +23 -0
  106. package/lib/Components/Assets/Controllers/editAppAsset.d.ts +2 -0
  107. package/lib/Components/Assets/Controllers/editAppAsset.js +13 -0
  108. package/lib/Components/Assets/Controllers/index.d.ts +3 -0
  109. package/lib/Components/Assets/Controllers/index.js +3 -0
  110. package/lib/Components/Assets/Controllers/newAppAsset.d.ts +3 -0
  111. package/lib/Components/Assets/Controllers/newAppAsset.js +13 -0
  112. package/lib/Components/Assets/Controllers/updateAppAssetMeta.d.ts +3 -0
  113. package/lib/Components/Assets/Controllers/updateAppAssetMeta.js +13 -0
  114. package/lib/Components/Assets/Factories/index.d.ts +1 -0
  115. package/lib/Components/Assets/Factories/index.js +13 -0
  116. package/lib/Components/Assets/Factories/setupAssetsForSandbox.d.ts +2 -0
  117. package/lib/Components/Assets/Factories/setupAssetsForSandbox.js +43 -0
  118. package/lib/Components/Assets/Mocks/AppAssetListPMMock.d.ts +8 -0
  119. package/lib/Components/Assets/Mocks/AppAssetListPMMock.js +15 -0
  120. package/lib/Components/Assets/Mocks/AssetPMMock.d.ts +7 -0
  121. package/lib/Components/Assets/Mocks/AssetPMMock.js +11 -0
  122. package/lib/Components/Assets/Mocks/EditingAppAssetPMMock.d.ts +8 -0
  123. package/lib/Components/Assets/Mocks/EditingAppAssetPMMock.js +15 -0
  124. package/lib/Components/Assets/Mocks/MockEditAppAssetUC.d.ts +8 -0
  125. package/lib/Components/Assets/Mocks/MockEditAppAssetUC.js +15 -0
  126. package/lib/Components/Assets/Mocks/MockNewAppAsset.d.ts +8 -0
  127. package/lib/Components/Assets/Mocks/MockNewAppAsset.js +15 -0
  128. package/lib/Components/Assets/Mocks/MockUpdateAppAssetMetaUC.d.ts +8 -0
  129. package/lib/Components/Assets/Mocks/MockUpdateAppAssetMetaUC.js +15 -0
  130. package/lib/Components/Assets/Mocks/ShowArchivedAppAssetPMMock.d.ts +8 -0
  131. package/lib/Components/Assets/Mocks/ShowArchivedAppAssetPMMock.js +15 -0
  132. package/lib/Components/Assets/Mocks/index.d.ts +15 -8
  133. package/lib/Components/Assets/Mocks/index.js +7 -0
  134. package/lib/Components/Assets/PMs/AppAssetListPM.d.ts +3 -7
  135. package/lib/Components/Assets/PMs/AppAssetListPM.js +13 -7
  136. package/lib/Components/Assets/PMs/AssetPM.d.ts +3 -6
  137. package/lib/Components/Assets/PMs/AssetPM.js +27 -21
  138. package/lib/Components/Assets/PMs/EditingAppAssetPM.d.ts +3 -6
  139. package/lib/Components/Assets/PMs/EditingAppAssetPM.js +14 -8
  140. package/lib/Components/Assets/PMs/ShowArchivedAppAssetPM.d.ts +3 -6
  141. package/lib/Components/Assets/PMs/ShowArchivedAppAssetPM.js +13 -7
  142. package/lib/Components/Assets/UCs/EditAppAssetUC.d.ts +7 -0
  143. package/lib/Components/Assets/UCs/EditAppAssetUC.js +45 -0
  144. package/lib/Components/Assets/UCs/NewAppAssetUC.d.ts +12 -0
  145. package/lib/Components/Assets/UCs/NewAppAssetUC.js +94 -0
  146. package/lib/Components/Assets/UCs/PrefetchAssetsUC.js +2 -2
  147. package/lib/Components/Assets/UCs/UpdateAppAssetMetaUC.d.ts +12 -0
  148. package/lib/Components/Assets/UCs/UpdateAppAssetMetaUC.js +95 -0
  149. package/lib/Components/Assets/UCs/index.d.ts +3 -0
  150. package/lib/Components/Assets/UCs/index.js +3 -0
  151. package/lib/Components/Assets/index.d.ts +7 -5
  152. package/lib/Components/Assets/index.js +2 -0
  153. package/lib/Components/ChallengeResults/Adapters/challengeResultsListAdapter.d.ts +3 -0
  154. package/lib/Components/ChallengeResults/Adapters/challengeResultsListAdapter.js +23 -0
  155. package/lib/Components/ChallengeResults/Adapters/index.d.ts +1 -0
  156. package/lib/Components/ChallengeResults/Adapters/index.js +13 -0
  157. package/lib/Components/ChallengeResults/Entities/ChallengeResults.d.ts +40 -0
  158. package/lib/{Entities → Components/ChallengeResults/Entities}/ChallengeResults.js +33 -29
  159. package/lib/Components/ChallengeResults/Entities/index.d.ts +1 -0
  160. package/lib/Components/ChallengeResults/Entities/index.js +13 -0
  161. package/lib/Components/ChallengeResults/Factories/index.d.ts +1 -0
  162. package/lib/Components/ChallengeResults/Factories/index.js +13 -0
  163. package/lib/Components/ChallengeResults/Factories/setupChallengeResultsForSandbox.d.ts +2 -0
  164. package/lib/Components/ChallengeResults/Factories/setupChallengeResultsForSandbox.js +12 -0
  165. package/lib/Components/ChallengeResults/Mocks/ChallengeResultsListPMMock.d.ts +8 -0
  166. package/lib/Components/ChallengeResults/Mocks/ChallengeResultsListPMMock.js +15 -0
  167. package/lib/Components/ChallengeResults/Mocks/index.d.ts +1 -0
  168. package/lib/Components/ChallengeResults/Mocks/index.js +13 -0
  169. package/lib/Components/ChallengeResults/PMs/ChallengeResultsListPM.d.ts +15 -0
  170. package/lib/Components/ChallengeResults/PMs/ChallengeResultsListPM.js +65 -0
  171. package/lib/Components/ChallengeResults/PMs/index.d.ts +1 -0
  172. package/lib/Components/ChallengeResults/PMs/index.js +13 -0
  173. package/lib/Components/ChallengeResults/index.d.ts +5 -0
  174. package/lib/Components/ChallengeResults/index.js +17 -0
  175. package/lib/Components/Dialog/Factories/index.d.ts +6 -5
  176. package/lib/Components/Dialog/Factories/index.js +1 -0
  177. package/lib/Components/Dialog/Factories/setupDialogForSandbox.d.ts +2 -0
  178. package/lib/Components/Dialog/Factories/setupDialogForSandbox.js +24 -0
  179. package/lib/Components/Dispatcher/index.d.ts +1 -0
  180. package/lib/Components/Dispatcher/index.js +1 -0
  181. package/lib/Components/Dispatcher/setupStandardHostDispatchers.d.ts +2 -0
  182. package/lib/Components/Dispatcher/setupStandardHostDispatchers.js +16 -0
  183. package/lib/Components/Handler/UCs/CloseAssetSystemPlugin.js +10 -10
  184. package/lib/Components/Handler/UCs/GoToNextStateHandler.js +22 -4
  185. package/lib/Components/Handler/UCs/GoToPreviousStateHandler.js +16 -4
  186. package/lib/Components/Handler/UCs/IsZSpaceAvailableHandler.js +11 -2
  187. package/lib/Components/Handler/UCs/OnStateChangeHandler.js +9 -8
  188. package/lib/Components/Handler/UCs/OnStateCompleteHandler.js +18 -1
  189. package/lib/Components/Handler/UCs/ShowSelectModelHandler.js +6 -6
  190. package/lib/Components/Handler/UCs/StartZSpaceHandler.js +6 -1
  191. package/lib/Components/Handler/UCs/StopZSpaceHandler.js +6 -1
  192. package/lib/Components/Handler/UCs/SubmitResultHandler.js +85 -2
  193. package/lib/Components/Handler/index.d.ts +1 -0
  194. package/lib/Components/Handler/index.js +1 -0
  195. package/lib/Components/Handler/setupStandardHostHandlers.d.ts +2 -0
  196. package/lib/Components/Handler/setupStandardHostHandlers.js +29 -0
  197. package/lib/Components/Logger/Adapters/forwardLogsToConsoleAdapter.d.ts +2 -0
  198. package/lib/Components/Logger/Adapters/forwardLogsToConsoleAdapter.js +23 -0
  199. package/lib/Components/Logger/Adapters/index.d.ts +2 -0
  200. package/lib/Components/Logger/Adapters/index.js +2 -0
  201. package/lib/Components/Logger/Adapters/logSummaryAdapter.d.ts +3 -0
  202. package/lib/Components/Logger/Adapters/logSummaryAdapter.js +23 -0
  203. package/lib/Components/Logger/Controllers/index.d.ts +1 -0
  204. package/lib/Components/Logger/Controllers/index.js +1 -0
  205. package/lib/Components/Logger/Controllers/toggleForwardLogs.d.ts +2 -0
  206. package/lib/Components/Logger/Controllers/toggleForwardLogs.js +14 -0
  207. package/lib/Components/Logger/Entities/LoggerEntity.d.ts +2 -1
  208. package/lib/Components/Logger/Entities/LoggerEntity.js +8 -1
  209. package/lib/Components/Logger/Factories/index.d.ts +1 -0
  210. package/lib/Components/Logger/Factories/index.js +13 -0
  211. package/lib/Components/Logger/Factories/setupLoggerForSandbox.d.ts +2 -0
  212. package/lib/Components/Logger/Factories/setupLoggerForSandbox.js +17 -0
  213. package/lib/Components/Logger/Mocks/ForwardLogsToConsolePMMock.d.ts +8 -0
  214. package/lib/Components/Logger/Mocks/ForwardLogsToConsolePMMock.js +15 -0
  215. package/lib/Components/Logger/Mocks/LogSummaryPMMock.d.ts +8 -0
  216. package/lib/Components/Logger/Mocks/LogSummaryPMMock.js +15 -0
  217. package/lib/Components/Logger/Mocks/index.d.ts +2 -0
  218. package/lib/Components/Logger/Mocks/index.js +2 -0
  219. package/lib/Components/Logger/PMs/ForwardLogsToConsolePM.d.ts +6 -0
  220. package/lib/Components/Logger/PMs/ForwardLogsToConsolePM.js +36 -0
  221. package/lib/Components/Logger/PMs/LogSummaryPM.d.ts +12 -0
  222. package/lib/Components/Logger/PMs/LogSummaryPM.js +76 -0
  223. package/lib/Components/Logger/PMs/index.d.ts +2 -0
  224. package/lib/Components/Logger/PMs/index.js +2 -0
  225. package/lib/Components/Logger/index.d.ts +1 -0
  226. package/lib/Components/Logger/index.js +1 -0
  227. package/lib/Components/StateMachine/Adapters/editingStateAdapter.d.ts +3 -0
  228. package/lib/Components/StateMachine/Adapters/editingStateAdapter.js +23 -0
  229. package/lib/Components/StateMachine/Adapters/index.d.ts +1 -0
  230. package/lib/Components/StateMachine/Adapters/index.js +1 -0
  231. package/lib/Components/StateMachine/Controllers/cancelEditing.d.ts +2 -0
  232. package/lib/Components/StateMachine/Controllers/cancelEditing.js +13 -0
  233. package/lib/Components/StateMachine/Controllers/consumeState.d.ts +2 -0
  234. package/lib/Components/StateMachine/Controllers/consumeState.js +13 -0
  235. package/lib/Components/StateMachine/Controllers/duplicateState.js +2 -2
  236. package/lib/Components/StateMachine/Controllers/editActiveState.d.ts +2 -0
  237. package/lib/Components/StateMachine/Controllers/editActiveState.js +13 -0
  238. package/lib/Components/StateMachine/Controllers/editState.d.ts +2 -0
  239. package/lib/Components/StateMachine/Controllers/editState.js +13 -0
  240. package/lib/Components/StateMachine/Controllers/endActivity.d.ts +2 -0
  241. package/lib/Components/StateMachine/Controllers/endActivity.js +13 -0
  242. package/lib/Components/StateMachine/Controllers/index.d.ts +9 -0
  243. package/lib/Components/StateMachine/Controllers/index.js +9 -0
  244. package/lib/Components/StateMachine/Controllers/newState.d.ts +2 -0
  245. package/lib/Components/StateMachine/Controllers/newState.js +13 -0
  246. package/lib/Components/StateMachine/Controllers/saveAuthoring.d.ts +2 -0
  247. package/lib/Components/StateMachine/Controllers/saveAuthoring.js +13 -0
  248. package/lib/Components/StateMachine/Controllers/savePersistentStates.d.ts +2 -0
  249. package/lib/Components/StateMachine/Controllers/savePersistentStates.js +13 -0
  250. package/lib/Components/StateMachine/Controllers/transitionToState.d.ts +2 -0
  251. package/lib/Components/StateMachine/Controllers/transitionToState.js +13 -0
  252. package/lib/Components/StateMachine/Entities/HostStateMachine.d.ts +1 -0
  253. package/lib/Components/StateMachine/Entities/HostStateMachine.js +1 -0
  254. package/lib/Components/StateMachine/Factories/index.d.ts +1 -0
  255. package/lib/Components/StateMachine/Factories/index.js +13 -0
  256. package/lib/Components/StateMachine/Factories/setupStateMachineForSandbox.d.ts +3 -0
  257. package/lib/Components/StateMachine/Factories/setupStateMachineForSandbox.js +27 -0
  258. package/lib/Components/StateMachine/Mocks/CancelEditingUCMock.d.ts +8 -0
  259. package/lib/Components/StateMachine/Mocks/CancelEditingUCMock.js +15 -0
  260. package/lib/Components/StateMachine/Mocks/ConsumeStateUCMock.d.ts +8 -0
  261. package/lib/Components/StateMachine/Mocks/ConsumeStateUCMock.js +15 -0
  262. package/lib/Components/StateMachine/Mocks/EditStateUCMock.d.ts +8 -0
  263. package/lib/Components/StateMachine/Mocks/EditStateUCMock.js +15 -0
  264. package/lib/Components/StateMachine/Mocks/EndActivityUCMock.d.ts +8 -0
  265. package/lib/Components/StateMachine/Mocks/EndActivityUCMock.js +15 -0
  266. package/lib/Components/StateMachine/Mocks/MockDeleteStateUC.d.ts +1 -1
  267. package/lib/Components/StateMachine/Mocks/MockDeleteStateUC.js +3 -3
  268. package/lib/Components/StateMachine/Mocks/MockDuplicateStateUC.d.ts +1 -1
  269. package/lib/Components/StateMachine/Mocks/MockDuplicateStateUC.js +3 -3
  270. package/lib/Components/StateMachine/Mocks/MockEditActiveStateUC.d.ts +8 -0
  271. package/lib/Components/StateMachine/Mocks/MockEditActiveStateUC.js +15 -0
  272. package/lib/Components/StateMachine/Mocks/MockHostStateEntity.d.ts +16 -0
  273. package/lib/Components/StateMachine/Mocks/MockHostStateEntity.js +27 -0
  274. package/lib/Components/StateMachine/Mocks/MockHostStateMachinePM.d.ts +1 -1
  275. package/lib/Components/StateMachine/Mocks/MockHostStateMachinePM.js +3 -3
  276. package/lib/Components/StateMachine/Mocks/MockIsEditingStatePM.d.ts +1 -1
  277. package/lib/Components/StateMachine/Mocks/MockIsEditingStatePM.js +3 -3
  278. package/lib/Components/StateMachine/Mocks/MockSaveAuthoringUC.d.ts +8 -0
  279. package/lib/Components/StateMachine/Mocks/MockSaveAuthoringUC.js +15 -0
  280. package/lib/Components/StateMachine/Mocks/MockTransitionToStateUC.d.ts +8 -0
  281. package/lib/Components/StateMachine/Mocks/MockTransitionToStateUC.js +15 -0
  282. package/lib/Components/StateMachine/Mocks/NewStateUCMock.d.ts +8 -0
  283. package/lib/Components/StateMachine/Mocks/NewStateUCMock.js +15 -0
  284. package/lib/Components/StateMachine/Mocks/SavePersistentStatesMock.d.ts +8 -0
  285. package/lib/Components/StateMachine/Mocks/SavePersistentStatesMock.js +15 -0
  286. package/lib/Components/StateMachine/Mocks/index.d.ts +10 -1
  287. package/lib/Components/StateMachine/Mocks/index.js +10 -1
  288. package/lib/Components/StateMachine/UCs/CancelEditing/CancelEditingUC.d.ts +6 -0
  289. package/lib/Components/StateMachine/UCs/CancelEditing/CancelEditingUC.js +11 -0
  290. package/lib/Components/StateMachine/UCs/CancelEditing/CancelSandboxEditingUC.d.ts +3 -0
  291. package/lib/Components/StateMachine/UCs/CancelEditing/CancelSandboxEditingUC.js +52 -0
  292. package/lib/Components/StateMachine/UCs/CancelEditing/index.d.ts +2 -0
  293. package/lib/Components/StateMachine/UCs/CancelEditing/index.js +14 -0
  294. package/lib/Components/StateMachine/UCs/ConsumeState/ConsumeSandboxStateUC.d.ts +3 -0
  295. package/lib/Components/StateMachine/UCs/ConsumeState/ConsumeSandboxStateUC.js +51 -0
  296. package/lib/Components/StateMachine/UCs/ConsumeState/ConsumeStateUC.d.ts +6 -0
  297. package/lib/Components/StateMachine/UCs/ConsumeState/ConsumeStateUC.js +11 -0
  298. package/lib/Components/StateMachine/UCs/ConsumeState/index.d.ts +2 -0
  299. package/lib/Components/StateMachine/UCs/ConsumeState/index.js +14 -0
  300. package/lib/Components/StateMachine/UCs/EditActiveState/EditActiveSandboxStateUC.d.ts +3 -0
  301. package/lib/Components/StateMachine/UCs/EditActiveState/EditActiveSandboxStateUC.js +53 -0
  302. package/lib/Components/StateMachine/UCs/EditActiveState/EditActiveStateUC.d.ts +6 -0
  303. package/lib/Components/StateMachine/UCs/EditActiveState/EditActiveStateUC.js +11 -0
  304. package/lib/Components/StateMachine/UCs/EditActiveState/index.d.ts +2 -0
  305. package/lib/Components/StateMachine/UCs/EditActiveState/index.js +14 -0
  306. package/lib/Components/StateMachine/UCs/EditState/EditSandboxStateUC.d.ts +3 -0
  307. package/lib/Components/StateMachine/UCs/EditState/EditSandboxStateUC.js +37 -0
  308. package/lib/Components/StateMachine/UCs/EditState/EditStateUC.d.ts +6 -0
  309. package/lib/Components/StateMachine/UCs/EditState/EditStateUC.js +11 -0
  310. package/lib/Components/StateMachine/UCs/EditState/index.d.ts +2 -0
  311. package/lib/Components/StateMachine/UCs/EditState/index.js +14 -0
  312. package/lib/Components/StateMachine/UCs/EndActivity/EndActivityUC.d.ts +6 -0
  313. package/lib/Components/StateMachine/UCs/EndActivity/EndActivityUC.js +11 -0
  314. package/lib/Components/StateMachine/UCs/EndActivity/EndSandboxActivityUC.d.ts +3 -0
  315. package/lib/Components/StateMachine/UCs/EndActivity/EndSandboxActivityUC.js +38 -0
  316. package/lib/Components/StateMachine/UCs/EndActivity/index.d.ts +2 -0
  317. package/lib/Components/StateMachine/UCs/EndActivity/index.js +14 -0
  318. package/lib/Components/StateMachine/UCs/NewState/NewSandboxStateUC.d.ts +3 -0
  319. package/lib/Components/StateMachine/UCs/NewState/NewSandboxStateUC.js +34 -0
  320. package/lib/Components/StateMachine/UCs/NewState/NewStateUC.d.ts +6 -0
  321. package/lib/Components/StateMachine/UCs/NewState/NewStateUC.js +11 -0
  322. package/lib/Components/StateMachine/UCs/NewState/index.d.ts +2 -0
  323. package/lib/Components/StateMachine/UCs/NewState/index.js +14 -0
  324. package/lib/Components/StateMachine/UCs/SaveAuthoring/SaveAuthoringSandboxUC.d.ts +3 -0
  325. package/lib/Components/StateMachine/UCs/SaveAuthoring/SaveAuthoringSandboxUC.js +46 -0
  326. package/lib/Components/StateMachine/UCs/SaveAuthoring/SaveAuthoringUC.d.ts +6 -0
  327. package/lib/Components/StateMachine/UCs/SaveAuthoring/SaveAuthoringUC.js +11 -0
  328. package/lib/Components/StateMachine/UCs/SaveAuthoring/index.d.ts +2 -0
  329. package/lib/Components/StateMachine/UCs/SaveAuthoring/index.js +14 -0
  330. package/lib/Components/StateMachine/UCs/SavePersistentStates.d.ts +7 -0
  331. package/lib/Components/StateMachine/UCs/SavePersistentStates.js +36 -0
  332. package/lib/Components/StateMachine/UCs/TransitionToState/TransitionToSandboxStateUC.d.ts +3 -0
  333. package/lib/Components/StateMachine/UCs/TransitionToState/TransitionToSandboxStateUC.js +42 -0
  334. package/lib/Components/StateMachine/UCs/TransitionToState/TransitionToStateUC.d.ts +6 -0
  335. package/lib/Components/StateMachine/UCs/TransitionToState/TransitionToStateUC.js +11 -0
  336. package/lib/Components/StateMachine/UCs/TransitionToState/index.d.ts +2 -0
  337. package/lib/Components/StateMachine/UCs/TransitionToState/index.js +14 -0
  338. package/lib/Components/StateMachine/UCs/index.d.ts +11 -0
  339. package/lib/Components/StateMachine/UCs/index.js +11 -0
  340. package/lib/Components/StateMachine/UCs/setSandboxStatesFromData.d.ts +8 -0
  341. package/lib/Components/StateMachine/UCs/setSandboxStatesFromData.js +29 -0
  342. package/lib/Components/StateMachine/UCs/setSandboxStatesFromStingData.d.ts +8 -0
  343. package/lib/Components/StateMachine/UCs/setSandboxStatesFromStingData.js +29 -0
  344. package/lib/Components/StateMachine/index.d.ts +1 -0
  345. package/lib/Components/StateMachine/index.js +1 -0
  346. package/lib/Components/ThemeColors/Factories/index.d.ts +1 -0
  347. package/lib/Components/ThemeColors/Factories/index.js +13 -0
  348. package/lib/Components/ThemeColors/Factories/setupThemeForSandbox.d.ts +2 -0
  349. package/lib/Components/ThemeColors/Factories/setupThemeForSandbox.js +20 -0
  350. package/lib/Components/ThemeColors/index.d.ts +1 -0
  351. package/lib/Components/ThemeColors/index.js +1 -0
  352. package/lib/Components/VivedAPI/Factories/index.d.ts +1 -0
  353. package/lib/Components/VivedAPI/Factories/index.js +13 -0
  354. package/lib/Components/VivedAPI/Factories/setupVivedAPIForSandbox.d.ts +2 -0
  355. package/lib/Components/VivedAPI/Factories/setupVivedAPIForSandbox.js +26 -0
  356. package/lib/Components/VivedAPI/Mocks/MockPatchAssetMetaUC.js +1 -2
  357. package/lib/Components/VivedAPI/UCs/BasicFetchUC.d.ts +1 -2
  358. package/lib/Components/VivedAPI/UCs/BasicFetchUC.js +1 -25
  359. package/lib/Components/VivedAPI/UCs/BlobRequestUC.d.ts +1 -2
  360. package/lib/Components/VivedAPI/UCs/BlobRequestUC.js +1 -28
  361. package/lib/Components/VivedAPI/UCs/JsonRequestUC.d.ts +1 -2
  362. package/lib/Components/VivedAPI/UCs/JsonRequestUC.js +1 -39
  363. package/lib/Components/VivedAPI/index.d.ts +1 -0
  364. package/lib/Components/VivedAPI/index.js +1 -0
  365. package/lib/Components/ZSpaceHost/Adapters/emulateZSpaceAdapter.d.ts +2 -0
  366. package/lib/Components/ZSpaceHost/Adapters/emulateZSpaceAdapter.js +23 -0
  367. package/lib/Components/ZSpaceHost/Adapters/index.d.ts +2 -0
  368. package/lib/Components/ZSpaceHost/Adapters/index.js +14 -0
  369. package/lib/Components/ZSpaceHost/Adapters/zSpaceIsActiveAdapter.d.ts +2 -0
  370. package/lib/Components/ZSpaceHost/Adapters/zSpaceIsActiveAdapter.js +23 -0
  371. package/lib/Components/ZSpaceHost/Controllers/index.d.ts +2 -0
  372. package/lib/Components/ZSpaceHost/Controllers/index.js +2 -0
  373. package/lib/Components/ZSpaceHost/Controllers/startZSpace.d.ts +2 -0
  374. package/lib/Components/ZSpaceHost/Controllers/startZSpace.js +13 -0
  375. package/lib/Components/ZSpaceHost/Controllers/stopZSpace.d.ts +2 -0
  376. package/lib/Components/ZSpaceHost/Controllers/stopZSpace.js +13 -0
  377. package/lib/Components/ZSpaceHost/Factories/index.d.ts +1 -0
  378. package/lib/Components/ZSpaceHost/Factories/index.js +13 -0
  379. package/lib/Components/ZSpaceHost/Factories/setupZSpaceForSandbox.d.ts +3 -0
  380. package/lib/Components/ZSpaceHost/Factories/setupZSpaceForSandbox.js +19 -0
  381. package/lib/Components/ZSpaceHost/Mocks/EmulateZSpacePMMock.d.ts +8 -0
  382. package/lib/Components/ZSpaceHost/Mocks/EmulateZSpacePMMock.js +15 -0
  383. package/lib/Components/ZSpaceHost/Mocks/MockStartZSpaceUC.d.ts +8 -0
  384. package/lib/Components/ZSpaceHost/Mocks/MockStartZSpaceUC.js +15 -0
  385. package/lib/Components/ZSpaceHost/Mocks/MockStopZSpaceUC.d.ts +8 -0
  386. package/lib/Components/ZSpaceHost/Mocks/MockStopZSpaceUC.js +15 -0
  387. package/lib/Components/ZSpaceHost/Mocks/MockXRSession.d.ts +28 -0
  388. package/lib/Components/ZSpaceHost/Mocks/MockXRSession.js +49 -0
  389. package/lib/Components/ZSpaceHost/Mocks/ZSpaceIsActivePMMock.d.ts +8 -0
  390. package/lib/Components/ZSpaceHost/Mocks/ZSpaceIsActivePMMock.js +15 -0
  391. package/lib/Components/ZSpaceHost/Mocks/index.d.ts +5 -0
  392. package/lib/Components/ZSpaceHost/Mocks/index.js +17 -0
  393. package/lib/Components/ZSpaceHost/PMs/EmulateZSpacePM.d.ts +2 -5
  394. package/lib/Components/ZSpaceHost/PMs/EmulateZSpacePM.js +12 -6
  395. package/lib/Components/ZSpaceHost/PMs/ZSpaceIsActivePM.d.ts +2 -5
  396. package/lib/Components/ZSpaceHost/PMs/ZSpaceIsActivePM.js +12 -6
  397. package/lib/Components/ZSpaceHost/UCs/StartSandboxZSpaceUC.d.ts +3 -0
  398. package/lib/Components/ZSpaceHost/UCs/StartSandboxZSpaceUC.js +70 -0
  399. package/lib/Components/ZSpaceHost/UCs/StartZSpace/StartSandboxZSpaceUC.d.ts +3 -0
  400. package/lib/Components/ZSpaceHost/UCs/StartZSpace/StartSandboxZSpaceUC.js +70 -0
  401. package/lib/Components/ZSpaceHost/UCs/StartZSpace/StartZSpaceUC.d.ts +6 -0
  402. package/lib/Components/ZSpaceHost/UCs/StartZSpace/StartZSpaceUC.js +11 -0
  403. package/lib/Components/ZSpaceHost/UCs/StartZSpace/index.d.ts +2 -0
  404. package/lib/Components/ZSpaceHost/UCs/StartZSpace/index.js +14 -0
  405. package/lib/Components/ZSpaceHost/UCs/StartZSpaceUC.d.ts +6 -0
  406. package/lib/Components/ZSpaceHost/UCs/StartZSpaceUC.js +11 -0
  407. package/lib/Components/ZSpaceHost/UCs/StopSandboxZSpaceUC.d.ts +3 -0
  408. package/lib/Components/ZSpaceHost/UCs/StopSandboxZSpaceUC.js +40 -0
  409. package/lib/Components/ZSpaceHost/UCs/StopZSpace/StopSandboxZSpaceUC.d.ts +3 -0
  410. package/lib/Components/ZSpaceHost/UCs/StopZSpace/StopSandboxZSpaceUC.js +40 -0
  411. package/lib/Components/ZSpaceHost/UCs/StopZSpace/StopZSpaceUC.d.ts +6 -0
  412. package/lib/Components/ZSpaceHost/UCs/StopZSpace/StopZSpaceUC.js +11 -0
  413. package/lib/Components/ZSpaceHost/UCs/StopZSpace/index.d.ts +2 -0
  414. package/lib/Components/ZSpaceHost/UCs/StopZSpace/index.js +14 -0
  415. package/lib/Components/ZSpaceHost/UCs/StopZSpaceUC.d.ts +6 -0
  416. package/lib/Components/ZSpaceHost/UCs/StopZSpaceUC.js +11 -0
  417. package/lib/Components/ZSpaceHost/UCs/index.d.ts +2 -0
  418. package/lib/Components/ZSpaceHost/UCs/index.js +2 -0
  419. package/lib/Components/ZSpaceHost/index.d.ts +3 -0
  420. package/lib/Components/ZSpaceHost/index.js +3 -0
  421. package/lib/Components/index.d.ts +2 -0
  422. package/lib/Components/index.js +2 -0
  423. package/lib/Entities/index.d.ts +0 -2
  424. package/lib/Entities/index.js +0 -2
  425. package/lib/PresentationManagers/Snackbar/SnackbarPM.d.ts +1 -1
  426. package/package.json +2 -2
  427. package/lib/AppObject/AppObject.d.ts +0 -14
  428. package/lib/AppObject/AppObject.js +0 -58
  429. package/lib/AppObject/AppObjectComponent.d.ts +0 -15
  430. package/lib/AppObject/AppObjectComponent.js +0 -61
  431. package/lib/AppObject/AppObjectController.d.ts +0 -3
  432. package/lib/AppObject/AppObjectController.js +0 -7
  433. package/lib/AppObject/AppObjectEntity.d.ts +0 -14
  434. package/lib/AppObject/AppObjectEntity.js +0 -36
  435. package/lib/AppObject/AppObjectEntityRepo.d.ts +0 -15
  436. package/lib/AppObject/AppObjectEntityRepo.js +0 -55
  437. package/lib/AppObject/AppObjectPM.d.ts +0 -11
  438. package/lib/AppObject/AppObjectPM.js +0 -38
  439. package/lib/AppObject/AppObjectRepo.d.ts +0 -25
  440. package/lib/AppObject/AppObjectRepo.js +0 -132
  441. package/lib/AppObject/AppObjectUC.d.ts +0 -3
  442. package/lib/AppObject/AppObjectUC.js +0 -7
  443. package/lib/AppObject/AppObjectView.d.ts +0 -3
  444. package/lib/AppObject/AppObjectView.js +0 -7
  445. package/lib/AppObject/getSingletonComponent.d.ts +0 -3
  446. package/lib/AppObject/getSingletonComponent.js +0 -7
  447. package/lib/AppObject/index.d.ts +0 -9
  448. package/lib/Components/Apps/UCs/MounterUC.js +0 -15
  449. package/lib/Components/Assets/Entities/AssetRepository.d.ts +0 -34
  450. package/lib/Components/Assets/Entities/AssetRepository.js +0 -267
  451. package/lib/Components/Assets/UCs/UpdateArchiveAssetUC.d.ts +0 -7
  452. package/lib/Components/Assets/UCs/UpdateArchiveAssetUC.js +0 -59
  453. package/lib/Components/Dialog/Entities/DialogAlert.d.ts +0 -25
  454. package/lib/Components/Dialog/Entities/DialogAlert.js +0 -48
  455. package/lib/Components/Dialog/Entities/DialogConfirm.d.ts +0 -29
  456. package/lib/Components/Dialog/Entities/DialogConfirm.js +0 -53
  457. package/lib/Components/Dialog/Entities/DialogMarkDownEditor.d.ts +0 -21
  458. package/lib/Components/Dialog/Entities/DialogMarkDownEditor.js +0 -44
  459. package/lib/Components/Dialog/Entities/DialogSpinner.d.ts +0 -24
  460. package/lib/Components/Dialog/Entities/DialogSpinner.js +0 -63
  461. package/lib/Components/Handler/Entites/HostHandler.d.ts +0 -22
  462. package/lib/Components/Handler/Entites/HostHandler.js +0 -61
  463. package/lib/Components/Handler/Entites/index.d.ts +0 -1
  464. package/lib/Components/Handler/Mocks/MockGetAssetBlobURLHandler.d.ts +0 -8
  465. package/lib/Components/Handler/Mocks/MockGetAssetBlobURLHandler.js +0 -12
  466. package/lib/Components/Handler/Mocks/MockGetAssetFolderURLHandler.d.ts +0 -8
  467. package/lib/Components/Handler/Mocks/MockGetAssetFolderURLHandler.js +0 -12
  468. package/lib/Components/Handler/Mocks/MockGetAssetMetaHandler.d.ts +0 -8
  469. package/lib/Components/Handler/Mocks/MockGetAssetMetaHandler.js +0 -12
  470. package/lib/Components/Handler/Mocks/MockGetAssetsForOwnerHandler.d.ts +0 -8
  471. package/lib/Components/Handler/Mocks/MockGetAssetsForOwnerHandler.js +0 -12
  472. package/lib/Components/Handler/Mocks/MockGetLinkedAssetsHandler.d.ts +0 -8
  473. package/lib/Components/Handler/Mocks/MockGetLinkedAssetsHandler.js +0 -12
  474. package/lib/Components/Handler/Mocks/MockGoToNextStateHandler.d.ts +0 -8
  475. package/lib/Components/Handler/Mocks/MockGoToNextStateHandler.js +0 -12
  476. package/lib/Components/Handler/Mocks/MockGoToPreviousStateHandler.d.ts +0 -8
  477. package/lib/Components/Handler/Mocks/MockGoToPreviousStateHandler.js +0 -12
  478. package/lib/Components/Handler/Mocks/MockHasNextStateHandler.d.ts +0 -8
  479. package/lib/Components/Handler/Mocks/MockHasNextStateHandler.js +0 -12
  480. package/lib/Components/Handler/Mocks/MockHasPreviousStateHandler.d.ts +0 -8
  481. package/lib/Components/Handler/Mocks/MockHasPreviousStateHandler.js +0 -12
  482. package/lib/Components/Handler/Mocks/MockIsAssetFetchedHandler.d.ts +0 -8
  483. package/lib/Components/Handler/Mocks/MockIsAssetFetchedHandler.js +0 -12
  484. package/lib/Components/Handler/Mocks/MockIsZSpaceAvailableHandler.d.ts +0 -8
  485. package/lib/Components/Handler/Mocks/MockIsZSpaceAvailableHandler.js +0 -12
  486. package/lib/Components/Handler/Mocks/MockNewActivityAssetHandler.d.ts +0 -8
  487. package/lib/Components/Handler/Mocks/MockNewActivityAssetHandler.js +0 -12
  488. package/lib/Components/Handler/Mocks/MockOnAppIsReadyHandler.d.ts +0 -8
  489. package/lib/Components/Handler/Mocks/MockOnAppIsReadyHandler.js +0 -12
  490. package/lib/Components/Handler/Mocks/MockOnStateChangeHandler.d.ts +0 -8
  491. package/lib/Components/Handler/Mocks/MockOnStateChangeHandler.js +0 -12
  492. package/lib/Components/Handler/Mocks/MockOnStateCompleteHandler.d.ts +0 -8
  493. package/lib/Components/Handler/Mocks/MockOnStateCompleteHandler.js +0 -12
  494. package/lib/Components/Handler/Mocks/index.d.ts +0 -13
  495. package/lib/Components/Handler/Mocks/index.js +0 -25
  496. package/lib/Components/StateMachine/Adapters/hostStateMachinePMAdater.d.ts +0 -3
  497. package/lib/Components/StateMachine/Adapters/hostStateMachinePMAdater.js +0 -23
  498. package/lib/Components/StateMachine/Adapters/isEditingPMAdapter.d.ts +0 -3
  499. package/lib/Components/StateMachine/Adapters/isEditingPMAdapter.js +0 -23
  500. package/lib/Components/StateMachine/PMs/IsEditingStatePM.d.ts +0 -13
  501. package/lib/Components/StateMachine/PMs/IsEditingStatePM.js +0 -36
  502. package/lib/Components/VivedAPI/Mocks/MockDeleteAssetUC.d.ts +0 -8
  503. package/lib/Components/VivedAPI/Mocks/MockDeleteAssetUC.js +0 -15
  504. package/lib/Components/VivedAPI/Mocks/MockFetchAssetFileUC.d.ts +0 -8
  505. package/lib/Components/VivedAPI/Mocks/MockFetchAssetFileUC.js +0 -15
  506. package/lib/Components/VivedAPI/Mocks/MockFetchAssetMetaUC.d.ts +0 -8
  507. package/lib/Components/VivedAPI/Mocks/MockFetchAssetMetaUC.js +0 -15
  508. package/lib/Components/VivedAPI/Mocks/MockGetAppUC.d.ts +0 -8
  509. package/lib/Components/VivedAPI/Mocks/MockGetAppUC.js +0 -15
  510. package/lib/Components/VivedAPI/UCs/DeleteAssetUC.d.ts +0 -7
  511. package/lib/Components/VivedAPI/UCs/DeleteAssetUC.js +0 -63
  512. package/lib/Components/VivedAPI/UCs/FetchAssetFileUC.d.ts +0 -8
  513. package/lib/Components/VivedAPI/UCs/FetchAssetFileUC.js +0 -53
  514. package/lib/Components/VivedAPI/UCs/FetchAssetMetaUC.d.ts +0 -20
  515. package/lib/Components/VivedAPI/UCs/FetchAssetMetaUC.js +0 -72
  516. package/lib/Components/VivedAPI/UCs/GetAppUC.d.ts +0 -28
  517. package/lib/Components/VivedAPI/UCs/GetAppUC.js +0 -70
  518. package/lib/Components/VivedAPI/UCs/GetAssetsForOwnerUC.d.ts +0 -20
  519. package/lib/Components/VivedAPI/UCs/GetAssetsForOwnerUC.js +0 -86
  520. package/lib/Entities/Asset.d.ts +0 -30
  521. package/lib/Entities/Asset.js +0 -131
  522. package/lib/Entities/AssetRepo.d.ts +0 -10
  523. package/lib/Entities/AssetRepo.js +0 -56
  524. package/lib/Entities/Auth.d.ts +0 -7
  525. package/lib/Entities/Auth.js +0 -25
  526. package/lib/Entities/ChallengeResults.d.ts +0 -40
  527. package/lib/Entities/DevicePreview.d.ts +0 -20
  528. package/lib/Entities/DevicePreview.js +0 -67
  529. package/lib/Entities/DialogAlert.d.ts +0 -18
  530. package/lib/Entities/DialogAlert.js +0 -25
  531. package/lib/Entities/DialogBase.d.ts +0 -10
  532. package/lib/Entities/DialogBase.js +0 -20
  533. package/lib/Entities/DialogConfirm.d.ts +0 -22
  534. package/lib/Entities/DialogConfirm.js +0 -30
  535. package/lib/Entities/DialogMarkDownEditor.d.ts +0 -14
  536. package/lib/Entities/DialogMarkDownEditor.js +0 -21
  537. package/lib/Entities/DialogRepo.d.ts +0 -8
  538. package/lib/Entities/DialogRepo.js +0 -38
  539. package/lib/Entities/DialogSpinner.d.ts +0 -15
  540. package/lib/Entities/DialogSpinner.js +0 -47
  541. package/lib/Entities/HostBoundary.d.ts +0 -10
  542. package/lib/Entities/HostBoundary.js +0 -2
  543. package/lib/Entities/HostDispatcher.d.ts +0 -16
  544. package/lib/Entities/HostDispatcher.js +0 -171
  545. package/lib/Entities/HostHandler.d.ts +0 -19
  546. package/lib/Entities/HostHandler.js +0 -59
  547. package/lib/Entities/HostHandlerX.d.ts +0 -7
  548. package/lib/Entities/HostHandlerX.js +0 -35
  549. package/lib/Entities/Logger.d.ts +0 -41
  550. package/lib/Entities/Logger.js +0 -117
  551. package/lib/Entities/VivedAPI.d.ts +0 -50
  552. package/lib/Entities/VivedAPI.js +0 -69
  553. package/lib/PresentationManagers/DevicePreview/DevicePreviewListPM.d.ts +0 -23
  554. package/lib/PresentationManagers/DevicePreview/DevicePreviewListPM.js +0 -50
  555. package/lib/PresentationManagers/Dialog/AlertDialogPM.d.ts +0 -18
  556. package/lib/PresentationManagers/Dialog/AlertDialogPM.js +0 -65
  557. package/lib/PresentationManagers/Dialog/ConfirmDialogPM.d.ts +0 -21
  558. package/lib/PresentationManagers/Dialog/ConfirmDialogPM.js +0 -87
  559. package/lib/PresentationManagers/Dialog/DialogPM.d.ts +0 -19
  560. package/lib/PresentationManagers/Dialog/DialogPM.js +0 -66
  561. package/lib/PresentationManagers/Dialog/MarkDownEditorDialogPM.d.ts +0 -17
  562. package/lib/PresentationManagers/Dialog/MarkDownEditorDialogPM.js +0 -68
  563. package/lib/PresentationManagers/Dialog/SpinnerDialogPM.d.ts +0 -16
  564. package/lib/PresentationManagers/Dialog/SpinnerDialogPM.js +0 -62
  565. package/lib/Types/ReactHookPmAdapter.d.ts +0 -6
  566. package/lib/Types/ReactHookPmAdapter.js +0 -2
  567. package/lib/UseCases/Handlers/CallbackAssetDTO.d.ts +0 -5
  568. package/lib/UseCases/Handlers/CallbackAssetDTO.js +0 -2
  569. package/lib/UseCases/Handlers/GetAssetBlobURLBase.d.ts +0 -10
  570. package/lib/UseCases/Handlers/GetAssetBlobURLBase.js +0 -30
  571. package/lib/UseCases/Handlers/GetAssetFolderURLBase.d.ts +0 -10
  572. package/lib/UseCases/Handlers/GetAssetFolderURLBase.js +0 -30
  573. package/lib/UseCases/Handlers/GetAssetMetaBase.d.ts +0 -11
  574. package/lib/UseCases/Handlers/GetAssetMetaBase.js +0 -30
  575. package/lib/UseCases/Handlers/GetAssetsForOwnerBase.d.ts +0 -11
  576. package/lib/UseCases/Handlers/GetAssetsForOwnerBase.js +0 -30
  577. package/lib/UseCases/Handlers/GetLinkedAssetsBase.d.ts +0 -11
  578. package/lib/UseCases/Handlers/GetLinkedAssetsBase.js +0 -30
  579. package/lib/UseCases/Handlers/GoToNextStateBase.d.ts +0 -9
  580. package/lib/UseCases/Handlers/GoToNextStateBase.js +0 -23
  581. package/lib/UseCases/Handlers/GoToPreviousStateBase.d.ts +0 -9
  582. package/lib/UseCases/Handlers/GoToPreviousStateBase.js +0 -23
  583. package/lib/UseCases/Handlers/HasNextStateBase.d.ts +0 -10
  584. package/lib/UseCases/Handlers/HasNextStateBase.js +0 -30
  585. package/lib/UseCases/Handlers/HasPreviousStateBase.d.ts +0 -10
  586. package/lib/UseCases/Handlers/HasPreviousStateBase.js +0 -30
  587. package/lib/UseCases/Handlers/IsAssetFetchedBase.d.ts +0 -14
  588. package/lib/UseCases/Handlers/IsAssetFetchedBase.js +0 -31
  589. package/lib/UseCases/Handlers/IsZSpaceAvailableBase.d.ts +0 -10
  590. package/lib/UseCases/Handlers/IsZSpaceAvailableBase.js +0 -30
  591. package/lib/UseCases/Handlers/NewActivityAssetBase.d.ts +0 -10
  592. package/lib/UseCases/Handlers/NewActivityAssetBase.js +0 -30
  593. package/lib/UseCases/Handlers/OnAppIsReadyBase.d.ts +0 -8
  594. package/lib/UseCases/Handlers/OnAppIsReadyBase.js +0 -22
  595. package/lib/UseCases/Handlers/OnStateChangeBase.d.ts +0 -12
  596. package/lib/UseCases/Handlers/OnStateChangeBase.js +0 -52
  597. package/lib/UseCases/Handlers/OnStateCompleteBase.d.ts +0 -8
  598. package/lib/UseCases/Handlers/OnStateCompleteBase.js +0 -22
  599. package/lib/UseCases/Handlers/RegisterExternalStyleSheetsBase.d.ts +0 -10
  600. package/lib/UseCases/Handlers/RegisterExternalStyleSheetsBase.js +0 -30
  601. package/lib/UseCases/Handlers/RestoreCurrentStateBase.d.ts +0 -9
  602. package/lib/UseCases/Handlers/RestoreCurrentStateBase.js +0 -23
  603. package/lib/UseCases/Handlers/ShowAlertBase.d.ts +0 -16
  604. package/lib/UseCases/Handlers/ShowAlertBase.js +0 -33
  605. package/lib/UseCases/Handlers/ShowConfirmBase.d.ts +0 -18
  606. package/lib/UseCases/Handlers/ShowConfirmBase.js +0 -35
  607. package/lib/UseCases/Handlers/ShowMarkDownEditorBase.d.ts +0 -15
  608. package/lib/UseCases/Handlers/ShowMarkDownEditorBase.js +0 -31
  609. package/lib/UseCases/Handlers/ShowSelectModelBase.d.ts +0 -10
  610. package/lib/UseCases/Handlers/ShowSelectModelBase.js +0 -30
  611. package/lib/UseCases/Handlers/ShowSpinnerBase.d.ts +0 -15
  612. package/lib/UseCases/Handlers/ShowSpinnerBase.js +0 -32
  613. package/lib/UseCases/Handlers/StartZSpaceBase.d.ts +0 -9
  614. package/lib/UseCases/Handlers/StartZSpaceBase.js +0 -23
  615. package/lib/UseCases/Handlers/StopZSpaceBase.d.ts +0 -9
  616. package/lib/UseCases/Handlers/StopZSpaceBase.js +0 -23
  617. package/lib/UseCases/Handlers/SubmitActivityAssetBase.d.ts +0 -10
  618. package/lib/UseCases/Handlers/SubmitActivityAssetBase.js +0 -30
  619. package/lib/UseCases/Handlers/SubmitLogBase.d.ts +0 -11
  620. package/lib/UseCases/Handlers/SubmitLogBase.js +0 -32
  621. package/lib/UseCases/Handlers/SubmitResultBase.d.ts +0 -32
  622. package/lib/UseCases/Handlers/SubmitResultBase.js +0 -43
  623. package/lib/UseCases/Handlers/index.d.ts +0 -6
  624. package/lib/UseCases/index.d.ts +0 -1
@@ -0,0 +1,2 @@
1
+ import { SingletonPmAdapter } from "../../../Types/SingletonPmAdapter";
2
+ export declare const devFeaturesEnabledAdapter: SingletonPmAdapter<boolean>;
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.devFeaturesEnabledAdapter = void 0;
4
+ const DevFeaturesEnabledPM_1 = require("../PMs/DevFeaturesEnabledPM");
5
+ exports.devFeaturesEnabledAdapter = {
6
+ defaultVM: true,
7
+ subscribe: (appObjects, setVM) => {
8
+ const pm = DevFeaturesEnabledPM_1.DevFeaturesEnabledPM.get(appObjects);
9
+ if (!pm) {
10
+ appObjects.submitError("devFeaturesEnabledAdapter", "Unable to find DevFeaturesEnabledPM");
11
+ return;
12
+ }
13
+ pm.addView(setVM);
14
+ },
15
+ unsubscribe: (appObjects, setVM) => {
16
+ const pm = DevFeaturesEnabledPM_1.DevFeaturesEnabledPM.get(appObjects);
17
+ if (!pm) {
18
+ appObjects.submitError("devFeaturesEnabledAdapter", "Unable to find DevFeaturesEnabledPM");
19
+ return;
20
+ }
21
+ pm.removeView(setVM);
22
+ }
23
+ };
@@ -0,0 +1,4 @@
1
+ export * from "./devFeaturesEnabledAdapter";
2
+ export * from "./sandboxStateAdapter";
3
+ export * from "./showInspectorAdapter";
4
+ export * from "./startInZSpaceAdapter";
@@ -10,12 +10,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
10
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
11
  };
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
- __exportStar(require("./AppObject"), exports);
14
- __exportStar(require("./AppObjectEntity"), exports);
15
- __exportStar(require("./AppObjectEntityRepo"), exports);
16
- __exportStar(require("./AppObjectPM"), exports);
17
- __exportStar(require("./AppObjectRepo"), exports);
18
- __exportStar(require("./AppObjectUC"), exports);
19
- __exportStar(require("./AppObjectController"), exports);
20
- __exportStar(require("./AppObjectView"), exports);
21
- __exportStar(require("./getSingletonComponent"), exports);
13
+ __exportStar(require("./devFeaturesEnabledAdapter"), exports);
14
+ __exportStar(require("./sandboxStateAdapter"), exports);
15
+ __exportStar(require("./showInspectorAdapter"), exports);
16
+ __exportStar(require("./startInZSpaceAdapter"), exports);
@@ -0,0 +1,3 @@
1
+ import { SingletonPmAdapter } from "../../../Types/SingletonPmAdapter";
2
+ import { SandboxState } from "../Entities/AppSandboxEntity";
3
+ export declare const sandboxStateAdapter: SingletonPmAdapter<SandboxState>;
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.sandboxStateAdapter = void 0;
4
+ const AppSandboxEntity_1 = require("../Entities/AppSandboxEntity");
5
+ const SandboxStatePM_1 = require("../PMs/SandboxStatePM");
6
+ exports.sandboxStateAdapter = {
7
+ defaultVM: AppSandboxEntity_1.SandboxState.UNMOUNTED,
8
+ subscribe: (appObjects, setVM) => {
9
+ const pm = SandboxStatePM_1.SandboxStatePM.get(appObjects);
10
+ if (!pm) {
11
+ appObjects.submitError("renderAppAdapter", "Unable to find SandboxStatePM");
12
+ return;
13
+ }
14
+ pm.addView(setVM);
15
+ },
16
+ unsubscribe: (appObjects, setVM) => {
17
+ const pm = SandboxStatePM_1.SandboxStatePM.get(appObjects);
18
+ if (!pm) {
19
+ appObjects.submitError("renderAppAdapter", "Unable to find SandboxStatePM");
20
+ return;
21
+ }
22
+ pm.removeView(setVM);
23
+ }
24
+ };
@@ -0,0 +1,2 @@
1
+ import { SingletonPmAdapter } from "../../../Types/SingletonPmAdapter";
2
+ export declare const showInspectorAdapter: SingletonPmAdapter<boolean>;
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.showInspectorAdapter = void 0;
4
+ const ShowInspectorPM_1 = require("../PMs/ShowInspectorPM");
5
+ exports.showInspectorAdapter = {
6
+ defaultVM: false,
7
+ subscribe: (appObjects, setVM) => {
8
+ const pm = ShowInspectorPM_1.ShowInspectorPM.get(appObjects);
9
+ if (!pm) {
10
+ appObjects.submitError("showInspectorAdapter", "Unable to find ShowInspectorPM");
11
+ return;
12
+ }
13
+ pm.addView(setVM);
14
+ },
15
+ unsubscribe: (appObjects, setVM) => {
16
+ const pm = ShowInspectorPM_1.ShowInspectorPM.get(appObjects);
17
+ if (!pm) {
18
+ appObjects.submitError("showInspectorAdapter", "Unable to find ShowInspectorPM");
19
+ return;
20
+ }
21
+ pm.removeView(setVM);
22
+ }
23
+ };
@@ -0,0 +1,2 @@
1
+ import { SingletonPmAdapter } from "../../../Types/SingletonPmAdapter";
2
+ export declare const startInZSpaceAdapter: SingletonPmAdapter<boolean>;
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.startInZSpaceAdapter = void 0;
4
+ const StartInZSpacePM_1 = require("../PMs/StartInZSpacePM");
5
+ exports.startInZSpaceAdapter = {
6
+ defaultVM: false,
7
+ subscribe: (appObjects, setVM) => {
8
+ const pm = StartInZSpacePM_1.StartInZSpacePM.get(appObjects);
9
+ if (!pm) {
10
+ appObjects.submitError("startInZSpaceAdapter", "Unable to find StartInZSpacePM");
11
+ return;
12
+ }
13
+ pm.addView(setVM);
14
+ },
15
+ unsubscribe: (appObjects, setVM) => {
16
+ const pm = StartInZSpacePM_1.StartInZSpacePM.get(appObjects);
17
+ if (!pm) {
18
+ appObjects.submitError("startInZSpaceAdapter", "Unable to find StartInZSpacePM");
19
+ return;
20
+ }
21
+ pm.removeView(setVM);
22
+ }
23
+ };
@@ -0,0 +1,2 @@
1
+ import { HostAppObjectRepo } from "../../../HostAppObject";
2
+ export declare function clearSandboxAppContainer(appObjects: HostAppObjectRepo): void;
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.clearSandboxAppContainer = void 0;
4
+ const AppSandboxEntity_1 = require("../Entities/AppSandboxEntity");
5
+ function clearSandboxAppContainer(appObjects) {
6
+ const sandbox = AppSandboxEntity_1.AppSandboxEntity.get(appObjects);
7
+ if (sandbox) {
8
+ sandbox.appContainer = undefined;
9
+ }
10
+ }
11
+ exports.clearSandboxAppContainer = clearSandboxAppContainer;
@@ -0,0 +1,10 @@
1
+ export * from "./clearSandboxAppContainer";
2
+ export * from "./mountSandboxApp";
3
+ export * from "./setSandboxAppContainer";
4
+ export * from "./setSandboxAppState";
5
+ export * from "./startSandboxApp";
6
+ export * from "./stopSandboxApp";
7
+ export * from "./toggleAllowDevFeatures";
8
+ export * from "./toggleShowInspector";
9
+ export * from "./toggleStartInZSpace";
10
+ export * from "./unmountSandboxApp";
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
+ };
12
+ Object.defineProperty(exports, "__esModule", { value: true });
13
+ __exportStar(require("./clearSandboxAppContainer"), exports);
14
+ __exportStar(require("./mountSandboxApp"), exports);
15
+ __exportStar(require("./setSandboxAppContainer"), exports);
16
+ __exportStar(require("./setSandboxAppState"), exports);
17
+ __exportStar(require("./startSandboxApp"), exports);
18
+ __exportStar(require("./stopSandboxApp"), exports);
19
+ __exportStar(require("./toggleAllowDevFeatures"), exports);
20
+ __exportStar(require("./toggleShowInspector"), exports);
21
+ __exportStar(require("./toggleStartInZSpace"), exports);
22
+ __exportStar(require("./unmountSandboxApp"), exports);
@@ -0,0 +1,2 @@
1
+ import { HostAppObjectRepo } from "../../../HostAppObject";
2
+ export declare function mountSandboxApp(appObjects: HostAppObjectRepo): void;
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.mountSandboxApp = void 0;
4
+ const MounterUC_1 = require("../../Apps/UCs/Mounters/MounterUC");
5
+ const AppSandboxEntity_1 = require("../Entities/AppSandboxEntity");
6
+ function mountSandboxApp(appObjects) {
7
+ const sandbox = AppSandboxEntity_1.AppSandboxEntity.get(appObjects);
8
+ if (!sandbox) {
9
+ appObjects.submitWarning("mountSandboxApp", "Could not find AppSandboxEntity");
10
+ return;
11
+ }
12
+ const mountUC = MounterUC_1.MounterUC.getById(sandbox.appID, appObjects);
13
+ if (!mountUC) {
14
+ appObjects.submitWarning("mountSandboxApp", "Could not find MounterUC");
15
+ return;
16
+ }
17
+ mountUC.mountLatestVersion();
18
+ }
19
+ exports.mountSandboxApp = mountSandboxApp;
@@ -0,0 +1,2 @@
1
+ import { HostAppObjectRepo } from "../../../HostAppObject";
2
+ export declare function setSandboxAppContainer(container: HTMLDivElement, appObjects: HostAppObjectRepo): void;
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.setSandboxAppContainer = void 0;
4
+ const AppSandboxEntity_1 = require("../Entities/AppSandboxEntity");
5
+ function setSandboxAppContainer(container, appObjects) {
6
+ const sandbox = AppSandboxEntity_1.AppSandboxEntity.get(appObjects);
7
+ if (sandbox) {
8
+ sandbox.appContainer = container;
9
+ }
10
+ }
11
+ exports.setSandboxAppContainer = setSandboxAppContainer;
@@ -0,0 +1,3 @@
1
+ import { HostAppObjectRepo } from "../../../HostAppObject";
2
+ import { SandboxState } from "../Entities/AppSandboxEntity";
3
+ export declare function setSandboxAppState(state: SandboxState, appObjects: HostAppObjectRepo): void;
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.setSandboxAppState = void 0;
4
+ const AppSandboxEntity_1 = require("../Entities/AppSandboxEntity");
5
+ function setSandboxAppState(state, appObjects) {
6
+ const sandbox = AppSandboxEntity_1.AppSandboxEntity.get(appObjects);
7
+ if (sandbox) {
8
+ sandbox.state = state;
9
+ }
10
+ }
11
+ exports.setSandboxAppState = setSandboxAppState;
@@ -0,0 +1,2 @@
1
+ import { HostAppObjectRepo } from "../../../HostAppObject";
2
+ export declare function startSandboxApp(container: HTMLElement, appObjects: HostAppObjectRepo): void;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.startSandboxApp = void 0;
4
+ const StartAppUC_1 = require("../../Apps/UCs/StartAppUC");
5
+ const AppSandboxEntity_1 = require("../Entities/AppSandboxEntity");
6
+ function startSandboxApp(container, appObjects) {
7
+ const sandbox = AppSandboxEntity_1.AppSandboxEntity.get(appObjects);
8
+ if (!sandbox) {
9
+ appObjects.submitWarning("startSandboxApp", "Could not find AppSandboxEntity");
10
+ return;
11
+ }
12
+ StartAppUC_1.StartAppUC.startByID(container, sandbox.appID, appObjects);
13
+ }
14
+ exports.startSandboxApp = startSandboxApp;
@@ -0,0 +1,2 @@
1
+ import { HostAppObjectRepo } from "../../../HostAppObject";
2
+ export declare function stopSandboxApp(appObjects: HostAppObjectRepo): void;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.stopSandboxApp = void 0;
4
+ const StopAppUC_1 = require("../../Apps/UCs/StopAppUC");
5
+ const AppSandboxEntity_1 = require("../Entities/AppSandboxEntity");
6
+ function stopSandboxApp(appObjects) {
7
+ const sandbox = AppSandboxEntity_1.AppSandboxEntity.get(appObjects);
8
+ if (!sandbox) {
9
+ appObjects.submitWarning("stopSandboxApp", "Could not find AppSandboxEntity");
10
+ return;
11
+ }
12
+ StopAppUC_1.StopAppUC.stopByID(sandbox.appID, appObjects);
13
+ }
14
+ exports.stopSandboxApp = stopSandboxApp;
@@ -0,0 +1,2 @@
1
+ import { HostAppObjectRepo } from "../../../HostAppObject";
2
+ export declare function toggleAllowDevFeatures(appObjects: HostAppObjectRepo): void;
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.toggleAllowDevFeatures = void 0;
4
+ const AppSandboxEntity_1 = require("../Entities/AppSandboxEntity");
5
+ function toggleAllowDevFeatures(appObjects) {
6
+ const sandbox = AppSandboxEntity_1.AppSandboxEntity.get(appObjects);
7
+ if (sandbox) {
8
+ sandbox.enableDevFeatures = !sandbox.enableDevFeatures;
9
+ }
10
+ }
11
+ exports.toggleAllowDevFeatures = toggleAllowDevFeatures;
@@ -0,0 +1,2 @@
1
+ import { HostAppObjectRepo } from "../../../HostAppObject";
2
+ export declare function toggleShowInspector(appObjects: HostAppObjectRepo): void;
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.toggleShowInspector = void 0;
4
+ const AppSandboxEntity_1 = require("../Entities/AppSandboxEntity");
5
+ const ShowBabylonInspectorUC_1 = require("../UCs/ShowBabylonInspectorUC");
6
+ function toggleShowInspector(appObjects) {
7
+ const sandbox = AppSandboxEntity_1.AppSandboxEntity.get(appObjects);
8
+ if (!sandbox) {
9
+ appObjects.submitWarning("toggleShowInspector", "Could not find AppSandboxEntity");
10
+ return;
11
+ }
12
+ const uc = ShowBabylonInspectorUC_1.ShowBabylonInspectorUC.getByID(sandbox.appID, appObjects);
13
+ if (!uc) {
14
+ appObjects.submitWarning("toggleShowInspector", "Could not find ShowBabylonInspectorUC");
15
+ return;
16
+ }
17
+ uc.toggleShow();
18
+ }
19
+ exports.toggleShowInspector = toggleShowInspector;
@@ -0,0 +1,2 @@
1
+ import { HostAppObjectRepo } from "../../../HostAppObject";
2
+ export declare function toggleStartInZSpace(appObjects: HostAppObjectRepo): void;
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.toggleStartInZSpace = void 0;
4
+ const AppSandboxEntity_1 = require("../Entities/AppSandboxEntity");
5
+ function toggleStartInZSpace(appObjects) {
6
+ const sandbox = AppSandboxEntity_1.AppSandboxEntity.get(appObjects);
7
+ if (sandbox) {
8
+ sandbox.startInZSpace = !sandbox.startInZSpace;
9
+ }
10
+ }
11
+ exports.toggleStartInZSpace = toggleStartInZSpace;
@@ -0,0 +1,2 @@
1
+ import { HostAppObjectRepo } from "../../../HostAppObject";
2
+ export declare function unmountSandboxApp(appObjects: HostAppObjectRepo): void;
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.unmountSandboxApp = void 0;
4
+ const MounterUC_1 = require("../../Apps/UCs/Mounters/MounterUC");
5
+ const AppSandboxEntity_1 = require("../Entities/AppSandboxEntity");
6
+ function unmountSandboxApp(appObjects) {
7
+ const sandbox = AppSandboxEntity_1.AppSandboxEntity.get(appObjects);
8
+ if (!sandbox) {
9
+ appObjects.submitWarning("unmountSandboxApp", "Could not find AppSandboxEntity");
10
+ return;
11
+ }
12
+ const mountUC = MounterUC_1.MounterUC.getById(sandbox.appID, appObjects);
13
+ if (!mountUC) {
14
+ appObjects.submitWarning("unmountSandboxApp", "Could not find MounterUC");
15
+ return;
16
+ }
17
+ mountUC.unmount();
18
+ }
19
+ exports.unmountSandboxApp = unmountSandboxApp;
@@ -0,0 +1,34 @@
1
+ import { HostAppObject, HostAppObjectEntity, HostAppObjectRepo } from "../../../HostAppObject";
2
+ import { AppEntity } from "../../Apps/Entities/AppEntity";
3
+ export declare enum SandboxState {
4
+ UNMOUNTED = "UNMOUNTED",
5
+ LOADING = "LOADING",
6
+ MOUNTED = "MOUNTED",
7
+ PLAYING = "PLAYING",
8
+ FATAL_ERROR = "FATAL_ERROR",
9
+ EDIT_ASSET = "EDIT_ASSET",
10
+ NEW_APP_ASSET = "NEW_APP_ASSET"
11
+ }
12
+ export declare abstract class AppSandboxEntity extends HostAppObjectEntity {
13
+ static type: string;
14
+ abstract get appID(): string;
15
+ abstract get appContainer(): HTMLDivElement | undefined;
16
+ abstract set appContainer(container: HTMLDivElement | undefined);
17
+ abstract get channelID(): string;
18
+ abstract set channelID(id: string);
19
+ abstract get channelName(): string;
20
+ abstract set channelName(id: string);
21
+ abstract get state(): SandboxState;
22
+ abstract set state(val: SandboxState);
23
+ abstract get startInZSpace(): boolean;
24
+ abstract set startInZSpace(val: boolean);
25
+ abstract get showBabylonInspector(): boolean;
26
+ abstract set showBabylonInspector(render: boolean);
27
+ abstract get enableDevFeatures(): boolean;
28
+ abstract set enableDevFeatures(enable: boolean);
29
+ abstract mockActivityID: string;
30
+ abstract devFeatures: string[];
31
+ abstract readonly app: AppEntity;
32
+ static get(appObjects: HostAppObjectRepo): AppSandboxEntity | undefined;
33
+ }
34
+ export declare function makeAppSandboxEntity(appObject: HostAppObject): AppSandboxEntity;
@@ -0,0 +1,81 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.makeAppSandboxEntity = exports.AppSandboxEntity = exports.SandboxState = void 0;
4
+ const MemoizedBoolean_1 = require("../../../Entities/MemoizedBoolean");
5
+ const HostAppObject_1 = require("../../../HostAppObject");
6
+ const AppEntity_1 = require("../../Apps/Entities/AppEntity");
7
+ var SandboxState;
8
+ (function (SandboxState) {
9
+ SandboxState["UNMOUNTED"] = "UNMOUNTED";
10
+ SandboxState["LOADING"] = "LOADING";
11
+ SandboxState["MOUNTED"] = "MOUNTED";
12
+ SandboxState["PLAYING"] = "PLAYING";
13
+ SandboxState["FATAL_ERROR"] = "FATAL_ERROR";
14
+ SandboxState["EDIT_ASSET"] = "EDIT_ASSET";
15
+ SandboxState["NEW_APP_ASSET"] = "NEW_APP_ASSET";
16
+ })(SandboxState = exports.SandboxState || (exports.SandboxState = {}));
17
+ class AppSandboxEntity extends HostAppObject_1.HostAppObjectEntity {
18
+ static get(appObjects) {
19
+ return HostAppObject_1.getSingletonComponent(AppSandboxEntity.type, appObjects);
20
+ }
21
+ }
22
+ exports.AppSandboxEntity = AppSandboxEntity;
23
+ AppSandboxEntity.type = "AppSandboxEntity";
24
+ function makeAppSandboxEntity(appObject) {
25
+ return new AppSandboxEntityImp(appObject);
26
+ }
27
+ exports.makeAppSandboxEntity = makeAppSandboxEntity;
28
+ class AppSandboxEntityImp extends AppSandboxEntity {
29
+ constructor(appObject) {
30
+ super(appObject, AppSandboxEntity.type);
31
+ this.mockActivityID = "74ec8149-ced4-44b7-a4e4-5238593ab36f";
32
+ this.channelID = "abad8cd4-6379-4325-a7c0-3679c358ebe6";
33
+ this.channelName = "Development Channel";
34
+ this.memoizedStartInZSpace = new MemoizedBoolean_1.MemoizedBoolean(false, this.notifyOnChange);
35
+ this.memoizedShowInspector = new MemoizedBoolean_1.MemoizedBoolean(false, this.notifyOnChange);
36
+ this.memoisedEnableDevFeatures = new MemoizedBoolean_1.MemoizedBoolean(true, this.notifyOnChange);
37
+ this.devFeatures = [];
38
+ this._state = SandboxState.UNMOUNTED;
39
+ this.app = AppEntity_1.makeAppEntity(appObject);
40
+ this.appObjects.registerSingleton(this);
41
+ }
42
+ get appID() {
43
+ return this.appObject.id;
44
+ }
45
+ get startInZSpace() {
46
+ return this.memoizedStartInZSpace.val;
47
+ }
48
+ set startInZSpace(val) {
49
+ this.memoizedStartInZSpace.val = val;
50
+ }
51
+ get appContainer() {
52
+ return this._playerContainer;
53
+ }
54
+ set appContainer(container) {
55
+ if (container === this._playerContainer)
56
+ return;
57
+ this._playerContainer = container;
58
+ this.notifyOnChange();
59
+ }
60
+ get showBabylonInspector() {
61
+ return this.memoizedShowInspector.val;
62
+ }
63
+ set showBabylonInspector(val) {
64
+ this.memoizedShowInspector.val = val;
65
+ }
66
+ get enableDevFeatures() {
67
+ return this.memoisedEnableDevFeatures.val;
68
+ }
69
+ set enableDevFeatures(val) {
70
+ this.memoisedEnableDevFeatures.val = val;
71
+ }
72
+ get state() {
73
+ return this._state;
74
+ }
75
+ set state(val) {
76
+ if (this._state === val)
77
+ return;
78
+ this._state = val;
79
+ this.notifyOnChange();
80
+ }
81
+ }
@@ -0,0 +1 @@
1
+ export * from "./AppSandboxEntity";
@@ -10,4 +10,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
10
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
11
  };
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
- __exportStar(require("./HostHandler"), exports);
13
+ __exportStar(require("./AppSandboxEntity"), exports);
@@ -0,0 +1 @@
1
+ export * from "./setupAppSandbox";
@@ -10,4 +10,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
10
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
11
  };
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
- __exportStar(require("./Handlers"), exports);
13
+ __exportStar(require("./setupAppSandbox"), exports);
@@ -0,0 +1,3 @@
1
+ import { HostAppObjectRepo } from "../../../HostAppObject";
2
+ import { AppSandboxEntity } from "../Entities";
3
+ export declare function setupAppSandbox(appID: string, appObjects: HostAppObjectRepo): AppSandboxEntity;
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.setupAppSandbox = void 0;
4
+ const UCs_1 = require("../../Apps/UCs");
5
+ const setupStandardHostDispatchers_1 = require("../../Dispatcher/setupStandardHostDispatchers");
6
+ const Entities_1 = require("../../Dispatcher/Entities");
7
+ const Entities_2 = require("../../Handler/Entities");
8
+ const Entities_3 = require("../Entities");
9
+ const PMs_1 = require("../PMs");
10
+ const UCs_2 = require("../UCs");
11
+ const setupStandardHostHandlers_1 = require("../../Handler/setupStandardHostHandlers");
12
+ function setupAppSandbox(appID, appObjects) {
13
+ const ao = appObjects.getOrCreate(appID);
14
+ // Entities
15
+ const entity = Entities_3.makeAppSandboxEntity(ao);
16
+ Entities_1.makeHostDispatchEntity(ao);
17
+ Entities_2.makeHostHandlerEntity(ao);
18
+ // UC
19
+ setupStandardHostDispatchers_1.setupStandardHostDispatchers(ao);
20
+ setupStandardHostHandlers_1.setupStandardHostHandlers(ao);
21
+ UCs_1.makeStartAppUC(ao);
22
+ UCs_1.makeStopAppUC(ao);
23
+ UCs_2.makeShowBabylonInspectorUC(ao);
24
+ UCs_1.makeSandboxMounter(ao);
25
+ // PMs
26
+ PMs_1.makeDevFeaturesEnabledPM(ao);
27
+ PMs_1.makeSandboxStatePM(ao);
28
+ PMs_1.makeShowInspectorPM(ao);
29
+ PMs_1.makeStartInZSpacePM(ao);
30
+ return entity;
31
+ }
32
+ exports.setupAppSandbox = setupAppSandbox;
@@ -0,0 +1,8 @@
1
+ /// <reference types="jest" />
2
+ import { HostAppObject, HostAppObjectRepo } from "../../../HostAppObject";
3
+ import { DevFeaturesEnabledPM } from "../PMs/DevFeaturesEnabledPM";
4
+ export declare class DevFeaturesEnabledPMMock extends DevFeaturesEnabledPM {
5
+ vmsAreEqual: jest.Mock<any, any>;
6
+ constructor(appObject: HostAppObject);
7
+ }
8
+ export declare function makeDevFeaturesEnabledPMMock(appObjects: HostAppObjectRepo): DevFeaturesEnabledPMMock;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.makeDevFeaturesEnabledPMMock = exports.DevFeaturesEnabledPMMock = void 0;
4
+ const DevFeaturesEnabledPM_1 = require("../PMs/DevFeaturesEnabledPM");
5
+ class DevFeaturesEnabledPMMock extends DevFeaturesEnabledPM_1.DevFeaturesEnabledPM {
6
+ constructor(appObject) {
7
+ super(appObject, DevFeaturesEnabledPM_1.DevFeaturesEnabledPM.type);
8
+ this.vmsAreEqual = jest.fn();
9
+ }
10
+ }
11
+ exports.DevFeaturesEnabledPMMock = DevFeaturesEnabledPMMock;
12
+ function makeDevFeaturesEnabledPMMock(appObjects) {
13
+ return new DevFeaturesEnabledPMMock(appObjects.getOrCreate("DevFeaturesEnabledPMMock"));
14
+ }
15
+ exports.makeDevFeaturesEnabledPMMock = makeDevFeaturesEnabledPMMock;
@@ -0,0 +1,8 @@
1
+ /// <reference types="jest" />
2
+ import { HostAppObject } from "../../../HostAppObject";
3
+ import { ShowBabylonInspectorUC } from "../UCs/ShowBabylonInspectorUC";
4
+ export declare class MockShowBabylonInspectorUC extends ShowBabylonInspectorUC {
5
+ hide: jest.Mock<any, any>;
6
+ toggleShow: jest.Mock<any, any>;
7
+ constructor(appObject: HostAppObject);
8
+ }
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MockShowBabylonInspectorUC = void 0;
4
+ const ShowBabylonInspectorUC_1 = require("../UCs/ShowBabylonInspectorUC");
5
+ class MockShowBabylonInspectorUC extends ShowBabylonInspectorUC_1.ShowBabylonInspectorUC {
6
+ constructor(appObject) {
7
+ super(appObject, ShowBabylonInspectorUC_1.ShowBabylonInspectorUC.type);
8
+ this.hide = jest.fn();
9
+ this.toggleShow = jest.fn();
10
+ }
11
+ }
12
+ exports.MockShowBabylonInspectorUC = MockShowBabylonInspectorUC;
@@ -0,0 +1,8 @@
1
+ /// <reference types="jest" />
2
+ import { HostAppObject, HostAppObjectRepo } from "../../../HostAppObject";
3
+ import { SandboxStatePM } from "../PMs/SandboxStatePM";
4
+ export declare class RenderAppPMMock extends SandboxStatePM {
5
+ vmsAreEqual: jest.Mock<any, any>;
6
+ constructor(appObject: HostAppObject);
7
+ }
8
+ export declare function makeRenderAppPMMock(appObjects: HostAppObjectRepo): RenderAppPMMock;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.makeRenderAppPMMock = exports.RenderAppPMMock = void 0;
4
+ const SandboxStatePM_1 = require("../PMs/SandboxStatePM");
5
+ class RenderAppPMMock extends SandboxStatePM_1.SandboxStatePM {
6
+ constructor(appObject) {
7
+ super(appObject, SandboxStatePM_1.SandboxStatePM.type);
8
+ this.vmsAreEqual = jest.fn();
9
+ }
10
+ }
11
+ exports.RenderAppPMMock = RenderAppPMMock;
12
+ function makeRenderAppPMMock(appObjects) {
13
+ return new RenderAppPMMock(appObjects.getOrCreate("RenderAppPMMock"));
14
+ }
15
+ exports.makeRenderAppPMMock = makeRenderAppPMMock;