@clickview/library-editor 0.0.0-rc.0 → 0.0.1-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.
Files changed (690) hide show
  1. package/dist/bundle.js +2 -674
  2. package/dist/src/apps/content-updates/ContentUpdatesApplication.d.ts +18 -0
  3. package/dist/src/apps/content-updates/collections/SubjectCollection.d.ts +5 -0
  4. package/dist/src/apps/content-updates/collections/VideoGroupCollection.d.ts +5 -0
  5. package/dist/src/apps/content-updates/collections/index.d.ts +2 -0
  6. package/dist/src/apps/content-updates/components/awaiting-review-header/AwaitingReviewHeaderComponent.d.ts +14 -0
  7. package/dist/src/apps/content-updates/components/content-updates-header/ContentUpdatesHeaderComponent.d.ts +19 -0
  8. package/dist/src/apps/content-updates/components/content-updates-left-nav/ContentUpdatesLeftNavComponent.d.ts +18 -0
  9. package/dist/src/apps/content-updates/components/index.d.ts +6 -0
  10. package/dist/src/apps/content-updates/components/past-releases-filters/PastReleasesFiltersComponent.d.ts +20 -0
  11. package/dist/src/apps/content-updates/components/past-releases-header/PastReleasesHeaderComponent.d.ts +24 -0
  12. package/dist/src/apps/content-updates/components/video-group-list/VideoGroupListComponent.d.ts +35 -0
  13. package/dist/src/apps/content-updates/enums/PastReleaseFilterType.d.ts +5 -0
  14. package/dist/src/apps/content-updates/enums/ReleaseDateType.d.ts +6 -0
  15. package/dist/src/apps/content-updates/enums/index.d.ts +2 -0
  16. package/dist/src/apps/content-updates/models/Subject.d.ts +3 -0
  17. package/dist/src/apps/content-updates/models/VideoGroup.d.ts +7 -0
  18. package/dist/src/apps/content-updates/models/index.d.ts +2 -0
  19. package/dist/src/apps/content-updates/services/ContentUpdatesDataService.d.ts +17 -0
  20. package/dist/src/apps/content-updates/services/index.d.ts +1 -0
  21. package/dist/src/apps/content-updates/utils/Constants.d.ts +33 -0
  22. package/dist/src/apps/content-updates/utils/ContentUpdatesHelper.d.ts +7 -0
  23. package/dist/src/apps/content-updates/utils/PastReleasesHelper.d.ts +3 -0
  24. package/dist/src/apps/content-updates/utils/index.d.ts +3 -0
  25. package/dist/src/apps/content-updates/views/add-to-library/AddToLibraryView.d.ts +47 -0
  26. package/dist/src/apps/content-updates/views/awaiting-review/AwaitingReviewView.d.ts +36 -0
  27. package/dist/src/apps/content-updates/views/disable-review/DisableReviewView.d.ts +26 -0
  28. package/dist/src/apps/content-updates/views/generate-past-releases-pdf/GeneratePastReleasesPdfView.d.ts +41 -0
  29. package/dist/src/apps/content-updates/views/index.d.ts +5 -0
  30. package/dist/src/apps/content-updates/views/past-releases/PastReleasesView.d.ts +54 -0
  31. package/dist/src/apps/dashboard/DashboardApplication.d.ts +9 -0
  32. package/dist/src/apps/dashboard/components/dashboard-action-tile/DashboardActionTileComponent.d.ts +20 -0
  33. package/dist/src/apps/dashboard/components/dashboard-info-tile/DashboardInfoTileComponent.d.ts +7 -0
  34. package/dist/src/apps/dashboard/components/dashboard-notifications/DashboardNotificationsComponents.d.ts +15 -0
  35. package/dist/src/apps/dashboard/components/dashboard-tile-container/DashboardTileContainerComponent.d.ts +11 -0
  36. package/dist/src/apps/dashboard/components/dashboard-tile-list/DashboardTileListComponent.d.ts +14 -0
  37. package/dist/src/apps/dashboard/components/index.d.ts +9 -0
  38. package/dist/src/apps/dashboard/views/DashboardView.d.ts +38 -0
  39. package/dist/src/apps/default/DefaultApplication.d.ts +21 -0
  40. package/dist/src/apps/default/views/dev-error/DevErrorView.d.ts +11 -0
  41. package/dist/src/apps/default/views/error-view/ErrorView.d.ts +12 -0
  42. package/dist/src/apps/default/views/not-found/NotFoundView.d.ts +11 -0
  43. package/dist/src/apps/index.d.ts +17 -0
  44. package/dist/src/apps/library-editor/LibraryEditorApplication.d.ts +46 -0
  45. package/dist/src/apps/library-editor/behaviors/draggable-folder/DraggableFolderBehavior.d.ts +9 -0
  46. package/dist/src/apps/library-editor/behaviors/draggable-video/DraggableVideoBehavior.d.ts +24 -0
  47. package/dist/src/apps/library-editor/behaviors/droppable/DroppableBehavior.d.ts +19 -0
  48. package/dist/src/apps/library-editor/behaviors/index.d.ts +3 -0
  49. package/dist/src/apps/library-editor/behaviors/shared/DragOptions.d.ts +3 -0
  50. package/dist/src/apps/library-editor/behaviors/shared/DraggableItemComponent.d.ts +15 -0
  51. package/dist/src/apps/library-editor/behaviors/shared/index.d.ts +5 -0
  52. package/dist/src/apps/library-editor/components/add-links/AddLinksComponent.d.ts +31 -0
  53. package/dist/src/apps/library-editor/components/banner/BannerComponent.d.ts +19 -0
  54. package/dist/src/apps/library-editor/components/chapter-form/ChapterFormComponent.d.ts +66 -0
  55. package/dist/src/apps/library-editor/components/chapter-list/ChapterComponentCollection.d.ts +25 -0
  56. package/dist/src/apps/library-editor/components/chapter-list/ChapterItemComponent.d.ts +37 -0
  57. package/dist/src/apps/library-editor/components/chapters/ChaptersComponent.d.ts +21 -0
  58. package/dist/src/apps/library-editor/components/concatenate-request/ConcatenateRequestComponent.d.ts +24 -0
  59. package/dist/src/apps/library-editor/components/customer-logo/CustomerLogoComponent.d.ts +19 -0
  60. package/dist/src/apps/library-editor/components/edit-image/EditImageComponent.d.ts +27 -0
  61. package/dist/src/apps/library-editor/components/edit-images-wrapper/EditImagesWrapperComponent.d.ts +23 -0
  62. package/dist/src/apps/library-editor/components/edit-links/LinkItemComponent.d.ts +16 -0
  63. package/dist/src/apps/library-editor/components/edit-links/VideoLinksComponent.d.ts +23 -0
  64. package/dist/src/apps/library-editor/components/edit-thumbnail/EditThumbnailComponent.d.ts +22 -0
  65. package/dist/src/apps/library-editor/components/edit-video/EditVideoDetailsComponent.d.ts +45 -0
  66. package/dist/src/apps/library-editor/components/edit-video-tabs/EditVideoTabsComponent.d.ts +24 -0
  67. package/dist/src/apps/library-editor/components/expandable-tag-list/ExpandableTagListComponent.d.ts +26 -0
  68. package/dist/src/apps/library-editor/components/file-select/FileSelectComponent.d.ts +30 -0
  69. package/dist/src/apps/library-editor/components/file-uploads/FileUploadComponent.d.ts +15 -0
  70. package/dist/src/apps/library-editor/components/file-uploads/FileUploadsComponentCollection.d.ts +13 -0
  71. package/dist/src/apps/library-editor/components/folder-actions/FolderActionsDropdownComponent.d.ts +18 -0
  72. package/dist/src/apps/library-editor/components/folder-details/FolderDetailsComponent.d.ts +32 -0
  73. package/dist/src/apps/library-editor/components/folder-link-list/FolderLinkComponent.d.ts +14 -0
  74. package/dist/src/apps/library-editor/components/folder-link-list/FolderLinkComponentCollection.d.ts +13 -0
  75. package/dist/src/apps/library-editor/components/folder-select/FolderSelectComponent.d.ts +41 -0
  76. package/dist/src/apps/library-editor/components/index.d.ts +39 -0
  77. package/dist/src/apps/library-editor/components/language-select/LanguageSelectComponent.d.ts +28 -0
  78. package/dist/src/apps/library-editor/components/language-select/LanguageSelectTypeaheadHelper.d.ts +7 -0
  79. package/dist/src/apps/library-editor/components/left-nav-libraries/LeftNavLibrariesComponent.d.ts +42 -0
  80. package/dist/src/apps/library-editor/components/library-actions/LibraryActionsComponent.d.ts +26 -0
  81. package/dist/src/apps/library-editor/components/library-folders/LibraryFolderListComponent.d.ts +31 -0
  82. package/dist/src/apps/library-editor/components/library-select/LibrarySelectComponent.d.ts +27 -0
  83. package/dist/src/apps/library-editor/components/save/SaveComponent.d.ts +32 -0
  84. package/dist/src/apps/library-editor/components/sort-select/SortSelectComponent.d.ts +29 -0
  85. package/dist/src/apps/library-editor/components/sub-folders/SubFolderComponent.d.ts +15 -0
  86. package/dist/src/apps/library-editor/components/sub-folders/SubFoldersComponent.d.ts +9 -0
  87. package/dist/src/apps/library-editor/components/suggest-edit/SuggestEditComponent.d.ts +31 -0
  88. package/dist/src/apps/library-editor/components/tag-list/TagComponentCollection.d.ts +21 -0
  89. package/dist/src/apps/library-editor/components/tag-list/TagItemComponent.d.ts +28 -0
  90. package/dist/src/apps/library-editor/components/tags/TagsComponent.d.ts +30 -0
  91. package/dist/src/apps/library-editor/components/video-collection-actions/VideoCollectionActionsComponent.d.ts +24 -0
  92. package/dist/src/apps/library-editor/components/video-header/VideoHeaderComponent.d.ts +22 -0
  93. package/dist/src/apps/library-editor/components/video-list-header/VideoListHeaderComponent.d.ts +34 -0
  94. package/dist/src/apps/library-editor/components/video-resources/ResourceItemComponent.d.ts +22 -0
  95. package/dist/src/apps/library-editor/components/video-resources/VideoResourcesComponent.d.ts +44 -0
  96. package/dist/src/apps/library-editor/components/video-sidebar-info/VideoSidebarInfoComponent.d.ts +25 -0
  97. package/dist/src/apps/library-editor/components/video-subtitles/SubtitleItemComponent.d.ts +18 -0
  98. package/dist/src/apps/library-editor/components/video-subtitles/VideoSubtitlesComponent.d.ts +26 -0
  99. package/dist/src/apps/library-editor/constants/CheckboxTypes.d.ts +5 -0
  100. package/dist/src/apps/library-editor/constants/EditVideoBackButtonBlacklist.d.ts +1 -0
  101. package/dist/src/apps/library-editor/constants/EditVideoBackButtonKey.d.ts +1 -0
  102. package/dist/src/apps/library-editor/constants/LibraryEditorActions.d.ts +18 -0
  103. package/dist/src/apps/library-editor/constants/LibraryEditorRadioChannels.d.ts +3 -0
  104. package/dist/src/apps/library-editor/constants/MetadataTypes.d.ts +32 -0
  105. package/dist/src/apps/library-editor/constants/VideoCollectionTypes.d.ts +2 -0
  106. package/dist/src/apps/library-editor/constants/index.d.ts +7 -0
  107. package/dist/src/apps/library-editor/enums/MediaConcatenateStatus.d.ts +8 -0
  108. package/dist/src/apps/library-editor/enums/ObjectOwnerType.d.ts +4 -0
  109. package/dist/src/apps/library-editor/enums/TagBehavior.d.ts +6 -0
  110. package/dist/src/apps/library-editor/enums/TagOrientation.d.ts +4 -0
  111. package/dist/src/apps/library-editor/enums/index.d.ts +4 -0
  112. package/dist/src/apps/library-editor/errors/folder-empty/FolderEmptyError.d.ts +8 -0
  113. package/dist/src/apps/library-editor/errors/folder-max-depth/FolderMaxDepthError.d.ts +7 -0
  114. package/dist/src/apps/library-editor/errors/folder-not-empty/FolderNotEmptyError.d.ts +7 -0
  115. package/dist/src/apps/library-editor/errors/folder-not-found/FolderNotFound.d.ts +6 -0
  116. package/dist/src/apps/library-editor/errors/forbidden-folder/ForbiddenFolderError.d.ts +6 -0
  117. package/dist/src/apps/library-editor/errors/forbidden-video/ForbiddenVideoError.d.ts +6 -0
  118. package/dist/src/apps/library-editor/errors/image-dimensions-too-small/ImageDimensionsTooSmallError.d.ts +9 -0
  119. package/dist/src/apps/library-editor/errors/index.d.ts +15 -0
  120. package/dist/src/apps/library-editor/errors/library-has-subscribers/LibraryHasSubscribersError.d.ts +7 -0
  121. package/dist/src/apps/library-editor/errors/library-not-empty/LibraryNotEmptyError.d.ts +7 -0
  122. package/dist/src/apps/library-editor/errors/max-custom-libraries/MaxCustomLibrariesError.d.ts +9 -0
  123. package/dist/src/apps/library-editor/errors/series-not-found/SeriesNotFoundError.d.ts +6 -0
  124. package/dist/src/apps/library-editor/errors/too-many-resources/TooManyResourcesError.d.ts +8 -0
  125. package/dist/src/apps/library-editor/errors/too-many-subtitles/TooManySubtitlesError.d.ts +8 -0
  126. package/dist/src/apps/library-editor/errors/video-not-found/VideoNotFoundError.d.ts +6 -0
  127. package/dist/src/apps/library-editor/errors/video-write-permission/VideoWritePermissionError.d.ts +6 -0
  128. package/dist/src/apps/library-editor/models/ChapterConcatenateRequest.d.ts +3 -0
  129. package/dist/src/apps/library-editor/models/index.d.ts +1 -0
  130. package/dist/src/apps/library-editor/services/ChapterDataService.d.ts +15 -0
  131. package/dist/src/apps/library-editor/services/CompanyDataService.d.ts +7 -0
  132. package/dist/src/apps/library-editor/services/ExportDataService.d.ts +11 -0
  133. package/dist/src/apps/library-editor/services/FieldsDataService.d.ts +11 -0
  134. package/dist/src/apps/library-editor/services/FolderDragDropService.d.ts +27 -0
  135. package/dist/src/apps/library-editor/services/LibraryDataService.d.ts +62 -0
  136. package/dist/src/apps/library-editor/services/LinkDataService.d.ts +14 -0
  137. package/dist/src/apps/library-editor/services/PersonDataService.d.ts +7 -0
  138. package/dist/src/apps/library-editor/services/RatingsDataService.d.ts +7 -0
  139. package/dist/src/apps/library-editor/services/ResourceDataService.d.ts +13 -0
  140. package/dist/src/apps/library-editor/services/SeriesDataService.d.ts +14 -0
  141. package/dist/src/apps/library-editor/services/SubtitleDataService.d.ts +11 -0
  142. package/dist/src/apps/library-editor/services/TagDataService.d.ts +9 -0
  143. package/dist/src/apps/library-editor/services/VideoDataService.d.ts +39 -0
  144. package/dist/src/apps/library-editor/services/VideoDragDropService.d.ts +21 -0
  145. package/dist/src/apps/library-editor/services/index.d.ts +15 -0
  146. package/dist/src/apps/library-editor/utils/AddToLibraryCacheHelper.d.ts +4 -0
  147. package/dist/src/apps/library-editor/utils/ChapterHelper.d.ts +18 -0
  148. package/dist/src/apps/library-editor/utils/DownloadHelper.d.ts +3 -0
  149. package/dist/src/apps/library-editor/utils/EditVideoHelpers.d.ts +93 -0
  150. package/dist/src/apps/library-editor/utils/FolderValidation.d.ts +2 -0
  151. package/dist/src/apps/library-editor/utils/LanguageValidation.d.ts +2 -0
  152. package/dist/src/apps/library-editor/utils/LibraryValidation.d.ts +2 -0
  153. package/dist/src/apps/library-editor/utils/UploadVideoValidation.d.ts +2 -0
  154. package/dist/src/apps/library-editor/utils/VideoDetailsHelper.d.ts +16 -0
  155. package/dist/src/apps/library-editor/utils/index.d.ts +8 -0
  156. package/dist/src/apps/library-editor/views/add-to-exchange/AddToExchangeView.d.ts +33 -0
  157. package/dist/src/apps/library-editor/views/banner-upload/BannerUploadView.d.ts +32 -0
  158. package/dist/src/apps/library-editor/views/delete-folder/DeleteFolderView.d.ts +28 -0
  159. package/dist/src/apps/library-editor/views/delete-library/DeleteLibraryView.d.ts +23 -0
  160. package/dist/src/apps/library-editor/views/delete-videos/DeleteVideosView.d.ts +29 -0
  161. package/dist/src/apps/library-editor/views/edit-chapters/EditChaptersView.d.ts +71 -0
  162. package/dist/src/apps/library-editor/views/edit-folder-images/EditFolderImagesView.d.ts +50 -0
  163. package/dist/src/apps/library-editor/views/edit-library/RenameLibraryView.d.ts +29 -0
  164. package/dist/src/apps/library-editor/views/edit-link/EditLinkView.d.ts +30 -0
  165. package/dist/src/apps/library-editor/views/edit-resource/EditResourceView.d.ts +34 -0
  166. package/dist/src/apps/library-editor/views/edit-resources/EditResourcesView.d.ts +92 -0
  167. package/dist/src/apps/library-editor/views/edit-video/EditVideoView.d.ts +125 -0
  168. package/dist/src/apps/library-editor/views/generate-pdf/GeneratePdfView.d.ts +35 -0
  169. package/dist/src/apps/library-editor/views/left-navigation/LeftNavigationView.d.ts +33 -0
  170. package/dist/src/apps/library-editor/views/library/LibraryView.d.ts +31 -0
  171. package/dist/src/apps/library-editor/views/move-folder/MoveFolderView.d.ts +44 -0
  172. package/dist/src/apps/library-editor/views/move-video/MoveVideoView.d.ts +38 -0
  173. package/dist/src/apps/library-editor/views/new-folder/NewFolderView.d.ts +43 -0
  174. package/dist/src/apps/library-editor/views/new-library/NewLibraryView.d.ts +26 -0
  175. package/dist/src/apps/library-editor/views/no-library/NoLibraryView.d.ts +10 -0
  176. package/dist/src/apps/library-editor/views/publish-library/PublishLibraryView.d.ts +19 -0
  177. package/dist/src/apps/library-editor/views/rename-folder/RenameFolderView.d.ts +39 -0
  178. package/dist/src/apps/library-editor/views/suggest-an-edit/SuggestAnEditView.d.ts +58 -0
  179. package/dist/src/apps/library-editor/views/thumbnail-upload/ThumbnailUploadView.d.ts +33 -0
  180. package/dist/src/apps/library-editor/views/video-collection/VideoCollectionView.d.ts +93 -0
  181. package/dist/src/apps/library-editor/views/video-details/VideoDetailsView.d.ts +44 -0
  182. package/dist/src/apps/migration-wizard/MigrationWizardApplication.d.ts +45 -0
  183. package/dist/src/apps/migration-wizard/collections/HomeFolderCollection.d.ts +6 -0
  184. package/dist/src/apps/migration-wizard/collections/SmartSelectVideoCollection.d.ts +5 -0
  185. package/dist/src/apps/migration-wizard/collections/index.d.ts +1 -0
  186. package/dist/src/apps/migration-wizard/components/banner/BannerComponent.d.ts +18 -0
  187. package/dist/src/apps/migration-wizard/components/empty-video-list/EmptyVideoListComponent.d.ts +14 -0
  188. package/dist/src/apps/migration-wizard/components/errored-video-actions/ErroredVideoActionsComponent.d.ts +22 -0
  189. package/dist/src/apps/migration-wizard/components/errored-video-footer/ErroredVideoFooterComponent.d.ts +21 -0
  190. package/dist/src/apps/migration-wizard/components/errored-video-item/ErroredVideoItemComponent.d.ts +30 -0
  191. package/dist/src/apps/migration-wizard/components/errored-video-list/ErroredVideoListComponent.d.ts +12 -0
  192. package/dist/src/apps/migration-wizard/components/errored-video-metadata/ErroredVideoMetadataComponent.d.ts +8 -0
  193. package/dist/src/apps/migration-wizard/components/errored-video-preview/ErroredVideoPreviewComponent.d.ts +17 -0
  194. package/dist/src/apps/migration-wizard/components/generate-report/GenerateReportComponent.d.ts +25 -0
  195. package/dist/src/apps/migration-wizard/components/generate-report-button/GenerateReportButtonComponent.d.ts +10 -0
  196. package/dist/src/apps/migration-wizard/components/index.d.ts +13 -0
  197. package/dist/src/apps/migration-wizard/components/migration-video-item/MigrationVideoItemComponent.d.ts +30 -0
  198. package/dist/src/apps/migration-wizard/components/progress-bar/ProgressBarComponent.d.ts +19 -0
  199. package/dist/src/apps/migration-wizard/components/progress-circle/ProgressCircleComponent.d.ts +20 -0
  200. package/dist/src/apps/migration-wizard/components/search-bar/SearchBarComponent.d.ts +19 -0
  201. package/dist/src/apps/migration-wizard/components/selected-video-item/SelectedVideoItemComponent.d.ts +9 -0
  202. package/dist/src/apps/migration-wizard/components/sorting-row/SortingRowComponent.d.ts +35 -0
  203. package/dist/src/apps/migration-wizard/components/status-bar/StatusBarComponent.d.ts +28 -0
  204. package/dist/src/apps/migration-wizard/components/video-list/VideoListCollection.d.ts +36 -0
  205. package/dist/src/apps/migration-wizard/components/video-list-collection/VideoListCollectionComponent.d.ts +16 -0
  206. package/dist/src/apps/migration-wizard/contants/MigrationErrorActions.d.ts +4 -0
  207. package/dist/src/apps/migration-wizard/contants/MigrationViewModels.d.ts +4 -0
  208. package/dist/src/apps/migration-wizard/enums/CloudSyncStatus.d.ts +12 -0
  209. package/dist/src/apps/migration-wizard/enums/FinalisationTaskStatus.d.ts +5 -0
  210. package/dist/src/apps/migration-wizard/enums/FinalisationType.d.ts +6 -0
  211. package/dist/src/apps/migration-wizard/enums/LocalOption.d.ts +4 -0
  212. package/dist/src/apps/migration-wizard/enums/MigrationOption.d.ts +7 -0
  213. package/dist/src/apps/migration-wizard/enums/MigrationReportType.d.ts +6 -0
  214. package/dist/src/apps/migration-wizard/enums/SortField.d.ts +5 -0
  215. package/dist/src/apps/migration-wizard/enums/ValidationResult.d.ts +32 -0
  216. package/dist/src/apps/migration-wizard/enums/ValidationResultErrorType.d.ts +5 -0
  217. package/dist/src/apps/migration-wizard/enums/VideoMigrationStatus.d.ts +5 -0
  218. package/dist/src/apps/migration-wizard/enums/index.d.ts +7 -0
  219. package/dist/src/apps/migration-wizard/errors/already-migrated/AlreadyMigratedError.d.ts +6 -0
  220. package/dist/src/apps/migration-wizard/errors/backup-progress/BackupProgressError.d.ts +8 -0
  221. package/dist/src/apps/migration-wizard/errors/index.d.ts +6 -0
  222. package/dist/src/apps/migration-wizard/errors/migration-finalisation/MigrationFinalisationError.d.ts +8 -0
  223. package/dist/src/apps/migration-wizard/errors/migration-progress/MigrationProgressError.d.ts +8 -0
  224. package/dist/src/apps/migration-wizard/errors/smart-migration-api-call/SmartMigrationApiCallError.d.ts +9 -0
  225. package/dist/src/apps/migration-wizard/filters/MigrationFilters.d.ts +8 -0
  226. package/dist/src/apps/migration-wizard/filters/index.d.ts +1 -0
  227. package/dist/src/apps/migration-wizard/interfaces/SelectedVideos.d.ts +7 -0
  228. package/dist/src/apps/migration-wizard/models/BackupToolBuild.d.ts +3 -0
  229. package/dist/src/apps/migration-wizard/models/CustomerMetadata.d.ts +9 -0
  230. package/dist/src/apps/migration-wizard/models/FinalisationTask.d.ts +3 -0
  231. package/dist/src/apps/migration-wizard/models/HomeFolder.d.ts +8 -0
  232. package/dist/src/apps/migration-wizard/models/MigrationOptions.d.ts +3 -0
  233. package/dist/src/apps/migration-wizard/models/SelectedVideo.d.ts +3 -0
  234. package/dist/src/apps/migration-wizard/models/SmartSelectVideo.d.ts +4 -0
  235. package/dist/src/apps/migration-wizard/models/VideoCount.d.ts +3 -0
  236. package/dist/src/apps/migration-wizard/models/index.d.ts +8 -0
  237. package/dist/src/apps/migration-wizard/services/FolderCacheService.d.ts +22 -0
  238. package/dist/src/apps/migration-wizard/services/LocalOptionsService.d.ts +10 -0
  239. package/dist/src/apps/migration-wizard/services/MigrationVideoDataService.d.ts +56 -0
  240. package/dist/src/apps/migration-wizard/services/SelectedVideoService.d.ts +19 -0
  241. package/dist/src/apps/migration-wizard/services/index.d.ts +4 -0
  242. package/dist/src/apps/migration-wizard/utils/FolderHelper.d.ts +8 -0
  243. package/dist/src/apps/migration-wizard/utils/KeyContactHelper.d.ts +6 -0
  244. package/dist/src/apps/migration-wizard/utils/MigrationErrorHelper.d.ts +3 -0
  245. package/dist/src/apps/migration-wizard/utils/MigrationHelper.d.ts +41 -0
  246. package/dist/src/apps/migration-wizard/utils/MigrationRadioChannels.d.ts +4 -0
  247. package/dist/src/apps/migration-wizard/utils/MigrationWarningsSvgs.d.ts +3 -0
  248. package/dist/src/apps/migration-wizard/utils/ReportHelper.d.ts +9 -0
  249. package/dist/src/apps/migration-wizard/utils/VideoHelper.d.ts +29 -0
  250. package/dist/src/apps/migration-wizard/views/current-section-header/CurrentSectionHeaderView.d.ts +28 -0
  251. package/dist/src/apps/migration-wizard/views/generate-csv-report/GenerateCsvReportView.d.ts +27 -0
  252. package/dist/src/apps/migration-wizard/views/index.d.ts +13 -0
  253. package/dist/src/apps/migration-wizard/views/migration-error/MigrationErrorView.d.ts +39 -0
  254. package/dist/src/apps/migration-wizard/views/migration-progress/MigrationProgressView.d.ts +32 -0
  255. package/dist/src/apps/migration-wizard/views/publish-library-banner/PublishLibraryBannerView.d.ts +30 -0
  256. package/dist/src/apps/migration-wizard/views/publish-library-complete/PublishLibraryCompleteView.d.ts +15 -0
  257. package/dist/src/apps/migration-wizard/views/publish-library-progress/PublishLibraryProgressView.d.ts +18 -0
  258. package/dist/src/apps/migration-wizard/views/publisher-backup/PublisherBackupView.d.ts +19 -0
  259. package/dist/src/apps/migration-wizard/views/publisher-backup-complete/PublisherBackupCompleteView.d.ts +23 -0
  260. package/dist/src/apps/migration-wizard/views/publisher-backup-progress/PublisherBackupProgressView.d.ts +23 -0
  261. package/dist/src/apps/migration-wizard/views/publisher-backup-welcome/PublisherBackupWelcomeView.d.ts +19 -0
  262. package/dist/src/apps/migration-wizard/views/remigrate-video/RemigrateVideoView.d.ts +32 -0
  263. package/dist/src/apps/migration-wizard/views/selected-videos/SelectedVideosView.d.ts +32 -0
  264. package/dist/src/apps/migration-wizard/views/show-video-popup/ShowPublisherVideoPopupView.d.ts +26 -0
  265. package/dist/src/apps/migration-wizard/views/smart-migration/SmartMigrationView.d.ts +58 -0
  266. package/dist/src/apps/migration-wizard/views/start/StartView.d.ts +40 -0
  267. package/dist/src/apps/migration-wizard/views/videos-added/VideosAddedView.d.ts +24 -0
  268. package/dist/src/apps/notifications/NotificationsApplication.d.ts +11 -0
  269. package/dist/src/apps/notifications/collections/NotificationCollection.d.ts +6 -0
  270. package/dist/src/apps/notifications/components/index.d.ts +3 -0
  271. package/dist/src/apps/notifications/components/notification-items/notification-item/NotificationItemComponent.d.ts +23 -0
  272. package/dist/src/apps/notifications/components/notification-list/NotificationListComponent.d.ts +26 -0
  273. package/dist/src/apps/notifications/components/notification-status/NotificationStatusComponent.d.ts +9 -0
  274. package/dist/src/apps/notifications/models/Notification.d.ts +3 -0
  275. package/dist/src/apps/notifications/models/index.d.ts +1 -0
  276. package/dist/src/apps/notifications/services/NotificationDataService.d.ts +14 -0
  277. package/dist/src/apps/notifications/services/NotificationService.d.ts +33 -0
  278. package/dist/src/apps/notifications/services/NotificationSocketService.d.ts +8 -0
  279. package/dist/src/apps/notifications/services/data-providers/NotificationsSocketDataProvider.d.ts +4 -0
  280. package/dist/src/apps/notifications/services/index.d.ts +4 -0
  281. package/dist/src/apps/notifications/utils/Constants.d.ts +55 -0
  282. package/dist/src/apps/notifications/utils/NotificationAppLinkHelper.d.ts +10 -0
  283. package/dist/src/apps/notifications/utils/NotificationsHelper.d.ts +19 -0
  284. package/dist/src/apps/notifications/utils/index.d.ts +3 -0
  285. package/dist/src/apps/notifications/views/header/NotificationHeaderView.d.ts +14 -0
  286. package/dist/src/apps/notifications/views/index.d.ts +3 -0
  287. package/dist/src/apps/notifications/views/notifications/NotificationsView.d.ts +26 -0
  288. package/dist/src/apps/notifications/views/popover/NotificationsPopoverView.d.ts +33 -0
  289. package/dist/src/apps/search/SearchApplication.d.ts +16 -0
  290. package/dist/src/apps/search/collections/FilterCollection.d.ts +9 -0
  291. package/dist/src/apps/search/collections/OptionCollection.d.ts +5 -0
  292. package/dist/src/apps/search/collections/index.d.ts +2 -0
  293. package/dist/src/apps/search/components/filters/FiltersComponent.d.ts +27 -0
  294. package/dist/src/apps/search/components/filters/filter-button-list/FilterButtonItemComponent.d.ts +37 -0
  295. package/dist/src/apps/search/components/filters/filter-button-list/FilterButtonListComponent.d.ts +19 -0
  296. package/dist/src/apps/search/components/filters/filter-button-list/index.d.ts +2 -0
  297. package/dist/src/apps/search/components/filters/filter-list/FilterItemComponent.d.ts +17 -0
  298. package/dist/src/apps/search/components/filters/filter-list/FilterListComponent.d.ts +24 -0
  299. package/dist/src/apps/search/components/filters/filter-options/FilterOptionsComponent.d.ts +34 -0
  300. package/dist/src/apps/search/components/filters/filter-options/bool-filter-options/BoolFilterOptionsComponent.d.ts +15 -0
  301. package/dist/src/apps/search/components/filters/filter-options/duration-filter-options/DurationFilterOptionListComponent.d.ts +27 -0
  302. package/dist/src/apps/search/components/filters/filter-options/filter-option-list/FilterOptionItemComponent.d.ts +19 -0
  303. package/dist/src/apps/search/components/filters/filter-options/filter-option-list/FilterOptionsListComponent.d.ts +21 -0
  304. package/dist/src/apps/search/components/filters/filter-options/index.d.ts +7 -0
  305. package/dist/src/apps/search/components/filters/filter-options/range-filter-options/RangeFilterOptionListComponent.d.ts +23 -0
  306. package/dist/src/apps/search/components/filters/filter-options/tag-filter-options/TagFilterOptionsComponent.d.ts +27 -0
  307. package/dist/src/apps/search/components/filters/filter-options/tag-filter-options/TagFilterOptionsListComponent.d.ts +19 -0
  308. package/dist/src/apps/search/components/filters/index.d.ts +3 -0
  309. package/dist/src/apps/search/components/filters/more-filters-button/MoreFiltersButtonComponent.d.ts +42 -0
  310. package/dist/src/apps/search/components/index.d.ts +2 -0
  311. package/dist/src/apps/search/components/instant-search/index.d.ts +4 -0
  312. package/dist/src/apps/search/components/instant-search/recent-search/RecentSearchResultComponent.d.ts +15 -0
  313. package/dist/src/apps/search/components/instant-search/series/SeriesSearchResultComponent.d.ts +9 -0
  314. package/dist/src/apps/search/components/instant-search/tag/TagSearchResultComponent.d.ts +9 -0
  315. package/dist/src/apps/search/components/instant-search/video-result/VideoSearchResultComponent.d.ts +15 -0
  316. package/dist/src/apps/search/components/results/SearchResultsComponent.d.ts +22 -0
  317. package/dist/src/apps/search/components/search-context/SearchContextComponent.d.ts +18 -0
  318. package/dist/src/apps/search/components/search-header/SearchHeaderComponent.d.ts +11 -0
  319. package/dist/src/apps/search/components/search-tips/SearchTipsComponent.d.ts +11 -0
  320. package/dist/src/apps/search/constants/SearchRadioChannels.d.ts +3 -0
  321. package/dist/src/apps/search/constants/index.d.ts +1 -0
  322. package/dist/src/apps/search/models/Filter.d.ts +8 -0
  323. package/dist/src/apps/search/models/Option.d.ts +4 -0
  324. package/dist/src/apps/search/models/Query.d.ts +3 -0
  325. package/dist/src/apps/search/models/index.d.ts +3 -0
  326. package/dist/src/apps/search/services/ContextualSearchService.d.ts +37 -0
  327. package/dist/src/apps/search/services/SearchDataService.d.ts +12 -0
  328. package/dist/src/apps/search/services/index.d.ts +2 -0
  329. package/dist/src/apps/search/utils/Constants.d.ts +28 -0
  330. package/dist/src/apps/search/utils/Enums.d.ts +41 -0
  331. package/dist/src/apps/search/utils/FilterHelper.d.ts +2 -0
  332. package/dist/src/apps/search/utils/FilterLabelGenerators.d.ts +2 -0
  333. package/dist/src/apps/search/utils/FilterQueryGenerators.d.ts +2 -0
  334. package/dist/src/apps/search/utils/FilterRouteQueryParamGenerators.d.ts +2 -0
  335. package/dist/src/apps/search/utils/SearchHelper.d.ts +13 -0
  336. package/dist/src/apps/search/utils/index.d.ts +4 -0
  337. package/dist/src/apps/search/views/search/SearchView.d.ts +56 -0
  338. package/dist/src/apps/search/views/search-bar/SearchBarView.d.ts +102 -0
  339. package/dist/src/apps/search/views/search-bar/templates/index.d.ts +9 -0
  340. package/dist/src/apps/staff-requests/StaffRequestsApplication.d.ts +15 -0
  341. package/dist/src/apps/staff-requests/collections/StaffRequestCollection.d.ts +5 -0
  342. package/dist/src/apps/staff-requests/collections/StaffRequestMessageCollection.d.ts +5 -0
  343. package/dist/src/apps/staff-requests/collections/index.d.ts +2 -0
  344. package/dist/src/apps/staff-requests/components/staff-request-actions/StaffRequestActionsComponent.d.ts +40 -0
  345. package/dist/src/apps/staff-requests/components/staff-request-details/StaffRequestDetailsComponent.d.ts +29 -0
  346. package/dist/src/apps/staff-requests/components/staff-request-list/StaffRequestListComponent.d.ts +29 -0
  347. package/dist/src/apps/staff-requests/enums/StaffRequestStatus.d.ts +5 -0
  348. package/dist/src/apps/staff-requests/enums/index.d.ts +1 -0
  349. package/dist/src/apps/staff-requests/models/StaffRequest.d.ts +14 -0
  350. package/dist/src/apps/staff-requests/models/StaffRequestMessage.d.ts +7 -0
  351. package/dist/src/apps/staff-requests/models/index.d.ts +2 -0
  352. package/dist/src/apps/staff-requests/services/StaffRequestDataService.d.ts +14 -0
  353. package/dist/src/apps/staff-requests/services/index.d.ts +1 -0
  354. package/dist/src/apps/staff-requests/utils/StaffRequestApprovalValidation.d.ts +2 -0
  355. package/dist/src/apps/staff-requests/utils/StaffRequestRejectionValidation.d.ts +2 -0
  356. package/dist/src/apps/staff-requests/utils/index.d.ts +2 -0
  357. package/dist/src/apps/staff-requests/views/approve-staff-request/ApproveStaffRequestView.d.ts +34 -0
  358. package/dist/src/apps/staff-requests/views/reject-staff-request/RejectStaffRequestView.d.ts +34 -0
  359. package/dist/src/apps/staff-requests/views/staff-requests/StaffRequestsView.d.ts +41 -0
  360. package/dist/src/apps/upload/UploadApplication.d.ts +23 -0
  361. package/dist/src/apps/upload/components/index.d.ts +7 -0
  362. package/dist/src/apps/upload/components/processing-progress/ProcessProgressComponentCollection.d.ts +38 -0
  363. package/dist/src/apps/upload/components/progress-info/ProgressInfoComponent.d.ts +10 -0
  364. package/dist/src/apps/upload/components/upload-actions/UploadActionsComponent.d.ts +21 -0
  365. package/dist/src/apps/upload/components/upload-folder-select/UploadFolderSelectComponent.d.ts +33 -0
  366. package/dist/src/apps/upload/components/upload-progress/UploadProgressComponent.d.ts +10 -0
  367. package/dist/src/apps/upload/components/upload-video/UploadVideoComponent.d.ts +46 -0
  368. package/dist/src/apps/upload/components/upload-video/UploadVideoComponentCollection.d.ts +18 -0
  369. package/dist/src/apps/upload/enums/FileLifestyle.d.ts +4 -0
  370. package/dist/src/apps/upload/enums/PendingItemStatus.d.ts +5 -0
  371. package/dist/src/apps/upload/errors/index.d.ts +2 -0
  372. package/dist/src/apps/upload/errors/internet-connectivity/InternetConnectivityError.d.ts +7 -0
  373. package/dist/src/apps/upload/errors/no-libraries-upload/NoLibrariesUploadError.d.ts +7 -0
  374. package/dist/src/apps/upload/services/DropzoneWrapper.d.ts +30 -0
  375. package/dist/src/apps/upload/services/ImageUploadDataService.d.ts +8 -0
  376. package/dist/src/apps/upload/services/PendingItemsService.d.ts +23 -0
  377. package/dist/src/apps/upload/services/UploadService.d.ts +64 -0
  378. package/dist/src/apps/upload/services/VideoUploadDataService.d.ts +16 -0
  379. package/dist/src/apps/upload/services/index.d.ts +5 -0
  380. package/dist/src/apps/upload/utils/PendingItemsHelper.d.ts +9 -0
  381. package/dist/src/apps/upload/utils/index.d.ts +1 -0
  382. package/dist/src/apps/upload/views/file-select/FileSelectView.d.ts +25 -0
  383. package/dist/src/apps/upload/views/progress-summary/ProgressSummaryView.d.ts +18 -0
  384. package/dist/src/apps/upload/views/upload-button/UploadButtonView.d.ts +26 -0
  385. package/dist/src/apps/upload/views/upload-complete/UploadCompleteView.d.ts +14 -0
  386. package/dist/src/apps/upload/views/upload-videos/UploadVideosView.d.ts +61 -0
  387. package/dist/src/apps/video-access/VideoAccessApplication.d.ts +12 -0
  388. package/dist/src/apps/video-access/views/restricted-video-list/RestrictedVideoListView.d.ts +34 -0
  389. package/dist/src/index.d.ts +3 -0
  390. package/dist/src/shared/alerts/VideoAlerts.d.ts +8 -0
  391. package/dist/src/shared/alerts/index.d.ts +1 -0
  392. package/dist/src/shared/behaviors/backbone-validation/BackboneValidationBehavior.d.ts +14 -0
  393. package/dist/src/shared/behaviors/empty-state/EmptyStateBehavior.d.ts +22 -0
  394. package/dist/src/shared/behaviors/file-drop/FileDropBehavior.d.ts +19 -0
  395. package/dist/src/shared/behaviors/file-drop/FileDropHelper.d.ts +4 -0
  396. package/dist/src/shared/behaviors/file-drop/FileDropMaskBehavior.d.ts +19 -0
  397. package/dist/src/shared/behaviors/file-select/FileSelectBehavior.d.ts +16 -0
  398. package/dist/src/shared/behaviors/image-select-behavior/ImageSelectBehavior.d.ts +23 -0
  399. package/dist/src/shared/behaviors/index.d.ts +12 -0
  400. package/dist/src/shared/behaviors/lazy-load/LazyLoadBehavior.d.ts +31 -0
  401. package/dist/src/shared/behaviors/lock-layout-file-drop/LockLayoutFileDropBehavior.d.ts +7 -0
  402. package/dist/src/shared/behaviors/popover/PopoverBehavior.d.ts +40 -0
  403. package/dist/src/shared/behaviors/popup/PopupBehavior.d.ts +65 -0
  404. package/dist/src/shared/behaviors/stickit/StickitBehavior.d.ts +6 -0
  405. package/dist/src/shared/behaviors/tooltip/TooltipBehavior.d.ts +12 -0
  406. package/dist/src/shared/collections/ChannelCollection.d.ts +6 -0
  407. package/dist/src/shared/collections/ChapterCollection.d.ts +7 -0
  408. package/dist/src/shared/collections/DirectorCollection.d.ts +6 -0
  409. package/dist/src/shared/collections/DistributorCollection.d.ts +6 -0
  410. package/dist/src/shared/collections/FieldsCollection.d.ts +5 -0
  411. package/dist/src/shared/collections/FolderCollection.d.ts +7 -0
  412. package/dist/src/shared/collections/InteractivesCollection.d.ts +6 -0
  413. package/dist/src/shared/collections/LibraryCollection.d.ts +7 -0
  414. package/dist/src/shared/collections/LinkCollection.d.ts +6 -0
  415. package/dist/src/shared/collections/LocalCacheDeviceCollection.d.ts +5 -0
  416. package/dist/src/shared/collections/LocalCacheDownloadCollection.d.ts +5 -0
  417. package/dist/src/shared/collections/MetadataCollection.d.ts +4 -0
  418. package/dist/src/shared/collections/PendingItemsCollection.d.ts +8 -0
  419. package/dist/src/shared/collections/ProducerCollection.d.ts +6 -0
  420. package/dist/src/shared/collections/ProductionCompanyCollection.d.ts +6 -0
  421. package/dist/src/shared/collections/RatingCollection.d.ts +4 -0
  422. package/dist/src/shared/collections/ResourceCollection.d.ts +6 -0
  423. package/dist/src/shared/collections/RestrictedObjectCollection.d.ts +5 -0
  424. package/dist/src/shared/collections/RestrictionCollection.d.ts +5 -0
  425. package/dist/src/shared/collections/SeasonCollection.d.ts +6 -0
  426. package/dist/src/shared/collections/SettingsCollection.d.ts +5 -0
  427. package/dist/src/shared/collections/SubtitleCollection.d.ts +6 -0
  428. package/dist/src/shared/collections/TagCollection.d.ts +6 -0
  429. package/dist/src/shared/collections/VideoCollection.d.ts +6 -0
  430. package/dist/src/shared/collections/index.d.ts +24 -0
  431. package/dist/src/shared/components/alert/AlertComponentCollection.d.ts +11 -0
  432. package/dist/src/shared/components/alert/AlertItemComponent.d.ts +44 -0
  433. package/dist/src/shared/components/breadcrumbs/BreadcrumbComponentCollection.d.ts +18 -0
  434. package/dist/src/shared/components/breadcrumbs/BreadcrumbsComponent.d.ts +26 -0
  435. package/dist/src/shared/components/bulk-video-actions/BulkVideoActionsComponent.d.ts +26 -0
  436. package/dist/src/shared/components/checkbox/BulkCheckboxComponent.d.ts +27 -0
  437. package/dist/src/shared/components/checkbox/CheckboxComponent.d.ts +25 -0
  438. package/dist/src/shared/components/clear-button/ClearButtonComponent.d.ts +18 -0
  439. package/dist/src/shared/components/date-picker/DatePickerComponent.d.ts +47 -0
  440. package/dist/src/shared/components/dialog/DialogView.d.ts +34 -0
  441. package/dist/src/shared/components/dropdown/DropdownButtonComponent.d.ts +36 -0
  442. package/dist/src/shared/components/dropdown/DropdownComponentCollection.d.ts +38 -0
  443. package/dist/src/shared/components/dropdown/DropdownItemComponent.d.ts +57 -0
  444. package/dist/src/shared/components/edit-video/edit-additional-info/EditAdditionalInfoComponent.d.ts +37 -0
  445. package/dist/src/shared/components/edit-video/edit-basic-info/EditBasicInfoComponent.d.ts +32 -0
  446. package/dist/src/shared/components/edit-video/edit-broadcast/EditBroadcastComponent.d.ts +22 -0
  447. package/dist/src/shared/components/edit-video/edit-broadcast/ToggleBroadcastComponent.d.ts +24 -0
  448. package/dist/src/shared/components/edit-video/edit-production-info/EditProductionInfoComponent.d.ts +61 -0
  449. package/dist/src/shared/components/edit-video/edit-season-info/EditSeasonInfoComponent.d.ts +33 -0
  450. package/dist/src/shared/components/edit-video/extra-info/ExtraInfoComponent.d.ts +16 -0
  451. package/dist/src/shared/components/edit-video/extra-info/ExtraInfoItemComponent.d.ts +17 -0
  452. package/dist/src/shared/components/edit-video/select-rating/SelectRatingCollectionComponent.d.ts +17 -0
  453. package/dist/src/shared/components/edit-video/select-rating/SelectRatingComponent.d.ts +40 -0
  454. package/dist/src/shared/components/edit-video/select-rating/SelectRatingItemComponent.d.ts +20 -0
  455. package/dist/src/shared/components/empty-state/EmptyStateComponent.d.ts +24 -0
  456. package/dist/src/shared/components/fields/FieldsComponent.d.ts +9 -0
  457. package/dist/src/shared/components/image-cropper/ImageCropperComponent.d.ts +34 -0
  458. package/dist/src/shared/components/index.d.ts +46 -0
  459. package/dist/src/shared/components/left-nav/LeftNavComponent.d.ts +27 -0
  460. package/dist/src/shared/components/left-nav/LeftNavNodeComponent.d.ts +47 -0
  461. package/dist/src/shared/components/page-footer/PageFooterComponent.d.ts +15 -0
  462. package/dist/src/shared/components/page-header/PageHeaderComponent.d.ts +25 -0
  463. package/dist/src/shared/components/pagination/PaginationComponent.d.ts +28 -0
  464. package/dist/src/shared/components/partial-loading/PartialLoadingComponent.d.ts +16 -0
  465. package/dist/src/shared/components/partial-loading/PartialLoadingComponentCollection.d.ts +20 -0
  466. package/dist/src/shared/components/partial-loading/index.d.ts +2 -0
  467. package/dist/src/shared/components/resizing-text-area/ResizingTextAreaComponent.d.ts +23 -0
  468. package/dist/src/shared/components/select/SelectComponent.d.ts +54 -0
  469. package/dist/src/shared/components/spinner-button/SpinnerButtonComponent.d.ts +73 -0
  470. package/dist/src/shared/components/tabs/TabsComponent.d.ts +28 -0
  471. package/dist/src/shared/components/thumbnail/ThumbnailComponent.d.ts +32 -0
  472. package/dist/src/shared/components/top-navigation/TopNavigationComponentCollection.d.ts +29 -0
  473. package/dist/src/shared/components/typeahead-input/SearchTypeaheadComponent.d.ts +74 -0
  474. package/dist/src/shared/components/typeahead-input/templates/index.d.ts +4 -0
  475. package/dist/src/shared/components/typeahead-list/TypeaheadListComponent.d.ts +33 -0
  476. package/dist/src/shared/components/user-options-dropdown/UserOptionsDropdownComponent.d.ts +20 -0
  477. package/dist/src/shared/components/video-actions/VideoActionComponentCollection.d.ts +31 -0
  478. package/dist/src/shared/components/video-actions/VideoActionsComponent.d.ts +37 -0
  479. package/dist/src/shared/components/video-basic-info/VideoBasicInfoComponent.d.ts +32 -0
  480. package/dist/src/shared/components/video-description/VideoDescriptionComponent.d.ts +33 -0
  481. package/dist/src/shared/components/video-item/VideoItemComponent.d.ts +53 -0
  482. package/dist/src/shared/components/video-item/index.d.ts +4 -0
  483. package/dist/src/shared/components/video-item/utils/VideoItemBehaviors.d.ts +4 -0
  484. package/dist/src/shared/components/video-item/utils/VideoItemComponentHelper.d.ts +8 -0
  485. package/dist/src/shared/components/video-item/utils/VideoItemComponentTypes.d.ts +16 -0
  486. package/dist/src/shared/components/video-item/utils/VideoItemComponents.d.ts +7 -0
  487. package/dist/src/shared/components/video-item/utils/index.d.ts +3 -0
  488. package/dist/src/shared/components/video-item/video-item-actions/base/VideoItemActionsComponent.d.ts +23 -0
  489. package/dist/src/shared/components/video-item/video-item-actions/index.d.ts +4 -0
  490. package/dist/src/shared/components/video-item/video-item-actions/video-item-processing-actions/VideoItemProcessingActionsComponent.d.ts +25 -0
  491. package/dist/src/shared/components/video-item/video-item-actions/video-item-review-actions/VideoItemReviewActionsComponent.d.ts +26 -0
  492. package/dist/src/shared/components/video-item/video-item-actions/video-item-video-access-actions/VideoItemVideoAccessActionsComponent.d.ts +22 -0
  493. package/dist/src/shared/components/video-item/video-item-metadata/base/VideoItemMetadataComponent.d.ts +24 -0
  494. package/dist/src/shared/components/video-item/video-item-metadata/index.d.ts +9 -0
  495. package/dist/src/shared/components/video-item/video-item-metadata/video-item-awaiting-review-metadata/VideoItemAwaitingReviewMetadataComponent.d.ts +21 -0
  496. package/dist/src/shared/components/video-item/video-item-metadata/video-item-badges/VideoItemBadgesComponent.d.ts +20 -0
  497. package/dist/src/shared/components/video-item/video-item-metadata/video-item-past-releases-metadata/VideoItemPastReleasesMetadataComponent.d.ts +24 -0
  498. package/dist/src/shared/components/video-item/video-item-metadata/video-item-processing-metadata/VideoItemProcessingMetadataComponent.d.ts +19 -0
  499. package/dist/src/shared/components/video-item/video-item-metadata/video-item-search-metadata/VideoItemSearchMetadataComponent.d.ts +22 -0
  500. package/dist/src/shared/components/video-item/video-item-metadata/video-item-series/VideoItemSeriesComponent.d.ts +22 -0
  501. package/dist/src/shared/components/video-item/video-item-metadata/video-item-video-access-metadata/VideoItemVideoAccessMetadataComponent.d.ts +26 -0
  502. package/dist/src/shared/components/video-item/video-item-metadata/video-sources-metadata/VideoSourcesMetadataComponent.d.ts +21 -0
  503. package/dist/src/shared/components/video-item-preview/VideoItemPreviewComponent.d.ts +37 -0
  504. package/dist/src/shared/components/video-list/VideoListComponent.d.ts +40 -0
  505. package/dist/src/shared/components/video-preview/VideoPreviewComponent.d.ts +30 -0
  506. package/dist/src/shared/components/web-player/WebPlayerComponent.d.ts +53 -0
  507. package/dist/src/shared/constants/Actions.d.ts +99 -0
  508. package/dist/src/shared/constants/BootstrapKeys.d.ts +9 -0
  509. package/dist/src/shared/constants/CacheDurations.d.ts +4 -0
  510. package/dist/src/shared/constants/DataPrefixes.d.ts +91 -0
  511. package/dist/src/shared/constants/DataServiceErrors.d.ts +4 -0
  512. package/dist/src/shared/constants/EventNames.d.ts +33 -0
  513. package/dist/src/shared/constants/FolderTreeIds.d.ts +4 -0
  514. package/dist/src/shared/constants/FormattedCustomerSettingNames.d.ts +3 -0
  515. package/dist/src/shared/constants/ImageSizes.d.ts +11 -0
  516. package/dist/src/shared/constants/ImageUrls.d.ts +20 -0
  517. package/dist/src/shared/constants/LayoutRegions.d.ts +16 -0
  518. package/dist/src/shared/constants/Layouts.d.ts +3 -0
  519. package/dist/src/shared/constants/LazyLoadBrowserSupport.d.ts +7 -0
  520. package/dist/src/shared/constants/MarketingSiteArticles.d.ts +3 -0
  521. package/dist/src/shared/constants/Misc.d.ts +5 -0
  522. package/dist/src/shared/constants/OnlineUrls.d.ts +4 -0
  523. package/dist/src/shared/constants/PartialLoadingComponents.d.ts +10 -0
  524. package/dist/src/shared/constants/RadioChannels.d.ts +62 -0
  525. package/dist/src/shared/constants/Search.d.ts +40 -0
  526. package/dist/src/shared/constants/Services.d.ts +56 -0
  527. package/dist/src/shared/constants/SupportArticles.d.ts +3 -0
  528. package/dist/src/shared/constants/Webplayer.d.ts +4 -0
  529. package/dist/src/shared/constants/WithStatements.d.ts +9 -0
  530. package/dist/src/shared/constants/empty-state-components/EmptyStateComponents.d.ts +6 -0
  531. package/dist/src/shared/constants/index.d.ts +25 -0
  532. package/dist/src/shared/enums/AppLinkReferrer.d.ts +3 -0
  533. package/dist/src/shared/enums/CitationType.d.ts +6 -0
  534. package/dist/src/shared/enums/CurationStatus.d.ts +12 -0
  535. package/dist/src/shared/enums/CustomerRegions.d.ts +5 -0
  536. package/dist/src/shared/enums/EmptyStates.d.ts +16 -0
  537. package/dist/src/shared/enums/FileIdType.d.ts +5 -0
  538. package/dist/src/shared/enums/ImageType.d.ts +5 -0
  539. package/dist/src/shared/enums/MasterObjectTypes.d.ts +8 -0
  540. package/dist/src/shared/enums/MasterType.d.ts +4 -0
  541. package/dist/src/shared/enums/PartialLoading.d.ts +41 -0
  542. package/dist/src/shared/enums/RestrictedObjectType.d.ts +4 -0
  543. package/dist/src/shared/enums/SchoolTypes.d.ts +17 -0
  544. package/dist/src/shared/enums/Settings.d.ts +17 -0
  545. package/dist/src/shared/enums/SharedResourcePrivacy.d.ts +5 -0
  546. package/dist/src/shared/enums/SortTypes.d.ts +17 -0
  547. package/dist/src/shared/enums/StaffRequestOption.d.ts +9 -0
  548. package/dist/src/shared/enums/TimeType.d.ts +4 -0
  549. package/dist/src/shared/enums/UploadInteractionType.d.ts +4 -0
  550. package/dist/src/shared/enums/UserRole.d.ts +10 -0
  551. package/dist/src/shared/enums/YearGroups.d.ts +19 -0
  552. package/dist/src/shared/enums/index.d.ts +20 -0
  553. package/dist/src/shared/errors/authentication/AuthenticationError.d.ts +8 -0
  554. package/dist/src/shared/errors/customer-setting/CustomerSettingError.d.ts +8 -0
  555. package/dist/src/shared/errors/email-not-verified/EmailNotVerifiedError.d.ts +8 -0
  556. package/dist/src/shared/errors/file-type/FileTypeError.d.ts +15 -0
  557. package/dist/src/shared/errors/forbidden-access/ForbiddenAccessError.d.ts +11 -0
  558. package/dist/src/shared/errors/index.d.ts +11 -0
  559. package/dist/src/shared/errors/local-cache-device-not-found/LocalCacheDeviceNotFoundError.d.ts +7 -0
  560. package/dist/src/shared/errors/no-beta-access/NoBetaAccessError.d.ts +8 -0
  561. package/dist/src/shared/errors/not-found/NotFoundError.d.ts +5 -0
  562. package/dist/src/shared/errors/old-version/OldVersionError.d.ts +8 -0
  563. package/dist/src/shared/errors/primitives/AlertError.d.ts +4 -0
  564. package/dist/src/shared/errors/primitives/DialogError.d.ts +9 -0
  565. package/dist/src/shared/errors/primitives/ErrorPageError.d.ts +7 -0
  566. package/dist/src/shared/errors/primitives/index.d.ts +3 -0
  567. package/dist/src/shared/errors/too-many-files/TooManyFilesError.d.ts +7 -0
  568. package/dist/src/shared/filters/BetaAccessFilter.d.ts +3 -0
  569. package/dist/src/shared/filters/CustomerSettingsFilter.d.ts +8 -0
  570. package/dist/src/shared/filters/RoleFilter.d.ts +4 -0
  571. package/dist/src/shared/filters/VerifiedEmailFilter.d.ts +3 -0
  572. package/dist/src/shared/filters/index.d.ts +4 -0
  573. package/dist/src/shared/index.d.ts +14 -0
  574. package/dist/src/shared/interfaces/CollectionIdentifier.d.ts +7 -0
  575. package/dist/src/shared/interfaces/LibraryFoldersIdentifier.d.ts +5 -0
  576. package/dist/src/shared/interfaces/RecentVideoCollectionIdentifier.d.ts +20 -0
  577. package/dist/src/shared/interfaces/RecentVideoSubjectCollectionIdentifier.d.ts +16 -0
  578. package/dist/src/shared/interfaces/Tooltip.d.ts +6 -0
  579. package/dist/src/shared/interfaces/VideoCollectionIdentifier.d.ts +5 -0
  580. package/dist/src/shared/interfaces/index.d.ts +6 -0
  581. package/dist/src/shared/layouts/index.d.ts +1 -0
  582. package/dist/src/shared/layouts/manage-layout/ManageLayoutView.d.ts +41 -0
  583. package/dist/src/shared/models/Avatar.d.ts +3 -0
  584. package/dist/src/shared/models/Banner.d.ts +3 -0
  585. package/dist/src/shared/models/Channel.d.ts +3 -0
  586. package/dist/src/shared/models/Chapter.d.ts +3 -0
  587. package/dist/src/shared/models/Company.d.ts +3 -0
  588. package/dist/src/shared/models/Config.d.ts +3 -0
  589. package/dist/src/shared/models/Customer.d.ts +3 -0
  590. package/dist/src/shared/models/Director.d.ts +3 -0
  591. package/dist/src/shared/models/DisabledSpinnerModel.d.ts +5 -0
  592. package/dist/src/shared/models/Distributor.d.ts +3 -0
  593. package/dist/src/shared/models/Folder.d.ts +12 -0
  594. package/dist/src/shared/models/Image.d.ts +3 -0
  595. package/dist/src/shared/models/Interactives.d.ts +3 -0
  596. package/dist/src/shared/models/LanguageConfig.d.ts +7 -0
  597. package/dist/src/shared/models/Library.d.ts +10 -0
  598. package/dist/src/shared/models/Link.d.ts +3 -0
  599. package/dist/src/shared/models/LocalCacheDevice.d.ts +3 -0
  600. package/dist/src/shared/models/LocalCacheDownload.d.ts +3 -0
  601. package/dist/src/shared/models/Logo.d.ts +3 -0
  602. package/dist/src/shared/models/Metadata.d.ts +3 -0
  603. package/dist/src/shared/models/Owner.d.ts +3 -0
  604. package/dist/src/shared/models/Person.d.ts +3 -0
  605. package/dist/src/shared/models/Phrases.d.ts +3 -0
  606. package/dist/src/shared/models/Playlist.d.ts +3 -0
  607. package/dist/src/shared/models/Producer.d.ts +3 -0
  608. package/dist/src/shared/models/ProductionCompany.d.ts +3 -0
  609. package/dist/src/shared/models/Rating.d.ts +3 -0
  610. package/dist/src/shared/models/Resource.d.ts +3 -0
  611. package/dist/src/shared/models/RestrictedObject.d.ts +3 -0
  612. package/dist/src/shared/models/Restriction.d.ts +3 -0
  613. package/dist/src/shared/models/Season.d.ts +3 -0
  614. package/dist/src/shared/models/Series.d.ts +7 -0
  615. package/dist/src/shared/models/Setting.d.ts +3 -0
  616. package/dist/src/shared/models/SharedResource.d.ts +3 -0
  617. package/dist/src/shared/models/Subtitle.d.ts +3 -0
  618. package/dist/src/shared/models/Tag.d.ts +3 -0
  619. package/dist/src/shared/models/Thumbnail.d.ts +3 -0
  620. package/dist/src/shared/models/User.d.ts +10 -0
  621. package/dist/src/shared/models/Video.d.ts +29 -0
  622. package/dist/src/shared/models/index.d.ts +38 -0
  623. package/dist/src/shared/services/AlertService.d.ts +15 -0
  624. package/dist/src/shared/services/ConfigDataService.d.ts +23 -0
  625. package/dist/src/shared/services/ContextService.d.ts +38 -0
  626. package/dist/src/shared/services/CustomerDataService.d.ts +7 -0
  627. package/dist/src/shared/services/DownloadProxyDataServices.d.ts +7 -0
  628. package/dist/src/shared/services/IntercomService.d.ts +8 -0
  629. package/dist/src/shared/services/LanguageDataService.d.ts +7 -0
  630. package/dist/src/shared/services/LanguageService.d.ts +16 -0
  631. package/dist/src/shared/services/LocalCacheDataService.d.ts +11 -0
  632. package/dist/src/shared/services/NavigationLockService.d.ts +17 -0
  633. package/dist/src/shared/services/PageTitleService.d.ts +10 -0
  634. package/dist/src/shared/services/PageVisibilityService.d.ts +14 -0
  635. package/dist/src/shared/services/PartialLoadingService.d.ts +12 -0
  636. package/dist/src/shared/services/RestrictedVideoDataService.d.ts +14 -0
  637. package/dist/src/shared/services/SettingsDataService.d.ts +12 -0
  638. package/dist/src/shared/services/UserDataService.d.ts +21 -0
  639. package/dist/src/shared/services/VideoMixinService.d.ts +17 -0
  640. package/dist/src/shared/services/index.d.ts +18 -0
  641. package/dist/src/shared/utils/BulkCheckboxHelper.d.ts +18 -0
  642. package/dist/src/shared/utils/CancelProcessingHelper.d.ts +4 -0
  643. package/dist/src/shared/utils/CollectionHelper.d.ts +10 -0
  644. package/dist/src/shared/utils/DialogHelper.d.ts +9 -0
  645. package/dist/src/shared/utils/DurationHelper.d.ts +7 -0
  646. package/dist/src/shared/utils/EmptyStateHelper.d.ts +4 -0
  647. package/dist/src/shared/utils/FileExtensionsHelper.d.ts +9 -0
  648. package/dist/src/shared/utils/FolderTreeHelpers.d.ts +36 -0
  649. package/dist/src/shared/utils/ImageHelper.d.ts +31 -0
  650. package/dist/src/shared/utils/LazyLoadHelper.d.ts +4 -0
  651. package/dist/src/shared/utils/LocalCacheHelper.d.ts +7 -0
  652. package/dist/src/shared/utils/MaskHelper.d.ts +15 -0
  653. package/dist/src/shared/utils/PartialLoadingHelper.d.ts +6 -0
  654. package/dist/src/shared/utils/PermissionsHelper.d.ts +12 -0
  655. package/dist/src/shared/utils/RadioChannelHelper.d.ts +11 -0
  656. package/dist/src/shared/utils/RatingHelper.d.ts +6 -0
  657. package/dist/src/shared/utils/RestrictedAccessHelper.d.ts +13 -0
  658. package/dist/src/shared/utils/SettingsHelper.d.ts +9 -0
  659. package/dist/src/shared/utils/SortHelper.d.ts +15 -0
  660. package/dist/src/shared/utils/SpinnerHelper.d.ts +19 -0
  661. package/dist/src/shared/utils/SubtitleLanguageValidation.d.ts +6 -0
  662. package/dist/src/shared/utils/TabHelper.d.ts +9 -0
  663. package/dist/src/shared/utils/TextHelper.d.ts +9 -0
  664. package/dist/src/shared/utils/TimeHelper.d.ts +20 -0
  665. package/dist/src/shared/utils/VideoHelper.d.ts +11 -0
  666. package/dist/src/shared/utils/handlebars/LangHelper.d.ts +5 -0
  667. package/dist/src/shared/utils/handlebars/index.d.ts +1 -0
  668. package/dist/src/shared/utils/index.d.ts +27 -0
  669. package/dist/src/shared/utils/search/InstantSearchHelper.d.ts +21 -0
  670. package/dist/src/shared/utils/search/RawSearchHelper.d.ts +21 -0
  671. package/dist/src/shared/utils/search/RecentSearchHelper.d.ts +12 -0
  672. package/dist/src/shared/utils/search/SearchTypes.d.ts +28 -0
  673. package/dist/src/shared/utils/search/TypeaheadHelper.d.ts +76 -0
  674. package/dist/src/shared/utils/search/index.d.ts +5 -0
  675. package/dist/src/shared/utils/search/raw-search-components/add-new/AddNewSuggestion.d.ts +12 -0
  676. package/dist/src/shared/utils/search/raw-search-components/confirm-selection/ConfirmSelectionComponent.d.ts +12 -0
  677. package/dist/src/shared/utils/search/raw-search-components/index.d.ts +2 -0
  678. package/dist/src/shared/utils/search/raw-search-templates/index.d.ts +5 -0
  679. package/dist/src/shared/views/download-to-local-cache/DownloadToLocalCacheView.d.ts +28 -0
  680. package/dist/src/shared/views/download-video/DownloadVideoView.d.ts +19 -0
  681. package/dist/src/shared/views/index.d.ts +9 -0
  682. package/dist/src/shared/views/restrict-access/RestrictAccessComponent.d.ts +7 -0
  683. package/dist/src/shared/views/restrict-access/RestrictAccessGroupComponent.d.ts +23 -0
  684. package/dist/src/shared/views/restrict-access/RestrictAccessView.d.ts +67 -0
  685. package/dist/src/shared/views/share/ShareView.d.ts +48 -0
  686. package/dist/src/shared/views/top-navigation/TopNavigationView.d.ts +35 -0
  687. package/dist/src/shared/views/user-options/UserOptionsView.d.ts +18 -0
  688. package/dist/src/styles/index.d.ts +1 -0
  689. package/dist/typings/libs/LazyLoad.d.ts +26 -0
  690. package/package.json +104 -103
