@clickview/player 0.0.26-rc.0 → 0.0.27-rc.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/dist/en.json +1 -1
- package/dist/interactive-player.css +152 -0
- package/dist/interactive-player.js +124 -0
- package/dist/{player-app.css → player.css} +6 -24
- package/dist/player.js +31 -0
- package/package.json +4 -5
- package/dist/libs/analytics/src/Analytics.d.ts +0 -10
- package/dist/libs/analytics/src/AnalyticsHelper.d.ts +0 -30
- package/dist/libs/analytics/src/clients/CollectionApiClient.d.ts +0 -47
- package/dist/libs/analytics/src/constants/EventFirehose.d.ts +0 -4
- package/dist/libs/analytics/src/constants/GlobalChannels.d.ts +0 -3
- package/dist/libs/analytics/src/constants/Regions.d.ts +0 -7
- package/dist/libs/analytics/src/constants/Services.d.ts +0 -4
- package/dist/libs/analytics/src/enums/CountryCode.d.ts +0 -6
- package/dist/libs/analytics/src/enums/RegionName.d.ts +0 -6
- package/dist/libs/analytics/src/interfaces/AnalyticsTypes.d.ts +0 -406
- package/dist/libs/analytics/src/interfaces/AnalyticsUser.d.ts +0 -19
- package/dist/libs/analytics/src/interfaces/Config.d.ts +0 -3
- package/dist/libs/analytics/src/interfaces/Folder.d.ts +0 -3
- package/dist/libs/analytics/src/interfaces/HashObject.d.ts +0 -3
- package/dist/libs/analytics/src/interfaces/Owner.d.ts +0 -3
- package/dist/libs/analytics/src/interfaces/Playlist.d.ts +0 -3
- package/dist/libs/analytics/src/interfaces/Rating.d.ts +0 -4
- package/dist/libs/analytics/src/interfaces/Region.d.ts +0 -4
- package/dist/libs/analytics/src/interfaces/RegionalUrl.d.ts +0 -6
- package/dist/libs/analytics/src/interfaces/Resource.d.ts +0 -5
- package/dist/libs/analytics/src/interfaces/Series.d.ts +0 -3
- package/dist/libs/analytics/src/interfaces/Subtitle.d.ts +0 -4
- package/dist/libs/analytics/src/interfaces/VersionData.d.ts +0 -4
- package/dist/libs/analytics/src/interfaces/Video.d.ts +0 -16
- package/dist/libs/analytics/src/interfaces/index.d.ts +0 -15
- package/dist/libs/analytics/src/interfaces/primitives/BaseObject.d.ts +0 -7
- package/dist/libs/analytics/src/models/AnalyticsEvent.d.ts +0 -49
- package/dist/libs/analytics/src/models/CollectionEvent.d.ts +0 -61
- package/dist/libs/analytics/src/services/ContextService.d.ts +0 -19
- package/dist/libs/analytics/src/utils/CollectionApiClientHelper.d.ts +0 -6
- package/dist/libs/analytics/src/utils/DataFormatHelper.d.ts +0 -14
- package/dist/libs/analytics/src/utils/EventWhitelistHelper.d.ts +0 -19
- package/dist/libs/analytics/src/utils/ShareFormatHelper.d.ts +0 -4
- package/dist/libs/analytics/src/utils/TypeHelper.d.ts +0 -4
- package/dist/libs/analytics/src/utils/UploadDataFormatHelper.d.ts +0 -10
- package/dist/libs/analytics/src/utils/UrlHelper.d.ts +0 -3
- package/dist/libs/analytics/src/utils/UserAgentHelper.d.ts +0 -10
- package/dist/libs/common/src/backbone/constants/CommonChannels.d.ts +0 -5
- package/dist/libs/common/src/backbone/constants/CommonServices.d.ts +0 -4
- package/dist/libs/common/src/backbone/core/AppLink.d.ts +0 -37
- package/dist/libs/common/src/backbone/core/BaseAppRouter.d.ts +0 -104
- package/dist/libs/common/src/backbone/core/BaseApplication.d.ts +0 -76
- package/dist/libs/common/src/backbone/core/BaseBehavior.d.ts +0 -6
- package/dist/libs/common/src/backbone/core/BaseCollection.d.ts +0 -7
- package/dist/libs/common/src/backbone/core/BaseCollectionView.d.ts +0 -16
- package/dist/libs/common/src/backbone/core/BaseError.d.ts +0 -28
- package/dist/libs/common/src/backbone/core/BaseLayoutView.d.ts +0 -11
- package/dist/libs/common/src/backbone/core/BaseModel.d.ts +0 -27
- package/dist/libs/common/src/backbone/core/BaseNestedModel.d.ts +0 -21
- package/dist/libs/common/src/backbone/core/BaseService.d.ts +0 -10
- package/dist/libs/common/src/backbone/core/BaseView.d.ts +0 -131
- package/dist/libs/common/src/backbone/core/EventNames.d.ts +0 -16
- package/dist/libs/common/src/backbone/core/LayoutService.d.ts +0 -31
- package/dist/libs/common/src/backbone/core/ListenToRadio.d.ts +0 -3
- package/dist/libs/common/src/backbone/core/LocationUtils.d.ts +0 -24
- package/dist/libs/common/src/backbone/core/Middleware.d.ts +0 -10
- package/dist/libs/common/src/backbone/core/Shell.d.ts +0 -79
- package/dist/libs/common/src/backbone/core/Types.d.ts +0 -12
- package/dist/libs/common/src/backbone/core/index.d.ts +0 -27
- package/dist/libs/common/src/backbone/enums/DataServiceErrorType.d.ts +0 -8
- package/dist/libs/common/src/backbone/enums/HttpStatus.d.ts +0 -17
- package/dist/libs/common/src/backbone/enums/HttpVerbs.d.ts +0 -6
- package/dist/libs/common/src/backbone/errors/DevError.d.ts +0 -4
- package/dist/libs/common/src/backbone/index.d.ts +0 -2
- package/dist/libs/common/src/backbone/interfaces/BaseCollectionIdentifier.d.ts +0 -19
- package/dist/libs/common/src/backbone/interfaces/ChainableDataService.d.ts +0 -9
- package/dist/libs/common/src/backbone/interfaces/DataCache.d.ts +0 -8
- package/dist/libs/common/src/backbone/interfaces/DataProvider.d.ts +0 -15
- package/dist/libs/common/src/backbone/interfaces/DataServiceError.d.ts +0 -7
- package/dist/libs/common/src/backbone/interfaces/DataServiceRequests.d.ts +0 -218
- package/dist/libs/common/src/backbone/interfaces/Pagination.d.ts +0 -33
- package/dist/libs/common/src/backbone/interfaces/StickitBinding.d.ts +0 -33
- package/dist/libs/common/src/backbone/interfaces/Xhr.d.ts +0 -9
- package/dist/libs/common/src/backbone/interfaces/index.d.ts +0 -9
- package/dist/libs/common/src/backbone/services/EnvironmentVariables.d.ts +0 -13
- package/dist/libs/common/src/backbone/services/LanguageService.d.ts +0 -38
- package/dist/libs/common/src/backbone/utils/FunctionHelper.d.ts +0 -8
- package/dist/libs/common/src/backbone/utils/LocalStorageHelper.d.ts +0 -58
- package/dist/libs/common/src/backbone/utils/UrlHelper.d.ts +0 -14
- package/dist/libs/common/src/react/flight/FlightHelpers.d.ts +0 -16
- package/dist/libs/common/src/react/flight/FlightMiddleware.d.ts +0 -12
- package/dist/libs/common/src/react/flight/FlightReducer.d.ts +0 -2
- package/dist/libs/common/src/react/flight/FlightSimulator.d.ts +0 -24
- package/dist/libs/common/src/react/flight/constants/Actions.d.ts +0 -7
- package/dist/libs/common/src/react/flight/constants/index.d.ts +0 -1
- package/dist/libs/common/src/react/flight/data-layers/AjaxRequest.d.ts +0 -2
- package/dist/libs/common/src/react/flight/data-layers/index.d.ts +0 -1
- package/dist/libs/common/src/react/flight/enums/RequestStatus.d.ts +0 -6
- package/dist/libs/common/src/react/flight/enums/index.d.ts +0 -1
- package/dist/libs/common/src/react/flight/index.d.ts +0 -9
- package/dist/libs/common/src/react/flight/interfaces/Action.d.ts +0 -28
- package/dist/libs/common/src/react/flight/interfaces/Dispatch.d.ts +0 -3
- package/dist/libs/common/src/react/flight/interfaces/FlightState.d.ts +0 -23
- package/dist/libs/common/src/react/flight/interfaces/HttpRequest.d.ts +0 -27
- package/dist/libs/common/src/react/flight/interfaces/NormalizeOptions.d.ts +0 -4
- package/dist/libs/common/src/react/flight/interfaces/NormalizedData.d.ts +0 -7
- package/dist/libs/common/src/react/flight/interfaces/Request.d.ts +0 -29
- package/dist/libs/common/src/react/flight/interfaces/Response.d.ts +0 -9
- package/dist/libs/common/src/react/flight/interfaces/UpdateStateOptions.d.ts +0 -15
- package/dist/libs/common/src/react/flight/interfaces/index.d.ts +0 -9
- package/dist/libs/common/src/react/flight/normalizer/Denormalizer.d.ts +0 -3
- package/dist/libs/common/src/react/flight/normalizer/Normalizer.d.ts +0 -8
- package/dist/libs/common/src/react/flight/normalizer/index.d.ts +0 -2
- package/dist/libs/common/src/react/flight/utils/SimulatorHelper.d.ts +0 -5
- package/dist/libs/common/src/react/flight/utils/StateHelper.d.ts +0 -11
- package/dist/libs/common/src/react/flight/utils/index.d.ts +0 -2
- package/dist/libs/common/src/react/interfaces/ApplicationData.d.ts +0 -3
- package/dist/libs/common/src/react/interfaces/ApplicationState.d.ts +0 -8
- package/dist/libs/common/src/react/interfaces/BaseReducerActions.d.ts +0 -4
- package/dist/libs/common/src/react/interfaces/HashObject.d.ts +0 -3
- package/dist/libs/common/src/react/interfaces/index.d.ts +0 -4
- package/dist/libs/common/src/react/services/EventsService.d.ts +0 -16
- package/dist/libs/common/src/react/utils/ArrayHelper.d.ts +0 -63
- package/dist/libs/common/src/react/utils/ObjectHelper.d.ts +0 -11
- package/dist/libs/common/src/react/utils/RandomHelper.d.ts +0 -3
- package/dist/libs/common/src/react/utils/TextHelper.d.ts +0 -18
- package/dist/libs/common/src/react/utils/TimeHelper.d.ts +0 -8
- package/dist/libs/shared/src/apps/notifications/enums/NotificationType.d.ts +0 -18
- package/dist/libs/shared/src/apps/search/interfaces/FilterProps.d.ts +0 -8
- package/dist/libs/shared/src/apps/search/interfaces/SearchFilter.d.ts +0 -29
- package/dist/libs/shared/src/apps/search/interfaces/SearchResults.d.ts +0 -26
- package/dist/libs/shared/src/apps/search/interfaces/SearchTypes.d.ts +0 -26
- package/dist/libs/shared/src/apps/search/interfaces/index.d.ts +0 -4
- package/dist/libs/shared/src/apps/search/reducers/FilterReducer.d.ts +0 -36
- package/dist/libs/shared/src/apps/search/reducers/index.d.ts +0 -1
- package/dist/libs/shared/src/apps/upload/constants/UploadConstants.d.ts +0 -43
- package/dist/libs/shared/src/components/actions/ActionButton.d.ts +0 -21
- package/dist/libs/shared/src/components/actions/Actions.d.ts +0 -30
- package/dist/libs/shared/src/components/actions/ActionsDropdown.d.ts +0 -15
- package/dist/libs/shared/src/components/app-link/AppLink.d.ts +0 -23
- package/dist/libs/shared/src/components/avatar/Avatar.d.ts +0 -8
- package/dist/libs/shared/src/components/div-button/DivButton.d.ts +0 -10
- package/dist/libs/shared/src/components/feedback-tooltip/FeedbackTooltip.d.ts +0 -6
- package/dist/libs/shared/src/components/icon-button/IconButton.d.ts +0 -24
- package/dist/libs/shared/src/components/image/BaseImage.d.ts +0 -21
- package/dist/libs/shared/src/components/image-cropper/SimpleCropper.d.ts +0 -15
- package/dist/libs/shared/src/components/immersive-reader/ImmersiveReader.d.ts +0 -16
- package/dist/libs/shared/src/components/interaction-answers/multiple-choice/MultipleChoiceInteractionAnswers.d.ts +0 -29
- package/dist/libs/shared/src/components/interaction-answers/true-or-false/TrueOrFalseInteractionAnswers.d.ts +0 -29
- package/dist/libs/shared/src/components/interaction-response/InteractionResponse.d.ts +0 -19
- package/dist/libs/shared/src/components/interaction-response/InteractionResponseCorrectness.d.ts +0 -7
- package/dist/libs/shared/src/components/interaction-response/InteractionStudentDetailsHeader.d.ts +0 -10
- package/dist/libs/shared/src/components/interaction-response/MarkResponse.d.ts +0 -12
- package/dist/libs/shared/src/components/interaction-response/response-types/MissingWordResponse.d.ts +0 -3
- package/dist/libs/shared/src/components/interaction-response/response-types/MultipleChoiceResponse.d.ts +0 -3
- package/dist/libs/shared/src/components/interaction-response/response-types/NoResponse.d.ts +0 -2
- package/dist/libs/shared/src/components/interaction-response/response-types/ResponseComponentLookup.d.ts +0 -15
- package/dist/libs/shared/src/components/interaction-response/response-types/ShortAnswerResponse.d.ts +0 -3
- package/dist/libs/shared/src/components/interaction-response/response-types/TrueOrFalseResponse.d.ts +0 -3
- package/dist/libs/shared/src/components/interactive-questions/InteractionLabel.d.ts +0 -21
- package/dist/libs/shared/src/components/interactive-questions/InteractiveQuestions.d.ts +0 -12
- package/dist/libs/shared/src/components/interactive-questions/formatAnnotationText.d.ts +0 -1
- package/dist/libs/shared/src/components/lazy-image/LazyImage.d.ts +0 -8
- package/dist/libs/shared/src/components/popup/Popup.d.ts +0 -37
- package/dist/libs/shared/src/components/popup/PopupButtons.d.ts +0 -15
- package/dist/libs/shared/src/components/popup/PopupLoadingSpinner.d.ts +0 -2
- package/dist/libs/shared/src/components/spinner-button/SpinnerButton.d.ts +0 -8
- package/dist/libs/shared/src/components/svg-container/SvgContainer.d.ts +0 -23
- package/dist/libs/shared/src/components/svgs/interaction-types/InteractionTypes.d.ts +0 -7
- package/dist/libs/shared/src/components/text/Text.d.ts +0 -20
- package/dist/libs/shared/src/components/tooltip/Tooltip.d.ts +0 -19
- package/dist/libs/shared/src/components/widgets/items/FixedWidgetItemProps.d.ts +0 -18
- package/dist/libs/shared/src/components/widgets/items/resource-widget-item/ResourceWidgetItem.d.ts +0 -17
- package/dist/libs/shared/src/constants/AppVariables.d.ts +0 -5
- package/dist/libs/shared/src/constants/ImageSizes.d.ts +0 -8
- package/dist/libs/shared/src/constants/RadioChannels.d.ts +0 -20
- package/dist/libs/shared/src/enums/ClassificationStatus.d.ts +0 -5
- package/dist/libs/shared/src/enums/ClassificationType.d.ts +0 -8
- package/dist/libs/shared/src/enums/ContentRegion.d.ts +0 -8
- package/dist/libs/shared/src/enums/CountryCode.d.ts +0 -6
- package/dist/libs/shared/src/enums/CurationStatus.d.ts +0 -12
- package/dist/libs/shared/src/enums/CurriculumType.d.ts +0 -6
- package/dist/libs/shared/src/enums/CustomerType.d.ts +0 -13
- package/dist/libs/shared/src/enums/GlanceFormat.d.ts +0 -3
- package/dist/libs/shared/src/enums/Images.d.ts +0 -29
- package/dist/libs/shared/src/enums/InstanceRegion.d.ts +0 -6
- package/dist/libs/shared/src/enums/InteractionCorrectness.d.ts +0 -8
- package/dist/libs/shared/src/enums/InteractiveAnswerStatus.d.ts +0 -5
- package/dist/libs/shared/src/enums/InteractiveOriginType.d.ts +0 -4
- package/dist/libs/shared/src/enums/LibraryType.d.ts +0 -5
- package/dist/libs/shared/src/enums/MasterType.d.ts +0 -62
- package/dist/libs/shared/src/enums/MediaQueries.d.ts +0 -20
- package/dist/libs/shared/src/enums/ObjectStatus.d.ts +0 -5
- package/dist/libs/shared/src/enums/PlaylistPrivacy.d.ts +0 -5
- package/dist/libs/shared/src/enums/PresentationStatus.d.ts +0 -4
- package/dist/libs/shared/src/enums/PresentationType.d.ts +0 -4
- package/dist/libs/shared/src/enums/ProductId.d.ts +0 -7
- package/dist/libs/shared/src/enums/ResourceFileType.d.ts +0 -9
- package/dist/libs/shared/src/enums/SettingKind.d.ts +0 -4
- package/dist/libs/shared/src/enums/SettingName.d.ts +0 -34
- package/dist/libs/shared/src/enums/ShareActivityStatus.d.ts +0 -5
- package/dist/libs/shared/src/enums/ShareIntegration.d.ts +0 -4
- package/dist/libs/shared/src/enums/ShareLinkStatus.d.ts +0 -4
- package/dist/libs/shared/src/enums/ShareType.d.ts +0 -4
- package/dist/libs/shared/src/enums/StaffRequestRole.d.ts +0 -5
- package/dist/libs/shared/src/enums/SupportArticle.d.ts +0 -16
- package/dist/libs/shared/src/enums/TagType.d.ts +0 -3
- package/dist/libs/shared/src/enums/ThemeType.d.ts +0 -3
- package/dist/libs/shared/src/enums/UserGroup.d.ts +0 -5
- package/dist/libs/shared/src/enums/UserRole.d.ts +0 -15
- package/dist/libs/shared/src/enums/WidgetContents.d.ts +0 -13
- package/dist/libs/shared/src/errors/primitives/DialogError.d.ts +0 -9
- package/dist/libs/shared/src/hooks/UseGetMediaQueryString.d.ts +0 -2
- package/dist/libs/shared/src/hooks/UseGrabCursorProps.d.ts +0 -15
- package/dist/libs/shared/src/hooks/UseLazyLoad.d.ts +0 -22
- package/dist/libs/shared/src/hooks/UseMediaQuery.d.ts +0 -1
- package/dist/libs/shared/src/hooks/UseVideoDragDropState.d.ts +0 -6
- package/dist/libs/shared/src/hooks/useNavLock.d.ts +0 -14
- package/dist/libs/shared/src/images/svg/ImportedSvgs.d.ts +0 -105
- package/dist/libs/shared/src/images/svg/actions/index.d.ts +0 -28
- package/dist/libs/shared/src/images/svg/arrows/index.d.ts +0 -9
- package/dist/libs/shared/src/images/svg/index.d.ts +0 -2
- package/dist/libs/shared/src/images/svg/objects/index.d.ts +0 -50
- package/dist/libs/shared/src/images/svg/settings.d.ts +0 -1
- package/dist/libs/shared/src/images/svg/status/index.d.ts +0 -14
- package/dist/libs/shared/src/interfaces/AppLinkWithLabel.d.ts +0 -5
- package/dist/libs/shared/src/interfaces/CurriculumData.d.ts +0 -8
- package/dist/libs/shared/src/interfaces/DateRange.d.ts +0 -8
- package/dist/libs/shared/src/interfaces/DefaultPlaybackQuality.d.ts +0 -1
- package/dist/libs/shared/src/interfaces/DialogOptions.d.ts +0 -13
- package/dist/libs/shared/src/interfaces/FavouriteFunc.d.ts +0 -2
- package/dist/libs/shared/src/interfaces/ImageUrls.d.ts +0 -16
- package/dist/libs/shared/src/interfaces/Integration.d.ts +0 -8
- package/dist/libs/shared/src/interfaces/QueryParams.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/RegionalUrl.d.ts +0 -6
- package/dist/libs/shared/src/interfaces/SetActivityStatusFunc.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/VideoTypes.d.ts +0 -2
- package/dist/libs/shared/src/interfaces/WidgetContext.d.ts +0 -9
- package/dist/libs/shared/src/interfaces/app-variables/BaseNotificationsAppVariables.d.ts +0 -19
- package/dist/libs/shared/src/interfaces/app-variables/BaseSearchAppVariables.d.ts +0 -18
- package/dist/libs/shared/src/interfaces/app-variables/index.d.ts +0 -2
- package/dist/libs/shared/src/interfaces/collections/AudienceCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/CategoryCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/ClassificationCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/ClassroomCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/ClassroomGroupCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/ClipCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/CompanyCollection.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/collections/CustomerCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/DirectShareCollection.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/collections/FolderCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/InteractiveCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/LibraryCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/LinkCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/PersonCollection.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/collections/PlaylistCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/PointOfInterestCollection.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/collections/PresentationAudienceCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/ResourceCollection.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/collections/SeriesCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/SubtitleCollection.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/collections/TagCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/UnionShareObjectCollection.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/collections/UserCollection.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/collections/VideoCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/VideoHistoryCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/WidgetCollection.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/collections/YearGroupCollection.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/collections/index.d.ts +0 -29
- package/dist/libs/shared/src/interfaces/collections/primitives/BasePaginatedCollection.d.ts +0 -7
- package/dist/libs/shared/src/interfaces/collections/primitives/index.d.ts +0 -1
- package/dist/libs/shared/src/interfaces/index.d.ts +0 -21
- package/dist/libs/shared/src/interfaces/models/Audience.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/Avatar.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/Banner.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/BaseShareObject.d.ts +0 -13
- package/dist/libs/shared/src/interfaces/models/Category.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/CategoryTree.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/Channel.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/Classification.d.ts +0 -23
- package/dist/libs/shared/src/interfaces/models/Classroom.d.ts +0 -11
- package/dist/libs/shared/src/interfaces/models/ClassroomGroup.d.ts +0 -17
- package/dist/libs/shared/src/interfaces/models/Clip.d.ts +0 -18
- package/dist/libs/shared/src/interfaces/models/Company.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/Config.d.ts +0 -28
- package/dist/libs/shared/src/interfaces/models/ContentRegionObject.d.ts +0 -5
- package/dist/libs/shared/src/interfaces/models/Country.d.ts +0 -5
- package/dist/libs/shared/src/interfaces/models/Cover.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/Curriculum.d.ts +0 -16
- package/dist/libs/shared/src/interfaces/models/Customer.d.ts +0 -10
- package/dist/libs/shared/src/interfaces/models/Dashboard.d.ts +0 -8
- package/dist/libs/shared/src/interfaces/models/DirectShare.d.ts +0 -9
- package/dist/libs/shared/src/interfaces/models/EntitySetting.d.ts +0 -9
- package/dist/libs/shared/src/interfaces/models/FileUpload.d.ts +0 -20
- package/dist/libs/shared/src/interfaces/models/Folder.d.ts +0 -7
- package/dist/libs/shared/src/interfaces/models/Following.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/models/Glance.d.ts +0 -9
- package/dist/libs/shared/src/interfaces/models/Group.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/HeroBanner.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/Image.d.ts +0 -7
- package/dist/libs/shared/src/interfaces/models/InteractiveMetadata.d.ts +0 -30
- package/dist/libs/shared/src/interfaces/models/Language.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/models/LanguageConfig.d.ts +0 -5
- package/dist/libs/shared/src/interfaces/models/Library.d.ts +0 -10
- package/dist/libs/shared/src/interfaces/models/Link.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/models/Logo.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/MasterNestedObject.d.ts +0 -5
- package/dist/libs/shared/src/interfaces/models/Organisation.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/Pdf.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/models/Person.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/PlayerViewKey.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/Playlist.d.ts +0 -22
- package/dist/libs/shared/src/interfaces/models/PointOfInterest.d.ts +0 -6
- package/dist/libs/shared/src/interfaces/models/Poster.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/Presentation.d.ts +0 -9
- package/dist/libs/shared/src/interfaces/models/PresentationAudience.d.ts +0 -6
- package/dist/libs/shared/src/interfaces/models/Product.d.ts +0 -8
- package/dist/libs/shared/src/interfaces/models/Rating.d.ts +0 -5
- package/dist/libs/shared/src/interfaces/models/Resource.d.ts +0 -17
- package/dist/libs/shared/src/interfaces/models/Restriction.d.ts +0 -6
- package/dist/libs/shared/src/interfaces/models/Season.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/models/Series.d.ts +0 -13
- package/dist/libs/shared/src/interfaces/models/Share.d.ts +0 -9
- package/dist/libs/shared/src/interfaces/models/ShareLink.d.ts +0 -13
- package/dist/libs/shared/src/interfaces/models/ShareRecipient.d.ts +0 -6
- package/dist/libs/shared/src/interfaces/models/Subject.d.ts +0 -13
- package/dist/libs/shared/src/interfaces/models/Subtitle.d.ts +0 -7
- package/dist/libs/shared/src/interfaces/models/Tag.d.ts +0 -8
- package/dist/libs/shared/src/interfaces/models/TallPoster.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/Theme.d.ts +0 -23
- package/dist/libs/shared/src/interfaces/models/Thumbnail.d.ts +0 -6
- package/dist/libs/shared/src/interfaces/models/UnionShareObject.d.ts +0 -2
- package/dist/libs/shared/src/interfaces/models/User.d.ts +0 -112
- package/dist/libs/shared/src/interfaces/models/UserChannel.d.ts +0 -7
- package/dist/libs/shared/src/interfaces/models/Video.d.ts +0 -49
- package/dist/libs/shared/src/interfaces/models/VideoHistory.d.ts +0 -14
- package/dist/libs/shared/src/interfaces/models/Widget.d.ts +0 -16
- package/dist/libs/shared/src/interfaces/models/YearGroup.d.ts +0 -7
- package/dist/libs/shared/src/interfaces/models/index.d.ts +0 -70
- package/dist/libs/shared/src/interfaces/models/interactive/ActionableItem.d.ts +0 -6
- package/dist/libs/shared/src/interfaces/models/interactive/Interaction.d.ts +0 -14
- package/dist/libs/shared/src/interfaces/models/interactive/InteractionTypeId.d.ts +0 -8
- package/dist/libs/shared/src/interfaces/models/interactive/Interactive.d.ts +0 -7
- package/dist/libs/shared/src/interfaces/models/interactive/Timepoint.d.ts +0 -9
- package/dist/libs/shared/src/interfaces/models/interactive/index.d.ts +0 -5
- package/dist/libs/shared/src/interfaces/models/interactive-results/InteractiveResult.d.ts +0 -5
- package/dist/libs/shared/src/interfaces/models/interactive-results/InteractiveResultSet.d.ts +0 -11
- package/dist/libs/shared/src/interfaces/models/interactive-results/StudentAnswer.d.ts +0 -9
- package/dist/libs/shared/src/interfaces/models/interactive-results/StudentAttempt.d.ts +0 -6
- package/dist/libs/shared/src/interfaces/models/interactive-results/StudentResult.d.ts +0 -7
- package/dist/libs/shared/src/interfaces/models/interactive-results/index.d.ts +0 -5
- package/dist/libs/shared/src/interfaces/models/primitives/BaseObject.d.ts +0 -10
- package/dist/libs/shared/src/interfaces/models/primitives/VirtualObject.d.ts +0 -5
- package/dist/libs/shared/src/interfaces/models/primitives/index.d.ts +0 -2
- package/dist/libs/shared/src/interfaces/props/ViewProps.d.ts +0 -8
- package/dist/libs/shared/src/interfaces/props/index.d.ts +0 -1
- package/dist/libs/shared/src/interfaces/requests/CreateInteractiveMetadataRequest.d.ts +0 -12
- package/dist/libs/shared/src/interfaces/requests/CreateInteractiveRequest.d.ts +0 -5
- package/dist/libs/shared/src/interfaces/requests/CreateOrUpdateClipRequest.d.ts +0 -6
- package/dist/libs/shared/src/interfaces/requests/EditDetailsRequest.d.ts +0 -5
- package/dist/libs/shared/src/interfaces/requests/EditInteractiveMetadataOriginRequest.d.ts +0 -5
- package/dist/libs/shared/src/interfaces/requests/EditInteractiveMetadataRequest.d.ts +0 -6
- package/dist/libs/shared/src/interfaces/requests/EditInteractiveRequest.d.ts +0 -6
- package/dist/libs/shared/src/interfaces/requests/ReorderRequest.d.ts +0 -12
- package/dist/libs/shared/src/interfaces/requests/UpdateObjectChannel.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/requests/UpdateObjectRating.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/requests/UpdateResourceRequest.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/requests/UpdateVideoRequest.d.ts +0 -9
- package/dist/libs/shared/src/interfaces/requests/index.d.ts +0 -12
- package/dist/libs/shared/src/interfaces/responses/ShareSearchResponse.d.ts +0 -5
- package/dist/libs/shared/src/interfaces/responses/UnionWrapper.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/responses/index.d.ts +0 -2
- package/dist/libs/shared/src/interfaces/services/BaseConfigDataService.d.ts +0 -5
- package/dist/libs/shared/src/interfaces/services/BaseLibraryDataService.d.ts +0 -5
- package/dist/libs/shared/src/interfaces/services/BaseSeriesDataService.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/services/BaseSettingsDataService.d.ts +0 -7
- package/dist/libs/shared/src/interfaces/services/BaseUserDataService.d.ts +0 -6
- package/dist/libs/shared/src/interfaces/services/BaseVideoDataService.d.ts +0 -5
- package/dist/libs/shared/src/interfaces/services/BaseVideoUploadDataService.d.ts +0 -8
- package/dist/libs/shared/src/interfaces/services/index.d.ts +0 -7
- package/dist/libs/shared/src/utils/ArticleHelper.d.ts +0 -5
- package/dist/libs/shared/src/utils/DialogHelper.d.ts +0 -25
- package/dist/libs/shared/src/utils/DurationHelper.d.ts +0 -7
- package/dist/libs/shared/src/utils/ImageHelper.d.ts +0 -33
- package/dist/libs/shared/src/utils/ImageSelectHelper.d.ts +0 -7
- package/dist/libs/shared/src/utils/InteractiveCorrectnessHelper.d.ts +0 -18
- package/dist/libs/shared/src/utils/InteractiveHelper.d.ts +0 -12
- package/dist/libs/shared/src/utils/SvgHelper.d.ts +0 -18
- package/dist/libs/shared/src/utils/UserHelper.d.ts +0 -20
- package/dist/libs/shared/src/utils/interaction-type-helper/InteractionTypeHelper.d.ts +0 -16
- package/dist/player-app.js +0 -89
- package/dist/projects/player/src/components/chapter-bar-items/chapter-bar-item.d.ts +0 -80
- package/dist/projects/player/src/components/chapter-bar-items/chapter-bar-items.d.ts +0 -56
- package/dist/projects/player/src/components/chapter-bar-items/chapter-bar-load-progress.d.ts +0 -55
- package/dist/projects/player/src/components/chapter-bar-items/chapter-bar-play-progress.d.ts +0 -55
- package/dist/projects/player/src/components/chapter-seek-bar/chapter-seek-bar.d.ts +0 -1
- package/dist/projects/player/src/components/chapters-button/chapter-menu-item.d.ts +0 -60
- package/dist/projects/player/src/components/chapters-button/chapters-button.d.ts +0 -1
- package/dist/projects/player/src/components/cog-button/cog-button.d.ts +0 -49
- package/dist/projects/player/src/components/cog-button/collapsible-heading-menu-item.d.ts +0 -15
- package/dist/projects/player/src/components/collapserator/collapserator.d.ts +0 -6
- package/dist/projects/player/src/components/keyboard-shortcuts-button/keyboard-shortcuts-button.d.ts +0 -1
- package/dist/projects/player/src/components/landing-splash/landing-splash.d.ts +0 -65
- package/dist/projects/player/src/components/landing-splash/metadata/splash-metadata.d.ts +0 -63
- package/dist/projects/player/src/components/landing-splash/metadata/splash-title/splash-title.d.ts +0 -62
- package/dist/projects/player/src/components/landing-splash/metadata/splash-warning/splash-warning.d.ts +0 -60
- package/dist/projects/player/src/components/logo/clickview-logo.d.ts +0 -1
- package/dist/projects/player/src/components/menu/menu.d.ts +0 -23
- package/dist/projects/player/src/components/menu-button/menu-button.d.ts +0 -1
- package/dist/projects/player/src/components/mouse-time-display/mouse-time-display.d.ts +0 -16
- package/dist/projects/player/src/components/next-video-menu-item/next-video-menu-item.d.ts +0 -1
- package/dist/projects/player/src/components/play-pause-feedback/play-pause-feedback.d.ts +0 -1
- package/dist/projects/player/src/components/play-toggle/play-toggle.d.ts +0 -1
- package/dist/projects/player/src/components/playback-rate-button/playback-rate-button.d.ts +0 -1
- package/dist/projects/player/src/components/player/player.d.ts +0 -17
- package/dist/projects/player/src/components/progress-control/progress-control.d.ts +0 -12
- package/dist/projects/player/src/components/quality-selector/quality-button.d.ts +0 -1
- package/dist/projects/player/src/components/quality-selector/quality-menu-item.d.ts +0 -19
- package/dist/projects/player/src/components/seek-bar/seek-bar.d.ts +0 -1
- package/dist/projects/player/src/components/subs-caps-button/SubCapsMenuItem.d.ts +0 -52
- package/dist/projects/player/src/components/subs-caps-button/subs-caps-button.d.ts +0 -1
- package/dist/projects/player/src/components/subs-caps-button/subtitle-search-menu-item.d.ts +0 -55
- package/dist/projects/player/src/components/subs-caps-button/subtitle-size-menu-item.d.ts +0 -53
- package/dist/projects/player/src/components/subtitle-search-button/subtitle-result-menu-item.d.ts +0 -15
- package/dist/projects/player/src/components/subtitle-search-button/subtitle-search-button.d.ts +0 -32
- package/dist/projects/player/src/components/subtitle-search-button/subtitle-search-input.d.ts +0 -28
- package/dist/projects/player/src/components/subtitle-size-button/subtitle-size-button.d.ts +0 -1
- package/dist/projects/player/src/components/text-track-button/off-text-track-menu-item.d.ts +0 -1
- package/dist/projects/player/src/components/text-track-button/text-track-button.d.ts +0 -1
- package/dist/projects/player/src/components/text-track-settings/text-track-settings.d.ts +0 -56
- package/dist/projects/player/src/components/thumbnail-display/thumbnail-display.d.ts +0 -67
- package/dist/projects/player/src/components/time-tooltip/time-tooltip.d.ts +0 -17
- package/dist/projects/player/src/components/time-wrapper/time-wrapper.d.ts +0 -1
- package/dist/projects/player/src/index.d.ts +0 -9
- package/dist/projects/player/src/interfaces/CollapsibleComponent.d.ts +0 -10
- package/dist/projects/player/src/interfaces/NextVideo.d.ts +0 -4
- package/dist/projects/player/src/interfaces/models/ApiError.d.ts +0 -4
- package/dist/projects/player/src/interfaces/models/ClipData.d.ts +0 -4
- package/dist/projects/player/src/interfaces/models/Config.d.ts +0 -7
- package/dist/projects/player/src/interfaces/models/PlaybackObject.d.ts +0 -69
- package/dist/projects/player/src/players/base-player.d.ts +0 -114
- package/dist/projects/player/src/players/create-clip-player.d.ts +0 -20
- package/dist/projects/player/src/players/interactive-player.d.ts +0 -53
- package/dist/projects/player/src/players/player.d.ts +0 -29
- package/dist/projects/player/src/players/reports/reports-player.d.ts +0 -23
- package/dist/projects/player/src/plugins/activity-status-plugin/activity-status-plugin.d.ts +0 -29
- package/dist/projects/player/src/plugins/activity-status-plugin/components/activity-status-button.d.ts +0 -20
- package/dist/projects/player/src/plugins/chromecast-plugin/chromecast-plugin.d.ts +0 -11
- package/dist/projects/player/src/plugins/chromecast-plugin/components/chromecast-button.d.ts +0 -1
- package/dist/projects/player/src/plugins/chromecast-plugin/session-manager.d.ts +0 -73
- package/dist/projects/player/src/plugins/chromecast-plugin/tech/chromecast-tech-ui/chromecast-tech-ui.d.ts +0 -67
- package/dist/projects/player/src/plugins/chromecast-plugin/tech/chromecast-tech.d.ts +0 -1
- package/dist/projects/player/src/plugins/clip-plugin/clip-plugin.d.ts +0 -50
- package/dist/projects/player/src/plugins/create-clip-button-plugin/components/create-clip-button.d.ts +0 -1
- package/dist/projects/player/src/plugins/create-clip-button-plugin/create-clip-button-plugin.d.ts +0 -10
- package/dist/projects/player/src/plugins/create-clip-plugin/components/clip-timepoint-selector/clip-timepoint-selector-handle.d.ts +0 -54
- package/dist/projects/player/src/plugins/create-clip-plugin/components/clip-timepoint-selector/clip-timepoint-selector.d.ts +0 -93
- package/dist/projects/player/src/plugins/create-clip-plugin/components/create-clip-progress-indicator/create-clip-progress-indicator.d.ts +0 -67
- package/dist/projects/player/src/plugins/create-clip-plugin/components/create-clip-seek-bar/create-clip-seek-bar.d.ts +0 -14
- package/dist/projects/player/src/plugins/create-clip-plugin/create-clip-plugin.d.ts +0 -14
- package/dist/projects/player/src/plugins/engagement-overlay-plugin/components/engagement-overlay/engagement-overlay-chart-options.d.ts +0 -7
- package/dist/projects/player/src/plugins/engagement-overlay-plugin/components/engagement-overlay/engagement-overlay.d.ts +0 -73
- package/dist/projects/player/src/plugins/engagement-overlay-plugin/components/engagement-overlay-menu-item/engagement-overlay-menu-item.d.ts +0 -31
- package/dist/projects/player/src/plugins/engagement-overlay-plugin/components/timepoint-interactions/timepoint-interactions.d.ts +0 -8
- package/dist/projects/player/src/plugins/engagement-overlay-plugin/engagement-overlay-plugin.d.ts +0 -35
- package/dist/projects/player/src/plugins/favourite-plugin/components/favourite-button.d.ts +0 -19
- package/dist/projects/player/src/plugins/favourite-plugin/favourite-plugin.d.ts +0 -28
- package/dist/projects/player/src/plugins/fullscreen-on-rotate-plugin/fullscreen-on-rotate-plugin.d.ts +0 -30
- package/dist/projects/player/src/plugins/interactive-plugin/components/add-question-button/add-question-button.d.ts +0 -8
- package/dist/projects/player/src/plugins/interactive-plugin/components/continue-session/continue-session.d.ts +0 -8
- package/dist/projects/player/src/plugins/interactive-plugin/components/create-components/create-annotation/create-annotation-helpers.d.ts +0 -9
- package/dist/projects/player/src/plugins/interactive-plugin/components/create-components/create-annotation/create-annotation-link.d.ts +0 -13
- package/dist/projects/player/src/plugins/interactive-plugin/components/create-components/create-annotation/create-annotation.d.ts +0 -12
- package/dist/projects/player/src/plugins/interactive-plugin/components/create-components/create-components.d.ts +0 -7
- package/dist/projects/player/src/plugins/interactive-plugin/components/create-components/create-error-feedback/create-error-feedback.d.ts +0 -6
- package/dist/projects/player/src/plugins/interactive-plugin/components/create-components/create-image/create-image-cropper.d.ts +0 -15
- package/dist/projects/player/src/plugins/interactive-plugin/components/create-components/create-image/create-image.d.ts +0 -15
- package/dist/projects/player/src/plugins/interactive-plugin/components/create-components/create-image/upload-image-dropzone.d.ts +0 -6
- package/dist/projects/player/src/plugins/interactive-plugin/components/create-components/create-image/upload-image-icon.d.ts +0 -2
- package/dist/projects/player/src/plugins/interactive-plugin/components/create-components/create-interaction-buttons/create-interaction-buttons.d.ts +0 -14
- package/dist/projects/player/src/plugins/interactive-plugin/components/create-components/create-interaction-heading/create-interaction-heading.d.ts +0 -12
- package/dist/projects/player/src/plugins/interactive-plugin/components/create-components/create-missing-word/create-missing-word.d.ts +0 -18
- package/dist/projects/player/src/plugins/interactive-plugin/components/create-components/create-multiple-choice/create-multiple-choice.d.ts +0 -18
- package/dist/projects/player/src/plugins/interactive-plugin/components/create-components/create-multiple-choice/multiple-choice-answer.d.ts +0 -9
- package/dist/projects/player/src/plugins/interactive-plugin/components/create-components/create-short-answer/create-short-answer.d.ts +0 -11
- package/dist/projects/player/src/plugins/interactive-plugin/components/create-components/create-type-selector/create-type-selector.d.ts +0 -15
- package/dist/projects/player/src/plugins/interactive-plugin/components/feedback/feedback.d.ts +0 -7
- package/dist/projects/player/src/plugins/interactive-plugin/components/interaction-actions/interaction-actions.d.ts +0 -13
- package/dist/projects/player/src/plugins/interactive-plugin/components/interaction-footer/interaction-footer.d.ts +0 -20
- package/dist/projects/player/src/plugins/interactive-plugin/components/interaction-header/interaction-header.d.ts +0 -14
- package/dist/projects/player/src/plugins/interactive-plugin/components/interactive/interactive-component.d.ts +0 -1
- package/dist/projects/player/src/plugins/interactive-plugin/components/interactive-actions/interactive-actions.d.ts +0 -11
- package/dist/projects/player/src/plugins/interactive-plugin/components/interactive-icon-button/interactive-icon-button.d.ts +0 -8
- package/dist/projects/player/src/plugins/interactive-plugin/components/interactive-summary/InteractiveSummaryWrapper.d.ts +0 -22
- package/dist/projects/player/src/plugins/interactive-plugin/components/interactive-summary/getstudentAttempts.d.ts +0 -14
- package/dist/projects/player/src/plugins/interactive-plugin/components/interactive-summary/interaction-summary/interaction-summary.d.ts +0 -15
- package/dist/projects/player/src/plugins/interactive-plugin/components/interactive-summary/interactions-bar/interactions-bar.d.ts +0 -9
- package/dist/projects/player/src/plugins/interactive-plugin/components/interactive-summary/interactive-summary.d.ts +0 -23
- package/dist/projects/player/src/plugins/interactive-plugin/components/interactive-summary/progress-summary/progress-summary.d.ts +0 -12
- package/dist/projects/player/src/plugins/interactive-plugin/components/interactive-summary/show-summary-button/show-summary-button.d.ts +0 -13
- package/dist/projects/player/src/plugins/interactive-plugin/components/move-timepoint/move-timepoint.d.ts +0 -12
- package/dist/projects/player/src/plugins/interactive-plugin/components/question-list/question-list-empty-state.d.ts +0 -8
- package/dist/projects/player/src/plugins/interactive-plugin/components/question-list/question-list.d.ts +0 -15
- package/dist/projects/player/src/plugins/interactive-plugin/components/reorder-interactions/reorder-interactions.d.ts +0 -9
- package/dist/projects/player/src/plugins/interactive-plugin/components/seek-bar/interactive-bar-item.d.ts +0 -20
- package/dist/projects/player/src/plugins/interactive-plugin/components/seek-bar/interactive-bar-items.d.ts +0 -66
- package/dist/projects/player/src/plugins/interactive-plugin/components/sliding-timepoint/sliding-timepoints.d.ts +0 -12
- package/dist/projects/player/src/plugins/interactive-plugin/components/timepoint/timepoint-component.d.ts +0 -40
- package/dist/projects/player/src/plugins/interactive-plugin/components/view-components/annotation/annotation-interaction.d.ts +0 -3
- package/dist/projects/player/src/plugins/interactive-plugin/components/view-components/image/image-interaction.d.ts +0 -4
- package/dist/projects/player/src/plugins/interactive-plugin/components/view-components/interactive-immersive-reader/interactive-immersive-reader.d.ts +0 -8
- package/dist/projects/player/src/plugins/interactive-plugin/components/view-components/missing-word/missing-word-interaction.d.ts +0 -13
- package/dist/projects/player/src/plugins/interactive-plugin/components/view-components/multiple-choice/multiple-choice-interaction.d.ts +0 -13
- package/dist/projects/player/src/plugins/interactive-plugin/components/view-components/short-answer/short-answer-interaction.d.ts +0 -11
- package/dist/projects/player/src/plugins/interactive-plugin/components/view-components/true-or-false/true-or-false-interaction.d.ts +0 -12
- package/dist/projects/player/src/plugins/interactive-plugin/components/view-components/view-components.d.ts +0 -12
- package/dist/projects/player/src/plugins/interactive-plugin/components/view-components/view-error-feedback/view-error-feedback.d.ts +0 -6
- package/dist/projects/player/src/plugins/interactive-plugin/components/view-components/view-interaction-buttons/view-iteraction-buttons.d.ts +0 -14
- package/dist/projects/player/src/plugins/interactive-plugin/components/view-components/view-interaction-heading/view-interaction-heading.d.ts +0 -8
- package/dist/projects/player/src/plugins/interactive-plugin/errors/ReconnectionError.d.ts +0 -8
- package/dist/projects/player/src/plugins/interactive-plugin/grade-passback-plugin.d.ts +0 -29
- package/dist/projects/player/src/plugins/interactive-plugin/hooks/useInteractiveState.d.ts +0 -26
- package/dist/projects/player/src/plugins/interactive-plugin/hooks/useInteractiveTrack.d.ts +0 -23
- package/dist/projects/player/src/plugins/interactive-plugin/hooks/useLockPlayer.d.ts +0 -15
- package/dist/projects/player/src/plugins/interactive-plugin/hooks/useStateManager.d.ts +0 -47
- package/dist/projects/player/src/plugins/interactive-plugin/interactive-plugin.d.ts +0 -59
- package/dist/projects/player/src/plugins/interactive-plugin/interactive-seek-bar-plugin.d.ts +0 -38
- package/dist/projects/player/src/plugins/interactive-plugin/interfaces/InteractionComponent.d.ts +0 -3
- package/dist/projects/player/src/plugins/interactive-plugin/interfaces/InteractionProps.d.ts +0 -16
- package/dist/projects/player/src/plugins/interactive-plugin/interfaces/InteractionResult.d.ts +0 -4
- package/dist/projects/player/src/plugins/interactive-plugin/interfaces/InteractiveMode.d.ts +0 -4
- package/dist/projects/player/src/plugins/interactive-plugin/interfaces/InteractiveState.d.ts +0 -30
- package/dist/projects/player/src/plugins/interactive-plugin/interfaces/LatestSession.d.ts +0 -11
- package/dist/projects/player/src/plugins/interactive-plugin/interfaces/ResultSubmission.d.ts +0 -2
- package/dist/projects/player/src/plugins/interactive-plugin/interfaces/SubmissionFunction.d.ts +0 -4
- package/dist/projects/player/src/plugins/interactive-plugin/interfaces/index.d.ts +0 -8
- package/dist/projects/player/src/plugins/interactive-plugin/utils/InteractiveReducer.d.ts +0 -14
- package/dist/projects/player/src/plugins/interactive-plugin/utils/ResultsService.d.ts +0 -29
- package/dist/projects/player/src/plugins/interactive-plugin/utils/getInteractionComponents.d.ts +0 -3
- package/dist/projects/player/src/plugins/interactive-plugin/utils/getInteractionStateId.d.ts +0 -2
- package/dist/projects/player/src/plugins/interactive-plugin/utils/getTimepointStateId.d.ts +0 -2
- package/dist/projects/player/src/plugins/interactive-plugin/utils/helpers.d.ts +0 -5
- package/dist/projects/player/src/plugins/interactive-plugin/utils/interactive-ajax.d.ts +0 -10
- package/dist/projects/player/src/plugins/localcache-plugin/LocalCache.d.ts +0 -12
- package/dist/projects/player/src/plugins/localcache-plugin/compontents/local-cache-indicator.d.ts +0 -2
- package/dist/projects/player/src/plugins/localcache-plugin/localcache-middleware.d.ts +0 -1
- package/dist/projects/player/src/plugins/localcache-plugin/localcache-plugin.d.ts +0 -62
- package/dist/projects/player/src/plugins/next-video-plugin/components/up-next/up-next.d.ts +0 -1
- package/dist/projects/player/src/plugins/next-video-plugin/next-video-plugin.d.ts +0 -45
- package/dist/projects/player/src/plugins/open-externally-plugin/components/open-externally-button.d.ts +0 -1
- package/dist/projects/player/src/plugins/open-externally-plugin/interfaces/ExternalLinkOptions.d.ts +0 -3
- package/dist/projects/player/src/plugins/open-externally-plugin/open-externally-plugin.d.ts +0 -31
- package/dist/projects/player/src/plugins/persist-quality-settings-plugin/persist-quality-settings-plugin.d.ts +0 -34
- package/dist/projects/player/src/plugins/persist-subtitle-settings-plugin/persist-subtitle-settings-plugin.d.ts +0 -37
- package/dist/projects/player/src/plugins/persist-volume-plugin/persist-volume-plugin.d.ts +0 -26
- package/dist/projects/player/src/plugins/persist-volume-plugin/persist-volume-plugin.test.d.ts +0 -1
- package/dist/projects/player/src/plugins/picture-in-picture-plugin/picture-in-picture-plugin.d.ts +0 -48
- package/dist/projects/player/src/plugins/points-of-interest-plugin/components/point-of-interest-indicator/point-of-interest-indicator.d.ts +0 -99
- package/dist/projects/player/src/plugins/points-of-interest-plugin/components/points-of-interest-menu-item/points-of-interest-menu-item.d.ts +0 -31
- package/dist/projects/player/src/plugins/points-of-interest-plugin/points-of-interest-plugin.d.ts +0 -39
- package/dist/projects/player/src/plugins/progress-reporter-plugin/components/progress-reporter-display.d.ts +0 -57
- package/dist/projects/player/src/plugins/progress-reporter-plugin/interfaces/ProgressEvent.d.ts +0 -8
- package/dist/projects/player/src/plugins/progress-reporter-plugin/progress-reporter-plugin.d.ts +0 -76
- package/dist/projects/player/src/plugins/progressive-files-plugin/ProgressiveFilesPluginOptions.d.ts +0 -4
- package/dist/projects/player/src/plugins/progressive-files-plugin/ProgressiveRepresentation.d.ts +0 -10
- package/dist/projects/player/src/plugins/progressive-files-plugin/interfaces/Source.d.ts +0 -6
- package/dist/projects/player/src/plugins/progressive-files-plugin/progressive-files-plugin.d.ts +0 -41
- package/dist/projects/player/src/plugins/resources-plugin/components/resource-menu-item/resource-menu-item.d.ts +0 -21
- package/dist/projects/player/src/plugins/resources-plugin/components/resources-button/resources-button.d.ts +0 -1
- package/dist/projects/player/src/plugins/resources-plugin/resources-plugin.d.ts +0 -12
- package/dist/projects/player/src/plugins/touch-controls-plugin/components/touch-controls/touch-controls.d.ts +0 -59
- package/dist/projects/player/src/plugins/touch-controls-plugin/touch-controls-plugin.d.ts +0 -41
- package/dist/projects/player/src/plugins/whiteboard-mode-plugin/components/drag-handle/drag-handle.d.ts +0 -53
- package/dist/projects/player/src/plugins/whiteboard-mode-plugin/components/drag-targets/drag-targets.d.ts +0 -54
- package/dist/projects/player/src/plugins/whiteboard-mode-plugin/components/whiteboard-mode-button/whiteboard-mode-button.d.ts +0 -23
- package/dist/projects/player/src/plugins/whiteboard-mode-plugin/components/whiteboard-mode-button/whiteboard-mode-menu-item.d.ts +0 -15
- package/dist/projects/player/src/plugins/whiteboard-mode-plugin/contants/WhiteboardSides.d.ts +0 -5
- package/dist/projects/player/src/plugins/whiteboard-mode-plugin/interfaces/WhiteboardSide.d.ts +0 -1
- package/dist/projects/player/src/plugins/whiteboard-mode-plugin/whiteboard-mode-plugin.d.ts +0 -34
- package/dist/projects/player/src/react/CreateClipPlayer.d.ts +0 -3
- package/dist/projects/player/src/react/InteractivePlayer.d.ts +0 -8
- package/dist/projects/player/src/react/Player.d.ts +0 -10
- package/dist/projects/player/src/react/ReportsPlayer.d.ts +0 -3
- package/dist/projects/player/src/react/react-component.d.ts +0 -11
- package/dist/projects/player/src/services/analytics-service.d.ts +0 -39
- package/dist/projects/player/src/utils/ajax-helper.d.ts +0 -16
- package/dist/projects/player/src/utils/fn.d.ts +0 -44
- package/dist/projects/player/src/utils/formatTime.d.ts +0 -5
- package/dist/projects/player/src/utils/getBufferedEnd.d.ts +0 -2
- package/dist/projects/player/src/utils/hotkeys.d.ts +0 -5
- package/dist/projects/player/src/utils/interactive-track-helper.d.ts +0 -5
- package/dist/projects/player/src/utils/local-storage-helper.d.ts +0 -6
- package/dist/projects/player/src/utils/quality-helper.d.ts +0 -19
- package/dist/projects/player/src/utils/quality-helper.test.d.ts +0 -1
- package/dist/projects/player/src/utils/track-helper.d.ts +0 -8
- package/dist/projects/player/test/players/test-player.d.ts +0 -17
- package/dist/projects/player/test/setupTests.d.ts +0 -0
- package/dist/projects/player/test/utils/test-helpers.d.ts +0 -8
- package/tooling/externals.js +0 -56
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
import * as Backbone from 'backbone';
|
|
2
|
-
import * as Marionette from 'backbone.marionette';
|
|
3
|
-
import { StickitBinding } from 'libs/common/backbone/interfaces/StickitBinding';
|
|
4
|
-
import { BaseModel } from './BaseModel';
|
|
5
|
-
import { AppLinkHash } from './AppLink';
|
|
6
|
-
interface UIHash {
|
|
7
|
-
[selector: string]: any;
|
|
8
|
-
}
|
|
9
|
-
export interface RequiredResourceHash {
|
|
10
|
-
[propName: string]: RequiredResourceDefinition;
|
|
11
|
-
}
|
|
12
|
-
export interface RequiredResourceDefinition<T = any> {
|
|
13
|
-
dataServiceName: string;
|
|
14
|
-
eventName: string;
|
|
15
|
-
getData: (instance: any) => T;
|
|
16
|
-
getInstance: (context: Backbone.Events) => any;
|
|
17
|
-
beforeOnBeforeRender: boolean;
|
|
18
|
-
}
|
|
19
|
-
export interface BaseViewOptions<TModel extends BaseModel = BaseModel> extends Marionette.ViewOptions<TModel> {
|
|
20
|
-
channelName?: string;
|
|
21
|
-
}
|
|
22
|
-
export declare class CoreView<TModel extends BaseModel = BaseModel> extends Marionette.View<TModel> {
|
|
23
|
-
/**
|
|
24
|
-
* This is of the name class. It should be used on
|
|
25
|
-
* all warnings and errors to make debugging easier.
|
|
26
|
-
*/
|
|
27
|
-
name: string;
|
|
28
|
-
/**
|
|
29
|
-
* Takes a Handlebars template function.
|
|
30
|
-
*/
|
|
31
|
-
template: any;
|
|
32
|
-
/**
|
|
33
|
-
* Specify the properties you want to be
|
|
34
|
-
* taken from `options` and added to the context.
|
|
35
|
-
*/
|
|
36
|
-
props: string[];
|
|
37
|
-
/**
|
|
38
|
-
* This is what the page title will be set to
|
|
39
|
-
* when this view is rendered.
|
|
40
|
-
*/
|
|
41
|
-
title: string | boolean;
|
|
42
|
-
/**
|
|
43
|
-
* The i18n namespace used in the view
|
|
44
|
-
*/
|
|
45
|
-
lang?: string;
|
|
46
|
-
/**
|
|
47
|
-
* The default properties that will be taken
|
|
48
|
-
* from `options` and added to the context.
|
|
49
|
-
*/
|
|
50
|
-
private get defaultProps();
|
|
51
|
-
viewModel: BaseModel;
|
|
52
|
-
private static ViewDataExtensions;
|
|
53
|
-
/**
|
|
54
|
-
* Update instance options to include defaults. Passing options
|
|
55
|
-
* to the view via the ctor will always override defaults.
|
|
56
|
-
* @param options
|
|
57
|
-
*/
|
|
58
|
-
private _setOptions;
|
|
59
|
-
/**
|
|
60
|
-
* Mix in the class name into the dom attributes to
|
|
61
|
-
* help us out with debugging
|
|
62
|
-
*/
|
|
63
|
-
private _setAttributes;
|
|
64
|
-
private uiStorage;
|
|
65
|
-
get ui(): Backbone.ObjectHash;
|
|
66
|
-
set ui(value: Backbone.ObjectHash);
|
|
67
|
-
get elements(): Backbone.ObjectHash;
|
|
68
|
-
protected defaults: Backbone.ObjectHash;
|
|
69
|
-
protected options: BaseViewOptions<TModel>;
|
|
70
|
-
/**
|
|
71
|
-
* Base class for all views to inherit from.
|
|
72
|
-
* @constructor
|
|
73
|
-
*/
|
|
74
|
-
constructor(options?: BaseViewOptions<TModel>);
|
|
75
|
-
appLinks: AppLinkHash;
|
|
76
|
-
normalizeUIKeys: (hash: UIHash) => UIHash;
|
|
77
|
-
static AddViewDataExtension(ext: (...args: any) => any | Backbone.ObjectHash): void;
|
|
78
|
-
serializeModel(): any;
|
|
79
|
-
serializeCollection(): any[];
|
|
80
|
-
/**
|
|
81
|
-
* This is a utility that can be used if your
|
|
82
|
-
* className is dynamic between renders.
|
|
83
|
-
* Simply call this.resetClassName() in
|
|
84
|
-
* onRender()
|
|
85
|
-
*/
|
|
86
|
-
protected resetClassName(): void;
|
|
87
|
-
serializeData(): any;
|
|
88
|
-
protected viewOptions(): Backbone.ObjectHash;
|
|
89
|
-
/**
|
|
90
|
-
* Ensures that multiple click events arent bound
|
|
91
|
-
* if the view is getting re-rendered.
|
|
92
|
-
*/
|
|
93
|
-
private undelegateAppLinks;
|
|
94
|
-
/**
|
|
95
|
-
* This will take the appLinks hash defined on a view and used it to add
|
|
96
|
-
* hrefs to the anchor tags and provide the application linking.
|
|
97
|
-
*/
|
|
98
|
-
protected renderAppLinks(): void;
|
|
99
|
-
private hasPartialLoadingRegions;
|
|
100
|
-
protected renderPartialLoading(region?: string): void;
|
|
101
|
-
listenTo(object: any, eventMap: Backbone.EventMap): this;
|
|
102
|
-
listenTo(obj: string | Backbone.Events, events: string, callback: (...args: any) => any): this;
|
|
103
|
-
render(): CoreView<TModel>;
|
|
104
|
-
/** backbone.stickit stuff that is mixed in at run time.
|
|
105
|
-
*
|
|
106
|
-
* TODO: This should ideally be handled higher up that BaseView,
|
|
107
|
-
* (yet another one of those TODOs that is likely
|
|
108
|
-
* to sit here till the end of time. - Sha)
|
|
109
|
-
*/
|
|
110
|
-
bindings: {
|
|
111
|
-
[selector: string]: StickitBinding;
|
|
112
|
-
};
|
|
113
|
-
stickit: (model?: BaseModel, options?: any) => void;
|
|
114
|
-
addbinding: (model: BaseModel, selector: string, configuration: any) => void;
|
|
115
|
-
unstickit: (model?: BaseModel, options?: any) => void;
|
|
116
|
-
protected processRequriedResources(beforeOnBeforeRender: boolean): boolean;
|
|
117
|
-
protected setTitle(): void;
|
|
118
|
-
}
|
|
119
|
-
export declare class BaseView<TModel extends BaseModel = BaseModel> extends CoreView<TModel> {
|
|
120
|
-
private boundListeners;
|
|
121
|
-
private resourceInstances;
|
|
122
|
-
requiredResources: {
|
|
123
|
-
[propName: string]: RequiredResourceDefinition;
|
|
124
|
-
};
|
|
125
|
-
constructor(options?: BaseViewOptions<TModel>);
|
|
126
|
-
protected processRequriedResources(beforeOnBeforeRender: boolean): boolean;
|
|
127
|
-
setTitle(): void;
|
|
128
|
-
}
|
|
129
|
-
export declare class BaseComponent<TModel extends BaseModel = BaseModel> extends CoreView<TModel> {
|
|
130
|
-
}
|
|
131
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
declare const EventNames: {
|
|
2
|
-
SHOW_POPUP: string;
|
|
3
|
-
ROUTE: string;
|
|
4
|
-
LOCK_NAV: string;
|
|
5
|
-
UNLOCK_NAV: string;
|
|
6
|
-
NAV_IS_LOCKED: string;
|
|
7
|
-
NAV_UNLOCKED_BY_USER: string;
|
|
8
|
-
ROUTING_START: string;
|
|
9
|
-
ROUTING_END: string;
|
|
10
|
-
HAS_ACTIVE_ROUTE: string;
|
|
11
|
-
ROUTE_LOOKUP: string;
|
|
12
|
-
URL_CHANGE: string;
|
|
13
|
-
ERROR: string;
|
|
14
|
-
CURRENT_ROUTE: string;
|
|
15
|
-
};
|
|
16
|
-
export { EventNames };
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/// <reference types="backbone" />
|
|
2
|
-
import * as Marionette from 'backbone.marionette';
|
|
3
|
-
import { BaseLayoutView, BaseLayoutViewOptions } from './BaseLayoutView';
|
|
4
|
-
export interface LayoutOptions<T extends BaseLayoutViewOptions> {
|
|
5
|
-
name: string;
|
|
6
|
-
options?: T;
|
|
7
|
-
}
|
|
8
|
-
export interface LayoutServiceOptions extends Marionette.ObjectOptions {
|
|
9
|
-
requiredRegions?: string[];
|
|
10
|
-
}
|
|
11
|
-
export declare class LayoutService extends Marionette.Object {
|
|
12
|
-
private layouts;
|
|
13
|
-
private currentLayout;
|
|
14
|
-
private currentLayoutCacheKey;
|
|
15
|
-
private requiredRegions;
|
|
16
|
-
options: LayoutServiceOptions;
|
|
17
|
-
constructor(options: LayoutServiceOptions);
|
|
18
|
-
private clearLayout;
|
|
19
|
-
registerLayout(name: string, layout: typeof BaseLayoutView): this;
|
|
20
|
-
/**
|
|
21
|
-
* Either return the existing instance of a layout
|
|
22
|
-
* or create the layout and cache it before returning.
|
|
23
|
-
*/
|
|
24
|
-
getLayout<T extends BaseLayoutViewOptions>(layoutOptions: LayoutOptions<T>): BaseLayoutView;
|
|
25
|
-
/**
|
|
26
|
-
* Every layout that is registered must have all required/mandatory regions
|
|
27
|
-
*/
|
|
28
|
-
private checkRequiredRegions;
|
|
29
|
-
listenTo(object: any, eventMap: Backbone.EventMap): this;
|
|
30
|
-
listenTo(obj: string | Backbone.Events, events: string, callback: (...args: any) => any): this;
|
|
31
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { ObjectHash } from 'backbone';
|
|
2
|
-
import { AppLink } from './AppLink';
|
|
3
|
-
/**
|
|
4
|
-
* This is the only file in the entire project
|
|
5
|
-
* that should ever reference window.location.
|
|
6
|
-
*/
|
|
7
|
-
declare const LocationUtils: {
|
|
8
|
-
GetQuery(): ObjectHash;
|
|
9
|
-
UpdateQuery(params: ObjectHash): void;
|
|
10
|
-
UpdateUrl(route: string, appLink: AppLink, options?: ObjectHash): void;
|
|
11
|
-
SerializeQueryParams(params: string | ObjectHash): string;
|
|
12
|
-
DeserializeQueryParams(params: string): ObjectHash;
|
|
13
|
-
StartHistory(): void;
|
|
14
|
-
PageLoad(href: string, newTab?: boolean): void;
|
|
15
|
-
Redirect(href: string, replace?: boolean): void;
|
|
16
|
-
Reload(force?: boolean): void;
|
|
17
|
-
GetCurrentPath(): string;
|
|
18
|
-
GetCurrentQueryString(): string;
|
|
19
|
-
GetCurrentUrl(): string;
|
|
20
|
-
GetCurrentReferrer(): string;
|
|
21
|
-
GetCurrentOrigin(): string;
|
|
22
|
-
SetPageTitle(title: string): void;
|
|
23
|
-
};
|
|
24
|
-
export { LocationUtils };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export interface MiddlewareNext<T> {
|
|
2
|
-
(options: T): void;
|
|
3
|
-
}
|
|
4
|
-
export interface MiddlewareFunction<T> {
|
|
5
|
-
(options: T, next: MiddlewareNext<T>): void;
|
|
6
|
-
}
|
|
7
|
-
export declare class Middleware<T> {
|
|
8
|
-
use(fn: MiddlewareFunction<T>): void;
|
|
9
|
-
go(options: T, next: MiddlewareNext<T>): void;
|
|
10
|
-
}
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import { ObjectHash } from 'backbone';
|
|
2
|
-
import * as Marionette from 'backbone.marionette';
|
|
3
|
-
import { BaseApplication } from './BaseApplication';
|
|
4
|
-
import { BaseError } from './BaseError';
|
|
5
|
-
import { BaseLayoutView } from './BaseLayoutView';
|
|
6
|
-
import { Store } from 'redux';
|
|
7
|
-
interface InitializationStep {
|
|
8
|
-
(shell: Shell, next: InitializationStep): void;
|
|
9
|
-
}
|
|
10
|
-
interface StartUpSet {
|
|
11
|
-
(shell: Shell, options: any, next: StartUpSet): void;
|
|
12
|
-
}
|
|
13
|
-
export interface ShellOptions extends Marionette.ApplicationOptions {
|
|
14
|
-
}
|
|
15
|
-
export declare class Shell extends Marionette.Application {
|
|
16
|
-
/**
|
|
17
|
-
* Used to retreive and cache layout views.
|
|
18
|
-
*/
|
|
19
|
-
private layoutService;
|
|
20
|
-
private applications;
|
|
21
|
-
private routeLookup;
|
|
22
|
-
private shellState;
|
|
23
|
-
initialize(options?: ShellOptions): void;
|
|
24
|
-
private bindListeners;
|
|
25
|
-
private bindNavLockListeners;
|
|
26
|
-
private bindAppLinkListeners;
|
|
27
|
-
private bindErrorHandlers;
|
|
28
|
-
private bindErrorListener;
|
|
29
|
-
/**
|
|
30
|
-
* Using all the routeLookups passed in during AppRouter initialization
|
|
31
|
-
* we create a bunch of channel replies on the shell channel.
|
|
32
|
-
*
|
|
33
|
-
* Both Core.AppRouter and Core.View use this to reverse engineer
|
|
34
|
-
* the application routes and regenerate urls with a list of arguments.
|
|
35
|
-
*
|
|
36
|
-
* These need to exist on the shell rather than on the Core.AppRouter
|
|
37
|
-
* because consumers of this reply wont know which instance of Core.AppRoute
|
|
38
|
-
* to call.
|
|
39
|
-
*/
|
|
40
|
-
private bindRouteLookup;
|
|
41
|
-
addRouteLookup(name: string, func: () => string): void;
|
|
42
|
-
registerApplication(application: typeof BaseApplication, options?: ObjectHash): this;
|
|
43
|
-
getGlobalRadioChannels(): ObjectHash;
|
|
44
|
-
isNavLocked(): boolean;
|
|
45
|
-
start(options?: any): void;
|
|
46
|
-
hasActiveRoute(): boolean;
|
|
47
|
-
/**
|
|
48
|
-
* On Shell start up an instance of each Applications router is instantiated
|
|
49
|
-
* so that it can listen to application events or route in the current page
|
|
50
|
-
*/
|
|
51
|
-
onStart(): void;
|
|
52
|
-
/**
|
|
53
|
-
* these are based on node/express middleware:
|
|
54
|
-
* https://gist.github.com/darrenscerri/5c3b3dcbe4d370435cfa
|
|
55
|
-
*
|
|
56
|
-
* Initialization steps should be used to do stuff like register
|
|
57
|
-
* services with the instance manager, register analytics clients
|
|
58
|
-
* and enrichers, add any data provider middle ware and register layouts
|
|
59
|
-
*/
|
|
60
|
-
addInitializationStep(fn: InitializationStep): Shell;
|
|
61
|
-
private runInitializationSteps;
|
|
62
|
-
addStartUpStep(fn: StartUpSet): Shell;
|
|
63
|
-
/**
|
|
64
|
-
* Start up steps should be used to inject options into the shell
|
|
65
|
-
* or run any other code that we want to run just before the application starts
|
|
66
|
-
*/
|
|
67
|
-
private runStartUpSteps;
|
|
68
|
-
registerLayout(name: string, layout: typeof BaseLayoutView): Shell;
|
|
69
|
-
private errorHandlers;
|
|
70
|
-
registerErrorHandler<T extends BaseError>(errorType: Function & {
|
|
71
|
-
prototype: T;
|
|
72
|
-
}, handler: (error: T) => void): Shell;
|
|
73
|
-
handleError(error: BaseError): void;
|
|
74
|
-
store: Store;
|
|
75
|
-
registerStore(store: Store): void;
|
|
76
|
-
listenTo(object: any, eventMap: Backbone.EventMap): this;
|
|
77
|
-
listenTo(obj: string | Backbone.Events, events: string, callback: (...args: any) => any): this;
|
|
78
|
-
}
|
|
79
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export declare type ModelCtor<T> = {
|
|
2
|
-
new (vals: any, options?: any): T;
|
|
3
|
-
};
|
|
4
|
-
export declare type CollectionCtor<T> = {
|
|
5
|
-
new (models?: any[], options?: any): T;
|
|
6
|
-
};
|
|
7
|
-
export declare type ViewCtor<T> = {
|
|
8
|
-
new (options: any): T;
|
|
9
|
-
};
|
|
10
|
-
export declare type ErrorCtor<T> = {
|
|
11
|
-
new (...args: any[]): T;
|
|
12
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
export { AppLinkHelper, AppLinkUtility } from './AppLink';
|
|
2
|
-
export type { AppLink, AppLinkOptions, AppLinkHash } from './AppLink';
|
|
3
|
-
export { BaseApplication as Application } from './BaseApplication';
|
|
4
|
-
export { BaseAppRouter as AppRouter } from './BaseAppRouter';
|
|
5
|
-
export type { ExecuteRouteOptions, FilterOptions } from './BaseAppRouter';
|
|
6
|
-
export { BaseBehavior as Behavior } from './BaseBehavior';
|
|
7
|
-
export { BaseCollection as Collection } from './BaseCollection';
|
|
8
|
-
export { BaseCollectionView as CollectionView, BaseCollectionView as ComponentCollection } from './BaseCollectionView';
|
|
9
|
-
export type { BaseCollectionViewOptions as ComponentCollectionOptions, BaseCollectionViewOptions as CollectionViewOptions } from './BaseCollectionView';
|
|
10
|
-
export { BaseError as Error, ErrorHelper, SilentError } from './BaseError';
|
|
11
|
-
export { BaseLayoutView as LayoutView } from './BaseLayoutView';
|
|
12
|
-
export type { BaseLayoutViewOptions as LayoutViewOptions } from './BaseLayoutView';
|
|
13
|
-
export { BaseNestedModel as NestedModel } from './BaseNestedModel';
|
|
14
|
-
export type { BaseNestedModelOptions as NestedModelOptions } from './BaseNestedModel';
|
|
15
|
-
export { BaseService as Service } from './BaseService';
|
|
16
|
-
export type { BaseServiceOptions as ServiceOptions } from './BaseService';
|
|
17
|
-
export { BaseModel as Model } from './BaseModel';
|
|
18
|
-
export { BaseView as View, BaseComponent as Component } from './BaseView';
|
|
19
|
-
export type { BaseViewOptions as ViewOptions, BaseViewOptions as ComponentOptions, RequiredResourceDefinition, RequiredResourceHash } from './BaseView';
|
|
20
|
-
export { EventNames } from './EventNames';
|
|
21
|
-
export { LayoutService } from './LayoutService';
|
|
22
|
-
export type { LayoutOptions } from './LayoutService';
|
|
23
|
-
export { Middleware } from './Middleware';
|
|
24
|
-
export type { MiddlewareFunction, MiddlewareNext } from './Middleware';
|
|
25
|
-
export { LocationUtils } from './LocationUtils';
|
|
26
|
-
export { Shell } from './Shell';
|
|
27
|
-
export * from './Types';
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export declare enum HttpStatus {
|
|
2
|
-
Ok = 200,
|
|
3
|
-
NoContent = 204,
|
|
4
|
-
BadRequest = 400,
|
|
5
|
-
Unauthorized = 401,
|
|
6
|
-
Forbidden = 403,
|
|
7
|
-
NotFound = 404,
|
|
8
|
-
Conflict = 409,
|
|
9
|
-
InternalServer = 500
|
|
10
|
-
}
|
|
11
|
-
export declare enum HttpStatusClass {
|
|
12
|
-
Information = 1,
|
|
13
|
-
Success = 2,
|
|
14
|
-
Redirect = 3,
|
|
15
|
-
ClientError = 4,
|
|
16
|
-
ServerError = 5
|
|
17
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ObjectHash } from 'backbone';
|
|
2
|
-
import { HashObject } from 'libs/common/react/interfaces';
|
|
3
|
-
export interface BaseCollectionIdentifierOptions<T> {
|
|
4
|
-
collectionPrefix?: string;
|
|
5
|
-
id?: string;
|
|
6
|
-
sort?: T;
|
|
7
|
-
cursor?: string;
|
|
8
|
-
}
|
|
9
|
-
export declare class BaseCollectionIdentifier<T = HashObject> {
|
|
10
|
-
id: string;
|
|
11
|
-
sort: T;
|
|
12
|
-
cursor: string;
|
|
13
|
-
collectionPrefix: string;
|
|
14
|
-
constructor(options: BaseCollectionIdentifierOptions<T>);
|
|
15
|
-
protected setData(options: BaseCollectionIdentifierOptions<T>): void;
|
|
16
|
-
toString(): string;
|
|
17
|
-
toParams(): ObjectHash;
|
|
18
|
-
protected getSortTypeParam(): string;
|
|
19
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { DataServiceGetRequest, DataServiceCreateRequest, DataServiceUpdateRequest, DataServiceDeleteRequest } from 'libs/common/backbone/interfaces/DataServiceRequests';
|
|
2
|
-
export interface ChainableDataService {
|
|
3
|
-
func(callback: (callback: () => any) => void): ChainableDataService;
|
|
4
|
-
get<T>(options: DataServiceGetRequest<T>): ChainableDataService;
|
|
5
|
-
create<T>(options: DataServiceCreateRequest<T>): ChainableDataService;
|
|
6
|
-
update<T>(options: DataServiceUpdateRequest<T>): ChainableDataService;
|
|
7
|
-
delete(options: DataServiceDeleteRequest): ChainableDataService;
|
|
8
|
-
run(): void;
|
|
9
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export interface DataCache extends Marionette.Object {
|
|
2
|
-
has(cacheKey: string): boolean;
|
|
3
|
-
get(cacheKey: string): any;
|
|
4
|
-
set(cacheKey: string, value: any): void;
|
|
5
|
-
getOrSet(cacheKey: string, getter: () => any): any;
|
|
6
|
-
remove(cacheKey: string): boolean;
|
|
7
|
-
invalidate(cacheKey: string[], callback?: (cacheKey: string) => void): void;
|
|
8
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/// <reference types="backbone.radio" />
|
|
2
|
-
import { Radio } from 'backbone';
|
|
3
|
-
import { DataServiceError } from 'libs/common/backbone/interfaces/DataServiceError';
|
|
4
|
-
export interface DataProviderResponseOptions {
|
|
5
|
-
channel: Radio.Channel;
|
|
6
|
-
successEvent: string;
|
|
7
|
-
errorEvent: string;
|
|
8
|
-
}
|
|
9
|
-
export interface DataProvider extends Marionette.Object {
|
|
10
|
-
parseError(...args: any[]): DataServiceError;
|
|
11
|
-
create<T>(resource: string, obj: T, options: DataProviderResponseOptions): void;
|
|
12
|
-
read(resource: string, options: DataProviderResponseOptions): void;
|
|
13
|
-
update<T>(resource: string, obj: T, options: DataProviderResponseOptions): void;
|
|
14
|
-
delete(resource: string, options: DataProviderResponseOptions): void;
|
|
15
|
-
}
|
|
@@ -1,218 +0,0 @@
|
|
|
1
|
-
import { Events } from 'backbone';
|
|
2
|
-
export interface BaseDataServiceRequest {
|
|
3
|
-
/**
|
|
4
|
-
* This will be a url, an event or a cache key
|
|
5
|
-
* depending on the DataProviderType
|
|
6
|
-
*/
|
|
7
|
-
resource: string;
|
|
8
|
-
/**
|
|
9
|
-
* This is used to generate the events that can be listened to
|
|
10
|
-
* on the backbone radio channel.
|
|
11
|
-
*
|
|
12
|
-
* (e.g. if your eventPrefix was 'library' events would be:
|
|
13
|
-
* library:request, library:sync, library:success and library:error)
|
|
14
|
-
*/
|
|
15
|
-
eventPrefix: string;
|
|
16
|
-
/**
|
|
17
|
-
* This is the instance that is listening to the events.
|
|
18
|
-
* We pass this in so we can use the IoC of
|
|
19
|
-
* listenTo rather than using an on binding.
|
|
20
|
-
* (https://en.wikipedia.org/wiki/Inversion_of_control)
|
|
21
|
-
*
|
|
22
|
-
* This means that there won't be stale event listeners once
|
|
23
|
-
* the listener is disposed of.
|
|
24
|
-
*/
|
|
25
|
-
listener?: Events;
|
|
26
|
-
/**
|
|
27
|
-
* How long in seconds before the data
|
|
28
|
-
* is stale and we need to retreive it again
|
|
29
|
-
*/
|
|
30
|
-
expiryTime?: number;
|
|
31
|
-
/**
|
|
32
|
-
* Set of eventPrefix keys that will be evicted from the cache
|
|
33
|
-
* once the data request has completed.
|
|
34
|
-
*
|
|
35
|
-
* Accepts full and partial keys, where partial keys will be used to generate
|
|
36
|
-
* a regex for matching. Allows for multiple keys to be evicted in bulk.
|
|
37
|
-
*/
|
|
38
|
-
invalidationKeys?: string[];
|
|
39
|
-
/**
|
|
40
|
-
* This is used by a view to gain reference to the model or collection
|
|
41
|
-
* and store it somewhere. If the data is already cached, the callback will
|
|
42
|
-
* be called syncronously. Otherwise it will be called when the data becomes
|
|
43
|
-
* available.
|
|
44
|
-
*/
|
|
45
|
-
callback?: (data?: any) => any;
|
|
46
|
-
/**
|
|
47
|
-
* Callback to be passed from a view to be fired on an error.
|
|
48
|
-
*/
|
|
49
|
-
errorCallback?: () => void;
|
|
50
|
-
/**
|
|
51
|
-
* Success handler is attached as a callback to the successEvent fired on the dataProvider's dataChannel.
|
|
52
|
-
* Should NOT be used for data manipulation or management by views - use a callback or eventPrefix instead.
|
|
53
|
-
* Context is not bound at execution time, so ensure that any context is already bound to
|
|
54
|
-
* the handler when it is passed.
|
|
55
|
-
*/
|
|
56
|
-
successHandler?: (...args: any[]) => any;
|
|
57
|
-
/**
|
|
58
|
-
* Error handler is attached as a callback to the errorEvent fired on the dataProvider's dataChannel.
|
|
59
|
-
* Context is not bound at execution time, so ensure that any context is already bound to
|
|
60
|
-
* the handler when it is passed.
|
|
61
|
-
* A default errorHandler will be bound unless another error handler is passed in.
|
|
62
|
-
* Alternatively, passing in false will mean that no errorHandler is bound.
|
|
63
|
-
*/
|
|
64
|
-
errorHandler?: ((...args: any[]) => any) | boolean;
|
|
65
|
-
}
|
|
66
|
-
export interface DataServiceGetRequest<T> extends BaseDataServiceRequest {
|
|
67
|
-
/**
|
|
68
|
-
* This should be used to put the data returned from the DataProvider
|
|
69
|
-
* into an instance of a Model or Collection.
|
|
70
|
-
*
|
|
71
|
-
* This should be defined by the children inheriting from BaseDataService
|
|
72
|
-
* and should not be exposed to views or services consuming BaseDataService.
|
|
73
|
-
*/
|
|
74
|
-
formatData?: (data: any) => T;
|
|
75
|
-
/**
|
|
76
|
-
* Redefine callback with stronger types.
|
|
77
|
-
*/
|
|
78
|
-
callback?: (data: T) => any;
|
|
79
|
-
/**
|
|
80
|
-
* The name of the property on the bootstrap object
|
|
81
|
-
* that this request will use.
|
|
82
|
-
*/
|
|
83
|
-
bootstrapName?: string;
|
|
84
|
-
}
|
|
85
|
-
export interface DataServiceClearAndGetRequest<T> extends BaseDataServiceRequest {
|
|
86
|
-
/**
|
|
87
|
-
* This should be used to put the data returned from the DataProvider
|
|
88
|
-
* into an instance of a Model or Collection.
|
|
89
|
-
*
|
|
90
|
-
* This should be defined by the children inheriting from BaseDataService
|
|
91
|
-
* and should not be exposed to views or services consuming BaseDataService.
|
|
92
|
-
*/
|
|
93
|
-
formatData?: (data: any) => T;
|
|
94
|
-
/**
|
|
95
|
-
* Redfine callback as a required option
|
|
96
|
-
* because this is the only way to retreive the data
|
|
97
|
-
* in a clearCacheAndGet call
|
|
98
|
-
*/
|
|
99
|
-
callback: (data: T) => void;
|
|
100
|
-
}
|
|
101
|
-
export interface DataServiceCreateRequest<T> extends BaseDataServiceRequest {
|
|
102
|
-
/**
|
|
103
|
-
* This is the data we'll be creating.
|
|
104
|
-
*/
|
|
105
|
-
data: any;
|
|
106
|
-
/**
|
|
107
|
-
* This is how the data should be stored in the cache.
|
|
108
|
-
*/
|
|
109
|
-
formatData?: (data: any) => T;
|
|
110
|
-
/**
|
|
111
|
-
* Redefine callback with stronger types.
|
|
112
|
-
*/
|
|
113
|
-
callback?: (data: T) => any;
|
|
114
|
-
}
|
|
115
|
-
export interface DataServiceUpdateRequest<T> extends BaseDataServiceRequest {
|
|
116
|
-
/**
|
|
117
|
-
* This is the data we'll be sending
|
|
118
|
-
* to the server.
|
|
119
|
-
*/
|
|
120
|
-
data: any;
|
|
121
|
-
/**
|
|
122
|
-
* This is how the data should be stored in the cache.
|
|
123
|
-
*/
|
|
124
|
-
formatData?: (data: any) => T;
|
|
125
|
-
/**
|
|
126
|
-
* Redefine callback with stronger types.
|
|
127
|
-
*/
|
|
128
|
-
callback?: (data: T) => any;
|
|
129
|
-
}
|
|
130
|
-
/**
|
|
131
|
-
* The delete request is the simplest one.
|
|
132
|
-
* We have this here just incase we need to add to it
|
|
133
|
-
* in the future.
|
|
134
|
-
*/
|
|
135
|
-
export interface DataServiceDeleteRequest extends BaseDataServiceRequest {
|
|
136
|
-
}
|
|
137
|
-
export interface DataServiceRequestOptions {
|
|
138
|
-
/**
|
|
139
|
-
* This is used to generate the events that can be listened to
|
|
140
|
-
* on the backbone radio channel.
|
|
141
|
-
*
|
|
142
|
-
* (e.g. if your eventPrefix was library
|
|
143
|
-
* our events would be library:request and library:sync)
|
|
144
|
-
*/
|
|
145
|
-
eventPrefix: string;
|
|
146
|
-
/**
|
|
147
|
-
* Different requests will need to manage/change the cache
|
|
148
|
-
* in different ways.
|
|
149
|
-
*/
|
|
150
|
-
cacheOptions?: DataServiceCacheOptions;
|
|
151
|
-
/**
|
|
152
|
-
* This should be used to put the data returned from the DataProvider
|
|
153
|
-
* into an instance of a Model or Collection.
|
|
154
|
-
*
|
|
155
|
-
* This should be defined by the children inheriting from BaseDataService
|
|
156
|
-
* and should not be exposed to views or services consuming BaseDataService.
|
|
157
|
-
*/
|
|
158
|
-
formatData?: (data: any) => any;
|
|
159
|
-
/**
|
|
160
|
-
* After certain requests it may be necessary to refresh
|
|
161
|
-
* some data in the cache that has become stale.
|
|
162
|
-
* I.e. Deleting or moving a video
|
|
163
|
-
* Set of eventPrefix keys that will be evicted from the cache
|
|
164
|
-
* once the data request has completed.
|
|
165
|
-
*
|
|
166
|
-
* Accepts full and partial keys, where partial keys will be used to generate
|
|
167
|
-
* a regex for matching. Allows for multiple keys to be evicted in bulk.
|
|
168
|
-
*/
|
|
169
|
-
invalidationKeys?: string[];
|
|
170
|
-
/**
|
|
171
|
-
* Redefine callback with stronger types. It is called after a successful request
|
|
172
|
-
*/
|
|
173
|
-
callback?: (data: any) => any;
|
|
174
|
-
/**
|
|
175
|
-
* Callback to be passed from a view to be fired on an error.
|
|
176
|
-
*/
|
|
177
|
-
errorCallback?: () => void;
|
|
178
|
-
/**
|
|
179
|
-
* Success handler is attached as a callback to the successEvent fired on the dataProvider's dataChannel.
|
|
180
|
-
* Should NOT be used for data manipulation or management by views - use a callback or eventPrefix instead.
|
|
181
|
-
* Context is not bound at execution time, so ensure that any context is already bound to
|
|
182
|
-
* the handler when it is passed.
|
|
183
|
-
*/
|
|
184
|
-
successHandler?: (...args: any[]) => any;
|
|
185
|
-
/**
|
|
186
|
-
* Error handler is attached as a callback to the errorEvent fired on the dataProvider's dataChannel.
|
|
187
|
-
* Context is not bound at execution time, so ensure that any context is already bound to
|
|
188
|
-
* the handler when it is passed.
|
|
189
|
-
* A default errorHandler will be bound unless another error handler is passed in.
|
|
190
|
-
* Alternatively, passing in false will mean that no errorHandler is bound.
|
|
191
|
-
*/
|
|
192
|
-
errorHandler?: ((...args: any[]) => any) | boolean;
|
|
193
|
-
}
|
|
194
|
-
export interface DataServiceCacheOptions {
|
|
195
|
-
/**
|
|
196
|
-
* All requests will be cached by default. In circumstances where the return value
|
|
197
|
-
* is not required (i.e. after a delete call), set the flag to true.
|
|
198
|
-
*/
|
|
199
|
-
noCache?: boolean;
|
|
200
|
-
/**
|
|
201
|
-
* Certain requets (ie. deletes) may require the current cacheKey to be cleared.
|
|
202
|
-
* Set to true to clear.
|
|
203
|
-
*/
|
|
204
|
-
clearCacheKey?: boolean;
|
|
205
|
-
/**
|
|
206
|
-
* Where muliple views may require access to the same reource/data, set openRequest to
|
|
207
|
-
* ensure that any subsequent view can bind it's own callbacks to the existing
|
|
208
|
-
* network call.
|
|
209
|
-
*/
|
|
210
|
-
openRequest?: boolean;
|
|
211
|
-
/**
|
|
212
|
-
* Cached data will utilise a timestamp to determine it's own expiry time within the cache.
|
|
213
|
-
*/
|
|
214
|
-
timestamp?: number;
|
|
215
|
-
}
|
|
216
|
-
export interface RequestSignatures {
|
|
217
|
-
[signature: string]: string;
|
|
218
|
-
}
|