@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
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ import { HashObject } from "../../../../../../../libs/common/src/react/interfaces/HashObject";
3
+ import { UserGroup } from "../../../../../../../libs/shared/src/enums/UserGroup";
4
+ import { EditUserRequest } from 'apps/user-manager/interfaces';
5
+ interface UserReviewRowProps {
6
+ user: EditUserRequest;
7
+ userType: UserGroup;
8
+ errors: HashObject;
9
+ onClickEdit: (user: EditUserRequest) => void;
10
+ onClickDelete: (user: EditUserRequest) => void;
11
+ }
12
+ export declare function UserReviewRow(props: UserReviewRowProps): JSX.Element;
13
+ export {};
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ import { UserGroup } from "../../../../../../../libs/shared/src/enums/UserGroup";
3
+ import { EditUserRequest } from 'apps/user-manager/interfaces';
4
+ interface UserReviewTableProps {
5
+ users: EditUserRequest[];
6
+ userType: UserGroup;
7
+ showInvalidEmptyState: boolean;
8
+ onClickSeeFullList: () => void;
9
+ onClickEdit: (user: EditUserRequest) => void;
10
+ onClickDelete: (user: EditUserRequest) => void;
11
+ }
12
+ export declare function UserReviewTable(props: UserReviewTableProps): JSX.Element;
13
+ export {};
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ interface YearGroupSelectProps {
3
+ yearGroups: string[];
4
+ onSelect: (yearGroup: string) => void;
5
+ selected?: string;
6
+ }
7
+ export declare function YearGroupSelect(props: YearGroupSelectProps): React.ReactElement;
8
+ export {};
@@ -1,26 +1,16 @@
1
1
  import { Flight } from "../../../../../../libs/common/src/react";
2
2
  import { HashObject } from "../../../../../../libs/common/src/react/interfaces/HashObject";
3
- import { EditUserRequest, MockStudent, MockTeacher } from 'apps/user-manager/interfaces';
3
+ import { UserGroup } from "../../../../../../libs/shared/src/enums/UserGroup";
4
+ import { EditUserRequest, BulkDeleteUsersRequest } from 'apps/user-manager/interfaces';
5
+ import { BulkUpdateUserStatusRequest } from 'apps/user-manager/interfaces/BulkUpdateUserStatusRequest';
4
6
  export declare const SchoolUserRequests: {
5
- /**
6
- * School student management
7
- */
8
- getSchoolStudents(queryObject?: HashObject<any>): Flight.SimulatedRequest;
9
- tempGetAllStudents(): Flight.SimulatedRequest;
10
- removeStudentsFromSchool(ids: string[], onDone: () => void): Flight.SimulatedRequest;
11
- getStudent(id: string): Flight.SimulatedRequest;
12
- createStudent(user: EditUserRequest, success?: (newUser: MockStudent) => void, error?: () => void): Flight.SimulatedRequest;
13
- bulkCreateStudents(users: EditUserRequest[], success?: () => void, error?: () => void, always?: () => void): Flight.SimulatedRequest;
14
- updateStudent(user: EditUserRequest, success?: () => void, error?: () => void): Flight.SimulatedRequest;
15
- /**
16
- * School teacher management
17
- */
18
- getSchoolTeachers(queryObject?: HashObject<any>): Flight.SimulatedRequest;
19
- removeTeachersFromSchool(ids: string[], onDone: () => void): Flight.SimulatedRequest;
20
- getTeacher(id: string): Flight.SimulatedRequest;
21
- createTeacher(user: EditUserRequest, success?: (user: MockTeacher) => void, error?: () => void): Flight.SimulatedRequest;
22
- bulkCreateTeachers(users: EditUserRequest[], success?: () => void, error?: () => void, always?: () => void): Flight.SimulatedRequest;
23
- updateTeacher(user: EditUserRequest, success?: () => void, error?: () => void): Flight.SimulatedRequest;
24
- getUserRoles(): Flight.SimulatedRequest;
25
- getStudentsGroups(id: string): Flight.SimulatedRequest;
7
+ getUsers(customerId: string, userType: UserGroup, queryParams?: HashObject<any>): Flight.Request;
8
+ getUser(id: string): Flight.Request;
9
+ bulkRemoveUsers(data: BulkDeleteUsersRequest, success?: () => void, error?: () => void, always?: () => void): Flight.Request;
10
+ createUsers(users: {
11
+ users: EditUserRequest[];
12
+ }, success?: (newUsers: EditUserRequest[]) => void, error?: () => void, always?: () => void): Flight.Request;
13
+ updateUser(user: EditUserRequest, success?: () => void, error?: () => void, always?: () => void): Flight.Request;
14
+ searchUsers(queryParams: HashObject<any>): Flight.Request;
15
+ bulkToggleActivation(data: BulkUpdateUserStatusRequest, success?: () => void, error?: () => void, always?: () => void): Flight.Request;
26
16
  };
