@vived/host 3.11.1 → 4.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +27 -14
- package/lib/Components/AppSandbox/Adapters/devFeaturesEnabledAdapter.d.ts +0 -2
- package/lib/Components/AppSandbox/Adapters/devFeaturesEnabledAdapter.js +0 -23
- package/lib/Components/AppSandbox/Adapters/index.d.ts +0 -4
- package/lib/Components/AppSandbox/Adapters/index.js +0 -16
- package/lib/Components/AppSandbox/Adapters/sandboxStateAdapter.d.ts +0 -3
- package/lib/Components/AppSandbox/Adapters/sandboxStateAdapter.js +0 -24
- package/lib/Components/AppSandbox/Adapters/showInspectorAdapter.d.ts +0 -2
- package/lib/Components/AppSandbox/Adapters/showInspectorAdapter.js +0 -23
- package/lib/Components/AppSandbox/Adapters/startInZSpaceAdapter.d.ts +0 -2
- package/lib/Components/AppSandbox/Adapters/startInZSpaceAdapter.js +0 -23
- package/lib/Components/AppSandbox/Controller/clearSandboxAppContainer.d.ts +0 -2
- package/lib/Components/AppSandbox/Controller/clearSandboxAppContainer.js +0 -11
- package/lib/Components/AppSandbox/Controller/index.d.ts +0 -10
- package/lib/Components/AppSandbox/Controller/index.js +0 -22
- package/lib/Components/AppSandbox/Controller/mountSandboxApp.d.ts +0 -2
- package/lib/Components/AppSandbox/Controller/mountSandboxApp.js +0 -19
- package/lib/Components/AppSandbox/Controller/setSandboxAppContainer.d.ts +0 -2
- package/lib/Components/AppSandbox/Controller/setSandboxAppContainer.js +0 -11
- package/lib/Components/AppSandbox/Controller/setSandboxAppState.d.ts +0 -3
- package/lib/Components/AppSandbox/Controller/setSandboxAppState.js +0 -11
- package/lib/Components/AppSandbox/Controller/startSandboxApp.d.ts +0 -2
- package/lib/Components/AppSandbox/Controller/startSandboxApp.js +0 -14
- package/lib/Components/AppSandbox/Controller/stopSandboxApp.d.ts +0 -2
- package/lib/Components/AppSandbox/Controller/stopSandboxApp.js +0 -14
- package/lib/Components/AppSandbox/Controller/toggleAllowDevFeatures.d.ts +0 -2
- package/lib/Components/AppSandbox/Controller/toggleAllowDevFeatures.js +0 -11
- package/lib/Components/AppSandbox/Controller/toggleShowInspector.d.ts +0 -2
- package/lib/Components/AppSandbox/Controller/toggleShowInspector.js +0 -19
- package/lib/Components/AppSandbox/Controller/toggleStartInZSpace.d.ts +0 -2
- package/lib/Components/AppSandbox/Controller/toggleStartInZSpace.js +0 -11
- package/lib/Components/AppSandbox/Controller/unmountSandboxApp.d.ts +0 -2
- package/lib/Components/AppSandbox/Controller/unmountSandboxApp.js +0 -19
- package/lib/Components/AppSandbox/Entities/AppSandboxEntity.d.ts +0 -34
- package/lib/Components/AppSandbox/Entities/AppSandboxEntity.js +0 -81
- package/lib/Components/AppSandbox/Entities/index.d.ts +0 -1
- package/lib/Components/AppSandbox/Entities/index.js +0 -13
- package/lib/Components/AppSandbox/Factories/index.d.ts +0 -1
- package/lib/Components/AppSandbox/Factories/index.js +0 -13
- package/lib/Components/AppSandbox/Factories/setupAppSandbox.d.ts +0 -3
- package/lib/Components/AppSandbox/Factories/setupAppSandbox.js +0 -32
- package/lib/Components/AppSandbox/Mocks/DevFeaturesEnabledPMMock.d.ts +0 -8
- package/lib/Components/AppSandbox/Mocks/DevFeaturesEnabledPMMock.js +0 -15
- package/lib/Components/AppSandbox/Mocks/MockShowBabylonInspectorUC.d.ts +0 -8
- package/lib/Components/AppSandbox/Mocks/MockShowBabylonInspectorUC.js +0 -12
- package/lib/Components/AppSandbox/Mocks/RenderAppPMMock.d.ts +0 -8
- package/lib/Components/AppSandbox/Mocks/RenderAppPMMock.js +0 -15
- package/lib/Components/AppSandbox/Mocks/ShowInspectorPMMock.d.ts +0 -8
- package/lib/Components/AppSandbox/Mocks/ShowInspectorPMMock.js +0 -15
- package/lib/Components/AppSandbox/Mocks/StartInZSpacePMMock.d.ts +0 -8
- package/lib/Components/AppSandbox/Mocks/StartInZSpacePMMock.js +0 -15
- package/lib/Components/AppSandbox/Mocks/index.d.ts +0 -5
- package/lib/Components/AppSandbox/Mocks/index.js +0 -17
- package/lib/Components/AppSandbox/PMs/DevFeaturesEnabledPM.d.ts +0 -6
- package/lib/Components/AppSandbox/PMs/DevFeaturesEnabledPM.js +0 -36
- package/lib/Components/AppSandbox/PMs/SandboxStatePM.d.ts +0 -7
- package/lib/Components/AppSandbox/PMs/SandboxStatePM.js +0 -36
- package/lib/Components/AppSandbox/PMs/ShowInspectorPM.d.ts +0 -6
- package/lib/Components/AppSandbox/PMs/ShowInspectorPM.js +0 -36
- package/lib/Components/AppSandbox/PMs/StartInZSpacePM.d.ts +0 -6
- package/lib/Components/AppSandbox/PMs/StartInZSpacePM.js +0 -36
- package/lib/Components/AppSandbox/PMs/index.d.ts +0 -4
- package/lib/Components/AppSandbox/PMs/index.js +0 -16
- package/lib/Components/AppSandbox/UCs/ShowBabylonInspectorUC.d.ts +0 -9
- package/lib/Components/AppSandbox/UCs/ShowBabylonInspectorUC.js +0 -52
- package/lib/Components/AppSandbox/UCs/index.d.ts +0 -1
- package/lib/Components/AppSandbox/UCs/index.js +0 -13
- package/lib/Components/AppSandbox/index.d.ts +0 -7
- package/lib/Components/AppSandbox/index.js +0 -19
- package/lib/Components/Apps/Adapters/activeAppPMAdapter.d.ts +0 -3
- package/lib/Components/Apps/Adapters/activeAppPMAdapter.js +0 -23
- package/lib/Components/Apps/Adapters/appListPMAdapter.d.ts +0 -2
- package/lib/Components/Apps/Adapters/appListPMAdapter.js +0 -23
- package/lib/Components/Apps/Adapters/appPMAdapter.d.ts +0 -3
- package/lib/Components/Apps/Adapters/appPMAdapter.js +0 -23
- package/lib/Components/Apps/Adapters/index.d.ts +0 -3
- package/lib/Components/Apps/Adapters/index.js +0 -15
- package/lib/Components/Apps/Controllers/index.d.ts +0 -1
- package/lib/Components/Apps/Controllers/index.js +0 -13
- package/lib/Components/Apps/Controllers/updateApp.d.ts +0 -2
- package/lib/Components/Apps/Controllers/updateApp.js +0 -13
- package/lib/Components/Apps/Entities/AppEntity.d.ts +0 -28
- package/lib/Components/Apps/Entities/AppEntity.js +0 -93
- package/lib/Components/Apps/Entities/AppRepo.d.ts +0 -19
- package/lib/Components/Apps/Entities/AppRepo.js +0 -57
- package/lib/Components/Apps/Entities/index.d.ts +0 -2
- package/lib/Components/Apps/Entities/index.js +0 -14
- package/lib/Components/Apps/Mocks/MockActiveAppPM.d.ts +0 -8
- package/lib/Components/Apps/Mocks/MockActiveAppPM.js +0 -15
- package/lib/Components/Apps/Mocks/MockAppListPM.d.ts +0 -8
- package/lib/Components/Apps/Mocks/MockAppListPM.js +0 -15
- package/lib/Components/Apps/Mocks/MockAppMounterUC.d.ts +0 -11
- package/lib/Components/Apps/Mocks/MockAppMounterUC.js +0 -15
- package/lib/Components/Apps/Mocks/MockAppPM.d.ts +0 -7
- package/lib/Components/Apps/Mocks/MockAppPM.js +0 -11
- package/lib/Components/Apps/Mocks/MockStartAppUC.d.ts +0 -7
- package/lib/Components/Apps/Mocks/MockStartAppUC.js +0 -11
- package/lib/Components/Apps/Mocks/MockStopAppUC.d.ts +0 -7
- package/lib/Components/Apps/Mocks/MockStopAppUC.js +0 -11
- package/lib/Components/Apps/Mocks/MockUpdateAppUC.d.ts +0 -7
- package/lib/Components/Apps/Mocks/MockUpdateAppUC.js +0 -11
- package/lib/Components/Apps/Mocks/index.d.ts +0 -7
- package/lib/Components/Apps/Mocks/index.js +0 -19
- package/lib/Components/Apps/PMs/ActiveAppPM.d.ts +0 -10
- package/lib/Components/Apps/PMs/ActiveAppPM.js +0 -15
- package/lib/Components/Apps/PMs/AppPM.d.ts +0 -13
- package/lib/Components/Apps/PMs/AppPM.js +0 -57
- package/lib/Components/Apps/PMs/AppsListPM.d.ts +0 -6
- package/lib/Components/Apps/PMs/AppsListPM.js +0 -51
- package/lib/Components/Apps/PMs/index.d.ts +0 -3
- package/lib/Components/Apps/PMs/index.js +0 -15
- package/lib/Components/Apps/UCs/Mounters/MounterUC.d.ts +0 -14
- package/lib/Components/Apps/UCs/Mounters/MounterUC.js +0 -265
- package/lib/Components/Apps/UCs/Mounters/SandboxMounterUC.d.ts +0 -3
- package/lib/Components/Apps/UCs/Mounters/SandboxMounterUC.js +0 -110
- package/lib/Components/Apps/UCs/Mounters/index.d.ts +0 -2
- package/lib/Components/Apps/UCs/Mounters/index.js +0 -14
- package/lib/Components/Apps/UCs/StartAppUC.d.ts +0 -9
- package/lib/Components/Apps/UCs/StartAppUC.js +0 -101
- package/lib/Components/Apps/UCs/StopAppUC.d.ts +0 -9
- package/lib/Components/Apps/UCs/StopAppUC.js +0 -44
- package/lib/Components/Apps/UCs/UpdateAppUC.d.ts +0 -7
- package/lib/Components/Apps/UCs/UpdateAppUC.js +0 -23
- package/lib/Components/Apps/UCs/appIDWithVersion.d.ts +0 -3
- package/lib/Components/Apps/UCs/appIDWithVersion.js +0 -8
- package/lib/Components/Apps/UCs/formAppIDWithVersion.d.ts +0 -3
- package/lib/Components/Apps/UCs/formAppIDWithVersion.js +0 -8
- package/lib/Components/Apps/UCs/index.d.ts +0 -5
- package/lib/Components/Apps/UCs/index.js +0 -17
- package/lib/Components/Apps/index.d.ts +0 -6
- package/lib/Components/Apps/index.js +0 -18
- package/lib/Components/AssetPlugin/Adapters/assetPluginPMAdapter.d.ts +0 -3
- package/lib/Components/AssetPlugin/Adapters/assetPluginPMAdapter.js +0 -27
- package/lib/Components/AssetPlugin/Adapters/index.d.ts +0 -1
- package/lib/Components/AssetPlugin/Adapters/index.js +0 -13
- package/lib/Components/AssetPlugin/Controllers/clearAssetPluginContainer.d.ts +0 -2
- package/lib/Components/AssetPlugin/Controllers/clearAssetPluginContainer.js +0 -14
- package/lib/Components/AssetPlugin/Controllers/index.d.ts +0 -2
- package/lib/Components/AssetPlugin/Controllers/index.js +0 -14
- package/lib/Components/AssetPlugin/Controllers/setAssetPluginContainer.d.ts +0 -2
- package/lib/Components/AssetPlugin/Controllers/setAssetPluginContainer.js +0 -14
- package/lib/Components/AssetPlugin/Entities/AssetPluginEntity.d.ts +0 -14
- package/lib/Components/AssetPlugin/Entities/AssetPluginEntity.js +0 -40
- package/lib/Components/AssetPlugin/Entities/index.d.ts +0 -1
- package/lib/Components/AssetPlugin/Entities/index.js +0 -13
- package/lib/Components/AssetPlugin/Factories/index.d.ts +0 -1
- package/lib/Components/AssetPlugin/Factories/index.js +0 -13
- package/lib/Components/AssetPlugin/Factories/setupAssetsPluginForSandbox.d.ts +0 -3
- package/lib/Components/AssetPlugin/Factories/setupAssetsPluginForSandbox.js +0 -35
- package/lib/Components/AssetPlugin/Mocks/MockAssetPluginContainerUC.d.ts +0 -9
- package/lib/Components/AssetPlugin/Mocks/MockAssetPluginContainerUC.js +0 -16
- package/lib/Components/AssetPlugin/Mocks/MockAssetPluginPM.d.ts +0 -8
- package/lib/Components/AssetPlugin/Mocks/MockAssetPluginPM.js +0 -15
- package/lib/Components/AssetPlugin/Mocks/index.d.ts +0 -2
- package/lib/Components/AssetPlugin/Mocks/index.js +0 -14
- package/lib/Components/AssetPlugin/PM/AssetPluginPM.d.ts +0 -12
- package/lib/Components/AssetPlugin/PM/AssetPluginPM.js +0 -68
- package/lib/Components/AssetPlugin/PM/index.d.ts +0 -1
- package/lib/Components/AssetPlugin/PM/index.js +0 -13
- package/lib/Components/AssetPlugin/UCs/AssetPluginContainerUC.d.ts +0 -7
- package/lib/Components/AssetPlugin/UCs/AssetPluginContainerUC.js +0 -11
- package/lib/Components/AssetPlugin/UCs/SandboxAssetPluginContainerUC.d.ts +0 -15
- package/lib/Components/AssetPlugin/UCs/SandboxAssetPluginContainerUC.js +0 -75
- package/lib/Components/AssetPlugin/UCs/index.d.ts +0 -2
- package/lib/Components/AssetPlugin/UCs/index.js +0 -14
- package/lib/Components/AssetPlugin/index.d.ts +0 -7
- package/lib/Components/AssetPlugin/index.js +0 -19
- package/lib/Components/Assets/Adapters/appAssetListAdapter.d.ts +0 -2
- package/lib/Components/Assets/Adapters/appAssetListAdapter.js +0 -23
- package/lib/Components/Assets/Adapters/assetAdapter.d.ts +0 -3
- package/lib/Components/Assets/Adapters/assetAdapter.js +0 -23
- package/lib/Components/Assets/Adapters/editingAppAssetAdapter.d.ts +0 -3
- package/lib/Components/Assets/Adapters/editingAppAssetAdapter.js +0 -23
- package/lib/Components/Assets/Adapters/index.d.ts +0 -4
- package/lib/Components/Assets/Adapters/index.js +0 -16
- package/lib/Components/Assets/Adapters/showArchivedAppAssetAdapter.d.ts +0 -2
- package/lib/Components/Assets/Adapters/showArchivedAppAssetAdapter.js +0 -23
- package/lib/Components/Assets/Controllers/archiveAsset.d.ts +0 -2
- package/lib/Components/Assets/Controllers/archiveAsset.js +0 -13
- package/lib/Components/Assets/Controllers/deleteAsset.d.ts +0 -2
- package/lib/Components/Assets/Controllers/deleteAsset.js +0 -13
- package/lib/Components/Assets/Controllers/downloadAssetFile.d.ts +0 -2
- package/lib/Components/Assets/Controllers/downloadAssetFile.js +0 -13
- package/lib/Components/Assets/Controllers/editAppAsset.d.ts +0 -2
- package/lib/Components/Assets/Controllers/editAppAsset.js +0 -13
- package/lib/Components/Assets/Controllers/getAppAssets.d.ts +0 -2
- package/lib/Components/Assets/Controllers/getAppAssets.js +0 -13
- package/lib/Components/Assets/Controllers/index.d.ts +0 -9
- package/lib/Components/Assets/Controllers/index.js +0 -21
- package/lib/Components/Assets/Controllers/newAppAsset.d.ts +0 -3
- package/lib/Components/Assets/Controllers/newAppAsset.js +0 -13
- package/lib/Components/Assets/Controllers/toggleShowArchivedAssets.d.ts +0 -2
- package/lib/Components/Assets/Controllers/toggleShowArchivedAssets.js +0 -14
- package/lib/Components/Assets/Controllers/updateAppAssetMeta.d.ts +0 -3
- package/lib/Components/Assets/Controllers/updateAppAssetMeta.js +0 -13
- package/lib/Components/Assets/Controllers/updateAssetFile.d.ts +0 -2
- package/lib/Components/Assets/Controllers/updateAssetFile.js +0 -13
- package/lib/Components/Assets/Entities/AppAssetsEntity.d.ts +0 -15
- package/lib/Components/Assets/Entities/AppAssetsEntity.js +0 -65
- package/lib/Components/Assets/Entities/AssetEntity.d.ts +0 -34
- package/lib/Components/Assets/Entities/AssetEntity.js +0 -152
- package/lib/Components/Assets/Entities/AssetRepo.d.ts +0 -28
- package/lib/Components/Assets/Entities/AssetRepo.js +0 -86
- package/lib/Components/Assets/Entities/index.d.ts +0 -3
- package/lib/Components/Assets/Entities/index.js +0 -15
- package/lib/Components/Assets/Factories/index.d.ts +0 -1
- package/lib/Components/Assets/Factories/index.js +0 -13
- package/lib/Components/Assets/Factories/setupAssetsForSandbox.d.ts +0 -2
- package/lib/Components/Assets/Factories/setupAssetsForSandbox.js +0 -43
- package/lib/Components/Assets/Mocks/AppAssetListPMMock.d.ts +0 -8
- package/lib/Components/Assets/Mocks/AppAssetListPMMock.js +0 -15
- package/lib/Components/Assets/Mocks/AssetPMMock.d.ts +0 -7
- package/lib/Components/Assets/Mocks/AssetPMMock.js +0 -11
- package/lib/Components/Assets/Mocks/EditingAppAssetPMMock.d.ts +0 -8
- package/lib/Components/Assets/Mocks/EditingAppAssetPMMock.js +0 -15
- package/lib/Components/Assets/Mocks/MockArchiveAsset.d.ts +0 -8
- package/lib/Components/Assets/Mocks/MockArchiveAsset.js +0 -15
- package/lib/Components/Assets/Mocks/MockDeleteAssetUC.d.ts +0 -9
- package/lib/Components/Assets/Mocks/MockDeleteAssetUC.js +0 -16
- package/lib/Components/Assets/Mocks/MockDownloadAssetFileUC.d.ts +0 -9
- package/lib/Components/Assets/Mocks/MockDownloadAssetFileUC.js +0 -16
- package/lib/Components/Assets/Mocks/MockEditAppAssetUC.d.ts +0 -8
- package/lib/Components/Assets/Mocks/MockEditAppAssetUC.js +0 -15
- package/lib/Components/Assets/Mocks/MockGetAppAssetsUC.d.ts +0 -8
- package/lib/Components/Assets/Mocks/MockGetAppAssetsUC.js +0 -15
- package/lib/Components/Assets/Mocks/MockGetAssetBlobURLUC.d.ts +0 -8
- package/lib/Components/Assets/Mocks/MockGetAssetBlobURLUC.js +0 -15
- package/lib/Components/Assets/Mocks/MockGetAssetFileUC.d.ts +0 -8
- package/lib/Components/Assets/Mocks/MockGetAssetFileUC.js +0 -15
- package/lib/Components/Assets/Mocks/MockGetAssetUC.d.ts +0 -8
- package/lib/Components/Assets/Mocks/MockGetAssetUC.js +0 -15
- package/lib/Components/Assets/Mocks/MockNewAppAsset.d.ts +0 -8
- package/lib/Components/Assets/Mocks/MockNewAppAsset.js +0 -15
- package/lib/Components/Assets/Mocks/MockPrefetchAssets.d.ts +0 -8
- package/lib/Components/Assets/Mocks/MockPrefetchAssets.js +0 -15
- package/lib/Components/Assets/Mocks/MockUpdateAppAssetMetaUC.d.ts +0 -8
- package/lib/Components/Assets/Mocks/MockUpdateAppAssetMetaUC.js +0 -15
- package/lib/Components/Assets/Mocks/MockUpdateAssetFileUC.d.ts +0 -8
- package/lib/Components/Assets/Mocks/MockUpdateAssetFileUC.js +0 -15
- package/lib/Components/Assets/Mocks/ShowArchivedAppAssetPMMock.d.ts +0 -8
- package/lib/Components/Assets/Mocks/ShowArchivedAppAssetPMMock.js +0 -15
- package/lib/Components/Assets/Mocks/index.d.ts +0 -16
- package/lib/Components/Assets/Mocks/index.js +0 -28
- package/lib/Components/Assets/PMs/AppAssetListPM.d.ts +0 -6
- package/lib/Components/Assets/PMs/AppAssetListPM.js +0 -63
- package/lib/Components/Assets/PMs/AssetPM.d.ts +0 -13
- package/lib/Components/Assets/PMs/AssetPM.js +0 -66
- package/lib/Components/Assets/PMs/EditingAppAssetPM.d.ts +0 -13
- package/lib/Components/Assets/PMs/EditingAppAssetPM.js +0 -62
- package/lib/Components/Assets/PMs/ShowArchivedAppAssetPM.d.ts +0 -6
- package/lib/Components/Assets/PMs/ShowArchivedAppAssetPM.js +0 -37
- package/lib/Components/Assets/PMs/index.d.ts +0 -4
- package/lib/Components/Assets/PMs/index.js +0 -16
- package/lib/Components/Assets/UCs/ArchiveAssetUC.d.ts +0 -7
- package/lib/Components/Assets/UCs/ArchiveAssetUC.js +0 -85
- package/lib/Components/Assets/UCs/DeleteAssetUC.d.ts +0 -8
- package/lib/Components/Assets/UCs/DeleteAssetUC.js +0 -97
- package/lib/Components/Assets/UCs/DownloadAssetFileUC.d.ts +0 -8
- package/lib/Components/Assets/UCs/DownloadAssetFileUC.js +0 -93
- package/lib/Components/Assets/UCs/EditAppAssetUC.d.ts +0 -7
- package/lib/Components/Assets/UCs/EditAppAssetUC.js +0 -45
- package/lib/Components/Assets/UCs/GetAppAssetsUC.d.ts +0 -7
- package/lib/Components/Assets/UCs/GetAppAssetsUC.js +0 -57
- package/lib/Components/Assets/UCs/GetAssetBlobURLUC.d.ts +0 -7
- package/lib/Components/Assets/UCs/GetAssetBlobURLUC.js +0 -77
- package/lib/Components/Assets/UCs/GetAssetFileUC.d.ts +0 -7
- package/lib/Components/Assets/UCs/GetAssetFileUC.js +0 -73
- package/lib/Components/Assets/UCs/GetAssetUC.d.ts +0 -8
- package/lib/Components/Assets/UCs/GetAssetUC.js +0 -53
- package/lib/Components/Assets/UCs/NewAppAssetUC.d.ts +0 -12
- package/lib/Components/Assets/UCs/NewAppAssetUC.js +0 -94
- package/lib/Components/Assets/UCs/PrefetchAssetsUC.d.ts +0 -7
- package/lib/Components/Assets/UCs/PrefetchAssetsUC.js +0 -69
- package/lib/Components/Assets/UCs/UpdateAppAssetMetaUC.d.ts +0 -12
- package/lib/Components/Assets/UCs/UpdateAppAssetMetaUC.js +0 -95
- package/lib/Components/Assets/UCs/UpdateAssetFileUC.d.ts +0 -12
- package/lib/Components/Assets/UCs/UpdateAssetFileUC.js +0 -75
- package/lib/Components/Assets/UCs/index.d.ts +0 -12
- package/lib/Components/Assets/UCs/index.js +0 -24
- package/lib/Components/Assets/index.d.ts +0 -7
- package/lib/Components/Assets/index.js +0 -19
- package/lib/Components/ChallengeResults/Adapters/challengeResultsListAdapter.d.ts +0 -3
- package/lib/Components/ChallengeResults/Adapters/challengeResultsListAdapter.js +0 -23
- package/lib/Components/ChallengeResults/Adapters/index.d.ts +0 -1
- package/lib/Components/ChallengeResults/Adapters/index.js +0 -13
- package/lib/Components/ChallengeResults/Entities/ChallengeResults.d.ts +0 -40
- package/lib/Components/ChallengeResults/Entities/ChallengeResults.js +0 -108
- package/lib/Components/ChallengeResults/Entities/index.d.ts +0 -1
- package/lib/Components/ChallengeResults/Entities/index.js +0 -13
- package/lib/Components/ChallengeResults/Factories/index.d.ts +0 -1
- package/lib/Components/ChallengeResults/Factories/index.js +0 -13
- package/lib/Components/ChallengeResults/Factories/setupChallengeResultsForSandbox.d.ts +0 -2
- package/lib/Components/ChallengeResults/Factories/setupChallengeResultsForSandbox.js +0 -12
- package/lib/Components/ChallengeResults/Mocks/ChallengeResultsListPMMock.d.ts +0 -8
- package/lib/Components/ChallengeResults/Mocks/ChallengeResultsListPMMock.js +0 -15
- package/lib/Components/ChallengeResults/Mocks/index.d.ts +0 -1
- package/lib/Components/ChallengeResults/Mocks/index.js +0 -13
- package/lib/Components/ChallengeResults/PMs/ChallengeResultsListPM.d.ts +0 -15
- package/lib/Components/ChallengeResults/PMs/ChallengeResultsListPM.js +0 -65
- package/lib/Components/ChallengeResults/PMs/index.d.ts +0 -1
- package/lib/Components/ChallengeResults/PMs/index.js +0 -13
- package/lib/Components/ChallengeResults/index.d.ts +0 -5
- package/lib/Components/ChallengeResults/index.js +0 -17
- package/lib/Components/Dialog/Adapters/alertDialogAdapter.d.ts +0 -3
- package/lib/Components/Dialog/Adapters/alertDialogAdapter.js +0 -23
- package/lib/Components/Dialog/Adapters/confirmDialogAdapter.d.ts +0 -3
- package/lib/Components/Dialog/Adapters/confirmDialogAdapter.js +0 -23
- package/lib/Components/Dialog/Adapters/dialogQueueAdapter.d.ts +0 -3
- package/lib/Components/Dialog/Adapters/dialogQueueAdapter.js +0 -23
- package/lib/Components/Dialog/Adapters/index.d.ts +0 -5
- package/lib/Components/Dialog/Adapters/index.js +0 -17
- package/lib/Components/Dialog/Adapters/markDownEditorDialogAdapters.d.ts +0 -3
- package/lib/Components/Dialog/Adapters/markDownEditorDialogAdapters.js +0 -23
- package/lib/Components/Dialog/Adapters/spinnerDialogAdapter.d.ts +0 -3
- package/lib/Components/Dialog/Adapters/spinnerDialogAdapter.js +0 -23
- package/lib/Components/Dialog/Controllers/activeDialogHasClosed.d.ts +0 -2
- package/lib/Components/Dialog/Controllers/activeDialogHasClosed.js +0 -14
- package/lib/Components/Dialog/Controllers/index.d.ts +0 -1
- package/lib/Components/Dialog/Controllers/index.js +0 -13
- package/lib/Components/Dialog/Entities/Alert.d.ts +0 -25
- package/lib/Components/Dialog/Entities/Alert.js +0 -48
- package/lib/Components/Dialog/Entities/Confirm.d.ts +0 -29
- package/lib/Components/Dialog/Entities/Confirm.js +0 -53
- package/lib/Components/Dialog/Entities/DialogQueue.d.ts +0 -14
- package/lib/Components/Dialog/Entities/DialogQueue.js +0 -48
- package/lib/Components/Dialog/Entities/MarkDownEditor.d.ts +0 -21
- package/lib/Components/Dialog/Entities/MarkDownEditor.js +0 -44
- package/lib/Components/Dialog/Entities/SelectModel.d.ts +0 -20
- package/lib/Components/Dialog/Entities/SelectModel.js +0 -49
- package/lib/Components/Dialog/Entities/Spinner.d.ts +0 -24
- package/lib/Components/Dialog/Entities/Spinner.js +0 -63
- package/lib/Components/Dialog/Entities/index.d.ts +0 -6
- package/lib/Components/Dialog/Entities/index.js +0 -18
- package/lib/Components/Dialog/Factories/alertDialogFactory.d.ts +0 -3
- package/lib/Components/Dialog/Factories/alertDialogFactory.js +0 -15
- package/lib/Components/Dialog/Factories/confirmDialogFactory.d.ts +0 -3
- package/lib/Components/Dialog/Factories/confirmDialogFactory.js +0 -15
- package/lib/Components/Dialog/Factories/index.d.ts +0 -6
- package/lib/Components/Dialog/Factories/index.js +0 -18
- package/lib/Components/Dialog/Factories/markdownDialogEditorFactory.d.ts +0 -3
- package/lib/Components/Dialog/Factories/markdownDialogEditorFactory.js +0 -15
- package/lib/Components/Dialog/Factories/selectDialogModelFactory.d.ts +0 -3
- package/lib/Components/Dialog/Factories/selectDialogModelFactory.js +0 -12
- package/lib/Components/Dialog/Factories/setupDialogForSandbox.d.ts +0 -2
- package/lib/Components/Dialog/Factories/setupDialogForSandbox.js +0 -24
- package/lib/Components/Dialog/Factories/spinnerDialogFactory.d.ts +0 -3
- package/lib/Components/Dialog/Factories/spinnerDialogFactory.js +0 -15
- package/lib/Components/Dialog/Mocks/MockAlertDialogPM.d.ts +0 -7
- package/lib/Components/Dialog/Mocks/MockAlertDialogPM.js +0 -11
- package/lib/Components/Dialog/Mocks/MockConfirmDialogPM.d.ts +0 -7
- package/lib/Components/Dialog/Mocks/MockConfirmDialogPM.js +0 -11
- package/lib/Components/Dialog/Mocks/MockDialogQueuePM.d.ts +0 -8
- package/lib/Components/Dialog/Mocks/MockDialogQueuePM.js +0 -15
- package/lib/Components/Dialog/Mocks/MockMakeAlertDialogUC.d.ts +0 -9
- package/lib/Components/Dialog/Mocks/MockMakeAlertDialogUC.js +0 -16
- package/lib/Components/Dialog/Mocks/MockMakeConfirmDialogUC.d.ts +0 -9
- package/lib/Components/Dialog/Mocks/MockMakeConfirmDialogUC.js +0 -16
- package/lib/Components/Dialog/Mocks/MockMakeMarkdownDialogUC.d.ts +0 -9
- package/lib/Components/Dialog/Mocks/MockMakeMarkdownDialogUC.js +0 -16
- package/lib/Components/Dialog/Mocks/MockMakeSelectModelDialogUC.d.ts +0 -9
- package/lib/Components/Dialog/Mocks/MockMakeSelectModelDialogUC.js +0 -16
- package/lib/Components/Dialog/Mocks/MockMakeSpinnerDialogUC.d.ts +0 -9
- package/lib/Components/Dialog/Mocks/MockMakeSpinnerDialogUC.js +0 -16
- package/lib/Components/Dialog/Mocks/MockMarkDownEditorDialogPM.d.ts +0 -7
- package/lib/Components/Dialog/Mocks/MockMarkDownEditorDialogPM.js +0 -11
- package/lib/Components/Dialog/Mocks/MockSpinnerDialogPM.d.ts +0 -7
- package/lib/Components/Dialog/Mocks/MockSpinnerDialogPM.js +0 -11
- package/lib/Components/Dialog/Mocks/index.d.ts +0 -10
- package/lib/Components/Dialog/Mocks/index.js +0 -22
- package/lib/Components/Dialog/PMs/AlertDialogPM.d.ts +0 -13
- package/lib/Components/Dialog/PMs/AlertDialogPM.js +0 -65
- package/lib/Components/Dialog/PMs/ConfirmDialogPM.d.ts +0 -15
- package/lib/Components/Dialog/PMs/ConfirmDialogPM.js +0 -73
- package/lib/Components/Dialog/PMs/DialogQueuePM.d.ts +0 -13
- package/lib/Components/Dialog/PMs/DialogQueuePM.js +0 -58
- package/lib/Components/Dialog/PMs/MarkDownEditorDialogPM.d.ts +0 -11
- package/lib/Components/Dialog/PMs/MarkDownEditorDialogPM.js +0 -57
- package/lib/Components/Dialog/PMs/SpinnerDialogPM.d.ts +0 -11
- package/lib/Components/Dialog/PMs/SpinnerDialogPM.js +0 -57
- package/lib/Components/Dialog/PMs/index.d.ts +0 -5
- package/lib/Components/Dialog/PMs/index.js +0 -17
- package/lib/Components/Dialog/UCs/MakeAlertDialogUC.d.ts +0 -10
- package/lib/Components/Dialog/UCs/MakeAlertDialogUC.js +0 -41
- package/lib/Components/Dialog/UCs/MakeConfirmDialogUC.d.ts +0 -10
- package/lib/Components/Dialog/UCs/MakeConfirmDialogUC.js +0 -41
- package/lib/Components/Dialog/UCs/MakeMarkdownDialogUC.d.ts +0 -10
- package/lib/Components/Dialog/UCs/MakeMarkdownDialogUC.js +0 -41
- package/lib/Components/Dialog/UCs/MakeSelectModelDialogUC.d.ts +0 -10
- package/lib/Components/Dialog/UCs/MakeSelectModelDialogUC.js +0 -41
- package/lib/Components/Dialog/UCs/MakeSpinnerDialogUC.d.ts +0 -10
- package/lib/Components/Dialog/UCs/MakeSpinnerDialogUC.js +0 -42
- package/lib/Components/Dialog/UCs/index.d.ts +0 -5
- package/lib/Components/Dialog/UCs/index.js +0 -17
- package/lib/Components/Dialog/index.d.ts +0 -7
- package/lib/Components/Dialog/index.js +0 -19
- package/lib/Components/Dispatcher/Entities/HostDispatchEntity.d.ts +0 -14
- package/lib/Components/Dispatcher/Entities/HostDispatchEntity.js +0 -94
- package/lib/Components/Dispatcher/Entities/index.d.ts +0 -1
- package/lib/Components/Dispatcher/Entities/index.js +0 -13
- package/lib/Components/Dispatcher/Mocks/DispatchEnableFeatureUCMock.d.ts +0 -7
- package/lib/Components/Dispatcher/Mocks/DispatchEnableFeatureUCMock.js +0 -11
- package/lib/Components/Dispatcher/Mocks/MockDispatchAppDispatcherUC.d.ts +0 -7
- package/lib/Components/Dispatcher/Mocks/MockDispatchAppDispatcherUC.js +0 -11
- package/lib/Components/Dispatcher/Mocks/MockDispatchIsAuthoringUC.d.ts +0 -7
- package/lib/Components/Dispatcher/Mocks/MockDispatchIsAuthoringUC.js +0 -11
- package/lib/Components/Dispatcher/Mocks/MockDispatchSetStateUC.d.ts +0 -7
- package/lib/Components/Dispatcher/Mocks/MockDispatchSetStateUC.js +0 -11
- package/lib/Components/Dispatcher/Mocks/MockDispatchShowBabylonInspectorUC.d.ts +0 -7
- package/lib/Components/Dispatcher/Mocks/MockDispatchShowBabylonInspectorUC.js +0 -11
- package/lib/Components/Dispatcher/Mocks/MockDispatchStartAppUC.d.ts +0 -7
- package/lib/Components/Dispatcher/Mocks/MockDispatchStartAppUC.js +0 -11
- package/lib/Components/Dispatcher/Mocks/MockDispatchStartBrowseChannelsUC.d.ts +0 -7
- package/lib/Components/Dispatcher/Mocks/MockDispatchStartBrowseChannelsUC.js +0 -11
- package/lib/Components/Dispatcher/Mocks/MockDispatchStartZSpaceUC.d.ts +0 -7
- package/lib/Components/Dispatcher/Mocks/MockDispatchStartZSpaceUC.js +0 -11
- package/lib/Components/Dispatcher/Mocks/MockDispatchStopAppUC.d.ts +0 -7
- package/lib/Components/Dispatcher/Mocks/MockDispatchStopAppUC.js +0 -11
- package/lib/Components/Dispatcher/Mocks/MockDispatchStopZSpaceUC.d.ts +0 -7
- package/lib/Components/Dispatcher/Mocks/MockDispatchStopZSpaceUC.js +0 -11
- package/lib/Components/Dispatcher/Mocks/MockDispatchThemeUC.d.ts +0 -7
- package/lib/Components/Dispatcher/Mocks/MockDispatchThemeUC.js +0 -11
- package/lib/Components/Dispatcher/Mocks/MockHostDispatcher.d.ts +0 -12
- package/lib/Components/Dispatcher/Mocks/MockHostDispatcher.js +0 -16
- package/lib/Components/Dispatcher/Mocks/index.d.ts +0 -12
- package/lib/Components/Dispatcher/Mocks/index.js +0 -24
- package/lib/Components/Dispatcher/UCs/DispatchDisposeAppUC.d.ts +0 -9
- package/lib/Components/Dispatcher/UCs/DispatchDisposeAppUC.js +0 -48
- package/lib/Components/Dispatcher/UCs/DispatchEnableFeatureUC.d.ts +0 -9
- package/lib/Components/Dispatcher/UCs/DispatchEnableFeatureUC.js +0 -53
- package/lib/Components/Dispatcher/UCs/DispatchIsAuthoringUC.d.ts +0 -9
- package/lib/Components/Dispatcher/UCs/DispatchIsAuthoringUC.js +0 -52
- package/lib/Components/Dispatcher/UCs/DispatchSetStateUC.d.ts +0 -27
- package/lib/Components/Dispatcher/UCs/DispatchSetStateUC.js +0 -67
- package/lib/Components/Dispatcher/UCs/DispatchShowBabylonInspectorUC.d.ts +0 -9
- package/lib/Components/Dispatcher/UCs/DispatchShowBabylonInspectorUC.js +0 -51
- package/lib/Components/Dispatcher/UCs/DispatchStartAppUC.d.ts +0 -9
- package/lib/Components/Dispatcher/UCs/DispatchStartAppUC.js +0 -51
- package/lib/Components/Dispatcher/UCs/DispatchStartBrowseChannelsUC.d.ts +0 -15
- package/lib/Components/Dispatcher/UCs/DispatchStartBrowseChannelsUC.js +0 -55
- package/lib/Components/Dispatcher/UCs/DispatchStartZSpaceUC.d.ts +0 -9
- package/lib/Components/Dispatcher/UCs/DispatchStartZSpaceUC.js +0 -76
- package/lib/Components/Dispatcher/UCs/DispatchStopAppUC.d.ts +0 -9
- package/lib/Components/Dispatcher/UCs/DispatchStopAppUC.js +0 -48
- package/lib/Components/Dispatcher/UCs/DispatchStopZSpaceUC.d.ts +0 -9
- package/lib/Components/Dispatcher/UCs/DispatchStopZSpaceUC.js +0 -48
- package/lib/Components/Dispatcher/UCs/DispatchThemeUC.d.ts +0 -60
- package/lib/Components/Dispatcher/UCs/DispatchThemeUC.js +0 -56
- package/lib/Components/Dispatcher/UCs/index.d.ts +0 -11
- package/lib/Components/Dispatcher/UCs/index.js +0 -23
- package/lib/Components/Dispatcher/index.d.ts +0 -4
- package/lib/Components/Dispatcher/index.js +0 -16
- package/lib/Components/Dispatcher/setupStandardHostDispatchers.d.ts +0 -2
- package/lib/Components/Dispatcher/setupStandardHostDispatchers.js +0 -17
- package/lib/Components/Events/Types/EventTypes.d.ts +0 -13
- package/lib/Components/Events/Types/EventTypes.js +0 -17
- package/lib/Components/Events/Types/PayloadTypes.d.ts +0 -59
- package/lib/Components/Events/Types/PayloadTypes.js +0 -2
- package/lib/Components/Events/Types/index.d.ts +0 -2
- package/lib/Components/Events/Types/index.js +0 -14
- package/lib/Components/Events/index.d.ts +0 -1
- package/lib/Components/Events/index.js +0 -13
- package/lib/Components/Handler/Entities/HostHandler.d.ts +0 -22
- package/lib/Components/Handler/Entities/HostHandler.js +0 -61
- package/lib/Components/Handler/Entities/index.d.ts +0 -1
- package/lib/Components/Handler/Entities/index.js +0 -13
- package/lib/Components/Handler/UCs/CallbackAssetDTO.d.ts +0 -5
- package/lib/Components/Handler/UCs/CallbackAssetDTO.js +0 -2
- package/lib/Components/Handler/UCs/CloseAssetSystemPlugin.d.ts +0 -17
- package/lib/Components/Handler/UCs/CloseAssetSystemPlugin.js +0 -67
- package/lib/Components/Handler/UCs/GetAssetBlobURLHandler.d.ts +0 -10
- package/lib/Components/Handler/UCs/GetAssetBlobURLHandler.js +0 -64
- package/lib/Components/Handler/UCs/GetAssetFolderURLHandler.d.ts +0 -10
- package/lib/Components/Handler/UCs/GetAssetFolderURLHandler.js +0 -57
- package/lib/Components/Handler/UCs/GetAssetMetaHandler.d.ts +0 -11
- package/lib/Components/Handler/UCs/GetAssetMetaHandler.js +0 -70
- package/lib/Components/Handler/UCs/GetAssetsForOwnerHandler.d.ts +0 -11
- package/lib/Components/Handler/UCs/GetAssetsForOwnerHandler.js +0 -47
- package/lib/Components/Handler/UCs/GetLinkedAssetsHandler.d.ts +0 -11
- package/lib/Components/Handler/UCs/GetLinkedAssetsHandler.js +0 -82
- package/lib/Components/Handler/UCs/GoToNextStateHandler.d.ts +0 -9
- package/lib/Components/Handler/UCs/GoToNextStateHandler.js +0 -58
- package/lib/Components/Handler/UCs/GoToPreviousStateHandler.d.ts +0 -9
- package/lib/Components/Handler/UCs/GoToPreviousStateHandler.js +0 -52
- package/lib/Components/Handler/UCs/HasNextStateHandler.d.ts +0 -10
- package/lib/Components/Handler/UCs/HasNextStateHandler.js +0 -60
- package/lib/Components/Handler/UCs/HasPreviousStateHandler.d.ts +0 -10
- package/lib/Components/Handler/UCs/HasPreviousStateHandler.js +0 -60
- package/lib/Components/Handler/UCs/IsAssetFetchedHandler.d.ts +0 -14
- package/lib/Components/Handler/UCs/IsAssetFetchedHandler.js +0 -48
- package/lib/Components/Handler/UCs/IsZSpaceAvailableHandler.d.ts +0 -10
- package/lib/Components/Handler/UCs/IsZSpaceAvailableHandler.js +0 -56
- package/lib/Components/Handler/UCs/NewActivityAssetHandler.d.ts +0 -10
- package/lib/Components/Handler/UCs/NewActivityAssetHandler.js +0 -47
- package/lib/Components/Handler/UCs/OnAppIsReadyHandler.d.ts +0 -9
- package/lib/Components/Handler/UCs/OnAppIsReadyHandler.js +0 -47
- package/lib/Components/Handler/UCs/OnStateChangeHandler.d.ts +0 -20
- package/lib/Components/Handler/UCs/OnStateChangeHandler.js +0 -108
- package/lib/Components/Handler/UCs/OnStateCompleteHandler.d.ts +0 -9
- package/lib/Components/Handler/UCs/OnStateCompleteHandler.js +0 -56
- package/lib/Components/Handler/UCs/RegisterExternalStyleSheetsHandler.d.ts +0 -10
- package/lib/Components/Handler/UCs/RegisterExternalStyleSheetsHandler.js +0 -58
- package/lib/Components/Handler/UCs/RestoreCurrentStateHandler.d.ts +0 -9
- package/lib/Components/Handler/UCs/RestoreCurrentStateHandler.js +0 -41
- package/lib/Components/Handler/UCs/ShowAlertHandler.d.ts +0 -16
- package/lib/Components/Handler/UCs/ShowAlertHandler.js +0 -57
- package/lib/Components/Handler/UCs/ShowConfirmHandler.d.ts +0 -18
- package/lib/Components/Handler/UCs/ShowConfirmHandler.js +0 -61
- package/lib/Components/Handler/UCs/ShowMarkDownEditorHandler.d.ts +0 -21
- package/lib/Components/Handler/UCs/ShowMarkDownEditorHandler.js +0 -54
- package/lib/Components/Handler/UCs/ShowSelectModelHandler.d.ts +0 -10
- package/lib/Components/Handler/UCs/ShowSelectModelHandler.js +0 -56
- package/lib/Components/Handler/UCs/ShowSpinnerHandler.d.ts +0 -15
- package/lib/Components/Handler/UCs/ShowSpinnerHandler.js +0 -55
- package/lib/Components/Handler/UCs/StartZSpaceHandler.d.ts +0 -9
- package/lib/Components/Handler/UCs/StartZSpaceHandler.js +0 -45
- package/lib/Components/Handler/UCs/StopZSpaceHandler.d.ts +0 -9
- package/lib/Components/Handler/UCs/StopZSpaceHandler.js +0 -45
- package/lib/Components/Handler/UCs/SubmitActivityAssetHandler.d.ts +0 -10
- package/lib/Components/Handler/UCs/SubmitActivityAssetHandler.js +0 -47
- package/lib/Components/Handler/UCs/SubmitLogHandler.d.ts +0 -11
- package/lib/Components/Handler/UCs/SubmitLogHandler.js +0 -72
- package/lib/Components/Handler/UCs/SubmitResultHandler.d.ts +0 -31
- package/lib/Components/Handler/UCs/SubmitResultHandler.js +0 -143
- package/lib/Components/Handler/UCs/index.d.ts +0 -29
- package/lib/Components/Handler/UCs/index.js +0 -41
- package/lib/Components/Handler/index.d.ts +0 -3
- package/lib/Components/Handler/index.js +0 -15
- package/lib/Components/Handler/setupStandardHostHandlers.d.ts +0 -2
- package/lib/Components/Handler/setupStandardHostHandlers.js +0 -29
- package/lib/Components/Logger/Adapters/fatalErrorAdapter.d.ts +0 -3
- package/lib/Components/Logger/Adapters/fatalErrorAdapter.js +0 -23
- package/lib/Components/Logger/Adapters/forwardLogsToConsoleAdapter.d.ts +0 -2
- package/lib/Components/Logger/Adapters/forwardLogsToConsoleAdapter.js +0 -23
- package/lib/Components/Logger/Adapters/index.d.ts +0 -3
- package/lib/Components/Logger/Adapters/index.js +0 -15
- package/lib/Components/Logger/Adapters/logSummaryAdapter.d.ts +0 -3
- package/lib/Components/Logger/Adapters/logSummaryAdapter.js +0 -23
- package/lib/Components/Logger/Controllers/clickDownloadLog.d.ts +0 -2
- package/lib/Components/Logger/Controllers/clickDownloadLog.js +0 -14
- package/lib/Components/Logger/Controllers/index.d.ts +0 -2
- package/lib/Components/Logger/Controllers/index.js +0 -14
- package/lib/Components/Logger/Controllers/toggleForwardLogs.d.ts +0 -2
- package/lib/Components/Logger/Controllers/toggleForwardLogs.js +0 -14
- package/lib/Components/Logger/Entities/LoggerEntity.d.ts +0 -21
- package/lib/Components/Logger/Entities/LoggerEntity.js +0 -77
- package/lib/Components/Logger/Entities/index.d.ts +0 -1
- package/lib/Components/Logger/Entities/index.js +0 -13
- package/lib/Components/Logger/Factories/index.d.ts +0 -1
- package/lib/Components/Logger/Factories/index.js +0 -13
- package/lib/Components/Logger/Factories/setupLoggerForSandbox.d.ts +0 -2
- package/lib/Components/Logger/Factories/setupLoggerForSandbox.js +0 -17
- package/lib/Components/Logger/Mocks/ForwardLogsToConsolePMMock.d.ts +0 -8
- package/lib/Components/Logger/Mocks/ForwardLogsToConsolePMMock.js +0 -15
- package/lib/Components/Logger/Mocks/LogSummaryPMMock.d.ts +0 -8
- package/lib/Components/Logger/Mocks/LogSummaryPMMock.js +0 -15
- package/lib/Components/Logger/Mocks/MockDownloadLogUC.d.ts +0 -9
- package/lib/Components/Logger/Mocks/MockDownloadLogUC.js +0 -16
- package/lib/Components/Logger/Mocks/MockFatalErrorPM.d.ts +0 -8
- package/lib/Components/Logger/Mocks/MockFatalErrorPM.js +0 -15
- package/lib/Components/Logger/Mocks/index.d.ts +0 -4
- package/lib/Components/Logger/Mocks/index.js +0 -16
- package/lib/Components/Logger/PMs/FatalErrorPM.d.ts +0 -17
- package/lib/Components/Logger/PMs/FatalErrorPM.js +0 -18
- package/lib/Components/Logger/PMs/ForwardLogsToConsolePM.d.ts +0 -6
- package/lib/Components/Logger/PMs/ForwardLogsToConsolePM.js +0 -36
- package/lib/Components/Logger/PMs/LogSummaryPM.d.ts +0 -12
- package/lib/Components/Logger/PMs/LogSummaryPM.js +0 -76
- package/lib/Components/Logger/PMs/index.d.ts +0 -3
- package/lib/Components/Logger/PMs/index.js +0 -15
- package/lib/Components/Logger/UCs/DownloadLogUC.d.ts +0 -8
- package/lib/Components/Logger/UCs/DownloadLogUC.js +0 -36
- package/lib/Components/Logger/UCs/index.d.ts +0 -1
- package/lib/Components/Logger/UCs/index.js +0 -13
- package/lib/Components/Logger/index.d.ts +0 -7
- package/lib/Components/Logger/index.js +0 -19
- package/lib/Components/StateMachine/Adapters/editingStateAdapter.d.ts +0 -3
- package/lib/Components/StateMachine/Adapters/editingStateAdapter.js +0 -23
- package/lib/Components/StateMachine/Adapters/hostStateMachinePMAdapter.d.ts +0 -3
- package/lib/Components/StateMachine/Adapters/hostStateMachinePMAdapter.js +0 -23
- package/lib/Components/StateMachine/Adapters/index.d.ts +0 -2
- package/lib/Components/StateMachine/Adapters/index.js +0 -14
- package/lib/Components/StateMachine/Controllers/cancelEditing.d.ts +0 -2
- package/lib/Components/StateMachine/Controllers/cancelEditing.js +0 -13
- package/lib/Components/StateMachine/Controllers/consumeState.d.ts +0 -2
- package/lib/Components/StateMachine/Controllers/consumeState.js +0 -13
- package/lib/Components/StateMachine/Controllers/deleteState.d.ts +0 -2
- package/lib/Components/StateMachine/Controllers/deleteState.js +0 -13
- package/lib/Components/StateMachine/Controllers/duplicateState.d.ts +0 -2
- package/lib/Components/StateMachine/Controllers/duplicateState.js +0 -13
- package/lib/Components/StateMachine/Controllers/editActiveState.d.ts +0 -2
- package/lib/Components/StateMachine/Controllers/editActiveState.js +0 -13
- package/lib/Components/StateMachine/Controllers/editState.d.ts +0 -2
- package/lib/Components/StateMachine/Controllers/editState.js +0 -13
- package/lib/Components/StateMachine/Controllers/endActivity.d.ts +0 -2
- package/lib/Components/StateMachine/Controllers/endActivity.js +0 -13
- package/lib/Components/StateMachine/Controllers/index.d.ts +0 -11
- package/lib/Components/StateMachine/Controllers/index.js +0 -23
- package/lib/Components/StateMachine/Controllers/newState.d.ts +0 -2
- package/lib/Components/StateMachine/Controllers/newState.js +0 -13
- package/lib/Components/StateMachine/Controllers/saveAuthoring.d.ts +0 -2
- package/lib/Components/StateMachine/Controllers/saveAuthoring.js +0 -13
- package/lib/Components/StateMachine/Controllers/savePersistentStates.d.ts +0 -2
- package/lib/Components/StateMachine/Controllers/savePersistentStates.js +0 -13
- package/lib/Components/StateMachine/Controllers/transitionToState.d.ts +0 -2
- package/lib/Components/StateMachine/Controllers/transitionToState.js +0 -13
- package/lib/Components/StateMachine/Entities/HostEditingStateEntity.d.ts +0 -16
- package/lib/Components/StateMachine/Entities/HostEditingStateEntity.js +0 -121
- package/lib/Components/StateMachine/Entities/HostStateEntity.d.ts +0 -31
- package/lib/Components/StateMachine/Entities/HostStateEntity.js +0 -124
- package/lib/Components/StateMachine/Entities/HostStateMachine.d.ts +0 -21
- package/lib/Components/StateMachine/Entities/HostStateMachine.js +0 -162
- package/lib/Components/StateMachine/Entities/index.d.ts +0 -3
- package/lib/Components/StateMachine/Entities/index.js +0 -15
- package/lib/Components/StateMachine/Factories/index.d.ts +0 -1
- package/lib/Components/StateMachine/Factories/index.js +0 -13
- package/lib/Components/StateMachine/Factories/setupStateMachineForSandbox.d.ts +0 -3
- package/lib/Components/StateMachine/Factories/setupStateMachineForSandbox.js +0 -28
- package/lib/Components/StateMachine/Mocks/CancelEditingUCMock.d.ts +0 -8
- package/lib/Components/StateMachine/Mocks/CancelEditingUCMock.js +0 -15
- package/lib/Components/StateMachine/Mocks/ConsumeStateUCMock.d.ts +0 -8
- package/lib/Components/StateMachine/Mocks/ConsumeStateUCMock.js +0 -15
- package/lib/Components/StateMachine/Mocks/EditStateUCMock.d.ts +0 -8
- package/lib/Components/StateMachine/Mocks/EditStateUCMock.js +0 -15
- package/lib/Components/StateMachine/Mocks/EndActivityUCMock.d.ts +0 -8
- package/lib/Components/StateMachine/Mocks/EndActivityUCMock.js +0 -15
- package/lib/Components/StateMachine/Mocks/MockDeleteStateUC.d.ts +0 -8
- package/lib/Components/StateMachine/Mocks/MockDeleteStateUC.js +0 -15
- package/lib/Components/StateMachine/Mocks/MockDuplicateStateUC.d.ts +0 -8
- package/lib/Components/StateMachine/Mocks/MockDuplicateStateUC.js +0 -15
- package/lib/Components/StateMachine/Mocks/MockEditActiveStateUC.d.ts +0 -8
- package/lib/Components/StateMachine/Mocks/MockEditActiveStateUC.js +0 -15
- package/lib/Components/StateMachine/Mocks/MockHostEditingStateEntity.d.ts +0 -16
- package/lib/Components/StateMachine/Mocks/MockHostEditingStateEntity.js +0 -30
- package/lib/Components/StateMachine/Mocks/MockHostStateEntity.d.ts +0 -16
- package/lib/Components/StateMachine/Mocks/MockHostStateEntity.js +0 -27
- package/lib/Components/StateMachine/Mocks/MockHostStateMachinePM.d.ts +0 -8
- package/lib/Components/StateMachine/Mocks/MockHostStateMachinePM.js +0 -15
- package/lib/Components/StateMachine/Mocks/MockIsEditingStatePM.d.ts +0 -8
- package/lib/Components/StateMachine/Mocks/MockIsEditingStatePM.js +0 -15
- package/lib/Components/StateMachine/Mocks/MockSaveAuthoringUC.d.ts +0 -8
- package/lib/Components/StateMachine/Mocks/MockSaveAuthoringUC.js +0 -15
- package/lib/Components/StateMachine/Mocks/MockStateEntity.d.ts +0 -16
- package/lib/Components/StateMachine/Mocks/MockStateEntity.js +0 -27
- package/lib/Components/StateMachine/Mocks/MockTransitionToStateUC.d.ts +0 -8
- package/lib/Components/StateMachine/Mocks/MockTransitionToStateUC.js +0 -15
- package/lib/Components/StateMachine/Mocks/NewStateUCMock.d.ts +0 -8
- package/lib/Components/StateMachine/Mocks/NewStateUCMock.js +0 -15
- package/lib/Components/StateMachine/Mocks/SavePersistentStatesMock.d.ts +0 -8
- package/lib/Components/StateMachine/Mocks/SavePersistentStatesMock.js +0 -15
- package/lib/Components/StateMachine/Mocks/index.d.ts +0 -15
- package/lib/Components/StateMachine/Mocks/index.js +0 -27
- package/lib/Components/StateMachine/PMs/EditingStatePM.d.ts +0 -19
- package/lib/Components/StateMachine/PMs/EditingStatePM.js +0 -54
- package/lib/Components/StateMachine/PMs/HostStateMachinePM.d.ts +0 -23
- package/lib/Components/StateMachine/PMs/HostStateMachinePM.js +0 -70
- package/lib/Components/StateMachine/PMs/index.d.ts +0 -2
- package/lib/Components/StateMachine/PMs/index.js +0 -14
- package/lib/Components/StateMachine/UCs/CancelEditing/CancelEditingUC.d.ts +0 -6
- package/lib/Components/StateMachine/UCs/CancelEditing/CancelEditingUC.js +0 -11
- package/lib/Components/StateMachine/UCs/CancelEditing/CancelSandboxEditingUC.d.ts +0 -3
- package/lib/Components/StateMachine/UCs/CancelEditing/CancelSandboxEditingUC.js +0 -60
- package/lib/Components/StateMachine/UCs/CancelEditing/index.d.ts +0 -2
- package/lib/Components/StateMachine/UCs/CancelEditing/index.js +0 -14
- package/lib/Components/StateMachine/UCs/ConsumeState/ConsumeSandboxStateUC.d.ts +0 -3
- package/lib/Components/StateMachine/UCs/ConsumeState/ConsumeSandboxStateUC.js +0 -51
- package/lib/Components/StateMachine/UCs/ConsumeState/ConsumeStateUC.d.ts +0 -6
- package/lib/Components/StateMachine/UCs/ConsumeState/ConsumeStateUC.js +0 -11
- package/lib/Components/StateMachine/UCs/ConsumeState/index.d.ts +0 -2
- package/lib/Components/StateMachine/UCs/ConsumeState/index.js +0 -14
- package/lib/Components/StateMachine/UCs/DeleteStateUC.d.ts +0 -7
- package/lib/Components/StateMachine/UCs/DeleteStateUC.js +0 -37
- package/lib/Components/StateMachine/UCs/DuplicateStateUC.d.ts +0 -7
- package/lib/Components/StateMachine/UCs/DuplicateStateUC.js +0 -39
- package/lib/Components/StateMachine/UCs/EditActiveState/EditActiveSandboxStateUC.d.ts +0 -3
- package/lib/Components/StateMachine/UCs/EditActiveState/EditActiveSandboxStateUC.js +0 -61
- package/lib/Components/StateMachine/UCs/EditActiveState/EditActiveStateUC.d.ts +0 -6
- package/lib/Components/StateMachine/UCs/EditActiveState/EditActiveStateUC.js +0 -11
- package/lib/Components/StateMachine/UCs/EditActiveState/index.d.ts +0 -2
- package/lib/Components/StateMachine/UCs/EditActiveState/index.js +0 -14
- package/lib/Components/StateMachine/UCs/EditState/EditSandboxStateUC.d.ts +0 -3
- package/lib/Components/StateMachine/UCs/EditState/EditSandboxStateUC.js +0 -37
- package/lib/Components/StateMachine/UCs/EditState/EditStateUC.d.ts +0 -6
- package/lib/Components/StateMachine/UCs/EditState/EditStateUC.js +0 -11
- package/lib/Components/StateMachine/UCs/EditState/index.d.ts +0 -2
- package/lib/Components/StateMachine/UCs/EditState/index.js +0 -14
- package/lib/Components/StateMachine/UCs/EndActivity/EndActivityUC.d.ts +0 -6
- package/lib/Components/StateMachine/UCs/EndActivity/EndActivityUC.js +0 -11
- package/lib/Components/StateMachine/UCs/EndActivity/EndSandboxActivityUC.d.ts +0 -3
- package/lib/Components/StateMachine/UCs/EndActivity/EndSandboxActivityUC.js +0 -38
- package/lib/Components/StateMachine/UCs/EndActivity/index.d.ts +0 -2
- package/lib/Components/StateMachine/UCs/EndActivity/index.js +0 -14
- package/lib/Components/StateMachine/UCs/NewState/NewSandboxStateUC.d.ts +0 -3
- package/lib/Components/StateMachine/UCs/NewState/NewSandboxStateUC.js +0 -34
- package/lib/Components/StateMachine/UCs/NewState/NewStateUC.d.ts +0 -6
- package/lib/Components/StateMachine/UCs/NewState/NewStateUC.js +0 -11
- package/lib/Components/StateMachine/UCs/NewState/index.d.ts +0 -2
- package/lib/Components/StateMachine/UCs/NewState/index.js +0 -14
- package/lib/Components/StateMachine/UCs/SaveAuthoring/SaveAuthoringSandboxUC.d.ts +0 -3
- package/lib/Components/StateMachine/UCs/SaveAuthoring/SaveAuthoringSandboxUC.js +0 -46
- package/lib/Components/StateMachine/UCs/SaveAuthoring/SaveAuthoringUC.d.ts +0 -6
- package/lib/Components/StateMachine/UCs/SaveAuthoring/SaveAuthoringUC.js +0 -11
- package/lib/Components/StateMachine/UCs/SaveAuthoring/index.d.ts +0 -2
- package/lib/Components/StateMachine/UCs/SaveAuthoring/index.js +0 -14
- package/lib/Components/StateMachine/UCs/SavePersistentStates.d.ts +0 -7
- package/lib/Components/StateMachine/UCs/SavePersistentStates.js +0 -49
- package/lib/Components/StateMachine/UCs/TransitionToState/TransitionToSandboxStateUC.d.ts +0 -3
- package/lib/Components/StateMachine/UCs/TransitionToState/TransitionToSandboxStateUC.js +0 -51
- package/lib/Components/StateMachine/UCs/TransitionToState/TransitionToStateUC.d.ts +0 -6
- package/lib/Components/StateMachine/UCs/TransitionToState/TransitionToStateUC.js +0 -11
- package/lib/Components/StateMachine/UCs/TransitionToState/index.d.ts +0 -2
- package/lib/Components/StateMachine/UCs/TransitionToState/index.js +0 -14
- package/lib/Components/StateMachine/UCs/index.d.ts +0 -13
- package/lib/Components/StateMachine/UCs/index.js +0 -25
- package/lib/Components/StateMachine/UCs/setSandboxStatesFromData.d.ts +0 -8
- package/lib/Components/StateMachine/UCs/setSandboxStatesFromData.js +0 -29
- package/lib/Components/StateMachine/UCs/setSandboxStatesFromStingData.d.ts +0 -8
- package/lib/Components/StateMachine/UCs/setSandboxStatesFromStingData.js +0 -29
- package/lib/Components/StateMachine/UCs/setSandboxStatesFromStringData.d.ts +0 -8
- package/lib/Components/StateMachine/UCs/setSandboxStatesFromStringData.js +0 -29
- package/lib/Components/StateMachine/index.d.ts +0 -7
- package/lib/Components/StateMachine/index.js +0 -19
- package/lib/Components/ThemeColors/Adapter/index.d.ts +0 -1
- package/lib/Components/ThemeColors/Adapter/index.js +0 -13
- package/lib/Components/ThemeColors/Adapter/themeColorAdapter.d.ts +0 -3
- package/lib/Components/ThemeColors/Adapter/themeColorAdapter.js +0 -23
- package/lib/Components/ThemeColors/Controllers/getOnPrimaryColor.d.ts +0 -3
- package/lib/Components/ThemeColors/Controllers/getOnPrimaryColor.js +0 -16
- package/lib/Components/ThemeColors/Controllers/getOnSurfaceColor.d.ts +0 -3
- package/lib/Components/ThemeColors/Controllers/getOnSurfaceColor.js +0 -16
- package/lib/Components/ThemeColors/Controllers/getPrimaryColor.d.ts +0 -3
- package/lib/Components/ThemeColors/Controllers/getPrimaryColor.js +0 -16
- package/lib/Components/ThemeColors/Controllers/getSurfaceColor.d.ts +0 -3
- package/lib/Components/ThemeColors/Controllers/getSurfaceColor.js +0 -16
- package/lib/Components/ThemeColors/Controllers/getSurfaceContainerColor.d.ts +0 -3
- package/lib/Components/ThemeColors/Controllers/getSurfaceContainerColor.js +0 -16
- package/lib/Components/ThemeColors/Controllers/index.d.ts +0 -5
- package/lib/Components/ThemeColors/Controllers/index.js +0 -17
- package/lib/Components/ThemeColors/Data/index.d.ts +0 -2
- package/lib/Components/ThemeColors/Data/index.js +0 -10
- package/lib/Components/ThemeColors/Data/vivedDarkTheme.json +0 -51
- package/lib/Components/ThemeColors/Data/vivedLightTheme.json +0 -51
- package/lib/Components/ThemeColors/Entities/HostThemeEntity.d.ts +0 -127
- package/lib/Components/ThemeColors/Entities/HostThemeEntity.js +0 -166
- package/lib/Components/ThemeColors/Entities/index.d.ts +0 -1
- package/lib/Components/ThemeColors/Entities/index.js +0 -13
- package/lib/Components/ThemeColors/Factories/index.d.ts +0 -1
- package/lib/Components/ThemeColors/Factories/index.js +0 -13
- package/lib/Components/ThemeColors/Factories/setupThemeForSandbox.d.ts +0 -2
- package/lib/Components/ThemeColors/Factories/setupThemeForSandbox.js +0 -20
- package/lib/Components/ThemeColors/Mocks/MockThemeColorPM.d.ts +0 -8
- package/lib/Components/ThemeColors/Mocks/MockThemeColorPM.js +0 -15
- package/lib/Components/ThemeColors/Mocks/index.d.ts +0 -1
- package/lib/Components/ThemeColors/Mocks/index.js +0 -13
- package/lib/Components/ThemeColors/PM/ThemeColorsPM.d.ts +0 -12
- package/lib/Components/ThemeColors/PM/ThemeColorsPM.js +0 -46
- package/lib/Components/ThemeColors/PM/index.d.ts +0 -1
- package/lib/Components/ThemeColors/PM/index.js +0 -13
- package/lib/Components/ThemeColors/UCs/SetThemeUC.d.ts +0 -10
- package/lib/Components/ThemeColors/UCs/SetThemeUC.js +0 -43
- package/lib/Components/ThemeColors/UCs/index.d.ts +0 -1
- package/lib/Components/ThemeColors/UCs/index.js +0 -13
- package/lib/Components/ThemeColors/index.d.ts +0 -8
- package/lib/Components/ThemeColors/index.js +0 -20
- package/lib/Components/VivedAPI/Adapters/apiStageAdapter.d.ts +0 -3
- package/lib/Components/VivedAPI/Adapters/apiStageAdapter.js +0 -24
- package/lib/Components/VivedAPI/Adapters/index.d.ts +0 -2
- package/lib/Components/VivedAPI/Adapters/index.js +0 -14
- package/lib/Components/VivedAPI/Adapters/userTokenAdapter.d.ts +0 -2
- package/lib/Components/VivedAPI/Adapters/userTokenAdapter.js +0 -23
- package/lib/Components/VivedAPI/Controllers/index.d.ts +0 -4
- package/lib/Components/VivedAPI/Controllers/index.js +0 -16
- package/lib/Components/VivedAPI/Controllers/loginUser.d.ts +0 -2
- package/lib/Components/VivedAPI/Controllers/loginUser.js +0 -15
- package/lib/Components/VivedAPI/Controllers/logoutUser.d.ts +0 -2
- package/lib/Components/VivedAPI/Controllers/logoutUser.js +0 -15
- package/lib/Components/VivedAPI/Controllers/refreshAuthenticatedUser.d.ts +0 -2
- package/lib/Components/VivedAPI/Controllers/refreshAuthenticatedUser.js +0 -15
- package/lib/Components/VivedAPI/Controllers/setApiStage.d.ts +0 -3
- package/lib/Components/VivedAPI/Controllers/setApiStage.js +0 -14
- package/lib/Components/VivedAPI/Entities/VivedAPIEntity.d.ts +0 -24
- package/lib/Components/VivedAPI/Entities/VivedAPIEntity.js +0 -56
- package/lib/Components/VivedAPI/Entities/index.d.ts +0 -1
- package/lib/Components/VivedAPI/Entities/index.js +0 -13
- package/lib/Components/VivedAPI/Factories/index.d.ts +0 -1
- package/lib/Components/VivedAPI/Factories/index.js +0 -13
- package/lib/Components/VivedAPI/Factories/setupVivedAPIForSandbox.d.ts +0 -2
- package/lib/Components/VivedAPI/Factories/setupVivedAPIForSandbox.js +0 -26
- package/lib/Components/VivedAPI/Mocks/ApiStagePMMock.d.ts +0 -8
- package/lib/Components/VivedAPI/Mocks/ApiStagePMMock.js +0 -15
- package/lib/Components/VivedAPI/Mocks/MockBasicFetchUC.d.ts +0 -8
- package/lib/Components/VivedAPI/Mocks/MockBasicFetchUC.js +0 -15
- package/lib/Components/VivedAPI/Mocks/MockBlobRequestUC.d.ts +0 -8
- package/lib/Components/VivedAPI/Mocks/MockBlobRequestUC.js +0 -15
- package/lib/Components/VivedAPI/Mocks/MockDeleteAssetOnAPIUC.d.ts +0 -8
- package/lib/Components/VivedAPI/Mocks/MockDeleteAssetOnAPIUC.js +0 -15
- package/lib/Components/VivedAPI/Mocks/MockFetchAssetFileFromAPIUC.d.ts +0 -8
- package/lib/Components/VivedAPI/Mocks/MockFetchAssetFileFromAPIUC.js +0 -15
- package/lib/Components/VivedAPI/Mocks/MockFetchAssetMetaFromAPIUC.d.ts +0 -8
- package/lib/Components/VivedAPI/Mocks/MockFetchAssetMetaFromAPIUC.js +0 -15
- package/lib/Components/VivedAPI/Mocks/MockFileUpload.d.ts +0 -8
- package/lib/Components/VivedAPI/Mocks/MockFileUpload.js +0 -15
- package/lib/Components/VivedAPI/Mocks/MockGetAppFromAPIUC.d.ts +0 -8
- package/lib/Components/VivedAPI/Mocks/MockGetAppFromAPIUC.js +0 -15
- package/lib/Components/VivedAPI/Mocks/MockGetAssetsForOwnerUC.d.ts +0 -8
- package/lib/Components/VivedAPI/Mocks/MockGetAssetsForOwnerUC.js +0 -15
- package/lib/Components/VivedAPI/Mocks/MockJsonRequestUC.d.ts +0 -8
- package/lib/Components/VivedAPI/Mocks/MockJsonRequestUC.js +0 -15
- package/lib/Components/VivedAPI/Mocks/MockPatchAssetFileUC.d.ts +0 -8
- package/lib/Components/VivedAPI/Mocks/MockPatchAssetFileUC.js +0 -15
- package/lib/Components/VivedAPI/Mocks/MockPatchAssetIsArchivedUC.d.ts +0 -8
- package/lib/Components/VivedAPI/Mocks/MockPatchAssetIsArchivedUC.js +0 -15
- package/lib/Components/VivedAPI/Mocks/MockPatchAssetMetaUC.d.ts +0 -8
- package/lib/Components/VivedAPI/Mocks/MockPatchAssetMetaUC.js +0 -15
- package/lib/Components/VivedAPI/Mocks/MockPatchAssetUC.d.ts +0 -8
- package/lib/Components/VivedAPI/Mocks/MockPatchAssetUC.js +0 -15
- package/lib/Components/VivedAPI/Mocks/MockPostNewAssetUC.d.ts +0 -8
- package/lib/Components/VivedAPI/Mocks/MockPostNewAssetUC.js +0 -18
- package/lib/Components/VivedAPI/Mocks/MockSignedAuthToken.d.ts +0 -9
- package/lib/Components/VivedAPI/Mocks/MockSignedAuthToken.js +0 -16
- package/lib/Components/VivedAPI/Mocks/MockUserLoginUC.d.ts +0 -10
- package/lib/Components/VivedAPI/Mocks/MockUserLoginUC.js +0 -17
- package/lib/Components/VivedAPI/Mocks/UserTokenPMMock.d.ts +0 -8
- package/lib/Components/VivedAPI/Mocks/UserTokenPMMock.js +0 -15
- package/lib/Components/VivedAPI/Mocks/index.d.ts +0 -18
- package/lib/Components/VivedAPI/Mocks/index.js +0 -30
- package/lib/Components/VivedAPI/PMs/ApiStagePM.d.ts +0 -7
- package/lib/Components/VivedAPI/PMs/ApiStagePM.js +0 -36
- package/lib/Components/VivedAPI/PMs/UserTokenPM.d.ts +0 -6
- package/lib/Components/VivedAPI/PMs/UserTokenPM.js +0 -36
- package/lib/Components/VivedAPI/PMs/index.d.ts +0 -2
- package/lib/Components/VivedAPI/PMs/index.js +0 -14
- package/lib/Components/VivedAPI/UCs/BasicFetchUC.d.ts +0 -12
- package/lib/Components/VivedAPI/UCs/BasicFetchUC.js +0 -11
- package/lib/Components/VivedAPI/UCs/BlobRequestUC.d.ts +0 -12
- package/lib/Components/VivedAPI/UCs/BlobRequestUC.js +0 -11
- package/lib/Components/VivedAPI/UCs/DeleteAssetOnAPIUC.d.ts +0 -7
- package/lib/Components/VivedAPI/UCs/DeleteAssetOnAPIUC.js +0 -63
- package/lib/Components/VivedAPI/UCs/FetchAssetFileFromAPIUC.d.ts +0 -8
- package/lib/Components/VivedAPI/UCs/FetchAssetFileFromAPIUC.js +0 -53
- package/lib/Components/VivedAPI/UCs/FetchAssetMetaFromAPIUC.d.ts +0 -8
- package/lib/Components/VivedAPI/UCs/FetchAssetMetaFromAPIUC.js +0 -72
- package/lib/Components/VivedAPI/UCs/FileUploadUC.d.ts +0 -7
- package/lib/Components/VivedAPI/UCs/FileUploadUC.js +0 -62
- package/lib/Components/VivedAPI/UCs/GetAppFromAPIUC.d.ts +0 -28
- package/lib/Components/VivedAPI/UCs/GetAppFromAPIUC.js +0 -70
- package/lib/Components/VivedAPI/UCs/GetAssetsForOwnerFromAPIUC.d.ts +0 -8
- package/lib/Components/VivedAPI/UCs/GetAssetsForOwnerFromAPIUC.js +0 -86
- package/lib/Components/VivedAPI/UCs/JsonRequestUC.d.ts +0 -12
- package/lib/Components/VivedAPI/UCs/JsonRequestUC.js +0 -11
- package/lib/Components/VivedAPI/UCs/PatchAssetFileUC.d.ts +0 -7
- package/lib/Components/VivedAPI/UCs/PatchAssetFileUC.js +0 -84
- package/lib/Components/VivedAPI/UCs/PatchAssetIsArchivedUC.d.ts +0 -7
- package/lib/Components/VivedAPI/UCs/PatchAssetIsArchivedUC.js +0 -67
- package/lib/Components/VivedAPI/UCs/PatchAssetMetaUC.d.ts +0 -13
- package/lib/Components/VivedAPI/UCs/PatchAssetMetaUC.js +0 -70
- package/lib/Components/VivedAPI/UCs/PatchAssetUC.d.ts +0 -14
- package/lib/Components/VivedAPI/UCs/PatchAssetUC.js +0 -88
- package/lib/Components/VivedAPI/UCs/PostNewAssetUC.d.ts +0 -17
- package/lib/Components/VivedAPI/UCs/PostNewAssetUC.js +0 -92
- package/lib/Components/VivedAPI/UCs/SignedAuthTokenUC.d.ts +0 -7
- package/lib/Components/VivedAPI/UCs/SignedAuthTokenUC.js +0 -11
- package/lib/Components/VivedAPI/UCs/UserAuthUC.d.ts +0 -8
- package/lib/Components/VivedAPI/UCs/UserAuthUC.js +0 -11
- package/lib/Components/VivedAPI/UCs/index.d.ts +0 -16
- package/lib/Components/VivedAPI/UCs/index.js +0 -28
- package/lib/Components/VivedAPI/index.d.ts +0 -7
- package/lib/Components/VivedAPI/index.js +0 -19
- package/lib/Components/ZSpaceHost/Adapters/emulateZSpaceAdapter.d.ts +0 -2
- package/lib/Components/ZSpaceHost/Adapters/emulateZSpaceAdapter.js +0 -23
- package/lib/Components/ZSpaceHost/Adapters/index.d.ts +0 -2
- package/lib/Components/ZSpaceHost/Adapters/index.js +0 -14
- package/lib/Components/ZSpaceHost/Adapters/zSpaceIsActiveAdapter.d.ts +0 -2
- package/lib/Components/ZSpaceHost/Adapters/zSpaceIsActiveAdapter.js +0 -23
- package/lib/Components/ZSpaceHost/Controllers/index.d.ts +0 -3
- package/lib/Components/ZSpaceHost/Controllers/index.js +0 -15
- package/lib/Components/ZSpaceHost/Controllers/startZSpace.d.ts +0 -2
- package/lib/Components/ZSpaceHost/Controllers/startZSpace.js +0 -13
- package/lib/Components/ZSpaceHost/Controllers/stopZSpace.d.ts +0 -2
- package/lib/Components/ZSpaceHost/Controllers/stopZSpace.js +0 -13
- package/lib/Components/ZSpaceHost/Controllers/toggleEmulateZSpace.d.ts +0 -2
- package/lib/Components/ZSpaceHost/Controllers/toggleEmulateZSpace.js +0 -13
- package/lib/Components/ZSpaceHost/Entities/ZSpaceHost.d.ts +0 -14
- package/lib/Components/ZSpaceHost/Entities/ZSpaceHost.js +0 -43
- package/lib/Components/ZSpaceHost/Entities/index.d.ts +0 -1
- package/lib/Components/ZSpaceHost/Entities/index.js +0 -13
- package/lib/Components/ZSpaceHost/Factories/index.d.ts +0 -1
- package/lib/Components/ZSpaceHost/Factories/index.js +0 -13
- package/lib/Components/ZSpaceHost/Factories/setupZSpaceForSandbox.d.ts +0 -3
- package/lib/Components/ZSpaceHost/Factories/setupZSpaceForSandbox.js +0 -19
- package/lib/Components/ZSpaceHost/Mocks/EmulateZSpacePMMock.d.ts +0 -8
- package/lib/Components/ZSpaceHost/Mocks/EmulateZSpacePMMock.js +0 -15
- package/lib/Components/ZSpaceHost/Mocks/MockStartZSpaceUC.d.ts +0 -8
- package/lib/Components/ZSpaceHost/Mocks/MockStartZSpaceUC.js +0 -15
- package/lib/Components/ZSpaceHost/Mocks/MockStopZSpaceUC.d.ts +0 -8
- package/lib/Components/ZSpaceHost/Mocks/MockStopZSpaceUC.js +0 -15
- package/lib/Components/ZSpaceHost/Mocks/MockXRSession.d.ts +0 -28
- package/lib/Components/ZSpaceHost/Mocks/MockXRSession.js +0 -49
- package/lib/Components/ZSpaceHost/Mocks/ZSpaceIsActivePMMock.d.ts +0 -8
- package/lib/Components/ZSpaceHost/Mocks/ZSpaceIsActivePMMock.js +0 -15
- package/lib/Components/ZSpaceHost/Mocks/index.d.ts +0 -5
- package/lib/Components/ZSpaceHost/Mocks/index.js +0 -17
- package/lib/Components/ZSpaceHost/PMs/EmulateZSpacePM.d.ts +0 -6
- package/lib/Components/ZSpaceHost/PMs/EmulateZSpacePM.js +0 -37
- package/lib/Components/ZSpaceHost/PMs/ZSpaceIsActivePM.d.ts +0 -6
- package/lib/Components/ZSpaceHost/PMs/ZSpaceIsActivePM.js +0 -37
- package/lib/Components/ZSpaceHost/PMs/index.d.ts +0 -2
- package/lib/Components/ZSpaceHost/PMs/index.js +0 -14
- package/lib/Components/ZSpaceHost/UCs/StartSandboxZSpaceUC.d.ts +0 -3
- package/lib/Components/ZSpaceHost/UCs/StartSandboxZSpaceUC.js +0 -70
- package/lib/Components/ZSpaceHost/UCs/StartZSpace/StartSandboxZSpaceUC.d.ts +0 -3
- package/lib/Components/ZSpaceHost/UCs/StartZSpace/StartSandboxZSpaceUC.js +0 -70
- package/lib/Components/ZSpaceHost/UCs/StartZSpace/StartZSpaceUC.d.ts +0 -6
- package/lib/Components/ZSpaceHost/UCs/StartZSpace/StartZSpaceUC.js +0 -11
- package/lib/Components/ZSpaceHost/UCs/StartZSpace/index.d.ts +0 -2
- package/lib/Components/ZSpaceHost/UCs/StartZSpace/index.js +0 -14
- package/lib/Components/ZSpaceHost/UCs/StartZSpaceUC.d.ts +0 -6
- package/lib/Components/ZSpaceHost/UCs/StartZSpaceUC.js +0 -11
- package/lib/Components/ZSpaceHost/UCs/StopSandboxZSpaceUC.d.ts +0 -3
- package/lib/Components/ZSpaceHost/UCs/StopSandboxZSpaceUC.js +0 -40
- package/lib/Components/ZSpaceHost/UCs/StopZSpace/StopSandboxZSpaceUC.d.ts +0 -3
- package/lib/Components/ZSpaceHost/UCs/StopZSpace/StopSandboxZSpaceUC.js +0 -40
- package/lib/Components/ZSpaceHost/UCs/StopZSpace/StopZSpaceUC.d.ts +0 -6
- package/lib/Components/ZSpaceHost/UCs/StopZSpace/StopZSpaceUC.js +0 -11
- package/lib/Components/ZSpaceHost/UCs/StopZSpace/index.d.ts +0 -2
- package/lib/Components/ZSpaceHost/UCs/StopZSpace/index.js +0 -14
- package/lib/Components/ZSpaceHost/UCs/StopZSpaceUC.d.ts +0 -6
- package/lib/Components/ZSpaceHost/UCs/StopZSpaceUC.js +0 -11
- package/lib/Components/ZSpaceHost/UCs/checkForZSpaceSupport.d.ts +0 -2
- package/lib/Components/ZSpaceHost/UCs/checkForZSpaceSupport.js +0 -30
- package/lib/Components/ZSpaceHost/UCs/index.d.ts +0 -3
- package/lib/Components/ZSpaceHost/UCs/index.js +0 -15
- package/lib/Components/ZSpaceHost/index.d.ts +0 -7
- package/lib/Components/ZSpaceHost/index.js +0 -19
- package/lib/Components/index.d.ts +0 -14
- package/lib/Components/index.js +0 -26
- package/lib/Entities/MemoizedBoolean.d.ts +0 -7
- package/lib/Entities/MemoizedBoolean.js +0 -19
- package/lib/Entities/MemoizedColor.d.ts +0 -9
- package/lib/Entities/MemoizedColor.js +0 -23
- package/lib/Entities/MemoizedNumber.d.ts +0 -7
- package/lib/Entities/MemoizedNumber.js +0 -19
- package/lib/Entities/MemoizedString.d.ts +0 -7
- package/lib/Entities/MemoizedString.js +0 -19
- package/lib/Entities/ObservableEntity.d.ts +0 -7
- package/lib/Entities/ObservableEntity.js +0 -19
- package/lib/Entities/ObserverList.d.ts +0 -7
- package/lib/Entities/ObserverList.js +0 -26
- package/lib/Entities/SnackbarRepo.d.ts +0 -20
- package/lib/Entities/SnackbarRepo.js +0 -98
- package/lib/Entities/index.d.ts +0 -7
- package/lib/Entities/index.js +0 -19
- package/lib/HostAppObject/HostAppObject.d.ts +0 -14
- package/lib/HostAppObject/HostAppObject.js +0 -58
- package/lib/HostAppObject/HostAppObjectComponent.d.ts +0 -16
- package/lib/HostAppObject/HostAppObjectComponent.js +0 -71
- package/lib/HostAppObject/HostAppObjectController.d.ts +0 -3
- package/lib/HostAppObject/HostAppObjectController.js +0 -7
- package/lib/HostAppObject/HostAppObjectEntity.d.ts +0 -14
- package/lib/HostAppObject/HostAppObjectEntity.js +0 -36
- package/lib/HostAppObject/HostAppObjectEntityRepo.d.ts +0 -15
- package/lib/HostAppObject/HostAppObjectEntityRepo.js +0 -54
- package/lib/HostAppObject/HostAppObjectPM.d.ts +0 -11
- package/lib/HostAppObject/HostAppObjectPM.js +0 -38
- package/lib/HostAppObject/HostAppObjectRepo.d.ts +0 -25
- package/lib/HostAppObject/HostAppObjectRepo.js +0 -132
- package/lib/HostAppObject/HostAppObjectUC.d.ts +0 -3
- package/lib/HostAppObject/HostAppObjectUC.js +0 -7
- package/lib/HostAppObject/HostAppObjectView.d.ts +0 -3
- package/lib/HostAppObject/HostAppObjectView.js +0 -7
- package/lib/HostAppObject/getSingletonComponent.d.ts +0 -3
- package/lib/HostAppObject/getSingletonComponent.js +0 -7
- package/lib/HostAppObject/index.d.ts +0 -9
- package/lib/HostAppObject/index.js +0 -21
- package/lib/PresentationManagers/PresentationManager.d.ts +0 -8
- package/lib/PresentationManagers/PresentationManager.js +0 -16
- package/lib/PresentationManagers/Snackbar/SnackbarPM.d.ts +0 -13
- package/lib/PresentationManagers/Snackbar/SnackbarPM.js +0 -30
- package/lib/PresentationManagers/index.d.ts +0 -6
- package/lib/PresentationManagers/index.js +0 -18
- package/lib/Types/PluginBoundary.d.ts +0 -10
- package/lib/Types/PluginBoundary.js +0 -2
- package/lib/Types/PmAdapter.d.ts +0 -6
- package/lib/Types/PmAdapter.js +0 -2
- package/lib/Types/SingletonPmAdapter.d.ts +0 -6
- package/lib/Types/SingletonPmAdapter.js +0 -2
- package/lib/Types/index.d.ts +0 -3
- package/lib/Types/index.js +0 -15
- package/lib/Utilities/addAlphaToHex.d.ts +0 -1
- package/lib/Utilities/addAlphaToHex.js +0 -16
- package/lib/Utilities/alphaToHex.d.ts +0 -2
- package/lib/Utilities/alphaToHex.js +0 -21
- package/lib/Utilities/downloadFile.d.ts +0 -1
- package/lib/Utilities/downloadFile.js +0 -14
- package/lib/Utilities/generateUniqueID.d.ts +0 -1
- package/lib/Utilities/generateUniqueID.js +0 -8
- package/lib/Utilities/index.d.ts +0 -4
- package/lib/Utilities/index.js +0 -16
- package/lib/ValueObjects/Color.d.ts +0 -82
- package/lib/ValueObjects/Color.js +0 -858
- package/lib/ValueObjects/Result.d.ts +0 -30
- package/lib/ValueObjects/Result.js +0 -45
- package/lib/ValueObjects/Version.d.ts +0 -22
- package/lib/ValueObjects/Version.js +0 -170
- package/lib/ValueObjects/index.d.ts +0 -3
- package/lib/ValueObjects/index.js +0 -15
- package/lib/index.d.ts +0 -7
- package/lib/index.js +0 -19
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.makeRegisterExternalStyleSheetsHandler = exports.RegisterExternalStyleSheetsHandler = void 0;
|
|
4
|
-
const HostAppObject_1 = require("../../../HostAppObject");
|
|
5
|
-
const Apps_1 = require("../../Apps");
|
|
6
|
-
const Entities_1 = require("../Entities");
|
|
7
|
-
class RegisterExternalStyleSheetsHandler extends HostAppObject_1.HostAppObjectUC {
|
|
8
|
-
constructor() {
|
|
9
|
-
super(...arguments);
|
|
10
|
-
this.requestType = "REGISTER_EXTERNAL_STYLESHEETS";
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
exports.RegisterExternalStyleSheetsHandler = RegisterExternalStyleSheetsHandler;
|
|
14
|
-
RegisterExternalStyleSheetsHandler.type = "RegisterExternalStyleSheetsHandler";
|
|
15
|
-
function makeRegisterExternalStyleSheetsHandler(appObject) {
|
|
16
|
-
return new RegisterExternalStyleSheetsHandlerImp(appObject);
|
|
17
|
-
}
|
|
18
|
-
exports.makeRegisterExternalStyleSheetsHandler = makeRegisterExternalStyleSheetsHandler;
|
|
19
|
-
class RegisterExternalStyleSheetsHandlerImp extends RegisterExternalStyleSheetsHandler {
|
|
20
|
-
constructor(appObject) {
|
|
21
|
-
super(appObject, RegisterExternalStyleSheetsHandler.type);
|
|
22
|
-
this.requestType = "REGISTER_EXTERNAL_STYLESHEETS";
|
|
23
|
-
this.action = (stylesheets) => {
|
|
24
|
-
if (!this.app)
|
|
25
|
-
return;
|
|
26
|
-
stylesheets.forEach((sheet) => {
|
|
27
|
-
var _a;
|
|
28
|
-
(_a = this.app) === null || _a === void 0 ? void 0 : _a.styles.push(sheet);
|
|
29
|
-
});
|
|
30
|
-
this.app.notifyOnChange();
|
|
31
|
-
};
|
|
32
|
-
this.handleRequest = (version, payload) => {
|
|
33
|
-
if (version === 1) {
|
|
34
|
-
const { stylesheets } = this.castPayloadV1(payload);
|
|
35
|
-
this.action(stylesheets);
|
|
36
|
-
}
|
|
37
|
-
else {
|
|
38
|
-
throw new Entities_1.UnsupportedRequestVersion(this.requestType, version);
|
|
39
|
-
}
|
|
40
|
-
};
|
|
41
|
-
const hostHandler = Entities_1.HostHandlerEntity.get(appObject);
|
|
42
|
-
if (!hostHandler) {
|
|
43
|
-
this.error("UC added to an entity that does not have HostHandlerEntity");
|
|
44
|
-
return;
|
|
45
|
-
}
|
|
46
|
-
hostHandler.registerRequestHandler(this);
|
|
47
|
-
}
|
|
48
|
-
get app() {
|
|
49
|
-
return this.getCachedLocalComponent(Apps_1.AppEntity.type);
|
|
50
|
-
}
|
|
51
|
-
castPayloadV1(payload) {
|
|
52
|
-
const castPayload = payload;
|
|
53
|
-
if (castPayload.stylesheets === undefined) {
|
|
54
|
-
throw new Entities_1.UnableToParsePayload(this.requestType, 1, JSON.stringify(payload));
|
|
55
|
-
}
|
|
56
|
-
return castPayload;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { HostAppObject, HostAppObjectUC } from "../../../HostAppObject";
|
|
2
|
-
import { RequestHandler } from "../Entities";
|
|
3
|
-
export declare abstract class RestoreCurrentStateHandler extends HostAppObjectUC implements RequestHandler {
|
|
4
|
-
static readonly type = "RestoreCurrentStateHandler";
|
|
5
|
-
readonly requestType = "RESTORE_CURRENT_STATE";
|
|
6
|
-
abstract action: () => void;
|
|
7
|
-
abstract handleRequest: (version: number, payload?: unknown) => void;
|
|
8
|
-
}
|
|
9
|
-
export declare function makeRestoreCurrentStateHandler(appObject: HostAppObject): RestoreCurrentStateHandler;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.makeRestoreCurrentStateHandler = exports.RestoreCurrentStateHandler = void 0;
|
|
4
|
-
const HostAppObject_1 = require("../../../HostAppObject");
|
|
5
|
-
const Entities_1 = require("../Entities");
|
|
6
|
-
const HasPreviousStateHandler_1 = require("./HasPreviousStateHandler");
|
|
7
|
-
class RestoreCurrentStateHandler extends HostAppObject_1.HostAppObjectUC {
|
|
8
|
-
constructor() {
|
|
9
|
-
super(...arguments);
|
|
10
|
-
this.requestType = "RESTORE_CURRENT_STATE";
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
exports.RestoreCurrentStateHandler = RestoreCurrentStateHandler;
|
|
14
|
-
RestoreCurrentStateHandler.type = "RestoreCurrentStateHandler";
|
|
15
|
-
function makeRestoreCurrentStateHandler(appObject) {
|
|
16
|
-
return new RestoreCurrentStateHandlerImp(appObject);
|
|
17
|
-
}
|
|
18
|
-
exports.makeRestoreCurrentStateHandler = makeRestoreCurrentStateHandler;
|
|
19
|
-
class RestoreCurrentStateHandlerImp extends RestoreCurrentStateHandler {
|
|
20
|
-
constructor(appObject) {
|
|
21
|
-
super(appObject, HasPreviousStateHandler_1.HasPreviousStateHandler.type);
|
|
22
|
-
this.payloadVersion = 1;
|
|
23
|
-
this.action = () => {
|
|
24
|
-
throw new Entities_1.ActionNotImplemented(this.requestType);
|
|
25
|
-
};
|
|
26
|
-
this.handleRequest = (version) => {
|
|
27
|
-
if (version === this.payloadVersion) {
|
|
28
|
-
this.action();
|
|
29
|
-
}
|
|
30
|
-
else {
|
|
31
|
-
throw new Entities_1.UnsupportedRequestVersion(this.requestType, version);
|
|
32
|
-
}
|
|
33
|
-
};
|
|
34
|
-
const hostHandler = Entities_1.HostHandlerEntity.get(appObject);
|
|
35
|
-
if (!hostHandler) {
|
|
36
|
-
this.error("UC added to an entity that does not have HostHandlerEntity");
|
|
37
|
-
return;
|
|
38
|
-
}
|
|
39
|
-
hostHandler.registerRequestHandler(this);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { HostAppObject, HostAppObjectUC } from "../../../HostAppObject";
|
|
2
|
-
import { RequestHandler } from "../Entities";
|
|
3
|
-
export interface ShowAlertActionDTO {
|
|
4
|
-
title: string;
|
|
5
|
-
message: string;
|
|
6
|
-
closeButtonLabel: string;
|
|
7
|
-
closeCallback: () => void;
|
|
8
|
-
}
|
|
9
|
-
export declare type ShowAlertAction = (actionDTO: ShowAlertActionDTO) => void;
|
|
10
|
-
export declare abstract class ShowAlertHandler extends HostAppObjectUC implements RequestHandler {
|
|
11
|
-
static readonly type = "ShowAlertHandler";
|
|
12
|
-
readonly requestType = "SHOW_ALERT";
|
|
13
|
-
abstract action: ShowAlertAction;
|
|
14
|
-
abstract handleRequest: (version: number, payload?: unknown) => void;
|
|
15
|
-
}
|
|
16
|
-
export declare function makeShowAlertHandler(appObject: HostAppObject): ShowAlertHandler;
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.makeShowAlertHandler = exports.ShowAlertHandler = void 0;
|
|
4
|
-
const HostAppObject_1 = require("../../../HostAppObject");
|
|
5
|
-
const Dialog_1 = require("../../Dialog");
|
|
6
|
-
const Entities_1 = require("../Entities");
|
|
7
|
-
class ShowAlertHandler extends HostAppObject_1.HostAppObjectUC {
|
|
8
|
-
constructor() {
|
|
9
|
-
super(...arguments);
|
|
10
|
-
this.requestType = "SHOW_ALERT";
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
exports.ShowAlertHandler = ShowAlertHandler;
|
|
14
|
-
ShowAlertHandler.type = "ShowAlertHandler";
|
|
15
|
-
function makeShowAlertHandler(appObject) {
|
|
16
|
-
return new ShowAlertHandlerImp(appObject);
|
|
17
|
-
}
|
|
18
|
-
exports.makeShowAlertHandler = makeShowAlertHandler;
|
|
19
|
-
class ShowAlertHandlerImp extends ShowAlertHandler {
|
|
20
|
-
constructor(appObject) {
|
|
21
|
-
super(appObject, ShowAlertHandler.type);
|
|
22
|
-
this.action = (actionDTO) => {
|
|
23
|
-
const { closeButtonLabel, closeCallback, message, title } = actionDTO;
|
|
24
|
-
Dialog_1.MakeAlertDialogUC.make({
|
|
25
|
-
buttonLabel: closeButtonLabel,
|
|
26
|
-
message,
|
|
27
|
-
title,
|
|
28
|
-
onClose: closeCallback
|
|
29
|
-
}, this.appObjects);
|
|
30
|
-
};
|
|
31
|
-
this.handleRequest = (version, payload) => {
|
|
32
|
-
if (version === 1) {
|
|
33
|
-
const castPayload = this.castPayloadV1(payload);
|
|
34
|
-
this.action(castPayload);
|
|
35
|
-
}
|
|
36
|
-
else {
|
|
37
|
-
throw new Entities_1.UnsupportedRequestVersion(this.requestType, version);
|
|
38
|
-
}
|
|
39
|
-
};
|
|
40
|
-
const hostHandler = Entities_1.HostHandlerEntity.get(appObject);
|
|
41
|
-
if (!hostHandler) {
|
|
42
|
-
this.error("UC added to an entity that does not have HostHandlerEntity");
|
|
43
|
-
return;
|
|
44
|
-
}
|
|
45
|
-
hostHandler.registerRequestHandler(this);
|
|
46
|
-
}
|
|
47
|
-
castPayloadV1(payload) {
|
|
48
|
-
const castPayload = payload;
|
|
49
|
-
if (castPayload.title === undefined ||
|
|
50
|
-
castPayload.message === undefined ||
|
|
51
|
-
castPayload.closeButtonLabel === undefined ||
|
|
52
|
-
castPayload.closeCallback === undefined) {
|
|
53
|
-
throw new Entities_1.UnableToParsePayload(this.requestType, 1, JSON.stringify(payload));
|
|
54
|
-
}
|
|
55
|
-
return castPayload;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { HostAppObject, HostAppObjectUC } from "../../../HostAppObject";
|
|
2
|
-
import { RequestHandler } from "../Entities";
|
|
3
|
-
export interface ShowConfirmActionDTO {
|
|
4
|
-
title: string;
|
|
5
|
-
message: string;
|
|
6
|
-
confirmButtonLabel: string;
|
|
7
|
-
cancelButtonLabel: string;
|
|
8
|
-
confirmCallback: () => void;
|
|
9
|
-
cancelCallback: () => void;
|
|
10
|
-
}
|
|
11
|
-
export declare type ShowConfirmAction = (confirmData: ShowConfirmActionDTO) => void;
|
|
12
|
-
export declare abstract class ShowConfirmHandler extends HostAppObjectUC implements RequestHandler {
|
|
13
|
-
static readonly type = "ShowConfirmHandler";
|
|
14
|
-
readonly requestType = "SHOW_CONFIRM";
|
|
15
|
-
abstract action: ShowConfirmAction;
|
|
16
|
-
abstract handleRequest: (version: number, payload?: unknown) => void;
|
|
17
|
-
}
|
|
18
|
-
export declare function makeShowConfirmHandler(appObject: HostAppObject): ShowConfirmHandler;
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.makeShowConfirmHandler = exports.ShowConfirmHandler = void 0;
|
|
4
|
-
const HostAppObject_1 = require("../../../HostAppObject");
|
|
5
|
-
const Dialog_1 = require("../../Dialog");
|
|
6
|
-
const Entities_1 = require("../Entities");
|
|
7
|
-
class ShowConfirmHandler extends HostAppObject_1.HostAppObjectUC {
|
|
8
|
-
constructor() {
|
|
9
|
-
super(...arguments);
|
|
10
|
-
this.requestType = "SHOW_CONFIRM";
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
exports.ShowConfirmHandler = ShowConfirmHandler;
|
|
14
|
-
ShowConfirmHandler.type = "ShowConfirmHandler";
|
|
15
|
-
function makeShowConfirmHandler(appObject) {
|
|
16
|
-
return new ShowConfirmHandlerImp(appObject);
|
|
17
|
-
}
|
|
18
|
-
exports.makeShowConfirmHandler = makeShowConfirmHandler;
|
|
19
|
-
class ShowConfirmHandlerImp extends ShowConfirmHandler {
|
|
20
|
-
constructor(appObject) {
|
|
21
|
-
super(appObject, ShowConfirmHandler.type);
|
|
22
|
-
this.action = (actionDTO) => {
|
|
23
|
-
const { cancelButtonLabel, cancelCallback, confirmButtonLabel, confirmCallback, message, title } = actionDTO;
|
|
24
|
-
Dialog_1.MakeConfirmDialogUC.make({
|
|
25
|
-
cancelButtonLabel,
|
|
26
|
-
confirmButtonLabel,
|
|
27
|
-
message,
|
|
28
|
-
title,
|
|
29
|
-
onCancel: cancelCallback,
|
|
30
|
-
onConfirm: confirmCallback
|
|
31
|
-
}, this.appObjects);
|
|
32
|
-
};
|
|
33
|
-
this.handleRequest = (version, payload) => {
|
|
34
|
-
if (version === 1) {
|
|
35
|
-
const castPayload = this.castPayloadV1(payload);
|
|
36
|
-
this.action(castPayload);
|
|
37
|
-
}
|
|
38
|
-
else {
|
|
39
|
-
throw new Entities_1.UnsupportedRequestVersion(this.requestType, version);
|
|
40
|
-
}
|
|
41
|
-
};
|
|
42
|
-
const hostHandler = Entities_1.HostHandlerEntity.get(appObject);
|
|
43
|
-
if (!hostHandler) {
|
|
44
|
-
this.error("UC added to an entity that does not have HostHandlerEntity");
|
|
45
|
-
return;
|
|
46
|
-
}
|
|
47
|
-
hostHandler.registerRequestHandler(this);
|
|
48
|
-
}
|
|
49
|
-
castPayloadV1(payload) {
|
|
50
|
-
const castPayload = payload;
|
|
51
|
-
if (castPayload.title === undefined ||
|
|
52
|
-
castPayload.message === undefined ||
|
|
53
|
-
castPayload.confirmButtonLabel === undefined ||
|
|
54
|
-
castPayload.cancelButtonLabel === undefined ||
|
|
55
|
-
castPayload.confirmCallback === undefined ||
|
|
56
|
-
castPayload.cancelCallback === undefined) {
|
|
57
|
-
throw new Entities_1.UnableToParsePayload(this.requestType, 1, JSON.stringify(payload));
|
|
58
|
-
}
|
|
59
|
-
return castPayload;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { HostAppObject, HostAppObjectUC } from "../../../HostAppObject";
|
|
2
|
-
import { RequestHandler } from "../Entities";
|
|
3
|
-
export interface ShowMarkDownEditorActionDTO {
|
|
4
|
-
initialText: string;
|
|
5
|
-
submitCallback: (text: string) => void;
|
|
6
|
-
validateString?: (text: string) => string | null;
|
|
7
|
-
}
|
|
8
|
-
export declare type ShowMarkDownEditorAction = (confirmData: ShowMarkDownEditorActionDTO) => void;
|
|
9
|
-
export declare abstract class ShowMarkDownEditorHandler extends HostAppObjectUC implements RequestHandler {
|
|
10
|
-
static readonly type = "ShowMarkDownEditorHandler";
|
|
11
|
-
readonly requestType = "SHOW_MARKDOWN_EDITOR";
|
|
12
|
-
abstract action: ShowMarkDownEditorAction;
|
|
13
|
-
abstract handleRequest: (version: number, payload?: unknown) => void;
|
|
14
|
-
}
|
|
15
|
-
export declare function makeShowMarkDownEditorHandler(appObject: HostAppObject): ShowMarkDownEditorHandler;
|
|
16
|
-
export declare class ShowMarkDownEditorHandlerImp extends ShowMarkDownEditorHandler {
|
|
17
|
-
action: ShowMarkDownEditorAction;
|
|
18
|
-
handleRequest: (version: number, payload: unknown) => void;
|
|
19
|
-
private castPayloadV1;
|
|
20
|
-
constructor(appObject: HostAppObject);
|
|
21
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ShowMarkDownEditorHandlerImp = exports.makeShowMarkDownEditorHandler = exports.ShowMarkDownEditorHandler = void 0;
|
|
4
|
-
const HostAppObject_1 = require("../../../HostAppObject");
|
|
5
|
-
const Dialog_1 = require("../../Dialog");
|
|
6
|
-
const Entities_1 = require("../Entities");
|
|
7
|
-
class ShowMarkDownEditorHandler extends HostAppObject_1.HostAppObjectUC {
|
|
8
|
-
constructor() {
|
|
9
|
-
super(...arguments);
|
|
10
|
-
this.requestType = "SHOW_MARKDOWN_EDITOR";
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
exports.ShowMarkDownEditorHandler = ShowMarkDownEditorHandler;
|
|
14
|
-
ShowMarkDownEditorHandler.type = "ShowMarkDownEditorHandler";
|
|
15
|
-
function makeShowMarkDownEditorHandler(appObject) {
|
|
16
|
-
return new ShowMarkDownEditorHandlerImp(appObject);
|
|
17
|
-
}
|
|
18
|
-
exports.makeShowMarkDownEditorHandler = makeShowMarkDownEditorHandler;
|
|
19
|
-
class ShowMarkDownEditorHandlerImp extends ShowMarkDownEditorHandler {
|
|
20
|
-
constructor(appObject) {
|
|
21
|
-
super(appObject, ShowMarkDownEditorHandler.type);
|
|
22
|
-
this.action = (actionDTO) => {
|
|
23
|
-
const { initialText, submitCallback } = actionDTO;
|
|
24
|
-
Dialog_1.MakeMarkdownDialogUC.make({
|
|
25
|
-
initialText,
|
|
26
|
-
onConfirm: submitCallback
|
|
27
|
-
}, this.appObjects);
|
|
28
|
-
};
|
|
29
|
-
this.handleRequest = (version, payload) => {
|
|
30
|
-
if (version === 1) {
|
|
31
|
-
const castPayload = this.castPayloadV1(payload);
|
|
32
|
-
this.action(castPayload);
|
|
33
|
-
}
|
|
34
|
-
else {
|
|
35
|
-
throw new Entities_1.UnsupportedRequestVersion(this.requestType, version);
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
const hostHandler = Entities_1.HostHandlerEntity.get(appObject);
|
|
39
|
-
if (!hostHandler) {
|
|
40
|
-
this.error("UC added to an entity that does not have HostHandlerEntity");
|
|
41
|
-
return;
|
|
42
|
-
}
|
|
43
|
-
hostHandler.registerRequestHandler(this);
|
|
44
|
-
}
|
|
45
|
-
castPayloadV1(payload) {
|
|
46
|
-
const castPayload = payload;
|
|
47
|
-
if (castPayload.initialText === undefined ||
|
|
48
|
-
castPayload.submitCallback === undefined) {
|
|
49
|
-
throw new Entities_1.UnableToParsePayload(this.requestType, 1, JSON.stringify(payload));
|
|
50
|
-
}
|
|
51
|
-
return castPayload;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
exports.ShowMarkDownEditorHandlerImp = ShowMarkDownEditorHandlerImp;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { HostAppObject, HostAppObjectUC } from "../../../HostAppObject";
|
|
2
|
-
import { RequestHandler } from "../Entities";
|
|
3
|
-
export declare type ShowSelectModelAction = (callback: (modelId: string) => void) => void;
|
|
4
|
-
export declare abstract class ShowSelectModelHandler extends HostAppObjectUC implements RequestHandler {
|
|
5
|
-
static readonly type = "ShowSelectModelHandler";
|
|
6
|
-
readonly requestType = "SHOW_SELECT_MODEL";
|
|
7
|
-
abstract action: ShowSelectModelAction;
|
|
8
|
-
abstract handleRequest: (version: number, payload?: unknown) => void;
|
|
9
|
-
}
|
|
10
|
-
export declare function makeShowSelectModelHandler(appObject: HostAppObject): ShowSelectModelHandler;
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.makeShowSelectModelHandler = exports.ShowSelectModelHandler = void 0;
|
|
4
|
-
const HostAppObject_1 = require("../../../HostAppObject");
|
|
5
|
-
const Entities_1 = require("../../AssetPlugin/Entities");
|
|
6
|
-
const Dialog_1 = require("../../Dialog");
|
|
7
|
-
const Entities_2 = require("../Entities");
|
|
8
|
-
class ShowSelectModelHandler extends HostAppObject_1.HostAppObjectUC {
|
|
9
|
-
constructor() {
|
|
10
|
-
super(...arguments);
|
|
11
|
-
this.requestType = "SHOW_SELECT_MODEL";
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
exports.ShowSelectModelHandler = ShowSelectModelHandler;
|
|
15
|
-
ShowSelectModelHandler.type = "ShowSelectModelHandler";
|
|
16
|
-
function makeShowSelectModelHandler(appObject) {
|
|
17
|
-
return new ShowSelectModelHandlerImp(appObject);
|
|
18
|
-
}
|
|
19
|
-
exports.makeShowSelectModelHandler = makeShowSelectModelHandler;
|
|
20
|
-
class ShowSelectModelHandlerImp extends ShowSelectModelHandler {
|
|
21
|
-
constructor(appObject) {
|
|
22
|
-
super(appObject, ShowSelectModelHandler.type);
|
|
23
|
-
this.action = (callback) => {
|
|
24
|
-
if (!this.assetPlugin)
|
|
25
|
-
return;
|
|
26
|
-
this.assetPlugin.callback = callback;
|
|
27
|
-
this.assetPlugin.show = true;
|
|
28
|
-
Dialog_1.MakeSelectModelDialogUC.make(this.appObjects);
|
|
29
|
-
};
|
|
30
|
-
this.handleRequest = (version, payload) => {
|
|
31
|
-
if (version === 1) {
|
|
32
|
-
const castPayload = this.castPayloadV1(payload);
|
|
33
|
-
this.action(castPayload);
|
|
34
|
-
}
|
|
35
|
-
else {
|
|
36
|
-
throw new Entities_2.UnsupportedRequestVersion(this.requestType, version);
|
|
37
|
-
}
|
|
38
|
-
};
|
|
39
|
-
const hostHandler = Entities_2.HostHandlerEntity.get(appObject);
|
|
40
|
-
if (!hostHandler) {
|
|
41
|
-
this.error("UC added to an entity that does not have HostHandlerEntity");
|
|
42
|
-
return;
|
|
43
|
-
}
|
|
44
|
-
hostHandler.registerRequestHandler(this);
|
|
45
|
-
}
|
|
46
|
-
get assetPlugin() {
|
|
47
|
-
return this.getCachedSingleton(Entities_1.AssetPluginEntity.type);
|
|
48
|
-
}
|
|
49
|
-
castPayloadV1(payload) {
|
|
50
|
-
const castPayload = payload;
|
|
51
|
-
if (castPayload.callback === undefined) {
|
|
52
|
-
throw new Entities_2.UnableToParsePayload(this.requestType, 1, JSON.stringify(payload));
|
|
53
|
-
}
|
|
54
|
-
return castPayload.callback;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { HostAppObject, HostAppObjectUC } from "../../../HostAppObject";
|
|
2
|
-
import { RequestHandler } from "../Entities";
|
|
3
|
-
export interface ShowSpinnerActionDTO {
|
|
4
|
-
message: string;
|
|
5
|
-
title: string;
|
|
6
|
-
closeCallback: (closeSpinner: () => void) => void;
|
|
7
|
-
}
|
|
8
|
-
export declare type ShowSpinnerAction = (confirmData: ShowSpinnerActionDTO) => void;
|
|
9
|
-
export declare abstract class ShowSpinnerHandler extends HostAppObjectUC implements RequestHandler {
|
|
10
|
-
static readonly type = "ShowSpinnerHandler";
|
|
11
|
-
readonly requestType = "SHOW_SPINNER";
|
|
12
|
-
abstract action: ShowSpinnerAction;
|
|
13
|
-
abstract handleRequest: (version: number, payload?: unknown) => void;
|
|
14
|
-
}
|
|
15
|
-
export declare function makeShowSpinnerHandler(appObject: HostAppObject): ShowSpinnerHandler;
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.makeShowSpinnerHandler = exports.ShowSpinnerHandler = void 0;
|
|
4
|
-
const HostAppObject_1 = require("../../../HostAppObject");
|
|
5
|
-
const Dialog_1 = require("../../Dialog");
|
|
6
|
-
const Entities_1 = require("../Entities");
|
|
7
|
-
class ShowSpinnerHandler extends HostAppObject_1.HostAppObjectUC {
|
|
8
|
-
constructor() {
|
|
9
|
-
super(...arguments);
|
|
10
|
-
this.requestType = "SHOW_SPINNER";
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
exports.ShowSpinnerHandler = ShowSpinnerHandler;
|
|
14
|
-
ShowSpinnerHandler.type = "ShowSpinnerHandler";
|
|
15
|
-
function makeShowSpinnerHandler(appObject) {
|
|
16
|
-
return new ShowSpinnerBase(appObject);
|
|
17
|
-
}
|
|
18
|
-
exports.makeShowSpinnerHandler = makeShowSpinnerHandler;
|
|
19
|
-
class ShowSpinnerBase extends ShowSpinnerHandler {
|
|
20
|
-
constructor(appObject) {
|
|
21
|
-
super(appObject, ShowSpinnerHandler.type);
|
|
22
|
-
this.action = (actionDTO) => {
|
|
23
|
-
const { title, message, closeCallback } = actionDTO;
|
|
24
|
-
const spinnerDialog = Dialog_1.MakeSpinnerDialogUC.make({
|
|
25
|
-
title,
|
|
26
|
-
message
|
|
27
|
-
}, this.appObjects);
|
|
28
|
-
closeCallback(() => spinnerDialog === null || spinnerDialog === void 0 ? void 0 : spinnerDialog.close());
|
|
29
|
-
};
|
|
30
|
-
this.handleRequest = (version, payload) => {
|
|
31
|
-
if (version === 1) {
|
|
32
|
-
const castPayload = this.castPayloadV1(payload);
|
|
33
|
-
this.action(castPayload);
|
|
34
|
-
}
|
|
35
|
-
else {
|
|
36
|
-
throw new Entities_1.UnsupportedRequestVersion(this.requestType, version);
|
|
37
|
-
}
|
|
38
|
-
};
|
|
39
|
-
const hostHandler = Entities_1.HostHandlerEntity.get(appObject);
|
|
40
|
-
if (!hostHandler) {
|
|
41
|
-
this.error("UC added to an entity that does not have HostHandlerEntity");
|
|
42
|
-
return;
|
|
43
|
-
}
|
|
44
|
-
hostHandler.registerRequestHandler(this);
|
|
45
|
-
}
|
|
46
|
-
castPayloadV1(payload) {
|
|
47
|
-
const castPayload = payload;
|
|
48
|
-
if (castPayload.message === undefined ||
|
|
49
|
-
castPayload.title === undefined ||
|
|
50
|
-
castPayload.closeCallback === undefined) {
|
|
51
|
-
throw new Entities_1.UnableToParsePayload(this.requestType, 1, JSON.stringify(payload));
|
|
52
|
-
}
|
|
53
|
-
return castPayload;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { HostAppObject, HostAppObjectUC } from "../../../HostAppObject";
|
|
2
|
-
import { RequestHandler } from "../Entities";
|
|
3
|
-
export declare abstract class StartZSpaceHandler extends HostAppObjectUC implements RequestHandler {
|
|
4
|
-
static readonly type = "StartZSpaceHandler";
|
|
5
|
-
readonly requestType = "START_ZSPACE";
|
|
6
|
-
abstract action: () => void;
|
|
7
|
-
abstract handleRequest: (version: number, payload?: unknown) => void;
|
|
8
|
-
}
|
|
9
|
-
export declare function makeStartZSpaceHandler(appObject: HostAppObject): StartZSpaceHandler;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.makeStartZSpaceHandler = exports.StartZSpaceHandler = void 0;
|
|
4
|
-
const HostAppObject_1 = require("../../../HostAppObject");
|
|
5
|
-
const StartZSpaceUC_1 = require("../../ZSpaceHost/UCs/StartZSpace/StartZSpaceUC");
|
|
6
|
-
const Entities_1 = require("../Entities");
|
|
7
|
-
class StartZSpaceHandler extends HostAppObject_1.HostAppObjectUC {
|
|
8
|
-
constructor() {
|
|
9
|
-
super(...arguments);
|
|
10
|
-
this.requestType = "START_ZSPACE";
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
exports.StartZSpaceHandler = StartZSpaceHandler;
|
|
14
|
-
StartZSpaceHandler.type = "StartZSpaceHandler";
|
|
15
|
-
function makeStartZSpaceHandler(appObject) {
|
|
16
|
-
return new StartZSpaceHandlerImp(appObject);
|
|
17
|
-
}
|
|
18
|
-
exports.makeStartZSpaceHandler = makeStartZSpaceHandler;
|
|
19
|
-
class StartZSpaceHandlerImp extends StartZSpaceHandler {
|
|
20
|
-
constructor(appObject) {
|
|
21
|
-
super(appObject, StartZSpaceHandler.type);
|
|
22
|
-
this.payloadVersion = 1;
|
|
23
|
-
this.action = () => {
|
|
24
|
-
var _a;
|
|
25
|
-
(_a = this.startZSpaceUC) === null || _a === void 0 ? void 0 : _a.startZSpace();
|
|
26
|
-
};
|
|
27
|
-
this.handleRequest = (version) => {
|
|
28
|
-
if (version === this.payloadVersion) {
|
|
29
|
-
this.action();
|
|
30
|
-
}
|
|
31
|
-
else {
|
|
32
|
-
throw new Entities_1.UnsupportedRequestVersion(this.requestType, version);
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
|
-
const hostHandler = Entities_1.HostHandlerEntity.get(appObject);
|
|
36
|
-
if (!hostHandler) {
|
|
37
|
-
this.error("UC added to an entity that does not have HostHandlerEntity");
|
|
38
|
-
return;
|
|
39
|
-
}
|
|
40
|
-
hostHandler.registerRequestHandler(this);
|
|
41
|
-
}
|
|
42
|
-
get startZSpaceUC() {
|
|
43
|
-
return this.getCachedSingleton(StartZSpaceUC_1.StartZSpaceUC.type);
|
|
44
|
-
}
|
|
45
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { HostAppObject, HostAppObjectUC } from "../../../HostAppObject";
|
|
2
|
-
import { RequestHandler } from "../Entities";
|
|
3
|
-
export declare abstract class StopZSpaceHandler extends HostAppObjectUC implements RequestHandler {
|
|
4
|
-
static readonly type = "StopZSpaceHandler";
|
|
5
|
-
readonly requestType = "STOP_ZSPACE";
|
|
6
|
-
abstract action: () => void;
|
|
7
|
-
abstract handleRequest: (version: number, payload?: unknown) => void;
|
|
8
|
-
}
|
|
9
|
-
export declare function makeStopZSpaceHandler(appObject: HostAppObject): StopZSpaceHandler;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.makeStopZSpaceHandler = exports.StopZSpaceHandler = void 0;
|
|
4
|
-
const HostAppObject_1 = require("../../../HostAppObject");
|
|
5
|
-
const UCs_1 = require("../../ZSpaceHost/UCs");
|
|
6
|
-
const Entities_1 = require("../Entities");
|
|
7
|
-
class StopZSpaceHandler extends HostAppObject_1.HostAppObjectUC {
|
|
8
|
-
constructor() {
|
|
9
|
-
super(...arguments);
|
|
10
|
-
this.requestType = "STOP_ZSPACE";
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
exports.StopZSpaceHandler = StopZSpaceHandler;
|
|
14
|
-
StopZSpaceHandler.type = "StopZSpaceHandler";
|
|
15
|
-
function makeStopZSpaceHandler(appObject) {
|
|
16
|
-
return new StopZSpaceHandlerImp(appObject);
|
|
17
|
-
}
|
|
18
|
-
exports.makeStopZSpaceHandler = makeStopZSpaceHandler;
|
|
19
|
-
class StopZSpaceHandlerImp extends StopZSpaceHandler {
|
|
20
|
-
constructor(appObject) {
|
|
21
|
-
super(appObject, StopZSpaceHandler.type);
|
|
22
|
-
this.payloadVersion = 1;
|
|
23
|
-
this.action = () => {
|
|
24
|
-
var _a;
|
|
25
|
-
(_a = this.stopUC) === null || _a === void 0 ? void 0 : _a.stopZSpace();
|
|
26
|
-
};
|
|
27
|
-
this.handleRequest = (version) => {
|
|
28
|
-
if (version === this.payloadVersion) {
|
|
29
|
-
this.action();
|
|
30
|
-
}
|
|
31
|
-
else {
|
|
32
|
-
throw new Entities_1.UnsupportedRequestVersion(this.requestType, version);
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
|
-
const hostHandler = Entities_1.HostHandlerEntity.get(appObject);
|
|
36
|
-
if (!hostHandler) {
|
|
37
|
-
this.error("UC added to an entity that does not have HostHandlerEntity");
|
|
38
|
-
return;
|
|
39
|
-
}
|
|
40
|
-
hostHandler.registerRequestHandler(this);
|
|
41
|
-
}
|
|
42
|
-
get stopUC() {
|
|
43
|
-
return this.getCachedSingleton(UCs_1.StopZSpaceUC.type);
|
|
44
|
-
}
|
|
45
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { HostAppObject, HostAppObjectUC } from "../../../HostAppObject";
|
|
2
|
-
import { RequestHandler } from "../Entities";
|
|
3
|
-
export declare type SubmitActivityAssetAction = (assetFile: File, callback: (assetID: string | undefined) => void) => void;
|
|
4
|
-
export declare abstract class SubmitActivityAssetHandler extends HostAppObjectUC implements RequestHandler {
|
|
5
|
-
static readonly type = "SubmitActivityAssetHandler";
|
|
6
|
-
readonly requestType = "SUBMIT_ACTIVITY_ASSET";
|
|
7
|
-
abstract action: SubmitActivityAssetAction;
|
|
8
|
-
abstract handleRequest: (version: number, payload?: unknown) => void;
|
|
9
|
-
}
|
|
10
|
-
export declare function makeSubmitActivityAssetHandler(appObject: HostAppObject): SubmitActivityAssetHandler;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.makeSubmitActivityAssetHandler = exports.SubmitActivityAssetHandler = void 0;
|
|
4
|
-
const HostAppObject_1 = require("../../../HostAppObject");
|
|
5
|
-
const Entities_1 = require("../Entities");
|
|
6
|
-
class SubmitActivityAssetHandler extends HostAppObject_1.HostAppObjectUC {
|
|
7
|
-
constructor() {
|
|
8
|
-
super(...arguments);
|
|
9
|
-
this.requestType = "SUBMIT_ACTIVITY_ASSET";
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
exports.SubmitActivityAssetHandler = SubmitActivityAssetHandler;
|
|
13
|
-
SubmitActivityAssetHandler.type = "SubmitActivityAssetHandler";
|
|
14
|
-
function makeSubmitActivityAssetHandler(appObject) {
|
|
15
|
-
return new SubmitActivityAssetHandlerImp(appObject);
|
|
16
|
-
}
|
|
17
|
-
exports.makeSubmitActivityAssetHandler = makeSubmitActivityAssetHandler;
|
|
18
|
-
class SubmitActivityAssetHandlerImp extends SubmitActivityAssetHandler {
|
|
19
|
-
constructor(appObject) {
|
|
20
|
-
super(appObject, SubmitActivityAssetHandler.type);
|
|
21
|
-
this.action = () => {
|
|
22
|
-
throw new Entities_1.ActionNotImplemented(this.requestType);
|
|
23
|
-
};
|
|
24
|
-
this.handleRequest = (version, payload) => {
|
|
25
|
-
if (version === 1) {
|
|
26
|
-
const { assetFile, callback } = this.castPayloadV1(payload);
|
|
27
|
-
this.action(assetFile, callback);
|
|
28
|
-
}
|
|
29
|
-
else {
|
|
30
|
-
throw new Entities_1.UnsupportedRequestVersion(this.requestType, version);
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
const hostHandler = Entities_1.HostHandlerEntity.get(appObject);
|
|
34
|
-
if (!hostHandler) {
|
|
35
|
-
this.error("UC added to an entity that does not have HostHandlerEntity");
|
|
36
|
-
return;
|
|
37
|
-
}
|
|
38
|
-
hostHandler.registerRequestHandler(this);
|
|
39
|
-
}
|
|
40
|
-
castPayloadV1(payload) {
|
|
41
|
-
const castPayload = payload;
|
|
42
|
-
if (!castPayload.assetFile || !castPayload.callback) {
|
|
43
|
-
throw new Entities_1.UnableToParsePayload(this.requestType, 1, JSON.stringify(payload));
|
|
44
|
-
}
|
|
45
|
-
return castPayload;
|
|
46
|
-
}
|
|
47
|
-
}
|