@clickview/online 0.0.6 → 0.0.7-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/dist/en.json +1 -1
  2. package/dist/libs/analytics/src/interfaces/AnalyticsTypes.d.ts +38 -2
  3. package/dist/libs/common/src/backbone/core/BaseView.d.ts +4 -0
  4. package/dist/libs/common/src/backbone/utils/UrlHelper.d.ts +1 -0
  5. package/dist/libs/common/src/react/components/BackboneViewWrapper.d.ts +1 -1
  6. package/dist/libs/common/src/react/context/PageTitleContext.d.ts +10 -0
  7. package/dist/libs/{shared/src/hooks/useSetPageTitle.d.ts → common/src/react/hooks/UseSetPageTitle.d.ts} +1 -1
  8. package/dist/libs/shared/src/apps/subjects/components/preferences/bulk-preference-summary/BulkPreferenceSummary.d.ts +7 -0
  9. package/dist/libs/shared/src/apps/subjects/components/preferences/footer/PreferenceFooter.d.ts +6 -1
  10. package/dist/libs/shared/src/apps/subjects/utils/OnboardingHelper.d.ts +15 -0
  11. package/dist/libs/shared/src/components/back-button/BackButton.d.ts +3 -1
  12. package/dist/libs/shared/src/components/banner-header/BannerHeader.d.ts +1 -0
  13. package/dist/libs/shared/src/constants/AppVariables.d.ts +1 -0
  14. package/dist/libs/shared/src/enums/SettingName.d.ts +15 -1
  15. package/dist/libs/shared/src/flight-requests/SettingRequests.d.ts +1 -1
  16. package/dist/libs/shared/src/flight-requests/UserRequests.d.ts +2 -1
  17. package/dist/libs/shared/src/interfaces/app-variables/BaseSearchAppVariables.d.ts +1 -0
  18. package/dist/libs/shared/src/interfaces/models/EntitySetting.d.ts +2 -2
  19. package/dist/libs/shared/src/interfaces/models/Theme.d.ts +7 -3
  20. package/dist/libs/shared/src/interfaces/models/User.d.ts +1 -1
  21. package/dist/libs/shared/src/interfaces/services/BaseSettingsDataService.d.ts +7 -0
  22. package/dist/libs/shared/src/interfaces/services/BaseUserDataService.d.ts +4 -0
  23. package/dist/libs/shared/src/interfaces/services/index.d.ts +2 -0
  24. package/dist/libs/shared/src/services/UserDataService.d.ts +4 -3
  25. package/dist/libs/shared/src/utils/ImageHelper.d.ts +1 -0
  26. package/dist/online-app.css +15 -13
  27. package/dist/online-app.js +3 -3
  28. package/dist/projects/online/src/apps/playlists/components/playlist-header/PlaylistHeader.d.ts +2 -0
  29. package/dist/projects/online/src/apps/subjects/SubjectApplication.d.ts +0 -1
  30. package/dist/projects/online/src/apps/subjects/utils/ClassificationAppLinks.d.ts +0 -1
  31. package/dist/projects/online/src/apps/subjects/utils/OnboardingHelper.d.ts +8 -12
  32. package/dist/projects/online/src/apps/subjects/views/preferences/{BasePreferencesView.d.ts → OnlineBasePreferencesView.d.ts} +1 -1
  33. package/dist/projects/online/src/apps/subjects/views/preferences/index.d.ts +7 -7
  34. package/dist/projects/online/src/index.d.ts +2 -2
  35. package/dist/projects/online/src/shared/constants/Actions.d.ts +0 -1
  36. package/package.json +44 -44
  37. package/dist/libs/shared/src/apps/content-updates/interfaces/VideoClassificationMapping.d.ts +0 -5
  38. package/dist/libs/shared/src/apps/subjects/components/preferences/progress/PreferenceProgress.d.ts +0 -12
  39. package/dist/libs/shared/src/context/PageTitleContext.d.ts +0 -10
  40. package/dist/online-app.css.map +0 -1
  41. package/dist/online-app.js.map +0 -1
  42. package/dist/projects/online/src/apps/playlists/components/index.d.ts +0 -3
  43. package/dist/projects/online/src/apps/playlists/components/left-nav/LeftNavComponent.d.ts +0 -11
  44. package/dist/projects/online/src/apps/playlists/components/left-nav/LeftNavItem.d.ts +0 -0
  45. package/dist/projects/online/src/apps/playlists/components/left-nav/LeftNavItemComponent.d.ts +0 -8
  46. package/dist/projects/online/src/apps/playlists/components/left-nav/LevNavPlaylistOwnerIndicator.d.ts +0 -8
  47. package/dist/projects/online/src/apps/playlists/components/left-nav/index.d.ts +0 -1
  48. package/dist/projects/online/src/apps/playlists/components/left-nav/partial-loading/PartialLeftNavComponent.d.ts +0 -2
  49. package/dist/projects/online/src/apps/playlists/components/left-nav/partial-loading/index.d.ts +0 -1
  50. package/dist/projects/online/src/apps/playlists/components/new-playlist-button/NewPlaylistButtonComponent.d.ts +0 -8
  51. package/dist/projects/online/src/apps/playlists/components/new-playlist-button/index.d.ts +0 -1
  52. package/dist/projects/online/src/apps/playlists/components/playlist-actions/PlaylistActionsComponent.d.ts +0 -8
  53. package/dist/projects/online/src/apps/playlists/components/playlist-actions/index.d.ts +0 -1
  54. package/dist/projects/online/src/apps/playlists/components/playlist-list/PartialPlaylistList.d.ts +0 -2
  55. package/dist/projects/online/src/apps/playlists/components/playlist-list/PartialPlaylistListHeader.d.ts +0 -2
  56. package/dist/projects/online/src/apps/playlists/components/playlist-list/PlaylistItem.d.ts +0 -7
  57. package/dist/projects/online/src/apps/playlists/components/playlist-list/PlaylistList.d.ts +0 -7
  58. package/dist/projects/online/src/apps/playlists/components/playlist-list/PlaylistListHeader.d.ts +0 -11
  59. package/dist/projects/online/src/apps/playlists/components/playlist-list/index.d.ts +0 -4
  60. package/dist/projects/online/src/apps/playlists/layouts/OnlinePlaylistsLayoutView.d.ts +0 -10
  61. package/dist/projects/online/src/apps/subjects/views/classification-series-list-view/ClassificationSeriesListView.d.ts +0 -8
  62. package/dist/projects/online/src/apps/subjects/views/classification-series-list-view/index.d.ts +0 -1
  63. package/dist/projects/online/src/shared/components/dropdown/DropdownComponent.d.ts +0 -8
  64. package/dist/projects/online/src/shared/components/dropdown/DropdownItemComponent.d.ts +0 -10
  65. package/dist/projects/online/src/shared/components/dropdown/index.d.ts +0 -2
  66. package/dist/projects/online/src/shared/context/PageTitleContext.d.ts +0 -10
  67. package/dist/projects/online/src/shared/context/index.d.ts +0 -1
  68. package/dist/projects/online/src/shared/identifiers/PlaylistCollectionIdentifier.d.ts +0 -5
  69. /package/dist/libs/{shared/src → common/src/react}/utils/PageTitleHelper.d.ts +0 -0
  70. /package/dist/projects/online/src/apps/subjects/views/preferences/curriculum-presentation/{CurriculumPresentationSelectorView.d.ts → OnlineCurriculumPresentationSelectorView.d.ts} +0 -0
  71. /package/dist/projects/online/src/apps/subjects/views/preferences/level-preferences/{LevelPreferencesView.d.ts → OnlineLevelPreferencesView.d.ts} +0 -0
  72. /package/dist/projects/online/src/apps/subjects/views/preferences/subject-preferences/{SubjectPreferencesView.d.ts → OnlineSubjectPreferencesView.d.ts} +0 -0
  73. /package/dist/projects/online/src/apps/subjects/views/preferences/subject-presentation/{SubjectPresentationSelectorView.d.ts → OnlineSubjectPresentationSelectorView.d.ts} +0 -0
  74. /package/dist/projects/online/src/apps/subjects/views/preferences/summary/{PreferencesSummaryView.d.ts → OnlinePreferencesSummaryView.d.ts} +0 -0
  75. /package/dist/projects/online/src/apps/subjects/views/preferences/welcome/{PreferencesWelcomeView.d.ts → OnlinePreferencesWelcomeView.d.ts} +0 -0
  76. /package/dist/projects/online/src/shared/constants/{ViewModelKeys.d.ts → OnlineViewModels.d.ts} +0 -0
