@clickview/online 0.0.5-dev.1 → 0.0.5-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/libs/common/src/react/hooks/UseViewModel.d.ts +4 -0
- package/dist/libs/common/src/react/utils/ArrayHelper.d.ts +1 -1
- package/dist/libs/common/src/react/utils/TextHelper.d.ts +1 -1
- package/dist/libs/shared/src/apps/content-updates/interfaces/ClassificationVideosGrouping.d.ts +3 -2
- package/dist/libs/shared/src/apps/content-updates/interfaces/index.d.ts +0 -1
- package/dist/libs/shared/src/apps/playlists/components/empty-state/EmptyVideoList.d.ts +3 -0
- package/dist/libs/shared/src/apps/playlists/components/playlist-list/PlaylistItem.d.ts +8 -3
- package/dist/libs/shared/src/apps/playlists/components/playlist-list/PlaylistList.d.ts +9 -3
- package/dist/libs/shared/src/apps/playlists/components/playlist-list/PlaylistOwnerAvatar.d.ts +9 -0
- package/dist/libs/shared/src/apps/playlists/components/sort-select/PlaylistSortSelect.d.ts +9 -0
- package/dist/libs/shared/src/apps/playlists/enums/PlaylistSortType.d.ts +4 -2
- package/dist/libs/shared/src/apps/playlists/enums/PlaylistType.d.ts +5 -0
- package/dist/libs/shared/src/apps/playlists/interfaces/identifiers/PlaylistCollectionIdentifier.d.ts +4 -1
- package/dist/libs/shared/src/apps/playlists/utils/PlaylistSortHelper.d.ts +0 -1
- package/dist/libs/shared/src/apps/subjects/components/preferences/index.d.ts +1 -1
- package/dist/libs/shared/src/apps/subjects/components/preferences/nav/PreferencesNav.d.ts +12 -0
- package/dist/libs/shared/src/apps/subjects/components/preferences/preference-item/PreferenceItem.d.ts +1 -0
- package/dist/libs/shared/src/apps/subjects/components/preferences/preference-item/PreferenceItemStatus.d.ts +1 -0
- package/dist/libs/shared/src/apps/subjects/components/preferences/subject-preference-grid/SubjectPreferenceGrid.d.ts +2 -1
- package/dist/libs/shared/src/apps/subjects/components/preferences/subject-preference-item/SubjectPreferenceItem.d.ts +1 -0
- package/dist/libs/shared/src/apps/subjects/interfaces/ClassificationPreference.d.ts +0 -1
- package/dist/libs/shared/src/components/actions/ActionButton.d.ts +4 -0
- package/dist/libs/shared/src/components/actions/Actions.d.ts +4 -0
- package/dist/libs/shared/src/components/app-link/AppLink.d.ts +4 -0
- package/dist/libs/shared/src/components/avatar/Avatar.d.ts +8 -0
- package/dist/libs/shared/src/components/clickview-avatar/ClickViewAvatar.d.ts +2 -0
- package/dist/libs/shared/src/components/forms/form-buttons/FormButtons.d.ts +10 -0
- package/dist/libs/shared/src/components/forms/form-checkbox/FormCheckbox.d.ts +7 -0
- package/dist/libs/shared/src/components/forms/form-field/CharacterCounter.d.ts +7 -0
- package/dist/libs/shared/src/components/forms/form-field/FormField.d.ts +16 -0
- package/dist/libs/shared/src/components/forms/form-wrapper/FormWrapper.d.ts +20 -0
- package/dist/libs/shared/src/components/icon-button/IconButton.d.ts +4 -0
- package/dist/libs/shared/src/components/popup/Popup.d.ts +16 -0
- package/dist/libs/shared/src/components/popup/PopupLoadingSpinner.d.ts +2 -0
- package/dist/libs/shared/src/components/svg-container/SvgContainer.d.ts +2 -1
- package/dist/libs/shared/src/components/svgs/clickview-logo/ClickViewLogo.d.ts +1 -0
- package/dist/libs/shared/src/components/toggle-switch/ToggleSwitch.d.ts +1 -0
- package/dist/libs/shared/src/components/widgets/fixed-widget/FixedWidget.d.ts +4 -0
- package/dist/libs/shared/src/constants/WithStatements.d.ts +5 -0
- package/dist/libs/shared/src/enums/SettingName.d.ts +2 -1
- package/dist/libs/shared/src/flight-requests/PlaylistRequests.d.ts +3 -3
- package/dist/libs/shared/src/flight-requests/PreferenceRequests.d.ts +2 -2
- package/dist/libs/shared/src/flight-requests/SettingRequests.d.ts +1 -1
- package/dist/libs/shared/src/flight-requests/UserRequests.d.ts +1 -0
- package/dist/libs/shared/src/images/svg/ImportedSvgs.d.ts +4 -1
- package/dist/libs/shared/src/images/svg/objects/index.d.ts +4 -1
- package/dist/libs/shared/src/interfaces/models/Avatar.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/models/Customer.d.ts +1 -0
- package/dist/libs/shared/src/interfaces/models/Playlist.d.ts +1 -0
- package/dist/libs/shared/src/interfaces/models/Presentation.d.ts +2 -2
- package/dist/libs/shared/src/interfaces/models/User.d.ts +2 -1
- package/dist/libs/shared/src/interfaces/models/index.d.ts +2 -0
- package/dist/libs/shared/src/utils/FormHelper.d.ts +4 -0
- package/dist/libs/shared/src/utils/RegionHelper.d.ts +4 -0
- package/dist/libs/shared/src/utils/UserHelper.d.ts +3 -0
- package/dist/online-app.css +35 -11
- package/dist/online-app.css.map +1 -1
- package/dist/online-app.js +3 -3
- package/dist/online-app.js.map +1 -1
- package/dist/projects/online/src/apps/dashboard/components/onboarding-nag/OnboardingNag.d.ts +8 -0
- package/dist/projects/online/src/apps/dashboard/components/onboarding-nag-item/OnboardingNagItem.d.ts +10 -0
- package/dist/projects/online/src/apps/dashboard/components/onboarding-progress/OnboardingProgress.d.ts +6 -0
- package/dist/projects/online/src/apps/default/OnlineDefaultApplication.d.ts +5 -2
- package/dist/projects/online/src/apps/default/views/verify-email/VerifyEmailValidation.d.ts +3 -0
- package/dist/projects/online/src/apps/default/views/verify-email/VerifyEmailView.d.ts +3 -0
- package/dist/projects/online/src/apps/playlists/components/left-nav/LeftNav.d.ts +13 -0
- package/dist/projects/online/src/apps/playlists/components/left-nav/LeftNavItem.d.ts +0 -0
- package/dist/projects/online/src/apps/playlists/components/left-nav/LevNavPlaylistOwnerIndicator.d.ts +8 -0
- package/dist/projects/online/src/apps/playlists/components/left-nav/left-nav-item/LeftNavItem.d.ts +10 -0
- package/dist/projects/online/src/apps/playlists/components/left-nav/left-nav-playlist-owner-indicator/LevNavPlaylistOwnerIndicator.d.ts +8 -0
- package/dist/projects/online/src/apps/playlists/components/left-nav/partial-loading/PartialLeftNav.d.ts +2 -0
- package/dist/projects/online/src/apps/playlists/components/legacy-playlist-list/LegacyPartialPlaylistList.d.ts +2 -0
- package/dist/projects/online/src/apps/playlists/components/legacy-playlist-list/LegacyPlaylistItem.d.ts +7 -0
- package/dist/projects/online/src/apps/playlists/components/legacy-playlist-list/LegacyPlaylistList.d.ts +7 -0
- package/dist/projects/online/src/apps/playlists/components/playlist-header/PlaylistHeader.d.ts +2 -3
- package/dist/projects/online/src/apps/playlists/components/playlist-list-header/PartialPlaylistListHeader.d.ts +2 -0
- package/dist/projects/online/src/apps/playlists/components/playlist-list-header/PlaylistListHeader.d.ts +12 -0
- package/dist/projects/online/src/apps/playlists/views/playlists/PlaylistsView.d.ts +0 -2
- package/dist/projects/online/src/apps/subjects/utils/OnboardingHelper.d.ts +8 -2
- package/dist/projects/online/src/index.d.ts +13 -5
- package/dist/projects/online/src/shared/components/index.d.ts +0 -1
- package/dist/projects/online/src/shared/constants/Actions.d.ts +17 -0
- package/dist/projects/online/src/shared/constants/RadioChannels.d.ts +1 -0
- package/dist/projects/online/src/shared/constants/ViewModelKeys.d.ts +3 -0
- package/dist/projects/online/src/shared/identifiers/index.d.ts +0 -1
- package/dist/projects/online/src/shared/layouts/OnlineLayoutView.d.ts +8 -6
- package/package.json +3 -3
- package/typings/libs/FutureCoreHelper.d.ts +6 -0
- package/dist/libs/analytics/src/utils/VideoDataFormatHelper.d.ts +0 -42
- package/dist/libs/shared/src/apps/subjects/components/preferences/subject-preference-item/SubjectPreferenceItemStatus.d.ts +0 -10
- package/dist/libs/shared/src/components/pagination/Pagination.d.ts +0 -28
- package/dist/libs/shared/src/components/video-list/VideoItem.d.ts +0 -13
- package/dist/libs/shared/src/components/video-list/VideoList.d.ts +0 -22
- package/dist/libs/shared/src/components/video-list/components/video-item-actions/VideoItemActions.d.ts +0 -7
- package/dist/libs/shared/src/components/video-list/components/video-item-badges/VideoItemBadges.d.ts +0 -7
- package/dist/libs/shared/src/components/video-list/components/video-item-description/UseTruncateText.d.ts +0 -9
- package/dist/libs/shared/src/components/video-list/components/video-item-description/VideoItemDescription.d.ts +0 -8
- package/dist/libs/shared/src/components/video-list/components/video-item-header/VideoItemHeader.d.ts +0 -9
- package/dist/libs/shared/src/context/VideoActionsContext.d.ts +0 -10
- package/dist/libs/shared/src/flight-requests/FavouriteVideoRequests.d.ts +0 -7
- package/dist/libs/shared/src/interfaces/models/VideoWithRestrictions.d.ts +0 -5
- package/dist/libs/shared/src/utils/RestrictionHelper.d.ts +0 -5
- package/dist/libs/shared/src/utils/VideoHelper.d.ts +0 -4
- package/dist/projects/online/src/apps/playlists/PlaylistApplication.d.ts +0 -36
- package/dist/projects/online/src/apps/playlists/components/playlist-header/PlaylistBreadcrumbsComponent.d.ts +0 -7
- package/dist/projects/online/src/apps/playlists/components/playlist-header/PlaylistHeaderActionsComponent.d.ts +0 -17
- package/dist/projects/online/src/apps/playlists/components/playlist-header/index.d.ts +0 -2
- package/dist/projects/online/src/apps/playlists/components/playlist-header/partial-loading/PartialPlaylistHeaderComponent.d.ts +0 -6
- package/dist/projects/online/src/apps/playlists/components/playlist-header/partial-loading/index.d.ts +0 -1
- package/dist/projects/online/src/apps/playlists/components/video-list/PartialVideoList.d.ts +0 -2
- package/dist/projects/online/src/apps/playlists/components/video-list/PlaceHolder.d.ts +0 -2
- package/dist/projects/online/src/apps/playlists/components/video-list/RestrictedBadge.d.ts +0 -7
- package/dist/projects/online/src/apps/playlists/components/video-list/RestrictionInfo.d.ts +0 -7
- package/dist/projects/online/src/apps/playlists/components/video-list/SortableVideoList.d.ts +0 -8
- package/dist/projects/online/src/apps/playlists/components/video-list/SortableVideoListContainer.d.ts +0 -12
- package/dist/projects/online/src/apps/playlists/components/video-list/ThumbnailComponent.d.ts +0 -10
- package/dist/projects/online/src/apps/playlists/components/video-list/VideoActionsComponent.d.ts +0 -12
- package/dist/projects/online/src/apps/playlists/components/video-list/VideoItemComponent.d.ts +0 -15
- package/dist/projects/online/src/apps/playlists/components/video-list/VideoItemPreviewComponent.d.ts +0 -9
- package/dist/projects/online/src/apps/playlists/components/video-list/index.d.ts +0 -1
- package/dist/projects/online/src/apps/playlists/flight-requests/SubjectRequests.d.ts +0 -4
- package/dist/projects/online/src/apps/playlists/flight-requests/index.d.ts +0 -2
- package/dist/projects/online/src/apps/playlists/views/add-to-playlist/index.d.ts +0 -1
- package/dist/projects/online/src/apps/playlists/views/delete-playlist/index.d.ts +0 -1
- package/dist/projects/online/src/apps/playlists/views/edit-playlist/index.d.ts +0 -1
- package/dist/projects/online/src/apps/playlists/views/index.d.ts +0 -10
- package/dist/projects/online/src/apps/playlists/views/left-nav/index.d.ts +0 -1
- package/dist/projects/online/src/apps/playlists/views/migration-in-progress/index.d.ts +0 -1
- package/dist/projects/online/src/apps/playlists/views/new-playlist/index.d.ts +0 -1
- package/dist/projects/online/src/apps/playlists/views/play-playlist/index.d.ts +0 -1
- package/dist/projects/online/src/apps/playlists/views/playlist/PlaylistViewUtils.d.ts +0 -12
- package/dist/projects/online/src/apps/playlists/views/playlist/index.d.ts +0 -1
- package/dist/projects/online/src/apps/playlists/views/playlists/index.d.ts +0 -1
- package/dist/projects/online/src/apps/playlists/views/remove-video-from-playlist/index.d.ts +0 -1
- package/dist/projects/online/src/apps/subjects/views/preferences/PreferencesView.d.ts +0 -8
- package/dist/projects/online/src/shared/components/info-banner/InfoBanner.d.ts +0 -2
- package/dist/projects/online/src/shared/hooks/UseVideoMixin.d.ts +0 -2
package/dist/en.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"playlists":{"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"},"leftNav":{"playlists":"Playlists","loading":"Loading more...","seeMore":"See more playlists"},"newPlaylistButton":{"createNew":"Create a new playlist"},"playlistActions":{"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"},"playlistList":{"video":"%{smart_count} video |||| %{smart_count} videos","created":"Created %{date}","heading":"%{fname} %{lname}'s Playlists"},"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"},"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":"your Library","workspace":"your Workspace","exchange":"the Exchange","videoFrom":"This video comes from","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":"-"},"emptyState":{"noPlaylistsHeading":"You have no playlists","noPlaylistsInfo":"Click <strong>Create a new playlist</strong> in the left nav to create one.","noVideosHeading":"There are no videos in this playlist","noVideosInfo":"Learn how to add videos to a playlist."},"hooks":{"somethingWentWrong":"Something went wrong"},"validation":{"nameExceeds":"Name is too long","nameRequired":"Name is required","descriptionExceeds":"Description is too long"}},"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"},"dashboard":{"curriculum":"Search by Curriculum","contentUpdates":"Content Updates from ClickView","featuredChannels":"Featured Channels"}},"":{},"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."}},"subjects":{"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":"The videos we show you will be tailored to the curriculum you select","back":"Back","error":"Something went wrong, please try again."},"levelPreferences":{"heading":"Who do you currently teach?","info":"We will tailor your experience based on your audience.","back":"Back","next":"Next","allLevels":"I teach all year levels","error":"Something went wrong while we were trying to save your changes. Please try again."},"subjectPreferencesView":{"heading":"What type of videos will be helpful to you?","infoRow1":"This will help us tailor ClickView to you.","infoRow2":"You can select as many as you like!","back":"Back","followSubjects":"Follow %{smart_count} Subject |||| Follow %{smart_count} Subjects","allOfParent":"All of %{parent}","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 school level do you currently teach?","info":"We can send you content based on your school level","error":"Something went wrong, please try again."},"preferencesSummary":{"heading":"Summary of your preferences","info":"You can change your preferences in your profile settings at any time","levels":"Year levels","subjects":"Subjects","getStarted":"Get Started","save":"Save My Preferences","noLevelPreferences":"You haven't set any year level preferences yet.","noSubjectPreferences":"You haven't set any subject preferences yet.","allLevels":"You have selected all year levels.","allSubjects":"You have selected all subjects.","onboardingOptionError":"Something went wrong. Please check your internet connection and try again."},"preferencesWelcome":{"welcome":"Welcome <span class=\"%{highlightClass}\">%{firstName}</span>!","info1":"We want to get to know you a little bit better so we can <strong>tailor 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","user":"user"},"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"}},"shared":{"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"},"playlistItem":{"videos":"%{smart_count} video |||| %{smart_count} videos"},"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"}},"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"}},"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"}},"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."}}}
|
|
1
|
+
{"playlists":{"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":"-"},"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"}},"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 levels","subjects":"Select your subjects","verifyEmail":"Verify Email"},"dashboard":{"curriculum":"Search by Curriculum","contentUpdates":"Latest Releases from ClickView","featuredChannels":"Featured Channels"}},"":{},"default":{"verifyEmail":{"verifyEmailTitle":"Verify Email","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","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."}},"subjects":{"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":"The videos we show you will be tailored to the curriculum you select","back":"Back","error":"Something went wrong, please try again."},"levelPreferences":{"heading":"Who do you currently teach?","info":"We will tailor your experience based on your audience.","back":"Back","next":"Next","allLevels":"I teach all year levels","error":"Something went wrong while we were trying to save your changes. Please try again."},"subjectPreferencesView":{"heading":"What type of videos will be helpful to you?","infoRow1":"This will help us tailor ClickView to you.","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 school level do you currently teach?","info":"We can send you content based on your school level","error":"Something went wrong, please try again."},"preferencesSummary":{"heading":"Summary of your preferences","info":"You can change your preferences in your profile settings at any time","levels":"Year levels","subjects":"Subjects","getStarted":"Get Started","save":"Save My Preferences","noLevelPreferences":"You haven't set any year level preferences yet.","noSubjectPreferences":"You haven't set any subject preferences yet.","allLevels":"You have selected all year levels.","allSubjects":"You have selected all subjects.","onboardingOptionError":"Something went wrong. Please check your internet connection and try again."},"preferencesWelcome":{"welcomeUser":"Welcome <span class=\"%{highlightClass}\">%{firstName}</span>!","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!"},"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"}},"shared":{"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"},"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"}},"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"}},"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"}},"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."}}}
|
|
@@ -23,7 +23,7 @@ export declare const ArrayHelper: {
|
|
|
23
23
|
* @param arr array of values
|
|
24
24
|
* @param value value to be added or removed.
|
|
25
25
|
*/
|
|
26
|
-
addOrRemove<T_13 = import("react").
|
|
26
|
+
addOrRemove<T_13 = import("react").ReactText>(arr: T_13[], value: T_13): T_13[];
|
|
27
27
|
/**
|
|
28
28
|
* This is the same addOrRemove function above, except it doesn't mutate the array in the argument
|
|
29
29
|
* and returns a branch new array.
|
|
@@ -5,6 +5,6 @@ export declare const TextHelper: {
|
|
|
5
5
|
escapeRegExp(str: string): string;
|
|
6
6
|
slugify(str: string): string;
|
|
7
7
|
linkifyText(text: string, options?: ObjectHash): string;
|
|
8
|
-
isEqual(str1: import("react").
|
|
8
|
+
isEqual(str1: import("react").ReactText, str2: import("react").ReactText): boolean;
|
|
9
9
|
toTitleCase(str: string): string;
|
|
10
10
|
};
|
package/dist/libs/shared/src/apps/content-updates/interfaces/ClassificationVideosGrouping.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Reason } from "./";
|
|
2
|
+
import { Video } from "../../../interfaces";
|
|
2
3
|
export interface ClassificationVideosGrouping {
|
|
3
4
|
classificationId: string;
|
|
4
|
-
videos:
|
|
5
|
+
videos: Video[];
|
|
5
6
|
reason?: Reason;
|
|
6
7
|
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { CurrentUser, Playlist } from "../../../../interfaces";
|
|
2
3
|
interface EmptyVideoListComponentProps {
|
|
4
|
+
playlist: Playlist;
|
|
5
|
+
currentUser: CurrentUser;
|
|
3
6
|
supportSiteUrl: string;
|
|
4
7
|
}
|
|
5
8
|
export declare function EmptyVideoListComponent(props: EmptyVideoListComponentProps): React.ReactElement;
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { Core } from "../../../../../../common/src/backbone";
|
|
3
|
-
import { Playlist, PresentationAudience } from "../../../../interfaces";
|
|
3
|
+
import { CurrentUser, Playlist, PresentationAudience } from "../../../../interfaces";
|
|
4
4
|
interface PlaylistItemProps {
|
|
5
5
|
data: Playlist;
|
|
6
6
|
appLink: Core.AppLink;
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
currentUser?: CurrentUser;
|
|
8
|
+
presentationAudiences?: PresentationAudience[];
|
|
9
|
+
bgColourClassNames?: string[];
|
|
10
|
+
imageCdnUrl?: string;
|
|
9
11
|
showCount?: boolean;
|
|
12
|
+
showOwner?: boolean;
|
|
13
|
+
showLastUpdated?: boolean;
|
|
14
|
+
showFallbackImage?: boolean;
|
|
10
15
|
}
|
|
11
16
|
export declare function PlaylistItem(props: PlaylistItemProps): JSX.Element;
|
|
12
17
|
export {};
|
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { Core } from "../../../../../../common/src/backbone";
|
|
3
|
-
import { Playlist, PresentationAudience } from "../../../../interfaces";
|
|
3
|
+
import { Playlist, PresentationAudience, CurrentUser } from "../../../../interfaces";
|
|
4
4
|
interface PlaylistListProps {
|
|
5
5
|
playlists: Playlist[];
|
|
6
6
|
getPlaylistAppLink: (playlist: Playlist) => Core.AppLink;
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
currentUser?: CurrentUser;
|
|
8
|
+
presentationAudiences?: PresentationAudience[];
|
|
9
|
+
itemContainerClassName?: string;
|
|
10
|
+
bgColourClassNames?: string[];
|
|
11
|
+
imageCdnUrl?: string;
|
|
9
12
|
showCount?: boolean;
|
|
13
|
+
showOwner?: boolean;
|
|
14
|
+
showLastUpdated?: boolean;
|
|
15
|
+
showFallbackImage?: boolean;
|
|
10
16
|
}
|
|
11
17
|
export declare function PlaylistList(props: PlaylistListProps): JSX.Element;
|
|
12
18
|
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Playlist, CurrentUser } from "../../../../interfaces";
|
|
3
|
+
interface PlaylistOwnerAvatarProps {
|
|
4
|
+
playlist: Playlist;
|
|
5
|
+
imageCdnUrl: string;
|
|
6
|
+
currentUser?: CurrentUser;
|
|
7
|
+
}
|
|
8
|
+
export declare function PlaylistOwnerAvatar(props: PlaylistOwnerAvatarProps): JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Core } from "../../../../../../common/src/backbone";
|
|
3
|
+
import { PlaylistSortType } from "../../enums/PlaylistSortType";
|
|
4
|
+
interface PlaylistSortSelectProps {
|
|
5
|
+
type: PlaylistSortType;
|
|
6
|
+
getSortAppLink: (sort: PlaylistSortType) => Core.AppLink;
|
|
7
|
+
}
|
|
8
|
+
export declare function PlaylistSortSelect(props: PlaylistSortSelectProps): JSX.Element;
|
|
9
|
+
export {};
|
package/dist/libs/shared/src/apps/playlists/interfaces/identifiers/PlaylistCollectionIdentifier.d.ts
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { BaseCollectionIdentifier } from "../../../../../../common/src/backbone/interfaces";
|
|
2
2
|
import { PlaylistSortType } from "../../enums/PlaylistSortType";
|
|
3
|
+
import { PlaylistType } from "../../enums/PlaylistType";
|
|
3
4
|
export declare class PlaylistCollectionIdentifier extends BaseCollectionIdentifier<PlaylistSortType> {
|
|
4
|
-
|
|
5
|
+
type: PlaylistType;
|
|
6
|
+
constructor(sort?: PlaylistSortType, cursor?: string, type?: PlaylistType);
|
|
7
|
+
toString(): string;
|
|
5
8
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * from './footer/PreferenceFooter';
|
|
2
|
-
export * from './
|
|
2
|
+
export * from './nav/PreferencesNav';
|
|
3
3
|
export * from './subject-preference-grid/SubjectPreferenceGrid';
|
|
4
4
|
export * from './subject-preference-item/SubjectPreferenceItem';
|
|
5
5
|
export * from './preference-item/PreferenceItem';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Core } from "../../../../../../../common/src/backbone";
|
|
3
|
+
export interface PreferencesNavItemHash {
|
|
4
|
+
appLink: Core.AppLink;
|
|
5
|
+
active: boolean;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
}
|
|
8
|
+
interface PreferencesNavProps {
|
|
9
|
+
steps: PreferencesNavItemHash[];
|
|
10
|
+
}
|
|
11
|
+
export declare function PreferencesNav(props: PreferencesNavProps): JSX.Element;
|
|
12
|
+
export {};
|
|
@@ -5,6 +5,7 @@ interface ExpandableItemStatusProps {
|
|
|
5
5
|
export declare const ExpandableItemStatus: (props: ExpandableItemStatusProps) => JSX.Element;
|
|
6
6
|
interface SelectableItemStatusProps {
|
|
7
7
|
selected: boolean;
|
|
8
|
+
radioButton?: boolean;
|
|
8
9
|
}
|
|
9
10
|
export declare const SelectableItemStatus: (props: SelectableItemStatusProps) => JSX.Element;
|
|
10
11
|
export {};
|
|
@@ -5,7 +5,8 @@ interface SubjectPreferenceGridProps {
|
|
|
5
5
|
subjects: ClassificationPreference[];
|
|
6
6
|
onSelect: (subject: Classification) => void;
|
|
7
7
|
onExpand: (subject: Classification) => void;
|
|
8
|
-
|
|
8
|
+
onCollapse: (subject: Classification) => void;
|
|
9
|
+
hasSelectedBulk?: boolean;
|
|
9
10
|
}
|
|
10
11
|
export declare function SubjectPreferenceGrid(props: SubjectPreferenceGridProps): JSX.Element;
|
|
11
12
|
export {};
|
|
@@ -7,6 +7,7 @@ interface SubjectPreferenceItemProps {
|
|
|
7
7
|
onClick?: (event: React.MouseEvent<HTMLLIElement, MouseEvent>) => void;
|
|
8
8
|
extraClasses?: string;
|
|
9
9
|
hideStatus?: boolean;
|
|
10
|
+
hasSelectedBulk?: boolean;
|
|
10
11
|
}
|
|
11
12
|
export declare function SubjectPreferenceItem(props: SubjectPreferenceItemProps): JSX.Element;
|
|
12
13
|
export {};
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { Core } from "../../../../common/src/backbone";
|
|
3
|
+
import { HashObject } from "../../../../common/src/react/interfaces";
|
|
4
|
+
import { AnalyticsOptions } from "../../../../analytics/src/interfaces";
|
|
3
5
|
interface ActionButtonProps {
|
|
4
6
|
appLink?: Core.AppLink;
|
|
5
7
|
onClick?: (e: React.MouseEvent) => void;
|
|
@@ -7,6 +9,8 @@ interface ActionButtonProps {
|
|
|
7
9
|
className?: string;
|
|
8
10
|
tooltip?: string;
|
|
9
11
|
showSpinner?: boolean;
|
|
12
|
+
analyticsData?: HashObject;
|
|
13
|
+
analyticsOptions?: AnalyticsOptions;
|
|
10
14
|
}
|
|
11
15
|
export declare function ActionButton(props: React.PropsWithChildren<ActionButtonProps>): JSX.Element;
|
|
12
16
|
export {};
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { Core } from "../../../../common/src/backbone";
|
|
3
|
+
import { HashObject } from "../../../../common/src/react/interfaces";
|
|
4
|
+
import { AnalyticsOptions } from "../../../../analytics/src/interfaces";
|
|
3
5
|
import { BaseObject } from "../../interfaces";
|
|
4
6
|
export interface ActionOptions {
|
|
5
7
|
label: string;
|
|
@@ -10,6 +12,8 @@ export interface ActionOptions {
|
|
|
10
12
|
button?: boolean;
|
|
11
13
|
tooltip?: string;
|
|
12
14
|
showSpinner?: boolean;
|
|
15
|
+
analyticsData?: HashObject;
|
|
16
|
+
analyticsOptions?: AnalyticsOptions;
|
|
13
17
|
}
|
|
14
18
|
export declare type ActionGenerator = (obj: BaseObject) => ActionOptions[];
|
|
15
19
|
interface ActionsProps {
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { Core } from "../../../../common/src/backbone";
|
|
3
|
+
import { HashObject } from "../../../../common/src/react/interfaces/HashObject";
|
|
4
|
+
import { AnalyticsOptions } from "../../../../analytics/src/interfaces";
|
|
3
5
|
export interface AppLinkProps {
|
|
4
6
|
appLink: Core.AppLink;
|
|
5
7
|
className?: string;
|
|
6
8
|
tag?: 'a' | 'button';
|
|
7
9
|
onClick?: (e: React.MouseEvent) => void;
|
|
10
|
+
analyticsData?: HashObject;
|
|
11
|
+
analyticsOptions?: AnalyticsOptions;
|
|
8
12
|
}
|
|
9
13
|
export declare function AppLink(props: React.PropsWithChildren<AppLinkProps>): React.ReactElement;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ButtonProps } from 'react-bootstrap';
|
|
3
|
+
interface FormButtonsProps {
|
|
4
|
+
isNew: boolean;
|
|
5
|
+
hasNext?: boolean;
|
|
6
|
+
submitText?: string;
|
|
7
|
+
variant?: ButtonProps['variant'];
|
|
8
|
+
}
|
|
9
|
+
export declare function FormButtons<Values extends object>(props: FormButtonsProps): JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FieldAttributes } from 'formik';
|
|
3
|
+
import { FormFieldProps } from '../form-field/FormField';
|
|
4
|
+
/**
|
|
5
|
+
* Use this checkbox within Formik contexts
|
|
6
|
+
*/
|
|
7
|
+
export declare function FormCheckbox<Values extends object>(props: FieldAttributes<FormFieldProps<Values>>): JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface CharacterCounterProps<Values extends object> {
|
|
3
|
+
fieldName: keyof Values;
|
|
4
|
+
limit: number;
|
|
5
|
+
}
|
|
6
|
+
export declare function CharacterCounter<Values extends object>(props: CharacterCounterProps<Values>): JSX.Element;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { FieldAttributes, FieldProps } from 'formik';
|
|
3
|
+
export interface FormFieldProps<Values extends object> {
|
|
4
|
+
/**
|
|
5
|
+
* The name prop MUST be the same as the attribute
|
|
6
|
+
* name of the value that the field is bound to.
|
|
7
|
+
*/
|
|
8
|
+
name: string;
|
|
9
|
+
label?: string;
|
|
10
|
+
children?: ((props: FieldProps) => React.ReactNode) | React.ReactNode;
|
|
11
|
+
showCharacterCounter?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare function FieldWrapper<Values extends object>(props: FieldAttributes<FormFieldProps<Values>> & {
|
|
14
|
+
className: string;
|
|
15
|
+
}): React.ReactElement;
|
|
16
|
+
export declare function FormField<Values extends object>(props: FieldAttributes<FormFieldProps<Values>>): React.ReactElement;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FormikValues, FormikConfig, FormikContextType } from 'formik';
|
|
3
|
+
declare type ModifiedFormikConfig<Values extends FormikValues> = Omit<FormikConfig<Values>, 'initialValues' | 'onSubmit'>;
|
|
4
|
+
interface FormWrapperProps<FormValues extends FormikValues, ApiValues extends FormikValues> {
|
|
5
|
+
initialValues: FormValues | ApiValues;
|
|
6
|
+
onSubmit: (data: FormValues, onDone: () => void) => void;
|
|
7
|
+
castInitialValues?: boolean;
|
|
8
|
+
castValuesOnSubmit?: boolean;
|
|
9
|
+
allowInitialSubmit?: boolean;
|
|
10
|
+
resetOnSubmit?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare function FormWrapper<FormValues extends FormikValues = FormikValues, ApiValues extends FormikValues = FormikValues, ExtraProps = {}>(props: ModifiedFormikConfig<FormValues> & ExtraProps & FormWrapperProps<FormValues, ApiValues>): JSX.Element;
|
|
13
|
+
export declare namespace FormWrapper {
|
|
14
|
+
var defaultProps: {
|
|
15
|
+
castInitialValues: boolean;
|
|
16
|
+
castValuesOnSubmit: boolean;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
export declare function useFormikContextWrapper<T>(): FormikContextType<T>;
|
|
20
|
+
export {};
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { Core } from "../../../../common/src/backbone";
|
|
3
|
+
import { HashObject } from "../../../../common/src/react/interfaces/HashObject";
|
|
4
|
+
import { AnalyticsOptions } from "../../../../analytics/src/interfaces/AnalyticsTypes";
|
|
3
5
|
interface IconButtonProps {
|
|
4
6
|
svgName: string;
|
|
5
7
|
className?: string;
|
|
6
8
|
appLink?: Core.AppLink;
|
|
7
9
|
onClick?: (e: React.MouseEvent) => void;
|
|
10
|
+
analyticsData?: HashObject;
|
|
11
|
+
analyticsOptions?: AnalyticsOptions;
|
|
8
12
|
}
|
|
9
13
|
/**
|
|
10
14
|
* Renders a button with an svg followed by text.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
interface PopupProps {
|
|
3
|
+
title?: string;
|
|
4
|
+
closeButton?: boolean;
|
|
5
|
+
closePopup: () => void;
|
|
6
|
+
onEntered?: () => void;
|
|
7
|
+
size?: 'sm' | 'lg' | 'xl';
|
|
8
|
+
showLoadingSpinner?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare function Popup(props: React.PropsWithChildren<PopupProps>): React.ReactElement;
|
|
11
|
+
export declare namespace Popup {
|
|
12
|
+
var defaultProps: {
|
|
13
|
+
closeButton: boolean;
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
export {};
|
|
@@ -3,17 +3,20 @@ import { Core } from "../../../../../common/src/backbone";
|
|
|
3
3
|
import { Flight } from "../../../../../common/src/react";
|
|
4
4
|
import { WidgetType } from "../../../interfaces";
|
|
5
5
|
import { WidgetContents } from "../../../enums/WidgetContents";
|
|
6
|
+
import { ThumbnailSize } from "../../../enums/ThumbnailSize";
|
|
6
7
|
export interface FixedWidgetProps {
|
|
7
8
|
id?: string;
|
|
8
9
|
name?: string;
|
|
9
10
|
description?: string;
|
|
10
11
|
type: WidgetType;
|
|
11
12
|
contents: WidgetContents;
|
|
13
|
+
thumbnailSize?: ThumbnailSize;
|
|
12
14
|
collection?: any;
|
|
13
15
|
lazyLoad?: boolean;
|
|
14
16
|
fetch?: (...args: any) => Flight.Response<any>;
|
|
15
17
|
prefetched?: boolean;
|
|
16
18
|
setData?: (data: any) => any;
|
|
19
|
+
minimumItemCount?: number;
|
|
17
20
|
childComponent: React.ElementType;
|
|
18
21
|
childAppLink: Core.AppLink;
|
|
19
22
|
appLink?: Core.AppLink;
|
|
@@ -23,6 +26,7 @@ declare function FixedWidget(props: FixedWidgetProps): JSX.Element;
|
|
|
23
26
|
declare namespace FixedWidget {
|
|
24
27
|
var defaultProps: {
|
|
25
28
|
type: WidgetType;
|
|
29
|
+
minimumItemCount: number;
|
|
26
30
|
};
|
|
27
31
|
}
|
|
28
32
|
declare const Memoized: React.MemoExoticComponent<typeof FixedWidget>;
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
export declare const SharedWithStatements: {
|
|
2
2
|
VIDEO_COLLECTION: string;
|
|
3
|
+
/**
|
|
4
|
+
* We need to fetch videos 100 interactives for a shared playlist to determine which interactives
|
|
5
|
+
* the user can access using _allowAccess
|
|
6
|
+
*/
|
|
7
|
+
SHARED_PLAYLIST_VIDEO_COLLECTION: string;
|
|
3
8
|
SERIES: string;
|
|
4
9
|
FOLDER: string;
|
|
5
10
|
CLASSIFICATION: string;
|
|
@@ -10,15 +10,15 @@ export declare const PlaylistRequests: {
|
|
|
10
10
|
getPlaylistVideos(id: string, maxAllowedRating?: number, cursor?: string): Flight.Request;
|
|
11
11
|
getSharedPlaylistVideos(shareCode: string, maxAllowedRating?: number, cursor?: string): Flight.Request;
|
|
12
12
|
getVideoPlaylists(videoId: string, userId: string, cursor?: string): Flight.Request;
|
|
13
|
-
getIsFollowingPlaylist(playlistId: string, userId: string): Flight.Request;
|
|
14
13
|
createPlaylist(userId: string, data: CreateOrUpdatePlaylistRequest, success?: (data: any) => void, error?: (data: any) => void): Flight.Request;
|
|
15
14
|
updatePlaylist(id: string, data: CreateOrUpdatePlaylistRequest, success?: (data: any) => void, error?: (data: any) => void): Flight.Request;
|
|
16
15
|
deletePlaylist(id: string, success?: (data: any) => void, error?: (data: any) => void): Flight.Request;
|
|
17
16
|
addToPlaylist(playlistId: string, videoIds: string[], success?: (data: any) => void, error?: (data: any) => void): Flight.Request;
|
|
18
17
|
reorderVideos(id: string, reorderRequest: ReorderRequest, success?: (data: any) => void, error?: (data: any) => void): Flight.Request;
|
|
19
18
|
removePlaylistVideo(playlistId: string, videoId: string, success?: (data: any) => void, error?: (data: any) => void): Flight.Request;
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
getIsFollowingPlaylist(playlistId: string, userId: string): Flight.Request;
|
|
20
|
+
followPlaylist(playlistId: string, userId: string, success?: (data: any) => void, error?: (xhr: Xhr) => void, always?: () => void): Flight.Request;
|
|
21
|
+
unfollowPlaylist(playlistId: string, userId: string, success?: (data: any) => void, error?: (xhr: Xhr) => void, always?: () => void): Flight.Request;
|
|
22
22
|
getPlaylistPrivacy(playlistId: string): Flight.Request;
|
|
23
23
|
updatePlaylistPrivacy(playlistId: string, privacy: PlaylistPrivacy, success?: (data: any) => void, error?: (xhr: Xhr) => void, always?: () => void): Flight.Request;
|
|
24
24
|
getMigrationTask(success?: (data: any) => void, error?: (xhr: Xhr) => void): Flight.Request;
|
|
@@ -12,14 +12,14 @@ export declare const PreferenceRequests: {
|
|
|
12
12
|
* Subjects
|
|
13
13
|
*/
|
|
14
14
|
allSubjectPreferences(): Flight.Request;
|
|
15
|
-
mySubjectPreferences(): Flight.Request;
|
|
15
|
+
mySubjectPreferences(success?: (data: any) => void): Flight.Request;
|
|
16
16
|
followSubjects(subjectIds: string[], success: () => void, error?: () => void, always?: () => void): Flight.Request;
|
|
17
17
|
unfollowSubjects(subjectIds: string[], success: () => void, error?: () => void, always?: () => void): Flight.Request;
|
|
18
18
|
/**
|
|
19
19
|
* Levels
|
|
20
20
|
*/
|
|
21
21
|
allLevelPreferences(): Flight.Request;
|
|
22
|
-
myLevelPreferences(): Flight.Request;
|
|
22
|
+
myLevelPreferences(success?: (data: any) => void): Flight.Request;
|
|
23
23
|
followLevels(levelIds: string[], success: () => void, error?: () => void, always?: () => void): Flight.Request;
|
|
24
24
|
unfollowLevels(levelIds: string[], success: () => void, error?: () => void, always?: () => void): Flight.Request;
|
|
25
25
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Flight } from "../../../common/src/react";
|
|
2
2
|
import { SettingName } from "../enums/SettingName";
|
|
3
|
-
import { SettingKind } from
|
|
3
|
+
import { SettingKind } from "../enums/SettingKind";
|
|
4
4
|
export declare const SettingRequests: {
|
|
5
5
|
setting(entityId: string, name: SettingName): Flight.Request;
|
|
6
6
|
updateSetting(entityId: string, name: SettingName, value: any, kind: SettingKind, success: () => void, error: () => void): Flight.Request;
|