@@ -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,4 @@
1
+ import { ObjectHash } from 'backbone';
2
+ export declare const LazyLoadHelper: {
3
+ isLazyLoadSupported(minBrowserSupportVersion: ObjectHash): boolean;
4
+ };
@@ -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,6 @@
1
+ import { Core } from '@clickview/common';
2
+ declare type ViewContext = Core.View | Core.Component | Core.ComponentCollection;
3
+ export declare const PartialLoadingHelper: {
4
+ renderPartialLoading(viewContext: ViewContext): any;
5
+ };
6
+ export {};
@@ -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,6 @@
1
+ import { ObjectHash } from 'backbone';
2
+ import { Rating } from "../models";
3
+ import { RatingCollection } from "../collections";
4
+ export declare const RatingHelper: {
5
+ setRating(model: Rating, collection: RatingCollection, options?: ObjectHash): void;
6
+ };
@@ -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,9 @@
1
+ import { SettingKind } from "../enums";
2
+ export interface SettingOptions {
3
+ kind: SettingKind;
4
+ name: string;
5
+ value: any;
6
+ }
7
+ export declare const SettingsHelper: {
8
+ getLibraryReviewOptions(value: boolean): SettingOptions;
9
+ };
@@ -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,6 @@
1
+ export declare const SubtitleLanguageValidation: {
2
+ name: {
3
+ required: boolean;
4
+ msg: () => string;
5
+ }[];
6
+ };
@@ -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,5 @@
1
+ import * as Handlebars from 'handlebars';
2
+ export declare const LangHelper: {
3
+ register(): void;
4
+ isValid(key: string, options: Handlebars.HelperOptions): boolean;
5
+ };
@@ -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
+ }
@@ -0,0 +1,76 @@
1
+ /// <reference types="typeahead" />
2
+ /// <reference types="jquery" />
3
+ import { ObjectHash } from 'backbone';
4
+ import * as Bloodhound from 'bloodhound';
5
+ import { TypeaheadDataSource, LocalSearch, RemoteSearch, TypeaheadConfig } from "./";
6
+ import { TypeaheadSourceItem } from "./SearchTypes";
7
+ export declare const TypeaheadHelper: {
8
+ /**
9
+ * This function will only allow our typeahead to fetch results when we
10
+ * have exceeded our min length. The reason for doing this is that we want to the typeahead
11
+ * to load our recent searches immediately when we click the input, but before we perform any searches. - Mike
12
+ */
13
+ handleQuery<T>(dataSource?: TypeaheadDataSource<T>, options?: ObjectHash): TypeaheadDataSource<T>;
14
+ /**
15
+ * This function complements HandleQuery allowing us to override when and how typeahead templates are
16
+ * rendered. When the query doesn't meet our min length we will render a fallback template, which is
17
+ * essentially just an empty div. This is necessary to ensure we can display recent searchs when the
18
+ * typeahead is active (but less than the require length to trigger the search functionality). As we are
19
+ * dynamically generating the results for videos, folders and series we are deliberately using a closure
20
+ * to ensure we don't lose our template.
21
+ *
22
+ * It must also return <any> as the typeahead typings are shit.
23
+ * - Mike
24
+ */
25
+ getTemplate(template: Function, options?: ObjectHash): any;
26
+ /**
27
+ * Provides mechanism to map a single search query against multiple bloodhound sources.
28
+ * Sources may be remote endpoints or local in-memory collections.
29
+ * @param sources
30
+ * @param options
31
+ */
32
+ getSearchSources<T_1>(sources: TypeaheadSourceItem<T_1>[]): TypeaheadConfig<T_1>[];
33
+ /**
34
+ * Bloodhound helper
35
+ */
36
+ buildBloodhound<T_2>(options: RemoteSearch<T_2> | LocalSearch<T_2>): Bloodhound<T_2>;
37
+ /**
38
+ * This is attached as a callback to the typeahead's render event.
39
+ * Where there is a real suggestion from the server, we will automatically
40
+ * set the cursor to that item, to make it simply to add. This is to encourage the
41
+ * re-use of existing entities.
42
+ *
43
+ * Note: With multiple suggestion sets, the render event will also be called multiple times
44
+ * along with this callback.
45
+ */
46
+ selectFirstResult(e: JQueryEventObject, suggestions: any[], async: boolean, dataset: string): void;
47
+ /**
48
+ * Callback is designed to be attached to the stickit bindings for the typeahead form
49
+ * and emit events when a change is detected on the bound model. We do this to be
50
+ * able to detect whether an input has cleared from a previous selection,
51
+ *
52
+ * @param channelName
53
+ * @param event
54
+ */
55
+ emitEventOnInput(channelName: string, eventName: string, type: string, wrapperOptions?: ObjectHash): Function;
56
+ /**
57
+ * I hate this.
58
+ *
59
+ * Basically what this function does is curry a callback with the original association's
60
+ * data. Then, depending on the user's interaction with the typeahead input, it will restore that
61
+ * data when a blur event is triggered.
62
+ *
63
+ * @param data raw clone of original assoc model
64
+ *
65
+ * Curried callback
66
+ * @param channelName
67
+ * @param propertyName
68
+ */
69
+ resetAssociationOnBlur(data: ObjectHash): Function;
70
+ /**
71
+ * Create and render ConfirmSelection component for use as a
72
+ * @param options
73
+ */
74
+ getConfirmSelectionTemplate(options?: ObjectHash): Function;
75
+ clearInputOnBlur(channelName: string): void;
76
+ };
@@ -0,0 +1,5 @@
1
+ export * from './InstantSearchHelper';
2
+ export * from './RecentSearchHelper';
3
+ export * from './TypeaheadHelper';
4
+ export * from './SearchTypes';
5
+ export * from './RawSearchHelper';
@@ -0,0 +1,12 @@
1
+ import { ObjectHash } from 'backbone';
2
+ /**
3
+ * Stateless component function
4
+ *
5
+ * Allows us to pass some simple data to a template along with
6
+ * optionally imported styling and/or svgs.
7
+ *
8
+ * The data and options are merged prior to being passed to the template.
9
+ *
10
+ * @param data
11
+ */
12
+ export declare function AddNewSuggestion(data: ObjectHash): Function;
@@ -0,0 +1,12 @@
1
+ import { ObjectHash } from 'backbone';
2
+ import { Core } from '@clickview/common';
3
+ interface ConfirmSelectionComponentOptions extends Core.ComponentOptions {
4
+ }
5
+ export declare class ConfirmSelectionComponent extends Core.Component {
6
+ constructor(options: ConfirmSelectionComponentOptions);
7
+ get name(): string;
8
+ get template(): string;
9
+ get className(): string;
10
+ viewOptions(): ObjectHash;
11
+ }
12
+ export {};
@@ -0,0 +1,2 @@
1
+ export * from './confirm-selection/ConfirmSelectionComponent';
2
+ export * from './add-new/AddNewSuggestion';
@@ -0,0 +1,5 @@
1
+ import ResultSuggestion from './ResultSuggestion.hbs';
2
+ import Loading from './Loading.hbs';
3
+ import NotFound from './NotFound.hbs';
4
+ import Empty from './Empty.hbs';
5
+ export { ResultSuggestion, Loading, NotFound, Empty, };
@@ -0,0 +1,28 @@
1
+ import { ObjectHash } from 'backbone';
2
+ import { Core } from '@clickview/common';
3
+ import { LocalCacheDevice } from "../../models";
4
+ interface DownloadToLocalCacheViewOptions extends Core.ViewOptions<LocalCacheDevice> {
5
+ videoId: string;
6
+ }
7
+ export declare class DownloadToLocalCacheView extends Core.View<LocalCacheDevice> {
8
+ options: DownloadToLocalCacheViewOptions;
9
+ private localCacheDataService;
10
+ private currentUser;
11
+ private localCacheDownloads;
12
+ private spinnerModel;
13
+ constructor(options: DownloadToLocalCacheViewOptions);
14
+ initialize(): void;
15
+ get name(): string;
16
+ get title(): string;
17
+ get lang(): string;
18
+ get template(): string;
19
+ get channelName(): string;
20
+ get behaviors(): any[];
21
+ private bindListeners;
22
+ private getSpinnerButtonOptions;
23
+ private onClickAddToLocalCache;
24
+ get requiredResources(): Core.RequiredResourceHash;
25
+ onBeforeRender(): boolean;
26
+ viewOptions(): ObjectHash;
27
+ }
28
+ export {};
@@ -0,0 +1,19 @@
1
+ import { Core } from '@clickview/common';
2
+ interface DownloadVideoViewOptions extends Core.ViewOptions {
3
+ videoId: string;
4
+ }
5
+ export declare class DownloadVideoView extends Core.View {
6
+ options: DownloadVideoViewOptions;
7
+ private downloadProxyDataService;
8
+ private config;
9
+ constructor(options: DownloadVideoViewOptions);
10
+ initialize(): void;
11
+ get name(): string;
12
+ get title(): boolean;
13
+ get tagName(): string;
14
+ get template(): string;
15
+ private cancelScrollTop;
16
+ get requiredResources(): Core.RequiredResourceHash;
17
+ onBeforeRender(): void;
18
+ }
19
+ export {};
@@ -0,0 +1,9 @@
1
+ export * from './download-video/DownloadVideoView';
2
+ export * from './restrict-access/RestrictAccessView';
3
+ export * from './share/ShareView';
4
+ export * from './user-options/UserOptionsView';
5
+ export * from './top-navigation/TopNavigationView';
6
+ export * from './download-to-local-cache/DownloadToLocalCacheView';
7
+ export * from './restrict-access/RestrictAccessComponent';
8
+ export * from './restrict-access/RestrictAccessGroupComponent';
9
+ export * from './restrict-access/RestrictAccessView';
@@ -0,0 +1,7 @@
1
+ import { Core } from '@clickview/common';
2
+ export declare class RestrictAccessComponent extends Core.Component {
3
+ get name(): string;
4
+ get template(): any;
5
+ get lang(): string;
6
+ private getTemplateText;
7
+ }
@@ -0,0 +1,23 @@
1
+ import { ObjectHash } from 'backbone';
2
+ import { Core } from '@clickview/common';
3
+ export declare class RestrictAccessGroupComponent extends Core.Component {
4
+ private configDataService;
5
+ private currentUser;
6
+ private yearGroups;
7
+ initialize(): void;
8
+ get name(): string;
9
+ get lang(): string;
10
+ get props(): string[];
11
+ get template(): any;
12
+ /**
13
+ * Setup a binding for when the value of the year group changes
14
+ */
15
+ get bindings(): ObjectHash;
16
+ regions(): ObjectHash;
17
+ viewOptions(): ObjectHash;
18
+ onBeforeRender(): void;
19
+ onRender(): void;
20
+ onBeforeDestroy(): void;
21
+ private getYearGroups;
22
+ private buildGroupMessage;
23
+ }
@@ -0,0 +1,67 @@
1
+ import { ObjectHash } from 'backbone';
2
+ import { Core } from '@clickview/common';
3
+ import { Video } from "../../models";
4
+ interface RestrictAccessViewOptions extends Core.ViewOptions {
5
+ videoId: string;
6
+ }
7
+ export declare class RestrictAccessView extends Core.View {
8
+ protected options: RestrictAccessViewOptions;
9
+ model: Video;
10
+ private config;
11
+ private selected;
12
+ private restriction;
13
+ private currentUser;
14
+ private videoDataService;
15
+ private restrictedVideoDataService;
16
+ private videoMixinService;
17
+ private restrictedObjectCollection;
18
+ private spinnerModel;
19
+ constructor(options: RestrictAccessViewOptions);
20
+ initialize(): void;
21
+ private bindListeners;
22
+ get name(): string;
23
+ get title(): string;
24
+ get lang(): string;
25
+ get tagName(): string;
26
+ get className(): string;
27
+ get channelName(): string;
28
+ get template(): any;
29
+ get behaviors(): any[];
30
+ get elements(): ObjectHash;
31
+ events(): ObjectHash;
32
+ regions(): ObjectHash;
33
+ private getAllowFullAccessBtnClassName;
34
+ private getSubmitBtnTooltipOptions;
35
+ /**
36
+ * Called when a dropdown access option is selected
37
+ */
38
+ private onOptionSelected;
39
+ /**
40
+ * Make sure a year group is selected in the year group button group
41
+ */
42
+ private onGroupChanged;
43
+ /**
44
+ * Returns corresponding view to render based on selected option
45
+ * and sets group if Students or All selected
46
+ */
47
+ private getAccessView;
48
+ /**
49
+ * Returns the dropdown item corresponding to the given restriction groupId
50
+ */
51
+ private getSelection;
52
+ /**
53
+ * Re-sets the server side restriction on the model, essentially refreshing the model with its
54
+ * actual restrictions. Also sets the dropdown selection to the dropdown corresponding to the restriction
55
+ */
56
+ private refreshRestriction;
57
+ private onSubmit;
58
+ private onAllowFullAccess;
59
+ private logAction;
60
+ private dataFetched;
61
+ private renderDropdown;
62
+ get requiredResources(): Core.RequiredResourceHash;
63
+ onBeforeRender(): void;
64
+ viewOptions(): ObjectHash;
65
+ onRender(): void;
66
+ }
67
+ export {};