@clickview/lite 0.0.25-rc.0 → 0.0.26-dev.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 (452) hide show
  1. package/.eslintrc.json +3 -0
  2. package/dist/css/13.chunk.css +14 -4
  3. package/dist/css/14.chunk.css +5 -9
  4. package/dist/css/16.chunk.css +6 -6
  5. package/dist/css/17.chunk.css +7 -7
  6. package/dist/css/18.chunk.css +7 -3
  7. package/dist/css/19.chunk.css +6 -6
  8. package/dist/css/2.chunk.css +1 -1
  9. package/dist/css/20.chunk.css +6 -4
  10. package/dist/css/21.chunk.css +4 -2
  11. package/dist/css/22.chunk.css +6 -4
  12. package/dist/css/23.chunk.css +6 -4
  13. package/dist/css/24.chunk.css +5 -5
  14. package/dist/css/25.chunk.css +3 -3
  15. package/dist/css/26.chunk.css +1 -7
  16. package/dist/css/27.chunk.css +6 -2
  17. package/dist/css/28.chunk.css +6 -2
  18. package/dist/css/29.chunk.css +2 -2
  19. package/dist/css/3.chunk.css +3 -3
  20. package/dist/css/30.chunk.css +2 -2
  21. package/dist/css/32.chunk.css +2 -6
  22. package/dist/css/33.chunk.css +2 -2
  23. package/dist/css/34.chunk.css +7 -1
  24. package/dist/css/37.chunk.css +3 -3
  25. package/dist/css/38.chunk.css +4 -0
  26. package/dist/css/4.chunk.css +8 -0
  27. package/dist/css/40.chunk.css +6 -0
  28. package/dist/css/41.chunk.css +4 -0
  29. package/dist/css/45.chunk.css +4 -0
  30. package/dist/css/52.chunk.css +2 -0
  31. package/dist/css/53.chunk.css +3 -1
  32. package/dist/css/54.chunk.css +1 -1
  33. package/dist/css/7.chunk.css +4 -0
  34. package/dist/css/9.chunk.css +4 -0
  35. package/dist/css/lite-app.css +55 -3
  36. package/dist/en.json +1 -1
  37. package/dist/libs/analytics/src/clients/CollectionApiClient.d.ts +1 -3
  38. package/dist/libs/analytics/src/enrichers/BaseAnalyticsEnricher.d.ts +1 -1
  39. package/dist/libs/analytics/src/enrichers/UserDataEnricher.d.ts +1 -1
  40. package/dist/libs/analytics/src/interfaces/AnalyticsTypes.d.ts +8 -3
  41. package/dist/libs/analytics/src/utils/TypeHelper.d.ts +1 -1
  42. package/dist/libs/analytics/src/utils/VideoDataFormatHelper.d.ts +5 -5
  43. package/dist/libs/common/src/backbone/constants/CommonServices.d.ts +0 -1
  44. package/dist/libs/common/src/backbone/core/BaseAppRouter.d.ts +1 -1
  45. package/dist/libs/common/src/backbone/core/BaseApplication.d.ts +1 -1
  46. package/dist/libs/common/src/backbone/core/BaseBehavior.d.ts +1 -1
  47. package/dist/libs/common/src/backbone/core/BaseCollection.d.ts +1 -1
  48. package/dist/libs/common/src/backbone/core/BaseCollectionView.d.ts +1 -1
  49. package/dist/libs/common/src/backbone/core/BaseLayoutView.d.ts +1 -1
  50. package/dist/libs/common/src/backbone/core/BaseModel.d.ts +1 -1
  51. package/dist/libs/common/src/backbone/core/BaseNestedModel.d.ts +1 -1
  52. package/dist/libs/common/src/backbone/core/BaseService.d.ts +1 -1
  53. package/dist/libs/common/src/backbone/core/BaseView.d.ts +2 -2
  54. package/dist/libs/common/src/backbone/core/LayoutService.d.ts +1 -1
  55. package/dist/libs/common/src/backbone/core/ListenToRadio.d.ts +1 -1
  56. package/dist/libs/common/src/backbone/core/Shell.d.ts +1 -1
  57. package/dist/libs/common/src/backbone/interfaces/BaseCollectionIdentifier.d.ts +2 -1
  58. package/dist/libs/common/src/backbone/interfaces/DataProvider.d.ts +1 -1
  59. package/dist/libs/common/src/backbone/services/LanguageService.d.ts +1 -1
  60. package/dist/libs/common/src/backbone/services/data-providers/AjaxDataProvider.d.ts +1 -1
  61. package/dist/libs/common/src/backbone/services/data-providers/SignalRDataProvider.d.ts +2 -2
  62. package/dist/libs/common/src/backbone/utils/FunctionHelper.d.ts +3 -3
  63. package/dist/libs/common/src/react/components/BackboneViewWrapper.d.ts +2 -2
  64. package/dist/libs/common/src/react/flight/FlightMiddleware.d.ts +1 -1
  65. package/dist/libs/common/src/react/flight/interfaces/HttpRequest.d.ts +3 -0
  66. package/dist/libs/common/src/react/middleware/ApplicationMiddleware.d.ts +2 -1
  67. package/dist/libs/common/src/react/utils/ArrayHelper.d.ts +4 -3
  68. package/dist/libs/common/src/react/utils/FetchHelper.d.ts +1 -1
  69. package/dist/libs/shared/src/apps/notifications/views/popover/NotificationsPopoverView.d.ts +2 -2
  70. package/dist/libs/shared/src/apps/playlists/utils/getBackgroundColourClass.d.ts +2 -0
  71. package/dist/libs/shared/src/apps/search/utils/InstantSearchHelper.d.ts +5 -5
  72. package/dist/libs/shared/src/apps/search/utils/TypeaheadHelper.d.ts +24 -24
  73. package/dist/libs/shared/src/apps/search/views/search-bar/SearchBarView.d.ts +5 -5
  74. package/dist/libs/shared/src/apps/subjects/components/preferences/footer/PreferenceFooter.d.ts +1 -1
  75. package/dist/libs/shared/src/apps/upload/errors/file-type/FileTypeError.d.ts +1 -1
  76. package/dist/libs/shared/src/components/banner-header/BannerHeader.d.ts +1 -0
  77. package/dist/libs/shared/src/components/file-select-button/FileSelectButton.d.ts +15 -0
  78. package/dist/libs/shared/src/components/forms/form-buttons/FormButtons.d.ts +2 -1
  79. package/dist/libs/shared/src/components/forms/form-checkbox/FormCheckbox.d.ts +1 -1
  80. package/dist/libs/shared/src/components/forms/form-field/CharacterCounter.d.ts +3 -2
  81. package/dist/libs/shared/src/components/forms/form-field/FormField.d.ts +4 -3
  82. package/dist/libs/shared/src/components/forms/form-wrapper/FormWrapper.d.ts +2 -1
  83. package/dist/libs/shared/src/components/lazy-image/LazyImage.d.ts +1 -0
  84. package/dist/libs/shared/src/components/popup/Popup.d.ts +14 -0
  85. package/dist/libs/shared/src/components/search-bar/SearchBar.d.ts +24 -0
  86. package/dist/libs/shared/src/components/search-bar/SearchInput.d.ts +6 -2
  87. package/dist/libs/shared/src/components/thumbnails/base/BaseThumbnail.d.ts +4 -2
  88. package/dist/libs/shared/src/components/thumbnails/video/VideoThumbnail.d.ts +2 -2
  89. package/dist/libs/shared/src/components/widgets/fixed-widget/FixedWidget.d.ts +17 -8
  90. package/dist/libs/shared/src/components/widgets/fixed-widget/FixedWidgetUtils.d.ts +1 -1
  91. package/dist/libs/shared/src/components/widgets/fixed-widget/PartialFixedWidget.d.ts +1 -6
  92. package/dist/libs/shared/src/components/widgets/items/playlist-widget-item/PlaylistWidgetItem.d.ts +1 -2
  93. package/dist/libs/shared/src/components/widgets/items/resource-widget-item/ResourceWidgetItem.d.ts +13 -0
  94. package/dist/libs/shared/src/components/widgets/items/tall-subject-widget-item/TallSubjectWidgetItem.d.ts +1 -2
  95. package/dist/libs/shared/src/components/widgets/items/video-widget-item/VideoWidgetItem.d.ts +2 -2
  96. package/dist/libs/shared/src/components/widgets/sliding-list/SlidingListContainer.d.ts +1 -1
  97. package/dist/libs/shared/src/components/widgets/widget-button/WidgetButton.d.ts +1 -0
  98. package/dist/libs/shared/src/constants/BootstrapKeys.d.ts +1 -0
  99. package/dist/libs/shared/src/enums/MasterObjectTypes.d.ts +8 -0
  100. package/dist/libs/shared/src/enums/ObjectStatus.d.ts +5 -0
  101. package/dist/libs/shared/src/enums/PlayerMediaType.d.ts +4 -0
  102. package/dist/libs/shared/src/enums/UserGroup.d.ts +3 -2
  103. package/dist/libs/shared/src/enums/WidgetContents.d.ts +2 -1
  104. package/dist/libs/shared/src/flight-requests/ConfigRequests.d.ts +3 -1
  105. package/dist/libs/shared/src/flight-requests/PlayerRequests.d.ts +5 -0
  106. package/dist/libs/shared/src/flight-requests/PlaylistRequests.d.ts +1 -0
  107. package/dist/libs/shared/src/flight-requests/PreferenceRequests.d.ts +1 -1
  108. package/dist/libs/shared/src/flight-requests/ResourceRequests.d.ts +11 -0
  109. package/dist/libs/shared/src/flight-requests/ThemeRequests.d.ts +2 -0
  110. package/dist/libs/shared/src/flight-requests/UserRequests.d.ts +3 -1
  111. package/dist/libs/shared/src/hooks/useGetCollectionItems.d.ts +7 -0
  112. package/dist/libs/shared/src/images/svg/ImportedSvgs.d.ts +3 -1
  113. package/dist/libs/shared/src/images/svg/actions/index.d.ts +3 -1
  114. package/dist/libs/shared/src/interfaces/collections/SubtitleCollection.d.ts +3 -0
  115. package/dist/libs/shared/src/interfaces/collections/index.d.ts +1 -0
  116. package/dist/libs/shared/src/interfaces/models/Config.d.ts +2 -0
  117. package/dist/libs/shared/src/interfaces/models/FileUpload.d.ts +20 -0
  118. package/dist/libs/shared/src/interfaces/models/Glance.d.ts +2 -0
  119. package/dist/libs/shared/src/interfaces/models/Language.d.ts +4 -0
  120. package/dist/libs/shared/src/interfaces/models/Link.d.ts +1 -0
  121. package/dist/libs/shared/src/interfaces/models/Pdf.d.ts +4 -0
  122. package/dist/libs/shared/src/interfaces/models/PlayerViewKey.d.ts +3 -0
  123. package/dist/libs/shared/src/interfaces/models/Resource.d.ts +11 -3
  124. package/dist/libs/shared/src/interfaces/models/Subtitle.d.ts +7 -0
  125. package/dist/libs/shared/src/interfaces/models/Thumbnail.d.ts +3 -0
  126. package/dist/libs/shared/src/interfaces/models/User.d.ts +8 -1
  127. package/dist/libs/shared/src/interfaces/models/index.d.ts +4 -0
  128. package/dist/libs/shared/src/interfaces/requests/CreateViewKeyRequest.d.ts +5 -0
  129. package/dist/libs/shared/src/interfaces/requests/UpdateObjectChannel.d.ts +3 -0
  130. package/dist/libs/shared/src/interfaces/requests/UpdateObjectRating.d.ts +3 -0
  131. package/dist/libs/shared/src/interfaces/requests/UpdateResourceRequest.d.ts +3 -0
  132. package/dist/libs/shared/src/interfaces/requests/UpdateVideoRequest.d.ts +5 -1
  133. package/dist/libs/shared/src/interfaces/requests/index.d.ts +4 -0
  134. package/dist/libs/shared/src/interfaces/services/BaseConfigDataService.d.ts +5 -0
  135. package/dist/libs/shared/src/interfaces/services/BaseUserDataService.d.ts +2 -0
  136. package/dist/libs/shared/src/interfaces/services/index.d.ts +1 -0
  137. package/dist/libs/shared/src/legacy/components/thumbnail/ThumbnailComponent.d.ts +1 -1
  138. package/dist/libs/shared/src/utils/ImageHelper.d.ts +5 -4
  139. package/dist/libs/shared/src/utils/SvgHelper.d.ts +0 -1
  140. package/dist/libs/shared/src/utils/UserHelper.d.ts +3 -0
  141. package/dist/libs/shared/src/utils/VideoDetailsHelper.d.ts +18 -0
  142. package/dist/projects/lite/src/app.d.ts +37 -16
  143. package/dist/projects/lite/src/apps/classrooms/components/classroom-activities-list/ClassroomActivitiesList.d.ts +1 -4
  144. package/dist/projects/lite/src/apps/classrooms/components/classroom-activities-list/empty-state/ClassroomActivitiesListEmptyState.d.ts +1 -4
  145. package/dist/projects/lite/src/apps/classrooms/components/classroom-students-list/ClassroomStudentItem.d.ts +3 -2
  146. package/dist/projects/lite/src/apps/classrooms/components/classroom-students-list/ClassroomStudentsList.d.ts +3 -2
  147. package/dist/projects/lite/src/apps/classrooms/components/classroom-students-list/empty-state/ClassroomStudentsListEmptyState.d.ts +1 -4
  148. package/dist/projects/lite/src/apps/classrooms/components/manage-classroom-student-item/ManageClassroomStudentItem.d.ts +3 -2
  149. package/dist/projects/lite/src/apps/classrooms/flight-requests/ClassroomRequests.d.ts +5 -3
  150. package/dist/projects/lite/src/apps/classrooms/views/create-classroom/CreateClassroomView.d.ts +1 -1
  151. package/dist/projects/lite/src/apps/classrooms/views/edit-classroom/EditClassroomView.d.ts +2 -2
  152. package/dist/projects/lite/src/apps/content-updates/LiteContentUpdatesApplication.d.ts +1 -1
  153. package/dist/projects/lite/src/apps/content-updates/components/classification-update-breadcrumbs/ClassificationUpdateBreadcrumbs.d.ts +2 -2
  154. package/dist/projects/lite/src/apps/default/LiteDefaultApplication.d.ts +2 -0
  155. package/dist/projects/lite/src/apps/playlists/LitePlaylistsApplication.d.ts +1 -0
  156. package/dist/projects/lite/src/apps/playlists/constants/PlaylistBgColourClassNames.d.ts +1 -0
  157. package/dist/projects/lite/src/apps/playlists/views/copy-playlist/CopyPlaylistView.d.ts +7 -0
  158. package/dist/projects/lite/src/apps/search/components/filter-types/index.d.ts +1 -1
  159. package/dist/projects/lite/src/apps/search/components/filter-types/more-filters/MoreFilters.d.ts +1 -4
  160. package/dist/projects/lite/src/apps/search/components/filter-types/radio-filter/{year-level/YearLevelRadioFilter.d.ts → year-group/YearGroupRadioFilter.d.ts} +3 -3
  161. package/dist/projects/lite/src/apps/search/components/scoped-search-bar/ScopedSearchBar.d.ts +2 -0
  162. package/dist/projects/lite/src/apps/search/interfaces/SearchFilter.d.ts +1 -1
  163. package/dist/projects/lite/src/apps/search/utils/FilterHelper.d.ts +2 -2
  164. package/dist/projects/lite/src/apps/settings/components/SettingsGroup.d.ts +2 -2
  165. package/dist/projects/lite/src/apps/subjects/LiteSubjectApplication.d.ts +2 -3
  166. package/dist/projects/lite/src/apps/subjects/utils/OnboardingHelper.d.ts +1 -2
  167. package/dist/projects/lite/src/apps/user-manager/LiteUserManagerApplication.d.ts +13 -8
  168. package/dist/projects/lite/src/apps/user-manager/components/bulk-upload-file-select/BulkUploadFileSelect.d.ts +4 -6
  169. package/dist/projects/lite/src/apps/user-manager/components/delete-uploaded-user-popup/DeleteUploadedUserPopup.d.ts +8 -0
  170. package/dist/projects/lite/src/apps/user-manager/components/edit-uploaded-user-popup/EditUploadedUserPopup.d.ts +6 -5
  171. package/dist/projects/lite/src/apps/user-manager/components/edit-user-details/EditUserDetails.d.ts +15 -0
  172. package/dist/projects/lite/src/apps/user-manager/components/manage-users-list/ManageUsersList.d.ts +4 -6
  173. package/dist/projects/lite/src/apps/user-manager/components/manage-users-list/staff/ManageStaffItem.d.ts +9 -0
  174. package/dist/projects/lite/src/apps/user-manager/components/manage-users-list/students/ManageStudentItem.d.ts +2 -2
  175. package/dist/projects/lite/src/apps/user-manager/components/user-details-form/UserDetailsForm.d.ts +5 -5
  176. package/dist/projects/lite/src/apps/user-manager/components/user-review-table/UserReviewRow.d.ts +13 -0
  177. package/dist/projects/lite/src/apps/user-manager/components/user-review-table/UserReviewTable.d.ts +13 -0
  178. package/dist/projects/lite/src/apps/user-manager/components/year-group-select/YearGroupSelect.d.ts +8 -0
  179. package/dist/projects/lite/src/apps/user-manager/flight-requests/SchoolUserRequests.d.ts +12 -22
  180. package/dist/projects/lite/src/apps/user-manager/interfaces/BulkDeleteUsersRequest.d.ts +7 -0
  181. package/dist/projects/lite/src/apps/user-manager/interfaces/BulkUpdateUserStatusRequest.d.ts +8 -0
  182. package/dist/projects/lite/src/apps/user-manager/interfaces/EditUserRequest.d.ts +20 -6
  183. package/dist/projects/lite/src/apps/user-manager/interfaces/index.d.ts +1 -4
  184. package/dist/projects/lite/src/apps/user-manager/interfaces/mocks/MockClassroom.d.ts +2 -3
  185. package/dist/projects/lite/src/apps/user-manager/reducers/UserUploadReducer.d.ts +3 -4
  186. package/dist/projects/lite/src/apps/user-manager/validation/user-validation/UserValidationSchema.d.ts +23 -12
  187. package/dist/projects/lite/src/apps/user-manager/views/bulk-remove-users/BulkRemoveUsersView.d.ts +8 -0
  188. package/dist/projects/lite/src/apps/user-manager/views/create-user/CreateUserView.d.ts +8 -0
  189. package/dist/projects/lite/src/apps/user-manager/views/edit-user/EditUserView.d.ts +9 -0
  190. package/dist/projects/lite/src/apps/user-manager/views/{school-teacher-manager/SchoolTeacherManagerView.d.ts → school-staff-manager/SchoolStaffManagerView.d.ts} +2 -2
  191. package/dist/projects/lite/src/apps/user-manager/views/school-staff-manager/empty-state/SchoolStaffManagerEmptyState.d.ts +7 -0
  192. package/dist/projects/lite/src/apps/user-manager/views/school-student-manager/empty-state/SchoolStudentManagerEmptyState.d.ts +6 -1
  193. package/dist/projects/lite/src/apps/user-manager/views/toggle-user-status/ToggleUserStatusView.d.ts +7 -0
  194. package/dist/projects/lite/src/apps/user-manager/views/user-upload-review/UserUploadReviewView.d.ts +8 -0
  195. package/dist/projects/lite/src/shared/components/floating-player/FloatingPlayer.d.ts +7 -0
  196. package/dist/projects/lite/src/shared/components/play-page/PlayPage.d.ts +2 -0
  197. package/dist/projects/lite/src/shared/components/video-info-button/VideoInfoButton.d.ts +1 -1
  198. package/dist/projects/lite/src/shared/constants/LiteActions.d.ts +9 -8
  199. package/dist/projects/lite/src/shared/constants/LiteHostPlaceholderMappings.d.ts +6 -0
  200. package/dist/projects/lite/src/shared/constants/LiteViewModels.d.ts +2 -2
  201. package/dist/projects/lite/src/shared/constants/Services.d.ts +1 -0
  202. package/dist/projects/lite/src/shared/flight-requests/VideoRequests.d.ts +2 -3
  203. package/dist/projects/lite/src/shared/hooks/useHandleObjectError.d.ts +2 -2
  204. package/dist/projects/lite/src/shared/hooks/useInitPlayerContext.d.ts +21 -14
  205. package/dist/projects/lite/src/shared/interfaces/mocks/MockClassroomGroup.d.ts +2 -3
  206. package/dist/projects/lite/src/shared/services/FlightConfigDataService.d.ts +13 -0
  207. package/dist/projects/lite/src/shared/services/FlightUserDataService.d.ts +3 -0
  208. package/dist/projects/lite/src/shared/views/create-clip/CreateClipView.d.ts +6 -0
  209. package/dist/projects/lite/src/shared/views/preview-pdf/PreviewPdfView.d.ts +7 -0
  210. package/dist/projects/lite/src/startup/RegisterAnalytics.d.ts +1 -1
  211. package/dist/projects/lite/src/startup/RegisterAppOptions.d.ts +1 -1
  212. package/dist/projects/lite/src/startup/RegisterApplicationVariables.d.ts +1 -1
  213. package/dist/projects/lite/src/startup/RegisterApplications.d.ts +1 -1
  214. package/dist/projects/lite/src/startup/RegisterCaches.d.ts +1 -1
  215. package/dist/projects/lite/src/startup/RegisterDataProviders.d.ts +1 -1
  216. package/dist/projects/lite/src/startup/RegisterDataServices.d.ts +1 -1
  217. package/dist/projects/lite/src/startup/RegisterErrorHandlers.d.ts +1 -1
  218. package/dist/projects/lite/src/startup/RegisterHandlebarsHelpers.d.ts +1 -1
  219. package/dist/projects/lite/src/startup/RegisterLayouts.d.ts +1 -1
  220. package/dist/projects/lite/src/startup/RegisterServices.d.ts +1 -1
  221. package/dist/projects/lite/src/startup/RegisterStore.d.ts +1 -1
  222. package/dist/projects/lite/src/startup/RegisterViewDataExtensions.d.ts +1 -1
  223. package/dist/projects/lite/src/styles/index.d.ts +3 -0
  224. package/dist/projects/player/src/components/chapter-bar-items/chapter-bar-item.d.ts +79 -0
  225. package/dist/projects/player/src/components/chapter-bar-items/chapter-bar-items.d.ts +55 -0
  226. package/dist/projects/player/src/components/chapter-bar-items/chapter-bar-load-progress.d.ts +55 -0
  227. package/dist/projects/player/src/components/chapter-bar-items/chapter-bar-play-progress.d.ts +55 -0
  228. package/dist/projects/player/src/components/chapter-seek-bar/chapter-seek-bar.d.ts +1 -0
  229. package/dist/projects/player/src/components/chapters-button/chapter-menu-item.d.ts +60 -0
  230. package/dist/projects/player/src/components/chapters-button/chapters-button.d.ts +1 -0
  231. package/dist/projects/player/src/components/cog-button/cog-button.d.ts +38 -0
  232. package/dist/projects/player/src/components/collapserator/collapserator.d.ts +4 -0
  233. package/dist/projects/player/src/components/mouse-time-display/mouse-time-display.d.ts +3 -0
  234. package/dist/projects/player/src/components/playback-rate-button/playback-rate-button.d.ts +1 -0
  235. package/dist/projects/player/src/components/progress-control/progress-control.d.ts +1 -0
  236. package/dist/projects/player/src/components/quality-selector/quality-button.d.ts +1 -0
  237. package/dist/projects/player/src/components/quality-selector/quality-menu-item.d.ts +17 -0
  238. package/dist/projects/player/src/components/subs-caps-button/subs-caps-button.d.ts +1 -0
  239. package/dist/projects/player/src/components/thumbnail-display/thumbnail-display.d.ts +66 -0
  240. package/dist/projects/player/src/components/time-tooltip/time-tooltip.d.ts +15 -0
  241. package/dist/projects/player/src/components/time-wrapper/time-wrapper.d.ts +1 -0
  242. package/dist/projects/player/src/interfaces/CollapsibleComponent.d.ts +10 -0
  243. package/dist/projects/player/src/interfaces/models/ApiError.d.ts +4 -0
  244. package/dist/projects/player/src/interfaces/models/PlaybackObject.d.ts +32 -0
  245. package/dist/projects/player/src/players/base-player.d.ts +64 -0
  246. package/dist/projects/player/src/players/create-clip-player.d.ts +16 -0
  247. package/dist/projects/player/src/players/player.d.ts +15 -0
  248. package/dist/projects/player/src/plugins/clip-plugin/clip-plugin.d.ts +50 -0
  249. package/dist/projects/player/src/plugins/create-clip-plugin/components/clip-timepoint-selector/clip-timepoint-selector-handle.d.ts +54 -0
  250. package/dist/projects/player/src/plugins/create-clip-plugin/components/clip-timepoint-selector/clip-timepoint-selector.d.ts +89 -0
  251. package/dist/projects/player/src/plugins/create-clip-plugin/components/create-clip-seek-bar/create-clip-seek-bar.d.ts +14 -0
  252. package/dist/projects/player/src/plugins/create-clip-plugin/create-clip-plugin.d.ts +14 -0
  253. package/dist/projects/player/src/plugins/example-plugin/components/example-button/example-button.d.ts +1 -0
  254. package/dist/projects/player/src/plugins/example-plugin/components/example-react-button/example-react-button.d.ts +1 -0
  255. package/dist/projects/player/src/plugins/example-plugin/example-plugin.d.ts +2 -0
  256. package/dist/projects/player/src/plugins/fullscreen-on-rotate-plugin/fullscreen-on-rotate-plugin.d.ts +1 -0
  257. package/dist/projects/player/src/plugins/open-externally-plugin/components/open-externally-button.d.ts +1 -0
  258. package/dist/projects/player/src/plugins/open-externally-plugin/interfaces/ExternalLinkOptions.d.ts +3 -0
  259. package/dist/projects/player/src/plugins/open-externally-plugin/open-externally-plugin.d.ts +1 -0
  260. package/dist/projects/player/src/plugins/persist-volume-plugin/persist-volume-plugin.d.ts +1 -0
  261. package/dist/projects/player/src/plugins/progress-reporter-plugin/progress-reporter-plugin.d.ts +9 -0
  262. package/dist/projects/player/src/plugins/progressive-files-plugin/ProgressiveFilesPluginOptions.d.ts +4 -0
  263. package/dist/projects/player/src/plugins/progressive-files-plugin/ProgressiveRepresentation.d.ts +10 -0
  264. package/dist/projects/player/src/plugins/progressive-files-plugin/interfaces/Source.d.ts +6 -0
  265. package/dist/projects/player/src/plugins/progressive-files-plugin/progressive-files-plugin.d.ts +38 -0
  266. package/dist/projects/player/src/plugins/touch-controls-plugin/components/touch-controls/touch-controls.d.ts +59 -0
  267. package/dist/projects/player/src/plugins/touch-controls-plugin/touch-controls-plugin.d.ts +1 -0
  268. package/dist/projects/player/src/react/CreateClipPlayer.d.ts +3 -0
  269. package/dist/projects/player/src/react/EmbeddedPlayer.d.ts +7 -0
  270. package/dist/projects/player/src/react/Player.d.ts +8 -0
  271. package/dist/projects/player/src/react/react-component.d.ts +56 -0
  272. package/dist/projects/player/src/services/analytics-service.d.ts +15 -0
  273. package/dist/projects/player/src/utils/ajax-helper.d.ts +6 -0
  274. package/dist/projects/player/src/utils/fn.d.ts +14 -0
  275. package/dist/projects/player/src/utils/formatTime.d.ts +5 -0
  276. package/dist/projects/player/src/utils/hotkeys.d.ts +5 -0
  277. package/dist/projects/player/src/utils/scrollbar-helper.d.ts +6 -0
  278. package/dist/projects/player/src/utils/track-helper.d.ts +7 -0
  279. package/dist/scripts/0-171f181888.chunk.js +1 -0
  280. package/dist/scripts/1-7259e8a8bb.chunk.js +17 -0
  281. package/dist/scripts/10-66b105c2d8.chunk.js +1 -0
  282. package/dist/scripts/13-8c3673e075.chunk.js +1 -0
  283. package/dist/scripts/14-4bc696763a.chunk.js +1 -0
  284. package/dist/scripts/15-043e863dfb.chunk.js +1 -0
  285. package/dist/scripts/16-72a65d16e6.chunk.js +1 -0
  286. package/dist/scripts/17-067ea21652.chunk.js +1 -0
  287. package/dist/scripts/18-b4fa1e52f9.chunk.js +1 -0
  288. package/dist/scripts/19-e3599f7685.chunk.js +1 -0
  289. package/dist/scripts/2-370c1659a0.chunk.js +1 -0
  290. package/dist/scripts/20-0443e17d0b.chunk.js +1 -0
  291. package/dist/scripts/21-036b228cd8.chunk.js +1 -0
  292. package/dist/scripts/22-cfa11ae67b.chunk.js +1 -0
  293. package/dist/scripts/23-11a05b88f7.chunk.js +1 -0
  294. package/dist/scripts/24-c5c0ed3eb9.chunk.js +1 -0
  295. package/dist/scripts/25-83f2683f6f.chunk.js +1 -0
  296. package/dist/scripts/26-8e1ef2b8d3.chunk.js +1 -0
  297. package/dist/scripts/27-9cecba37e9.chunk.js +1 -0
  298. package/dist/scripts/28-4e578edcd5.chunk.js +1 -0
  299. package/dist/scripts/29-685b428459.chunk.js +1 -0
  300. package/dist/scripts/3-ef3041edd1.chunk.js +1 -0
  301. package/dist/scripts/30-e7d4add37c.chunk.js +1 -0
  302. package/dist/scripts/31-407fbd904c.chunk.js +53 -0
  303. package/dist/scripts/32-8434ce7c95.chunk.js +1 -0
  304. package/dist/scripts/33-134c778b95.chunk.js +1 -0
  305. package/dist/scripts/34-cb4f70d168.chunk.js +1 -0
  306. package/dist/scripts/35-4914b2c89e.chunk.js +1 -0
  307. package/dist/scripts/36-d2e13bd4e3.chunk.js +1 -0
  308. package/dist/scripts/37-def89fece7.chunk.js +1 -0
  309. package/dist/scripts/38-68ddb948f5.chunk.js +1 -0
  310. package/dist/scripts/39-d4f47b0420.chunk.js +1 -0
  311. package/dist/scripts/4-d626f7c9ff.chunk.js +1 -0
  312. package/dist/scripts/40-94399cfdc9.chunk.js +1 -0
  313. package/dist/scripts/41-5b0ed56d14.chunk.js +1 -0
  314. package/dist/scripts/42-c06b10dbbf.chunk.js +1 -0
  315. package/dist/scripts/{40-5330a64b5d.chunk.js → 43-4cc515550a.chunk.js} +1 -1
  316. package/dist/scripts/{41-c268bfb400.chunk.js → 44-073e6641ea.chunk.js} +1 -1
  317. package/dist/scripts/45-3a36fa2fd2.chunk.js +1 -0
  318. package/dist/scripts/46-811abfacf5.chunk.js +1 -0
  319. package/dist/scripts/47-cf7e05bfc3.chunk.js +1 -0
  320. package/dist/scripts/48-a49b5ae505.chunk.js +1 -0
  321. package/dist/scripts/49-02fe5d9da0.chunk.js +1 -0
  322. package/dist/scripts/5-3c15aff75b.chunk.js +1 -0
  323. package/dist/scripts/50-2334e58775.chunk.js +1 -0
  324. package/dist/scripts/51-47c28dfdba.chunk.js +1 -0
  325. package/dist/scripts/52-8e3cb40ad6.chunk.js +1 -0
  326. package/dist/scripts/53-46688b7d80.chunk.js +1 -0
  327. package/dist/scripts/54-c68af93be1.chunk.js +1 -0
  328. package/dist/scripts/55-6c7d49f405.chunk.js +1 -0
  329. package/dist/scripts/56-92a06b9806.chunk.js +1 -0
  330. package/dist/scripts/{55-cd780b71b1.chunk.js → 57-16ef135200.chunk.js} +1 -1
  331. package/dist/scripts/58-1478dbceb8.chunk.js +1 -0
  332. package/dist/scripts/{57-5c9b7a7950.chunk.js → 59-577a06a87a.chunk.js} +1 -1
  333. package/dist/scripts/6-68be86ae02.chunk.js +1 -0
  334. package/dist/scripts/{58-636a388c0c.chunk.js → 60-da28194427.chunk.js} +1 -1
  335. package/dist/scripts/{59-cc88e95d77.chunk.js → 61-80f7131d9a.chunk.js} +1 -1
  336. package/dist/scripts/62-3d42c03cc9.chunk.js +1 -0
  337. package/dist/scripts/63-66e69ffe5b.chunk.js +1 -0
  338. package/dist/scripts/64-9ef637a2b1.chunk.js +1 -0
  339. package/dist/scripts/65-cc2384a591.chunk.js +1 -0
  340. package/dist/scripts/{64-1f651e86b3.chunk.js → 66-68028b1816.chunk.js} +1 -1
  341. package/dist/scripts/{65-c3472b12c9.chunk.js → 67-dd69ffa06f.chunk.js} +1 -1
  342. package/dist/scripts/{66-c6406c845f.chunk.js → 68-03022ebbd0.chunk.js} +1 -1
  343. package/dist/scripts/69-e98764fee0.chunk.js +1 -0
  344. package/dist/scripts/7-760462a280.chunk.js +7 -0
  345. package/dist/scripts/70-aedca0b4ab.chunk.js +1 -0
  346. package/dist/scripts/{67-2e0d661c52.chunk.js → 71-2f6c3be43a.chunk.js} +1 -1
  347. package/dist/scripts/8-1fe98a7811.chunk.js +1 -0
  348. package/dist/scripts/9-a9c57eac6a.chunk.js +1 -0
  349. package/dist/scripts/bundle-29922f7591.min.js +31 -0
  350. package/dist/scripts/bundles.json +2 -2
  351. package/dist/scripts/pdf.worker.entry-167ab971d3.min.worker.js +1 -0
  352. package/dist/scripts/polyfills-428e62f641.min.js +1 -0
  353. package/package.json +8 -4
  354. package/typings/libs/Trackers.d.ts +1 -1
  355. package/typings/libs/videojs-contrib-quality-levels.d.ts +29 -0
  356. package/dist/css/11.chunk.css +0 -26
  357. package/dist/css/12.chunk.css +0 -10
  358. package/dist/css/31.chunk.css +0 -4
  359. package/dist/css/35.chunk.css +0 -6
  360. package/dist/css/47.chunk.css +0 -4
  361. package/dist/libs/common/src/backbone/services/ScrollService.d.ts +0 -19
  362. package/dist/libs/shared/src/components/svgs/ClickViewLogo.d.ts +0 -2
  363. package/dist/libs/shared/src/enums/ThumbnailSize.d.ts +0 -6
  364. package/dist/libs/shared/src/services/ConfigDataService.d.ts +0 -13
  365. package/dist/projects/lite/src/apps/user-manager/components/delete-uploaded-student-popup/DeleteUploadedStudentPopup.d.ts +0 -8
  366. package/dist/projects/lite/src/apps/user-manager/components/delete-uploaded-teacher-popup/DeleteUploadedTeacherPopup.d.ts +0 -8
  367. package/dist/projects/lite/src/apps/user-manager/components/edit-student-details/EditStudentDetails.d.ts +0 -12
  368. package/dist/projects/lite/src/apps/user-manager/components/edit-teacher-details/EditTeacherDetails.d.ts +0 -12
  369. package/dist/projects/lite/src/apps/user-manager/components/index.d.ts +0 -5
  370. package/dist/projects/lite/src/apps/user-manager/components/manage-users-list/teachers/ManageTeacherItem.d.ts +0 -9
  371. package/dist/projects/lite/src/apps/user-manager/components/student-review-table/StudentReviewRow.d.ts +0 -11
  372. package/dist/projects/lite/src/apps/user-manager/components/student-review-table/StudentReviewTable.d.ts +0 -9
  373. package/dist/projects/lite/src/apps/user-manager/components/teacher-review-table/TeacherReviewRow.d.ts +0 -11
  374. package/dist/projects/lite/src/apps/user-manager/components/teacher-review-table/TeacherReviewTable.d.ts +0 -9
  375. package/dist/projects/lite/src/apps/user-manager/components/year-level-select/YearLevelSelect.d.ts +0 -9
  376. package/dist/projects/lite/src/apps/user-manager/enums/index.d.ts +0 -1
  377. package/dist/projects/lite/src/apps/user-manager/enums/mocks/MockUserType.d.ts +0 -4
  378. package/dist/projects/lite/src/apps/user-manager/flight-requests/YearLevelRequests.d.ts +0 -4
  379. package/dist/projects/lite/src/apps/user-manager/interfaces/mocks/MockStudent.d.ts +0 -10
  380. package/dist/projects/lite/src/apps/user-manager/interfaces/mocks/MockTeacher.d.ts +0 -8
  381. package/dist/projects/lite/src/apps/user-manager/interfaces/mocks/MockUserRole.d.ts +0 -3
  382. package/dist/projects/lite/src/apps/user-manager/interfaces/mocks/MockYearLevel.d.ts +0 -3
  383. package/dist/projects/lite/src/apps/user-manager/views/create-student/CreateStudentView.d.ts +0 -5
  384. package/dist/projects/lite/src/apps/user-manager/views/create-teacher/CreateTeacherView.d.ts +0 -5
  385. package/dist/projects/lite/src/apps/user-manager/views/edit-student/EditStudentView.d.ts +0 -7
  386. package/dist/projects/lite/src/apps/user-manager/views/edit-teacher/EditTeacherView.d.ts +0 -7
  387. package/dist/projects/lite/src/apps/user-manager/views/remove-user/RemoveUserView.d.ts +0 -8
  388. package/dist/projects/lite/src/apps/user-manager/views/school-teacher-manager/empty-state/SchoolTeacherManagerEmptyState.d.ts +0 -2
  389. package/dist/projects/lite/src/apps/user-manager/views/student-upload-review/StudentUploadReviewView.d.ts +0 -5
  390. package/dist/projects/lite/src/apps/user-manager/views/teacher-upload-review/TeacherUploadReviewView.d.ts +0 -5
  391. package/dist/projects/lite/src/shared/components/web-player/WebPlayer.d.ts +0 -9
  392. package/dist/scripts/0-6bc17823fd.chunk.js +0 -1
  393. package/dist/scripts/1-b20a2dd250.chunk.js +0 -17
  394. package/dist/scripts/11-f67b6c11a7.chunk.js +0 -1
  395. package/dist/scripts/12-c3f4ba1831.chunk.js +0 -1
  396. package/dist/scripts/13-d44a1e6204.chunk.js +0 -1
  397. package/dist/scripts/14-bbf4ab8ab9.chunk.js +0 -1
  398. package/dist/scripts/15-bdef10f60a.chunk.js +0 -1
  399. package/dist/scripts/16-691b35dc8c.chunk.js +0 -1
  400. package/dist/scripts/17-4e3899d62b.chunk.js +0 -1
  401. package/dist/scripts/18-6afc6b44f3.chunk.js +0 -1
  402. package/dist/scripts/19-7f2d561cf2.chunk.js +0 -1
  403. package/dist/scripts/2-a578d78153.chunk.js +0 -1
  404. package/dist/scripts/20-fe4b732b3b.chunk.js +0 -1
  405. package/dist/scripts/21-850a6abb96.chunk.js +0 -1
  406. package/dist/scripts/22-be37ecc01d.chunk.js +0 -1
  407. package/dist/scripts/23-9ace914ea0.chunk.js +0 -1
  408. package/dist/scripts/24-007409325f.chunk.js +0 -1
  409. package/dist/scripts/25-9d70dbe4ec.chunk.js +0 -1
  410. package/dist/scripts/26-e280e72009.chunk.js +0 -1
  411. package/dist/scripts/27-c8f5fd76cb.chunk.js +0 -1
  412. package/dist/scripts/28-015dd3e4d4.chunk.js +0 -1
  413. package/dist/scripts/29-91d67f4584.chunk.js +0 -1
  414. package/dist/scripts/3-aa01c4304a.chunk.js +0 -7
  415. package/dist/scripts/30-f16ad621da.chunk.js +0 -1
  416. package/dist/scripts/31-3f405d0372.chunk.js +0 -1
  417. package/dist/scripts/32-7a75602cc0.chunk.js +0 -1
  418. package/dist/scripts/33-8d70bde32b.chunk.js +0 -1
  419. package/dist/scripts/34-3f095c24f3.chunk.js +0 -1
  420. package/dist/scripts/35-58407394d5.chunk.js +0 -1
  421. package/dist/scripts/36-552740daf0.chunk.js +0 -1
  422. package/dist/scripts/37-d79eda4acb.chunk.js +0 -1
  423. package/dist/scripts/38-a6c89ffb8f.chunk.js +0 -1
  424. package/dist/scripts/39-4a615de1ce.chunk.js +0 -1
  425. package/dist/scripts/4-d296a64d17.chunk.js +0 -1
  426. package/dist/scripts/42-0e2ebfa151.chunk.js +0 -1
  427. package/dist/scripts/43-e1d3a1f0e5.chunk.js +0 -1
  428. package/dist/scripts/44-8a44b614a8.chunk.js +0 -1
  429. package/dist/scripts/45-9418f81185.chunk.js +0 -1
  430. package/dist/scripts/46-4ab8038e30.chunk.js +0 -1
  431. package/dist/scripts/47-b6a95ef8b0.chunk.js +0 -1
  432. package/dist/scripts/48-e4150407ee.chunk.js +0 -1
  433. package/dist/scripts/49-8fd6a45338.chunk.js +0 -1
  434. package/dist/scripts/5-3842bd1f2d.chunk.js +0 -1
  435. package/dist/scripts/50-ab1c16848b.chunk.js +0 -1
  436. package/dist/scripts/51-7ce29a119d.chunk.js +0 -1
  437. package/dist/scripts/52-12e0feca43.chunk.js +0 -1
  438. package/dist/scripts/53-a5250a2064.chunk.js +0 -1
  439. package/dist/scripts/54-ff24fa0c07.chunk.js +0 -1
  440. package/dist/scripts/56-687e915081.chunk.js +0 -1
  441. package/dist/scripts/6-7bee1cd6c9.chunk.js +0 -1
  442. package/dist/scripts/60-1672f666ce.chunk.js +0 -1
  443. package/dist/scripts/61-b2bdee9283.chunk.js +0 -1
  444. package/dist/scripts/62-d7cbe9da67.chunk.js +0 -1
  445. package/dist/scripts/63-2126404b54.chunk.js +0 -1
  446. package/dist/scripts/7-e39bfefa23.chunk.js +0 -1
  447. package/dist/scripts/8-244738cbaf.chunk.js +0 -1
  448. package/dist/scripts/bundle-09bb583faa.min.js +0 -15
  449. package/dist/scripts/polyfills-46d3c7a509.min.js +0 -1
  450. /package/dist/css/{36.chunk.css → 39.chunk.css} +0 -0
  451. /package/dist/css/{51.chunk.css → 56.chunk.css} +0 -0
  452. /package/dist/css/{55.chunk.css → 57.chunk.css} +0 -0