@@ -0,0 +1,7 @@
1
+ export interface BulkDeleteUsersRequest {
2
+ customerId: string;
3
+ users: Array<{
4
+ userId: string;
5
+ username: string;
6
+ }>;
7
+ }
@@ -0,0 +1,8 @@
1
+ import { ObjectStatus } from "../../../../../../libs/shared/src/enums/ObjectStatus";
2
+ export interface BulkUpdateUserStatusRequest {
3
+ customerId: string;
4
+ users: Array<{
5
+ userId: string;
6
+ status: ObjectStatus;
7
+ }>;
8
+ }
@@ -1,10 +1,24 @@
1
- import { MockYearLevel } from './mocks/MockYearLevel';
2
- import { MockUserRole } from './mocks/MockUserRole';
1
+ import { UserGroup } from "../../../../../../libs/shared/src/enums/UserGroup";
2
+ import { YearGroup } from "../../../../../../libs/shared/src/interfaces";
3
+ import { OnlineUserRole } from "../../../../../../libs/shared/src/enums/UserRole";
3
4
  export interface EditUserRequest {
4
- id?: string;
5
- name: string;
5
+ firstName: string;
6
6
  surname: string;
7
7
  email: string;
8
- yearLevel?: MockYearLevel;
9
- userRole?: MockUserRole;
8
+ userType: UserGroup;
9
+ customerId: string;
10
+ username: string;
11
+ masterRole: number;
12
+ roleId: OnlineUserRole;
13
+ isPrimaryContact: boolean;
14
+ yearGroup?: YearGroup;
15
+ userId?: string;
16
+ password?: string;
17
+ requirePasswordChange?: boolean;
18
+ /**
19
+ * This isn't actually a part of the request, but we temporarily add a fake ID
20
+ * to make the bulk upload stuff easier. It's eventually removed once the bulk create
21
+ * request is posted to the backend.
22
+ */
23
+ lookupId?: string;
10
24
  }
@@ -1,6 +1,3 @@
1
- export * from './mocks/MockUserRole';
2
- export * from './mocks/MockYearLevel';
3
1
  export * from './mocks/MockClassroom';
4
- export * from './mocks/MockStudent';
5
- export * from './mocks/MockTeacher';
6
2
  export * from './EditUserRequest';
3
+ export * from './BulkDeleteUsersRequest';
@@ -1,8 +1,7 @@
1
- import { BaseObject } from "../../../../../../../libs/shared/src/interfaces";
2
- import { MockStudent } from './MockStudent';
1
+ import { BaseObject, User } from "../../../../../../../libs/shared/src/interfaces";
3
2
  import { MockClassroomGroup } from 'shared/interfaces/mocks';
