@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,11 +0,0 @@
|
|
|
1
|
-
import { HostAppObject, HostAppObjectUC } from "../../../HostAppObject";
|
|
2
|
-
import { RequestHandler } from "../Entities";
|
|
3
|
-
export declare type Severity = "LOG" | "WARNING" | "ERROR" | "FATAL";
|
|
4
|
-
export declare type SubmitLogAction = (sender: string, severity: Severity, message: string) => void;
|
|
5
|
-
export declare abstract class SubmitLogHandler extends HostAppObjectUC implements RequestHandler {
|
|
6
|
-
static readonly type = "SubmitLogHandler";
|
|
7
|
-
readonly requestType = "SUBMIT_LOG";
|
|
8
|
-
abstract action: SubmitLogAction;
|
|
9
|
-
abstract handleRequest: (version: number, payload?: unknown) => void;
|
|
10
|
-
}
|
|
11
|
-
export declare function makeSubmitLogHandler(appObject: HostAppObject): SubmitLogHandler;
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.makeSubmitLogHandler = exports.SubmitLogHandler = void 0;
|
|
4
|
-
const HostAppObject_1 = require("../../../HostAppObject");
|
|
5
|
-
const Apps_1 = require("../../Apps");
|
|
6
|
-
const Entities_1 = require("../Entities");
|
|
7
|
-
class SubmitLogHandler extends HostAppObject_1.HostAppObjectUC {
|
|
8
|
-
constructor() {
|
|
9
|
-
super(...arguments);
|
|
10
|
-
this.requestType = "SUBMIT_LOG";
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
exports.SubmitLogHandler = SubmitLogHandler;
|
|
14
|
-
SubmitLogHandler.type = "SubmitLogHandler";
|
|
15
|
-
function makeSubmitLogHandler(appObject) {
|
|
16
|
-
return new SubmitLogHandlerImp(appObject);
|
|
17
|
-
}
|
|
18
|
-
exports.makeSubmitLogHandler = makeSubmitLogHandler;
|
|
19
|
-
class SubmitLogHandlerImp extends SubmitLogHandler {
|
|
20
|
-
constructor(appObject) {
|
|
21
|
-
super(appObject, SubmitLogHandler.type);
|
|
22
|
-
this.action = (sender, severity, message) => {
|
|
23
|
-
if (!this.app) {
|
|
24
|
-
return;
|
|
25
|
-
}
|
|
26
|
-
const prependedSender = `[${this.app.name}] ${sender}`;
|
|
27
|
-
if (severity === "LOG") {
|
|
28
|
-
this.appObjects.submitLog(prependedSender, message);
|
|
29
|
-
}
|
|
30
|
-
else if (severity === "WARNING") {
|
|
31
|
-
this.appObjects.submitWarning(prependedSender, message);
|
|
32
|
-
}
|
|
33
|
-
else if (severity === "ERROR") {
|
|
34
|
-
this.appObjects.submitError(prependedSender, message);
|
|
35
|
-
}
|
|
36
|
-
else if (severity === "FATAL") {
|
|
37
|
-
this.appObjects.submitFatal(prependedSender, message);
|
|
38
|
-
}
|
|
39
|
-
else {
|
|
40
|
-
this.appObjects.submitLog(prependedSender, message);
|
|
41
|
-
this.appObjects.submitWarning("Host Handler - Submit Log", `Received an unsupported log severity type of ${severity}`);
|
|
42
|
-
}
|
|
43
|
-
};
|
|
44
|
-
this.handleRequest = (version, payload) => {
|
|
45
|
-
if (version === 1) {
|
|
46
|
-
const { sender, message, severity } = this.castPayloadV1(payload);
|
|
47
|
-
this.action(sender, severity, message);
|
|
48
|
-
}
|
|
49
|
-
else {
|
|
50
|
-
throw new Entities_1.UnsupportedRequestVersion(this.requestType, version);
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
|
-
const hostHandler = Entities_1.HostHandlerEntity.get(appObject);
|
|
54
|
-
if (!hostHandler) {
|
|
55
|
-
this.error("UC added to an entity that does not have HostHandlerEntity");
|
|
56
|
-
return;
|
|
57
|
-
}
|
|
58
|
-
hostHandler.registerRequestHandler(this);
|
|
59
|
-
}
|
|
60
|
-
get app() {
|
|
61
|
-
return this.getCachedLocalComponent(Apps_1.AppEntity.type);
|
|
62
|
-
}
|
|
63
|
-
castPayloadV1(payload) {
|
|
64
|
-
const castPayload = payload;
|
|
65
|
-
if (castPayload.sender === undefined ||
|
|
66
|
-
castPayload.severity === undefined ||
|
|
67
|
-
castPayload.message === undefined) {
|
|
68
|
-
throw new Entities_1.UnableToParsePayload(this.requestType, 1, JSON.stringify(payload));
|
|
69
|
-
}
|
|
70
|
-
return castPayload;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { HostAppObject, HostAppObjectUC } from "../../../HostAppObject";
|
|
2
|
-
import { RequestHandler } from "../Entities";
|
|
3
|
-
export declare type ResultType = "HIT_V1" | "MULTIHIT_V1" | "QUALITY_V1" | "SCORE_V1" | "PROGRESS_V1";
|
|
4
|
-
export declare type Results = HitResultV1 | MultiHitResultV1 | QualityResultV1 | ScoreResultV1 | ProgressResultV1;
|
|
5
|
-
export declare type HitResultV1 = {
|
|
6
|
-
success: boolean;
|
|
7
|
-
};
|
|
8
|
-
export declare type MultiHitResultV1 = {
|
|
9
|
-
hits: number;
|
|
10
|
-
misses: number;
|
|
11
|
-
unanswered: number;
|
|
12
|
-
};
|
|
13
|
-
export declare type QualityResultV1 = {
|
|
14
|
-
stars: number;
|
|
15
|
-
maxStars: number;
|
|
16
|
-
};
|
|
17
|
-
export declare type ScoreResultV1 = {
|
|
18
|
-
score: number;
|
|
19
|
-
maxScore: number;
|
|
20
|
-
};
|
|
21
|
-
export declare type ProgressResultV1 = {
|
|
22
|
-
progress: number;
|
|
23
|
-
};
|
|
24
|
-
export declare type SubmitResultAction = (type: ResultType, result: Results, description: string) => void;
|
|
25
|
-
export declare abstract class SubmitResultHandler extends HostAppObjectUC implements RequestHandler {
|
|
26
|
-
static readonly type = "SubmitResultHandler";
|
|
27
|
-
readonly requestType = "SUBMIT_RESULTS";
|
|
28
|
-
abstract action: SubmitResultAction;
|
|
29
|
-
abstract handleRequest: (version: number, payload?: unknown) => void;
|
|
30
|
-
}
|
|
31
|
-
export declare function makeSubmitResultHandler(appObject: HostAppObject): SubmitResultHandler;
|
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.makeSubmitResultHandler = exports.SubmitResultHandler = void 0;
|
|
4
|
-
const HostAppObject_1 = require("../../../HostAppObject");
|
|
5
|
-
const ChallengeResults_1 = require("../../ChallengeResults");
|
|
6
|
-
const StateMachine_1 = require("../../StateMachine");
|
|
7
|
-
const Entities_1 = require("../Entities");
|
|
8
|
-
class SubmitResultHandler extends HostAppObject_1.HostAppObjectUC {
|
|
9
|
-
constructor() {
|
|
10
|
-
super(...arguments);
|
|
11
|
-
this.requestType = "SUBMIT_RESULTS";
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
exports.SubmitResultHandler = SubmitResultHandler;
|
|
15
|
-
SubmitResultHandler.type = "SubmitResultHandler";
|
|
16
|
-
function makeSubmitResultHandler(appObject) {
|
|
17
|
-
return new SubmitResultHandlerImp(appObject);
|
|
18
|
-
}
|
|
19
|
-
exports.makeSubmitResultHandler = makeSubmitResultHandler;
|
|
20
|
-
class SubmitResultHandlerImp extends SubmitResultHandler {
|
|
21
|
-
constructor(appObject) {
|
|
22
|
-
super(appObject, SubmitResultHandler.type);
|
|
23
|
-
this.action = (type, result, description) => {
|
|
24
|
-
var _a, _b;
|
|
25
|
-
if (!this.challengeResults || !this.stateMachine) {
|
|
26
|
-
this.error("Missing Component");
|
|
27
|
-
return;
|
|
28
|
-
}
|
|
29
|
-
if (this.stateMachine.activeState === undefined) {
|
|
30
|
-
this.warn("Cannot store result because there is no active slide");
|
|
31
|
-
return;
|
|
32
|
-
}
|
|
33
|
-
const currentSlide = this.stateMachine.activeState;
|
|
34
|
-
let tries = (_b = (_a = this.challengeResults.getResultForSlide(currentSlide)) === null || _a === void 0 ? void 0 : _a.tries) !== null && _b !== void 0 ? _b : 0;
|
|
35
|
-
if (type !== "PROGRESS_V1") {
|
|
36
|
-
tries += 1;
|
|
37
|
-
}
|
|
38
|
-
if (type === "HIT_V1") {
|
|
39
|
-
this.handleHitV1(result, tries, currentSlide, description);
|
|
40
|
-
}
|
|
41
|
-
else if (type === "MULTIHIT_V1") {
|
|
42
|
-
this.handleMultiHitV1(result, tries, currentSlide, description);
|
|
43
|
-
}
|
|
44
|
-
else if (type === "QUALITY_V1") {
|
|
45
|
-
this.handleQualityV1(result, tries, currentSlide, description);
|
|
46
|
-
}
|
|
47
|
-
else if (type === "SCORE_V1") {
|
|
48
|
-
this.handleScoreV1(result, tries, currentSlide, description);
|
|
49
|
-
}
|
|
50
|
-
else if (type === "PROGRESS_V1") {
|
|
51
|
-
this.handleProgressV1(result, currentSlide, description);
|
|
52
|
-
}
|
|
53
|
-
};
|
|
54
|
-
this.handleRequest = (version, payload) => {
|
|
55
|
-
if (version === 2) {
|
|
56
|
-
const { description, result, resultType } = this.castPayloadV2(payload);
|
|
57
|
-
this.action(resultType, result, description);
|
|
58
|
-
}
|
|
59
|
-
else if (version === 3) {
|
|
60
|
-
const { description, result, resultType } = this.castPayloadV3(payload);
|
|
61
|
-
this.action(resultType, result, description);
|
|
62
|
-
}
|
|
63
|
-
else {
|
|
64
|
-
throw new Entities_1.UnsupportedRequestVersion(this.requestType, version);
|
|
65
|
-
}
|
|
66
|
-
};
|
|
67
|
-
const hostHandler = Entities_1.HostHandlerEntity.get(appObject);
|
|
68
|
-
if (!hostHandler) {
|
|
69
|
-
this.error("UC added to an entity that does not have HostHandlerEntity");
|
|
70
|
-
return;
|
|
71
|
-
}
|
|
72
|
-
hostHandler.registerRequestHandler(this);
|
|
73
|
-
}
|
|
74
|
-
get challengeResults() {
|
|
75
|
-
return this.getCachedSingleton(ChallengeResults_1.ChallengeResultsEntity.type);
|
|
76
|
-
}
|
|
77
|
-
get stateMachine() {
|
|
78
|
-
return this.getCachedSingleton(StateMachine_1.HostStateMachine.type);
|
|
79
|
-
}
|
|
80
|
-
handleHitV1(result, tries, slideId, message) {
|
|
81
|
-
var _a;
|
|
82
|
-
const castResult = result;
|
|
83
|
-
if (castResult.success === undefined) {
|
|
84
|
-
this.warn(`Cannot parse Hit Result V1 payload: ${JSON.stringify(result)}`);
|
|
85
|
-
return;
|
|
86
|
-
}
|
|
87
|
-
(_a = this.challengeResults) === null || _a === void 0 ? void 0 : _a.submitHitResult(slideId, castResult.success, tries, message);
|
|
88
|
-
}
|
|
89
|
-
handleProgressV1(result, slideId, message) {
|
|
90
|
-
var _a;
|
|
91
|
-
const castResult = result;
|
|
92
|
-
if (castResult.progress === undefined) {
|
|
93
|
-
this.warn(`Cannot parse Progress Result V1 payload: ${JSON.stringify(result)}`);
|
|
94
|
-
return;
|
|
95
|
-
}
|
|
96
|
-
(_a = this.challengeResults) === null || _a === void 0 ? void 0 : _a.submitProgressResult(slideId, castResult.progress, message);
|
|
97
|
-
}
|
|
98
|
-
handleMultiHitV1(result, tries, slideId, message) {
|
|
99
|
-
var _a;
|
|
100
|
-
const { hits, misses, unanswered } = result;
|
|
101
|
-
if (hits === undefined ||
|
|
102
|
-
misses === undefined ||
|
|
103
|
-
unanswered === undefined) {
|
|
104
|
-
this.warn(`Cannot parse Multi Hit Result V1 payload: ${JSON.stringify(result)}`);
|
|
105
|
-
return;
|
|
106
|
-
}
|
|
107
|
-
(_a = this.challengeResults) === null || _a === void 0 ? void 0 : _a.submitMultiHitResult(slideId, hits, misses, unanswered, tries, message);
|
|
108
|
-
}
|
|
109
|
-
handleQualityV1(result, tries, slideId, message) {
|
|
110
|
-
var _a;
|
|
111
|
-
const { maxStars, stars } = result;
|
|
112
|
-
if (maxStars === undefined || stars === undefined) {
|
|
113
|
-
this.warn(`Cannot parse Quality Result V1 payload: ${JSON.stringify(result)}`);
|
|
114
|
-
return;
|
|
115
|
-
}
|
|
116
|
-
(_a = this.challengeResults) === null || _a === void 0 ? void 0 : _a.submitQualityResult(slideId, stars, maxStars, tries, message);
|
|
117
|
-
}
|
|
118
|
-
handleScoreV1(result, tries, slideId, message) {
|
|
119
|
-
var _a;
|
|
120
|
-
const { score, maxScore } = result;
|
|
121
|
-
if (maxScore === undefined || score === undefined) {
|
|
122
|
-
this.warn(`Cannot parse Score Result V1 payload: ${JSON.stringify(result)}`);
|
|
123
|
-
return;
|
|
124
|
-
}
|
|
125
|
-
(_a = this.challengeResults) === null || _a === void 0 ? void 0 : _a.submitScoreResult(slideId, score, maxScore, tries, message);
|
|
126
|
-
}
|
|
127
|
-
castPayloadV2(payload) {
|
|
128
|
-
const castPayload = payload;
|
|
129
|
-
if (castPayload.result === undefined ||
|
|
130
|
-
castPayload.resultType === undefined) {
|
|
131
|
-
throw new Entities_1.UnableToParsePayload(this.requestType, 1, JSON.stringify(payload));
|
|
132
|
-
}
|
|
133
|
-
return castPayload;
|
|
134
|
-
}
|
|
135
|
-
castPayloadV3(payload) {
|
|
136
|
-
const castPayload = payload;
|
|
137
|
-
if (castPayload.result === undefined ||
|
|
138
|
-
castPayload.resultType === undefined) {
|
|
139
|
-
throw new Entities_1.UnableToParsePayload(this.requestType, 2, JSON.stringify(payload));
|
|
140
|
-
}
|
|
141
|
-
return castPayload;
|
|
142
|
-
}
|
|
143
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
export * from "./CallbackAssetDTO";
|
|
2
|
-
export * from "./CloseAssetSystemPlugin";
|
|
3
|
-
export * from "./GetAssetBlobURLHandler";
|
|
4
|
-
export * from "./GetAssetFolderURLHandler";
|
|
5
|
-
export * from "./GetAssetMetaHandler";
|
|
6
|
-
export * from "./GetAssetsForOwnerHandler";
|
|
7
|
-
export * from "./GetLinkedAssetsHandler";
|
|
8
|
-
export * from "./GoToNextStateHandler";
|
|
9
|
-
export * from "./GoToPreviousStateHandler";
|
|
10
|
-
export * from "./HasNextStateHandler";
|
|
11
|
-
export * from "./HasPreviousStateHandler";
|
|
12
|
-
export * from "./IsAssetFetchedHandler";
|
|
13
|
-
export * from "./IsZSpaceAvailableHandler";
|
|
14
|
-
export * from "./NewActivityAssetHandler";
|
|
15
|
-
export * from "./OnAppIsReadyHandler";
|
|
16
|
-
export * from "./OnStateChangeHandler";
|
|
17
|
-
export * from "./OnStateCompleteHandler";
|
|
18
|
-
export * from "./RegisterExternalStyleSheetsHandler";
|
|
19
|
-
export * from "./RestoreCurrentStateHandler";
|
|
20
|
-
export * from "./ShowAlertHandler";
|
|
21
|
-
export * from "./ShowConfirmHandler";
|
|
22
|
-
export * from "./ShowMarkDownEditorHandler";
|
|
23
|
-
export * from "./ShowSelectModelHandler";
|
|
24
|
-
export * from "./ShowSpinnerHandler";
|
|
25
|
-
export * from "./StartZSpaceHandler";
|
|
26
|
-
export * from "./StopZSpaceHandler";
|
|
27
|
-
export * from "./SubmitActivityAssetHandler";
|
|
28
|
-
export * from "./SubmitLogHandler";
|
|
29
|
-
export * from "./SubmitResultHandler";
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
-
}) : (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
o[k2] = m[k];
|
|
8
|
-
}));
|
|
9
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
-
};
|
|
12
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
__exportStar(require("./CallbackAssetDTO"), exports);
|
|
14
|
-
__exportStar(require("./CloseAssetSystemPlugin"), exports);
|
|
15
|
-
__exportStar(require("./GetAssetBlobURLHandler"), exports);
|
|
16
|
-
__exportStar(require("./GetAssetFolderURLHandler"), exports);
|
|
17
|
-
__exportStar(require("./GetAssetMetaHandler"), exports);
|
|
18
|
-
__exportStar(require("./GetAssetsForOwnerHandler"), exports);
|
|
19
|
-
__exportStar(require("./GetLinkedAssetsHandler"), exports);
|
|
20
|
-
__exportStar(require("./GoToNextStateHandler"), exports);
|
|
21
|
-
__exportStar(require("./GoToPreviousStateHandler"), exports);
|
|
22
|
-
__exportStar(require("./HasNextStateHandler"), exports);
|
|
23
|
-
__exportStar(require("./HasPreviousStateHandler"), exports);
|
|
24
|
-
__exportStar(require("./IsAssetFetchedHandler"), exports);
|
|
25
|
-
__exportStar(require("./IsZSpaceAvailableHandler"), exports);
|
|
26
|
-
__exportStar(require("./NewActivityAssetHandler"), exports);
|
|
27
|
-
__exportStar(require("./OnAppIsReadyHandler"), exports);
|
|
28
|
-
__exportStar(require("./OnStateChangeHandler"), exports);
|
|
29
|
-
__exportStar(require("./OnStateCompleteHandler"), exports);
|
|
30
|
-
__exportStar(require("./RegisterExternalStyleSheetsHandler"), exports);
|
|
31
|
-
__exportStar(require("./RestoreCurrentStateHandler"), exports);
|
|
32
|
-
__exportStar(require("./ShowAlertHandler"), exports);
|
|
33
|
-
__exportStar(require("./ShowConfirmHandler"), exports);
|
|
34
|
-
__exportStar(require("./ShowMarkDownEditorHandler"), exports);
|
|
35
|
-
__exportStar(require("./ShowSelectModelHandler"), exports);
|
|
36
|
-
__exportStar(require("./ShowSpinnerHandler"), exports);
|
|
37
|
-
__exportStar(require("./StartZSpaceHandler"), exports);
|
|
38
|
-
__exportStar(require("./StopZSpaceHandler"), exports);
|
|
39
|
-
__exportStar(require("./SubmitActivityAssetHandler"), exports);
|
|
40
|
-
__exportStar(require("./SubmitLogHandler"), exports);
|
|
41
|
-
__exportStar(require("./SubmitResultHandler"), exports);
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
-
}) : (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
o[k2] = m[k];
|
|
8
|
-
}));
|
|
9
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
-
};
|
|
12
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
__exportStar(require("./Entities"), exports);
|
|
14
|
-
__exportStar(require("./UCs"), exports);
|
|
15
|
-
__exportStar(require("./setupStandardHostHandlers"), exports);
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.setupStandardHostHandlers = void 0;
|
|
4
|
-
const UCs_1 = require("./UCs");
|
|
5
|
-
function setupStandardHostHandlers(appObject) {
|
|
6
|
-
UCs_1.makeGetAssetBlobURLHandler(appObject);
|
|
7
|
-
UCs_1.makeGetAssetFolderURLHandler(appObject);
|
|
8
|
-
UCs_1.makeGetAssetMetaHandler(appObject);
|
|
9
|
-
UCs_1.makeGetLinkedAssetsHandler(appObject);
|
|
10
|
-
UCs_1.makeGoToNextStateHandler(appObject);
|
|
11
|
-
UCs_1.makeGoToPreviousStateHandler(appObject);
|
|
12
|
-
UCs_1.makeHasNextStateHandler(appObject);
|
|
13
|
-
UCs_1.makeHasPreviousStateHandler(appObject);
|
|
14
|
-
UCs_1.makeIsZSpaceAvailableHandler(appObject);
|
|
15
|
-
UCs_1.makeOnAppIsReadyHandler(appObject);
|
|
16
|
-
UCs_1.makeOnStateChangeHandler(appObject);
|
|
17
|
-
UCs_1.makeOnStateCompleteHandler(appObject);
|
|
18
|
-
UCs_1.makeRegisterExternalStyleSheetsHandler(appObject);
|
|
19
|
-
UCs_1.makeShowAlertHandler(appObject);
|
|
20
|
-
UCs_1.makeShowConfirmHandler(appObject);
|
|
21
|
-
UCs_1.makeShowMarkDownEditorHandler(appObject);
|
|
22
|
-
UCs_1.makeShowSelectModelHandler(appObject);
|
|
23
|
-
UCs_1.makeShowSpinnerHandler(appObject);
|
|
24
|
-
UCs_1.makeStartZSpaceHandler(appObject);
|
|
25
|
-
UCs_1.makeStopZSpaceHandler(appObject);
|
|
26
|
-
UCs_1.makeSubmitLogHandler(appObject);
|
|
27
|
-
UCs_1.makeSubmitResultHandler(appObject);
|
|
28
|
-
}
|
|
29
|
-
exports.setupStandardHostHandlers = setupStandardHostHandlers;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.fatalErrorAdapter = void 0;
|
|
4
|
-
const PMs_1 = require("../PMs");
|
|
5
|
-
exports.fatalErrorAdapter = {
|
|
6
|
-
defaultVM: PMs_1.defaultFatalErrorVM,
|
|
7
|
-
subscribe: (appObjects, setVM) => {
|
|
8
|
-
const pm = PMs_1.FatalErrorPM.get(appObjects);
|
|
9
|
-
if (!pm) {
|
|
10
|
-
appObjects.submitError("appListPMAdapter", "Unable to find AppsListPM");
|
|
11
|
-
return;
|
|
12
|
-
}
|
|
13
|
-
pm.addView(setVM);
|
|
14
|
-
},
|
|
15
|
-
unsubscribe: (appObjects, setVM) => {
|
|
16
|
-
const pm = PMs_1.FatalErrorPM.get(appObjects);
|
|
17
|
-
if (!pm) {
|
|
18
|
-
appObjects.submitError("appListPMAdapter", "Unable to find AppsListPM");
|
|
19
|
-
return;
|
|
20
|
-
}
|
|
21
|
-
pm.removeView(setVM);
|
|
22
|
-
}
|
|
23
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.forwardLogsToConsoleAdapter = void 0;
|
|
4
|
-
const ForwardLogsToConsolePM_1 = require("../PMs/ForwardLogsToConsolePM");
|
|
5
|
-
exports.forwardLogsToConsoleAdapter = {
|
|
6
|
-
defaultVM: false,
|
|
7
|
-
subscribe: (appObjects, setVM) => {
|
|
8
|
-
const pm = ForwardLogsToConsolePM_1.ForwardLogsToConsolePM.get(appObjects);
|
|
9
|
-
if (!pm) {
|
|
10
|
-
appObjects.submitError("forwardLogsToConsoleAdapter", "Unable to find ForwardLogsToConsolePM");
|
|
11
|
-
return;
|
|
12
|
-
}
|
|
13
|
-
pm.addView(setVM);
|
|
14
|
-
},
|
|
15
|
-
unsubscribe: (appObjects, setVM) => {
|
|
16
|
-
const pm = ForwardLogsToConsolePM_1.ForwardLogsToConsolePM.get(appObjects);
|
|
17
|
-
if (!pm) {
|
|
18
|
-
appObjects.submitError("forwardLogsToConsoleAdapter", "Unable to find ForwardLogsToConsolePM");
|
|
19
|
-
return;
|
|
20
|
-
}
|
|
21
|
-
pm.removeView(setVM);
|
|
22
|
-
}
|
|
23
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
-
}) : (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
o[k2] = m[k];
|
|
8
|
-
}));
|
|
9
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
-
};
|
|
12
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
__exportStar(require("./fatalErrorAdapter"), exports);
|
|
14
|
-
__exportStar(require("./forwardLogsToConsoleAdapter"), exports);
|
|
15
|
-
__exportStar(require("./logSummaryAdapter"), exports);
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.logSummaryAdapter = void 0;
|
|
4
|
-
const LogSummaryPM_1 = require("../PMs/LogSummaryPM");
|
|
5
|
-
exports.logSummaryAdapter = {
|
|
6
|
-
defaultVM: LogSummaryPM_1.defaultLogSummaryVM,
|
|
7
|
-
subscribe: (appObjects, setVM) => {
|
|
8
|
-
const pm = LogSummaryPM_1.LogSummaryPM.get(appObjects);
|
|
9
|
-
if (!pm) {
|
|
10
|
-
appObjects.submitError("logSummaryAdapter", "Unable to find LogSummaryPM");
|
|
11
|
-
return;
|
|
12
|
-
}
|
|
13
|
-
pm.addView(setVM);
|
|
14
|
-
},
|
|
15
|
-
unsubscribe: (appObjects, setVM) => {
|
|
16
|
-
const pm = LogSummaryPM_1.LogSummaryPM.get(appObjects);
|
|
17
|
-
if (!pm) {
|
|
18
|
-
appObjects.submitError("logSummaryAdapter", "Unable to find LogSummaryPM");
|
|
19
|
-
return;
|
|
20
|
-
}
|
|
21
|
-
pm.removeView(setVM);
|
|
22
|
-
}
|
|
23
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.clickDownloadLog = void 0;
|
|
4
|
-
const UCs_1 = require("../UCs");
|
|
5
|
-
function clickDownloadLog(appObjects) {
|
|
6
|
-
const uc = UCs_1.DownloadLogUC.get(appObjects);
|
|
7
|
-
if (uc) {
|
|
8
|
-
uc.doDownload();
|
|
9
|
-
}
|
|
10
|
-
else {
|
|
11
|
-
appObjects.submitError("clickDownloadLog", "Unable to find DownloadLogUC");
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
exports.clickDownloadLog = clickDownloadLog;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
-
}) : (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
o[k2] = m[k];
|
|
8
|
-
}));
|
|
9
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
-
};
|
|
12
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
__exportStar(require("./clickDownloadLog"), exports);
|
|
14
|
-
__exportStar(require("./toggleForwardLogs"), exports);
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.toggleForwardLogs = void 0;
|
|
4
|
-
const Entities_1 = require("../Entities");
|
|
5
|
-
function toggleForwardLogs(appObjects) {
|
|
6
|
-
const entity = Entities_1.LoggerEntity.get(appObjects);
|
|
7
|
-
if (entity) {
|
|
8
|
-
entity.forwardLogsToConsole = !entity.forwardLogsToConsole;
|
|
9
|
-
}
|
|
10
|
-
else {
|
|
11
|
-
appObjects.submitError("toggleForwardLogs", "Unable to find LoggerEntity");
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
exports.toggleForwardLogs = toggleForwardLogs;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { HostAppObject, HostAppObjectEntity, HostAppObjectRepo } from "../../../HostAppObject";
|
|
2
|
-
export declare type LogSeverity = "LOG" | "WARNING" | "ERROR" | "FATAL";
|
|
3
|
-
export declare type LogEntry = {
|
|
4
|
-
sender: string;
|
|
5
|
-
message: string;
|
|
6
|
-
severity: LogSeverity;
|
|
7
|
-
};
|
|
8
|
-
export declare abstract class LoggerEntity extends HostAppObjectEntity {
|
|
9
|
-
static type: string;
|
|
10
|
-
static get(appObjects: HostAppObjectRepo): LoggerEntity | undefined;
|
|
11
|
-
abstract logs: LogEntry[];
|
|
12
|
-
abstract get forwardLogsToConsole(): boolean;
|
|
13
|
-
abstract set forwardLogsToConsole(val: boolean);
|
|
14
|
-
abstract get lastLog(): LogEntry | undefined;
|
|
15
|
-
abstract submitLog: (sender: string, message: string) => void;
|
|
16
|
-
abstract submitWarning: (sender: string, message: string) => void;
|
|
17
|
-
abstract submitError: (sender: string, message: string) => void;
|
|
18
|
-
abstract submitFatal: (sender: string, message: string) => void;
|
|
19
|
-
abstract clear: () => void;
|
|
20
|
-
}
|
|
21
|
-
export declare function makeLoggerEntity(appObject: HostAppObject): LoggerEntity;
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.makeLoggerEntity = exports.LoggerEntity = void 0;
|
|
4
|
-
const Entities_1 = require("../../../Entities");
|
|
5
|
-
const HostAppObject_1 = require("../../../HostAppObject");
|
|
6
|
-
class LoggerEntity extends HostAppObject_1.HostAppObjectEntity {
|
|
7
|
-
static get(appObjects) {
|
|
8
|
-
return HostAppObject_1.getSingletonComponent(LoggerEntity.type, appObjects);
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
exports.LoggerEntity = LoggerEntity;
|
|
12
|
-
LoggerEntity.type = "LoggerEntity";
|
|
13
|
-
function makeLoggerEntity(appObject) {
|
|
14
|
-
return new LoggerEntityImp(appObject);
|
|
15
|
-
}
|
|
16
|
-
exports.makeLoggerEntity = makeLoggerEntity;
|
|
17
|
-
class LoggerEntityImp extends LoggerEntity {
|
|
18
|
-
constructor(appObject) {
|
|
19
|
-
super(appObject, LoggerEntity.type);
|
|
20
|
-
this.logs = [];
|
|
21
|
-
this.submitLog = (sender, message) => {
|
|
22
|
-
const log = this.setNewLog(sender, message, "LOG");
|
|
23
|
-
if (this.forwardLogsToConsole) {
|
|
24
|
-
console.log(this.formConsoleString(log));
|
|
25
|
-
}
|
|
26
|
-
this.notifyOnChange();
|
|
27
|
-
};
|
|
28
|
-
this.submitWarning = (sender, message) => {
|
|
29
|
-
const log = this.setNewLog(sender, message, "WARNING");
|
|
30
|
-
console.warn(this.formConsoleString(log));
|
|
31
|
-
this.notifyOnChange();
|
|
32
|
-
};
|
|
33
|
-
this.submitError = (sender, message) => {
|
|
34
|
-
const log = this.setNewLog(sender, message, "ERROR");
|
|
35
|
-
console.error(this.formConsoleString(log));
|
|
36
|
-
this.notifyOnChange();
|
|
37
|
-
};
|
|
38
|
-
this.submitFatal = (sender, message) => {
|
|
39
|
-
const log = this.setNewLog(sender, message, "FATAL");
|
|
40
|
-
console.error(this.formConsoleString(log));
|
|
41
|
-
this.notifyOnChange();
|
|
42
|
-
};
|
|
43
|
-
this.memoisedForwardLogs = new Entities_1.MemoizedBoolean(false, this.notifyOnChange);
|
|
44
|
-
this.clear = () => {
|
|
45
|
-
this.logs = [];
|
|
46
|
-
this._lastLog = undefined;
|
|
47
|
-
};
|
|
48
|
-
this.appObjects.registerSingleton(this);
|
|
49
|
-
this.appObjects.submitLog = this.submitLog;
|
|
50
|
-
this.appObjects.submitWarning = this.submitWarning;
|
|
51
|
-
this.appObjects.submitError = this.submitError;
|
|
52
|
-
this.appObjects.submitFatal = this.submitFatal;
|
|
53
|
-
}
|
|
54
|
-
formConsoleString(log) {
|
|
55
|
-
const { sender, message } = log;
|
|
56
|
-
return `[${sender}] ${message}`;
|
|
57
|
-
}
|
|
58
|
-
setNewLog(sender, message, severity) {
|
|
59
|
-
const log = {
|
|
60
|
-
sender,
|
|
61
|
-
message,
|
|
62
|
-
severity
|
|
63
|
-
};
|
|
64
|
-
this.logs.push(log);
|
|
65
|
-
this._lastLog = log;
|
|
66
|
-
return log;
|
|
67
|
-
}
|
|
68
|
-
get forwardLogsToConsole() {
|
|
69
|
-
return this.memoisedForwardLogs.val;
|
|
70
|
-
}
|
|
71
|
-
set forwardLogsToConsole(val) {
|
|
72
|
-
this.memoisedForwardLogs.val = val;
|
|
73
|
-
}
|
|
74
|
-
get lastLog() {
|
|
75
|
-
return this._lastLog;
|
|
76
|
-
}
|
|
77
|
-
}
|