@@ -105,6 +105,18 @@ export interface SearchBarProps<T extends HashObject> {
105
105
  * which side to render it on. Defaults to `right` in `defaultProps`
106
106
  */
107
107
  searchIconPlacement?: 'left' | 'right' | false;
108
+ /**
109
+ * If true, a cross svg will be rendered.
110
+ * Clicking this icon will reset the query.
111
+ */
112
+ showClearInputIcon?: boolean;
113
+ /**
114
+ * Optional callback function to be called when the clear input
115
+ * icon is clicked.
116
+ * The query will be reset automatically, this callback is for
117
+ * adding additional functionality.
118
+ */
119
+ onClickClearInput?: () => void;
108
120
  /**
109
121
  * Flag to determine whether clicking the search icon should trigger
110
122
  * submitting the search query.
@@ -114,11 +126,22 @@ export interface SearchBarProps<T extends HashObject> {
114
126
  * Flag to determine whether the search input should be autofocused.
115
127
  */
116
128
  autoFocusInput?: boolean;
129
+ /**
130
+ * If true, the default Bootstrap styling will be applied when the
131
+ * input is focused.
132
+ */
133
+ highlightInputOnFocus?: boolean;
117
134
  /**
118
135
  * When true, the input field will be cleared whenever a suggestion is selected.
119
136
  */
120
137
  clearQueryOnSelect?: boolean;
121
138
  onBackspace?: () => void;
139
+ /**
140
+ * When true, the search input will be wrapped in a <form />.
141
+ * This is true by default.
142
+ * If rendering <SearchBar /> within another form, set this to false.
143
+ */
144
+ renderAsForm?: boolean;
122
145
  }