4
3
  export interface MockClassroom extends BaseObject {
5
- students?: MockStudent[];
4
+ students?: User[];
6
5
  groups?: MockClassroomGroup[];
7
6
  activities?: BaseObject[];
8
7
  isFavourited?: boolean;
@@ -1,11 +1,10 @@
1
1
  /// <reference types="react" />
2
2
  import { ReducerActions } from "../../../../../../libs/common/src/react/interfaces";
3
- import { MockTeacher, MockStudent } from 'apps/user-manager/interfaces';
3
+ import { EditUserRequest } from '../interfaces';
4
4
  declare type ActionTypes = 'init' | 'save' | 'delete';
5
- declare type MockUser = MockStudent & MockTeacher;
6
5
  interface InvalidUserHash {
7
6
  [lookupId: string]: {
8
- user: MockUser;
7
+ user: EditUserRequest;
9
8
  errors: {
10
9
  name?: string;
11
10
  surname?: string;
@@ -20,7 +19,7 @@ interface InvalidUserHash {
20
19
  };
21
20
  }
22
21
  export interface UserUploadReducerState {
23
- users: MockUser[];
22
+ users: EditUserRequest[];
24
23
  invalidUsers: InvalidUserHash;
25
24
  }
26
25
  /**
@@ -1,19 +1,30 @@
1
- import { MockYearLevel, MockUserRole } from 'apps/user-manager/interfaces';
2
- export declare const getTeacherValidationSchema: (userRoles: MockUserRole[]) => import("yup").ObjectSchema<import("yup").Shape<import("yup").Shape<object, {
3
- name: string;
1
+ import { YearGroup } from "../../../../../../../libs/shared/src/interfaces";
2
+ export declare const getEditUserValidationSchema: (yearGroups: YearGroup[]) => import("yup").ObjectSchema<import("yup").Shape<object, {
3
+ firstName: string;
4
4
  surname: string;
5
5
  email: string;
6
- }>, {
7
- userRole: import("yup").Shape<object, {
8
- name: any;
9
- }>;
6
+ yearGroup: string;
7
+ username: string;
8
+ customerId: number;
9
+ userType: number;
10
+ roleId: number;
11
+ masterRole: number;
12
+ userId: number;
13
+ isPrimaryContact: boolean;
10
14
  }>>;
11
- export declare const getStudentValidationSchema: (yearLevels: MockYearLevel[]) => import("yup").ObjectSchema<import("yup").Shape<import("yup").Shape<object, {
12
- name: string;
15
+ export declare const getCreateUserValidationSchema: (yearGroups: YearGroup[]) => import("yup").ObjectSchema<import("yup").Shape<import("yup").Shape<object, {
16
+ firstName: string;
13
17
  surname: string;
14
18
  email: string;
19
+ yearGroup: string;
20
+ username: string;
21
+ customerId: number;
22
+ userType: number;
23
+ roleId: number;
24
+ masterRole: number;
25
+ userId: number;
26
+ isPrimaryContact: boolean;
15
27
  }>, {
16
- yearLevel: import("yup").Shape<object, {
17
- name: any;
18
- }>;
28
+ password: string;
29
+ requirePasswordChange: boolean;
19
30
  }>>;
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import { PropsWithPopupViewProps } from "../../../../../../../libs/shared/src/interfaces";
3
+ import { UserGroup } from "../../../../../../../libs/shared/src/enums/UserGroup";
4
+ declare type BulkRemoveUsersViewProps = PropsWithPopupViewProps<{
5
+ userType: UserGroup;
6
+ }>;
7
+ export declare function BulkRemoveUsersView(props: BulkRemoveUsersViewProps): JSX.Element;
8
+ export {};
@@ -0,0 +1,8 @@
1
+ import * as React from 'react';
2
+ import { PropsWithAnalyticsOptions, PropsWithPopupViewProps } from "../../../../../../../libs/shared/src/interfaces";
3
+ import { UserGroup } from "../../../../../../../libs/shared/src/enums/UserGroup";
4
+ declare type CreateUserViewProps = PropsWithAnalyticsOptions<PropsWithPopupViewProps<{
5
+ userType: UserGroup;
6
+ }>>;
7
+ export declare function CreateUserView(props: CreateUserViewProps): React.ReactElement;
8
+ export {};
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { PropsWithPopupViewProps, PropsWithAnalyticsOptions } from "../../../../../../../libs/shared/src/interfaces";
3
+ import { UserGroup } from "../../../../../../../libs/shared/src/enums/UserGroup";
4
+ declare type EditUserViewProps = PropsWithPopupViewProps<PropsWithAnalyticsOptions<{
5
+ id: string;
6
+ userType: UserGroup;
7
+ }>>;
8
+ export declare function EditUserView(props: EditUserViewProps): React.ReactElement;
9
+ export {};
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { HashObject } from "../../../../../../../libs/common/src/react/interfaces/HashObject";
3
- interface SchoolTeacherManagerViewProps {
3
+ interface SchoolStaffManagerViewProps {
4
4
  queryParams: HashObject;
5
5
  }
6
- export declare function SchoolTeacherManagerView(props: SchoolTeacherManagerViewProps): JSX.Element;
6
+ export declare function SchoolStaffManagerView(props: SchoolStaffManagerViewProps): JSX.Element;
7
7
  export {};
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { CurrentUser } from "../../../../../../../../libs/shared/src/interfaces";
3
+ interface SchoolStaffManagerEmptyStateProps {
4
+ currentUser: CurrentUser;
5
+ }
6
+ export declare function SchoolStaffManagerEmptyState(props: SchoolStaffManagerEmptyStateProps): JSX.Element;
7
+ export {};
@@ -1,2 +1,7 @@
1
1
  /// <reference types="react" />
2
- export declare function SchoolStudentManagerEmptyState(): JSX.Element;
2
+ import { CurrentUser } from "../../../../../../../../libs/shared/src/interfaces";
3
+ interface SchoolStudentManagerEmptyStateProps {
4
+ currentUser: CurrentUser;
5
+ }
6
+ export declare function SchoolStudentManagerEmptyState(props: SchoolStudentManagerEmptyStateProps): JSX.Element;
7
+ export {};
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { PropsWithPopupViewProps } from "../../../../../../../libs/shared/src/interfaces";
3
+ declare type ToggleUserStatusViewProps = PropsWithPopupViewProps<{
4
+ id: string;
5
+ }>;
6
+ export declare function ToggleUserStatusView(props: ToggleUserStatusViewProps): JSX.Element;
7
+ export {};
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import { PropsWithPopupViewProps, PropsWithAnalyticsOptions } from "../../../../../../../libs/shared/src/interfaces";
3
+ import { UserGroup } from "../../../../../../../libs/shared/src/enums/UserGroup";
4
+ declare type UserUploadReviewViewProps = PropsWithAnalyticsOptions<PropsWithPopupViewProps<{
5
+ userType: UserGroup;
6
+ }>>;
7
+ export declare function UserUploadReviewView(props: UserUploadReviewViewProps): JSX.Element;
8
+ export {};
@@ -1,2 +1,9 @@
1
1
  import * as React from 'react';
2
+ /**
3
+ * <ClickViewPlayer /> is rendered from <FloatingPlayer /> and not <PlayPage />
4
+ * as <FloatingPlayer /> is always in the DOM (as it's rendered in the layout).
5
+ * <PlayPage /> is removed whenever the content changes.
6
+ * If we rendered <ClickViewPlayer /> from <PlayPage />, the player would
7
+ * be re-initialized every time the user navigates to the play page.
8
+ */
2
9
  export declare function FloatingPlayer(): React.ReactElement;
@@ -4,6 +4,8 @@ import { PlayerContext } from 'shared/hooks/useInitPlayerContext';
4
4
  export declare function onUpdateViewport(playerRef: React.MutableRefObject<HTMLElement>, setPlayerData: (key: keyof PlayerContext, data: any) => void): void;
5
5
  interface PlayPageProps {
6
6
  video: Video;
7
+ imageCdnUrl: string;
8
+ relatedVideos: Video[];
7
9
  setFavourite?: (video: Video, shouldFavourite: boolean, onError?: () => void) => void;
8
10
  glanceTheme?: Theme;
9
11
  curriculumLinks?: Curriculum[][];
@@ -1,2 +1,2 @@
1
1
  import React from 'react';
2
- export declare function VideoInfoButton(props: React.PropsWithChildren<{}>): JSX.Element;
2
+ export declare function VideoInfoButton(props: React.PropsWithChildren<unknown>): JSX.Element;
@@ -11,8 +11,10 @@ export declare const Actions: {
11
11
  EDIT_VIDEO: string;
12
12
  EDIT_UPLOAD: string;
13
13
  SHARE: string;
14
+ CREATE_CLIP: string;
14
15
  LOG_OUT: string;
15
16
  LOG_IN: string;
17
+ PREVIEW_PDF: string;
16
18
  };
17
19
  Playlists: {
18
20
  HOME: string;
@@ -22,6 +24,7 @@ export declare const Actions: {
22
24
  DELETE_PLAYLIST: string;
23
25
  ADD_TO_PLAYLIST: string;
24
26
  REMOVE_VIDEO_FROM_PLAYLIST: string;
27
+ COPY_PLAYLIST: string;
25
28
  };
26
29
  Dashboard: {
27
30
  HOME: string;
@@ -43,14 +46,12 @@ export declare const Actions: {
43
46
  };
44
47
  UserManager: {
45
48
  STUDENTS: string;
46
- TEACHERS: string;
47
- REMOVE_USERS: string;
48
- NEW_STUDENT: string;
49
- EDIT_STUDENT: string;
50
- NEW_TEACHER: string;
51
- EDIT_TEACHER: string;
52
- STUDENT_UPLOAD_REVIEW: string;
53
- TEACHER_UPLOAD_REVIEW: string;
49
+ STAFF: string;
50
+ BULK_REMOVE_USERS: string;
51
+ CREATE_USER: string;
52
+ EDIT_USER: string;
53
+ USER_UPLOAD_REVIEW: string;
54
+ TOGGLE_USER_STATUS: string;
54
55
  };
55
56
  Upload: {
56
57
  EDIT_UPLOAD: string;
@@ -0,0 +1,6 @@
1
+ import { Config } from "../../../../../libs/shared/src/interfaces";
2
+ interface HostPlaceholderMappings {
3
+ [key: string]: keyof Config;
4
+ }
5
+ export declare const HOST_PLACEHOLDER_MAPPINGS: HostPlaceholderMappings;
6
+ export {};
@@ -1,6 +1,6 @@
1
1
  export declare const ViewModelKeys: {
2
2
  SEARCH_BAR_LOCATION: string;
3
3
  WEB_PLAYER_DATA: string;
4
- BULK_TEACHER_UPLOAD: string;
5
- BULK_STUDENT_UPLOAD: string;
4
+ BULK_USER_UPLOAD: string;
5
+ BULK_REMOVE_USERS: string;
6
6
  };
@@ -15,6 +15,7 @@ export declare const Services: {
15
15
  export declare const DataServices: {
16
16
  Settings: string;
17
17
  FlightUser: string;
18
+ FlightConfig: string;
18
19
  Config: string;
19
20
  User: string;
20
21
  Language: string;
@@ -1,12 +1,11 @@
1
1
  import { Flight } from "../../../../../libs/common/src/react";
2
- import { Xhr } from "../../../../../libs/common/src/backbone/interfaces";
3
2
  import { Video, UpdateVideoRequest } from "../../../../../libs/shared/src/interfaces";
4
3
  export declare const VideoRequests: {
5
4
  video(id: string): Flight.Request;
6
5
  workspace(id: string, cursor: string): Flight.Request;
7
6
  videos(ids: string[], success?: (videos: Video[]) => void): Flight.Request;
8
- hydratedVideos(ids: string[], success?: (videos: Video[]) => void, error?: (Xhr: Xhr) => void, always?: () => void): Flight.Request;
9
- updateVideo(data: UpdateVideoRequest, success?: () => void): Flight.Request;
7
+ hydratedVideos(ids: string[], success?: (videos: Video[]) => void): Flight.Request;
8
+ updateVideo(id: string, data: UpdateVideoRequest, success?: () => void): Flight.Request;
10
9
  /**
11
10
  * This is simply an example to show the prototype for useVideoMixin
12
11
  * eventually there will be endpoints in domain that let us fetch members
@@ -1,5 +1,5 @@
1
1
  import { Flight } from "../../../../../libs/common/src/react";
2
- import { BaseObject, CurrentUser } from "../../../../../libs/shared/src/interfaces";
2
+ import { BaseObject } from "../../../../../libs/shared/src/interfaces";
3
3
  import { BaseError } from "../../../../../libs/common/src/backbone/core/BaseError";
4
4
  interface ErrorMap {
5
5
  notFound?: new () => BaseError;
@@ -11,5 +11,5 @@ interface ErrorMap {
11
11
  };
12
12
  badRequest?: new () => BaseError;
13
13
  }
14
- export declare function useHandleObjectError(object: Flight.Response<BaseObject>, customErrors: ErrorMap, currentUser: CurrentUser): void;
14
+ export declare function useHandleObjectError(object: Flight.Response<BaseObject>, customErrors: ErrorMap): void;
15
15
  export {};
@@ -1,30 +1,37 @@
1
+ import React from 'react';
1
2
  import { Video } from "../../../../../libs/shared/src/interfaces";
2
- export interface PlayerPosition {
3
- top: number;
4
- left: number;
5
- width: number;
6
- }
7
3
  export interface PlayerContext {
8
- webPlayerUrl: string;
4
+ playerApiUrl: string;
5
+ /**
6
+ * ViewKey for the video obtained from PlayerApi
7
+ */
8
+ viewKey: string;
9
9
  /**
10
- * Video that the player is currently plaing
10
+ * Video that the player is currently playing
11
11
  */
12
12
  video: Video;
13
13
  /**
14
- * Position of the video player when we're on a play page
15
- * no position means we're floating on the bottom right of the screen
14
+ * Flag to determine if main player is in the viewport.
16
15
  */
17
- viewportPosition: PlayerPosition;
16
+ playerInViewport: boolean;
18
17
  /**
19
- * Tells the floating player to not render when it has
20
- * as video but no position. This prevents
21
- * a bug where the floating player flashes briefly when the
22
- * PlayView has set a video but not yet set a position
18
+ * Flag to determine if the float player is allowed.
19
+ * Closing the floating player will set this to false.
20
+ */
21
+ allowFloatingPlayer: boolean;
22
+ /**
23
+ * Flag to determine if the user is on the play page.
24
+ * Used by FloatingPlayer.
23
25
  */
24
26
  isOnPlayPage: boolean;
25
27
  /**
26
28
  * Determines what time the video should start playing at
27
29
  */
28
30
  startTime: number;
31
+ /**
32
+ * A ref for the element to inject the player into on the Play Page.
33
+ * This is used by the floating player to move the video.
34
+ */
35
+ playPagePlayerContainerRef: React.MutableRefObject<HTMLDivElement>;
29
36
  }
30
37
  export declare function useInitPlayerContext(): void;
@@ -1,7 +1,6 @@
1
- import { BaseObject } from "../../../../../../libs/shared/src/interfaces";
2
- import { MockStudent } from 'apps/user-manager/interfaces';
1
+ import { BaseObject, User } from "../../../../../../libs/shared/src/interfaces";
3
2
  import { GroupColour } from 'apps/classrooms/enums/GroupColour';
4
3
  export interface MockClassroomGroup extends BaseObject {
5
4
  colour: GroupColour;
6
- students: MockStudent[];
5
+ students: User[];
7
6
  }
@@ -0,0 +1,13 @@
1
+ import { Store } from 'redux';
2
+ import { Config, BaseConfigDataService } from "../../../../../libs/shared/src/interfaces";
3
+ interface FlightConfigDataServiceOptions {
4
+ store: Store;
5
+ }
6
+ export declare class FlightConfigDataService implements BaseConfigDataService {
7
+ private store;
8
+ constructor(options: FlightConfigDataServiceOptions);
9
+ get name(): string;
10
+ getConfig(success?: (config: Config) => void, error?: () => void): void;
11
+ getVersion(success?: (version: any) => void, error?: () => void): void;
12
+ }
13
+ export {};
@@ -1,5 +1,6 @@
1
1
  import { Store } from 'redux';
2
2
  import { CurrentUser, BaseUserDataService } from "../../../../../libs/shared/src/interfaces";
3
+ import { HashObject } from "../../../../../libs/common/src/react/interfaces";
3
4
  interface FlightUserDataServiceOptions {
4
5
  store: Store;
5
6
  }
@@ -8,5 +9,7 @@ export declare class FlightUserDataService implements BaseUserDataService {
8
9
  constructor(options: FlightUserDataServiceOptions);
9
10
  get name(): string;
10
11
  getCurrentUser(success?: (user: CurrentUser) => void, error?: () => void): void;
12
+ getToken(success?: (token: HashObject) => void, error?: () => void): void;
13
+ getWorkspace(success?: (workspace: HashObject) => void, error?: () => void): void;
11
14
  }
12
15
  export {};
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ interface CreateClipViewProps {
3
+ videoId: string;
4
+ }
5
+ export declare function CreateClipView(props: CreateClipViewProps): JSX.Element;
6
+ export {};
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { PopupViewProps } from "../../../../../../libs/shared/src/interfaces";
3
+ declare type PreviewPdfViewProps = PopupViewProps & {
4
+ id: string;
5
+ };
6
+ export declare function PreviewPdfView(props: PreviewPdfViewProps): JSX.Element;
7
+ export {};
@@ -1,3 +1,3 @@
1
1
  import { Core } from "../../../../libs/common/src/backbone";
2
- declare function RegisterAnalytics(shell: Core.Shell, next: Function): void;
2
+ declare function RegisterAnalytics(shell: Core.Shell, next: (...args: any) => any): void;
3
3
  export { RegisterAnalytics };
@@ -1,2 +1,2 @@
1
1
  import { Core } from "../../../../libs/common/src/backbone";
2
- export declare function RegisterAppOptions(shell: Core.Shell, next: Function): void;
2
+ export declare function RegisterAppOptions(shell: Core.Shell, next: (...args: any) => any): void;
@@ -1,3 +1,3 @@
1
1
  import { Core } from "../../../../libs/common/src/backbone";
2
- declare function RegisterApplicationVariables(shell: Core.Shell, next: Function): void;
2
+ declare function RegisterApplicationVariables(shell: Core.Shell, next: (...args: any) => any): void;
3
3
  export { RegisterApplicationVariables };
@@ -1,2 +1,2 @@
1
1
  import { Core } from "../../../../libs/common/src/backbone";
2
- export declare function RegisterApplications(shell: Core.Shell, next: Function): void;
2
+ export declare function RegisterApplications(shell: Core.Shell, next: (...args: any) => any): void;
@@ -1,2 +1,2 @@
1
1
  import { Core } from "../../../../libs/common/src/backbone";
2
- export declare function RegisterCaches(shell: Core.Shell, next: Function): void;
2
+ export declare function RegisterCaches(shell: Core.Shell, next: (...args: any) => any): void;
@@ -1,2 +1,2 @@
1
1
  import { Core } from "../../../../libs/common/src/backbone";
2
- export declare function RegisterDataProviders(shell: Core.Shell, next: Function): void;
2
+ export declare function RegisterDataProviders(shell: Core.Shell, next: (...args: any) => any): void;
@@ -1,2 +1,2 @@
1
1
  import { Core } from "../../../../libs/common/src/backbone";
2
- export declare function RegisterDataServices(shell: Core.Shell, next: Function): void;
2
+ export declare function RegisterDataServices(shell: Core.Shell, next: (...args: any) => any): void;
@@ -1,2 +1,2 @@
1
1
  import { Core } from "../../../../libs/common/src/backbone";
2
- export declare function RegisterErrorHandlers(shell: Core.Shell, next: Function): void;
2
+ export declare function RegisterErrorHandlers(shell: Core.Shell, next: (...args: any) => any): void;
@@ -1,3 +1,3 @@
1
1
  import { Core } from "../../../../libs/common/src/backbone";
2
- declare function RegisterHandlebarsHelpers(shell: Core.Shell, next: Function): void;
2
+ declare function RegisterHandlebarsHelpers(shell: Core.Shell, next: (...args: any) => any): void;
3
3
  export { RegisterHandlebarsHelpers };
@@ -1,2 +1,2 @@
1
1
  import { Core } from "../../../../libs/common/src/backbone";
2
- export declare function RegisterLayouts(shell: Core.Shell, next: Function): void;
2
+ export declare function RegisterLayouts(shell: Core.Shell, next: (...args: any) => any): void;
@@ -1,2 +1,2 @@
1
1
  import { Core } from "../../../../libs/common/src/backbone";
2
- export declare function RegisterServices(shell: Core.Shell, next: Function): void;
2
+ export declare function RegisterServices(shell: Core.Shell, next: (...args: any) => any): void;
@@ -1,2 +1,2 @@
1
1
  import { Core } from "../../../../libs/common/src/backbone";
2
- export declare function RegisterStore(shell: Core.Shell, next: Function): void;
2
+ export declare function RegisterStore(shell: Core.Shell, next: (...args: any) => any): void;
@@ -11,5 +11,5 @@ import { Core } from "../../../../libs/common/src/backbone";
11
11
  *
12
12
  * See `serializeData()` in `common/BaseView.ts` to see how these extension objects are processed.
13
13
  */
14
- declare function RegisterViewDataExtensions(shell: Core.Shell, next: Function): void;
14
+ declare function RegisterViewDataExtensions(shell: Core.Shell, next: (...args: any) => any): void;
15
15
  export { RegisterViewDataExtensions };
@@ -1 +1,4 @@
1
1
  import './theme-overrides.scss';
2
+ import '../../../player/dist/font.scss';
3
+ import '../../../player/src/index.scss';
4
+ import '../../../player/src/theme/index.scss';