package/dist/en.json CHANGED
@@ -1 +1 @@
1
- {"notifications":{"notificationList":{"noNotifications":"You have no notifications"},"services":{"suggestEditSubmit":"Suggestion was successfully submitted"},"utils":{"viewVideoDetails":"View video details","viewVideo":"View video","reviewVideos":"Review videos","viewNewContent":"View new content","reviewVideo":"Review video","seeNow":"See now"},"notifications":{"title":"Notifications","notifications":"Notifications"},"notificationsPopover":{"notifications":"Notifications","seeAll":"See all notifications"}},"playlists":{"emptyState":{"noPlaylistsHeading":"You have no playlists","noPlaylistsInfo":"Click <strong>New Playlist</strong> above to create one.","noVideosHeading":"There are no videos in this playlist","noVideosInfo":"Learn how to add videos to a playlist."},"playlistItem":{"videos":"%{smart_count} video |||| %{smart_count} videos","lastUpdated":"Last updated: %{timeAgo}"},"playlistSortSelect":{"recentlyUpdated":"Recently updated","atoz":"A to Z","ztoa":"Z to A","newest":"Newest","oldest":"Oldest"},"hooks":{"somethingWentWrong":"Something went wrong"},"validation":{"nameExceeds":"Name is too long","nameRequired":"Name is required","descriptionExceeds":"Description is too long"},"onlineClassificationBanner":{"follow":"Follow","following":"Following"},"onlineClassificationUpdateBreadcrumbs":{"dashboard":"Dashboard","whatsNew":"Whats new at ClickView"},"onlineWhatsNewBreadcrumbs":{"dashboard":"Dashboard","whatsNew":"What's new at ClickView","switchBack":"Switch back to the old look"},"leftNavItem":{"share":"Share","edit":"Edit Playlist Details","delete":"Delete Playlist"},"leftNav":{"playlists":"Playlists","loading":"Loading more...","seeMore":"See more playlists"},"legacyPlaylistItem":{"video":"%{smart_count} video |||| %{smart_count} videos","share":"Share","edit":"Edit Playlist Details","delete":"Delete Playlist"},"playlistDetails":{"nameLabel":"Playlist Name","namePlaceholder":"Give your playlist a name...","descriptionLabel":"Description","descriptionPlaceholder":"Describe your playlist here","create":"Create","save":"Save","cancel":"Cancel"},"playlistHeader":{"follow":"Follow","following":"Following","edit":"Edit","share":"Share","delete":"Delete playlist","createdBy":"Created by %{user}","videos":"%{smart_count} video |||| %{smart_count} videos","followers":"%{smart_count} follower |||| %{smart_count} followers"},"playlistListHeader":{"heading":"%{fname} %{lname}'s Playlists","newPlaylist":"New Playlist","createNewPlaylist":"Create a new playlist"},"videoNotFound":{"heading":"Video Not Found","info":"The video you have requested could not be found or has been removed.","returnTo":"Return to %{name}"},"app":{"accessDeniedHeading":"You do not have permission to view this playlist.","accessDeniedInfo":"If it was previously shared with you, the owner may have changed the privacy settings.","notFoundHeading":"Playlist Not Found","notFoundInfo":"The playlist you have requested could not be found or has been removed."},"services":{"createPlaylistSuccess":"Successfully created playlist.","createPlaylistError":"Failed to create playlist.","updatePlaylistSuccess":"Successfully updated playlist.","updatePlaylistError":"Failed to save playlist.","deletePlaylistError":"Failed to delete playlist.","updatePlaylistOrderError":"Failed to update playlist order.","addToPlaylistSuccess":"Successfully added video to playlist.","addToPlaylistError":"Failed to add video to playlist."},"addToPlaylist":{"heading":"Add to Playlist","selectPlaylist":"Select a playlist to add <strong>%{video}</strong> to:"},"selectPlaylist":{"placeholder":"Search your playlists or create a new one...","recentPlaylistsHeading":"Recent playlists saved to:","suggestionsHeading":"My Playlists","createPlaylist":"Create new playlist: <strong>%{name}</strong>"},"deletePlaylist":{"title":"Delete %{name}","keep":"No, keep my playlist","confirm":"Yes, delete this playlist","check":"Are you sure you want to delete this playlist?","warning":"This will permanently delete the playlist <strong>%{name}</strong>, along with any share links.","videoNote":"Videos in this playlist will not be deleted."},"editPlaylist":{"title":"Edit %{name}","heading":"Edit Playlist Details"},"migrationInProgress":{"heading":"Maintenance In Progress","description":"Playlists is currently undergoing some maintenance. Check back soon for some exciting updates!"},"newPlaylist":{"title":"New Playlist"},"playlist":{"followError":"Playlist couldn't be followed. Please try again later.","unfollowError":"Playlist couldn't be unfollowed. Please try again later."},"playlists":{"title":"Playlists"},"removeVideoFromPlaylist":{"title":"Remove %{name}","keep":"No, keep this video","confirm":"Yes, remove this video","check":"Are you sure you want to remove this video?","warning":"This will remove <strong>%{video}</strong> from the playlist <strong>%{playlist}</strong>."},"videoList":{"removeHeading":"Remove from playlist","removeInfo":"Remove from this playlist","library":"This video comes from your Library","workspace":"This video comes from your Workspace","otherWorkspace":"This video comes from the playlist owner's Workspace","exchange":"This video comes from the Exchange","series":"Series:","added":"Added","ratedTitle":"Rated:","unrated":"UNRATED","unratedTitle":"Rated: UNRATED","productionYearTitle":"Production Year:","interactive":"Interactive","interactiveTitle":"Interactive videos are available for this programme.","showMore":"... Show more","showLess":"Show less","hide":"Hide video","show":"Show video","plus":"+","minus":"-"}},"search":{"searchTips":{"heading":"Search Tips","firstTerm":"\"atomic bonding\"","firstDescription":"Search for exact phrases using quotation marks","secondTerm":"\"romeo and juliet\" english","secondDescription":"Combine normal and exact phrases together","thirdTerm":"-pollution","thirdDescription":"Exclude a keyword from your search","fourthTerm1":"tag:literature","fourthTerm2":"folder:science","fourthDescription":"Search for results within a tag, folder or series","fifthTerm":"folder:-physics","fifthDescription":"Use a \"-\" to exclude a folder, title or series"},"services":{"folderTag":"This folder","seriesTag":"This series"},"searchBar":{"findingResults":"Finding results...","recentSearches":"Recent Searches","allResults":"Show all results for","noLibraries":"There are currently no libraries to search. Add a new library to get started.","placeholder":"Search within your library... |||| Search within your libraries...","classifications":"topics","videos":"videos","tags":"tags","series":"series"}},"subjects":{"comingSoon":{"comingSoon":"Coming Soon","info":"We are currently building this topic. In the meantime, we can remind you when it's available.","remindMe":"Remind Me"},"heroVideo":{"resourcesHeading":"Resources","linksHeading":"Links","clipsHeading":"Clips","tagsHeading":"Tags","links":"%{smart_count} link |||| %{smart_count} links","resources":"%{smart_count} resource |||| %{smart_count} resources","clips":"%{smart_count} clip |||| %{smart_count} clips"},"classificationSeriesList":{"dashboard":"Dashboard","subview":"Series","heading":"Series: %{classification}"},"classification":{"dashboard":"Dashboard","playlists":"Playlists","series":"Series","popular":"Popular videos","unfollow":"Unfollow","follow":"Follow","share":"Share","followBtnTooltip":"Follow to get notifications on new content added to this subject"},"curriculumPresentationSelector":{"next":"Next","heading":"Which curriculum is most relevant to you?","info":"Content will be aligned to your chosen curriculum","back":"Back","error":"Something went wrong, please try again."},"levelPreferences":{"heading":"What year groups do you currently teach?","info":"This helps ClickView show you content that is suitable to your audience","back":"Back","next":"Next","allLevels":"I teach all year groups","error":"Something went wrong while we were trying to save your changes. Please try again."},"subjectPreferencesView":{"heading":"Which subjects are you interested in?","infoRow1":"This helps us tailor ClickView to you. Select as many as you like!","infoRow2":"You can select as many as you like!","back":"Back","allSubjects":"I'm interested in all subjects","next":"Next","error":"Something went wrong while we were trying to save your changes. Please try again."},"subjectPresentationSelector":{"next":"Next","heading":"What level do you currently teach?","info":"This will help ClickView show you more relevant content","error":"Something went wrong, please try again."},"preferencesSummary":{"heading":"A summary of your preferences","info":"You can change your preferences in your profile settings at any time!","levels":"Year groups","subjects":"Subjects","getStarted":"Get Started","save":"Save My Preferences","noLevelPreferences":"You haven't set any year group preferences yet.","noSubjectPreferences":"You haven't set any subject preferences yet.","allLevels":"You have selected all year groups.","allSubjects":"You have selected all subjects.","onboardingOptionError":"Something went wrong. Please check your internet connection and try again."},"preferencesWelcome":{"welcomeUser":"Welcome %{firstName}!","info1":"We want to get to know you a little bit better so we can <strong>tailor ClickView to your teaching needs!</strong>","info2":"This will only take a few minutes and everything you'll ever need will be at your fingertips.","getStarted":"Get started","welcome":"Welcome!"}},"upload":{"fileType":{"heading":"Invalid file type","body":"Sorry but you cannot upload files of that type.","okay":"Okay","close":"Close"},"internetConnectivityError":{"title":"Internet connectivity issue","heading":"Connectivity issue.","body":"There seems to be an issue with your internet connection. Please try uploading your files again.","okay":"Okay"},"utils":{"videoProcessingError":"Something went wrong processing this video.","waiting":"Waiting to be processed","processing":"Processing %{progress}%","complete":"Complete","readyToWatch":"Ready to watch, still processing higher resolutions."}},"shared":{"backButton":{"back":"Back","backTo":"Back to %{backToName}"},"editVideoDetails":{"nameExceeds":"Name is too long","nameRequired":"Name is required","descriptionExceeds":"Description is too long","namePlaceholder":"Enter a name for your video","descriptionPlaceholder":"Enter a description for your video","cancel":"Cancel","nameLabel":"Title","descriptionLabel":"Description"},"favouriteButton":{"favouriteError":"Failed to favourite video.","unfavouriteError":"Failed to unfavourite video."},"formButtons":{"create":"Create","save":"Save","next":"Next"},"pagination":{"next":"Next","previous":"Previous"},"searchBar":{"placeholder":"Enter a search query","recentSearchHeading":"Recent Searches"},"videoItemDescription":{"showMore":"... Show more","showLess":"Show less"},"dynamicWidget":{"topics":"Topics","teach":"What would you like to teach?","preferencesTooltip":"Update your preferences"},"fixedWidget":{"preferencesTooltip":"Update your preferences"},"greeting":{"morning":"Good morning","afternoon":"Good afternoon","evening":"Good evening","fallback":"Hello","prompt":"What would you like to teach today?"},"subjectWidgetItem":{"comingSoon":"Coming Soon","edit":"Edit My Subjects"},"_pagination":{"next":"Next","previous":"Previous"},"shared-utils":{"responsive":"Responsive","small":"Small","medium":"Medium","large":"Large"},"videoActionsHelper":{"addToPlaylist":"Add to playlist","removeFromPlaylist":"Remove from playlist","share":"Share","edit":"Edit"},"context":{"defaultTitle":"Playlists"},"notFound":{"title":"Page not found","heading":"Page not found","description":"This page does not exist"},"error":{"return":"Return to home"},"share":{"close":"Close","share":"Share","sharePlaylist":"Share Playlist"}},"contentUpdates":{"contentUpdatesView":{"followed":"Successfully followed <strong>%{classification}</strong>","unfollowed":"Successfully unfollowed <strong>%{classification}</strong>","showMore":"Show more new %{classificationName} videos","error":"Something went wrong, please try again."}},"dashboard":{"heroWidget":{"play":"Play","addToPlaylist":"Add to playlist","previous":"Previous","next":"Next"},"onboardingNag":{"heading":"Finish these steps to access our latest features","progress":"Your profile is %{percentage}% complete","cta":"Complete my profile","joinClickView":"Join ClickView","yearLevels":"Choose your year groups","subjects":"Select your subjects","verifyEmail":"Verify Email"},"dashboard":{"curriculum":"Search by Curriculum","contentUpdates":"Latest Releases from ClickView","featuredChannels":"Featured Channels"}},"":{},"default":{"verifyEmail":{"verifyEmailTitleNotOnboarding":"Verify Email","verifyEmailTitleOnboarding":"Before you get started...","subHeading":"We've noticed you haven't verified your email yet!","verifyEmailBody":"To keep up to date with the latest content from all your chosen subjects, please verify your email address.","verifyBtn":"Verify My Email","cancel":"Cancel","doLater":"I'll do this another time","placeholder":"Enter your email address here","emailRequired":"Please provide a valid email address","emailInvalid":"Please provide a valid email address","emailSentSuccess":"Verification email sent! Please check your inbox to complete verification","emailSentError":"Oops, something went wrong while we were trying to send you a verification email."}},"exchange":{"exchangeSubNav":{"home":"Home","categories":"Categories","mostRecent":"Most Recent","featuredChannels":"Featured Channels","interactives":"Interactive Videos","tvGuide":"TV Guide","clickViewTraining":"ClickView Training","contribute":"+ Contribute a video","bccRes":"BBC RES"},"exchange":{"remoteTeaching":"<strong>Teaching Remotely?</strong> Visit our <a target=\"_blank\" href=\"%{href}\" class=\"%{linkClass}\">remote teaching resource</a> for simple, practical ways to keep students engaged using ClickView."}},"libraries":{"libraries":{"newInteractives":"New Interactives","recentlyAdded":"Recently Added to %{name}"}},"moviesAndTv":{"moviesAndTv":{"infoBanner":"🔎 You're currently viewing all Movies + TV content. Students will <strong>only</strong> see videos within their allowed rating."}}}
1
+ {"notifications":{"notificationList":{"noNotifications":"You have no notifications"},"services":{"suggestEditSubmit":"Suggestion was successfully submitted"},"utils":{"viewVideoDetails":"View video details","viewVideo":"View video","reviewVideos":"Review videos","viewNewContent":"View new content","reviewVideo":"Review video","seeNow":"See now"},"notifications":{"title":"Notifications","notifications":"Notifications"},"notificationsPopover":{"notifications":"Notifications","seeAll":"See all notifications"}},"playlists":{"emptyState":{"noPlaylistsHeading":"You have no playlists","noPlaylistsInfo":"Click <strong>New Playlist</strong> above to create one.","noVideosHeading":"There are no videos in this playlist","noVideosInfo":"Learn how to add videos to a playlist."},"playlistItem":{"videos":"%{smart_count} video |||| %{smart_count} videos","lastUpdated":"Last updated: %{timeAgo}"},"playlistSortSelect":{"recentlyUpdated":"Recently updated","atoz":"A to Z","ztoa":"Z to A","newest":"Newest","oldest":"Oldest"},"hooks":{"somethingWentWrong":"Something went wrong"},"validation":{"nameExceeds":"Name is too long","nameRequired":"Name is required","descriptionExceeds":"Description is too long"},"onlineClassificationBanner":{"follow":"Follow","following":"Following"},"onlineClassificationUpdateBreadcrumbs":{"dashboard":"Dashboard","whatsNew":"Whats new at ClickView"},"onlineWhatsNewBreadcrumbs":{"dashboard":"Dashboard","whatsNew":"What's new at ClickView","switchBack":"Switch back to the old look"},"leftNavItem":{"share":"Share","edit":"Edit Playlist Details","delete":"Delete Playlist"},"leftNav":{"playlists":"Playlists","loading":"Loading more...","seeMore":"See more playlists"},"legacyPlaylistItem":{"video":"%{smart_count} video |||| %{smart_count} videos","share":"Share","edit":"Edit Playlist Details","delete":"Delete Playlist"},"playlistDetails":{"nameLabel":"Playlist Name","namePlaceholder":"Give your playlist a name...","descriptionLabel":"Description","descriptionPlaceholder":"Describe your playlist here","create":"Create","save":"Save","cancel":"Cancel"},"playlistHeader":{"follow":"Follow","following":"Following","edit":"Edit","share":"Share","delete":"Delete playlist","createdBy":"Created by %{user}","videos":"%{smart_count} video |||| %{smart_count} videos","followers":"%{smart_count} follower |||| %{smart_count} followers"},"playlistListHeader":{"heading":"%{fname} %{lname}'s Playlists","newPlaylist":"New Playlist","createNewPlaylist":"Create a new playlist"},"videoNotFound":{"heading":"Video Not Found","info":"The video you have requested could not be found or has been removed.","returnTo":"Return to %{name}"},"app":{"accessDeniedHeading":"You do not have permission to view this playlist.","accessDeniedInfo":"If it was previously shared with you, the owner may have changed the privacy settings.","notFoundHeading":"Playlist Not Found","notFoundInfo":"The playlist you have requested could not be found or has been removed."},"services":{"createPlaylistSuccess":"Successfully created playlist.","createPlaylistError":"Failed to create playlist.","updatePlaylistSuccess":"Successfully updated playlist.","updatePlaylistError":"Failed to save playlist.","deletePlaylistError":"Failed to delete playlist.","updatePlaylistOrderError":"Failed to update playlist order.","addToPlaylistSuccess":"Successfully added video to playlist.","addToPlaylistError":"Failed to add video to playlist."},"addToPlaylist":{"heading":"Add to Playlist","selectPlaylist":"Select a playlist to add <strong>%{video}</strong> to:"},"selectPlaylist":{"placeholder":"Search your playlists or create a new one...","recentPlaylistsHeading":"Recent playlists saved to:","suggestionsHeading":"My Playlists","createPlaylist":"Create new playlist: <strong>%{name}</strong>"},"deletePlaylist":{"title":"Delete %{name}","keep":"No, keep my playlist","confirm":"Yes, delete this playlist","check":"Are you sure you want to delete this playlist?","warning":"This will permanently delete the playlist <strong>%{name}</strong>, along with any share links.","videoNote":"Videos in this playlist will not be deleted."},"editPlaylist":{"title":"Edit %{name}","heading":"Edit Playlist Details"},"migrationInProgress":{"heading":"Maintenance In Progress","description":"Playlists is currently undergoing some maintenance. Check back soon for some exciting updates!"},"newPlaylist":{"title":"New Playlist"},"playlist":{"followError":"Playlist couldn't be followed. Please try again later.","unfollowError":"Playlist couldn't be unfollowed. Please try again later."},"playlists":{"title":"Playlists"},"removeVideoFromPlaylist":{"title":"Remove %{name}","keep":"No, keep this video","confirm":"Yes, remove this video","check":"Are you sure you want to remove this video?","warning":"This will remove <strong>%{video}</strong> from the playlist <strong>%{playlist}</strong>."},"videoList":{"removeHeading":"Remove from playlist","removeInfo":"Remove from this playlist","library":"This video comes from your Library","otherLibrary":"This video comes from the playlist owner's Library","workspace":"This video comes from your Workspace","otherWorkspace":"This video comes from the playlist owner's Workspace","exchange":"This video comes from the Exchange","series":"Series:","added":"Added","ratedTitle":"Rated:","unrated":"UNRATED","unratedTitle":"Rated: UNRATED","productionYearTitle":"Production Year:","interactive":"Interactive","interactiveTitle":"Interactive videos are available for this programme.","showMore":"... Show more","showLess":"Show less","hide":"Hide video","show":"Show video","plus":"+","minus":"-"}},"search":{"searchTips":{"heading":"Search Tips","firstTerm":"\"atomic bonding\"","firstDescription":"Search for exact phrases using quotation marks","secondTerm":"\"romeo and juliet\" english","secondDescription":"Combine normal and exact phrases together","thirdTerm":"-pollution","thirdDescription":"Exclude a keyword from your search","fourthTerm1":"tag:literature","fourthTerm2":"folder:science","fourthDescription":"Search for results within a tag, folder or series","fifthTerm":"folder:-physics","fifthDescription":"Use a \"-\" to exclude a folder, title or series"},"services":{"folderTag":"This folder","seriesTag":"This series"},"searchBar":{"findingResults":"Finding results...","recentSearches":"Recent Searches","allResults":"Show all results for","noLibraries":"There are currently no libraries to search. Add a new library to get started.","placeholder":"Search within your library... |||| Search within your libraries...","classifications":"topics","videos":"videos","tags":"tags","series":"series"}},"subjects":{"comingSoon":{"comingSoon":"Coming Soon","info":"We are currently building this topic. In the meantime, we can remind you when it's available.","remindMe":"Remind Me"},"heroVideo":{"resourcesHeading":"Resources","linksHeading":"Links","clipsHeading":"Clips","tagsHeading":"Tags","links":"%{smart_count} link |||| %{smart_count} links","resources":"%{smart_count} resource |||| %{smart_count} resources","clips":"%{smart_count} clip |||| %{smart_count} clips"},"classification":{"dashboard":"Dashboard","playlists":"Playlists","series":"Series","popular":"Popular videos","unfollow":"Unfollow","follow":"Follow","share":"Share","followBtnTooltip":"Follow to get notifications on new content added to this subject"},"preferences":{"pageTitleOnboarding":"Onboarding","pageTitlePreferences":"Preferences"},"curriculumPresentationSelector":{"next":"Next","heading":"Which curriculum is most relevant to you?","info":"Content will be aligned to your chosen curriculum","back":"Back","error":"Something went wrong, please try again."},"levelPreferences":{"heading":"What year groups do you currently teach?","info":"This helps ClickView show you content that is suitable to your students","back":"Back","next":"Next","allLevels":"I teach all year groups","error":"Something went wrong while we were trying to save your changes. Please try again."},"subjectPreferencesView":{"heading":"Which subjects are you interested in?","infoRow1":"This helps us tailor ClickView to you.","infoRow2":"Select as many as you like!","back":"Back","allSubjects":"I'm interested in all subjects","next":"Next","error":"Something went wrong while we were trying to save your changes. Please try again."},"subjectPresentationSelector":{"next":"Next","heading":"What level do you currently teach?","info":"This will help ClickView show you more relevant content","error":"Something went wrong, please try again."},"preferencesSummary":{"heading":"A summary of your preferences","info":"You can change your preferences in your profile settings at any time!","levels":"Year groups","subjects":"Subjects","getStarted":"Get Started","save":"Save My Preferences","noLevelPreferences":"You haven't set any year group preferences yet.","noSubjectPreferences":"You haven't set any subject preferences yet.","allLevels":"I'm interested in all year groups","allSubjects":"I'm interested in all subjects","onboardingOptionError":"Something went wrong. Please check your internet connection and try again."},"preferencesWelcome":{"welcomeUser":"Welcome %{firstName}!","info1":"We want to get to know you a little bit better so we can <strong>tailor ClickView to your teaching needs!</strong>","info2":"This will only take a few minutes and everything you'll ever need will be at your fingertips.","getStarted":"Get started","welcome":"Welcome!"}},"upload":{"fileType":{"heading":"Invalid file type","body":"Sorry but you cannot upload files of that type.","okay":"Okay","close":"Close"},"internetConnectivityError":{"title":"Internet connectivity issue","heading":"Connectivity issue.","body":"There seems to be an issue with your internet connection. Please try uploading your files again.","okay":"Okay"},"utils":{"videoProcessingError":"Something went wrong processing this video.","waiting":"Waiting to be processed","processing":"Processing %{progress}%","complete":"Complete","readyToWatch":"Ready to watch, still processing higher resolutions."}},"shared":{"backButton":{"back":"Back","backTo":"Back to %{backToName}"},"editVideoDetails":{"nameExceeds":"Name is too long","nameRequired":"Name is required","descriptionExceeds":"Description is too long","namePlaceholder":"Enter a name for your video","descriptionPlaceholder":"Enter a description for your video","cancel":"Cancel","nameLabel":"Title","descriptionLabel":"Description"},"favouriteButton":{"favouriteError":"Failed to favourite video.","unfavouriteError":"Failed to unfavourite video."},"formButtons":{"create":"Create","save":"Save","next":"Next"},"pagination":{"next":"Next","previous":"Previous"},"searchBar":{"placeholder":"Enter a search query","recentSearchHeading":"Recent Searches"},"videoItemDescription":{"showMore":"... Show more","showLess":"Show less"},"dynamicWidget":{"topics":"Topics","teach":"What would you like to teach?","preferencesTooltip":"Update your preferences"},"fixedWidget":{"preferencesTooltip":"Update your preferences"},"greeting":{"morning":"Good morning","afternoon":"Good afternoon","evening":"Good evening","fallback":"Hello","prompt":"What would you like to teach today?"},"subjectWidgetItem":{"comingSoon":"Coming Soon","edit":"Edit My Subjects"},"_pagination":{"next":"Next","previous":"Previous"},"shared-utils":{"responsive":"Responsive","small":"Small","medium":"Medium","large":"Large"},"videoActionsHelper":{"addToPlaylist":"Add to playlist","removeFromPlaylist":"Remove from playlist","share":"Share","edit":"Edit"},"notFound":{"title":"Page not found","heading":"Page not found","description":"This page does not exist"},"error":{"return":"Return to home"},"share":{"close":"Close","share":"Share","sharePlaylist":"Share Playlist"}},"contentUpdates":{"classificationUpdate":{"defaultPageTitle":"Content Updates"},"contentUpdatesView":{"followed":"Successfully followed <strong>%{classification}</strong>","unfollowed":"Successfully unfollowed <strong>%{classification}</strong>","showMore":"Show more new %{classificationName} videos","error":"Something went wrong, please try again.","pageTitle":"Content Updates"}},"dashboard":{"heroWidget":{"play":"Play","addToPlaylist":"Add to playlist","previous":"Previous","next":"Next"},"onboardingNag":{"heading":"Finish these steps to access our latest features","progress":"Your profile is %{percentage}% complete","cta":"Complete my profile","joinClickView":"Join ClickView","yearLevels":"Choose your year groups","subjects":"Select your subjects","verifyEmail":"Verify Email"},"dashboard":{"curriculum":"Search by Curriculum","contentUpdates":"Latest Releases from ClickView","featuredChannels":"Featured Channels","pageTitle":"Dashboard"}},"":{},"default":{"verifyEmail":{"verifyEmailTitleNotOnboarding":"Verify Email","verifyEmailTitleOnboarding":"Before you get started...","subHeading":"We've noticed you haven't verified your email yet!","verifyEmailBody":"To keep up to date with the latest content from all your chosen subjects, please verify your email address.","verifyBtn":"Verify My Email","cancel":"Cancel","doLater":"I'll do this another time","placeholder":"Enter your email address here","emailRequired":"Please provide a valid email address","emailInvalid":"Please provide a valid email address","emailSentSuccess":"Verification email sent! Please check your inbox to complete verification","emailSentError":"Oops, something went wrong while we were trying to send you a verification email."}},"exchange":{"exchangeSubNav":{"home":"Home","categories":"Categories","mostRecent":"Most Recent","featuredChannels":"Featured Channels","interactives":"Interactive Videos","tvGuide":"TV Guide","clickViewTraining":"ClickView Training","contribute":"+ Contribute a video","bccRes":"BBC RES"},"exchange":{"remoteTeaching":"<strong>Teaching Remotely?</strong> Visit our <a target=\"_blank\" href=\"%{href}\" class=\"%{linkClass}\">remote teaching resource</a> for simple, practical ways to keep students engaged using ClickView.","pageTitle":"ClickView Exchange"}},"libraries":{"libraries":{"newInteractives":"New Interactives","recentlyAdded":"Recently Added to %{name}","pageTitle":"ClickView Libraries"}},"moviesAndTv":{"moviesAndTv":{"infoBanner":"🔎 You're currently viewing all Movies + TV content. Students will <strong>only</strong> see videos within their allowed rating.","pageTitle":"Movies + TV"}}}
@@ -101,7 +101,8 @@ export declare enum EntityType {
101
101
  Upload = "upload",
102
102
  SearchResults = "search_results",
103
103
  Audience = "audience",
104
- User = "user"
104
+ User = "user",
105
+ Clip = "clip"
105
106
  }
