@clickview/library-editor 0.0.0-rc.0 → 0.0.1-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle.js +4 -676
- package/dist/en.json +1 -1
- package/dist/src/apps/content-updates/ContentUpdatesApplication.d.ts +18 -0
- package/dist/src/apps/content-updates/collections/SubjectCollection.d.ts +5 -0
- package/dist/src/apps/content-updates/collections/VideoGroupCollection.d.ts +5 -0
- package/dist/src/apps/content-updates/collections/index.d.ts +2 -0
- package/dist/src/apps/content-updates/components/awaiting-review-header/AwaitingReviewHeaderComponent.d.ts +14 -0
- package/dist/src/apps/content-updates/components/content-updates-header/ContentUpdatesHeaderComponent.d.ts +19 -0
- package/dist/src/apps/content-updates/components/content-updates-left-nav/ContentUpdatesLeftNavComponent.d.ts +18 -0
- package/dist/src/apps/content-updates/components/index.d.ts +6 -0
- package/dist/src/apps/content-updates/components/past-releases-filters/PastReleasesFiltersComponent.d.ts +20 -0
- package/dist/src/apps/content-updates/components/past-releases-header/PastReleasesHeaderComponent.d.ts +24 -0
- package/dist/src/apps/content-updates/components/video-group-list/VideoGroupListComponent.d.ts +35 -0
- package/dist/src/apps/content-updates/enums/PastReleaseFilterType.d.ts +5 -0
- package/dist/src/apps/content-updates/enums/ReleaseDateType.d.ts +6 -0
- package/dist/src/apps/content-updates/enums/index.d.ts +2 -0
- package/dist/src/apps/content-updates/models/Subject.d.ts +3 -0
- package/dist/src/apps/content-updates/models/VideoGroup.d.ts +7 -0
- package/dist/src/apps/content-updates/models/index.d.ts +2 -0
- package/dist/src/apps/content-updates/services/ContentUpdatesDataService.d.ts +17 -0
- package/dist/src/apps/content-updates/services/index.d.ts +1 -0
- package/dist/src/apps/content-updates/utils/Constants.d.ts +33 -0
- package/dist/src/apps/content-updates/utils/ContentUpdatesHelper.d.ts +7 -0
- package/dist/src/apps/content-updates/utils/PastReleasesHelper.d.ts +3 -0
- package/dist/src/apps/content-updates/utils/index.d.ts +3 -0
- package/dist/src/apps/content-updates/views/add-to-library/AddToLibraryView.d.ts +47 -0
- package/dist/src/apps/content-updates/views/awaiting-review/AwaitingReviewView.d.ts +36 -0
- package/dist/src/apps/content-updates/views/disable-review/DisableReviewView.d.ts +26 -0
- package/dist/src/apps/content-updates/views/generate-past-releases-pdf/GeneratePastReleasesPdfView.d.ts +41 -0
- package/dist/src/apps/content-updates/views/index.d.ts +5 -0
- package/dist/src/apps/content-updates/views/past-releases/PastReleasesView.d.ts +54 -0
- package/dist/src/apps/dashboard/DashboardApplication.d.ts +9 -0
- package/dist/src/apps/dashboard/components/dashboard-action-tile/DashboardActionTileComponent.d.ts +20 -0
- package/dist/src/apps/dashboard/components/dashboard-info-tile/DashboardInfoTileComponent.d.ts +7 -0
- package/dist/src/apps/dashboard/components/dashboard-notifications/DashboardNotificationsComponents.d.ts +15 -0
- package/dist/src/apps/dashboard/components/dashboard-tile-container/DashboardTileContainerComponent.d.ts +11 -0
- package/dist/src/apps/dashboard/components/dashboard-tile-list/DashboardTileListComponent.d.ts +14 -0
- package/dist/src/apps/dashboard/components/index.d.ts +9 -0
- package/dist/src/apps/dashboard/views/DashboardView.d.ts +38 -0
- package/dist/src/apps/default/DefaultApplication.d.ts +21 -0
- package/dist/src/apps/default/views/dev-error/DevErrorView.d.ts +11 -0
- package/dist/src/apps/default/views/error-view/ErrorView.d.ts +12 -0
- package/dist/src/apps/default/views/not-found/NotFoundView.d.ts +11 -0
- package/dist/src/apps/index.d.ts +17 -0
- package/dist/src/apps/library-editor/LibraryEditorApplication.d.ts +46 -0
- package/dist/src/apps/library-editor/behaviors/draggable-folder/DraggableFolderBehavior.d.ts +9 -0
- package/dist/src/apps/library-editor/behaviors/draggable-video/DraggableVideoBehavior.d.ts +24 -0
- package/dist/src/apps/library-editor/behaviors/droppable/DroppableBehavior.d.ts +19 -0
- package/dist/src/apps/library-editor/behaviors/index.d.ts +3 -0
- package/dist/src/apps/library-editor/behaviors/shared/DragOptions.d.ts +3 -0
- package/dist/src/apps/library-editor/behaviors/shared/DraggableItemComponent.d.ts +15 -0
- package/dist/src/apps/library-editor/behaviors/shared/index.d.ts +5 -0
- package/dist/src/apps/library-editor/components/add-links/AddLinksComponent.d.ts +31 -0
- package/dist/src/apps/library-editor/components/banner/BannerComponent.d.ts +19 -0
- package/dist/src/apps/library-editor/components/chapter-form/ChapterFormComponent.d.ts +66 -0
- package/dist/src/apps/library-editor/components/chapter-list/ChapterComponentCollection.d.ts +25 -0
- package/dist/src/apps/library-editor/components/chapter-list/ChapterItemComponent.d.ts +37 -0
- package/dist/src/apps/library-editor/components/chapters/ChaptersComponent.d.ts +21 -0
- package/dist/src/apps/library-editor/components/concatenate-request/ConcatenateRequestComponent.d.ts +24 -0
- package/dist/src/apps/library-editor/components/customer-logo/CustomerLogoComponent.d.ts +19 -0
- package/dist/src/apps/library-editor/components/edit-image/EditImageComponent.d.ts +27 -0
- package/dist/src/apps/library-editor/components/edit-images-wrapper/EditImagesWrapperComponent.d.ts +23 -0
- package/dist/src/apps/library-editor/components/edit-links/LinkItemComponent.d.ts +16 -0
- package/dist/src/apps/library-editor/components/edit-links/VideoLinksComponent.d.ts +23 -0
- package/dist/src/apps/library-editor/components/edit-thumbnail/EditThumbnailComponent.d.ts +22 -0
- package/dist/src/apps/library-editor/components/edit-video/EditVideoDetailsComponent.d.ts +45 -0
- package/dist/src/apps/library-editor/components/edit-video-tabs/EditVideoTabsComponent.d.ts +24 -0
- package/dist/src/apps/library-editor/components/expandable-tag-list/ExpandableTagListComponent.d.ts +26 -0
- package/dist/src/apps/library-editor/components/file-select/FileSelectComponent.d.ts +30 -0
- package/dist/src/apps/library-editor/components/file-uploads/FileUploadComponent.d.ts +15 -0
- package/dist/src/apps/library-editor/components/file-uploads/FileUploadsComponentCollection.d.ts +13 -0
- package/dist/src/apps/library-editor/components/folder-actions/FolderActionsDropdownComponent.d.ts +18 -0
- package/dist/src/apps/library-editor/components/folder-details/FolderDetailsComponent.d.ts +32 -0
- package/dist/src/apps/library-editor/components/folder-link-list/FolderLinkComponent.d.ts +14 -0
- package/dist/src/apps/library-editor/components/folder-link-list/FolderLinkComponentCollection.d.ts +13 -0
- package/dist/src/apps/library-editor/components/folder-select/FolderSelectComponent.d.ts +41 -0
- package/dist/src/apps/library-editor/components/index.d.ts +39 -0
- package/dist/src/apps/library-editor/components/language-select/LanguageSelectComponent.d.ts +28 -0
- package/dist/src/apps/library-editor/components/language-select/LanguageSelectTypeaheadHelper.d.ts +7 -0
- package/dist/src/apps/library-editor/components/left-nav-libraries/LeftNavLibrariesComponent.d.ts +42 -0
- package/dist/src/apps/library-editor/components/library-actions/LibraryActionsComponent.d.ts +26 -0
- package/dist/src/apps/library-editor/components/library-folders/LibraryFolderListComponent.d.ts +31 -0
- package/dist/src/apps/library-editor/components/library-select/LibrarySelectComponent.d.ts +27 -0
- package/dist/src/apps/library-editor/components/save/SaveComponent.d.ts +32 -0
- package/dist/src/apps/library-editor/components/sort-select/SortSelectComponent.d.ts +29 -0
- package/dist/src/apps/library-editor/components/sub-folders/SubFolderComponent.d.ts +15 -0
- package/dist/src/apps/library-editor/components/sub-folders/SubFoldersComponent.d.ts +9 -0
- package/dist/src/apps/library-editor/components/suggest-edit/SuggestEditComponent.d.ts +31 -0
- package/dist/src/apps/library-editor/components/tag-list/TagComponentCollection.d.ts +21 -0
- package/dist/src/apps/library-editor/components/tag-list/TagItemComponent.d.ts +28 -0
- package/dist/src/apps/library-editor/components/tags/TagsComponent.d.ts +30 -0
- package/dist/src/apps/library-editor/components/video-collection-actions/VideoCollectionActionsComponent.d.ts +24 -0
- package/dist/src/apps/library-editor/components/video-header/VideoHeaderComponent.d.ts +22 -0
- package/dist/src/apps/library-editor/components/video-list-header/VideoListHeaderComponent.d.ts +34 -0
- package/dist/src/apps/library-editor/components/video-resources/ResourceItemComponent.d.ts +22 -0
- package/dist/src/apps/library-editor/components/video-resources/VideoResourcesComponent.d.ts +44 -0
- package/dist/src/apps/library-editor/components/video-sidebar-info/VideoSidebarInfoComponent.d.ts +25 -0
- package/dist/src/apps/library-editor/components/video-subtitles/SubtitleItemComponent.d.ts +18 -0
- package/dist/src/apps/library-editor/components/video-subtitles/VideoSubtitlesComponent.d.ts +26 -0
- package/dist/src/apps/library-editor/constants/CheckboxTypes.d.ts +5 -0
- package/dist/src/apps/library-editor/constants/EditVideoBackButtonBlacklist.d.ts +1 -0
- package/dist/src/apps/library-editor/constants/EditVideoBackButtonKey.d.ts +1 -0
- package/dist/src/apps/library-editor/constants/LibraryEditorActions.d.ts +18 -0
- package/dist/src/apps/library-editor/constants/LibraryEditorRadioChannels.d.ts +3 -0
- package/dist/src/apps/library-editor/constants/MetadataTypes.d.ts +32 -0
- package/dist/src/apps/library-editor/constants/VideoCollectionTypes.d.ts +2 -0
- package/dist/src/apps/library-editor/constants/index.d.ts +7 -0
- package/dist/src/apps/library-editor/enums/MediaConcatenateStatus.d.ts +8 -0
- package/dist/src/apps/library-editor/enums/ObjectOwnerType.d.ts +4 -0
- package/dist/src/apps/library-editor/enums/TagBehavior.d.ts +6 -0
- package/dist/src/apps/library-editor/enums/TagOrientation.d.ts +4 -0
- package/dist/src/apps/library-editor/enums/index.d.ts +4 -0
- package/dist/src/apps/library-editor/errors/folder-empty/FolderEmptyError.d.ts +8 -0
- package/dist/src/apps/library-editor/errors/folder-max-depth/FolderMaxDepthError.d.ts +7 -0
- package/dist/src/apps/library-editor/errors/folder-not-empty/FolderNotEmptyError.d.ts +7 -0
- package/dist/src/apps/library-editor/errors/folder-not-found/FolderNotFound.d.ts +6 -0
- package/dist/src/apps/library-editor/errors/forbidden-folder/ForbiddenFolderError.d.ts +6 -0
- package/dist/src/apps/library-editor/errors/forbidden-video/ForbiddenVideoError.d.ts +6 -0
- package/dist/src/apps/library-editor/errors/image-dimensions-too-small/ImageDimensionsTooSmallError.d.ts +9 -0
- package/dist/src/apps/library-editor/errors/index.d.ts +15 -0
- package/dist/src/apps/library-editor/errors/library-has-subscribers/LibraryHasSubscribersError.d.ts +7 -0
- package/dist/src/apps/library-editor/errors/library-not-empty/LibraryNotEmptyError.d.ts +7 -0
- package/dist/src/apps/library-editor/errors/max-custom-libraries/MaxCustomLibrariesError.d.ts +9 -0
- package/dist/src/apps/library-editor/errors/series-not-found/SeriesNotFoundError.d.ts +6 -0
- package/dist/src/apps/library-editor/errors/too-many-resources/TooManyResourcesError.d.ts +8 -0
- package/dist/src/apps/library-editor/errors/too-many-subtitles/TooManySubtitlesError.d.ts +8 -0
- package/dist/src/apps/library-editor/errors/video-not-found/VideoNotFoundError.d.ts +6 -0
- package/dist/src/apps/library-editor/errors/video-write-permission/VideoWritePermissionError.d.ts +6 -0
- package/dist/src/apps/library-editor/models/ChapterConcatenateRequest.d.ts +3 -0
- package/dist/src/apps/library-editor/models/index.d.ts +1 -0
- package/dist/src/apps/library-editor/services/ChapterDataService.d.ts +15 -0
- package/dist/src/apps/library-editor/services/CompanyDataService.d.ts +7 -0
- package/dist/src/apps/library-editor/services/ExportDataService.d.ts +11 -0
- package/dist/src/apps/library-editor/services/FieldsDataService.d.ts +11 -0
- package/dist/src/apps/library-editor/services/FolderDragDropService.d.ts +27 -0
- package/dist/src/apps/library-editor/services/LibraryDataService.d.ts +62 -0
- package/dist/src/apps/library-editor/services/LinkDataService.d.ts +14 -0
- package/dist/src/apps/library-editor/services/PersonDataService.d.ts +7 -0
- package/dist/src/apps/library-editor/services/RatingsDataService.d.ts +7 -0
- package/dist/src/apps/library-editor/services/ResourceDataService.d.ts +13 -0
- package/dist/src/apps/library-editor/services/SeriesDataService.d.ts +14 -0
- package/dist/src/apps/library-editor/services/SubtitleDataService.d.ts +11 -0
- package/dist/src/apps/library-editor/services/TagDataService.d.ts +9 -0
- package/dist/src/apps/library-editor/services/VideoDataService.d.ts +39 -0
- package/dist/src/apps/library-editor/services/VideoDragDropService.d.ts +21 -0
- package/dist/src/apps/library-editor/services/index.d.ts +15 -0
- package/dist/src/apps/library-editor/utils/AddToLibraryCacheHelper.d.ts +4 -0
- package/dist/src/apps/library-editor/utils/ChapterHelper.d.ts +18 -0
- package/dist/src/apps/library-editor/utils/DownloadHelper.d.ts +3 -0
- package/dist/src/apps/library-editor/utils/EditVideoHelpers.d.ts +93 -0
- package/dist/src/apps/library-editor/utils/FolderValidation.d.ts +2 -0
- package/dist/src/apps/library-editor/utils/LanguageValidation.d.ts +2 -0
- package/dist/src/apps/library-editor/utils/LibraryValidation.d.ts +2 -0
- package/dist/src/apps/library-editor/utils/UploadVideoValidation.d.ts +2 -0
- package/dist/src/apps/library-editor/utils/VideoDetailsHelper.d.ts +16 -0
- package/dist/src/apps/library-editor/utils/index.d.ts +8 -0
- package/dist/src/apps/library-editor/views/add-to-exchange/AddToExchangeView.d.ts +33 -0
- package/dist/src/apps/library-editor/views/banner-upload/BannerUploadView.d.ts +32 -0
- package/dist/src/apps/library-editor/views/delete-folder/DeleteFolderView.d.ts +28 -0
- package/dist/src/apps/library-editor/views/delete-library/DeleteLibraryView.d.ts +23 -0
- package/dist/src/apps/library-editor/views/delete-videos/DeleteVideosView.d.ts +29 -0
- package/dist/src/apps/library-editor/views/edit-chapters/EditChaptersView.d.ts +71 -0
- package/dist/src/apps/library-editor/views/edit-folder-images/EditFolderImagesView.d.ts +50 -0
- package/dist/src/apps/library-editor/views/edit-library/RenameLibraryView.d.ts +29 -0
- package/dist/src/apps/library-editor/views/edit-link/EditLinkView.d.ts +30 -0
- package/dist/src/apps/library-editor/views/edit-resource/EditResourceView.d.ts +34 -0
- package/dist/src/apps/library-editor/views/edit-resources/EditResourcesView.d.ts +92 -0
- package/dist/src/apps/library-editor/views/edit-video/EditVideoView.d.ts +125 -0
- package/dist/src/apps/library-editor/views/generate-pdf/GeneratePdfView.d.ts +35 -0
- package/dist/src/apps/library-editor/views/left-navigation/LeftNavigationView.d.ts +33 -0
- package/dist/src/apps/library-editor/views/library/LibraryView.d.ts +31 -0
- package/dist/src/apps/library-editor/views/move-folder/MoveFolderView.d.ts +44 -0
- package/dist/src/apps/library-editor/views/move-video/MoveVideoView.d.ts +38 -0
- package/dist/src/apps/library-editor/views/new-folder/NewFolderView.d.ts +43 -0
- package/dist/src/apps/library-editor/views/new-library/NewLibraryView.d.ts +26 -0
- package/dist/src/apps/library-editor/views/no-library/NoLibraryView.d.ts +10 -0
- package/dist/src/apps/library-editor/views/publish-library/PublishLibraryView.d.ts +19 -0
- package/dist/src/apps/library-editor/views/rename-folder/RenameFolderView.d.ts +39 -0
- package/dist/src/apps/library-editor/views/suggest-an-edit/SuggestAnEditView.d.ts +58 -0
- package/dist/src/apps/library-editor/views/thumbnail-upload/ThumbnailUploadView.d.ts +33 -0
- package/dist/src/apps/library-editor/views/video-collection/VideoCollectionView.d.ts +93 -0
- package/dist/src/apps/library-editor/views/video-details/VideoDetailsView.d.ts +44 -0
- package/dist/src/apps/migration-wizard/MigrationWizardApplication.d.ts +45 -0
- package/dist/src/apps/migration-wizard/collections/HomeFolderCollection.d.ts +6 -0
- package/dist/src/apps/migration-wizard/collections/SmartSelectVideoCollection.d.ts +5 -0
- package/dist/src/apps/migration-wizard/collections/index.d.ts +1 -0
- package/dist/src/apps/migration-wizard/components/banner/BannerComponent.d.ts +18 -0
- package/dist/src/apps/migration-wizard/components/empty-video-list/EmptyVideoListComponent.d.ts +14 -0
- package/dist/src/apps/migration-wizard/components/errored-video-actions/ErroredVideoActionsComponent.d.ts +22 -0
- package/dist/src/apps/migration-wizard/components/errored-video-footer/ErroredVideoFooterComponent.d.ts +21 -0
- package/dist/src/apps/migration-wizard/components/errored-video-item/ErroredVideoItemComponent.d.ts +30 -0
- package/dist/src/apps/migration-wizard/components/errored-video-list/ErroredVideoListComponent.d.ts +12 -0
- package/dist/src/apps/migration-wizard/components/errored-video-metadata/ErroredVideoMetadataComponent.d.ts +8 -0
- package/dist/src/apps/migration-wizard/components/errored-video-preview/ErroredVideoPreviewComponent.d.ts +17 -0
- package/dist/src/apps/migration-wizard/components/generate-report/GenerateReportComponent.d.ts +25 -0
- package/dist/src/apps/migration-wizard/components/generate-report-button/GenerateReportButtonComponent.d.ts +10 -0
- package/dist/src/apps/migration-wizard/components/index.d.ts +13 -0
- package/dist/src/apps/migration-wizard/components/migration-video-item/MigrationVideoItemComponent.d.ts +30 -0
- package/dist/src/apps/migration-wizard/components/progress-bar/ProgressBarComponent.d.ts +19 -0
- package/dist/src/apps/migration-wizard/components/progress-circle/ProgressCircleComponent.d.ts +20 -0
- package/dist/src/apps/migration-wizard/components/search-bar/SearchBarComponent.d.ts +19 -0
- package/dist/src/apps/migration-wizard/components/selected-video-item/SelectedVideoItemComponent.d.ts +9 -0
- package/dist/src/apps/migration-wizard/components/sorting-row/SortingRowComponent.d.ts +35 -0
- package/dist/src/apps/migration-wizard/components/status-bar/StatusBarComponent.d.ts +28 -0
- package/dist/src/apps/migration-wizard/components/video-list/VideoListCollection.d.ts +36 -0
- package/dist/src/apps/migration-wizard/components/video-list-collection/VideoListCollectionComponent.d.ts +16 -0
- package/dist/src/apps/migration-wizard/contants/MigrationErrorActions.d.ts +4 -0
- package/dist/src/apps/migration-wizard/contants/MigrationViewModels.d.ts +4 -0
- package/dist/src/apps/migration-wizard/enums/CloudSyncStatus.d.ts +12 -0
- package/dist/src/apps/migration-wizard/enums/FinalisationTaskStatus.d.ts +5 -0
- package/dist/src/apps/migration-wizard/enums/FinalisationType.d.ts +6 -0
- package/dist/src/apps/migration-wizard/enums/LocalOption.d.ts +4 -0
- package/dist/src/apps/migration-wizard/enums/MigrationOption.d.ts +7 -0
- package/dist/src/apps/migration-wizard/enums/MigrationReportType.d.ts +6 -0
- package/dist/src/apps/migration-wizard/enums/SortField.d.ts +5 -0
- package/dist/src/apps/migration-wizard/enums/ValidationResult.d.ts +32 -0
- package/dist/src/apps/migration-wizard/enums/ValidationResultErrorType.d.ts +5 -0
- package/dist/src/apps/migration-wizard/enums/VideoMigrationStatus.d.ts +5 -0
- package/dist/src/apps/migration-wizard/enums/index.d.ts +7 -0
- package/dist/src/apps/migration-wizard/errors/already-migrated/AlreadyMigratedError.d.ts +6 -0
- package/dist/src/apps/migration-wizard/errors/backup-progress/BackupProgressError.d.ts +8 -0
- package/dist/src/apps/migration-wizard/errors/index.d.ts +6 -0
- package/dist/src/apps/migration-wizard/errors/migration-finalisation/MigrationFinalisationError.d.ts +8 -0
- package/dist/src/apps/migration-wizard/errors/migration-progress/MigrationProgressError.d.ts +8 -0
- package/dist/src/apps/migration-wizard/errors/smart-migration-api-call/SmartMigrationApiCallError.d.ts +9 -0
- package/dist/src/apps/migration-wizard/filters/MigrationFilters.d.ts +8 -0
- package/dist/src/apps/migration-wizard/filters/index.d.ts +1 -0
- package/dist/src/apps/migration-wizard/interfaces/SelectedVideos.d.ts +7 -0
- package/dist/src/apps/migration-wizard/models/BackupToolBuild.d.ts +3 -0
- package/dist/src/apps/migration-wizard/models/CustomerMetadata.d.ts +9 -0
- package/dist/src/apps/migration-wizard/models/FinalisationTask.d.ts +3 -0
- package/dist/src/apps/migration-wizard/models/HomeFolder.d.ts +8 -0
- package/dist/src/apps/migration-wizard/models/MigrationOptions.d.ts +3 -0
- package/dist/src/apps/migration-wizard/models/SelectedVideo.d.ts +3 -0
- package/dist/src/apps/migration-wizard/models/SmartSelectVideo.d.ts +4 -0
- package/dist/src/apps/migration-wizard/models/VideoCount.d.ts +3 -0
- package/dist/src/apps/migration-wizard/models/index.d.ts +8 -0
- package/dist/src/apps/migration-wizard/services/FolderCacheService.d.ts +22 -0
- package/dist/src/apps/migration-wizard/services/LocalOptionsService.d.ts +10 -0
- package/dist/src/apps/migration-wizard/services/MigrationVideoDataService.d.ts +56 -0
- package/dist/src/apps/migration-wizard/services/SelectedVideoService.d.ts +19 -0
- package/dist/src/apps/migration-wizard/services/index.d.ts +4 -0
- package/dist/src/apps/migration-wizard/utils/FolderHelper.d.ts +8 -0
- package/dist/src/apps/migration-wizard/utils/KeyContactHelper.d.ts +6 -0
- package/dist/src/apps/migration-wizard/utils/MigrationErrorHelper.d.ts +3 -0
- package/dist/src/apps/migration-wizard/utils/MigrationHelper.d.ts +41 -0
- package/dist/src/apps/migration-wizard/utils/MigrationRadioChannels.d.ts +4 -0
- package/dist/src/apps/migration-wizard/utils/MigrationWarningsSvgs.d.ts +3 -0
- package/dist/src/apps/migration-wizard/utils/ReportHelper.d.ts +9 -0
- package/dist/src/apps/migration-wizard/utils/VideoHelper.d.ts +29 -0
- package/dist/src/apps/migration-wizard/views/current-section-header/CurrentSectionHeaderView.d.ts +28 -0
- package/dist/src/apps/migration-wizard/views/generate-csv-report/GenerateCsvReportView.d.ts +27 -0
- package/dist/src/apps/migration-wizard/views/index.d.ts +13 -0
- package/dist/src/apps/migration-wizard/views/migration-error/MigrationErrorView.d.ts +39 -0
- package/dist/src/apps/migration-wizard/views/migration-progress/MigrationProgressView.d.ts +32 -0
- package/dist/src/apps/migration-wizard/views/publish-library-banner/PublishLibraryBannerView.d.ts +30 -0
- package/dist/src/apps/migration-wizard/views/publish-library-complete/PublishLibraryCompleteView.d.ts +15 -0
- package/dist/src/apps/migration-wizard/views/publish-library-progress/PublishLibraryProgressView.d.ts +18 -0
- package/dist/src/apps/migration-wizard/views/publisher-backup/PublisherBackupView.d.ts +19 -0
- package/dist/src/apps/migration-wizard/views/publisher-backup-complete/PublisherBackupCompleteView.d.ts +23 -0
- package/dist/src/apps/migration-wizard/views/publisher-backup-progress/PublisherBackupProgressView.d.ts +23 -0
- package/dist/src/apps/migration-wizard/views/publisher-backup-welcome/PublisherBackupWelcomeView.d.ts +19 -0
- package/dist/src/apps/migration-wizard/views/remigrate-video/RemigrateVideoView.d.ts +32 -0
- package/dist/src/apps/migration-wizard/views/selected-videos/SelectedVideosView.d.ts +32 -0
- package/dist/src/apps/migration-wizard/views/show-video-popup/ShowPublisherVideoPopupView.d.ts +26 -0
- package/dist/src/apps/migration-wizard/views/smart-migration/SmartMigrationView.d.ts +58 -0
- package/dist/src/apps/migration-wizard/views/start/StartView.d.ts +40 -0
- package/dist/src/apps/migration-wizard/views/videos-added/VideosAddedView.d.ts +24 -0
- package/dist/src/apps/notifications/NotificationsApplication.d.ts +11 -0
- package/dist/src/apps/notifications/collections/NotificationCollection.d.ts +6 -0
- package/dist/src/apps/notifications/components/index.d.ts +3 -0
- package/dist/src/apps/notifications/components/notification-items/notification-item/NotificationItemComponent.d.ts +23 -0
- package/dist/src/apps/notifications/components/notification-list/NotificationListComponent.d.ts +26 -0
- package/dist/src/apps/notifications/components/notification-status/NotificationStatusComponent.d.ts +9 -0
- package/dist/src/apps/notifications/models/Notification.d.ts +3 -0
- package/dist/src/apps/notifications/models/index.d.ts +1 -0
- package/dist/src/apps/notifications/services/NotificationDataService.d.ts +14 -0
- package/dist/src/apps/notifications/services/NotificationService.d.ts +33 -0
- package/dist/src/apps/notifications/services/NotificationSocketService.d.ts +8 -0
- package/dist/src/apps/notifications/services/data-providers/NotificationsSocketDataProvider.d.ts +4 -0
- package/dist/src/apps/notifications/services/index.d.ts +4 -0
- package/dist/src/apps/notifications/utils/Constants.d.ts +55 -0
- package/dist/src/apps/notifications/utils/NotificationAppLinkHelper.d.ts +10 -0
- package/dist/src/apps/notifications/utils/NotificationsHelper.d.ts +19 -0
- package/dist/src/apps/notifications/utils/index.d.ts +3 -0
- package/dist/src/apps/notifications/views/header/NotificationHeaderView.d.ts +14 -0
- package/dist/src/apps/notifications/views/index.d.ts +3 -0
- package/dist/src/apps/notifications/views/notifications/NotificationsView.d.ts +26 -0
- package/dist/src/apps/notifications/views/popover/NotificationsPopoverView.d.ts +33 -0
- package/dist/src/apps/search/SearchApplication.d.ts +16 -0
- package/dist/src/apps/search/collections/FilterCollection.d.ts +9 -0
- package/dist/src/apps/search/collections/OptionCollection.d.ts +5 -0
- package/dist/src/apps/search/collections/index.d.ts +2 -0
- package/dist/src/apps/search/components/filters/FiltersComponent.d.ts +27 -0
- package/dist/src/apps/search/components/filters/filter-button-list/FilterButtonItemComponent.d.ts +37 -0
- package/dist/src/apps/search/components/filters/filter-button-list/FilterButtonListComponent.d.ts +19 -0
- package/dist/src/apps/search/components/filters/filter-button-list/index.d.ts +2 -0
- package/dist/src/apps/search/components/filters/filter-list/FilterItemComponent.d.ts +17 -0
- package/dist/src/apps/search/components/filters/filter-list/FilterListComponent.d.ts +24 -0
- package/dist/src/apps/search/components/filters/filter-options/FilterOptionsComponent.d.ts +34 -0
- package/dist/src/apps/search/components/filters/filter-options/bool-filter-options/BoolFilterOptionsComponent.d.ts +15 -0
- package/dist/src/apps/search/components/filters/filter-options/duration-filter-options/DurationFilterOptionListComponent.d.ts +27 -0
- package/dist/src/apps/search/components/filters/filter-options/filter-option-list/FilterOptionItemComponent.d.ts +19 -0
- package/dist/src/apps/search/components/filters/filter-options/filter-option-list/FilterOptionsListComponent.d.ts +21 -0
- package/dist/src/apps/search/components/filters/filter-options/index.d.ts +7 -0
- package/dist/src/apps/search/components/filters/filter-options/range-filter-options/RangeFilterOptionListComponent.d.ts +23 -0
- package/dist/src/apps/search/components/filters/filter-options/tag-filter-options/TagFilterOptionsComponent.d.ts +27 -0
- package/dist/src/apps/search/components/filters/filter-options/tag-filter-options/TagFilterOptionsListComponent.d.ts +19 -0
- package/dist/src/apps/search/components/filters/index.d.ts +3 -0
- package/dist/src/apps/search/components/filters/more-filters-button/MoreFiltersButtonComponent.d.ts +42 -0
- package/dist/src/apps/search/components/index.d.ts +2 -0
- package/dist/src/apps/search/components/instant-search/index.d.ts +4 -0
- package/dist/src/apps/search/components/instant-search/recent-search/RecentSearchResultComponent.d.ts +15 -0
- package/dist/src/apps/search/components/instant-search/series/SeriesSearchResultComponent.d.ts +9 -0
- package/dist/src/apps/search/components/instant-search/tag/TagSearchResultComponent.d.ts +9 -0
- package/dist/src/apps/search/components/instant-search/video-result/VideoSearchResultComponent.d.ts +15 -0
- package/dist/src/apps/search/components/results/SearchResultsComponent.d.ts +22 -0
- package/dist/src/apps/search/components/search-context/SearchContextComponent.d.ts +18 -0
- package/dist/src/apps/search/components/search-header/SearchHeaderComponent.d.ts +11 -0
- package/dist/src/apps/search/components/search-tips/SearchTipsComponent.d.ts +11 -0
- package/dist/src/apps/search/constants/SearchRadioChannels.d.ts +3 -0
- package/dist/src/apps/search/constants/index.d.ts +1 -0
- package/dist/src/apps/search/models/Filter.d.ts +8 -0
- package/dist/src/apps/search/models/Option.d.ts +4 -0
- package/dist/src/apps/search/models/Query.d.ts +3 -0
- package/dist/src/apps/search/models/index.d.ts +3 -0
- package/dist/src/apps/search/services/ContextualSearchService.d.ts +37 -0
- package/dist/src/apps/search/services/SearchDataService.d.ts +12 -0
- package/dist/src/apps/search/services/index.d.ts +2 -0
- package/dist/src/apps/search/utils/Constants.d.ts +28 -0
- package/dist/src/apps/search/utils/Enums.d.ts +41 -0
- package/dist/src/apps/search/utils/FilterHelper.d.ts +2 -0
- package/dist/src/apps/search/utils/FilterLabelGenerators.d.ts +2 -0
- package/dist/src/apps/search/utils/FilterQueryGenerators.d.ts +2 -0
- package/dist/src/apps/search/utils/FilterRouteQueryParamGenerators.d.ts +2 -0
- package/dist/src/apps/search/utils/SearchHelper.d.ts +13 -0
- package/dist/src/apps/search/utils/index.d.ts +4 -0
- package/dist/src/apps/search/views/search/SearchView.d.ts +56 -0
- package/dist/src/apps/search/views/search-bar/SearchBarView.d.ts +102 -0
- package/dist/src/apps/search/views/search-bar/templates/index.d.ts +9 -0
- package/dist/src/apps/staff-requests/StaffRequestsApplication.d.ts +15 -0
- package/dist/src/apps/staff-requests/collections/StaffRequestCollection.d.ts +5 -0
- package/dist/src/apps/staff-requests/collections/StaffRequestMessageCollection.d.ts +5 -0
- package/dist/src/apps/staff-requests/collections/index.d.ts +2 -0
- package/dist/src/apps/staff-requests/components/staff-request-actions/StaffRequestActionsComponent.d.ts +40 -0
- package/dist/src/apps/staff-requests/components/staff-request-details/StaffRequestDetailsComponent.d.ts +29 -0
- package/dist/src/apps/staff-requests/components/staff-request-list/StaffRequestListComponent.d.ts +29 -0
- package/dist/src/apps/staff-requests/enums/StaffRequestStatus.d.ts +5 -0
- package/dist/src/apps/staff-requests/enums/index.d.ts +1 -0
- package/dist/src/apps/staff-requests/models/StaffRequest.d.ts +14 -0
- package/dist/src/apps/staff-requests/models/StaffRequestMessage.d.ts +7 -0
- package/dist/src/apps/staff-requests/models/index.d.ts +2 -0
- package/dist/src/apps/staff-requests/services/StaffRequestDataService.d.ts +14 -0
- package/dist/src/apps/staff-requests/services/index.d.ts +1 -0
- package/dist/src/apps/staff-requests/utils/StaffRequestApprovalValidation.d.ts +2 -0
- package/dist/src/apps/staff-requests/utils/StaffRequestRejectionValidation.d.ts +2 -0
- package/dist/src/apps/staff-requests/utils/index.d.ts +2 -0
- package/dist/src/apps/staff-requests/views/approve-staff-request/ApproveStaffRequestView.d.ts +34 -0
- package/dist/src/apps/staff-requests/views/reject-staff-request/RejectStaffRequestView.d.ts +34 -0
- package/dist/src/apps/staff-requests/views/staff-requests/StaffRequestsView.d.ts +41 -0
- package/dist/src/apps/upload/UploadApplication.d.ts +23 -0
- package/dist/src/apps/upload/components/index.d.ts +7 -0
- package/dist/src/apps/upload/components/processing-progress/ProcessProgressComponentCollection.d.ts +38 -0
- package/dist/src/apps/upload/components/progress-info/ProgressInfoComponent.d.ts +10 -0
- package/dist/src/apps/upload/components/upload-actions/UploadActionsComponent.d.ts +21 -0
- package/dist/src/apps/upload/components/upload-folder-select/UploadFolderSelectComponent.d.ts +33 -0
- package/dist/src/apps/upload/components/upload-progress/UploadProgressComponent.d.ts +10 -0
- package/dist/src/apps/upload/components/upload-video/UploadVideoComponent.d.ts +46 -0
- package/dist/src/apps/upload/components/upload-video/UploadVideoComponentCollection.d.ts +18 -0
- package/dist/src/apps/upload/enums/FileLifestyle.d.ts +4 -0
- package/dist/src/apps/upload/enums/PendingItemStatus.d.ts +5 -0
- package/dist/src/apps/upload/errors/index.d.ts +2 -0
- package/dist/src/apps/upload/errors/internet-connectivity/InternetConnectivityError.d.ts +7 -0
- package/dist/src/apps/upload/errors/no-libraries-upload/NoLibrariesUploadError.d.ts +7 -0
- package/dist/src/apps/upload/services/DropzoneWrapper.d.ts +30 -0
- package/dist/src/apps/upload/services/ImageUploadDataService.d.ts +8 -0
- package/dist/src/apps/upload/services/PendingItemsService.d.ts +23 -0
- package/dist/src/apps/upload/services/UploadService.d.ts +64 -0
- package/dist/src/apps/upload/services/VideoUploadDataService.d.ts +16 -0
- package/dist/src/apps/upload/services/index.d.ts +5 -0
- package/dist/src/apps/upload/utils/PendingItemsHelper.d.ts +9 -0
- package/dist/src/apps/upload/utils/index.d.ts +1 -0
- package/dist/src/apps/upload/views/file-select/FileSelectView.d.ts +25 -0
- package/dist/src/apps/upload/views/progress-summary/ProgressSummaryView.d.ts +18 -0
- package/dist/src/apps/upload/views/upload-button/UploadButtonView.d.ts +26 -0
- package/dist/src/apps/upload/views/upload-complete/UploadCompleteView.d.ts +14 -0
- package/dist/src/apps/upload/views/upload-videos/UploadVideosView.d.ts +61 -0
- package/dist/src/apps/video-access/VideoAccessApplication.d.ts +12 -0
- package/dist/src/apps/video-access/views/restricted-video-list/RestrictedVideoListView.d.ts +34 -0
- package/dist/src/index.d.ts +205 -0
- package/dist/src/shared/alerts/VideoAlerts.d.ts +8 -0
- package/dist/src/shared/alerts/index.d.ts +1 -0
- package/dist/src/shared/behaviors/backbone-validation/BackboneValidationBehavior.d.ts +14 -0
- package/dist/src/shared/behaviors/empty-state/EmptyStateBehavior.d.ts +22 -0
- package/dist/src/shared/behaviors/file-drop/FileDropBehavior.d.ts +19 -0
- package/dist/src/shared/behaviors/file-drop/FileDropHelper.d.ts +4 -0
- package/dist/src/shared/behaviors/file-drop/FileDropMaskBehavior.d.ts +19 -0
- package/dist/src/shared/behaviors/file-select/FileSelectBehavior.d.ts +16 -0
- package/dist/src/shared/behaviors/image-select-behavior/ImageSelectBehavior.d.ts +23 -0
- package/dist/src/shared/behaviors/index.d.ts +12 -0
- package/dist/src/shared/behaviors/lazy-load/LazyLoadBehavior.d.ts +31 -0
- package/dist/src/shared/behaviors/lock-layout-file-drop/LockLayoutFileDropBehavior.d.ts +7 -0
- package/dist/src/shared/behaviors/popover/PopoverBehavior.d.ts +40 -0
- package/dist/src/shared/behaviors/popup/PopupBehavior.d.ts +65 -0
- package/dist/src/shared/behaviors/stickit/StickitBehavior.d.ts +6 -0
- package/dist/src/shared/behaviors/tooltip/TooltipBehavior.d.ts +12 -0
- package/dist/src/shared/collections/ChannelCollection.d.ts +6 -0
- package/dist/src/shared/collections/ChapterCollection.d.ts +7 -0
- package/dist/src/shared/collections/DirectorCollection.d.ts +6 -0
- package/dist/src/shared/collections/DistributorCollection.d.ts +6 -0
- package/dist/src/shared/collections/FieldsCollection.d.ts +5 -0
- package/dist/src/shared/collections/FolderCollection.d.ts +7 -0
- package/dist/src/shared/collections/InteractivesCollection.d.ts +6 -0
- package/dist/src/shared/collections/LibraryCollection.d.ts +7 -0
- package/dist/src/shared/collections/LinkCollection.d.ts +6 -0
- package/dist/src/shared/collections/LocalCacheDeviceCollection.d.ts +5 -0
- package/dist/src/shared/collections/LocalCacheDownloadCollection.d.ts +5 -0
- package/dist/src/shared/collections/MetadataCollection.d.ts +4 -0
- package/dist/src/shared/collections/PendingItemsCollection.d.ts +8 -0
- package/dist/src/shared/collections/ProducerCollection.d.ts +6 -0
- package/dist/src/shared/collections/ProductionCompanyCollection.d.ts +6 -0
- package/dist/src/shared/collections/RatingCollection.d.ts +4 -0
- package/dist/src/shared/collections/ResourceCollection.d.ts +6 -0
- package/dist/src/shared/collections/RestrictedObjectCollection.d.ts +5 -0
- package/dist/src/shared/collections/RestrictionCollection.d.ts +5 -0
- package/dist/src/shared/collections/SeasonCollection.d.ts +6 -0
- package/dist/src/shared/collections/SettingsCollection.d.ts +5 -0
- package/dist/src/shared/collections/SubtitleCollection.d.ts +6 -0
- package/dist/src/shared/collections/TagCollection.d.ts +6 -0
- package/dist/src/shared/collections/VideoCollection.d.ts +6 -0
- package/dist/src/shared/collections/index.d.ts +24 -0
- package/dist/src/shared/components/alert/AlertComponentCollection.d.ts +11 -0
- package/dist/src/shared/components/alert/AlertItemComponent.d.ts +44 -0
- package/dist/src/shared/components/breadcrumbs/BreadcrumbComponentCollection.d.ts +18 -0
- package/dist/src/shared/components/breadcrumbs/BreadcrumbsComponent.d.ts +26 -0
- package/dist/src/shared/components/bulk-video-actions/BulkVideoActionsComponent.d.ts +26 -0
- package/dist/src/shared/components/checkbox/BulkCheckboxComponent.d.ts +27 -0
- package/dist/src/shared/components/checkbox/CheckboxComponent.d.ts +25 -0
- package/dist/src/shared/components/clear-button/ClearButtonComponent.d.ts +18 -0
- package/dist/src/shared/components/date-picker/DatePickerComponent.d.ts +47 -0
- package/dist/src/shared/components/dialog/DialogView.d.ts +34 -0
- package/dist/src/shared/components/dropdown/DropdownButtonComponent.d.ts +36 -0
- package/dist/src/shared/components/dropdown/DropdownComponentCollection.d.ts +38 -0
- package/dist/src/shared/components/dropdown/DropdownItemComponent.d.ts +57 -0
- package/dist/src/shared/components/edit-video/edit-additional-info/EditAdditionalInfoComponent.d.ts +37 -0
- package/dist/src/shared/components/edit-video/edit-basic-info/EditBasicInfoComponent.d.ts +32 -0
- package/dist/src/shared/components/edit-video/edit-broadcast/EditBroadcastComponent.d.ts +22 -0
- package/dist/src/shared/components/edit-video/edit-broadcast/ToggleBroadcastComponent.d.ts +24 -0
- package/dist/src/shared/components/edit-video/edit-production-info/EditProductionInfoComponent.d.ts +61 -0
- package/dist/src/shared/components/edit-video/edit-season-info/EditSeasonInfoComponent.d.ts +33 -0
- package/dist/src/shared/components/edit-video/extra-info/ExtraInfoComponent.d.ts +16 -0
- package/dist/src/shared/components/edit-video/extra-info/ExtraInfoItemComponent.d.ts +17 -0
- package/dist/src/shared/components/edit-video/select-rating/SelectRatingCollectionComponent.d.ts +17 -0
- package/dist/src/shared/components/edit-video/select-rating/SelectRatingComponent.d.ts +40 -0
- package/dist/src/shared/components/edit-video/select-rating/SelectRatingItemComponent.d.ts +20 -0
- package/dist/src/shared/components/empty-state/EmptyStateComponent.d.ts +24 -0
- package/dist/src/shared/components/fields/FieldsComponent.d.ts +9 -0
- package/dist/src/shared/components/image-cropper/ImageCropperComponent.d.ts +34 -0
- package/dist/src/shared/components/index.d.ts +46 -0
- package/dist/src/shared/components/left-nav/LeftNavComponent.d.ts +27 -0
- package/dist/src/shared/components/left-nav/LeftNavNodeComponent.d.ts +47 -0
- package/dist/src/shared/components/page-footer/PageFooterComponent.d.ts +15 -0
- package/dist/src/shared/components/page-header/PageHeaderComponent.d.ts +25 -0
- package/dist/src/shared/components/pagination/PaginationComponent.d.ts +28 -0
- package/dist/src/shared/components/partial-loading/PartialLoadingComponent.d.ts +16 -0
- package/dist/src/shared/components/partial-loading/PartialLoadingComponentCollection.d.ts +20 -0
- package/dist/src/shared/components/partial-loading/index.d.ts +2 -0
- package/dist/src/shared/components/resizing-text-area/ResizingTextAreaComponent.d.ts +23 -0
- package/dist/src/shared/components/select/SelectComponent.d.ts +54 -0
- package/dist/src/shared/components/spinner-button/SpinnerButtonComponent.d.ts +73 -0
- package/dist/src/shared/components/tabs/TabsComponent.d.ts +28 -0
- package/dist/src/shared/components/thumbnail/ThumbnailComponent.d.ts +32 -0
- package/dist/src/shared/components/top-navigation/TopNavigationComponentCollection.d.ts +29 -0
- package/dist/src/shared/components/typeahead-input/SearchTypeaheadComponent.d.ts +74 -0
- package/dist/src/shared/components/typeahead-input/templates/index.d.ts +4 -0
- package/dist/src/shared/components/typeahead-list/TypeaheadListComponent.d.ts +33 -0
- package/dist/src/shared/components/user-options-dropdown/UserOptionsDropdownComponent.d.ts +20 -0
- package/dist/src/shared/components/video-actions/VideoActionComponentCollection.d.ts +31 -0
- package/dist/src/shared/components/video-actions/VideoActionsComponent.d.ts +37 -0
- package/dist/src/shared/components/video-basic-info/VideoBasicInfoComponent.d.ts +32 -0
- package/dist/src/shared/components/video-description/VideoDescriptionComponent.d.ts +33 -0
- package/dist/src/shared/components/video-item/VideoItemComponent.d.ts +53 -0
- package/dist/src/shared/components/video-item/index.d.ts +4 -0
- package/dist/src/shared/components/video-item/utils/VideoItemBehaviors.d.ts +4 -0
- package/dist/src/shared/components/video-item/utils/VideoItemComponentHelper.d.ts +8 -0
- package/dist/src/shared/components/video-item/utils/VideoItemComponentTypes.d.ts +16 -0
- package/dist/src/shared/components/video-item/utils/VideoItemComponents.d.ts +7 -0
- package/dist/src/shared/components/video-item/utils/index.d.ts +3 -0
- package/dist/src/shared/components/video-item/video-item-actions/base/VideoItemActionsComponent.d.ts +23 -0
- package/dist/src/shared/components/video-item/video-item-actions/index.d.ts +4 -0
- package/dist/src/shared/components/video-item/video-item-actions/video-item-processing-actions/VideoItemProcessingActionsComponent.d.ts +25 -0
- package/dist/src/shared/components/video-item/video-item-actions/video-item-review-actions/VideoItemReviewActionsComponent.d.ts +26 -0
- package/dist/src/shared/components/video-item/video-item-actions/video-item-video-access-actions/VideoItemVideoAccessActionsComponent.d.ts +22 -0
- package/dist/src/shared/components/video-item/video-item-metadata/base/VideoItemMetadataComponent.d.ts +24 -0
- package/dist/src/shared/components/video-item/video-item-metadata/index.d.ts +9 -0
- package/dist/src/shared/components/video-item/video-item-metadata/video-item-awaiting-review-metadata/VideoItemAwaitingReviewMetadataComponent.d.ts +21 -0
- package/dist/src/shared/components/video-item/video-item-metadata/video-item-badges/VideoItemBadgesComponent.d.ts +20 -0
- package/dist/src/shared/components/video-item/video-item-metadata/video-item-past-releases-metadata/VideoItemPastReleasesMetadataComponent.d.ts +24 -0
- package/dist/src/shared/components/video-item/video-item-metadata/video-item-processing-metadata/VideoItemProcessingMetadataComponent.d.ts +19 -0
- package/dist/src/shared/components/video-item/video-item-metadata/video-item-search-metadata/VideoItemSearchMetadataComponent.d.ts +22 -0
- package/dist/src/shared/components/video-item/video-item-metadata/video-item-series/VideoItemSeriesComponent.d.ts +22 -0
- package/dist/src/shared/components/video-item/video-item-metadata/video-item-video-access-metadata/VideoItemVideoAccessMetadataComponent.d.ts +26 -0
- package/dist/src/shared/components/video-item/video-item-metadata/video-sources-metadata/VideoSourcesMetadataComponent.d.ts +21 -0
- package/dist/src/shared/components/video-item-preview/VideoItemPreviewComponent.d.ts +37 -0
- package/dist/src/shared/components/video-list/VideoListComponent.d.ts +40 -0
- package/dist/src/shared/components/video-preview/VideoPreviewComponent.d.ts +30 -0
- package/dist/src/shared/components/web-player/WebPlayerComponent.d.ts +53 -0
- package/dist/src/shared/constants/Actions.d.ts +99 -0
- package/dist/src/shared/constants/BootstrapKeys.d.ts +9 -0
- package/dist/src/shared/constants/CacheDurations.d.ts +4 -0
- package/dist/src/shared/constants/DataPrefixes.d.ts +91 -0
- package/dist/src/shared/constants/DataServiceErrors.d.ts +4 -0
- package/dist/src/shared/constants/EventNames.d.ts +33 -0
- package/dist/src/shared/constants/FolderTreeIds.d.ts +4 -0
- package/dist/src/shared/constants/FormattedCustomerSettingNames.d.ts +3 -0
- package/dist/src/shared/constants/ImageSizes.d.ts +11 -0
- package/dist/src/shared/constants/ImageUrls.d.ts +20 -0
- package/dist/src/shared/constants/LayoutRegions.d.ts +16 -0
- package/dist/src/shared/constants/Layouts.d.ts +3 -0
- package/dist/src/shared/constants/LazyLoadBrowserSupport.d.ts +7 -0
- package/dist/src/shared/constants/MarketingSiteArticles.d.ts +3 -0
- package/dist/src/shared/constants/Misc.d.ts +5 -0
- package/dist/src/shared/constants/OnlineUrls.d.ts +4 -0
- package/dist/src/shared/constants/PartialLoadingComponents.d.ts +10 -0
- package/dist/src/shared/constants/RadioChannels.d.ts +62 -0
- package/dist/src/shared/constants/Search.d.ts +40 -0
- package/dist/src/shared/constants/Services.d.ts +56 -0
- package/dist/src/shared/constants/SupportArticles.d.ts +3 -0
- package/dist/src/shared/constants/Webplayer.d.ts +4 -0
- package/dist/src/shared/constants/WithStatements.d.ts +9 -0
- package/dist/src/shared/constants/empty-state-components/EmptyStateComponents.d.ts +6 -0
- package/dist/src/shared/constants/index.d.ts +25 -0
- package/dist/src/shared/enums/AppLinkReferrer.d.ts +3 -0
- package/dist/src/shared/enums/CitationType.d.ts +6 -0
- package/dist/src/shared/enums/CurationStatus.d.ts +12 -0
- package/dist/src/shared/enums/CustomerRegions.d.ts +5 -0
- package/dist/src/shared/enums/EmptyStates.d.ts +16 -0
- package/dist/src/shared/enums/FileIdType.d.ts +5 -0
- package/dist/src/shared/enums/ImageType.d.ts +5 -0
- package/dist/src/shared/enums/MasterObjectTypes.d.ts +8 -0
- package/dist/src/shared/enums/MasterType.d.ts +4 -0
- package/dist/src/shared/enums/PartialLoading.d.ts +41 -0
- package/dist/src/shared/enums/RestrictedObjectType.d.ts +4 -0
- package/dist/src/shared/enums/SchoolTypes.d.ts +17 -0
- package/dist/src/shared/enums/Settings.d.ts +17 -0
- package/dist/src/shared/enums/SharedResourcePrivacy.d.ts +5 -0
- package/dist/src/shared/enums/SortTypes.d.ts +17 -0
- package/dist/src/shared/enums/StaffRequestOption.d.ts +9 -0
- package/dist/src/shared/enums/TimeType.d.ts +4 -0
- package/dist/src/shared/enums/UploadInteractionType.d.ts +4 -0
- package/dist/src/shared/enums/UserRole.d.ts +10 -0
- package/dist/src/shared/enums/YearGroups.d.ts +19 -0
- package/dist/src/shared/enums/index.d.ts +20 -0
- package/dist/src/shared/errors/authentication/AuthenticationError.d.ts +8 -0
- package/dist/src/shared/errors/customer-setting/CustomerSettingError.d.ts +8 -0
- package/dist/src/shared/errors/email-not-verified/EmailNotVerifiedError.d.ts +8 -0
- package/dist/src/shared/errors/file-type/FileTypeError.d.ts +15 -0
- package/dist/src/shared/errors/forbidden-access/ForbiddenAccessError.d.ts +11 -0
- package/dist/src/shared/errors/index.d.ts +11 -0
- package/dist/src/shared/errors/local-cache-device-not-found/LocalCacheDeviceNotFoundError.d.ts +7 -0
- package/dist/src/shared/errors/no-beta-access/NoBetaAccessError.d.ts +8 -0
- package/dist/src/shared/errors/not-found/NotFoundError.d.ts +5 -0
- package/dist/src/shared/errors/old-version/OldVersionError.d.ts +8 -0
- package/dist/src/shared/errors/primitives/AlertError.d.ts +4 -0
- package/dist/src/shared/errors/primitives/DialogError.d.ts +9 -0
- package/dist/src/shared/errors/primitives/ErrorPageError.d.ts +7 -0
- package/dist/src/shared/errors/primitives/index.d.ts +3 -0
- package/dist/src/shared/errors/too-many-files/TooManyFilesError.d.ts +7 -0
- package/dist/src/shared/filters/BetaAccessFilter.d.ts +3 -0
- package/dist/src/shared/filters/CustomerSettingsFilter.d.ts +8 -0
- package/dist/src/shared/filters/RoleFilter.d.ts +4 -0
- package/dist/src/shared/filters/VerifiedEmailFilter.d.ts +3 -0
- package/dist/src/shared/filters/index.d.ts +4 -0
- package/dist/src/shared/index.d.ts +14 -0
- package/dist/src/shared/interfaces/CollectionIdentifier.d.ts +7 -0
- package/dist/src/shared/interfaces/LibraryFoldersIdentifier.d.ts +5 -0
- package/dist/src/shared/interfaces/RecentVideoCollectionIdentifier.d.ts +20 -0
- package/dist/src/shared/interfaces/RecentVideoSubjectCollectionIdentifier.d.ts +16 -0
- package/dist/src/shared/interfaces/Tooltip.d.ts +6 -0
- package/dist/src/shared/interfaces/VideoCollectionIdentifier.d.ts +5 -0
- package/dist/src/shared/interfaces/index.d.ts +6 -0
- package/dist/src/shared/layouts/index.d.ts +1 -0
- package/dist/src/shared/layouts/manage-layout/ManageLayoutView.d.ts +41 -0
- package/dist/src/shared/models/Avatar.d.ts +3 -0
- package/dist/src/shared/models/Banner.d.ts +3 -0
- package/dist/src/shared/models/Channel.d.ts +3 -0
- package/dist/src/shared/models/Chapter.d.ts +3 -0
- package/dist/src/shared/models/Company.d.ts +3 -0
- package/dist/src/shared/models/Config.d.ts +3 -0
- package/dist/src/shared/models/Customer.d.ts +3 -0
- package/dist/src/shared/models/Director.d.ts +3 -0
- package/dist/src/shared/models/DisabledSpinnerModel.d.ts +5 -0
- package/dist/src/shared/models/Distributor.d.ts +3 -0
- package/dist/src/shared/models/Folder.d.ts +12 -0
- package/dist/src/shared/models/Image.d.ts +3 -0
- package/dist/src/shared/models/Interactives.d.ts +3 -0
- package/dist/src/shared/models/LanguageConfig.d.ts +7 -0
- package/dist/src/shared/models/Library.d.ts +10 -0
- package/dist/src/shared/models/Link.d.ts +3 -0
- package/dist/src/shared/models/LocalCacheDevice.d.ts +3 -0
- package/dist/src/shared/models/LocalCacheDownload.d.ts +3 -0
- package/dist/src/shared/models/Logo.d.ts +3 -0
- package/dist/src/shared/models/Metadata.d.ts +3 -0
- package/dist/src/shared/models/Owner.d.ts +3 -0
- package/dist/src/shared/models/Person.d.ts +3 -0
- package/dist/src/shared/models/Phrases.d.ts +3 -0
- package/dist/src/shared/models/Playlist.d.ts +3 -0
- package/dist/src/shared/models/Producer.d.ts +3 -0
- package/dist/src/shared/models/ProductionCompany.d.ts +3 -0
- package/dist/src/shared/models/Rating.d.ts +3 -0
- package/dist/src/shared/models/Resource.d.ts +3 -0
- package/dist/src/shared/models/RestrictedObject.d.ts +3 -0
- package/dist/src/shared/models/Restriction.d.ts +3 -0
- package/dist/src/shared/models/Season.d.ts +3 -0
- package/dist/src/shared/models/Series.d.ts +7 -0
- package/dist/src/shared/models/Setting.d.ts +3 -0
- package/dist/src/shared/models/SharedResource.d.ts +3 -0
- package/dist/src/shared/models/Subtitle.d.ts +3 -0
- package/dist/src/shared/models/Tag.d.ts +3 -0
- package/dist/src/shared/models/Thumbnail.d.ts +3 -0
- package/dist/src/shared/models/User.d.ts +10 -0
- package/dist/src/shared/models/Video.d.ts +29 -0
- package/dist/src/shared/models/index.d.ts +38 -0
- package/dist/src/shared/services/AlertService.d.ts +15 -0
- package/dist/src/shared/services/ConfigDataService.d.ts +23 -0
- package/dist/src/shared/services/ContextService.d.ts +38 -0
- package/dist/src/shared/services/CustomerDataService.d.ts +7 -0
- package/dist/src/shared/services/DownloadProxyDataServices.d.ts +7 -0
- package/dist/src/shared/services/IntercomService.d.ts +8 -0
- package/dist/src/shared/services/LanguageDataService.d.ts +7 -0
- package/dist/src/shared/services/LanguageService.d.ts +16 -0
- package/dist/src/shared/services/LocalCacheDataService.d.ts +11 -0
- package/dist/src/shared/services/NavigationLockService.d.ts +17 -0
- package/dist/src/shared/services/PageTitleService.d.ts +10 -0
- package/dist/src/shared/services/PageVisibilityService.d.ts +14 -0
- package/dist/src/shared/services/PartialLoadingService.d.ts +12 -0
- package/dist/src/shared/services/RestrictedVideoDataService.d.ts +14 -0
- package/dist/src/shared/services/SettingsDataService.d.ts +12 -0
- package/dist/src/shared/services/UserDataService.d.ts +21 -0
- package/dist/src/shared/services/VideoMixinService.d.ts +17 -0
- package/dist/src/shared/services/index.d.ts +18 -0
- package/dist/src/shared/utils/BulkCheckboxHelper.d.ts +18 -0
- package/dist/src/shared/utils/CancelProcessingHelper.d.ts +4 -0
- package/dist/src/shared/utils/CollectionHelper.d.ts +10 -0
- package/dist/src/shared/utils/DialogHelper.d.ts +9 -0
- package/dist/src/shared/utils/DurationHelper.d.ts +7 -0
- package/dist/src/shared/utils/EmptyStateHelper.d.ts +4 -0
- package/dist/src/shared/utils/FileExtensionsHelper.d.ts +9 -0
- package/dist/src/shared/utils/FolderTreeHelpers.d.ts +36 -0
- package/dist/src/shared/utils/ImageHelper.d.ts +31 -0
- package/dist/src/shared/utils/LazyLoadHelper.d.ts +4 -0
- package/dist/src/shared/utils/LocalCacheHelper.d.ts +7 -0
- package/dist/src/shared/utils/MaskHelper.d.ts +15 -0
- package/dist/src/shared/utils/PartialLoadingHelper.d.ts +6 -0
- package/dist/src/shared/utils/PermissionsHelper.d.ts +12 -0
- package/dist/src/shared/utils/RadioChannelHelper.d.ts +11 -0
- package/dist/src/shared/utils/RatingHelper.d.ts +6 -0
- package/dist/src/shared/utils/RestrictedAccessHelper.d.ts +13 -0
- package/dist/src/shared/utils/SettingsHelper.d.ts +9 -0
- package/dist/src/shared/utils/SortHelper.d.ts +15 -0
- package/dist/src/shared/utils/SpinnerHelper.d.ts +19 -0
- package/dist/src/shared/utils/SubtitleLanguageValidation.d.ts +6 -0
- package/dist/src/shared/utils/TabHelper.d.ts +9 -0
- package/dist/src/shared/utils/TextHelper.d.ts +9 -0
- package/dist/src/shared/utils/TimeHelper.d.ts +20 -0
- package/dist/src/shared/utils/VideoHelper.d.ts +11 -0
- package/dist/src/shared/utils/handlebars/LangHelper.d.ts +5 -0
- package/dist/src/shared/utils/handlebars/index.d.ts +1 -0
- package/dist/src/shared/utils/index.d.ts +27 -0
- package/dist/src/shared/utils/search/InstantSearchHelper.d.ts +21 -0
- package/dist/src/shared/utils/search/RawSearchHelper.d.ts +21 -0
- package/dist/src/shared/utils/search/RecentSearchHelper.d.ts +12 -0
- package/dist/src/shared/utils/search/SearchTypes.d.ts +28 -0
- package/dist/src/shared/utils/search/TypeaheadHelper.d.ts +76 -0
- package/dist/src/shared/utils/search/index.d.ts +5 -0
- package/dist/src/shared/utils/search/raw-search-components/add-new/AddNewSuggestion.d.ts +12 -0
- package/dist/src/shared/utils/search/raw-search-components/confirm-selection/ConfirmSelectionComponent.d.ts +12 -0
- package/dist/src/shared/utils/search/raw-search-components/index.d.ts +2 -0
- package/dist/src/shared/utils/search/raw-search-templates/index.d.ts +5 -0
- package/dist/src/shared/views/download-to-local-cache/DownloadToLocalCacheView.d.ts +28 -0
- package/dist/src/shared/views/download-video/DownloadVideoView.d.ts +19 -0
- package/dist/src/shared/views/index.d.ts +9 -0
- package/dist/src/shared/views/restrict-access/RestrictAccessComponent.d.ts +7 -0
- package/dist/src/shared/views/restrict-access/RestrictAccessGroupComponent.d.ts +23 -0
- package/dist/src/shared/views/restrict-access/RestrictAccessView.d.ts +67 -0
- package/dist/src/shared/views/share/ShareView.d.ts +48 -0
- package/dist/src/shared/views/top-navigation/TopNavigationView.d.ts +35 -0
- package/dist/src/shared/views/user-options/UserOptionsView.d.ts +18 -0
- package/dist/src/styles/index.d.ts +1 -0
- package/dist/typings/libs/LazyLoad.d.ts +26 -0
- package/package.json +48 -47
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Core } from '@clickview/common';
|
|
2
|
+
export declare class PageVisibilityService extends Core.Service {
|
|
3
|
+
private hiddenPropertyName;
|
|
4
|
+
private visibilityChangeEventName;
|
|
5
|
+
initialize(): void;
|
|
6
|
+
private detectVisibilityApi;
|
|
7
|
+
get name(): string;
|
|
8
|
+
get channelName(): string;
|
|
9
|
+
private bindEventListeners;
|
|
10
|
+
private onVisibilityChange;
|
|
11
|
+
addVisibilityChangeListener(callback: (hidden: boolean) => void): void;
|
|
12
|
+
removeVisibilityChangeListener(callback: (hidden: boolean) => void): void;
|
|
13
|
+
onDestroy(): void;
|
|
14
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Core } from '@clickview/common';
|
|
2
|
+
declare class PartialLoadingServiceStatic extends Core.Service {
|
|
3
|
+
get name(): string;
|
|
4
|
+
initialize(): void;
|
|
5
|
+
private renderPartialLoading;
|
|
6
|
+
private getComponent;
|
|
7
|
+
private getCtor;
|
|
8
|
+
getPartialLoadingRegions(self: any): any;
|
|
9
|
+
getCollection(length?: number): Core.Collection;
|
|
10
|
+
}
|
|
11
|
+
export declare const PartialLoadingService: PartialLoadingServiceStatic;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { BaseDataService } from '@clickview/common';
|
|
2
|
+
import { VideoCollection, RestrictedObjectCollection } from "../collections";
|
|
3
|
+
import { VideoCollectionIdentifier } from "../interfaces/VideoCollectionIdentifier";
|
|
4
|
+
import { Cursors } from '@clickview/common';
|
|
5
|
+
export declare class RestrictedVideoDataService extends BaseDataService {
|
|
6
|
+
get name(): string;
|
|
7
|
+
get channelName(): string;
|
|
8
|
+
get lang(): string;
|
|
9
|
+
getPaginationCursors(page: string): Cursors;
|
|
10
|
+
getRestrictedVideos(page?: string, callback?: (video: VideoCollection) => void): VideoCollection;
|
|
11
|
+
getVideoRestrictions(videoIds?: string[], collectionIdentifier?: VideoCollectionIdentifier, callback?: (restriction: RestrictedObjectCollection) => void): RestrictedObjectCollection;
|
|
12
|
+
updateVideoRestriction(videoId: string, groupId: string, customerId: string, userId: string, callback?: () => void): void;
|
|
13
|
+
deleteVideoRestriction(id: string, callback?: () => void): void;
|
|
14
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BaseDataService } from '@clickview/common';
|
|
2
|
+
import { SettingOptions } from "../utils";
|
|
3
|
+
import { SettingKind, SettingName } from "../enums";
|
|
4
|
+
import { SettingCollection } from "../collections";
|
|
5
|
+
import { Setting } from "../models";
|
|
6
|
+
export declare class SettingsDataService extends BaseDataService {
|
|
7
|
+
get name(): string;
|
|
8
|
+
get channelName(): string;
|
|
9
|
+
getSetting(entityId: string, name: SettingName, callback?: (data: Setting) => void): Setting;
|
|
10
|
+
getSettings(entityId: string, kind?: SettingKind, callback?: (data: SettingCollection) => void): SettingCollection;
|
|
11
|
+
updateSetting(entityId: string, settingOptions: SettingOptions, successMessage?: string, callback?: (data: any) => void): void;
|
|
12
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/// <reference types="backbone" />
|
|
2
|
+
/// <reference types="backbone.radio" />
|
|
3
|
+
/// <reference types="backbone.validation" />
|
|
4
|
+
import { User } from "../models";
|
|
5
|
+
import { BaseDataService } from '@clickview/common';
|
|
6
|
+
import { DataServices } from "../constants/Services";
|
|
7
|
+
export declare class UserDataService extends BaseDataService {
|
|
8
|
+
get name(): string;
|
|
9
|
+
get channelName(): string;
|
|
10
|
+
getCurrentUser(callback?: (user: User) => void): User;
|
|
11
|
+
}
|
|
12
|
+
declare const UserDataServiceHelper: {
|
|
13
|
+
currentUser: {
|
|
14
|
+
dataServiceName: DataServices;
|
|
15
|
+
eventName: string;
|
|
16
|
+
getData: (instance: UserDataService) => User;
|
|
17
|
+
getInstance: (context: import("backbone").Events) => unknown;
|
|
18
|
+
beforeOnBeforeRender: boolean;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
export { UserDataServiceHelper };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Core } from '@clickview/common';
|
|
2
|
+
import { VideoCollection, RestrictedObjectCollection, LocalCacheDownloadCollection } from "../collections";
|
|
3
|
+
import { VideoCollectionIdentifier } from "../interfaces";
|
|
4
|
+
import { Video } from "../models";
|
|
5
|
+
export declare class VideoMixinService extends Core.Service {
|
|
6
|
+
private restrictedVideoDataService;
|
|
7
|
+
private localCacheDataService;
|
|
8
|
+
initialize(): void;
|
|
9
|
+
get name(): string;
|
|
10
|
+
get channelName(): string;
|
|
11
|
+
mixinVideoCollectionData(collection: VideoCollection, collectionIdentifier?: VideoCollectionIdentifier, callback?: (data: any) => void): void;
|
|
12
|
+
mixinVideoData(video: Video, callback?: (data: any) => void): void;
|
|
13
|
+
getAndMixinVideoCollectionRestrictions(collection: VideoCollection, collectionIdentifier?: VideoCollectionIdentifier, callback?: (data: any) => void): void;
|
|
14
|
+
getAndMixinVideoRestriction(video: Video, callback?: (data: any) => void): void;
|
|
15
|
+
mixinLocalCacheDownloads(video: Video, downloads: LocalCacheDownloadCollection): void;
|
|
16
|
+
mixinVideoRestriction(video: Video, restrictedObjectCollection: RestrictedObjectCollection): void;
|
|
17
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export * from './AlertService';
|
|
2
|
+
export * from './ConfigDataService';
|
|
3
|
+
export * from './NavigationLockService';
|
|
4
|
+
export * from './UserDataService';
|
|
5
|
+
export * from './PartialLoadingService';
|
|
6
|
+
export * from './SettingsDataService';
|
|
7
|
+
export * from './CustomerDataService';
|
|
8
|
+
export * from './LocalCacheDataService';
|
|
9
|
+
export * from './VideoMixinService';
|
|
10
|
+
export * from './RestrictedVideoDataService';
|
|
11
|
+
export * from './PageVisibilityService';
|
|
12
|
+
export * from './PageTitleService';
|
|
13
|
+
export * from './ContextService';
|
|
14
|
+
export * from './LanguageService';
|
|
15
|
+
export * from './LanguageDataService';
|
|
16
|
+
export * from './ContextService';
|
|
17
|
+
export * from './DownloadProxyDataServices';
|
|
18
|
+
export * from './IntercomService';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Core } from '@clickview/common';
|
|
2
|
+
interface GetSelectedRequest {
|
|
3
|
+
key: string;
|
|
4
|
+
type: string;
|
|
5
|
+
collection: Core.Collection;
|
|
6
|
+
excludePredicate?: (model: Core.Model) => boolean;
|
|
7
|
+
}
|
|
8
|
+
declare const BulkCheckboxHelper: {
|
|
9
|
+
/**
|
|
10
|
+
* We store the bulk actions view model until we've moved to another
|
|
11
|
+
* collection id. This is so that page changes like Move/Delete video
|
|
12
|
+
* doesnt clear the checkboxes but moving to another folder does.
|
|
13
|
+
*/
|
|
14
|
+
GetViewModel(key: string, type: string): Core.Model;
|
|
15
|
+
GetSelectedIds(options: GetSelectedRequest): string[];
|
|
16
|
+
GetSelectedModels(options: GetSelectedRequest): Core.Model[];
|
|
17
|
+
};
|
|
18
|
+
export { BulkCheckboxHelper };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ObjectHash } from 'backbone';
|
|
2
|
+
import { Core } from '@clickview/common';
|
|
3
|
+
declare const CollectionHelpers: {
|
|
4
|
+
setSelected(modelId: string, collection: Core.Collection<Core.Model>): void;
|
|
5
|
+
getSelected<TCollection extends Core.Collection<Core.Model>>(collection: TCollection): Core.Model;
|
|
6
|
+
deselectAll<TCollection_1 extends Core.Collection<Core.Model>>(collection: TCollection_1, options?: ObjectHash): void;
|
|
7
|
+
findModelByName<TModel extends Core.Model, TCollection_2 extends Core.Collection<TModel>>(name: string, collection: TCollection_2): TModel;
|
|
8
|
+
getIds<TCollection_3 extends Core.Collection<Core.Model>>(collection: TCollection_3): number[];
|
|
9
|
+
};
|
|
10
|
+
export { CollectionHelpers };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="jquery" />
|
|
2
|
+
import { Core } from '@clickview/common';
|
|
3
|
+
import { DialogViewOptions } from "../components";
|
|
4
|
+
export declare class DialogHelper extends Core.Service {
|
|
5
|
+
private dialogOptions;
|
|
6
|
+
constructor(options: DialogViewOptions);
|
|
7
|
+
get name(): string;
|
|
8
|
+
render(): JQueryDeferred<any>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Core } from '@clickview/common';
|
|
2
|
+
import { FolderCollection } from "../collections";
|
|
3
|
+
import { Folder } from "../models";
|
|
4
|
+
declare const FolderTreeHelpers: {
|
|
5
|
+
isSelected(key: string, id?: string): boolean;
|
|
6
|
+
isParent(key: string, id: string): boolean;
|
|
7
|
+
getSelectedViewModel(key: string): Core.Model;
|
|
8
|
+
deselectAll(key: string, collection: FolderCollection): void;
|
|
9
|
+
/**
|
|
10
|
+
* Sets a folder in a collection as selected
|
|
11
|
+
* @param folder either the folder model or the id of the folder
|
|
12
|
+
* @param collection the folder collection
|
|
13
|
+
*/
|
|
14
|
+
setSelected(key: string, folder: string | Folder, collection: FolderCollection): void;
|
|
15
|
+
getSelected(key: string, collection: FolderCollection): Folder;
|
|
16
|
+
newFolder(): Folder;
|
|
17
|
+
getModelFromCollection(id: string, collection: FolderCollection): Folder;
|
|
18
|
+
getParent(id: string, collection: FolderCollection): Folder;
|
|
19
|
+
addFolder(model: Core.Model, parentId: string, collection: FolderCollection): void;
|
|
20
|
+
addFolderToLibrary(model: Core.Model, collectionId: string, collection: FolderCollection): void;
|
|
21
|
+
/**
|
|
22
|
+
* This will flatten the nested folder structure and provide
|
|
23
|
+
* a depth value for each folder. This is designed to be used
|
|
24
|
+
* by the FolderSelectView but can be used by anything that needs
|
|
25
|
+
* the folders flattened.
|
|
26
|
+
*/
|
|
27
|
+
flatten(collection: FolderCollection): FolderCollection;
|
|
28
|
+
getFirstType(collection: FolderCollection, type: string): Folder;
|
|
29
|
+
getLibrary(folderId: string, collection: FolderCollection): Folder;
|
|
30
|
+
isSubFolder(folder: Folder): boolean;
|
|
31
|
+
getFolderDepth(id: string, collection: FolderCollection): number;
|
|
32
|
+
getFolderChord(folder: Folder): string;
|
|
33
|
+
getDepthOfChildren(folder: Folder): number;
|
|
34
|
+
calculateDestinationFolderDepth(folder: Folder, destinationId: string, collection: FolderCollection): number;
|
|
35
|
+
};
|
|
36
|
+
export { FolderTreeHelpers };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Thumbnail, Banner } from "../models";
|
|
2
|
+
import { ImageType } from "../enums";
|
|
3
|
+
declare type ImageSize = 'small' | 'medium' | 'large' | '';
|
|
4
|
+
export interface ImageOptions {
|
|
5
|
+
size?: ImageSize;
|
|
6
|
+
bgColor?: string;
|
|
7
|
+
width?: number;
|
|
8
|
+
height?: number;
|
|
9
|
+
resizeType?: string;
|
|
10
|
+
ratio?: string;
|
|
11
|
+
name?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface CategoryMapperImageOptions {
|
|
14
|
+
fallbackBaseUrl: string;
|
|
15
|
+
fallbackCategoryName: string;
|
|
16
|
+
type: ImageType;
|
|
17
|
+
}
|
|
18
|
+
export declare const ImageHelper: {
|
|
19
|
+
createUrl(baseUrl: string, options?: ImageOptions): string;
|
|
20
|
+
/**
|
|
21
|
+
* Ensures that strings are properly escaped before using them
|
|
22
|
+
* within a URL.
|
|
23
|
+
*/
|
|
24
|
+
Rfc3986EncodeURIComponent(str: string): string;
|
|
25
|
+
createThumbnailUrl(thumbnail: string | Thumbnail, options?: ImageOptions): string;
|
|
26
|
+
createBannerUrl(banner: string | Banner, mappingOptions?: CategoryMapperImageOptions, imageOptions?: ImageOptions): string;
|
|
27
|
+
createFolderThumbnailUrl(thumbnail: string | Thumbnail, mappingOptions?: CategoryMapperImageOptions, imageOptions?: ImageOptions): string;
|
|
28
|
+
_createCategoryMappedUrl(mappingOptions: CategoryMapperImageOptions, options?: ImageOptions): string;
|
|
29
|
+
_createUrl(baseUrl: string, options?: ImageOptions): string;
|
|
30
|
+
};
|
|
31
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { LocalCacheDeviceCollection } from "../collections";
|
|
2
|
+
import { LocalCacheDevice } from "../models";
|
|
3
|
+
export declare const LocalCacheHelper: {
|
|
4
|
+
getDevicesUserCanManage(devices: LocalCacheDeviceCollection, customerId: string): LocalCacheDeviceCollection;
|
|
5
|
+
getNewestDeviceUserCanManage(devices: LocalCacheDeviceCollection, customerId: string): LocalCacheDevice;
|
|
6
|
+
customerHasLocalCache(devices: LocalCacheDeviceCollection, customerId: string): boolean;
|
|
7
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/// <reference types="jquery" />
|
|
2
|
+
/// <reference types="jqueryui" />
|
|
3
|
+
/// <reference types="typeahead" />
|
|
4
|
+
/// <reference types="bootstrap" />
|
|
5
|
+
/// <reference types="dropzone" />
|
|
6
|
+
export interface MaskHelperOptions {
|
|
7
|
+
targetSelector?: string;
|
|
8
|
+
additionalClasses?: string;
|
|
9
|
+
fade?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare const MaskHelper: {
|
|
12
|
+
showMask(options?: MaskHelperOptions): JQuery<HTMLElement>;
|
|
13
|
+
hideMask(maskEl?: JQuery<HTMLElement>): void;
|
|
14
|
+
getTarget(targetSelector?: string): JQuery<HTMLElement>;
|
|
15
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Core } from '@clickview/common';
|
|
2
|
+
import { Video } from "../models";
|
|
3
|
+
import { ObjectOwnerType } from "../../apps/library-editor/enums";
|
|
4
|
+
export declare const PermissionsHelper: {
|
|
5
|
+
canEditVideo(video: Video): boolean;
|
|
6
|
+
canDownloadVideo(video: Video): boolean;
|
|
7
|
+
canAddToExchange(video: Video): boolean;
|
|
8
|
+
canShareVideo(video: Video, application: string): boolean;
|
|
9
|
+
getSuggestAnEditPermissionsMessage(video: Video): string;
|
|
10
|
+
getSharePermissionsMessage(video: Video, application: string): string;
|
|
11
|
+
filterObjectsByOwnerType(objects: Core.Collection<Core.Model>, owner: ObjectOwnerType, currentCustomerId?: string): Core.Collection<Core.Model>;
|
|
12
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const RadioChannelHelper: {
|
|
2
|
+
/**
|
|
3
|
+
* Used to generate a unique channel name for a view.
|
|
4
|
+
* If this.cid is undefined because the view has yet
|
|
5
|
+
* to be initialised (e.g. when using a behavior), then
|
|
6
|
+
* a customCid will be generated.
|
|
7
|
+
* @param self reference to the view
|
|
8
|
+
* @param customCidName the property name for the customCid
|
|
9
|
+
*/
|
|
10
|
+
generateUniqueChannelName(self: any, customCidName?: string): string;
|
|
11
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Video } from "../models";
|
|
2
|
+
import { YearGroup } from "../enums";
|
|
3
|
+
declare const RestrictedAccessHelper: {
|
|
4
|
+
mapYearGroupToName(group: YearGroup): string;
|
|
5
|
+
hasRestriction(video: Video): boolean;
|
|
6
|
+
hasAdminRestriction(video: Video): boolean;
|
|
7
|
+
isAwaitingReview(video: Video): boolean;
|
|
8
|
+
getRestrictionMessage(name: string): string;
|
|
9
|
+
getReviewBadgeClassName(video: Video, baseClass: string, urgentClass: string): string;
|
|
10
|
+
getRestrictionTooltipMessage(video: Video): string;
|
|
11
|
+
getReviewTimeMessage(video: Video): string;
|
|
12
|
+
};
|
|
13
|
+
export { RestrictedAccessHelper };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Core } from '@clickview/common';
|
|
2
|
+
import { SortType, ExportServiceSortType } from "../enums";
|
|
3
|
+
import { ObjectHash } from 'backbone';
|
|
4
|
+
declare const SortHelper: {
|
|
5
|
+
GetCurrentSortType(): SortType;
|
|
6
|
+
GetSortViewModel(): Core.Model;
|
|
7
|
+
GetFilterFromSort(sortType: SortType): string;
|
|
8
|
+
GetDefaultSort(): ObjectHash;
|
|
9
|
+
CreateSortObject(sortType: SortType): ObjectHash;
|
|
10
|
+
CreateSortCollection(): Core.Collection<Core.Model>;
|
|
11
|
+
GetSortName(sortType: SortType): string;
|
|
12
|
+
GetSortTypeFromName(sortName: string): SortType;
|
|
13
|
+
MapSortTypeToExportServiceSortType(sortType: SortType): ExportServiceSortType;
|
|
14
|
+
};
|
|
15
|
+
export { SortHelper };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare enum SpinnerSize {
|
|
2
|
+
Small = "sm",
|
|
3
|
+
Medium = "md",
|
|
4
|
+
Large = "lg"
|
|
5
|
+
}
|
|
6
|
+
export declare enum SpinnerType {
|
|
7
|
+
Standard = "std",
|
|
8
|
+
Light = "light",
|
|
9
|
+
LightBgDark = "light-bg-dark"
|
|
10
|
+
}
|
|
11
|
+
export interface SpinnerOptions {
|
|
12
|
+
size?: SpinnerSize;
|
|
13
|
+
type?: SpinnerType;
|
|
14
|
+
tag?: keyof HTMLElementTagNameMap;
|
|
15
|
+
extraClasses?: string;
|
|
16
|
+
}
|
|
17
|
+
export declare const SpinnerHelper: {
|
|
18
|
+
getSpinner(options?: SpinnerOptions): string;
|
|
19
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ObjectHash } from 'backbone';
|
|
2
|
+
import { Core } from '@clickview/common';
|
|
3
|
+
import { Tab } from "../components/tabs/TabsComponent";
|
|
4
|
+
export declare const TabHelper: {
|
|
5
|
+
getEditVideoTabs(videoId: string, options?: ObjectHash): Tab[];
|
|
6
|
+
initBackButton(): void;
|
|
7
|
+
getBackButton(videoId: string): Tab;
|
|
8
|
+
getBackButtonText(appLink: Core.AppLink): string;
|
|
9
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ObjectHash } from 'backbone';
|
|
2
|
+
export declare const TextHelper: {
|
|
3
|
+
wordsHighlighter(text: string, words: string[]): string;
|
|
4
|
+
escapeExpression(text: string): string;
|
|
5
|
+
escapeRegExp(str: string): string;
|
|
6
|
+
slugify(str: string): string;
|
|
7
|
+
linkifyText(text: string, options?: ObjectHash): string;
|
|
8
|
+
extractKeyPhrases(text: string, keywords: string[], maxPhraseLength: number, maxNumPhrases?: number): string[];
|
|
9
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ObjectHash } from 'backbone';
|
|
2
|
+
declare const TimeHelpers: {
|
|
3
|
+
/**
|
|
4
|
+
* Make time string into minutes if possible by trimming leading '0' and ':'
|
|
5
|
+
* E.g. 00:04:52 becomes -> 04:52
|
|
6
|
+
*/
|
|
7
|
+
trimToMinutes(str: string): string;
|
|
8
|
+
toSeconds(timespan: string): number;
|
|
9
|
+
secondsToHoursFormatted(secs: number): string;
|
|
10
|
+
/**
|
|
11
|
+
* Extract hours/minutes/seconds components from a base time
|
|
12
|
+
*/
|
|
13
|
+
getHoursComponent(secs: number): number;
|
|
14
|
+
getMinutesComponent(secs: number): number;
|
|
15
|
+
getSecondsComponent(secs: number): number;
|
|
16
|
+
millisecondsToSeconds(ms: number): number;
|
|
17
|
+
parseTime(timeObject: ObjectHash): number;
|
|
18
|
+
validateRawTime(timeObject: ObjectHash): ObjectHash;
|
|
19
|
+
};
|
|
20
|
+
export { TimeHelpers };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Video } from "../models";
|
|
2
|
+
import { MasterObjectTypes } from "../enums";
|
|
3
|
+
export declare const VideoHelper: {
|
|
4
|
+
hasLibraryOfType(video: Video, type: MasterObjectTypes): boolean;
|
|
5
|
+
hasCustomLibrary(video: Video): boolean;
|
|
6
|
+
/**
|
|
7
|
+
* Returns a comma seperated list of master types
|
|
8
|
+
*/
|
|
9
|
+
getSourceTypes(video: Video): MasterObjectTypes[];
|
|
10
|
+
isExchangeVideo(video: Video): boolean;
|
|
11
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './LangHelper';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export * from './DialogHelper';
|
|
2
|
+
export * from './BulkCheckboxHelper';
|
|
3
|
+
export * from './SortHelper';
|
|
4
|
+
export * from './RestrictedAccessHelper';
|
|
5
|
+
export * from './TimeHelper';
|
|
6
|
+
export * from './SettingsHelper';
|
|
7
|
+
export * from './FolderTreeHelpers';
|
|
8
|
+
export * from './TextHelper';
|
|
9
|
+
export * from './MaskHelper';
|
|
10
|
+
export * from './PermissionsHelper';
|
|
11
|
+
export * from './ImageHelper';
|
|
12
|
+
export * from './RatingHelper';
|
|
13
|
+
export * from './LocalCacheHelper';
|
|
14
|
+
export * from './RadioChannelHelper';
|
|
15
|
+
export * from './DurationHelper';
|
|
16
|
+
export * from './FileExtensionsHelper';
|
|
17
|
+
export * from './PartialLoadingHelper';
|
|
18
|
+
export * from './SubtitleLanguageValidation';
|
|
19
|
+
export * from './search';
|
|
20
|
+
export * from './TabHelper';
|
|
21
|
+
export * from './VideoHelper';
|
|
22
|
+
export * from './CancelProcessingHelper';
|
|
23
|
+
export * from './CollectionHelper';
|
|
24
|
+
export * from './EmptyStateHelper';
|
|
25
|
+
export * from './LazyLoadHelper';
|
|
26
|
+
export * from './SpinnerHelper';
|
|
27
|
+
export * from './handlebars';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/// <reference types="jquery" />
|
|
2
|
+
import { ObjectHash } from 'backbone';
|
|
3
|
+
import { RemoteSearch } from "./";
|
|
4
|
+
/**
|
|
5
|
+
* Specific logic for processing responses from domain v1/search/instant endpoint
|
|
6
|
+
*/
|
|
7
|
+
export declare const InstantSearchHelper: {
|
|
8
|
+
prepareQuery: (query: string, settings: JQueryAjaxSettings, options?: ObjectHash) => string;
|
|
9
|
+
bloodhoundConfig(source: string, options: ObjectHash): RemoteSearch<any>;
|
|
10
|
+
handleResult(data: ObjectHash, item: any, options?: ObjectHash): any[];
|
|
11
|
+
processVideoResult(collection: any[], item: any, options: ObjectHash): any[];
|
|
12
|
+
processTagsResult(collection: any[], item: any, options: ObjectHash): any[];
|
|
13
|
+
processSeriesResult(collection: any[], item: any, options: ObjectHash): any[];
|
|
14
|
+
processFolderResult(collection: any[], item: any, options?: ObjectHash): any[];
|
|
15
|
+
/**
|
|
16
|
+
* Manipulate
|
|
17
|
+
* @param collection
|
|
18
|
+
* @param options
|
|
19
|
+
*/
|
|
20
|
+
processCollection(collection: any[], options?: ObjectHash): any[];
|
|
21
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/// <reference types="jquery" />
|
|
2
|
+
import { ObjectHash } from 'backbone';
|
|
3
|
+
import * as Search from "./";
|
|
4
|
+
import { Tag, Producer, Distributor, Series, Channel } from "../../models";
|
|
5
|
+
declare type RawSearchType = Producer | Distributor | Series | Channel | Tag;
|
|
6
|
+
/**
|
|
7
|
+
* Specific logic for processing responses from domain instant/raw endpoint
|
|
8
|
+
*/
|
|
9
|
+
export declare const RawSearchHelper: {
|
|
10
|
+
handleQuery(dataSource?: Search.TypeaheadDataSource<RawSearchType>, options?: ObjectHash): Search.TypeaheadDataSource<RawSearchType>;
|
|
11
|
+
getSuggestionTemplate(sourceName: string): any;
|
|
12
|
+
getPendingTemplate(sourceName: string): any;
|
|
13
|
+
getNotFoundTemplate(sourceName: string, hideEmptyResults?: boolean): any;
|
|
14
|
+
getFooterTemplate(footerTemplate: Function): any;
|
|
15
|
+
prepareQuery: (query: string, settings: JQueryAjaxSettings, options?: ObjectHash) => string;
|
|
16
|
+
prepareUrl(source: string, options: ObjectHash): string;
|
|
17
|
+
mapRawSearchType(source: string, options: ObjectHash): string;
|
|
18
|
+
getBloodhoundConfig(): Search.BloodhoundConfigHandler<RawSearchType>;
|
|
19
|
+
getTypeaheadConfig(): any;
|
|
20
|
+
};
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { StorageHelper } from '@clickview/common';
|
|
2
|
+
export interface UpdateRecentSearchOptions<T> {
|
|
3
|
+
query: T;
|
|
4
|
+
add?: boolean;
|
|
5
|
+
remove?: boolean;
|
|
6
|
+
limit?: number;
|
|
7
|
+
}
|
|
8
|
+
export declare const RecentSearchHelper: {
|
|
9
|
+
getRecentSearches<T>(key: string, dataSource: StorageHelper): T[];
|
|
10
|
+
setRecentSearches<T_1>(key: string, recentSearches: T_1[], dataSource: StorageHelper): void;
|
|
11
|
+
updateRecentSearches<T_2>(key: string, dataSource: StorageHelper, options: UpdateRecentSearchOptions<T_2>): T_2[];
|
|
12
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/// <reference types="typeahead" />
|
|
2
|
+
import { ObjectHash } from 'backbone';
|
|
3
|
+
import { Series, Folder, Video, Channel, Producer, Distributor } from "../../models";
|
|
4
|
+
export declare type InstantSearch = Series | Folder | Video | Channel | Producer | Distributor;
|
|
5
|
+
export interface RemoteSearch<T> extends Bloodhound.BloodhoundOptions<T> {
|
|
6
|
+
remote: Bloodhound.RemoteOptions<T>;
|
|
7
|
+
}
|
|
8
|
+
export interface LocalSearch<T> extends Bloodhound.BloodhoundOptions<T> {
|
|
9
|
+
local: T[] | (() => T[]);
|
|
10
|
+
}
|
|
11
|
+
export declare type TypeaheadDataSource<T> = Bloodhound<T> | ((query: string, syncResults: (result: T[]) => void, asyncResults?: (result: T[]) => void) => void);
|
|
12
|
+
export interface InstantSearchBloodhound<T> {
|
|
13
|
+
bloodhound: TypeaheadDataSource<T>;
|
|
14
|
+
name: string;
|
|
15
|
+
}
|
|
16
|
+
export declare type TypeaheadConfig<T> = Twitter.Typeahead.Dataset<T>;
|
|
17
|
+
export interface TypeaheadConfigHandler<T> {
|
|
18
|
+
(source?: InstantSearchBloodhound<T>, index?: number, options?: ObjectHash): Twitter.Typeahead.Dataset<T>;
|
|
19
|
+
}
|
|
20
|
+
export interface BloodhoundConfigHandler<T> {
|
|
21
|
+
(source: string, options?: ObjectHash): LocalSearch<T> | RemoteSearch<T>;
|
|
22
|
+
}
|
|
23
|
+
export interface TypeaheadSourceItem<T> {
|
|
24
|
+
name: string;
|
|
25
|
+
typeaheadConfig: TypeaheadConfigHandler<T>;
|
|
26
|
+
bloodhoundConfig?: BloodhoundConfigHandler<T>;
|
|
27
|
+
options?: ObjectHash;
|
|
28
|
+
}
|