123
146
  export declare function SearchBar<T extends HashObject>(props: SearchBarProps<T>): JSX.Element;
124
147
  export declare namespace SearchBar {
@@ -130,5 +153,6 @@ export declare namespace SearchBar {
130
153
  recentSearches: any[];
131
154
  initialSuggestions: any[];
132
155
  searchIconPlacement: string;
156
+ renderAsForm: boolean;
133
157
  };
134
158
  }
@@ -1,8 +1,12 @@
1
1
  /// <reference types="react" />
2
2
  import * as Autosuggest from 'react-autosuggest';
3
- interface SearchInputProps {
3
+ import { HashObject } from "../../../../common/src/react/interfaces";
4
+ interface SearchInputProps<T> extends Autosuggest.InputProps<T> {
4
5
  onClickSearchIcon?: () => void;
5
6
  searchIconPlacement?: 'left' | 'right' | false;
7
+ showClearInputIcon?: boolean;
8
+ onClickClearInput?: () => void;
9
+ highlightOnFocus?: boolean;
6
10
  }
7
- export declare function SearchInput<T extends {}>(props: SearchInputProps & Autosuggest.InputProps<T>): JSX.Element;
11
+ export declare function SearchInput<T extends HashObject>(props: SearchInputProps<T>): JSX.Element;
8
12
  export {};
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { Core } from "../../../../../common/src/backbone";
3
3
  import { Image } from "../../../interfaces";
4
- import { ThumbnailSize } from "../../../enums/ThumbnailSize";
4
+ import { ImageOptions } from "../../../utils/ImageHelper";
5
5
  import { AnalyticsOptions, HashObject } from "../../../../../analytics/src/interfaces";
6
6
  export declare enum AspectRatio {
7
7
  SixteenByNine = 0,
@@ -11,10 +11,12 @@ export declare enum AspectRatio {
11
11
  }
12
12
  interface ThumbnailProps {
13
13
  data: Image | string;
14
- size?: ThumbnailSize;
14
+ imageOptions?: ImageOptions;
15
15
  appLink?: Core.AppLink;
16
16
  aspectRatio?: AspectRatio;
17
17
  className?: string;
18
+ imageClassName?: string;
19
+ imageStyle?: HashObject;
18
20
  preload?: boolean;
19
21
  analyticsData?: HashObject;
20
22
  analyticsOptions?: AnalyticsOptions;
@@ -1,15 +1,15 @@
1
1
  /// <reference types="react" />
2
2
  import { Core } from "../../../../../common/src/backbone";
3
3
  import { Video, Interactive, Clip } from "../../../interfaces";
4
- import { ThumbnailSize } from "../../../enums/ThumbnailSize";
5
4
  import { ThumbnailTextPosition } from "../../../enums/ThumbnailTextPosition";
5
+ import { ImageOptions } from "../../../utils/ImageHelper";
6
6
  import { AnalyticsOptions, HashObject } from "../../../../../analytics/src/interfaces";
7
7
  declare type BaseVideoThumbnailProps = {
8
8
  video: Video;
9
9
  videoType?: 'video' | 'interactive' | 'clip';
10
10
  interactive?: Interactive;
11
11
  clip?: Clip;
12
- size: ThumbnailSize;
12
+ imageOptions: ImageOptions;
13
13
  type: 'expandable' | 'static';
14
14
  textPosition: ThumbnailTextPosition;
15
15
  appLink: Core.AppLink;
@@ -3,22 +3,18 @@ import { Core } from "../../../../../common/src/backbone";
3
3
  import { Flight } from "../../../../../common/src/react";
4
4
  import { WidgetType } from "../../../interfaces";
5
5
  import { WidgetContents } from "../../../enums/WidgetContents";
6
- import { ThumbnailSize } from "../../../enums/ThumbnailSize";
6
+ import { ImageSize } from "../../../enums/Images";
7
7
  import { AnalyticsOptions, HashObject } from "../../../../../analytics/src/interfaces";
8
- export interface FixedWidgetProps {
8
+ interface BaseFixedWidgetProps {
9
9
  id?: string;
10
10
  name?: string;
11
11
  description?: string;
12
12
  type: WidgetType;
13
13
  contents: WidgetContents;
14
- thumbnailSize?: ThumbnailSize;
14
+ thumbnailSize?: ImageSize;
15
15
  paddingSize?: '3' | '4';
16
- collection?: any;
17
- lazyLoad?: boolean;
18
- fetch?: (...args: any) => Flight.Response<any>;
19
- prefetched?: boolean;
20
- setData?: (data: any) => any;
21
16
  minimumItemCount?: number;
17
+ setData?: (data: any) => any;
22
18
  childComponent: React.ElementType;
23
19
  childAppLink?: Core.AppLink;
24
20
  appLink?: Core.AppLink;
@@ -26,6 +22,19 @@ export interface FixedWidgetProps {
26
22
  analyticsData?: HashObject;
27
23
  analyticsOptions?: AnalyticsOptions;
28
24
  }
25
+ declare type FixedWidgetWithFetchProps = BaseFixedWidgetProps & {
26
+ lazyLoad: true;
27
+ collection?: never;
28
+ fetch: (...args: any) => Flight.Response<any>;
29
+ prefetched?: false;
30
+ };
31
+ declare type FixedWidgetWithCollectionProps = BaseFixedWidgetProps & {
32
+ collection: any;
33
+ lazyLoad?: false;
34
+ fetch?: never;
35
+ prefetched: true;
36
+ };
37
+ export declare type FixedWidgetProps = FixedWidgetWithCollectionProps | FixedWidgetWithFetchProps;
29
38
  declare function FixedWidget(props: FixedWidgetProps): JSX.Element;
30
39
  declare namespace FixedWidget {
31
40
  var defaultProps: {
@@ -13,7 +13,7 @@ export interface WidgetData {
13
13
  name?: string;
14
14
  description?: string;
15
15
  }
16
- export declare function useFetchData(props: FixedWidgetProps, dispatch: Function, mediaQueryType: MediaQueryStrings, shouldFetch: boolean): Flight.Response<any>;
16
+ export declare function useFetchData(props: FixedWidgetProps, dispatch: React.Dispatch<ReducerActions<WidgetInteraction, FixedWidgetPayload>>, mediaQueryType: MediaQueryStrings, shouldFetch: boolean): Flight.Response<any>;
17
17
  /**
18
18
  * This function wrapper determines which widget item images should be pre-fetched by the LazyImage component.
19
19
  * It does this by looking at which images are going to be shown after the users clicks on the "Next"
@@ -1,7 +1,2 @@
1
1
  /// <reference types="react" />
2
- import { WidgetType } from "../../../interfaces";
3
- interface PartialFixedWidgetProps {
4
- type: WidgetType;
5
- }
6
- export declare function PartialFixedWidget(props: PartialFixedWidgetProps): JSX.Element;
7
- export {};
2
+ export declare function PartialFixedWidget(): JSX.Element;
@@ -1,10 +1,9 @@
1
1
  /// <reference types="react" />
2
2
  import { Core } from "../../../../../../common/src/backbone";
3
- import { Playlist, PresentationAudience, WidgetContext } from "../../../../interfaces";
3
+ import { Playlist, PresentationAudience } from "../../../../interfaces";
4
4
  export interface PlaylistWidgetItemProps {
5
5
  data: Playlist;
6
6
  appLink: Core.AppLink;
7
7
  presentationAudiences: PresentationAudience[];
8
- context: WidgetContext;
9
8
  }
10
9
  export declare function PlaylistWidgetItem(props: PlaylistWidgetItemProps): JSX.Element;
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import { Core } from "../../../../../../common/src/backbone";
3
+ import { HashObject } from "../../../../../../common/src/react/interfaces";
4
+ import { AnalyticsOptions } from "../../../../../../analytics/src/interfaces";
5
+ import { Resource, Link } from "../../../../interfaces";
6
+ export interface ResourceWidgetItemProps {
7
+ data: Resource | Link;
8
+ appLink: Core.AppLink;
9
+ analyticsData?: HashObject;
10
+ analyticsOptions?: AnalyticsOptions;
11
+ imageCdnUrl: string;
12
+ }
13
+ export declare const ResourceWidgetItem: React.NamedExoticComponent<ResourceWidgetItemProps>;
@@ -1,11 +1,10 @@
1
1
  /// <reference types="react" />
2
2
  import { Core } from "../../../../../../common/src/backbone";
3
- import { WidgetContext, Classification, PresentationAudience } from "../../../../interfaces";
3
+ import { Classification, PresentationAudience } from "../../../../interfaces";
4
4
  export interface TallSubjectWidgetItemProps {
5
5
  data: Classification;
6
6
  appLink: Core.AppLink;
7
7
  audiences: PresentationAudience[];
8
- context?: WidgetContext;
9
8
  preloadImage?: boolean;
10
9
  }
11
10
  export declare function TallSubjectWidgetItem(props: TallSubjectWidgetItemProps): JSX.Element;
@@ -1,14 +1,14 @@
1
1
  import * as React from 'react';
2
2
  import { Core } from "../../../../../../common/src/backbone";
3
3
  import { WidgetContext, Video } from "../../../../interfaces";
4
- import { ThumbnailSize } from "../../../../enums/ThumbnailSize";
4
+ import { ImageSize } from "../../../../enums/Images";
5
5
  import { AnalyticsOptions, HashObject } from "../../../../../../analytics/src/interfaces";
6
6
  interface VideoWidgetItemProps {
7
7
  data: Video;
8
8
  appLink: Core.AppLink;
9
9
  seriesAppLink: Core.AppLink;
10
10
  context: WidgetContext;
11
- thumbnailSize: ThumbnailSize;
11
+ thumbnailSize: ImageSize;
12
12
  onHover: (isHovering: boolean) => void;
13
13
  preloadImage?: boolean;
14
14
  analyticsData?: HashObject;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { CssMeasurement } from "../../../enums/CssMeasurement";
3
- interface SlidingListContainerProps extends React.PropsWithChildren<{}> {
3
+ interface SlidingListContainerProps extends React.PropsWithChildren<unknown> {
4
4
  position: number;
5
5
  positionType: CssMeasurement;
6
6
  onDrag?: (event: React.DragEvent<HTMLDivElement>) => void;
@@ -10,6 +10,7 @@ interface WidgetButtonProps {
10
10
  hide: boolean;
11
11
  contents?: WidgetContents;
12
12
  useGradientBackdrop?: boolean;
13
+ className?: string;
13
14
  }
14
15
  export declare const WidgetButton: React.NamedExoticComponent<WidgetButtonProps>;
15
16
  export {};
@@ -2,5 +2,6 @@ declare const BootstrapKeys: {
2
2
  LOCALE: string;
3
3
  PHRASES: string;
4
4
  VERSION: string;
5
+ TOKEN: string;
5
6
  };
6
7
  export { BootstrapKeys };
@@ -0,0 +1,8 @@
1
+ export declare enum MasterObjectTypes {
2
+ Folder = "category",
3
+ CategoryTree = "category_tree",
4
+ CustomLibrary = "custom_library",
5
+ HostedLibrary = "hosted_library",
6
+ Exchange = "exchange",
7
+ Workspace = "workspace"
8
+ }
@@ -0,0 +1,5 @@
1
+ export declare enum ObjectStatus {
2
+ Disabled = 0,
3
+ Active = 1,
4
+ Inactive = 2
5
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum PlayerMediaType {
2
+ MasterInteractive = "MasterInteractive",
3
+ MasterVideo = "MasterVideo"
4
+ }
@@ -1,4 +1,5 @@
1
1
  export declare enum UserGroup {
2
- Learner = "learner",
3
- Staff = "staff"
2
+ Unknown = 0,
3
+ Staff = 1,
4
+ Learner = 2
4
5
  }
@@ -5,5 +5,6 @@ export declare enum WidgetContents {
5
5
  Playlists = "playlists",
6
6
  UserChannels = "user channels",
7
7
  Interactives = "interactives",
8
- Clips = "clips"
8
+ Clips = "clips",
9
+ Resources = "resources"
9
10
  }
@@ -1,4 +1,6 @@
1
1
  import { Flight } from "../../../common/src/react";
2
+ import { Config } from '../interfaces';
2
3
  export declare const ConfigRequests: {
3
- config: Flight.Request;
4
+ config(success?: (config: Config) => void, error?: () => void): Flight.Request;
5
+ version(success?: (version: any) => void, error?: () => void): Flight.Request;
4
6
  };
@@ -0,0 +1,5 @@
1
+ import { Flight } from "../../../common/src/react";
2
+ import { PlayerMediaType } from "../enums/PlayerMediaType";
3
+ export declare const PlayerRequests: {
4
+ createViewKey(id: string, mediaType: PlayerMediaType): Flight.Request;
5
+ };
@@ -22,4 +22,5 @@ export declare const PlaylistRequests: {
22
22
  getPlaylistPrivacy(playlistId: string): Flight.Request;
23
23
  updatePlaylistPrivacy(playlistId: string, privacy: PlaylistPrivacy, success?: (data: any) => void, error?: (xhr: Xhr) => void, always?: () => void): Flight.Request;
24
24
  getMigrationTask(success?: (data: any) => void, error?: (xhr: Xhr) => void): Flight.Request;
25
+ copyPlaylist(id: string, success?: (data: any) => void, error?: (xhr: Xhr) => void, always?: () => void): Flight.Request;
25
26
  };
@@ -7,7 +7,7 @@ export declare const PreferenceRequests: {
7
7
  */
8
8
  currentPresentations(type?: PresentationType): Flight.Request;
9
9
  availablePresentations(type?: PresentationType): Flight.Request;
10
- setPresentation(presentation: Presentation, type: PresentationType, success?: () => void): Flight.Request;
10
+ setPresentation(presentation: Presentation, type: PresentationType, success?: () => void, error?: () => void): Flight.Request;
11
11
  /**
12
12
  * Subjects
13
13
  */
@@ -0,0 +1,11 @@
1
+ import { Flight } from "../../../common/src/react";
2
+ import { HashObject } from "../../../common/src/react/interfaces/HashObject";
3
+ import { Xhr } from "../../../common/src/backbone/interfaces/Xhr";
4
+ import { UpdateResourceRequest } from "../interfaces";
5
+ export declare const ResourceRequests: {
6
+ resource(id: string): Flight.Request;
7
+ videoResources(videoId: string): Flight.Request;
8
+ addResource(videoId: string, resource: any, success?: (data: HashObject<any>) => void, error?: (xhr: Xhr) => void, always?: () => void): Flight.Request;
9
+ updateResource(id: string, data: UpdateResourceRequest, success?: (data: HashObject<any>) => void, error?: (xhr: Xhr) => void, always?: () => void): Flight.Request;
10
+ deleteResource(id: string, videoId: string, success?: (data: HashObject<any>) => void, error?: (xhr: Xhr) => void, always?: () => void): Flight.Request;
11
+ };
@@ -2,8 +2,10 @@ import { Flight } from "../../../common/src/react";
2
2
  import { HashObject } from "../../../common/src/react/interfaces/HashObject";
3
3
  import { Xhr } from "../../../common/src/backbone/interfaces";
4
4
  import { Theme } from "../interfaces";
5
+ import { ThemeType } from '../enums/ThemeType';
5
6
  export declare const ThemeRequests: {
6
7
  theme(id: string): Flight.Request;
8
+ themeImages(name: string, type: ThemeType): Flight.Request;
7
9
  themes(type?: string): Flight.Request;
8
10
  createTheme(data: Theme, success?: (data: HashObject<any>) => void, error?: (xhr: Xhr) => void, always?: () => void): Flight.Request;
9
11
  updateTheme(id: string, data: Theme, success?: (data: HashObject<any>) => void, error?: (xhr: Xhr) => void, always?: () => void): Flight.Request;
@@ -1,7 +1,9 @@
1
1
  import { Flight } from "../../../common/src/react";
2
2
  import { CurrentUser } from "../interfaces";
3
+ import { HashObject } from "../../../common/src/react/interfaces";
3
4
  export declare const UserRequests: {
4
5
  currentUser(success?: (user: CurrentUser) => void, error?: () => void): Flight.Request;
5
- workspace: Flight.Request;
6
+ workspace(success?: (workspace: HashObject<any>) => void, error?: () => void): Flight.Request;
6
7
  sendVerificationEmail(emailAddress: string, success: () => void, error: () => void, always: () => void): Flight.Request;
8
+ token(success?: (token: HashObject<any>) => void, error?: () => void): Flight.Request;
7
9
  };
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { Core } from "../../../common/src/backbone";
3
+ /**
4
+ * Hook used to listen to updates on a Backbone Collection
5
+ * and trigger a re-render.
6
+ */
7
+ export declare function useGetCollectionItems<T>(getCollection: () => Core.Collection, onRemove?: () => void, dependencies?: React.DependencyList): T[];
@@ -81,5 +81,7 @@ export declare enum localSvgs {
81
81
  Tag = "tag",
82
82
  Email = "email",
83
83
  YearLevel = "year-level",
84
- Subjects = "subjects"
84
+ Subjects = "subjects",
85
+ Download = "download",
86
+ Print = "print"
85
87
  }
@@ -19,4 +19,6 @@ import VisibleOn from './visible-on.svg';
19
19
  import NoEdit from './no-edit.svg';
20
20
  import EditClickView from './edit-clickview.svg';
21
21
  import Share2 from './share2.svg';
22
- export { AddToPlaylist, Close, Delete, Edit, Expand, Minus, More, NewWindow, Plus, Preview, Search, Share, Upload, Down, Right, UpDown, VisibleOff, VisibleOn, NoEdit, EditClickView, Share2 };
22
+ import Download from './download.svg';
23
+ import Print from './print.svg';
24
+ export { AddToPlaylist, Close, Delete, Edit, Expand, Minus, More, NewWindow, Plus, Preview, Search, Share, Upload, Down, Right, UpDown, VisibleOff, VisibleOn, NoEdit, EditClickView, Share2, Download, Print };
@@ -0,0 +1,3 @@
1
+ import { BasePaginatedCollection, Subtitle } from "./..";
2
+ export interface SubtitleCollection extends BasePaginatedCollection<Subtitle> {
3
+ }
@@ -19,3 +19,4 @@ export * from './LinkCollection';
19
19
  export * from './ClipCollection';
20
20
  export * from './FolderCollection';
21
21
  export * from './CustomerCollection';
22
+ export * from './SubtitleCollection';
@@ -5,7 +5,9 @@ export interface Config extends BaseObject {
5
5
  imageCdnUrl: string;
6
6
  countryCode: CountryCode;
7
7
  webPlayerUrl: string;
8
+ gatewayApiUrl: string;
8
9
  notificationServiceUrl?: string;
9
10
  collectionApiUrls?: RegionalUrl;
10
11
  collectionApiClientId?: string;
12
+ playerApiUrl?: string;
11
13
  }
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Interface for a file uploaded
3
+ * to FileApi
4
+ */
5
+ export interface FileUpload {
6
+ id: string;
7
+ file: {
8
+ cvUpload: {
9
+ uploadId: string;
10
+ ingestUrl: string;
11
+ };
12
+ };
13
+ fileInfo: {
14
+ id: string;
15
+ name: string;
16
+ extension: string;
17
+ size: number;
18
+ url: string;
19
+ };
20
+ }
@@ -1,7 +1,9 @@
1
1
  import { BaseObject } from "./..";
2
2
  import { GlanceFormat } from "../../enums/GlanceFormat";
3
+ import { ThemeType } from "../../enums/ThemeType";
3
4
  export interface Glance extends BaseObject {
4
5
  theme: string;
5
6
  format: GlanceFormat;
6
7
  content: string;
8
+ type: ThemeType;
7
9
  }
@@ -0,0 +1,4 @@
1
+ export interface Language {
2
+ code: string;
3
+ name: string;
4
+ }
@@ -1,3 +1,4 @@
1
1
  import { BaseObject } from "./..";
2
2
  export interface Link extends BaseObject {
3
+ url: string;
3
4
  }
@@ -0,0 +1,4 @@
1
+ import { BaseObject } from './primitives';
2
+ export interface Pdf extends BaseObject {
3
+ url: string;
4
+ }
@@ -0,0 +1,3 @@
1
+ export interface PlayerViewKey {
2
+ viewKey: string;
3
+ }
@@ -1,9 +1,17 @@
1
1
  import { BaseObject } from './primitives';
2
- interface ResourceMatadata {
3
- type: string;
2
+ import { Thumbnail } from './Thumbnail';
3
+ import { FileType } from "../../utils/VideoDetailsHelper";
4
+ import { Pdf } from './Pdf';
5
+ export declare type ResourceType = 'teacher-pack' | 'student-activity' | 'additional-materials' | 'atom-guide';
6
+ interface ResourceMetadata {
7
+ type: FileType;
8
+ resourceType?: ResourceType;
4
9
  }
5
10
  export interface Resource extends BaseObject {
6
11
  url: string;
7
- metadata: ResourceMatadata;
12
+ metadata: ResourceMetadata;
13
+ fileId: string;
14
+ thumbnail: Thumbnail;
15
+ pdf?: Pdf;
8
16
  }
9
17
  export {};
@@ -0,0 +1,7 @@
1
+ import { BaseObject } from './primitives';
2
+ export interface Subtitle extends BaseObject {
3
+ language: string;
4
+ metadata: {
5
+ autoGenerated?: boolean;
6
+ };
7
+ }
@@ -1,3 +1,6 @@
1
1
  import { Image } from "./..";
2
2
  export interface Thumbnail extends Image {
3
+ metadata?: {
4
+ rotation?: number;
5
+ };
3
6
  }
@@ -2,7 +2,10 @@ import { BaseObject, Group, Avatar } from "./..";
2
2
  import { UserRole } from "../../enums/UserRole";
3
3
  import { CustomerType } from "../../enums/CustomerType";
4
4
  import { OnlineUserRole } from "../../enums/UserRole";
5
+ import { UserGroup } from "../../enums/UserGroup";
6
+ import { ObjectStatus } from "../../enums/ObjectStatus";
5
7
  import { CustomerCollection } from '../collections';
8
+ export declare type YearGroup = 'Kindergarten' | 'Year 1' | 'Year 2' | 'Year 3' | 'Year 4' | 'Year 5' | 'Year 6' | 'Year 7' | 'Year 8' | 'Year 9' | 'Year 10' | 'Year 11' | 'Year 12' | 'Year 13' | 'Staff';
6
9
  /**
7
10
  * Master User
8
11
  */
@@ -13,10 +16,14 @@ export interface User extends BaseObject {
13
16
  bio: string;
14
17
  email: string;
15
18
  username: string;
16
- status: string;
19
+ status: ObjectStatus;
17
20
  role: UserRole;
18
21
  customers: CustomerCollection;
22
+ yearGroup: YearGroup;
23
+ userType: UserGroup;
19
24
  avatar?: Avatar;
25
+ isPrimaryContact: boolean;
26
+ roleId: OnlineUserRole;
20
27
  }
21
28
  export interface CuratorUser extends User {
22
29
  userId: string;
@@ -47,3 +47,7 @@ export * from './UserChannel';
47
47
  export * from './Group';
48
48
  export * from './VideoHistory';
49
49
  export * from './EntitySetting';
50
+ export * from './Subtitle';
51
+ export * from './Language';
52
+ export * from './FileUpload';
53
+ export * from './PlayerViewKey';
@@ -0,0 +1,5 @@
1
+ import { PlayerMediaType } from "../../enums/PlayerMediaType";
2
+ export interface CreateViewKeyRequest {
3
+ mediaId: string;
4
+ mediaType: PlayerMediaType;
5
+ }
@@ -0,0 +1,3 @@
1
+ export interface UpdateObjectChannel {
2
+ id: string;
3
+ }
@@ -0,0 +1,3 @@
1
+ export interface UpdateObjectRating {
2
+ id: string;
3
+ }
@@ -0,0 +1,3 @@
1
+ export interface UpdateResourceRequest {
2
+ name: string;
3
+ }
@@ -1,5 +1,9 @@
1
+ import { UpdateObjectRating, UpdateObjectChannel, Thumbnail } from "./..";
1
2
  export interface UpdateVideoRequest {
2
- id: string;
3
3
  name: string;
4
4
  description?: string;
5
+ rating: UpdateObjectRating;
6
+ dateBroadcast?: string;
7
+ channel?: UpdateObjectChannel;
8
+ thumbnail?: Thumbnail;
5
9
  }
@@ -1,2 +1,6 @@
1
+ export * from './CreateViewKeyRequest';
1
2
  export * from './ReorderRequest';
3
+ export * from './UpdateObjectChannel';
4
+ export * from './UpdateObjectRating';
5
+ export * from './UpdateResourceRequest';
2
6
  export * from './UpdateVideoRequest';
@@ -0,0 +1,5 @@
1
+ import { Config } from "./..";
2
+ export interface BaseConfigDataService {
3
+ getConfig(success?: (config: Config) => void, error?: () => void): void;
4
+ getVersion(success?: (version: string) => void, error?: () => void): void;
5
+ }
@@ -1,4 +1,6 @@
1
1
  import { CurrentUser } from "./..";
2
+ import { HashObject } from "../../../../common/src/react/interfaces";
2
3
  export interface BaseUserDataService {
3
4
  getCurrentUser(success?: (user: CurrentUser) => void, error?: () => void): void;
5
+ getWorkspace(success?: (workspace: HashObject) => void, error?: () => void): void;
4
6
  }
@@ -4,3 +4,4 @@ export * from './BaseLibraryDataService';
4
4
  export * from './BaseSeriesDataService';
5
5
  export * from './BaseSettingsDataService';
6
6
  export * from './BaseUserDataService';
7
+ export * from './BaseConfigDataService';
@@ -3,7 +3,7 @@ import { Core } from "../../../../../common/src/backbone";
3
3
  import { ImageOptions } from "../../../utils/ImageHelper";
4
4
  export interface ThumbnailComponentOptions extends Core.ComponentOptions {
5
5
  model: Core.Model;
6
- onClickHandler?: Function;
6
+ onClickHandler?: (...args: any) => any;
7
7
  thumbnailOptions?: ImageOptions;
8
8
  playIcon?: boolean;
9
9
  lazyload?: boolean;