106
107
  export declare enum LocationContext {
107
108
  TopNav = "top_nav",
@@ -211,6 +212,41 @@ export declare enum ClickDescriptor {
211
212
  Close = "close",
212
213
  Open = "open"
213
214
  }
215
+ export declare enum VideoActionDescriptor {
216
+ FeatureUserChannelVideo = "feature_user_channel_video",
217
+ RemoveFromUserChannelPlaylist = "remove_from_user_channel_playlist",
218
+ ShareClip = "share_clip",
219
+ ViewOriginalVideo = "view_original_video",
220
+ ShareInteractive = "share_interactive",
221
+ DeleteInteractiveVideo = "delete_interactive_video",
222
+ CopyInteractiveVideo = "copy_interactive_video",
223
+ EditInteractiveVideo = "edit_interactive_video",
224
+ PrintAsWorksheet = "print_as_worksheet",
225
+ PreviewInteractiveVideo = "preview_interactive_video",
226
+ ViewResults = "view_results",
227
+ MoveToAnotherFolder = "move_to_another_folder",
228
+ CreateInteractiveVideo = "create_interactive_video",
229
+ ShareVideo = "share_video",
230
+ EditVideo = "edit_video",
231
+ DownloadVideo = "download_video",
232
+ AddToExchange = "add_to_exchange",
233
+ AddToUserChannel = "add_to_user_channel",
234
+ CreateClip = "create_clip",
235
+ FlagVideo = "flag_video",
236
+ AddToLibrary = "add_to_library",
237
+ AddToWorkspace = "add_to_workspace",
238
+ AddToPlaylist = "add_to_playlist",
239
+ AddCurriculumLink = "add_curriculum_link",
240
+ ViewCurriculumLinks = "view_curriculum_links",
241
+ OpenInCurator = "open_in_curator",
242
+ ManageVideoAccess = "manage_video_access",
243
+ Approve = "approve",
244
+ AddToLocalCache = "add_to_local_cache",
245
+ OpenInLibraryEditor = "open_in_library_editor",
246
+ PlayClip = "play_clip",
247
+ EditClip = "edit_clip",
248
+ DeleteClip = "delete_clip"
249
+ }
214
250
  export declare enum CustomerSettingDescriptor {
215
251
  LibraryReview = "library_review"
216
252
  }
@@ -232,7 +268,7 @@ export declare enum ToggleDescriptor {
232
268
  /**
233
269
  * Action descriptors give further context to UserActions
234
270
  */
235
- export declare type ActionDescriptor = OperationDescriptor | SortDescriptor | FilterDescriptor | DirectSearchDescriptor | PageDescriptor | PlaybackDescriptor | CustomerSettingDescriptor | SuggestionDescriptor | InteractionTypeDescriptor | AssocDescriptor | ClickDescriptor | ToggleDescriptor;
271
+ export declare type ActionDescriptor = OperationDescriptor | SortDescriptor | FilterDescriptor | DirectSearchDescriptor | PageDescriptor | PlaybackDescriptor | CustomerSettingDescriptor | SuggestionDescriptor | InteractionTypeDescriptor | AssocDescriptor | ClickDescriptor | ToggleDescriptor | VideoActionDescriptor;
236
272
  /**
237
273
  * Placeholder values to be used in circumstances where we need
238
274
  * to simply signify that a change has occurred. Particularly if it is
@@ -39,6 +39,10 @@ export declare class CoreView<TModel extends BaseModel = BaseModel> extends Mari
39
39
  * when this view is rendered.
40
40
  */
41
41
  title: string | boolean;
42
+ /**
43
+ * The i18n namespace used in the view
44
+ */
45
+ lang?: string;
42
46
  /**
43
47
  * The default properties that will be taken
44
48
  * from `options` and added to the context.
@@ -9,5 +9,6 @@ export declare const UrlHelper: {
9
9
  buildFilter(params: FilterParams): string;
10
10
  makeHttps(url: string): string;
11
11
  safeUrlConcat(baseUrl: string, path: string): string;
12
+ removeTrailingSlash(baseUrl: string): string;
12
13
  };
13
14
  export {};
@@ -6,5 +6,5 @@ interface BackboneViewWrapperProps {
6
6
  options?: HashObject;
7
7
  className?: string;
8
8
  }
9
- export declare function BackboneViewWrapper({ view, options, className }: BackboneViewWrapperProps): JSX.Element;
9
+ export declare function BackboneViewWrapper(props: BackboneViewWrapperProps): JSX.Element;
10
10
  export {};
@@ -0,0 +1,10 @@
1
+ import * as React from 'react';
2
+ interface IPageTitleContext {
3
+ setPageTitle?: (title: string) => void;
4
+ revertPageTitle?: () => void;
5
+ }
6
+ export declare const PageTitleContext: React.Context<IPageTitleContext>;
7
+ export declare const PageTitleContextProvider: (props: React.PropsWithChildren<{
8
+ defaultTitle?: string;
9
+ }>) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)>) | (new (props: any) => React.Component<any, any, any>)>;
10
+ export {};
@@ -4,4 +4,4 @@
4
4
  * @param dependencies - values from the component (e.g. state, props and functions) that are used
5
5
  * inside the effect hook.
6
6
  */
7
- export declare function useSetPageTitle(title: string, dependencies?: any[]): void;
7
+ export declare function useSetPageTitle(title: string | boolean, dependencies?: any[]): void;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ interface BulkPreferenceSummaryProps {
3
+ imageUrl: string;
4
+ text: string;
5
+ }
6
+ export declare function BulkPreferenceSummary(props: BulkPreferenceSummaryProps): JSX.Element;
7
+ export {};
@@ -1,6 +1,11 @@
1
1
  import * as React from 'react';
2
2
  interface PreferenceFooterProps extends React.PropsWithChildren<{}> {
3
- align?: 'right' | 'center';
3
+ justify?: 'end' | 'center' | 'between';
4
4
  }
5
5
  export declare function PreferenceFooter(props: PreferenceFooterProps): JSX.Element;
6
+ export declare namespace PreferenceFooter {
7
+ var defaultProps: {
8
+ justify: string;
9
+ };
10
+ }
6
11
  export {};
@@ -0,0 +1,15 @@
1
+ import { HashObject } from "../../../../../common/src/react/interfaces";
2
+ import { Presentation } from "../../../interfaces";
3
+ import { BulkOnboardingPreferencesState } from "../../../enums/BulkOnboardingPreferencesState";
4
+ export declare type PreferenceStep = 'welcome' | 'subjects' | 'levels' | 'summary' | 'school-level' | 'curriculum';
5
+ export declare const OnboardingHelper: {
6
+ getIsStep(currentStep: PreferenceStep): (steps?: "summary" | "curriculum" | "welcome" | "subjects" | "levels" | "school-level" | PreferenceStep[]) => boolean;
7
+ hasManyPresentationTypes(presentations?: Presentation[]): HashObject<any>;
8
+ getBulkPreferencesState(state: BulkOnboardingPreferencesState): {
9
+ subjects: boolean;
10
+ levels: boolean;
11
+ };
12
+ stepIsValid(step: string): step is PreferenceStep;
13
+ hasBulkSelectedLevels(bulkState: BulkOnboardingPreferencesState): boolean;
14
+ hasBulkSelectedSubjects(bulkState: BulkOnboardingPreferencesState): boolean;
15
+ };
@@ -4,11 +4,13 @@ interface BackButtonProps {
4
4
  appLink: Core.AppLink;
5
5
  backToName?: string;
6
6
  color?: 'black' | 'white';
7
+ extraClasses?: string;
7
8
  }
8
- export declare function BackButton({ backToName, appLink, color }: BackButtonProps): React.ReactElement;
9
+ export declare function BackButton({ backToName, appLink, color, extraClasses }: BackButtonProps): React.ReactElement;
9
10
  export declare namespace BackButton {
10
11
  var defaultProps: {
11
12
  color: string;
13
+ extraClasses: string;
12
14
  };
13
15
  }
14
16
  export {};
@@ -9,6 +9,7 @@ interface BannerHeaderProps {
9
9
  actions?: ActionOptions[];
10
10
  backButtonAppLink?: Core.AppLink;
11
11
  backButtonText?: string;
12
+ backButtonClasses?: string;
12
13
  sortComponent?: JSX.Element;
13
14
  }
14
15
  export declare const BannerHeader: React.NamedExoticComponent<BannerHeaderProps>;
@@ -1,4 +1,5 @@
1
1
  export declare const AppVariables: {
2
2
  SEARCH: string;
3
3
  NOTIFICATIONS: string;
4
+ SUBJECTS: string;
4
5
  };
@@ -1,4 +1,18 @@
1
1
  export declare enum SettingName {
2
+ FollowingBetaAccess = "following_beta_access",
3
+ MustCompleteOnboarding = "must_complete_onboarding",
4
+ StudentWorkspaceSharing = "student_ws_sharing",
5
+ StudentToStudentMessaging = "student_to_student_messaging",
6
+ HideResourcesForStudents = "hide_resources_for_students",
7
+ LibraryReview = "library_review",
8
+ SchoolMessaging = "school_messaging",
9
+ LegacyTvNaming = "legacy_tv_naming",
10
+ LegacyAlbertCustomer = "legacy_albert_customer",
11
+ HideHostedLibraries = "hide_hosted_libraries",
12
+ StaffRequest = "staff_request",
13
+ MaxCustomLibraries = "max_custom_libraries",
14
+ CustomLibrariesBetaAccess = "custom_libraries_beta_access",
15
+ AutoCaptioning = "auto_captioning",
2
16
  HasCompletedOnboarding = "has_completed_onboarding",
3
- FollowingBetaAccess = "following_beta_access"
17
+ BulkOnboardingPreferencesState = "bulk_onboarding_preferences_state"
4
18
  }
@@ -3,5 +3,5 @@ import { SettingName } from "../enums/SettingName";
3
3
  import { SettingKind } from "../enums/SettingKind";
4
4
  export declare const SettingRequests: {
5
5
  setting(entityId: string, name: SettingName): Flight.Request;
6
- updateSetting(entityId: string, name: SettingName, value: any, kind: SettingKind, success: () => void, error: () => void): Flight.Request;
6
+ updateSetting(entityId: string, name: SettingName, value: any, kind: SettingKind, success?: () => void, error?: () => void): Flight.Request;
7
7
  };
@@ -1,6 +1,7 @@
1
1
  import { Flight } from "../../../common/src/react";
2
+ import { CurrentUser } from "../interfaces";
2
3
  export declare const UserRequests: {
3
- currentUser: Flight.Request;
4
+ currentUser(success?: (user: CurrentUser) => void, error?: () => void): Flight.Request;
4
5
  workspace: Flight.Request;
5
6
  sendVerificationEmail(emailAddress: string, success: () => void, error: () => void, always: () => void): Flight.Request;
6
7
  };
@@ -11,4 +11,5 @@ export interface SearchAppLinks {
11
11
  export declare abstract class BaseSearchAppVariables {
12
12
  abstract get appLinks(): SearchAppLinks;
13
13
  get name(): string;
14
+ abstract get addSlugs(): boolean;
14
15
  }
@@ -1,9 +1,9 @@
1
1
  import { SettingKind } from "../../enums/SettingKind";
2
2
  import { SettingName } from "../../enums/SettingName";
3
- export interface EntitySetting {
3
+ export interface EntitySetting<TValue = any> {
4
4
  name: SettingName;
5
5
  displayName: string;
6
- value: any;
6
+ value: TValue;
7
7
  type: string;
8
8
  kind: SettingKind;
9
9
  }
@@ -1,8 +1,12 @@
1
1
  import { BaseObject } from './primitives';
2
2
  import { ThemeType } from "../../enums/ThemeType";
3
- export declare type ThemeData = {
4
- [key: string]: object;
5
- };
3
+ import { HeroBanner } from './HeroBanner';
4
+ export interface ThemeData {
5
+ bottomLeft: HeroBanner;
6
+ bottomRight: HeroBanner;
7
+ topLeft: HeroBanner;
8
+ topRight: HeroBanner;
9
+ }
6
10
  export interface Theme extends BaseObject {
7
11
  name: string;
8
12
  type: ThemeType;
@@ -32,7 +32,7 @@ export interface CurrentUser extends BaseObject {
32
32
  username: string;
33
33
  avatar: string;
34
34
  timeZone: string;
35
- role: UserRole;
35
+ role: 'Admin' | 'Guest' | 'User' | 'SuperAdmin';
36
36
  displayName: string;
37
37
  givenName: string;
38
38
  familyName: string;
@@ -0,0 +1,7 @@
1
+ import { SettingName } from "../../enums/SettingName";
2
+ import { EntitySetting } from "./..";
3
+ import { SettingKind } from "../../enums/SettingKind";
4
+ export interface BaseSettingsDataService<TSettingModel = EntitySetting, TSettingCollection = EntitySetting[]> {
5
+ getSetting: (entityId: string, name: SettingName, callback?: (data: TSettingModel) => void) => TSettingModel;
6
+ getSettings: (entityId: string, kind?: SettingKind, callback?: (data: TSettingCollection) => void) => TSettingCollection;
7
+ }
@@ -0,0 +1,4 @@
1
+ import { CurrentUser } from "./..";
2
+ export interface BaseUserDataService {
3
+ getCurrentUser(success?: (user: CurrentUser) => void, error?: () => void): void;
4
+ }
@@ -2,3 +2,5 @@ export * from './BaseVideoDataService';
2
2
  export * from './BaseVideoUploadDataService';
3
3
  export * from './BaseLibraryDataService';
4
4
  export * from './BaseSeriesDataService';
5
+ export * from './BaseSettingsDataService';
6
+ export * from './BaseUserDataService';
@@ -4,10 +4,11 @@ import { FetchOptions } from "../../../common/src/react/utils/FetchHelper";
4
4
  import { BaseDataService } from "../../../common/src/backbone/services/BaseDataService";
5
5
  import { DataServiceError } from "../../../common/src/backbone/interfaces";
6
6
  import { HashObject } from "../../../common/src/react/interfaces/HashObject";
7
- export declare class UserDataService extends BaseDataService {
7
+ import { BaseUserDataService, CurrentUser } from "../interfaces";
8
+ export declare class UserDataService extends BaseDataService implements BaseUserDataService {
8
9
  get name(): string;
9
10
  get channelName(): string;
10
- getCurrentUser<T>(callback?: (user: T) => void, errorCallback?: () => void): T;
11
+ getCurrentUser<T = CurrentUser>(callback?: (user: T) => void, errorCallback?: () => void): T;
11
12
  getWorkspace(callback: (workspace: HashObject) => void, errorCallback?: () => void): HashObject;
12
13
  }
13
14
  export declare const UserDataServiceHelper: {
@@ -15,7 +16,7 @@ export declare const UserDataServiceHelper: {
15
16
  currentUser: {
16
17
  dataServiceName: string;
17
18
  eventName: string;
18
- getData: (instance: UserDataService) => unknown;
19
+ getData: (instance: UserDataService) => CurrentUser;
19
20
  getInstance: (context: import("backbone").Events) => unknown;
20
21
  beforeOnBeforeRender: boolean;
21
22
  };
@@ -10,6 +10,7 @@ export interface ImageOptions {
10
10
  resizeType?: ResizeType;
11
11
  ratio?: string;
12
12
  name?: string;
13
+ format?: 'png' | 'jpg';
13
14
  }
14
15
  export interface CategoryMapperImageOptions {
15
16
  fallbackBaseUrl: string;
@@ -6,7 +6,7 @@
6
6
 
7
7
  ._286KF{position:absolute;bottom:1.25rem;right:1.25rem}
8
8
 
9
- ._4eCbo{position:relative;padding:2rem}._4eCbo h1{font-size:2.4rem;margin:0}._2WBLn{position:absolute;top:2rem;right:2rem}._3YWHl .btn,._2WBLn .btn{margin-left:1rem;padding-left:2.7rem;padding-right:1.2rem}._3YWHl .dropdown-toggle,._2WBLn .dropdown-toggle{padding:0;height:100%}._3HWMX,._3xry5{margin-top:1rem}._2_mFA{width:25%}._2_mFA h1{height:2.4rem}._1C-uu{height:1.4rem;width:30%}._3fZ4_{display:inline-block;height:3rem;width:9rem;margin-left:1rem}
9
+ ._2_mFA{width:25%}._2_mFA h1{height:2.4rem}._4eCbo{position:relative;padding:2rem;overflow:auto}._4eCbo ._2JckH h1{font-size:2.4rem;margin:0;word-break:break-word}._4eCbo::after{content:"";clear:both;display:table}._2WBLn{float:right}._3YWHl .btn,._2WBLn .btn{margin-left:1rem;padding-left:2.7rem;padding-right:1.2rem}._3YWHl .dropdown-toggle,._2WBLn .dropdown-toggle{padding:0;height:100%}._3HWMX,._3xry5{margin-top:1rem}.A7JOJ{display:flex;align-items:center;margin:0;position:absolute;top:15px;left:15px;color:#fff}.A7JOJ:hover{text-decoration:underline}._3lrGQ{display:flex;align-items:center;padding-bottom:.3125rem;color:#979797;transform:translateX(-.3125rem)}._3lrGQ:hover{text-decoration:underline}._1C-uu{height:1.4rem;width:30%}._3fZ4_{display:inline-block;height:3rem;width:9rem;margin-left:1rem}
10
10
 
11
11
  ._1YW-E{width:100%;height:100%}
12
12
 
@@ -20,7 +20,7 @@
20
20
 
21
21
  ._1IfFN{position:relative;border-radius:50%;background-color:#fff;width:100%;height:100%;text-align:center}._1IfFN svg{position:absolute;top:50%;left:54%;transform:translate(-50%, -50%);width:60%;height:60%}
22
22
 
23
- ._6o0Z2{padding-bottom:100%}._2JLPt::after{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.5) 5%, rgba(0,0,0,0.4) 10%, rgba(0,0,0,0.2) 25%, rgba(0,0,0,0.05) 50%, rgba(0,0,0,0.02) 60%, rgba(0,0,0,0) 80%)}._3MCKL{position:absolute;left:.625rem;right:.625rem;bottom:.625rem;z-index:1}._13tO6{height:2rem;width:17rem}.CwjTl{position:absolute;right:.625rem;top:.625rem;z-index:1;width:3rem;height:3rem}
23
+ ._6o0Z2{padding-bottom:100%}._2JLPt::after{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.5) 5%, rgba(0,0,0,0.4) 10%, rgba(0,0,0,0.2) 25%, rgba(0,0,0,0.05) 50%, rgba(0,0,0,0.02) 60%, rgba(0,0,0,0) 80%)}._3MCKL{position:absolute;left:.625rem;right:.625rem;bottom:.625rem;z-index:1}._3MCKL ._1Ukz7{display:block;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:break-word}._13tO6{height:2rem;width:17rem}.CwjTl{position:absolute;right:.625rem;top:.625rem;z-index:1;width:3rem;height:3rem}
24
24
 
25
25
  .xaJc0{position:relative;padding-bottom:1rem}.xaJc0 h1{font-size:1.6rem;line-height:3rem;margin:0}.BHhcf{float:right}.D9jjK{padding-left:2.7rem !important;padding-right:1.2rem}._1catI{font-size:1.3rem !important;font-weight:600;padding-right:0;padding-left:2.5rem !important}.D9jjK,._2Ldf8,._2VJVr{margin-left:1rem}._2Ldf8{padding:0;height:3rem}._2VJVr .dropdown-toggle{padding-left:1.2rem;padding-right:1.2rem}._2VJVr .dropdown-toggle::after{display:inline-block;content:'';width:0;height:0;margin-left:0.5rem;vertical-align:0.2rem;border-top:0.4rem solid;border-right:0.4rem solid transparent;border-left:0.4rem solid transparent}._2hy6F{width:25%}._2hy6F h1{height:3rem}._2DiYF{display:inline-block;height:3rem;width:9rem;margin-left:1rem}
26
26
 
@@ -30,27 +30,25 @@
30
30
 
31
31
  ._3PyFK{position:absolute;top:50%;left:1.25rem;transform:translateY(-50%);height:100%;width:3rem}._2qsr-{position:absolute;top:50%;transform:translateY(-50%);height:1rem;width:1rem}._2qsr- svg{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:100%;height:100%}.Egane{height:100%;width:100%;background-color:#7A76E8;border-radius:50%;display:inline-block}
32
32
 
33
- ._3A1z7{position:relative;padding:.5rem 1rem;line-height:2.4rem}._1orYF{display:block;margin-right:2rem}._3EHT0{margin-left:2rem}._1N9oK{position:absolute;top:.5rem;right:1rem}._1N9oK .dropdown{display:none}._1N9oK .show{display:block}.E1Yrs{padding:0;background-color:transparent !important;border:none !important;color:#979797}._3A1z7:hover .dropdown{display:block}
33
+ ._3A1z7{position:relative;padding:.5rem 1rem;line-height:2.4rem}._1orYF{display:block;margin-right:2rem;word-break:break-word}._3EHT0{margin-left:2rem}._1N9oK{position:absolute;top:.5rem;right:1rem}._1N9oK .dropdown{display:none}._1N9oK .show{display:block}.E1Yrs{padding:0;background-color:transparent !important;border:none !important;color:#979797}._3A1z7:hover .dropdown{display:block}
34
34
 
35
35
  ._3p-bQ{padding:0 1.25rem !important}
36
36
 
37
+ ._1LNYK{word-break:break-word}
38
+
37
39
  ._3ppPT{border-radius:.25rem;border:1px solid #D7D7D7;box-shadow:2px 3px 6px 1px rgba(0,0,0,0.1)}._3ppPT .close{float:none;line-height:0.8;vertical-align:top}._2gPqV ._1_wrK{z-index:1071}._2gPqV ._1_wrK .alert-enter{opacity:0}._2gPqV ._1_wrK .alert-enter-active{opacity:1;transition:opacity 200ms ease-in}._2gPqV ._1_wrK .alert-exit{opacity:1}._2gPqV ._1_wrK .alert-exit-active{opacity:0;transition:opacity 200ms ease-in}._2gpnl{vertical-align:top;text-align:center}._1akpi{width:15.625rem}._1akpi ._3jnJY{line-height:1.5;font-weight:500}
38
40
 
39
41
  ._1KxF9{background-color:#f8f8f8}.pbuec{background-color:#8abcdf}
40
42
 
41
- ._3XH_S{background-color:rgba(51,51,51,0.8)}.INxgX{background-color:rgba(248,152,29,0.9)}.Bt6Bx{background-color:#B5B5B5}._3XH_S,.INxgX,._3bOtF,.Bt6Bx{color:#fff;margin-left:.3125rem}._1BsVS .badge:first-child{margin-left:0}
42
-
43
- ._1RLPq{width:12rem;height:2rem}.oArG4{width:100%;padding-bottom:200%;position:relative}.QLCgm{z-index:1;bottom:.625rem;left:50%;transform:translate(-50%, 0%)}._3Aleb{transform:translate3D(0, -1px, 0) scale(1.01);transition:all .1s ease;cursor:pointer}._3Aleb:after{content:'';position:absolute;top:0;left:-.3125rem;right:-.3125rem;bottom:0;margin:0 .3125rem;background:linear-gradient(to top, #000 0%, rgba(0,0,0,0.75) 25%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.25) 75%, rgba(0,0,0,0) 100%)}._2M2Zz{z-index:2;position:absolute;bottom:.625rem;right:0;left:0}.TQg2K{width:25%}@media (max-width: 767px){.TQg2K{width:33.33333%}}@media (max-width: 575px){.TQg2K{width:50%}}@media (max-width: 0){.TQg2K{width:100%}}
44
-
45
- ._1tgrv{width:20%}._1tgrv>a{width:100%}@media (max-width: 1199px){._1tgrv{width:25%}}@media (max-width: 991px){._1tgrv{width:33.33333%}}@media (max-width: 767px){._1tgrv{width:50%}}
46
-
47
43
  ._2lUo1{width:100%;height:100%}._2lUo1 .Q_m9i{opacity:0.5;width:100%;height:100%;background-position:right;background-size:200%;background-repeat:no-repeat;padding-bottom:26.22951%}._2WUUq{fill:#fff;color:#fff;position:absolute;top:0;left:0;width:100%;display:block}
48
44
 
49
- ._1oyw1{border-radius:.5rem}._1oyw1 ._1UOVG{position:relative;background-position:top;background-size:cover;width:5rem;height:5rem;flex-shrink:0}._1oyw1 ._1UOVG ._1_BF4{z-index:2;width:100%;height:100%;border-top-left-radius:.5rem;border-bottom-left-radius:.5rem}._1oyw1 ._1EtWs{width:8rem;height:8rem}._1oyw1 ._3js2e{line-height:1}._1oyw1 ._3csgE{color:#313543}._1oyw1 ._3csgE._1y2oG{max-height:2.4rem}._1yBMf{height:5rem;border-radius:.5rem;color:#B5B5B5;border:1px dashed #D7D7D7}
45
+ ._1oyw1{border-radius:.5rem}._1oyw1 ._1UOVG{position:relative;background-position:top;background-size:cover;width:5rem;height:5rem;flex-shrink:0}._1oyw1 ._1UOVG ._1_BF4{z-index:2;width:100%;height:100%;border-top-left-radius:.5rem;border-bottom-left-radius:.5rem;background-position:center;background-size:cover;background-repeat:no-repeat}._1oyw1 ._1EtWs{width:8rem;height:8rem}._1oyw1 ._3js2e{line-height:1}._1oyw1 ._3csgE{color:#313543}._1oyw1 ._3csgE._1y2oG{max-height:2.4rem}._1yBMf{height:5rem;border-radius:.5rem;color:#B5B5B5;border:1px dashed #D7D7D7}
50
46
 
51
47
  ._2XXp2{width:33.33333%}._2XXp2>a{width:100%}
52
48
 
53
- ._1SFgo{color:inherit;display:block;font-size:.78571em}._1SFgo:hover ._1YAi8{text-decoration:underline}
49
+ ._1SFgo{color:inherit;display:block;font-size:.78571em}._1SFgo:hover ._2iyL0{text-decoration:underline}
50
+
51
+ ._3XH_S{background-color:rgba(51,51,51,0.8)}.INxgX{background-color:rgba(248,152,29,0.9)}.Bt6Bx{background-color:#B5B5B5}._3XH_S,.INxgX,._3bOtF,.Bt6Bx{color:#fff;margin-left:.3125rem}._1BsVS .badge:first-child{margin-left:0}
54
52
 
55
53
  ._1MQy4{position:absolute;width:100%;height:100%;z-index:1;padding:.3125rem;color:#fff}._2obuZ{position:absolute;top:0;right:0;padding-top:.625rem;padding-right:.625rem;z-index:5;transform:translate3d(0, 0, 0)}._2obuZ ._1UfdO{background-color:rgba(241,241,241,0.5)}.Q1km-{color:inherit;line-height:1.2;position:absolute;bottom:0;left:0;padding:.625rem;padding-top:0;width:100%}.Q1km-._2_7sb{transform:scale(0.9);margin-left:-1rem;margin-bottom:-0.2rem}.Of_Cn::after{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.5) 5%, rgba(0,0,0,0.4) 10%, rgba(0,0,0,0.2) 25%, rgba(0,0,0,0.05) 50%, rgba(0,0,0,0.02) 60%, rgba(0,0,0,0) 80%)}.B9cJG{position:absolute;top:50%;left:50%;z-index:4;color:#fff;transform:translate3D(-50%, -50%, 0);transition:opacity 100ms ease-in-out;width:2.75rem;height:2.75rem}
56
54
 
@@ -70,6 +68,8 @@
70
68
 
71
69
  ._8IgrO{width:25%}.q46rm{width:33.33333%}.IeeJA{transform:scale(1.15);z-index:10;border-radius:.5rem;position:relative}._1s6UK{transition:transform .2s ease}@media (max-width: 767px){._8IgrO{width:33.33333%}}@media (max-width: 575px){._8IgrO,.q46rm{width:50%}}@media (max-width: 0){._8IgrO,.q46rm{width:100%}}
72
70
 
71
+ ._1RLPq{width:12rem;height:2rem}.oArG4{width:100%;padding-bottom:200%;position:relative}.QLCgm{z-index:1;bottom:.625rem;left:50%;transform:translate(-50%, 0%)}._3Aleb{transform:translate3D(0, -1px, 0) scale(1.01);transition:all .1s ease;cursor:pointer}._3Aleb:after{content:'';position:absolute;top:0;left:-.3125rem;right:-.3125rem;bottom:0;margin:0 .3125rem;background:linear-gradient(to top, #000 0%, rgba(0,0,0,0.75) 25%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.25) 75%, rgba(0,0,0,0) 100%)}._2M2Zz{z-index:2;position:absolute;bottom:.625rem;right:0;left:0}.TQg2K{width:25%}@media (max-width: 767px){.TQg2K{width:33.33333%}}@media (max-width: 575px){.TQg2K{width:50%}}@media (max-width: 0){.TQg2K{width:100%}}
72
+
73
73
  ._2JDES{min-width:6.5625rem}._3fhao{min-height:70vh}
74
74
 
75
75
  .iKcwJ{z-index:1}._1SBXD{width:0.75rem;height:0.75rem}
@@ -84,7 +84,9 @@
84
84
 
85
85
  ._1rrH2{width:10rem;height:10rem;list-style:none;margin:.625rem}._15Qdz{display:flex;flex-wrap:wrap;padding:0;margin:0}
86
86
 
87
- ._3ClyO{width:75%}@media (max-width: 576px){._3ClyO{width:90%}}
87
+ ._3ClyO{width:75%}@media (max-width: 576px){._3ClyO{width:90%}}._2I-AB{width:66.66667%}
88
+
89
+ ._1AhAp{border-radius:1rem;padding-bottom:18.5%;background-repeat:no-repeat;background-size:cover;background-position:center;opacity:0.85}._384Un{position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);font-size:1.5rem}@media (max-width: 768px){._384Un{font-size:1.25rem}}
88
90
 
89
91
  .VG65e{max-width:90%}@media (max-width: 1499px){.VG65e{max-width:100%}}
90
92
 
@@ -92,7 +94,7 @@
92
94
 
93
95
  ._1Ul2M{display:flex;justify-content:center}._1Ul2M>li{margin:.75rem}._3CD60{width:15rem;height:15rem}._3CD60 p{font-size:1rem}
94
96
 
95
- ._95RES{width:12rem}
97
+ ._3qF00{margin-top:10rem}._4g1ik{width:60%}@media (max-width: 767px){._4g1ik{width:100%}}._3uVmF{left:5rem;top:12rem;width:20rem;position:absolute}@media (max-width: 1199px){._3uVmF{width:15rem}}@media (max-width: 991px){._3uVmF{left:2.5rem}}@media (max-width: 767px){._3uVmF{display:none}}.Q7tiP{position:absolute;right:5rem;top:5rem;width:20rem}@media (max-width: 1199px){.Q7tiP{width:15rem}}@media (max-width: 991px){.Q7tiP{right:2.5rem}}@media (max-width: 767px){.Q7tiP{display:none}}
96
98
 
97
99
  .V8i9e{padding:1.25rem;position:relative}._1HPtF{position:absolute;bottom:1.25rem;right:1.25rem}._1tEqa{width:25%;height:3.3rem;position:absolute;bottom:1.25rem;left:1.25rem}._1e5Lw{height:1.4rem;width:30%}._3tau7{display:inline-block;height:3rem;width:9rem;margin-left:.625rem}
98
100