@clickview/online 0.0.0-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/README.md +1 -0
- package/dist/apps/content-updates/ContentUpdatesApplication.d.ts +12 -0
- package/dist/apps/content-updates/components/classification-banner/ClassifictionBannerContainer.d.ts +11 -0
- package/dist/apps/content-updates/components/classification-update-breadcrumbs/ClassificationUpdateBreadcrumbsContainer.d.ts +9 -0
- package/dist/apps/content-updates/components/index.d.ts +3 -0
- package/dist/apps/content-updates/components/whats-new-breadcrumbs/WhatsNewBreadcrumbsContainer.d.ts +6 -0
- package/dist/apps/content-updates/context/ContentUpdatesAppContext.d.ts +4 -0
- package/dist/apps/content-updates/context/index.d.ts +1 -0
- package/dist/apps/content-updates/flight-requests/ContentUpdatesRequests.d.ts +11 -0
- package/dist/apps/content-updates/flight-requests/index.d.ts +1 -0
- package/dist/apps/content-updates/interfaces/ClassificationVideosGrouping.d.ts +6 -0
- package/dist/apps/content-updates/interfaces/ContentUpdate.d.ts +7 -0
- package/dist/apps/content-updates/interfaces/ContentUpdateAppLinks.d.ts +12 -0
- package/dist/apps/content-updates/interfaces/Reason.d.ts +6 -0
- package/dist/apps/content-updates/interfaces/VideoClassificationMapping.d.ts +4 -0
- package/dist/apps/content-updates/interfaces/VideoWithClassification.d.ts +4 -0
- package/dist/apps/content-updates/interfaces/index.d.ts +7 -0
- package/dist/apps/content-updates/views/classification-update/ClassificationUpdateView.d.ts +7 -0
- package/dist/apps/content-updates/views/classification-update/index.d.ts +1 -0
- package/dist/apps/content-updates/views/content-updates/ContentUpdatesView.d.ts +6 -0
- package/dist/apps/content-updates/views/content-updates/components/ContentUpdateClassification.d.ts +14 -0
- package/dist/apps/content-updates/views/content-updates/index.d.ts +1 -0
- package/dist/apps/content-updates/views/index.d.ts +2 -0
- package/dist/apps/default/OnlineDefaultApplication.d.ts +12 -0
- package/dist/apps/playlists/PlaylistApplication.d.ts +36 -0
- package/dist/apps/playlists/components/empty-state/EmptyPlaylistListComponent.d.ts +2 -0
- package/dist/apps/playlists/components/empty-state/EmptyVideoListComponent.d.ts +6 -0
- package/dist/apps/playlists/components/empty-state/index.d.ts +2 -0
- package/dist/apps/playlists/components/index.d.ts +7 -0
- package/dist/apps/playlists/components/new-playlist-button/NewPlaylistButtonComponent.d.ts +8 -0
- package/dist/apps/playlists/components/new-playlist-button/index.d.ts +1 -0
- package/dist/apps/playlists/components/playlist-details/PlaylistDetailsComponent.d.ts +10 -0
- package/dist/apps/playlists/components/playlist-details/index.d.ts +1 -0
- package/dist/apps/playlists/components/playlist-header/PlaylistHeaderActionsComponent.d.ts +17 -0
- package/dist/apps/playlists/components/playlist-header/PlaylistHeaderComponent.d.ts +22 -0
- package/dist/apps/playlists/components/playlist-header/index.d.ts +2 -0
- package/dist/apps/playlists/components/playlist-list/PartialPlaylistList.d.ts +2 -0
- package/dist/apps/playlists/components/playlist-list/PartialPlaylistListHeader.d.ts +2 -0
- package/dist/apps/playlists/components/playlist-list/PlaylistListComponent.d.ts +10 -0
- package/dist/apps/playlists/components/playlist-list/PlaylistListHeaderComponent.d.ts +11 -0
- package/dist/apps/playlists/components/playlist-list/index.d.ts +4 -0
- package/dist/apps/playlists/components/video-list/SortableVideoListContainer.d.ts +12 -0
- package/dist/apps/playlists/components/video-list/index.d.ts +1 -0
- package/dist/apps/playlists/components/video-not-found/VideoNotFoundComponent.d.ts +8 -0
- package/dist/apps/playlists/components/video-not-found/index.d.ts +1 -0
- package/dist/apps/playlists/context/PlaylistsAppContext.d.ts +4 -0
- package/dist/apps/playlists/context/index.d.ts +1 -0
- package/dist/apps/playlists/enums/MigrationTaskStatus.d.ts +6 -0
- package/dist/apps/playlists/enums/PlaylistSortType.d.ts +5 -0
- package/dist/apps/playlists/enums/index.d.ts +2 -0
- package/dist/apps/playlists/filters/MigrationFilter.d.ts +2 -0
- package/dist/apps/playlists/filters/index.d.ts +1 -0
- package/dist/apps/playlists/flight-requests/PlaylistRequests.d.ts +21 -0
- package/dist/apps/playlists/flight-requests/SubjectRequests.d.ts +5 -0
- package/dist/apps/playlists/flight-requests/VideoRequests.d.ts +5 -0
- package/dist/apps/playlists/flight-requests/index.d.ts +3 -0
- package/dist/apps/playlists/flight-requests/utils/PlaylistStateUpdateHelper.d.ts +11 -0
- package/dist/apps/playlists/flight-requests/utils/index.d.ts +1 -0
- package/dist/apps/playlists/hooks/UseHandlePlaylistError.d.ts +3 -0
- package/dist/apps/playlists/hooks/index.d.ts +1 -0
- package/dist/apps/playlists/interfaces/PlaylistCollectionIdentifier.d.ts +5 -0
- package/dist/apps/playlists/interfaces/PlaylistVideoCollectionIdentifier.d.ts +4 -0
- package/dist/apps/playlists/interfaces/data-requests/CreateOrUpdatePlaylistRequest.d.ts +4 -0
- package/dist/apps/playlists/interfaces/data-requests/index.d.ts +1 -0
- package/dist/apps/playlists/interfaces/index.d.ts +4 -0
- package/dist/apps/playlists/interfaces/models/Following.d.ts +4 -0
- package/dist/apps/playlists/interfaces/models/MigrationTask.d.ts +4 -0
- package/dist/apps/playlists/interfaces/models/index.d.ts +2 -0
- package/dist/apps/playlists/services/FlightPlaylistDataService.d.ts +15 -0
- package/dist/apps/playlists/services/index.d.ts +1 -0
- package/dist/apps/playlists/utils/PlaylistSortHelper.d.ts +5 -0
- package/dist/apps/playlists/utils/PlaylistVideoActionAppLinkHelper.d.ts +3 -0
- package/dist/apps/playlists/utils/RecentPlaylistHelper.d.ts +14 -0
- package/dist/apps/playlists/utils/index.d.ts +4 -0
- package/dist/apps/playlists/utils/validation/PlaylistValidationSchema.d.ts +5 -0
- package/dist/apps/playlists/utils/validation/index.d.ts +1 -0
- package/dist/apps/playlists/views/add-to-playlist/AddToPlaylistView.d.ts +6 -0
- package/dist/apps/playlists/views/add-to-playlist/components/index.d.ts +1 -0
- package/dist/apps/playlists/views/add-to-playlist/components/select-playlist/SelectPlaylist.d.ts +10 -0
- package/dist/apps/playlists/views/add-to-playlist/components/select-playlist/index.d.ts +1 -0
- package/dist/apps/playlists/views/add-to-playlist/index.d.ts +1 -0
- package/dist/apps/playlists/views/delete-playlist/DeletePlaylistView.d.ts +10 -0
- package/dist/apps/playlists/views/delete-playlist/index.d.ts +1 -0
- package/dist/apps/playlists/views/edit-playlist/EditPlaylistView.d.ts +8 -0
- package/dist/apps/playlists/views/edit-playlist/index.d.ts +1 -0
- package/dist/apps/playlists/views/index.d.ts +10 -0
- package/dist/apps/playlists/views/left-nav/LeftNavView.d.ts +5 -0
- package/dist/apps/playlists/views/left-nav/index.d.ts +1 -0
- package/dist/apps/playlists/views/migration-in-progress/MigrationInProgressView.d.ts +2 -0
- package/dist/apps/playlists/views/migration-in-progress/index.d.ts +1 -0
- package/dist/apps/playlists/views/new-playlist/NewPlaylistView.d.ts +8 -0
- package/dist/apps/playlists/views/new-playlist/index.d.ts +1 -0
- package/dist/apps/playlists/views/play-playlist/PlayPlaylistView.d.ts +11 -0
- package/dist/apps/playlists/views/play-playlist/index.d.ts +1 -0
- package/dist/apps/playlists/views/playlist/PlaylistView.d.ts +19 -0
- package/dist/apps/playlists/views/playlist/PlaylistViewUtils.d.ts +19 -0
- package/dist/apps/playlists/views/playlist/index.d.ts +1 -0
- package/dist/apps/playlists/views/playlists/PlaylistsView.d.ts +11 -0
- package/dist/apps/playlists/views/playlists/index.d.ts +1 -0
- package/dist/apps/playlists/views/remove-video-from-playlist/RemoveVideoFromPlaylistView.d.ts +9 -0
- package/dist/apps/playlists/views/remove-video-from-playlist/index.d.ts +1 -0
- package/dist/apps/subjects/SubjectApplication.d.ts +20 -0
- package/dist/apps/subjects/context/SubjectAppContext.d.ts +4 -0
- package/dist/apps/subjects/context/index.d.ts +1 -0
- package/dist/apps/subjects/views/SubjectPlaylistView.d.ts +9 -0
- package/dist/apps/subjects/views/index.d.ts +1 -0
- package/dist/clients/lite/components/apps/content-updates/classification-banner/LiteClassificationBanner.d.ts +2 -0
- package/dist/clients/lite/components/apps/content-updates/classification-update-breadcrumbs/LiteClassificationUpdateBreadcrumbs.d.ts +2 -0
- package/dist/clients/lite/components/apps/content-updates/index.d.ts +3 -0
- package/dist/clients/lite/components/apps/content-updates/whats-new-breadcrumbs/LiteWhatsNewBreadcrumbs.d.ts +2 -0
- package/dist/clients/lite/components/apps/playlists/index.d.ts +4 -0
- package/dist/clients/lite/components/apps/playlists/playlist-header/PlaylistHeader.d.ts +2 -0
- package/dist/clients/lite/components/apps/playlists/playlist-header/index.d.ts +1 -0
- package/dist/clients/lite/components/apps/playlists/playlist-list-header/PlaylistListHeader.d.ts +2 -0
- package/dist/clients/lite/components/apps/playlists/playlist-list-header/index.d.ts +1 -0
- package/dist/clients/lite/components/apps/playlists/playlist-sort-select/PlaylistSortSelect.d.ts +8 -0
- package/dist/clients/lite/components/apps/playlists/playlist-sort-select/index.d.ts +1 -0
- package/dist/clients/lite/components/apps/playlists/video-list/SortableVideoListContainer.d.ts +3 -0
- package/dist/clients/lite/components/apps/playlists/video-list/index.d.ts +1 -0
- package/dist/clients/lite/components/index.d.ts +3 -0
- package/dist/clients/lite/components/shared/Popup.d.ts +3 -0
- package/dist/clients/lite/components/shared/index.d.ts +1 -0
- package/dist/clients/lite/index.d.ts +1 -0
- package/dist/clients/online/components/apps/content-updates/classification-banner/OnlineClassificationBanner.d.ts +2 -0
- package/dist/clients/online/components/apps/content-updates/classification-update-breadcrumbs/OnlineClassificationUpdateBreadcrumbs.d.ts +2 -0
- package/dist/clients/online/components/apps/content-updates/index.d.ts +3 -0
- package/dist/clients/online/components/apps/content-updates/whats-new-breadcrumbs/OnlineWhatsNewBreadcrumbs.d.ts +2 -0
- package/dist/clients/online/components/apps/playlists/index.d.ts +9 -0
- package/dist/clients/online/components/apps/playlists/left-nav/LeftNavComponent.d.ts +11 -0
- package/dist/clients/online/components/apps/playlists/left-nav/LeftNavItemComponent.d.ts +8 -0
- package/dist/clients/online/components/apps/playlists/left-nav/index.d.ts +1 -0
- package/dist/clients/online/components/apps/playlists/left-nav/partial-loading/PartialLeftNavComponent.d.ts +2 -0
- package/dist/clients/online/components/apps/playlists/left-nav/partial-loading/index.d.ts +1 -0
- package/dist/clients/online/components/apps/playlists/play-playlist/PlayPlaylistComponent.d.ts +15 -0
- package/dist/clients/online/components/apps/playlists/play-playlist/index.d.ts +1 -0
- package/dist/clients/online/components/apps/playlists/playlist-actions/PlaylistActionsComponent.d.ts +9 -0
- package/dist/clients/online/components/apps/playlists/playlist-actions/index.d.ts +1 -0
- package/dist/clients/online/components/apps/playlists/playlist-header/PlaylistBreadcrumbsComponent.d.ts +7 -0
- package/dist/clients/online/components/apps/playlists/playlist-header/PlaylistHeaderComponent.d.ts +3 -0
- package/dist/clients/online/components/apps/playlists/playlist-header/index.d.ts +1 -0
- package/dist/clients/online/components/apps/playlists/playlist-header/partial-loading/PartialPlaylistHeaderComponent.d.ts +6 -0
- package/dist/clients/online/components/apps/playlists/playlist-header/partial-loading/index.d.ts +1 -0
- package/dist/clients/online/components/apps/playlists/playlist-list/PartialPlaylistListComponent.d.ts +2 -0
- package/dist/clients/online/components/apps/playlists/playlist-list/PartialPlaylistListHeader.d.ts +1 -0
- package/dist/clients/online/components/apps/playlists/playlist-list/PlaylistItemComponent.d.ts +7 -0
- package/dist/clients/online/components/apps/playlists/playlist-list/PlaylistListComponent.d.ts +3 -0
- package/dist/clients/online/components/apps/playlists/playlist-list/PlaylistListHeaderComponent.d.ts +3 -0
- package/dist/clients/online/components/apps/playlists/playlist-list/index.d.ts +4 -0
- package/dist/clients/online/components/apps/playlists/series-metadata/SeriesMetadata.d.ts +6 -0
- package/dist/clients/online/components/apps/playlists/series-metadata/index.d.ts +1 -0
- package/dist/clients/online/components/apps/playlists/share-playlist/SharePlaylistComponent.d.ts +7 -0
- package/dist/clients/online/components/apps/playlists/share-playlist/index.d.ts +1 -0
- package/dist/clients/online/components/apps/playlists/video-list/PartialVideoListComponent.d.ts +2 -0
- package/dist/clients/online/components/apps/playlists/video-list/PlaceHolder.d.ts +1 -0
- package/dist/clients/online/components/apps/playlists/video-list/RestrictedBadge.d.ts +6 -0
- package/dist/clients/online/components/apps/playlists/video-list/RestrictionInfo.d.ts +6 -0
- package/dist/clients/online/components/apps/playlists/video-list/SortableVideoListComponent.d.ts +8 -0
- package/dist/clients/online/components/apps/playlists/video-list/SortableVideoListContainer.d.ts +3 -0
- package/dist/clients/online/components/apps/playlists/video-list/ThumbnailComponent.d.ts +10 -0
- package/dist/clients/online/components/apps/playlists/video-list/VideoActionsComponent.d.ts +12 -0
- package/dist/clients/online/components/apps/playlists/video-list/VideoItemComponent.d.ts +15 -0
- package/dist/clients/online/components/apps/playlists/video-list/VideoItemPreviewComponent.d.ts +9 -0
- package/dist/clients/online/components/apps/playlists/video-list/index.d.ts +1 -0
- package/dist/clients/online/components/apps/playlists/web-player/WebPlayerComponent.d.ts +7 -0
- package/dist/clients/online/components/apps/playlists/web-player/index.d.ts +1 -0
- package/dist/clients/online/components/index.d.ts +3 -0
- package/dist/clients/online/components/shared/AlertContentComponent.d.ts +3 -0
- package/dist/clients/online/components/shared/InfiniteScrollFooter.d.ts +3 -0
- package/dist/clients/online/components/shared/PopupButtons.d.ts +3 -0
- package/dist/clients/online/components/shared/PopupComponent.d.ts +8 -0
- package/dist/clients/online/components/shared/SpinnerComponent.d.ts +3 -0
- package/dist/clients/online/components/shared/SvgComponent.d.ts +3 -0
- package/dist/clients/online/components/shared/index.d.ts +6 -0
- package/dist/clients/online/constants/ResponsiveHideLeftNavAppLinks.d.ts +2 -0
- package/dist/clients/online/constants/Services.d.ts +3 -0
- package/dist/clients/online/constants/index.d.ts +2 -0
- package/dist/clients/online/hooks/UseListenOn.d.ts +4 -0
- package/dist/clients/online/hooks/index.d.ts +1 -0
- package/dist/clients/online/index.d.ts +4 -0
- package/dist/clients/online/layouts/OnlinePlaylistsLayoutView.d.ts +11 -0
- package/dist/clients/online/layouts/index.d.ts +1 -0
- package/dist/clients/online/services/OnlineContextService.d.ts +10 -0
- package/dist/clients/online/services/index.d.ts +1 -0
- package/dist/clients/online/utils/BackboneHelper.d.ts +18 -0
- package/dist/clients/online/utils/OnlineContentUpdateAppLinks.d.ts +2 -0
- package/dist/clients/online/utils/OnlineHelper.d.ts +11 -0
- package/dist/clients/online/utils/PopupHelper.d.ts +12 -0
- package/dist/clients/online/utils/index.d.ts +4 -0
- package/dist/clients/online/views/apps/playlists/LeftNavView.d.ts +3 -0
- package/dist/clients/online/views/apps/playlists/PlayPlaylistView.d.ts +3 -0
- package/dist/clients/online/views/apps/playlists/index.d.ts +2 -0
- package/dist/clients/online/views/index.d.ts +2 -0
- package/dist/clients/online/views/shared/ShareView.d.ts +3 -0
- package/dist/clients/online/views/shared/index.d.ts +1 -0
- package/dist/en.json +1 -0
- package/dist/index.d.ts +54 -0
- package/dist/online-app.css +6 -0
- package/dist/online-app.js +17 -0
- package/dist/shared/components/AppLinkComponent.d.ts +12 -0
- package/dist/shared/components/ClientWrapperComponent.d.ts +7 -0
- package/dist/shared/components/EmptyStateComponent.d.ts +8 -0
- package/dist/shared/components/InfiniteScrollFooterComponent.d.ts +6 -0
- package/dist/shared/components/LazyImageComponent.d.ts +2 -0
- package/dist/shared/components/SpinnerButtonComponent.d.ts +12 -0
- package/dist/shared/components/SpinnerComponent.d.ts +6 -0
- package/dist/shared/components/SvgComponent.d.ts +7 -0
- package/dist/shared/components/alert/AlertComponent.d.ts +7 -0
- package/dist/shared/components/alert/AlertContentComponent.d.ts +8 -0
- package/dist/shared/components/alert/index.d.ts +2 -0
- package/dist/shared/components/dropdown/DropdownComponent.d.ts +8 -0
- package/dist/shared/components/dropdown/DropdownItemComponent.d.ts +10 -0
- package/dist/shared/components/dropdown/index.d.ts +2 -0
- package/dist/shared/components/forms/FormFieldComponent.d.ts +9 -0
- package/dist/shared/components/forms/FormWrapperComponent.d.ts +12 -0
- package/dist/shared/components/forms/index.d.ts +2 -0
- package/dist/shared/components/index.d.ts +12 -0
- package/dist/shared/components/popup/PopupButtonsComponent.d.ts +5 -0
- package/dist/shared/components/popup/PopupComponent.d.ts +7 -0
- package/dist/shared/components/popup/PopupLoadingSpinnerComponent.d.ts +2 -0
- package/dist/shared/components/popup/index.d.ts +3 -0
- package/dist/shared/constants/Actions.d.ts +38 -0
- package/dist/shared/constants/BootstrapKeys.d.ts +3 -0
- package/dist/shared/constants/DataPrefixes.d.ts +20 -0
- package/dist/shared/constants/Layouts.d.ts +3 -0
- package/dist/shared/constants/RadioChannels.d.ts +12 -0
- package/dist/shared/constants/Services.d.ts +7 -0
- package/dist/shared/constants/SupportArticles.d.ts +3 -0
- package/dist/shared/constants/WithStatements.d.ts +5 -0
- package/dist/shared/constants/index.d.ts +8 -0
- package/dist/shared/context/PageTitleContext.d.ts +10 -0
- package/dist/shared/context/index.d.ts +1 -0
- package/dist/shared/enums/Svg.d.ts +13 -0
- package/dist/shared/enums/index.d.ts +1 -0
- package/dist/shared/flight-requests/ConfigRequests.d.ts +4 -0
- package/dist/shared/flight-requests/UserRequests.d.ts +4 -0
- package/dist/shared/flight-requests/index.d.ts +2 -0
- package/dist/shared/hooks/UseBatchFetch.d.ts +14 -0
- package/dist/shared/hooks/UseFetchAll.d.ts +12 -0
- package/dist/shared/hooks/UseInfiniteList.d.ts +20 -0
- package/dist/shared/hooks/UseInfiniteScroll.d.ts +1 -0
- package/dist/shared/hooks/UsePolling.d.ts +1 -0
- package/dist/shared/hooks/UseRenderBackboneView.d.ts +10 -0
- package/dist/shared/hooks/UseRevertPageTitleOnUnsetChild.d.ts +2 -0
- package/dist/shared/hooks/UseSelectAllPages.d.ts +15 -0
- package/dist/shared/hooks/UseSetPageTitle.d.ts +7 -0
- package/dist/shared/hooks/UseVideoMixin.d.ts +2 -0
- package/dist/shared/hooks/index.d.ts +10 -0
- package/dist/shared/interfaces/AppLinkWithLabel.d.ts +5 -0
- package/dist/shared/interfaces/SharedObject.d.ts +8 -0
- package/dist/shared/interfaces/index.d.ts +4 -0
- package/dist/shared/interfaces/models/Restriction.d.ts +6 -0
- package/dist/shared/interfaces/models/VideoWithRestrictions.d.ts +5 -0
- package/dist/shared/interfaces/models/index.d.ts +2 -0
- package/dist/shared/interfaces/props/ViewProps.d.ts +6 -0
- package/dist/shared/interfaces/props/index.d.ts +1 -0
- package/dist/shared/layouts/LayoutComponent.d.ts +12 -0
- package/dist/shared/layouts/OnlineLayoutView.d.ts +26 -0
- package/dist/shared/layouts/index.d.ts +2 -0
- package/dist/shared/services/ClientComponentService.d.ts +22 -0
- package/dist/shared/services/LanguageDataService.d.ts +11 -0
- package/dist/shared/services/index.d.ts +2 -0
- package/dist/shared/utils/PageTitleHelper.d.ts +3 -0
- package/dist/shared/utils/RestrictionHelper.d.ts +6 -0
- package/dist/shared/utils/index.d.ts +2 -0
- package/dist/shared/views/AlertView.d.ts +8 -0
- package/dist/shared/views/ErrorView.d.ts +11 -0
- package/dist/shared/views/ShareView.d.ts +6 -0
- package/dist/shared/views/index.d.ts +3 -0
- package/package.json +47 -0
- package/tooling/externals.js +58 -0
- package/typings/libs/LazyLoad.d.ts +22 -0
- package/typings/utils/imports.d.ts +9 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './PlaylistValidationSchema';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './select-playlist';
|
package/dist/apps/playlists/views/add-to-playlist/components/select-playlist/SelectPlaylist.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Playlist } from '@clickview/shared';
|
|
2
|
+
interface SelectPlaylistProps {
|
|
3
|
+
playlists: Playlist[];
|
|
4
|
+
currentUserId: string;
|
|
5
|
+
onSelectPlaylist: (playlist: Playlist) => void;
|
|
6
|
+
isVideoInPlaylist?: (playlist: Playlist) => boolean;
|
|
7
|
+
createPlaylist?: (name: string) => void;
|
|
8
|
+
}
|
|
9
|
+
export declare function SelectPlaylist(props: SelectPlaylistProps): JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './SelectPlaylist';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './AddToPlaylistView';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Core } from '@clickview/common';
|
|
3
|
+
import { PropsWithPopupViewProps, PropsWithAnalyticsOptions } from 'shared/interfaces';
|
|
4
|
+
interface DeletePlaylistViewProps {
|
|
5
|
+
playlistId: string;
|
|
6
|
+
routeToOnDelete?: Core.AppLink;
|
|
7
|
+
}
|
|
8
|
+
declare type PropTypes = PropsWithAnalyticsOptions<PropsWithPopupViewProps<DeletePlaylistViewProps>>;
|
|
9
|
+
export declare function DeletePlaylistView(props: PropTypes): React.ReactElement;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './DeletePlaylistView';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { PropsWithPopupViewProps, PropsWithAnalyticsOptions } from 'shared/interfaces';
|
|
3
|
+
interface EditPlaylistViewProps {
|
|
4
|
+
playlistId: string;
|
|
5
|
+
}
|
|
6
|
+
declare type PropTypes = PropsWithAnalyticsOptions<PropsWithPopupViewProps<EditPlaylistViewProps>>;
|
|
7
|
+
export declare function EditPlaylistView(props: PropTypes): React.ReactElement;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './EditPlaylistView';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './add-to-playlist';
|
|
2
|
+
export * from './delete-playlist';
|
|
3
|
+
export * from './edit-playlist';
|
|
4
|
+
export * from './left-nav';
|
|
5
|
+
export * from './migration-in-progress';
|
|
6
|
+
export * from './new-playlist';
|
|
7
|
+
export * from './play-playlist';
|
|
8
|
+
export * from './playlist';
|
|
9
|
+
export * from './playlists';
|
|
10
|
+
export * from './remove-video-from-playlist';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './LeftNavView';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './MigrationInProgressView';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { PropsWithPopupViewProps, PropsWithAnalyticsOptions } from 'shared/interfaces';
|
|
3
|
+
interface NewPlaylistViewProps {
|
|
4
|
+
application: string;
|
|
5
|
+
}
|
|
6
|
+
declare type PropTypes = PropsWithAnalyticsOptions<PropsWithPopupViewProps<NewPlaylistViewProps>>;
|
|
7
|
+
export declare function NewPlaylistView(props: PropTypes): React.ReactElement;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './NewPlaylistView';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Core } from '@clickview/common';
|
|
3
|
+
export interface PlayPlaylistViewProps {
|
|
4
|
+
playlistId: string;
|
|
5
|
+
videoId?: string;
|
|
6
|
+
isShared?: boolean;
|
|
7
|
+
getPlaylistAppLink: () => Core.AppLink;
|
|
8
|
+
getVideoAppLink: (videoId: string) => Core.AppLink;
|
|
9
|
+
filterByRating?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare function PlayPlaylistView(props: PlayPlaylistViewProps): React.ReactElement;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './PlayPlaylistView';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Core } from '@clickview/common';
|
|
3
|
+
import { Video, Series } from '@clickview/shared';
|
|
4
|
+
import { AppLinkWithLabel } from 'shared/interfaces';
|
|
5
|
+
interface PlaylistViewProps {
|
|
6
|
+
playlistId: string;
|
|
7
|
+
isShared?: boolean;
|
|
8
|
+
application: string;
|
|
9
|
+
getVideoAppLink: (video: Video) => Core.AppLink;
|
|
10
|
+
getSeriesAppLink: (series: Series) => Core.AppLink;
|
|
11
|
+
allowEdit?: boolean;
|
|
12
|
+
showBreadcrumbs?: boolean;
|
|
13
|
+
showDateMetadata?: boolean;
|
|
14
|
+
playAllAppLink?: Core.AppLink;
|
|
15
|
+
returnAppLink?: AppLinkWithLabel;
|
|
16
|
+
filterByRating?: boolean;
|
|
17
|
+
}
|
|
18
|
+
export declare function PlaylistView(props: PlaylistViewProps): React.ReactElement;
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Video, VideoAction, Playlist, CurrentUser } from '@clickview/shared';
|
|
3
|
+
import { WorkflowPhase } from '@clickview/analytics';
|
|
4
|
+
/**
|
|
5
|
+
* NOTE:
|
|
6
|
+
* This will be wrong if we increase the playlist limit from 100, or
|
|
7
|
+
* stop fetching all 100 videos at once.
|
|
8
|
+
*/
|
|
9
|
+
export declare function getLastUpdatedDate(videos: Video[]): string;
|
|
10
|
+
export declare function getVideoActions(canEdit: boolean): VideoAction[];
|
|
11
|
+
export declare function logSortAction(playlistId: string, videoId: string, workflowPhase: WorkflowPhase): void;
|
|
12
|
+
export declare function canEditPlaylist(playlist: Playlist, user: CurrentUser): boolean;
|
|
13
|
+
/**
|
|
14
|
+
* This function can be used to temporarily store an array of reordered videos
|
|
15
|
+
* until the array obtained from the application store updates to the new order.
|
|
16
|
+
*
|
|
17
|
+
* @param videos array of videos from application store.
|
|
18
|
+
*/
|
|
19
|
+
export declare function useReorderedVideos(videos: Video[]): [Video[], React.Dispatch<React.SetStateAction<Video[]>>];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './PlaylistView';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Core } from '@clickview/common';
|
|
3
|
+
import { Playlist } from '@clickview/shared';
|
|
4
|
+
import { PlaylistSortType } from 'apps/playlists/enums';
|
|
5
|
+
interface PlaylistsViewProps {
|
|
6
|
+
sort: PlaylistSortType;
|
|
7
|
+
getSortAppLink: (sort: PlaylistSortType) => Core.AppLink;
|
|
8
|
+
getPlaylistAppLink: (playlist: Playlist) => Core.AppLink;
|
|
9
|
+
}
|
|
10
|
+
export declare function PlaylistsView(props: PlaylistsViewProps): React.ReactElement;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './PlaylistsView';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { PropsWithPopupViewProps, PropsWithAnalyticsOptions } from 'shared/interfaces';
|
|
3
|
+
interface RemoveVideoFromPlaylistViewProps {
|
|
4
|
+
videoId: string;
|
|
5
|
+
playlistId: string;
|
|
6
|
+
}
|
|
7
|
+
declare type PropTypes = PropsWithAnalyticsOptions<PropsWithPopupViewProps<RemoveVideoFromPlaylistViewProps>>;
|
|
8
|
+
export declare function RemoveVideoFromPlaylistView(props: PropTypes): React.ReactElement;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './RemoveVideoFromPlaylistView';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ObjectHash } from 'backbone';
|
|
2
|
+
import { Core } from '@clickview/common';
|
|
3
|
+
import { OnlineLayoutView, OnlineLayoutViewOptions } from 'shared/layouts';
|
|
4
|
+
export declare class SubjectApplication extends Core.Application {
|
|
5
|
+
protected layout: OnlineLayoutView;
|
|
6
|
+
initialize(): void;
|
|
7
|
+
get name(): string;
|
|
8
|
+
static get router(): any;
|
|
9
|
+
get channelName(): string;
|
|
10
|
+
get layoutOptions(): Core.LayoutOptions<OnlineLayoutViewOptions>;
|
|
11
|
+
index(id: string): void;
|
|
12
|
+
subject(id: string): void;
|
|
13
|
+
subjectPlaylist(subjectId: string, playlistId: string): void;
|
|
14
|
+
playSubjectPlaylist(subjectId: string, playlistId: string): void;
|
|
15
|
+
playSubjectPlaylistVideo(subjectId: string, playlistId: string, videoId?: string): void;
|
|
16
|
+
series(seriesId: string): void;
|
|
17
|
+
protected onShowAlert(options?: ObjectHash): void;
|
|
18
|
+
private getPlaylistAppLink;
|
|
19
|
+
private getVideoAppLink;
|
|
20
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export declare const SubjectAppContextProvider: ({ children }: {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
}) => 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>)>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './SubjectAppContext';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Core } from '@clickview/common';
|
|
2
|
+
import { Video } from '@clickview/shared';
|
|
3
|
+
interface SubjectPlaylistViewProps {
|
|
4
|
+
subjectId: string;
|
|
5
|
+
playlistId: string;
|
|
6
|
+
getVideoAppLink: (video: Video) => Core.AppLink;
|
|
7
|
+
}
|
|
8
|
+
export declare function SubjectPlaylistView(props: SubjectPlaylistViewProps): JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './SubjectPlaylistView';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './PlaylistHeader';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './PlaylistListHeader';
|
package/dist/clients/lite/components/apps/playlists/playlist-sort-select/PlaylistSortSelect.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Core } from '@clickview/common';
|
|
2
|
+
import { PlaylistSortType } from 'apps/playlists/enums';
|
|
3
|
+
interface PlaylistSortSelectProps {
|
|
4
|
+
type: PlaylistSortType;
|
|
5
|
+
getSortAppLink: (sort: PlaylistSortType) => Core.AppLink;
|
|
6
|
+
}
|
|
7
|
+
export declare function PlaylistSortSelect(props: PlaylistSortSelectProps): JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './PlaylistSortSelect';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './SortableVideoListContainer';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Popup';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './components';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from './left-nav';
|
|
2
|
+
export * from './playlist-header';
|
|
3
|
+
export * from './playlist-list';
|
|
4
|
+
export * from './video-list';
|
|
5
|
+
export * from './playlist-actions';
|
|
6
|
+
export * from './play-playlist';
|
|
7
|
+
export * from './series-metadata';
|
|
8
|
+
export * from './share-playlist';
|
|
9
|
+
export * from './web-player';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Playlist } from '@clickview/shared';
|
|
3
|
+
interface LeftNavComponentProps {
|
|
4
|
+
playlists: Playlist[];
|
|
5
|
+
selectedPlaylistId?: string;
|
|
6
|
+
hasMorePlaylists: boolean;
|
|
7
|
+
fetchMorePlaylists: () => void;
|
|
8
|
+
isFetching: boolean;
|
|
9
|
+
}
|
|
10
|
+
declare function LeftNavComponentWrapper(props: LeftNavComponentProps): React.ReactElement;
|
|
11
|
+
export { LeftNavComponentWrapper as LeftNavComponent };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Playlist } from '@clickview/shared';
|
|
3
|
+
interface LeftNavItemComponentProps {
|
|
4
|
+
playlist: Playlist;
|
|
5
|
+
selected?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare function LeftNavItemComponent(props: LeftNavItemComponentProps): React.ReactElement;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './LeftNavComponent';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './PartialLeftNavComponent';
|
package/dist/clients/online/components/apps/playlists/play-playlist/PlayPlaylistComponent.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Core } from '@clickview/common';
|
|
3
|
+
import { Video, Playlist } from '@clickview/shared';
|
|
4
|
+
import { RestrictedObject } from 'shared/interfaces';
|
|
5
|
+
interface PlayPlaylistComponentProps {
|
|
6
|
+
playlist: Playlist;
|
|
7
|
+
videos: Video[];
|
|
8
|
+
currentVideoId: string;
|
|
9
|
+
videoRestrictions: RestrictedObject[];
|
|
10
|
+
getPlaylistAppLink: () => Core.AppLink;
|
|
11
|
+
getVideoAppLink: (videoId: string) => Core.AppLink;
|
|
12
|
+
shareCode?: string;
|
|
13
|
+
}
|
|
14
|
+
export declare function PlayPlaylistComponent(props: PlayPlaylistComponentProps): React.ReactElement;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './PlayPlaylistComponent';
|
package/dist/clients/online/components/apps/playlists/playlist-actions/PlaylistActionsComponent.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { PropsWithAnalyticsOptions } from 'shared/interfaces';
|
|
3
|
+
import { Playlist } from '@clickview/shared';
|
|
4
|
+
interface PlaylistActionsComponentProps {
|
|
5
|
+
playlist: Playlist;
|
|
6
|
+
}
|
|
7
|
+
declare type PropTypes = PropsWithAnalyticsOptions<PlaylistActionsComponentProps>;
|
|
8
|
+
export declare function PlaylistActionsComponent(props: PropTypes): React.ReactElement;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './PlaylistActionsComponent';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Playlist } from '@clickview/shared';
|
|
3
|
+
interface PlaylistBreadcrumbsComponentProps {
|
|
4
|
+
playlist: Playlist;
|
|
5
|
+
}
|
|
6
|
+
export declare function PlaylistBreadcrumbsComponent(props: PlaylistBreadcrumbsComponentProps): React.ReactElement;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './PlaylistHeaderComponent';
|
package/dist/clients/online/components/apps/playlists/playlist-header/partial-loading/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './PartialPlaylistHeaderComponent';
|
package/dist/clients/online/components/apps/playlists/playlist-list/PartialPlaylistListHeader.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function PartialPlaylistListHeader(): JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './SeriesMetadata';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './SharePlaylistComponent';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function PlaceHolder(): JSX.Element;
|
package/dist/clients/online/components/apps/playlists/video-list/SortableVideoListComponent.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Video } from '@clickview/shared';
|
|
3
|
+
import { VideoItemComponentProps } from './VideoItemComponent';
|
|
4
|
+
interface VideoListComponentProps extends Omit<VideoItemComponentProps, 'video' | 'idx'> {
|
|
5
|
+
videos: Video[];
|
|
6
|
+
}
|
|
7
|
+
export declare const SortableVideoListComponent: React.ComponentClass<VideoListComponentProps & import("react-sortable-hoc").SortableContainerProps, any>;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Core } from '@clickview/common';
|
|
3
|
+
import { Video } from '@clickview/shared';
|
|
4
|
+
interface ThumbnailComponentProps {
|
|
5
|
+
video: Video;
|
|
6
|
+
appLink: Core.AppLink;
|
|
7
|
+
onClick?: () => void;
|
|
8
|
+
}
|
|
9
|
+
export declare function ThumbnailComponent(props: ThumbnailComponentProps): React.ReactElement;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as Backbone from 'backbone';
|
|
3
|
+
import { PropsWithAnalyticsOptions } from 'shared/interfaces';
|
|
4
|
+
interface VideoActionsComponentProps {
|
|
5
|
+
video: Backbone.Model;
|
|
6
|
+
playlistId: string;
|
|
7
|
+
canEdit?: boolean;
|
|
8
|
+
showLoader: () => void;
|
|
9
|
+
}
|
|
10
|
+
declare type PropTypes = PropsWithAnalyticsOptions<VideoActionsComponentProps>;
|
|
11
|
+
export declare function VideoActionsComponent(props: PropTypes): React.ReactElement;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Core } from '@clickview/common';
|
|
3
|
+
import { Video } from '@clickview/shared';
|
|
4
|
+
import { SharedObject } from 'shared/interfaces';
|
|
5
|
+
export interface VideoItemComponentProps {
|
|
6
|
+
video: Video | SharedObject<Video>;
|
|
7
|
+
playlistId: string;
|
|
8
|
+
idx: number;
|
|
9
|
+
getVideoAppLink: (video: Video) => Core.AppLink;
|
|
10
|
+
isUserSignedIn: boolean;
|
|
11
|
+
canEdit?: boolean;
|
|
12
|
+
setIsSorting?: (isSorting: boolean) => void;
|
|
13
|
+
fetchRestrictions?: () => void;
|
|
14
|
+
}
|
|
15
|
+
export declare function VideoItemComponent(props: VideoItemComponentProps): React.ReactElement;
|
package/dist/clients/online/components/apps/playlists/video-list/VideoItemPreviewComponent.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Video } from '@clickview/shared';
|
|
3
|
+
interface VideoItemPreviewComponentProps {
|
|
4
|
+
video: Video;
|
|
5
|
+
previewOpen: boolean;
|
|
6
|
+
setPreviewOpen: (open: boolean) => void;
|
|
7
|
+
}
|
|
8
|
+
export declare function VideoItemPreviewComponent(props: VideoItemPreviewComponentProps): React.ReactElement;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './SortableVideoListContainer';
|