@clickview/player 0.0.1-rc.0 → 0.0.2-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.storybook/preview-head.html +2 -1
- package/.storybook/stories/Clips.stories.tsx +18 -1
- package/.storybook/stories/Interactives.stories.tsx +4 -1
- package/.storybook/stories/Resources.stories.tsx +15 -0
- package/.storybook/stories/utils/mock-playerapi.ts +104 -13
- package/dist/en.json +373 -0
- package/dist/libs/analytics/src/Analytics.d.ts +10 -0
- package/dist/libs/analytics/src/AnalyticsHelper.d.ts +30 -0
- package/dist/libs/analytics/src/clients/CollectionApiClient.d.ts +48 -0
- package/dist/libs/analytics/src/constants/CountryRegionMapping.d.ts +7 -0
- package/dist/libs/analytics/src/constants/EventFirehose.d.ts +4 -0
- package/dist/libs/analytics/src/constants/GlobalChannels.d.ts +3 -0
- package/dist/libs/analytics/src/constants/Regions.d.ts +6 -0
- package/dist/libs/analytics/src/constants/Services.d.ts +4 -0
- package/dist/libs/analytics/src/enums/CountryCode.d.ts +5 -0
- package/dist/libs/analytics/src/enums/RegionName.d.ts +5 -0
- package/dist/libs/analytics/src/interfaces/AnalyticsTypes.d.ts +333 -0
- package/dist/libs/analytics/src/interfaces/Config.d.ts +3 -0
- package/dist/libs/analytics/src/interfaces/Folder.d.ts +3 -0
- package/dist/libs/analytics/src/interfaces/HashObject.d.ts +3 -0
- package/dist/libs/analytics/src/interfaces/Owner.d.ts +3 -0
- package/dist/libs/analytics/src/interfaces/Playlist.d.ts +3 -0
- package/dist/libs/analytics/src/interfaces/Rating.d.ts +4 -0
- package/dist/libs/analytics/src/interfaces/Region.d.ts +5 -0
- package/dist/libs/analytics/src/interfaces/RegionalUrl.d.ts +5 -0
- package/dist/libs/analytics/src/interfaces/Resource.d.ts +5 -0
- package/dist/libs/analytics/src/interfaces/Series.d.ts +3 -0
- package/dist/libs/analytics/src/interfaces/Subtitle.d.ts +4 -0
- package/dist/libs/analytics/src/interfaces/User.d.ts +17 -0
- package/dist/libs/analytics/src/interfaces/VersionData.d.ts +4 -0
- package/dist/libs/analytics/src/interfaces/Video.d.ts +16 -0
- package/dist/libs/analytics/src/interfaces/index.d.ts +15 -0
- package/dist/libs/analytics/src/interfaces/primitives/BaseObject.d.ts +7 -0
- package/dist/libs/analytics/src/models/AnalyticsEvent.d.ts +49 -0
- package/dist/libs/analytics/src/models/CollectionEvent.d.ts +61 -0
- package/dist/libs/analytics/src/services/ContextService.d.ts +19 -0
- package/dist/libs/analytics/src/utils/CollectionApiClientHelper.d.ts +6 -0
- package/dist/libs/analytics/src/utils/DataFormatHelper.d.ts +14 -0
- package/dist/libs/analytics/src/utils/EventWhitelistHelper.d.ts +19 -0
- package/dist/libs/analytics/src/utils/TypeHelper.d.ts +4 -0
- package/dist/libs/analytics/src/utils/UploadDataFormatHelper.d.ts +10 -0
- package/dist/libs/analytics/src/utils/UrlHelper.d.ts +3 -0
- package/dist/libs/analytics/src/utils/UserAgentHelper.d.ts +10 -0
- package/dist/libs/analytics/src/utils/VideoDataFormatHelper.d.ts +42 -0
- package/dist/libs/common/src/backbone/constants/CommonChannels.d.ts +5 -0
- package/dist/libs/common/src/backbone/constants/CommonServices.d.ts +4 -0
- package/dist/libs/common/src/backbone/core/AppLink.d.ts +37 -0
- package/dist/libs/common/src/backbone/core/BaseAppRouter.d.ts +103 -0
- package/dist/libs/common/src/backbone/core/BaseApplication.d.ts +76 -0
- package/dist/libs/common/src/backbone/core/BaseBehavior.d.ts +6 -0
- package/dist/libs/common/src/backbone/core/BaseCollection.d.ts +7 -0
- package/dist/libs/common/src/backbone/core/BaseCollectionView.d.ts +16 -0
- package/dist/libs/common/src/backbone/core/BaseError.d.ts +18 -0
- package/dist/libs/common/src/backbone/core/BaseLayoutView.d.ts +11 -0
- package/dist/libs/common/src/backbone/core/BaseModel.d.ts +27 -0
- package/dist/libs/common/src/backbone/core/BaseNestedModel.d.ts +21 -0
- package/dist/libs/common/src/backbone/core/BaseService.d.ts +10 -0
- package/dist/libs/common/src/backbone/core/BaseView.d.ts +131 -0
- package/dist/libs/common/src/backbone/core/EventNames.d.ts +16 -0
- package/dist/libs/common/src/backbone/core/LayoutService.d.ts +31 -0
- package/dist/libs/common/src/backbone/core/ListenToRadio.d.ts +3 -0
- package/dist/libs/common/src/backbone/core/LocationUtils.d.ts +23 -0
- package/dist/libs/common/src/backbone/core/Middleware.d.ts +10 -0
- package/dist/libs/common/src/backbone/core/Shell.d.ts +79 -0
- package/dist/libs/common/src/backbone/core/Types.d.ts +12 -0
- package/dist/libs/common/src/backbone/core/index.d.ts +27 -0
- package/dist/libs/common/src/backbone/enums/DataServiceErrorType.d.ts +8 -0
- package/dist/libs/common/src/backbone/enums/HttpVerbs.d.ts +6 -0
- package/dist/libs/common/src/backbone/errors/DevError.d.ts +4 -0
- package/dist/libs/common/src/backbone/index.d.ts +2 -0
- package/dist/libs/common/src/backbone/interfaces/BaseCollectionIdentifier.d.ts +19 -0
- package/dist/libs/common/src/backbone/interfaces/ChainableDataService.d.ts +9 -0
- package/dist/libs/common/src/backbone/interfaces/DataCache.d.ts +8 -0
- package/dist/libs/common/src/backbone/interfaces/DataProvider.d.ts +15 -0
- package/dist/libs/common/src/backbone/interfaces/DataServiceError.d.ts +7 -0
- package/dist/libs/common/src/backbone/interfaces/DataServiceRequests.d.ts +218 -0
- package/dist/libs/common/src/backbone/interfaces/Pagination.d.ts +33 -0
- package/dist/libs/common/src/backbone/interfaces/StickitBinding.d.ts +38 -0
- package/dist/libs/common/src/backbone/interfaces/Xhr.d.ts +9 -0
- package/dist/libs/common/src/backbone/interfaces/index.d.ts +9 -0
- package/dist/libs/common/src/backbone/services/EnvironmentVariables.d.ts +13 -0
- package/dist/libs/common/src/backbone/services/LanguageService.d.ts +22 -0
- package/dist/libs/common/src/backbone/utils/FunctionHelper.d.ts +8 -0
- package/dist/libs/common/src/backbone/utils/UrlHelper.d.ts +14 -0
- package/dist/libs/common/src/react/flight/enums/RequestStatus.d.ts +6 -0
- package/dist/libs/common/src/react/flight/enums/index.d.ts +1 -0
- package/dist/libs/common/src/react/flight/interfaces/FlightState.d.ts +22 -0
- package/dist/libs/common/src/react/flight/interfaces/NormalizeOptions.d.ts +4 -0
- package/dist/libs/common/src/react/flight/interfaces/Request.d.ts +29 -0
- package/dist/libs/common/src/react/flight/interfaces/UpdateStateOptions.d.ts +15 -0
- package/dist/libs/common/src/react/interfaces/ApplicationData.d.ts +3 -0
- package/dist/libs/common/src/react/interfaces/ApplicationState.d.ts +8 -0
- package/dist/libs/common/src/react/interfaces/BaseReducerActions.d.ts +4 -0
- package/dist/libs/common/src/react/interfaces/HashObject.d.ts +3 -0
- package/dist/libs/common/src/react/interfaces/index.d.ts +4 -0
- package/dist/libs/common/src/react/utils/ArrayHelper.d.ts +44 -0
- package/dist/libs/common/src/react/utils/ObjectHelper.d.ts +10 -0
- package/dist/libs/common/src/react/utils/RandomHelper.d.ts +3 -0
- package/dist/libs/shared/src/apps/notifications/enums/NotificationType.d.ts +16 -0
- package/dist/libs/shared/src/apps/upload/constants/UploadConstants.d.ts +39 -0
- package/dist/libs/shared/src/components/actions/ActionButton.d.ts +16 -0
- package/dist/libs/shared/src/components/actions/Actions.d.ts +28 -0
- package/dist/libs/shared/src/components/actions/ActionsDropdown.d.ts +15 -0
- package/dist/libs/shared/src/components/app-link/AppLink.d.ts +13 -0
- package/dist/libs/shared/src/components/avatar/Avatar.d.ts +8 -0
- package/dist/libs/shared/src/components/div-button/DivButton.d.ts +10 -0
- package/dist/libs/shared/src/components/feedback-tooltip/FeedbackTooltip.d.ts +6 -0
- package/dist/libs/shared/src/components/icon-button/IconButton.d.ts +19 -0
- package/dist/libs/shared/src/components/image-cropper/SimpleCropper.d.ts +15 -0
- package/dist/libs/shared/src/components/interactive-questions/InteractiveQuestions.d.ts +10 -0
- package/dist/libs/shared/src/components/interactive-questions/formatAnnotationText.d.ts +1 -0
- package/dist/libs/shared/src/components/lazy-image/LazyImage.d.ts +7 -0
- package/dist/libs/shared/src/components/popup/Popup.d.ts +35 -0
- package/dist/libs/shared/src/components/popup/PopupButtons.d.ts +14 -0
- package/dist/libs/shared/src/components/popup/PopupLoadingSpinner.d.ts +2 -0
- package/dist/libs/shared/src/components/spinner-button/SpinnerButton.d.ts +8 -0
- package/dist/libs/shared/src/components/svg-container/SvgContainer.d.ts +21 -0
- package/dist/libs/shared/src/components/svgs/interaction-types/InteractionTypes.d.ts +7 -0
- package/dist/libs/shared/src/components/thumbnails/base/BaseThumbnail.d.ts +26 -0
- package/dist/libs/shared/src/components/tooltip/Tooltip.d.ts +17 -0
- package/dist/libs/shared/src/components/widgets/items/resource-widget-item/ResourceWidgetItem.d.ts +23 -0
- package/dist/libs/shared/src/constants/AppVariables.d.ts +6 -0
- package/dist/libs/shared/src/constants/ImageSizes.d.ts +8 -0
- package/dist/libs/shared/src/constants/RadioChannels.d.ts +20 -0
- package/dist/libs/shared/src/enums/ClassificationStatus.d.ts +5 -0
- package/dist/libs/shared/src/enums/ClassificationType.d.ts +4 -0
- package/dist/libs/shared/src/enums/CountryCode.d.ts +5 -0
- package/dist/libs/shared/src/enums/CurriculumType.d.ts +6 -0
- package/dist/libs/shared/src/enums/CustomerType.d.ts +11 -0
- package/dist/libs/shared/src/enums/GlanceFormat.d.ts +3 -0
- package/dist/libs/shared/src/enums/Images.d.ts +27 -0
- package/dist/libs/shared/src/enums/InteractiveOriginType.d.ts +4 -0
- package/dist/libs/shared/src/enums/MasterType.d.ts +61 -0
- package/dist/libs/shared/src/enums/MediaQueries.d.ts +20 -0
- package/dist/libs/shared/src/enums/ObjectStatus.d.ts +5 -0
- package/dist/libs/shared/src/enums/PlaylistPrivacy.d.ts +5 -0
- package/dist/libs/shared/src/enums/PresentationStatus.d.ts +4 -0
- package/dist/libs/shared/src/enums/PresentationType.d.ts +4 -0
- package/dist/libs/shared/src/enums/ResourceFileType.d.ts +9 -0
- package/dist/libs/shared/src/enums/SettingKind.d.ts +4 -0
- package/dist/libs/shared/src/enums/SettingName.d.ts +19 -0
- package/dist/libs/shared/src/enums/ThemeType.d.ts +3 -0
- package/dist/libs/shared/src/enums/UserGroup.d.ts +5 -0
- package/dist/libs/shared/src/enums/UserRole.d.ts +15 -0
- package/dist/libs/shared/src/enums/WidgetContents.d.ts +10 -0
- package/dist/libs/shared/src/errors/primitives/DialogError.d.ts +9 -0
- package/dist/libs/shared/src/hooks/UseGetMediaQueryString.d.ts +2 -0
- package/dist/libs/shared/src/hooks/UseLazyLoad.d.ts +6 -0
- package/dist/libs/shared/src/hooks/UseMediaQuery.d.ts +1 -0
- package/dist/libs/shared/src/hooks/UseVideoDragDropState.d.ts +6 -0
- package/dist/libs/shared/src/hooks/useNavLock.d.ts +11 -0
- package/dist/libs/shared/src/images/svg/ImportedSvgs.d.ts +88 -0
- package/dist/libs/shared/src/images/svg/actions/index.d.ts +25 -0
- package/dist/libs/shared/src/images/svg/arrows/index.d.ts +9 -0
- package/dist/libs/shared/src/images/svg/index.d.ts +2 -0
- package/dist/libs/shared/src/images/svg/objects/index.d.ts +36 -0
- package/dist/libs/shared/src/images/svg/player/index.d.ts +14 -0
- package/dist/libs/shared/src/images/svg/settings.d.ts +1 -0
- package/dist/libs/shared/src/images/svg/status/index.d.ts +13 -0
- package/dist/libs/shared/src/interfaces/AppLinkWithLabel.d.ts +5 -0
- package/dist/libs/shared/src/interfaces/DialogOptions.d.ts +13 -0
- package/dist/libs/shared/src/interfaces/ImageUrls.d.ts +16 -0
- package/dist/libs/shared/src/interfaces/QueryParams.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/RegionalUrl.d.ts +5 -0
- package/dist/libs/shared/src/interfaces/WidgetContext.d.ts +9 -0
- package/dist/libs/shared/src/interfaces/app-variables/BaseNotificationsAppVariables.d.ts +16 -0
- package/dist/libs/shared/src/interfaces/app-variables/BaseSearchAppVariables.d.ts +17 -0
- package/dist/libs/shared/src/interfaces/app-variables/index.d.ts +2 -0
- package/dist/libs/shared/src/interfaces/collections/AudienceCollection.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/collections/CategoryCollection.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/collections/ClassificationCollection.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/collections/ClassroomCollection.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/collections/ClassroomGroupCollection.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/collections/ClipCollection.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/collections/CompanyCollection.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/collections/CustomerCollection.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/collections/FolderCollection.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/collections/InteractiveCollection.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/collections/LibraryCollection.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/collections/LinkCollection.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/collections/PersonCollection.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/collections/PlaylistCollection.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/collections/PresentationAudienceCollection.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/collections/ResourceCollection.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/collections/SeriesCollection.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/collections/SubtitleCollection.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/collections/TagCollection.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/collections/UserCollection.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/collections/VideoCollection.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/collections/VideoHistoryCollection.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/collections/WidgetCollection.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/collections/YearGroupCollection.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/collections/index.d.ts +26 -0
- package/dist/libs/shared/src/interfaces/collections/primitives/BasePaginatedCollection.d.ts +7 -0
- package/dist/libs/shared/src/interfaces/collections/primitives/index.d.ts +1 -0
- package/dist/libs/shared/src/interfaces/index.d.ts +13 -0
- package/dist/libs/shared/src/interfaces/models/Audience.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/models/Avatar.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/models/Banner.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/models/Category.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/models/Channel.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/models/Classification.d.ts +23 -0
- package/dist/libs/shared/src/interfaces/models/Classroom.d.ts +5 -0
- package/dist/libs/shared/src/interfaces/models/ClassroomGroup.d.ts +17 -0
- package/dist/libs/shared/src/interfaces/models/Clip.d.ts +14 -0
- package/dist/libs/shared/src/interfaces/models/Company.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/models/Config.d.ts +15 -0
- package/dist/libs/shared/src/interfaces/models/Country.d.ts +5 -0
- package/dist/libs/shared/src/interfaces/models/Cover.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/models/Curriculum.d.ts +21 -0
- package/dist/libs/shared/src/interfaces/models/Customer.d.ts +7 -0
- package/dist/libs/shared/src/interfaces/models/EntitySetting.d.ts +9 -0
- package/dist/libs/shared/src/interfaces/models/FileUpload.d.ts +20 -0
- package/dist/libs/shared/src/interfaces/models/Folder.d.ts +7 -0
- package/dist/libs/shared/src/interfaces/models/Following.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/models/Glance.d.ts +9 -0
- package/dist/libs/shared/src/interfaces/models/Group.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/models/HeroBanner.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/models/Image.d.ts +7 -0
- package/dist/libs/shared/src/interfaces/models/InteractiveMetadata.d.ts +19 -0
- package/dist/libs/shared/src/interfaces/models/Language.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/models/LanguageConfig.d.ts +5 -0
- package/dist/libs/shared/src/interfaces/models/Library.d.ts +5 -0
- package/dist/libs/shared/src/interfaces/models/Link.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/models/Organisation.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/models/Pdf.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/models/Person.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/models/PlayerViewKey.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/models/Playlist.d.ts +20 -0
- package/dist/libs/shared/src/interfaces/models/Poster.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/models/Presentation.d.ts +9 -0
- package/dist/libs/shared/src/interfaces/models/PresentationAudience.d.ts +6 -0
- package/dist/libs/shared/src/interfaces/models/Rating.d.ts +5 -0
- package/dist/libs/shared/src/interfaces/models/Resource.d.ts +17 -0
- package/dist/libs/shared/src/interfaces/models/Restriction.d.ts +6 -0
- package/dist/libs/shared/src/interfaces/models/Season.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/models/Series.d.ts +10 -0
- package/dist/libs/shared/src/interfaces/models/Share.d.ts +9 -0
- package/dist/libs/shared/src/interfaces/models/Subject.d.ts +13 -0
- package/dist/libs/shared/src/interfaces/models/Subtitle.d.ts +7 -0
- package/dist/libs/shared/src/interfaces/models/Tag.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/models/TallPoster.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/models/Theme.d.ts +14 -0
- package/dist/libs/shared/src/interfaces/models/Thumbnail.d.ts +6 -0
- package/dist/libs/shared/src/interfaces/models/User.d.ts +64 -0
- package/dist/libs/shared/src/interfaces/models/UserChannel.d.ts +7 -0
- package/dist/libs/shared/src/interfaces/models/Video.d.ts +38 -0
- package/dist/libs/shared/src/interfaces/models/VideoHistory.d.ts +12 -0
- package/dist/libs/shared/src/interfaces/models/Widget.d.ts +16 -0
- package/dist/libs/shared/src/interfaces/models/YearGroup.d.ts +5 -0
- package/dist/libs/shared/src/interfaces/models/index.d.ts +58 -0
- package/dist/libs/shared/src/interfaces/models/interactive/ActionableItem.d.ts +6 -0
- package/dist/libs/shared/src/interfaces/models/interactive/Interaction.d.ts +14 -0
- package/dist/libs/shared/src/interfaces/models/interactive/InteractionTypeId.d.ts +8 -0
- package/dist/libs/shared/src/interfaces/models/interactive/Interactive.d.ts +7 -0
- package/dist/libs/shared/src/interfaces/models/interactive/Timepoint.d.ts +9 -0
- package/dist/libs/shared/src/interfaces/models/interactive/index.d.ts +5 -0
- package/dist/libs/shared/src/interfaces/models/primitives/BaseObject.d.ts +10 -0
- package/dist/libs/shared/src/interfaces/models/primitives/VirtualObject.d.ts +5 -0
- package/dist/libs/shared/src/interfaces/models/primitives/index.d.ts +2 -0
- package/dist/libs/shared/src/interfaces/props/ViewProps.d.ts +8 -0
- package/dist/libs/shared/src/interfaces/props/index.d.ts +1 -0
- package/dist/libs/shared/src/interfaces/requests/CreateInteractiveMetadataRequest.d.ts +10 -0
- package/dist/libs/shared/src/interfaces/requests/CreateInteractiveRequest.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/requests/CreateOrUpdateClipRequest.d.ts +6 -0
- package/dist/libs/shared/src/interfaces/requests/CreateViewKeyRequest.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/requests/EditDetailsRequest.d.ts +5 -0
- package/dist/libs/shared/src/interfaces/requests/EditInteractiveMetadataRequest.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/requests/EditInteractiveRequest.d.ts +6 -0
- package/dist/libs/shared/src/interfaces/requests/ReorderRequest.d.ts +12 -0
- package/dist/libs/shared/src/interfaces/requests/UpdateObjectChannel.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/requests/UpdateObjectRating.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/requests/UpdateResourceRequest.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/requests/UpdateVideoRequest.d.ts +9 -0
- package/dist/libs/shared/src/interfaces/requests/index.d.ts +12 -0
- package/dist/libs/shared/src/interfaces/services/BaseConfigDataService.d.ts +5 -0
- package/dist/libs/shared/src/interfaces/services/BaseLibraryDataService.d.ts +10 -0
- package/dist/libs/shared/src/interfaces/services/BaseSeriesDataService.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/services/BaseSettingsDataService.d.ts +7 -0
- package/dist/libs/shared/src/interfaces/services/BaseUserDataService.d.ts +6 -0
- package/dist/libs/shared/src/interfaces/services/BaseVideoDataService.d.ts +5 -0
- package/dist/libs/shared/src/interfaces/services/BaseVideoUploadDataService.d.ts +8 -0
- package/dist/libs/shared/src/interfaces/services/index.d.ts +7 -0
- package/dist/libs/shared/src/utils/DialogHelper.d.ts +24 -0
- package/dist/libs/shared/src/utils/DurationHelper.d.ts +7 -0
- package/dist/libs/shared/src/utils/ImageHelper.d.ts +32 -0
- package/dist/libs/shared/src/utils/ImageSelectHelper.d.ts +7 -0
- package/dist/libs/shared/src/utils/SvgHelper.d.ts +18 -0
- package/dist/libs/shared/src/utils/UserHelper.d.ts +3 -0
- package/dist/libs/shared/src/utils/interaction-type-helper/InteractionTypeHelper.d.ts +12 -0
- package/dist/player-app.css +3990 -0
- package/dist/player-app.js +10085 -0
- package/dist/projects/player/src/components/chapter-bar-items/chapter-bar-item.d.ts +79 -0
- package/dist/projects/player/src/components/chapter-bar-items/chapter-bar-items.d.ts +55 -0
- package/dist/projects/player/src/components/chapter-bar-items/chapter-bar-load-progress.d.ts +55 -0
- package/dist/projects/player/src/components/chapter-bar-items/chapter-bar-play-progress.d.ts +55 -0
- package/dist/projects/player/src/components/chapter-seek-bar/chapter-seek-bar.d.ts +1 -0
- package/dist/projects/player/src/components/chapters-button/chapter-menu-item.d.ts +60 -0
- package/dist/projects/player/src/components/chapters-button/chapters-button.d.ts +1 -0
- package/dist/projects/player/src/components/cog-button/cog-button.d.ts +41 -0
- package/dist/projects/player/src/components/collapserator/collapserator.d.ts +4 -0
- package/dist/projects/player/src/components/mouse-time-display/mouse-time-display.d.ts +3 -0
- package/dist/projects/player/src/components/next-video-menu-item/next-video-menu-item.d.ts +1 -0
- package/dist/projects/player/src/components/playback-rate-button/playback-rate-button.d.ts +1 -0
- package/dist/projects/player/src/components/progress-control/progress-control.d.ts +12 -0
- package/dist/projects/player/src/components/quality-selector/quality-button.d.ts +1 -0
- package/dist/projects/player/src/components/quality-selector/quality-menu-item.d.ts +17 -0
- package/dist/projects/player/src/components/subs-caps-button/subs-caps-button.d.ts +1 -0
- package/dist/projects/player/src/components/thumbnail-display/thumbnail-display.d.ts +66 -0
- package/dist/projects/player/src/components/time-tooltip/time-tooltip.d.ts +15 -0
- package/dist/projects/player/src/components/time-wrapper/time-wrapper.d.ts +1 -0
- package/dist/projects/player/src/index.d.ts +11 -0
- package/dist/projects/player/src/interfaces/CollapsibleComponent.d.ts +10 -0
- package/dist/projects/player/src/interfaces/NextVideo.d.ts +4 -0
- package/dist/projects/player/src/interfaces/models/ApiError.d.ts +4 -0
- package/dist/projects/player/src/interfaces/models/ClipData.d.ts +4 -0
- package/dist/projects/player/src/interfaces/models/Config.d.ts +7 -0
- package/dist/projects/player/src/interfaces/models/PlaybackObject.d.ts +53 -0
- package/dist/projects/player/src/players/base-player.d.ts +79 -0
- package/dist/projects/player/src/players/create-clip-player.d.ts +18 -0
- package/dist/projects/player/src/players/interactive-player.d.ts +23 -0
- package/dist/projects/player/src/players/player.d.ts +26 -0
- package/dist/projects/player/src/plugins/clip-plugin/clip-plugin.d.ts +50 -0
- package/dist/projects/player/src/plugins/create-clip-button-plugin/components/create-clip-button.d.ts +1 -0
- package/dist/projects/player/src/plugins/create-clip-button-plugin/create-clip-button-plugin.d.ts +10 -0
- package/dist/projects/player/src/plugins/create-clip-plugin/components/clip-timepoint-selector/clip-timepoint-selector-handle.d.ts +54 -0
- package/dist/projects/player/src/plugins/create-clip-plugin/components/clip-timepoint-selector/clip-timepoint-selector.d.ts +90 -0
- package/dist/projects/player/src/plugins/create-clip-plugin/components/create-clip-seek-bar/create-clip-seek-bar.d.ts +14 -0
- package/dist/projects/player/src/plugins/create-clip-plugin/create-clip-plugin.d.ts +14 -0
- package/dist/projects/player/src/plugins/example-plugin/components/example-button/example-button.d.ts +1 -0
- package/dist/projects/player/src/plugins/example-plugin/components/example-react-button/example-react-button.d.ts +1 -0
- package/dist/projects/player/src/plugins/example-plugin/example-plugin.d.ts +2 -0
- package/dist/projects/player/src/plugins/fullscreen-on-rotate-plugin/fullscreen-on-rotate-plugin.d.ts +1 -0
- package/dist/projects/player/src/plugins/interactive-plugin/components/create-components/create-annotation/create-annotation-helpers.d.ts +9 -0
- package/dist/projects/player/src/plugins/interactive-plugin/components/create-components/create-annotation/create-annotation-link.d.ts +13 -0
- package/dist/projects/player/src/plugins/interactive-plugin/components/create-components/create-annotation/create-annotation.d.ts +12 -0
- package/dist/projects/player/src/plugins/interactive-plugin/components/create-components/create-components.d.ts +7 -0
- package/dist/projects/player/src/plugins/interactive-plugin/components/create-components/create-error-feedback/create-error-feedback.d.ts +6 -0
- package/dist/projects/player/src/plugins/interactive-plugin/components/create-components/create-image/create-image-cropper.d.ts +15 -0
- package/dist/projects/player/src/plugins/interactive-plugin/components/create-components/create-image/create-image.d.ts +16 -0
- package/dist/projects/player/src/plugins/interactive-plugin/components/create-components/create-image/upload-image-dropzone.d.ts +6 -0
- package/dist/projects/player/src/plugins/interactive-plugin/components/create-components/create-image/upload-image-icon.d.ts +2 -0
- package/dist/projects/player/src/plugins/interactive-plugin/components/create-components/create-interaction-heading/create-interaction-heading.d.ts +12 -0
- package/dist/projects/player/src/plugins/interactive-plugin/components/create-components/create-missing-word/create-missing-word.d.ts +19 -0
- package/dist/projects/player/src/plugins/interactive-plugin/components/create-components/create-multiple-choice/create-multiple-choice.d.ts +19 -0
- package/dist/projects/player/src/plugins/interactive-plugin/components/create-components/create-multiple-choice/multiple-choice-answer.d.ts +9 -0
- package/dist/projects/player/src/plugins/interactive-plugin/components/create-components/create-short-answer.ts/create-short-answer.d.ts +12 -0
- package/dist/projects/player/src/plugins/interactive-plugin/components/create-components/create-type-selector/create-type-selector.d.ts +13 -0
- package/dist/projects/player/src/plugins/interactive-plugin/components/feedback/feedback.d.ts +7 -0
- package/dist/projects/player/src/plugins/interactive-plugin/components/incomplete-alert/incomplete-alert.d.ts +2 -0
- package/dist/projects/player/src/plugins/interactive-plugin/components/interactive/create-interaction-buttons.d.ts +13 -0
- package/dist/projects/player/src/plugins/interactive-plugin/components/interactive/interactive-component.d.ts +3 -0
- package/dist/projects/player/src/plugins/interactive-plugin/components/interactive/useInteractiveTrack.d.ts +20 -0
- package/dist/projects/player/src/plugins/interactive-plugin/components/interactive/view-iteraction-buttons.d.ts +13 -0
- package/dist/projects/player/src/plugins/interactive-plugin/components/seek-bar/interactive-bar-item.d.ts +20 -0
- package/dist/projects/player/src/plugins/interactive-plugin/components/seek-bar/interactive-bar-items.d.ts +66 -0
- package/dist/projects/player/src/plugins/interactive-plugin/components/timepoint/timepoint-component.d.ts +22 -0
- package/dist/projects/player/src/plugins/interactive-plugin/components/view-components/annotation/annotation-interaction.d.ts +3 -0
- package/dist/projects/player/src/plugins/interactive-plugin/components/view-components/image/image-interaction.d.ts +4 -0
- package/dist/projects/player/src/plugins/interactive-plugin/components/view-components/missing-word/missing-word-interaction.d.ts +11 -0
- package/dist/projects/player/src/plugins/interactive-plugin/components/view-components/multiple-choice/multiple-choice-interaction.d.ts +10 -0
- package/dist/projects/player/src/plugins/interactive-plugin/components/view-components/short-answer/short-answer-interaction.d.ts +11 -0
- package/dist/projects/player/src/plugins/interactive-plugin/components/view-components/true-or-false/true-or-false-interaction.d.ts +10 -0
- package/dist/projects/player/src/plugins/interactive-plugin/components/view-components/view-components.d.ts +9 -0
- package/dist/projects/player/src/plugins/interactive-plugin/components/view-components/view-error-feedback/view-error-feedback.d.ts +6 -0
- package/dist/projects/player/src/plugins/interactive-plugin/components/view-components/view-interaction-heading/view-interaction-heading.d.ts +8 -0
- package/dist/projects/player/src/plugins/interactive-plugin/errors/ReconnectionError.d.ts +8 -0
- package/dist/projects/player/src/plugins/interactive-plugin/interactive-plugin.d.ts +3 -0
- package/dist/projects/player/src/plugins/interactive-plugin/interfaces/CreateInteractionState.d.ts +4 -0
- package/dist/projects/player/src/plugins/interactive-plugin/interfaces/InteractionComponent.d.ts +3 -0
- package/dist/projects/player/src/plugins/interactive-plugin/interfaces/InteractionProps.d.ts +16 -0
- package/dist/projects/player/src/plugins/interactive-plugin/interfaces/InteractionResult.d.ts +4 -0
- package/dist/projects/player/src/plugins/interactive-plugin/interfaces/InteractiveMode.d.ts +4 -0
- package/dist/projects/player/src/plugins/interactive-plugin/interfaces/ResultSubmission.d.ts +2 -0
- package/dist/projects/player/src/plugins/interactive-plugin/interfaces/SubmissionFunction.d.ts +4 -0
- package/dist/projects/player/src/plugins/interactive-plugin/interfaces/ViewInteractionState.d.ts +3 -0
- package/dist/projects/player/src/plugins/interactive-plugin/interfaces/index.d.ts +8 -0
- package/dist/projects/player/src/plugins/interactive-plugin/lock-player.d.ts +7 -0
- package/dist/projects/player/src/plugins/interactive-plugin/utils/ResultsService.d.ts +24 -0
- package/dist/projects/player/src/plugins/interactive-plugin/utils/getInteractionComponents.d.ts +3 -0
- package/dist/projects/player/src/plugins/interactive-plugin/utils/getInteractionStateId.d.ts +2 -0
- package/dist/projects/player/src/plugins/interactive-plugin/utils/getTimepointStateId.d.ts +2 -0
- package/dist/projects/player/src/plugins/interactive-plugin/utils/helpers.d.ts +1 -0
- package/dist/projects/player/src/plugins/interactive-plugin/utils/interactive-ajax.d.ts +9 -0
- package/dist/projects/player/src/plugins/localcache-plugin/LocalCache.d.ts +12 -0
- package/dist/projects/player/src/plugins/localcache-plugin/compontents/local-cache-indicator.d.ts +1 -0
- package/dist/projects/player/src/plugins/localcache-plugin/localcache-middleware.d.ts +1 -0
- package/dist/projects/player/src/plugins/localcache-plugin/localcache-plugin.d.ts +62 -0
- package/dist/projects/player/src/plugins/next-video-plugin/components/up-next/up-next.d.ts +1 -0
- package/dist/projects/player/src/plugins/next-video-plugin/next-video-plugin.d.ts +52 -0
- package/dist/projects/player/src/plugins/open-externally-plugin/components/open-externally-button.d.ts +1 -0
- package/dist/projects/player/src/plugins/open-externally-plugin/interfaces/ExternalLinkOptions.d.ts +3 -0
- package/dist/projects/player/src/plugins/open-externally-plugin/open-externally-plugin.d.ts +1 -0
- package/dist/projects/player/src/plugins/persist-volume-plugin/persist-volume-plugin.d.ts +1 -0
- package/dist/projects/player/src/plugins/persist-volume-plugin/persist-volume-plugin.test.d.ts +1 -0
- package/dist/projects/player/src/plugins/picture-in-picture-plugin/picture-in-picture-plugin.d.ts +44 -0
- package/dist/projects/player/src/plugins/progress-reporter-plugin/progress-reporter-plugin.d.ts +9 -0
- package/dist/projects/player/src/plugins/progressive-files-plugin/ProgressiveFilesPluginOptions.d.ts +4 -0
- package/dist/projects/player/src/plugins/progressive-files-plugin/ProgressiveRepresentation.d.ts +10 -0
- package/dist/projects/player/src/plugins/progressive-files-plugin/interfaces/Source.d.ts +6 -0
- package/dist/projects/player/src/plugins/progressive-files-plugin/progressive-files-plugin.d.ts +38 -0
- package/dist/projects/player/src/plugins/resources-plugin/components/resource-menu-item/resource-menu-item.d.ts +21 -0
- package/dist/projects/player/src/plugins/resources-plugin/components/resources-button/resources-button.d.ts +1 -0
- package/dist/projects/player/src/plugins/resources-plugin/resources-plugin.d.ts +12 -0
- package/dist/projects/player/src/plugins/touch-controls-plugin/components/touch-controls/touch-controls.d.ts +59 -0
- package/dist/projects/player/src/plugins/touch-controls-plugin/touch-controls-plugin.d.ts +1 -0
- package/dist/projects/player/src/react/CreateClipPlayer.d.ts +3 -0
- package/dist/projects/player/src/react/InteractivePlayer.d.ts +7 -0
- package/dist/projects/player/src/react/Player.d.ts +10 -0
- package/dist/projects/player/src/react/react-component.d.ts +11 -0
- package/dist/projects/player/src/services/analytics-service.d.ts +31 -0
- package/dist/projects/player/src/utils/ajax-helper.d.ts +16 -0
- package/dist/projects/player/src/utils/fn.d.ts +14 -0
- package/dist/projects/player/src/utils/formatTime.d.ts +5 -0
- package/dist/projects/player/src/utils/hotkeys.d.ts +5 -0
- package/dist/projects/player/src/utils/quality-helper.d.ts +19 -0
- package/dist/projects/player/src/utils/quality-helper.test.d.ts +1 -0
- package/dist/projects/player/src/utils/scrollbar-helper.d.ts +6 -0
- package/dist/projects/player/src/utils/track-helper.d.ts +7 -0
- package/dist/projects/player/test/players/test-player.d.ts +17 -0
- package/dist/projects/player/test/setupTests.d.ts +0 -0
- package/dist/projects/player/test/utils/test-helpers.d.ts +8 -0
- package/package.json +13 -5
- package/typings/libs/draft-convert.d.ts +4 -0
- package/typings/utils/globals.d.ts +1 -0
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
<!-- TODO: Link to stylesheet -->
|
|
2
2
|
<!-- <link rel="stylesheet" href="player-app.css"> -->
|
|
3
|
-
<link rel="stylesheet" href="https://online.clickview.com.au/Assets/css/compiled/modules/styles/cv-styles.css?v=7.35.0">
|
|
3
|
+
<link rel="stylesheet" href="https://online.clickview.com.au/Assets/css/compiled/modules/styles/cv-styles.css?v=7.35.0">
|
|
4
|
+
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
|
|
@@ -50,6 +50,23 @@ export const ClipPlayback = () =>
|
|
|
50
50
|
|
|
51
51
|
ClipPlayback.storyName = 'Clip Playback';
|
|
52
52
|
|
|
53
|
+
export const CreateClipButton = () => {
|
|
54
|
+
const [ showCreateClipPlayer, setShowCreateClipPlayer ] = React.useState(false);
|
|
55
|
+
|
|
56
|
+
if (showCreateClipPlayer)
|
|
57
|
+
return <ClipForm />;
|
|
58
|
+
|
|
59
|
+
return (
|
|
60
|
+
<ClickViewPlayer
|
|
61
|
+
viewKey='basic'
|
|
62
|
+
fetch={mockplayerApi}
|
|
63
|
+
onClickCreateClip={() => setShowCreateClipPlayer(true)}
|
|
64
|
+
/>
|
|
65
|
+
);
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
CreateClipButton.storyName = 'Create Clip Button';
|
|
69
|
+
|
|
53
70
|
export const CreateClip = () => <ClipForm />;
|
|
54
71
|
|
|
55
72
|
CreateClip.storyName = 'Create Clip';
|
|
@@ -60,4 +77,4 @@ EditClip.storyName = 'Edit Clip';
|
|
|
60
77
|
|
|
61
78
|
export const MinDurationClip = () => <ClipForm minDuration={30} />;
|
|
62
79
|
|
|
63
|
-
MinDurationClip.storyName = 'Create Clip with 30s min duration';
|
|
80
|
+
MinDurationClip.storyName = 'Create Clip with 30s min duration';
|
|
@@ -3,6 +3,8 @@ import { ClickViewInteractivePlayer, InteractivePlayer } from '../../src/index';
|
|
|
3
3
|
import { InteractiveMode } from '../../src/plugins/interactive-plugin/interfaces';
|
|
4
4
|
import { mockplayerApi } from './utils/mock-playerapi';
|
|
5
5
|
|
|
6
|
+
const IMAGE_API_URL_STAGING = 'https://image.api.stg.cvnet.io';
|
|
7
|
+
|
|
6
8
|
export default {
|
|
7
9
|
title: 'Interactives'
|
|
8
10
|
};
|
|
@@ -14,7 +16,8 @@ export const Create = () =>
|
|
|
14
16
|
<ClickViewInteractivePlayer
|
|
15
17
|
viewKey='basic'
|
|
16
18
|
fetch={mockplayerApi}
|
|
17
|
-
mode={InteractiveMode.Create}
|
|
19
|
+
mode={InteractiveMode.Create}
|
|
20
|
+
imageApi={IMAGE_API_URL_STAGING} />;
|
|
18
21
|
|
|
19
22
|
export const Annotation = () => {
|
|
20
23
|
function onReady(player: InteractivePlayer): void {
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ClickViewPlayer } from '../../src';
|
|
3
|
+
import { mockplayerApi } from './utils/mock-playerapi';
|
|
4
|
+
|
|
5
|
+
export default {
|
|
6
|
+
title: 'Resources'
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
export const Base = () =>
|
|
10
|
+
<ClickViewPlayer
|
|
11
|
+
viewKey='basic'
|
|
12
|
+
fetch={mockplayerApi}
|
|
13
|
+
imageCdnUrl='https://image.api.stg.cvnet.io'
|
|
14
|
+
showResources
|
|
15
|
+
/>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PlaybackObject, Files, Chapters, Subtitles, LocalCacheAddress } from '../../../src/interfaces/models/PlaybackObject';
|
|
1
|
+
import { PlaybackObject, Files, Chapters, Subtitles, LocalCacheAddress, Resources } from '../../../src/interfaces/models/PlaybackObject';
|
|
2
2
|
|
|
3
3
|
import interactive from '../assets/interactive.json';
|
|
4
4
|
|
|
@@ -82,6 +82,85 @@ const multipleSubtitles = <Subtitles> {
|
|
|
82
82
|
}]
|
|
83
83
|
};
|
|
84
84
|
|
|
85
|
+
const mockResources = <Resources> {
|
|
86
|
+
list: [
|
|
87
|
+
{
|
|
88
|
+
name: "Comprehension Questions",
|
|
89
|
+
url: "https://file.api.stg.cvnet.io/v1/files/d9a638acb5e94845bde68ffcee9f268f",
|
|
90
|
+
metadata: {
|
|
91
|
+
type: 'pdf'
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
name: "Ice Cube",
|
|
96
|
+
url: "https://file.api.stg.cvnet.io/v1/files/cb537b963dd4492dbd46a7616240f704",
|
|
97
|
+
metadata: {
|
|
98
|
+
type: 'image'
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
name: "Key Concepts",
|
|
103
|
+
url: "https://file.api.stg.cvnet.io/v1/files/fee99545827647c5a833eb6d35457684"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
name: "Classroom Activity: Who Is Centred?",
|
|
107
|
+
url: "https://file.api.stg.cvnet.io/v1/files/dffe3954b85a46019bb7f10653430aee"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
name: "Who Is Centred?: The Geocentric Model vs Heliocentric Model",
|
|
111
|
+
url: "https://file.api.stg.cvnet.io/v1/files/ff1ac5c29d2b43a6a766e32626fdd55a"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
name: "Endless Story Board Game: Instructions and Questions",
|
|
115
|
+
url: "https://file.api.stg.cvnet.io/v1/files/464090b8d1bc4ef78e0f3fae9b439f3e"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
name: "Endless Story Board Game: Board Game Pieces",
|
|
119
|
+
url: "https://file.api.stg.cvnet.io/v1/files/39bbbef9b4274338afbfd5c3f11d4334"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
name: "Outstanding Milestones in Mathematics",
|
|
123
|
+
url: "https://file.api.stg.cvnet.io/v1/files/21c3a97dbefb4c678c40ea2f302dde09"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
name: "Classroom Experiment Activity: Imitating Galileo",
|
|
127
|
+
url: "https://file.api.stg.cvnet.io/v1/files/63b0311220514282b34fa389070ea1c1"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
name: "Key Concepts: The Language of Science",
|
|
131
|
+
url: "https://file.api.stg.cvnet.io/v1/files/c395bb90504f44d7b082cd86178102ae"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
name: "Classroom Activity: Who Is Centred?",
|
|
135
|
+
url: "https://file.api.stg.cvnet.io/v1/files/3f6453ade0b04ed191b1e4707c1b593c"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
name: "Who Is Centred?: The Geocentric Model vs Heliocentric Model",
|
|
139
|
+
url: "https://file.api.stg.cvnet.io/v1/files/6b1319fcdb80425d86f7a89bc02c90f1"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
name: "Endless Story Board Game: Instructions and Questions",
|
|
143
|
+
url: "https://file.api.stg.cvnet.io/v1/files/f8d70f5fd1f1442e9acd85fc23b02700"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
name: "Endless Story Board Game: Board Game Pieces",
|
|
147
|
+
url: "https://file.api.stg.cvnet.io/v1/files/1c3f60c920534a129744a516c1413cf4"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
name: "Outstanding Milestones in Mathematics",
|
|
151
|
+
url: "https://file.api.stg.cvnet.io/v1/files/cecb07e558244a39b9f0772c5938d0d7"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
name: "Classroom Experiment Activity: Imitating Galileo",
|
|
155
|
+
url: "https://file.api.stg.cvnet.io/v1/files/5c179f615a974dccae89f6533fbda4c9"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
name: "Maths, the Language of Science",
|
|
159
|
+
url: "https://file.api.stg.cvnet.io/v1/files/b58daa1d60d5474ba556e2a3fc4942b7"
|
|
160
|
+
}
|
|
161
|
+
]
|
|
162
|
+
};
|
|
163
|
+
|
|
85
164
|
const emptyLocalCacheAddresses = <LocalCacheAddress[]> [];
|
|
86
165
|
|
|
87
166
|
const sources: { [key: string]: PlaybackObject } = {
|
|
@@ -98,14 +177,16 @@ const sources: { [key: string]: PlaybackObject } = {
|
|
|
98
177
|
mimeType: 'text/vtt'
|
|
99
178
|
}]
|
|
100
179
|
},
|
|
101
|
-
localCacheAddresses: emptyLocalCacheAddresses
|
|
180
|
+
localCacheAddresses: emptyLocalCacheAddresses,
|
|
181
|
+
resources: mockResources
|
|
102
182
|
},
|
|
103
183
|
chapters: {
|
|
104
184
|
files: basicFiles,
|
|
105
185
|
mediaType: 'MasterVideo',
|
|
106
186
|
chapters: mockChapters,
|
|
107
187
|
subtitles: emptySubtitles,
|
|
108
|
-
localCacheAddresses: emptyLocalCacheAddresses
|
|
188
|
+
localCacheAddresses: emptyLocalCacheAddresses,
|
|
189
|
+
resources: mockResources
|
|
109
190
|
},
|
|
110
191
|
vertical: {
|
|
111
192
|
files: {
|
|
@@ -118,7 +199,8 @@ const sources: { [key: string]: PlaybackObject } = {
|
|
|
118
199
|
mediaType: 'MasterVideo',
|
|
119
200
|
chapters: mockChapters,
|
|
120
201
|
subtitles: emptySubtitles,
|
|
121
|
-
localCacheAddresses: emptyLocalCacheAddresses
|
|
202
|
+
localCacheAddresses: emptyLocalCacheAddresses,
|
|
203
|
+
resources: mockResources
|
|
122
204
|
},
|
|
123
205
|
error: {
|
|
124
206
|
files: {
|
|
@@ -133,14 +215,16 @@ const sources: { [key: string]: PlaybackObject } = {
|
|
|
133
215
|
mediaType: 'MasterVideo',
|
|
134
216
|
chapters: emptyChapters,
|
|
135
217
|
subtitles: emptySubtitles,
|
|
136
|
-
localCacheAddresses: emptyLocalCacheAddresses
|
|
218
|
+
localCacheAddresses: emptyLocalCacheAddresses,
|
|
219
|
+
resources: mockResources
|
|
137
220
|
},
|
|
138
221
|
multipleQualities: {
|
|
139
222
|
files: multipleFiles,
|
|
140
223
|
mediaType: 'MasterVideo',
|
|
141
224
|
chapters: emptyChapters,
|
|
142
225
|
subtitles: emptySubtitles,
|
|
143
|
-
localCacheAddresses: emptyLocalCacheAddresses
|
|
226
|
+
localCacheAddresses: emptyLocalCacheAddresses,
|
|
227
|
+
resources: mockResources
|
|
144
228
|
},
|
|
145
229
|
poster: {
|
|
146
230
|
files: basicFiles,
|
|
@@ -148,7 +232,8 @@ const sources: { [key: string]: PlaybackObject } = {
|
|
|
148
232
|
chapters: emptyChapters,
|
|
149
233
|
posterUrl: 'https://image.api.stg.cvnet.io/v2/thumbnails/Q229lo',
|
|
150
234
|
subtitles: emptySubtitles,
|
|
151
|
-
localCacheAddresses: emptyLocalCacheAddresses
|
|
235
|
+
localCacheAddresses: emptyLocalCacheAddresses,
|
|
236
|
+
resources: mockResources
|
|
152
237
|
},
|
|
153
238
|
everything: {
|
|
154
239
|
files: multipleFiles,
|
|
@@ -156,14 +241,16 @@ const sources: { [key: string]: PlaybackObject } = {
|
|
|
156
241
|
chapters: mockChapters,
|
|
157
242
|
posterUrl: 'https://image.api.stg.cvnet.io/v2/thumbnails/Q229lo',
|
|
158
243
|
subtitles: multipleSubtitles,
|
|
159
|
-
localCacheAddresses: emptyLocalCacheAddresses
|
|
244
|
+
localCacheAddresses: emptyLocalCacheAddresses,
|
|
245
|
+
resources: mockResources
|
|
160
246
|
},
|
|
161
247
|
multipleSubtitles: {
|
|
162
248
|
files: basicFiles,
|
|
163
249
|
mediaType: 'MasterVideo',
|
|
164
250
|
chapters: emptyChapters,
|
|
165
251
|
subtitles: multipleSubtitles,
|
|
166
|
-
localCacheAddresses: emptyLocalCacheAddresses
|
|
252
|
+
localCacheAddresses: emptyLocalCacheAddresses,
|
|
253
|
+
resources: mockResources
|
|
167
254
|
},
|
|
168
255
|
multipleTracksWithDefault: {
|
|
169
256
|
files: basicFiles,
|
|
@@ -188,7 +275,8 @@ const sources: { [key: string]: PlaybackObject } = {
|
|
|
188
275
|
mimeType: 'text/vtt'
|
|
189
276
|
}]
|
|
190
277
|
},
|
|
191
|
-
localCacheAddresses: emptyLocalCacheAddresses
|
|
278
|
+
localCacheAddresses: emptyLocalCacheAddresses,
|
|
279
|
+
resources: mockResources
|
|
192
280
|
},
|
|
193
281
|
interactive: {
|
|
194
282
|
files: basicFiles,
|
|
@@ -196,7 +284,8 @@ const sources: { [key: string]: PlaybackObject } = {
|
|
|
196
284
|
chapters: emptyChapters,
|
|
197
285
|
additionalData: interactive,
|
|
198
286
|
subtitles: emptySubtitles,
|
|
199
|
-
localCacheAddresses: emptyLocalCacheAddresses
|
|
287
|
+
localCacheAddresses: emptyLocalCacheAddresses,
|
|
288
|
+
resources: mockResources
|
|
200
289
|
},
|
|
201
290
|
clip: {
|
|
202
291
|
files: basicFiles,
|
|
@@ -207,7 +296,8 @@ const sources: { [key: string]: PlaybackObject } = {
|
|
|
207
296
|
endTime: 240
|
|
208
297
|
},
|
|
209
298
|
subtitles: emptySubtitles,
|
|
210
|
-
localCacheAddresses: emptyLocalCacheAddresses
|
|
299
|
+
localCacheAddresses: emptyLocalCacheAddresses,
|
|
300
|
+
resources: mockResources
|
|
211
301
|
},
|
|
212
302
|
localcache: {
|
|
213
303
|
files: multipleFiles,
|
|
@@ -218,7 +308,8 @@ const sources: { [key: string]: PlaybackObject } = {
|
|
|
218
308
|
httpsAddress: 'https://local.clickviewlocalcache.com:9055',
|
|
219
309
|
name: 'test',
|
|
220
310
|
playbackProfile: '1080'
|
|
221
|
-
}]
|
|
311
|
+
}],
|
|
312
|
+
resources: mockResources
|
|
222
313
|
}
|
|
223
314
|
};
|
|
224
315
|
|
package/dist/en.json
ADDED
|
@@ -0,0 +1,373 @@
|
|
|
1
|
+
{
|
|
2
|
+
"notifications": {
|
|
3
|
+
"notificationList": {
|
|
4
|
+
"noNotifications": "You have no notifications"
|
|
5
|
+
},
|
|
6
|
+
"services": {
|
|
7
|
+
"suggestEditSubmit": "Suggestion was successfully submitted"
|
|
8
|
+
},
|
|
9
|
+
"utils": {
|
|
10
|
+
"viewVideoDetails": "View video details",
|
|
11
|
+
"viewVideo": "View video",
|
|
12
|
+
"reviewVideos": "Review videos",
|
|
13
|
+
"viewNewContent": "View new content",
|
|
14
|
+
"reviewVideo": "Review video",
|
|
15
|
+
"seeNow": "See now"
|
|
16
|
+
},
|
|
17
|
+
"notifications": {
|
|
18
|
+
"title": "Notifications",
|
|
19
|
+
"notifications": "Notifications"
|
|
20
|
+
},
|
|
21
|
+
"notificationsPopover": {
|
|
22
|
+
"notifications": "Notifications",
|
|
23
|
+
"seeAll": "See all notifications"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"playlists": {
|
|
27
|
+
"emptyState": {
|
|
28
|
+
"noPlaylistsHeading": "You have no playlists",
|
|
29
|
+
"noPlaylistsInfo": "Click <strong>New Playlist</strong> above to create one.",
|
|
30
|
+
"noVideosHeading": "There are no videos in this playlist",
|
|
31
|
+
"noVideosInfo": "Learn how to add videos to a playlist."
|
|
32
|
+
},
|
|
33
|
+
"playlistItem": {
|
|
34
|
+
"videos": "%{smart_count} video |||| %{smart_count} videos",
|
|
35
|
+
"lastUpdated": "Last updated: %{timeAgo}",
|
|
36
|
+
"notUpdatedRecently": "Last updated over a month ago"
|
|
37
|
+
},
|
|
38
|
+
"playlistSortSelect": {
|
|
39
|
+
"recentlyUpdated": "Recently updated",
|
|
40
|
+
"atoz": "A to Z",
|
|
41
|
+
"ztoa": "Z to A",
|
|
42
|
+
"newest": "Newest",
|
|
43
|
+
"oldest": "Oldest"
|
|
44
|
+
},
|
|
45
|
+
"hooks": {
|
|
46
|
+
"somethingWentWrong": "Something went wrong"
|
|
47
|
+
},
|
|
48
|
+
"validation": {
|
|
49
|
+
"nameExceeds": "Name is too long",
|
|
50
|
+
"nameRequired": "Name is required",
|
|
51
|
+
"descriptionExceeds": "Description is too long"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"search": {
|
|
55
|
+
"searchTips": {
|
|
56
|
+
"heading": "Search Tips",
|
|
57
|
+
"firstTerm": "\"atomic bonding\"",
|
|
58
|
+
"firstDescription": "Search for exact phrases using quotation marks",
|
|
59
|
+
"secondTerm": "\"romeo and juliet\" english",
|
|
60
|
+
"secondDescription": "Combine normal and exact phrases together",
|
|
61
|
+
"thirdTerm": "-pollution",
|
|
62
|
+
"thirdDescription": "Exclude a keyword from your search",
|
|
63
|
+
"fourthTerm1": "tag:literature",
|
|
64
|
+
"fourthTerm2": "folder:science",
|
|
65
|
+
"fourthDescription": "Search for results within a tag, folder or series",
|
|
66
|
+
"fifthTerm": "folder:-physics",
|
|
67
|
+
"fifthDescription": "Use a \"-\" to exclude a folder, title or series"
|
|
68
|
+
},
|
|
69
|
+
"services": {
|
|
70
|
+
"folderTag": "This folder",
|
|
71
|
+
"seriesTag": "This series"
|
|
72
|
+
},
|
|
73
|
+
"searchBar": {
|
|
74
|
+
"findingResults": "Finding results...",
|
|
75
|
+
"recentSearches": "Recent Searches",
|
|
76
|
+
"allResults": "Show all results for",
|
|
77
|
+
"noLibraries": "There are currently no libraries to search. Add a new library to get started.",
|
|
78
|
+
"placeholder": "Search within your library... |||| Search within your libraries...",
|
|
79
|
+
"classifications": "topics",
|
|
80
|
+
"videos": "videos",
|
|
81
|
+
"tags": "tags",
|
|
82
|
+
"series": "series"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"subjects": {
|
|
86
|
+
"audienceFilter": {
|
|
87
|
+
"clear": "Clear"
|
|
88
|
+
},
|
|
89
|
+
"comingSoon": {
|
|
90
|
+
"comingSoon": "Coming Soon",
|
|
91
|
+
"info1": "We are currently building this topic.",
|
|
92
|
+
"info2": "In the meantime, we can remind you when it's available.",
|
|
93
|
+
"remindMe": "Remind Me"
|
|
94
|
+
},
|
|
95
|
+
"heroVideo": {
|
|
96
|
+
"resourcesHeading": "Resources",
|
|
97
|
+
"linksHeading": "Links",
|
|
98
|
+
"clipsHeading": "Clips",
|
|
99
|
+
"tagsHeading": "Tags",
|
|
100
|
+
"links": "%{smart_count} link |||| %{smart_count} links",
|
|
101
|
+
"resources": "%{smart_count} resource |||| %{smart_count} resources",
|
|
102
|
+
"clips": "%{smart_count} clip |||| %{smart_count} clips",
|
|
103
|
+
"heading": "Featured video"
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"upload": {
|
|
107
|
+
"fileType": {
|
|
108
|
+
"heading": "Invalid file type",
|
|
109
|
+
"body": "Sorry but you cannot upload files of that type.",
|
|
110
|
+
"okay": "Okay",
|
|
111
|
+
"close": "Close"
|
|
112
|
+
},
|
|
113
|
+
"internetConnectivityError": {
|
|
114
|
+
"title": "Internet connectivity issue",
|
|
115
|
+
"heading": "Connectivity issue.",
|
|
116
|
+
"body": "There seems to be an issue with your internet connection. Please try uploading your files again.",
|
|
117
|
+
"okay": "Okay"
|
|
118
|
+
},
|
|
119
|
+
"utils": {
|
|
120
|
+
"videoProcessingError": "Something went wrong processing this video.",
|
|
121
|
+
"waiting": "Waiting to be processed",
|
|
122
|
+
"processing": "Processing %{progress}%",
|
|
123
|
+
"complete": "Complete",
|
|
124
|
+
"readyToWatch": "Ready to watch, still processing higher resolutions."
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
"shared": {
|
|
128
|
+
"backButton": {
|
|
129
|
+
"back": "Back",
|
|
130
|
+
"backTo": "Back to %{backToName}"
|
|
131
|
+
},
|
|
132
|
+
"badges": {
|
|
133
|
+
"interactive": "Interactive",
|
|
134
|
+
"resources": "Resources"
|
|
135
|
+
},
|
|
136
|
+
"channelFormField": {
|
|
137
|
+
"channel": "Channel",
|
|
138
|
+
"placeholder": "Search for a channel..."
|
|
139
|
+
},
|
|
140
|
+
"confirmationPopup": {
|
|
141
|
+
"confirm": "Confirm",
|
|
142
|
+
"cancel": "Cancel"
|
|
143
|
+
},
|
|
144
|
+
"curriculumLinks": {
|
|
145
|
+
"curriculumLinks": "Curriculum Links",
|
|
146
|
+
"seeLess": "See less"
|
|
147
|
+
},
|
|
148
|
+
"editLink": {
|
|
149
|
+
"linkNameExceeds": "Please provide a shorter name",
|
|
150
|
+
"linkNameRequired": "Please provide a name for your resource",
|
|
151
|
+
"linkUrlRequired": "Please provide a valid URL for your resource. e.g. https://example.com",
|
|
152
|
+
"linkUrlExceeds": "Please provide a shorter URL",
|
|
153
|
+
"urlLabel": "URL",
|
|
154
|
+
"urlPlaceholder": "Paste the URL to a resource here",
|
|
155
|
+
"nameLabel": "Name",
|
|
156
|
+
"namePlaceholder": "Display name",
|
|
157
|
+
"cancel": "Cancel"
|
|
158
|
+
},
|
|
159
|
+
"editResource": {
|
|
160
|
+
"name": "Name",
|
|
161
|
+
"namePlaceholder": "Enter a name for this resource",
|
|
162
|
+
"nameTooLong": "Name is too long",
|
|
163
|
+
"nameRequired": "Name is required",
|
|
164
|
+
"cancel": "Cancel"
|
|
165
|
+
},
|
|
166
|
+
"editVideoDetails": {
|
|
167
|
+
"nameExceeds": "Name is too long",
|
|
168
|
+
"nameRequired": "Name is required",
|
|
169
|
+
"descriptionExceeds": "Description is too long",
|
|
170
|
+
"namePlaceholder": "Enter a name for your video",
|
|
171
|
+
"descriptionPlaceholder": "Enter a description for your video",
|
|
172
|
+
"cancel": "Cancel",
|
|
173
|
+
"nameLabel": "Title",
|
|
174
|
+
"descriptionLabel": "Description"
|
|
175
|
+
},
|
|
176
|
+
"editVideoLinks": {
|
|
177
|
+
"heading": "Resource Links",
|
|
178
|
+
"description": "You may attach links to other learning resources related to this video.",
|
|
179
|
+
"attach": "Attach",
|
|
180
|
+
"limit": "There is a resource link limit of %{limit} links. To add another link please first remove one."
|
|
181
|
+
},
|
|
182
|
+
"editVideoResources": {
|
|
183
|
+
"resourcesLimit": "There is a resource limit of %{limit} resources. To add another resource please first remove one.",
|
|
184
|
+
"customerResources": "My School's Learning Resources",
|
|
185
|
+
"clickViewResources": "Learning Resources by ClickView",
|
|
186
|
+
"resources": "Learning Resources",
|
|
187
|
+
"resourcesDescription": "Maximum file size 10MB. <span class='text-muted'>(Word, Excel, PowerPoint, pdf, text and images are supported.)</span>",
|
|
188
|
+
"resourcesAlternative": "or Drag and drop learning resources(s) to upload",
|
|
189
|
+
"clickViewResourcesEmpty": "There are no ClickView resources for this video"
|
|
190
|
+
},
|
|
191
|
+
"editVideoSubtitles": {
|
|
192
|
+
"subtitlesLimit": "There is a subtitle limit of %{limit} subtitles. To add another subtitle please first remove one.",
|
|
193
|
+
"customerSubtitles": "My School's Subtitles",
|
|
194
|
+
"subtitles": "Subtitles",
|
|
195
|
+
"subtitlesDescription": "You can upload up to %{limit} subtitles. <span class='text-muted'>(.srt files are supported.)</span>",
|
|
196
|
+
"subtitlesAlternative": "or Drag and drop a subtitle file (*.srt) to upload",
|
|
197
|
+
"clickViewSubtitles": "Subtitles by ClickView",
|
|
198
|
+
"clickViewSubtitlesEmpty": "There are no ClickView subtitles for this video"
|
|
199
|
+
},
|
|
200
|
+
"favouriteButton": {
|
|
201
|
+
"favouriteError": "Failed to favourite video.",
|
|
202
|
+
"unfavouriteError": "Failed to unfavourite video."
|
|
203
|
+
},
|
|
204
|
+
"fileSelect": {
|
|
205
|
+
"browse": "Browse for a file",
|
|
206
|
+
"invalidFileType": "Invalid file type"
|
|
207
|
+
},
|
|
208
|
+
"formButtons": {
|
|
209
|
+
"create": "Create",
|
|
210
|
+
"save": "Save",
|
|
211
|
+
"next": "Next"
|
|
212
|
+
},
|
|
213
|
+
"imageCropper": {
|
|
214
|
+
"cancel": "Cancel",
|
|
215
|
+
"crop": "Crop",
|
|
216
|
+
"title": "Crop and resize your image"
|
|
217
|
+
},
|
|
218
|
+
"imageSelect": {
|
|
219
|
+
"minDimensions": "(Minimum dimensions are %{width}px x %{height}px)",
|
|
220
|
+
"uploadAThumbnail": "Upload a thumbnail"
|
|
221
|
+
},
|
|
222
|
+
"languageSelect": {
|
|
223
|
+
"heading": "Select a language for your subtitle",
|
|
224
|
+
"placeholder": "Select a language",
|
|
225
|
+
"close": "Close",
|
|
226
|
+
"submit": "Submit",
|
|
227
|
+
"label": "Language"
|
|
228
|
+
},
|
|
229
|
+
"pagination": {
|
|
230
|
+
"next": "Next",
|
|
231
|
+
"previous": "Previous"
|
|
232
|
+
},
|
|
233
|
+
"searchBar": {
|
|
234
|
+
"placeholder": "Enter a search query",
|
|
235
|
+
"recentSearchHeading": "Recent Searches"
|
|
236
|
+
},
|
|
237
|
+
"videoAtAGlance": {
|
|
238
|
+
"readFullDescription": "View Video Details",
|
|
239
|
+
"videoAtAGlance": "Video at a glance...",
|
|
240
|
+
"seeCurriculumLinks": "See Curriculum Links"
|
|
241
|
+
},
|
|
242
|
+
"videoItemDescription": {
|
|
243
|
+
"showMore": "... Show more",
|
|
244
|
+
"showLess": "Show less"
|
|
245
|
+
},
|
|
246
|
+
"videoOwnerText": {
|
|
247
|
+
"clickViewContent": "Created by ClickView"
|
|
248
|
+
},
|
|
249
|
+
"dynamicWidget": {
|
|
250
|
+
"topics": "Topics",
|
|
251
|
+
"relatedTopics": "Related Topics",
|
|
252
|
+
"teach": "What would you like to teach?",
|
|
253
|
+
"preferencesTooltip": "Update your preferences"
|
|
254
|
+
},
|
|
255
|
+
"fixedWidget": {
|
|
256
|
+
"preferencesTooltip": "Update your preferences"
|
|
257
|
+
},
|
|
258
|
+
"greeting": {
|
|
259
|
+
"morning": "Good morning",
|
|
260
|
+
"afternoon": "Good afternoon",
|
|
261
|
+
"evening": "Good evening",
|
|
262
|
+
"fallback": "Hello",
|
|
263
|
+
"prompt": "What would you like to teach today?"
|
|
264
|
+
},
|
|
265
|
+
"interactiveWidgetItem": {
|
|
266
|
+
"previewQuestions": "Preview Questions"
|
|
267
|
+
},
|
|
268
|
+
"subjectWidgetItem": {
|
|
269
|
+
"comingSoon": "Coming Soon",
|
|
270
|
+
"edit": "Edit My Topics",
|
|
271
|
+
"all": "Explore all topics"
|
|
272
|
+
},
|
|
273
|
+
"behaviors": {
|
|
274
|
+
"fileDrop": {
|
|
275
|
+
"fileDrop": "Drop files here to begin uploading"
|
|
276
|
+
}
|
|
277
|
+
},
|
|
278
|
+
"_fileSelect": {
|
|
279
|
+
"browse": "Browse for a file",
|
|
280
|
+
"drop": "Drop files here to begin uploading"
|
|
281
|
+
},
|
|
282
|
+
"_pagination": {
|
|
283
|
+
"next": "Next",
|
|
284
|
+
"previous": "Previous"
|
|
285
|
+
},
|
|
286
|
+
"tooManyFiles": {
|
|
287
|
+
"title": "Uploading many files",
|
|
288
|
+
"heading": "Multiple files selected",
|
|
289
|
+
"body": "Please only upload one file at a time.",
|
|
290
|
+
"okay": "Okay"
|
|
291
|
+
},
|
|
292
|
+
"errors": {
|
|
293
|
+
"tooManyResources": {
|
|
294
|
+
"heading": "Too many resources.",
|
|
295
|
+
"body": "Cannot add more than %{resourceLimit} resource files to a video. Please remove some resources if you would like to add more.",
|
|
296
|
+
"okay": "Okay"
|
|
297
|
+
},
|
|
298
|
+
"tooManySubtitles": {
|
|
299
|
+
"heading": "Too many subtitles",
|
|
300
|
+
"body": "Cannot add more than %{subtitleLimit} subtitle files to a video. Please remove some subtitles if you would like to add more.",
|
|
301
|
+
"okay": "Okay"
|
|
302
|
+
}
|
|
303
|
+
},
|
|
304
|
+
"interactionTypes": {
|
|
305
|
+
"annotationName": "Annotation",
|
|
306
|
+
"imageName": "Image",
|
|
307
|
+
"missingWordName": "Missing word",
|
|
308
|
+
"missingWordPrompt": "Fill in the blank by typing the missing word(s)",
|
|
309
|
+
"multipleChoiceName": "Multiple Choice",
|
|
310
|
+
"multipleChoicePrompt": "Choose the correct answer(s)",
|
|
311
|
+
"shortAnswerName": "Short Answer",
|
|
312
|
+
"shortAnswerPrompt": "Type in your answer to the question",
|
|
313
|
+
"trueOrFalseName": "True or False",
|
|
314
|
+
"trueOrFalsePrompt": "Choose the correct answe"
|
|
315
|
+
},
|
|
316
|
+
"shared-utils": {
|
|
317
|
+
"responsive": "Responsive",
|
|
318
|
+
"small": "Small",
|
|
319
|
+
"medium": "Medium",
|
|
320
|
+
"large": "Large",
|
|
321
|
+
"exchange": "Exchange",
|
|
322
|
+
"workspace": "Workspace",
|
|
323
|
+
"file": "File",
|
|
324
|
+
"zipArchive": "Zip archive",
|
|
325
|
+
"presentation": "Presentation",
|
|
326
|
+
"spreadsheet": "Spreadsheet",
|
|
327
|
+
"document": "Document",
|
|
328
|
+
"pdf": "PDF",
|
|
329
|
+
"image": "Image",
|
|
330
|
+
"autoGeneratedSubtitle": "%{name} (auto-generated)",
|
|
331
|
+
"cancel": "Cancel",
|
|
332
|
+
"confirm": "Confirm"
|
|
333
|
+
},
|
|
334
|
+
"deleteLinkView": {
|
|
335
|
+
"heading": "Remove link?",
|
|
336
|
+
"body": "Are you sure you want to remove <strong>%{name}</strong>?",
|
|
337
|
+
"remove": "Remove",
|
|
338
|
+
"success": "Successfully removed link",
|
|
339
|
+
"error": "Failed to remove link. Please try again later."
|
|
340
|
+
},
|
|
341
|
+
"deleteResourceView": {
|
|
342
|
+
"heading": "Remove learning resource?",
|
|
343
|
+
"body": "Are you sure you want to remove <strong>%{name}</strong>?",
|
|
344
|
+
"remove": "Remove",
|
|
345
|
+
"success": "Successfully removed resource",
|
|
346
|
+
"error": "Failed to remove resource. Please try again later."
|
|
347
|
+
},
|
|
348
|
+
"deleteSubtitleView": {
|
|
349
|
+
"heading": "Remove subtitle?",
|
|
350
|
+
"body": "Are you sure you want to remove these subtitles: <strong>%{language}</strong>?",
|
|
351
|
+
"remove": "Remove",
|
|
352
|
+
"success": "Successfully removed subtitle",
|
|
353
|
+
"error": "Failed to remove subtitle. Please try again later."
|
|
354
|
+
},
|
|
355
|
+
"editLinkView": {
|
|
356
|
+
"heading": "Edit link",
|
|
357
|
+
"success": "Successfully saved link",
|
|
358
|
+
"error": "Failed to save link. Please try again later."
|
|
359
|
+
},
|
|
360
|
+
"editResourceView": {
|
|
361
|
+
"heading": "Edit learning resource",
|
|
362
|
+
"success": "Successfully updated resource",
|
|
363
|
+
"error": "Failed to update resource. Please try again later."
|
|
364
|
+
}
|
|
365
|
+
},
|
|
366
|
+
"workspace": {
|
|
367
|
+
"ratingSelect": {
|
|
368
|
+
"rating": "Rating",
|
|
369
|
+
"removeRating": "Remove rating",
|
|
370
|
+
"removeRatingTitle": "Without a rating, this video will be viewable by all staff and students"
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AnalyticsDataPayload } from 'libs/analytics/models/AnalyticsEvent';
|
|
2
|
+
import { ActionContext, EventVersion } from 'libs/analytics/interfaces';
|
|
3
|
+
export declare const Analytics: {
|
|
4
|
+
/**
|
|
5
|
+
* Push/emit all events along the analytics firehose
|
|
6
|
+
* @param eventType
|
|
7
|
+
* @param data Data to be passed to AnalyticsClient
|
|
8
|
+
*/
|
|
9
|
+
log<TType extends import("./interfaces").UserAction, TData extends AnalyticsDataPayload>(eventType: TType, data: TData, actionContext?: ActionContext, eventVersion?: EventVersion): void;
|
|
10
|
+
};
|