@clickview/lite 0.0.18-dev.1 → 0.0.18-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (380) hide show
  1. package/dist/css/0.chunk.css.map +1 -0
  2. package/dist/css/1.chunk.css +144 -2
  3. package/dist/css/1.chunk.css.map +1 -0
  4. package/dist/css/10.chunk.css +10 -10
  5. package/dist/css/10.chunk.css.map +1 -0
  6. package/dist/css/11.chunk.css +6 -8
  7. package/dist/css/11.chunk.css.map +1 -0
  8. package/dist/css/12.chunk.css +5 -13
  9. package/dist/css/12.chunk.css.map +1 -0
  10. package/dist/css/13.chunk.css +9 -9
  11. package/dist/css/13.chunk.css.map +1 -0
  12. package/dist/css/14.chunk.css +6 -10
  13. package/dist/css/14.chunk.css.map +1 -0
  14. package/dist/css/15.chunk.css +3 -11
  15. package/dist/css/16.chunk.css +3 -11
  16. package/dist/css/16.chunk.css.map +1 -0
  17. package/dist/css/17.chunk.css +2 -12
  18. package/dist/css/18.chunk.css +2 -12
  19. package/dist/css/18.chunk.css.map +1 -0
  20. package/dist/css/19.chunk.css +4 -10
  21. package/dist/css/19.chunk.css.map +1 -0
  22. package/dist/css/2.chunk.css +14 -0
  23. package/dist/css/20.chunk.css +2 -12
  24. package/dist/css/21.chunk.css +1 -15
  25. package/dist/css/21.chunk.css.map +1 -0
  26. package/dist/css/22.chunk.css +2 -20
  27. package/dist/css/22.chunk.css.map +1 -0
  28. package/dist/css/23.chunk.css +2 -18
  29. package/dist/css/23.chunk.css.map +1 -0
  30. package/dist/css/24.chunk.css +1 -9
  31. package/dist/css/24.chunk.css.map +1 -0
  32. package/dist/css/25.chunk.css +2 -16
  33. package/dist/css/25.chunk.css.map +1 -0
  34. package/dist/css/26.chunk.css +2 -4
  35. package/dist/css/26.chunk.css.map +1 -0
  36. package/dist/css/27.chunk.css +66 -2
  37. package/dist/css/27.chunk.css.map +1 -0
  38. package/dist/css/28.chunk.css +48 -2
  39. package/dist/css/28.chunk.css.map +1 -0
  40. package/dist/css/29.chunk.css +43 -4
  41. package/dist/css/29.chunk.css.map +1 -0
  42. package/dist/css/3.chunk.css +13 -7
  43. package/dist/css/3.chunk.css.map +1 -0
  44. package/dist/css/30.chunk.css +1 -3
  45. package/dist/css/30.chunk.css.map +1 -0
  46. package/dist/css/31.chunk.css +5 -2
  47. package/dist/css/31.chunk.css.map +1 -0
  48. package/dist/css/32.chunk.css +4 -1
  49. package/dist/css/32.chunk.css.map +1 -0
  50. package/dist/css/34.chunk.css +4 -2
  51. package/dist/css/34.chunk.css.map +1 -0
  52. package/dist/css/35.chunk.css +7 -0
  53. package/dist/css/35.chunk.css.map +1 -0
  54. package/dist/css/36.chunk.css +4 -0
  55. package/dist/css/36.chunk.css.map +1 -0
  56. package/dist/css/37.chunk.css +3 -1
  57. package/dist/css/37.chunk.css.map +1 -0
  58. package/dist/css/38.chunk.css +36 -2
  59. package/dist/css/38.chunk.css.map +1 -0
  60. package/dist/css/4.chunk.css +5 -13
  61. package/dist/css/4.chunk.css.map +1 -0
  62. package/dist/css/44.chunk.css +1 -1
  63. package/dist/css/45.chunk.css +9 -0
  64. package/dist/css/45.chunk.css.map +1 -0
  65. package/dist/css/5.chunk.css +2 -8
  66. package/dist/css/5.chunk.css.map +1 -0
  67. package/dist/css/9.chunk.css +12 -14
  68. package/dist/css/lite-app.css.map +1 -0
  69. package/dist/en.json +1 -1
  70. package/dist/libs/analytics/src/AnalyticsService.d.ts +52 -0
  71. package/dist/libs/analytics/src/clients/BaseAnalyticsClient.d.ts +24 -0
  72. package/dist/libs/analytics/src/clients/CollectionApiClient.d.ts +48 -0
  73. package/dist/libs/analytics/src/clients/DebuggerClient.d.ts +7 -0
  74. package/dist/libs/analytics/src/constants/ApplicationOptionsKey.d.ts +1 -0
  75. package/dist/libs/analytics/src/constants/CountryRegionMapping.d.ts +7 -0
  76. package/dist/libs/analytics/src/constants/Regions.d.ts +6 -0
  77. package/dist/libs/analytics/src/enrichers/BaseAnalyticsEnricher.d.ts +19 -0
  78. package/dist/libs/analytics/src/enrichers/CoreContextEnricher.d.ts +22 -0
  79. package/dist/libs/analytics/src/enrichers/UserDataEnricher.d.ts +10 -0
  80. package/dist/libs/analytics/src/enums/CountryCode.d.ts +5 -0
  81. package/dist/libs/analytics/src/interfaces/AnalyticsTypes.d.ts +49 -5
  82. package/dist/libs/analytics/src/interfaces/VersionData.d.ts +4 -0
  83. package/dist/libs/analytics/src/models/CollectionEvent.d.ts +55 -0
  84. package/dist/libs/analytics/src/transport/EventTransport.d.ts +39 -0
  85. package/dist/libs/analytics/src/utils/CollectionApiClientHelper.d.ts +6 -0
  86. package/dist/libs/analytics/src/utils/DataFormatHelper.d.ts +14 -0
  87. package/dist/libs/analytics/src/utils/EventWhitelistHelper.d.ts +19 -0
  88. package/dist/libs/analytics/src/utils/TypeHelper.d.ts +4 -0
  89. package/dist/libs/analytics/src/utils/UploadDataFormatHelper.d.ts +10 -0
  90. package/dist/libs/analytics/src/utils/UserAgentHelper.d.ts +10 -0
  91. package/dist/libs/analytics/src/utils/VideoDataFormatHelper.d.ts +42 -0
  92. package/dist/libs/common/src/backbone/core/BaseAppRouter.d.ts +5 -1
  93. package/dist/libs/common/src/react/constants/ViewModelActions.d.ts +3 -0
  94. package/dist/libs/common/src/react/hooks/useViewModel.d.ts +4 -0
  95. package/dist/libs/common/src/react/interfaces/ApplicationState.d.ts +3 -1
  96. package/dist/libs/common/src/react/interfaces/ViewModelAction.d.ts +5 -0
  97. package/dist/libs/common/src/react/interfaces/ViewModelPayload.d.ts +5 -0
  98. package/dist/libs/common/src/react/reducers/ViewModelReducer.d.ts +3 -0
  99. package/dist/libs/common/src/react/utils/ArrayHelper.d.ts +1 -2
  100. package/dist/libs/shared/src/apps/content-updates/interfaces/VideoClassificationMapping.d.ts +2 -1
  101. package/dist/libs/shared/src/apps/notifications/utils/NotificationsHelper.d.ts +1 -1
  102. package/dist/libs/shared/src/apps/upload/services/UploadService.d.ts +3 -2
  103. package/dist/libs/shared/src/components/lazy-image/LazyImage.d.ts +1 -1
  104. package/dist/libs/shared/src/components/search-bar/SearchBar.d.ts +5 -0
  105. package/dist/libs/shared/src/components/widgets/fixed-widget/FixedWidget.d.ts +4 -2
  106. package/dist/libs/shared/src/components/widgets/items/subject-widget-item/SubjectWidgetItem.d.ts +4 -3
  107. package/dist/libs/shared/src/constants/BootstrapKeys.d.ts +1 -0
  108. package/dist/libs/shared/src/constants/WithStatements.d.ts +1 -1
  109. package/dist/libs/shared/src/enums/CountryCode.d.ts +5 -0
  110. package/dist/libs/shared/src/enums/SubtitleExtractionOptions.d.ts +4 -0
  111. package/dist/libs/shared/src/enums/WidgetContents.d.ts +2 -1
  112. package/dist/libs/shared/src/flight-requests/FavouriteVideoRequests.d.ts +1 -1
  113. package/dist/libs/shared/src/flight-requests/PreferenceRequests.d.ts +4 -4
  114. package/dist/libs/shared/src/hooks/UseReorderedItems.d.ts +9 -0
  115. package/dist/libs/shared/src/interfaces/models/Config.d.ts +3 -1
  116. package/dist/libs/shared/src/interfaces/models/UserChannel.d.ts +7 -0
  117. package/dist/libs/shared/src/interfaces/models/index.d.ts +1 -0
  118. package/dist/libs/shared/src/services/ConfigDataService.d.ts +1 -0
  119. package/dist/libs/shared/src/utils/AudienceHelper.d.ts +5 -1
  120. package/dist/libs/shared/src/utils/ImageHelper.d.ts +1 -1
  121. package/dist/projects/lite/src/apps/classrooms/components/classroom-group-dropdown/ClassroomGroupDropdown.d.ts +3 -2
  122. package/dist/projects/lite/src/apps/classrooms/components/tile-actions/TileActions.d.ts +1 -0
  123. package/dist/projects/lite/src/apps/classrooms/flight-requests/ClassroomRequests.d.ts +1 -1
  124. package/dist/projects/lite/src/apps/classrooms/views/add-students-to-classroom/AddStudentsToClassroomView.d.ts +3 -3
  125. package/dist/projects/lite/src/apps/classrooms/views/create-classroom/CreateClassroomView.d.ts +3 -4
  126. package/dist/projects/lite/src/apps/classrooms/views/create-classroom-group/CreateClassroomGroupView.d.ts +3 -3
  127. package/dist/projects/lite/src/apps/classrooms/views/delete-classroom/DeleteClassroomView.d.ts +4 -4
  128. package/dist/projects/lite/src/apps/classrooms/views/delete-classroom-group/DeleteClassroomGroupView.d.ts +3 -3
  129. package/dist/projects/lite/src/apps/classrooms/views/edit-classroom/EditClassroomView.d.ts +3 -3
  130. package/dist/projects/lite/src/apps/classrooms/views/edit-classroom-group/EditClassroomGroupView.d.ts +3 -3
  131. package/dist/projects/lite/src/apps/classrooms/views/remove-students-from-classroom/RemoveStudentsFromClassroomView.d.ts +3 -3
  132. package/dist/projects/lite/src/apps/content-updates/LiteContentUpdatesApplication.d.ts +1 -1
  133. package/dist/projects/lite/src/apps/default/LiteDefaultApplication.d.ts +2 -2
  134. package/dist/projects/lite/src/apps/playlists/LitePlaylistsApplication.d.ts +2 -1
  135. package/dist/projects/lite/src/apps/playlists/views/delete-playlist/DeletePlaylistView.d.ts +2 -2
  136. package/dist/projects/lite/src/apps/playlists/views/edit-playlist/EditPlaylistView.d.ts +2 -2
  137. package/dist/projects/lite/src/apps/playlists/views/new-playlist/NewPlaylistView.d.ts +2 -2
  138. package/dist/projects/lite/src/apps/playlists/views/playlist/PlaylistViewUtils.d.ts +0 -8
  139. package/dist/projects/lite/src/apps/playlists/views/remove-video-from-playlist/RemoveVideoFromPlaylistView.d.ts +2 -2
  140. package/dist/projects/lite/src/apps/search/components/filter-actions/FilterActions.d.ts +3 -2
  141. package/dist/projects/lite/src/apps/search/components/filter-button/FilterButton.d.ts +3 -2
  142. package/dist/projects/lite/src/apps/search/components/filter-types/checkbox-filter/CheckboxFilter.d.ts +3 -2
  143. package/dist/projects/lite/src/apps/search/components/filter-types/dropdown-filter/DropdownFilter.d.ts +3 -2
  144. package/dist/projects/lite/src/apps/search/components/filter-types/radio-filter/RadioFilter.d.ts +3 -2
  145. package/dist/projects/lite/src/apps/search/components/filter-types/radio-filter/year-level/YearLevelRadioFilter.d.ts +3 -2
  146. package/dist/projects/lite/src/apps/search/components/reset-button/ResetButton.d.ts +3 -2
  147. package/dist/projects/lite/src/apps/search/components/search-filters/SearchFilters.d.ts +3 -2
  148. package/dist/projects/lite/src/apps/search/interfaces/FilterProps.d.ts +3 -2
  149. package/dist/projects/lite/src/apps/search/utils/FilterHelper.d.ts +4 -2
  150. package/dist/projects/lite/src/apps/subjects/LiteSubjectApplication.d.ts +2 -2
  151. package/dist/projects/lite/src/apps/upload/services/FlightVideoUploadDataService.d.ts +5 -0
  152. package/dist/projects/lite/src/apps/user-manager/components/delete-uploaded-student-popup/DeleteUploadedStudentPopup.d.ts +4 -4
  153. package/dist/projects/lite/src/apps/user-manager/components/delete-uploaded-teacher-popup/DeleteUploadedTeacherPopup.d.ts +4 -4
  154. package/dist/projects/lite/src/apps/user-manager/components/edit-uploaded-user-popup/EditUploadedUserPopup.d.ts +4 -4
  155. package/dist/projects/lite/src/apps/user-manager/components/manage-users-list/ManageUsersList.d.ts +3 -2
  156. package/dist/projects/lite/src/apps/user-manager/flight-requests/SchoolUserRequests.d.ts +3 -3
  157. package/dist/projects/lite/src/apps/user-manager/views/create-student/CreateStudentView.d.ts +3 -4
  158. package/dist/projects/lite/src/apps/user-manager/views/create-teacher/CreateTeacherView.d.ts +3 -4
  159. package/dist/projects/lite/src/apps/user-manager/views/edit-student/EditStudentView.d.ts +4 -4
  160. package/dist/projects/lite/src/apps/user-manager/views/edit-teacher/EditTeacherView.d.ts +4 -4
  161. package/dist/projects/lite/src/apps/user-manager/views/remove-user/RemoveUserView.d.ts +4 -4
  162. package/dist/projects/lite/src/apps/user-manager/views/student-upload-review/StudentUploadReviewView.d.ts +4 -2
  163. package/dist/projects/lite/src/apps/user-manager/views/teacher-upload-review/TeacherUploadReviewView.d.ts +4 -2
  164. package/dist/projects/lite/src/shared/components/immersive-reader/ImmersiveReader.d.ts +7 -2
  165. package/dist/projects/lite/src/shared/components/share/copy-embed-html/CopyEmbedHtml.d.ts +4 -2
  166. package/dist/projects/lite/src/shared/constants/LiteViewModels.d.ts +6 -0
  167. package/dist/projects/lite/src/shared/{contexts/player/PlayerContext.d.ts → hooks/useInitPlayerContext.d.ts} +4 -10
  168. package/dist/projects/lite/src/shared/hooks/useNavLock.d.ts +1 -0
  169. package/dist/projects/lite/src/shared/views/share/main-view/MainShareView.d.ts +3 -3
  170. package/dist/projects/lite/src/shared/views/share/settings-view/ShareSettingsView.d.ts +4 -3
  171. package/dist/projects/lite/src/startup/RegisterAnalytics.d.ts +3 -0
  172. package/dist/projects/lite/src/startup/index.d.ts +1 -0
  173. package/dist/scripts/0-525bd75473.chunk.js +1 -0
  174. package/dist/scripts/0.chunk.js +478 -1
  175. package/dist/scripts/0.chunk.js.map +1 -0
  176. package/dist/scripts/1-f6fa17226d.chunk.js +17 -0
  177. package/dist/scripts/1.chunk.js +621 -17
  178. package/dist/scripts/1.chunk.js.map +1 -0
  179. package/dist/scripts/10-f3b34b2d35.chunk.js +1 -0
  180. package/dist/scripts/10.chunk.js +400 -7
  181. package/dist/scripts/10.chunk.js.map +1 -0
  182. package/dist/scripts/11-a698af3f1c.chunk.js +1 -0
  183. package/dist/scripts/11.chunk.js +1289 -7
  184. package/dist/scripts/11.chunk.js.map +1 -0
  185. package/dist/scripts/12-9ace90fcbc.chunk.js +1 -0
  186. package/dist/scripts/12.chunk.js +1059 -7
  187. package/dist/scripts/12.chunk.js.map +1 -0
  188. package/dist/scripts/13-3a4f103546.chunk.js +1 -0
  189. package/dist/scripts/13.chunk.js +751 -7
  190. package/dist/scripts/13.chunk.js.map +1 -0
  191. package/dist/scripts/14-11868e2868.chunk.js +1 -0
  192. package/dist/scripts/14.chunk.js +425 -7
  193. package/dist/scripts/14.chunk.js.map +1 -0
  194. package/dist/scripts/15-78ff5e8be2.chunk.js +1 -0
  195. package/dist/scripts/15.chunk.js +609 -7
  196. package/dist/scripts/15.chunk.js.map +1 -0
  197. package/dist/scripts/16-22f6224811.chunk.js +1 -0
  198. package/dist/scripts/16.chunk.js +648 -7
  199. package/dist/scripts/16.chunk.js.map +1 -0
  200. package/dist/scripts/17-afe6281dd5.chunk.js +1 -0
  201. package/dist/scripts/17.chunk.js +541 -7
  202. package/dist/scripts/17.chunk.js.map +1 -0
  203. package/dist/scripts/18-47be31c0b6.chunk.js +1 -0
  204. package/dist/scripts/18.chunk.js +766 -7
  205. package/dist/scripts/18.chunk.js.map +1 -0
  206. package/dist/scripts/19-89c0b2c20e.chunk.js +1 -0
  207. package/dist/scripts/19.chunk.js +647 -7
  208. package/dist/scripts/19.chunk.js.map +1 -0
  209. package/dist/scripts/2-3b37480a80.chunk.js +7 -0
  210. package/dist/scripts/2.chunk.js +8259 -1
  211. package/dist/scripts/2.chunk.js.map +1 -0
  212. package/dist/scripts/20-32ac3fe0b9.chunk.js +1 -0
  213. package/dist/scripts/20.chunk.js +122 -7
  214. package/dist/scripts/20.chunk.js.map +1 -0
  215. package/dist/scripts/21-891207049a.chunk.js +1 -0
  216. package/dist/scripts/21.chunk.js +1571 -1
  217. package/dist/scripts/21.chunk.js.map +1 -0
  218. package/dist/scripts/22-24236e6723.chunk.js +1 -0
  219. package/dist/scripts/22.chunk.js +1387 -1
  220. package/dist/scripts/22.chunk.js.map +1 -0
  221. package/dist/scripts/23-7b425169bc.chunk.js +1 -0
  222. package/dist/scripts/23.chunk.js +1121 -1
  223. package/dist/scripts/23.chunk.js.map +1 -0
  224. package/dist/scripts/24-40edd30087.chunk.js +1 -0
  225. package/dist/scripts/24.chunk.js +1348 -1
  226. package/dist/scripts/24.chunk.js.map +1 -0
  227. package/dist/scripts/25-887b9ef587.chunk.js +1 -0
  228. package/dist/scripts/25.chunk.js +1137 -1
  229. package/dist/scripts/25.chunk.js.map +1 -0
  230. package/dist/scripts/26-cbe0ff0f77.chunk.js +1 -0
  231. package/dist/scripts/26.chunk.js +906 -1
  232. package/dist/scripts/26.chunk.js.map +1 -0
  233. package/dist/scripts/27-f26afdae78.chunk.js +1 -0
  234. package/dist/scripts/27.chunk.js +1143 -1
  235. package/dist/scripts/27.chunk.js.map +1 -0
  236. package/dist/scripts/28-70414fd373.chunk.js +1 -0
  237. package/dist/scripts/28.chunk.js +656 -1
  238. package/dist/scripts/28.chunk.js.map +1 -0
  239. package/dist/scripts/29-944b5c01a7.chunk.js +1 -0
  240. package/dist/scripts/29.chunk.js +616 -1
  241. package/dist/scripts/29.chunk.js.map +1 -0
  242. package/dist/scripts/3-233f573a92.chunk.js +1 -0
  243. package/dist/scripts/3.chunk.js +585 -1
  244. package/dist/scripts/3.chunk.js.map +1 -0
  245. package/dist/scripts/30-3a229887e9.chunk.js +1 -0
  246. package/dist/scripts/30.chunk.js +557 -1
  247. package/dist/scripts/30.chunk.js.map +1 -0
  248. package/dist/scripts/31-ab038bfc0c.chunk.js +1 -0
  249. package/dist/scripts/31.chunk.js +731 -1
  250. package/dist/scripts/31.chunk.js.map +1 -0
  251. package/dist/scripts/32-8bd6703eef.chunk.js +1 -0
  252. package/dist/scripts/32.chunk.js +957 -1
  253. package/dist/scripts/32.chunk.js.map +1 -0
  254. package/dist/scripts/33-4579af9cf9.chunk.js +1 -0
  255. package/dist/scripts/33.chunk.js +938 -1
  256. package/dist/scripts/33.chunk.js.map +1 -0
  257. package/dist/scripts/34-d8b96d9f9f.chunk.js +1 -0
  258. package/dist/scripts/34.chunk.js +523 -1
  259. package/dist/scripts/34.chunk.js.map +1 -0
  260. package/dist/scripts/35-666d815525.chunk.js +1 -0
  261. package/dist/scripts/35.chunk.js +414 -1
  262. package/dist/scripts/35.chunk.js.map +1 -0
  263. package/dist/scripts/36-02ce5f3538.chunk.js +1 -0
  264. package/dist/scripts/36.chunk.js +404 -1
  265. package/dist/scripts/36.chunk.js.map +1 -0
  266. package/dist/scripts/37-afd3d321e3.chunk.js +1 -0
  267. package/dist/scripts/37.chunk.js +245 -1
  268. package/dist/scripts/37.chunk.js.map +1 -0
  269. package/dist/scripts/38-6ad53aa15b.chunk.js +1 -0
  270. package/dist/scripts/38.chunk.js +343 -1
  271. package/dist/scripts/38.chunk.js.map +1 -0
  272. package/dist/scripts/39-46c747b1d9.chunk.js +1 -0
  273. package/dist/scripts/39.chunk.js +318 -1
  274. package/dist/scripts/39.chunk.js.map +1 -0
  275. package/dist/scripts/4-6942fee782.chunk.js +1 -0
  276. package/dist/scripts/4.chunk.js +1030 -1
  277. package/dist/scripts/4.chunk.js.map +1 -0
  278. package/dist/scripts/40-c1b8806b1c.chunk.js +1 -0
  279. package/dist/scripts/40.chunk.js +236 -1
  280. package/dist/scripts/40.chunk.js.map +1 -0
  281. package/dist/scripts/41-f4c23477e3.chunk.js +1 -0
  282. package/dist/scripts/41.chunk.js +231 -1
  283. package/dist/scripts/41.chunk.js.map +1 -0
  284. package/dist/scripts/42-7a5b92d70b.chunk.js +1 -0
  285. package/dist/scripts/42.chunk.js +350 -1
  286. package/dist/scripts/42.chunk.js.map +1 -0
  287. package/dist/scripts/43-97193a87df.chunk.js +1 -0
  288. package/dist/scripts/43.chunk.js +225 -1
  289. package/dist/scripts/43.chunk.js.map +1 -0
  290. package/dist/scripts/44-7f92272274.chunk.js +1 -0
  291. package/dist/scripts/44.chunk.js +318 -1
  292. package/dist/scripts/44.chunk.js.map +1 -0
  293. package/dist/scripts/45-265f1a7a42.chunk.js +1 -0
  294. package/dist/scripts/45.chunk.js +64 -1
  295. package/dist/scripts/45.chunk.js.map +1 -0
  296. package/dist/scripts/46-a594ad7eba.chunk.js +1 -0
  297. package/dist/scripts/46.chunk.js +108 -1
  298. package/dist/scripts/46.chunk.js.map +1 -0
  299. package/dist/scripts/47-99777c20cf.chunk.js +1 -0
  300. package/dist/scripts/47.chunk.js +110 -1
  301. package/dist/scripts/47.chunk.js.map +1 -0
  302. package/dist/scripts/48-9880523c82.chunk.js +1 -0
  303. package/dist/scripts/48.chunk.js +148 -1
  304. package/dist/scripts/48.chunk.js.map +1 -0
  305. package/dist/scripts/49-5e718594e5.chunk.js +1 -0
  306. package/dist/scripts/49.chunk.js +142 -1
  307. package/dist/scripts/49.chunk.js.map +1 -0
  308. package/dist/scripts/5-2f631dcd74.chunk.js +1 -0
  309. package/dist/scripts/5.chunk.js +3262 -1
  310. package/dist/scripts/5.chunk.js.map +1 -0
  311. package/dist/scripts/50-8cb0d9cd7d.chunk.js +1 -0
  312. package/dist/scripts/50.chunk.js +145 -1
  313. package/dist/scripts/50.chunk.js.map +1 -0
  314. package/dist/scripts/51-211b643ca5.chunk.js +1 -0
  315. package/dist/scripts/51.chunk.js +176 -1
  316. package/dist/scripts/51.chunk.js.map +1 -0
  317. package/dist/scripts/52-bfb2683b5d.chunk.js +1 -0
  318. package/dist/scripts/52.chunk.js +160 -1
  319. package/dist/scripts/52.chunk.js.map +1 -0
  320. package/dist/scripts/53-3cf5cd5f69.chunk.js +1 -0
  321. package/dist/scripts/53.chunk.js +98 -1
  322. package/dist/scripts/53.chunk.js.map +1 -0
  323. package/dist/scripts/54-26807e3e49.chunk.js +1 -0
  324. package/dist/scripts/54.chunk.js +48 -1
  325. package/dist/scripts/54.chunk.js.map +1 -0
  326. package/dist/scripts/55-d38be4860b.chunk.js +1 -0
  327. package/dist/scripts/55.chunk.js +99 -1
  328. package/dist/scripts/55.chunk.js.map +1 -0
  329. package/dist/scripts/56-d4abc25ec3.chunk.js +1 -0
  330. package/dist/scripts/56.chunk.js +64 -1
  331. package/dist/scripts/56.chunk.js.map +1 -0
  332. package/dist/scripts/57.chunk.js +72 -0
  333. package/dist/scripts/57.chunk.js.map +1 -0
  334. package/dist/scripts/58.chunk.js +73 -0
  335. package/dist/scripts/58.chunk.js.map +1 -0
  336. package/dist/scripts/59.chunk.js +70 -0
  337. package/dist/scripts/59.chunk.js.map +1 -0
  338. package/dist/scripts/6-4d72a3c3fc.chunk.js +1 -0
  339. package/dist/scripts/6.chunk.js +24 -1
  340. package/dist/scripts/6.chunk.js.map +1 -0
  341. package/dist/scripts/60.chunk.js +32 -0
  342. package/dist/scripts/60.chunk.js.map +1 -0
  343. package/dist/scripts/61.chunk.js +29 -0
  344. package/dist/scripts/61.chunk.js.map +1 -0
  345. package/dist/scripts/62.chunk.js +27 -0
  346. package/dist/scripts/62.chunk.js.map +1 -0
  347. package/dist/scripts/63.chunk.js +67 -0
  348. package/dist/scripts/63.chunk.js.map +1 -0
  349. package/dist/scripts/64.chunk.js +80 -0
  350. package/dist/scripts/64.chunk.js.map +1 -0
  351. package/dist/scripts/65.chunk.js +65 -0
  352. package/dist/scripts/65.chunk.js.map +1 -0
  353. package/dist/scripts/66.chunk.js +67 -0
  354. package/dist/scripts/66.chunk.js.map +1 -0
  355. package/dist/scripts/67.chunk.js +104 -0
  356. package/dist/scripts/67.chunk.js.map +1 -0
  357. package/dist/scripts/68.chunk.js +69 -0
  358. package/dist/scripts/68.chunk.js.map +1 -0
  359. package/dist/scripts/69.chunk.js +89 -0
  360. package/dist/scripts/69.chunk.js.map +1 -0
  361. package/dist/scripts/7-90ad392b55.chunk.js +1 -0
  362. package/dist/scripts/7.chunk.js +327 -1
  363. package/dist/scripts/7.chunk.js.map +1 -0
  364. package/dist/scripts/70.chunk.js +36 -0
  365. package/dist/scripts/70.chunk.js.map +1 -0
  366. package/dist/scripts/8.chunk.js +470 -0
  367. package/dist/scripts/8.chunk.js.map +1 -0
  368. package/dist/scripts/9-52877087ef.chunk.js +1 -0
  369. package/dist/scripts/9.chunk.js +471 -7
  370. package/dist/scripts/9.chunk.js.map +1 -0
  371. package/dist/scripts/bundle-99976c17a2.min.js +1 -0
  372. package/dist/scripts/bundle.js +34769 -1
  373. package/dist/scripts/bundle.js.map +1 -0
  374. package/dist/scripts/bundles.json +3 -0
  375. package/package.json +5 -4
  376. package/typings/libs/Trackers.d.ts +10 -0
  377. package/dist/css/33.chunk.css +0 -4
  378. package/dist/css/41.chunk.css +0 -4
  379. package/dist/css/46.chunk.css +0 -2
  380. package/dist/libs/shared/src/context/SearchAppContext.d.ts +0 -9
@@ -0,0 +1,19 @@
1
+ import { CoreAnalyticsType } from "../models/AnalyticsEvent";
2
+ /**
3
+ * Manage which events we want to log
4
+ *
5
+ * @description
6
+ * All events have a UserAction type, however, that same type can be used to represent
7
+ * different types of actions. For example, `UserAction.Rename` is used for events involving
8
+ * the renaming of folders, libraries and videos (from different parts of the product).
9
+ *
10
+ * So if a situation arises where we only want to collect events for a certain entity or from a
11
+ * certain part of the product. We can add a custom callback below and filter based on the event's actionContext.
12
+ */
13
+ export declare const EventWhitelistHelper: {
14
+ allow: () => boolean;
15
+ restrict: () => boolean;
16
+ };
17
+ export interface EventWhitelistHash {
18
+ [eventType: string]: (event: CoreAnalyticsType) => boolean;
19
+ }
@@ -0,0 +1,4 @@
1
+ export declare const TypeHelper: {
2
+ isObject(obj: any): boolean;
3
+ isFunction(fn: Function): fn is Function;
4
+ };
@@ -0,0 +1,10 @@
1
+ import { HashObject, Subtitle, Resource } from "../interfaces";
2
+ import { CoreAnalyticsType } from "../models/AnalyticsEvent";
3
+ export declare const UploadDataFormatHelper: {
4
+ getUploadData(data: any, event: CoreAnalyticsType): HashObject<any>;
5
+ formatVideoUpload(data: any, event: CoreAnalyticsType): HashObject<any>[];
6
+ getStartVideoUploadData(files: File[]): HashObject<any>[];
7
+ getDiscardVideoUploadData(uploads: HashObject<any> | HashObject<any>[]): HashObject<any>[];
8
+ getCompleteUploadData(videos: HashObject<any>[]): HashObject<any>[];
9
+ formatResourceUpload(item: Resource | Subtitle): HashObject<any>;
10
+ };
@@ -0,0 +1,10 @@
1
+ import { VersionData } from "../interfaces/VersionData";
2
+ /**
3
+ * Test order is important for all UARegex tests. Reordering them will break functionality.
4
+ */
5
+ export declare const UserAgentHelper: {
6
+ getDeviceType(): string;
7
+ getOperatingSystem(): VersionData;
8
+ getBrowser(): VersionData;
9
+ isTouchScreen(): boolean;
10
+ };
@@ -0,0 +1,42 @@
1
+ import { HashObject, Video } from "../interfaces";
2
+ export interface VideoWatchAnalyticsEvent {
3
+ model: Video;
4
+ playbackStatus: PlaybackStatus;
5
+ }
6
+ export interface PlaybackStatus {
7
+ position: number;
8
+ chapter: number;
9
+ totalDuration: number;
10
+ totalWatched: number;
11
+ hasStarted?: boolean;
12
+ }
13
+ interface BaseVideoData {
14
+ id: string;
15
+ title: string;
16
+ trackingCode: string;
17
+ duration: number;
18
+ }
19
+ interface BaseAssocData {
20
+ id: string;
21
+ title?: string;
22
+ }
23
+ export interface VideoAnalyticsPayload {
24
+ video: BaseVideoData;
25
+ rating?: string;
26
+ series?: BaseAssocData;
27
+ folder?: BaseAssocData;
28
+ owner?: BaseAssocData;
29
+ playlist?: BaseAssocData;
30
+ playbackStatus?: PlaybackStatus;
31
+ }
32
+ export declare const VideoDataFormatHelper: {
33
+ getVideoData(options: VideoWatchAnalyticsEvent): VideoAnalyticsPayload;
34
+ /**
35
+ * Map to the same properties recorded in Online.
36
+ * @see _toLogMasterVideo() in AnalyticsService in Online
37
+ *
38
+ * TODO: Video origin and user channel logging - both of these need to be re-worked properly.
39
+ */
40
+ getLegacyVideoData(options: VideoWatchAnalyticsEvent): HashObject<any>;
41
+ };
42
+ export {};
@@ -32,6 +32,7 @@ export declare class BaseAppRouter extends Marionette.AppRouter {
32
32
  */
33
33
  protected appRoutes?: Marionette.AppRoutes;
34
34
  protected appLinks?: string[];
35
+ protected externalRoutes?: Marionette.AppRoutes;
35
36
  /**
36
37
  * The channelName used to trigger the appLinks
37
38
  * on backbone.radio. This will match the Application's
@@ -52,11 +53,14 @@ export declare class BaseAppRouter extends Marionette.AppRouter {
52
53
  protected options?: BaseAppRouterOptions;
53
54
  constructor(options?: BaseAppRouterOptions);
54
55
  private bindDisposal;
56
+ private addRouteLookup;
55
57
  /**
56
58
  * Creates all the reverse route lookups
57
59
  * and binds all the appLinks to the radio channel
58
60
  */
59
- private processAppEvents;
61
+ private processInternalRoutes;
62
+ private processExternalRoutes;
63
+ private processAppLinks;
60
64
  /**
61
65
  * This is the heart of the AppRouter. Every single route both page loads
62
66
  * and appLinks will go through this method.
@@ -0,0 +1,3 @@
1
+ export declare const ViewModelActions: {
2
+ UPDATE: string;
3
+ };
@@ -0,0 +1,4 @@
1
+ declare type IUseViewModel<T> = [T, // State
2
+ (dataOrKey: T | keyof T, keyData?: any) => void];
3
+ export declare const useViewModel: <T = any>(viewModelKey: string, initialState?: T) => IUseViewModel<T>;
4
+ export {};
@@ -1,6 +1,8 @@
1
1
  import { ApplicationData } from "./ApplicationData";
2
- import { FlightState } from '../flight/interfaces/FlightState';
2
+ import { FlightState } from "../flight/interfaces/FlightState";
3
+ import { HashObject } from "./HashObject";
3
4
  export interface ApplicationState {
4
5
  readonly flightData: FlightState;
5
6
  readonly applicationData: ApplicationData;
7
+ readonly viewModelData: HashObject;
6
8
  }
@@ -0,0 +1,5 @@
1
+ import { ViewModelPayload } from "./ViewModelPayload";
2
+ export interface ViewModelAction {
3
+ type: string;
4
+ payload: ViewModelPayload;
5
+ }
@@ -0,0 +1,5 @@
1
+ export interface ViewModelPayload {
2
+ viewModelKey: string;
3
+ dataOrKey: any;
4
+ keyData?: any;
5
+ }
@@ -0,0 +1,3 @@
1
+ import { HashObject } from "../interfaces/HashObject";
2
+ import { ViewModelAction } from "../interfaces/ViewModelAction";
3
+ export declare function ViewModelReducer(state: HashObject, action: ViewModelAction): HashObject;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import * as _ from 'underscore';
3
2
  declare type Iterator<T, TResult = T> = (value: T, index: number, list: T[]) => TResult;
4
3
  export declare const ArrayHelper: {
@@ -23,7 +22,7 @@ export declare const ArrayHelper: {
23
22
  * @param arr array of values
24
23
  * @param value value to be added or removed.
25
24
  */
26
- addOrRemove<T_13 = import("react").Key>(arr: T_13[], value: T_13): T_13[];
25
+ addOrRemove<T_13 = string | number>(arr: T_13[], value: T_13): T_13[];
27
26
  addOrRemoveImmutable<T_14>(arr: T_14[], value: T_14): T_14[];
28
27
  /**
29
28
  * Returns a (stably) sorted copy of list, ranked in ascending order
@@ -1,4 +1,5 @@
1
+ import { Video } from "../../../interfaces";
1
2
  export interface VideoClassificationMapping {
2
3
  classificationId: string;
3
- videoId: string;
4
+ video: Video;
4
5
  }
@@ -1,7 +1,7 @@
1
1
  import { NotificationType } from "../enums/NotificationType";
2
2
  import { NotificationAlertType } from "../enums/NotificationAlertType";
3
3
  export declare const NotificationsHelper: {
4
- getIconColor: (type: NotificationAlertType) => "dark" | "success" | "danger" | "warning";
4
+ getIconColor: (type: NotificationAlertType) => "success" | "danger" | "warning" | "dark";
5
5
  getIcon: (type: NotificationAlertType) => import("../../../images/svg").localSvgs.CheckCircle | import("../../../images/svg").localSvgs.Info | import("../../../images/svg").localSvgs.Warning;
6
6
  /**
7
7
  * This is a manual override based on the notification type. This is only
@@ -1,6 +1,7 @@
1
1
  import { Core } from "../../../../../common/src/backbone";
2
2
  import { FileLifestyle } from "../enums/FileLifestyle";
3
3
  import { UploadApiWrapper } from './DropzoneWrapper';
4
+ import { AnalyticsOptions } from "../../../../../analytics/src/interfaces";
4
5
  export interface UploadItem extends Core.Model {
5
6
  file: File;
6
7
  name: string;
@@ -39,9 +40,9 @@ declare class UploadService extends Core.Service {
39
40
  * @param files Array of browser File objects
40
41
  * @returns Returns false if any of the files did not match the accepted file list.
41
42
  */
42
- addFiles(files: File[]): void;
43
+ addFiles(files: File[], analyticsOptions?: AnalyticsOptions): void;
43
44
  private requestUploads;
44
- addFile(file: File): void;
45
+ addFile(file: File, analyticsOptions: AnalyticsOptions): void;
45
46
  cancelUpload(id: string): void;
46
47
  protected onSuccess(file: File, response: any): void;
47
48
  cancelAllUploads(): void;
@@ -2,5 +2,5 @@ import * as React from 'react';
2
2
  interface LazyImageProps extends React.ImgHTMLAttributes<HTMLImageElement> {
3
3
  forceLoad?: boolean;
4
4
  }
5
- export declare function LazyImage({ forceLoad, ...propsWithSrc }: LazyImageProps): React.ReactElement;
5
+ export declare const LazyImage: React.NamedExoticComponent<LazyImageProps>;
6
6
  export {};
@@ -3,6 +3,11 @@ import * as Autosuggest from 'react-autosuggest';
3
3
  import { HashObject } from "../../../../common/src/react/interfaces/HashObject";
4
4
  import * as SearchUtils from './SearchUtils';
5
5
  export interface SearchBarProps<T extends HashObject> {
6
+ /**
7
+ * Optional initial query. Useful for populating the search bar
8
+ * on a search results page.
9
+ */
10
+ initialQuery?: string;
6
11
  /**
7
12
  * Callback function for when a suggestion is selected.
8
13
  */
@@ -19,9 +19,11 @@ export interface FixedWidgetProps {
19
19
  appLink?: Core.AppLink;
20
20
  settingsAppLink?: Core.AppLink;
21
21
  }
22
- export declare function FixedWidget(props: FixedWidgetProps): JSX.Element;
23
- export declare namespace FixedWidget {
22
+ declare function FixedWidget(props: FixedWidgetProps): JSX.Element;
23
+ declare namespace FixedWidget {
24
24
  var defaultProps: {
25
25
  type: WidgetType;
26
26
  };
27
27
  }
28
+ declare const Memoized: React.MemoExoticComponent<typeof FixedWidget>;
29
+ export { Memoized as FixedWidget };
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import * as React from 'react';
2
2
  import { Core } from "../../../../../../common/src/backbone";
3
3
  import { Classification } from "../../../../interfaces";
4
4
  interface SubjectWidgetItemProps {
@@ -6,5 +6,6 @@ interface SubjectWidgetItemProps {
6
6
  appLink: Core.AppLink;
7
7
  isLarge?: boolean;
8
8
  }
9
- export declare function SubjectWidgetItem(props: SubjectWidgetItemProps): JSX.Element;
10
- export {};
9
+ declare function SubjectWidgetItem(props: SubjectWidgetItemProps): JSX.Element;
10
+ declare const Memoized: React.MemoExoticComponent<typeof SubjectWidgetItem>;
11
+ export { Memoized as SubjectWidgetItem };
@@ -1,5 +1,6 @@
1
1
  declare const BootstrapKeys: {
2
2
  LOCALE: string;
3
3
  PHRASES: string;
4
+ VERSION: string;
4
5
  };
5
6
  export { BootstrapKeys };
@@ -9,5 +9,5 @@ export declare const SharedWithStatements: {
9
9
  export declare const WithStatementHelper: {
10
10
  SubjectPresentationActiveAudienceFilter(ids: string[]): string;
11
11
  SubjectPresentationAudienceFilter(id: string): string;
12
- ClassificationWithFollowers(currentUserId: string): string;
12
+ ClassificationWithFollowersAndMemberCount(currentUserId: string): string;
13
13
  };
@@ -0,0 +1,5 @@
1
+ export declare enum CountryCode {
2
+ AU = "au",
3
+ NZ = "nz",
4
+ UK = "uk"
5
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum SubtitleExtractionOptions {
2
+ ExternalOnly = 0,
3
+ EmbeddedOnly = 1
4
+ }
@@ -2,5 +2,6 @@ export declare enum WidgetContents {
2
2
  Videos = "videos",
3
3
  Series = "series",
4
4
  Subjects = "subjects",
5
- Playlists = "playlists"
5
+ Playlists = "playlists",
6
+ UserChannels = "user channels"
6
7
  }
@@ -2,6 +2,6 @@ import { Flight } from "../../../common/src/react";
2
2
  import { Xhr } from "../../../common/src/backbone/interfaces";
3
3
  export declare const FavouriteVideoRequests: {
4
4
  favouriteVideos(userId: string, cursor?: string): Flight.Request;
5
- updateIsVideoFavourited(videoId: string, userId: string, shouldFavourite: boolean, error?: (Xhr: Xhr) => void): Flight.Request;
5
+ updateIsVideoFavourited(videoId: string, userId: string, shouldFavourite: boolean, success?: () => void, error?: (Xhr: Xhr) => void): Flight.Request;
6
6
  isFavourited(userId: string, ids: string[]): Flight.Request;
7
7
  };
@@ -5,13 +5,13 @@ export declare const PreferenceRequests: {
5
5
  */
6
6
  allSubjectPreferences(): Flight.Request;
7
7
  mySubjectPreferences(): Flight.Request;
8
- followSubjects(subjectIds: string[], always: () => void): Flight.Request;
9
- unfollowSubjects(subjectIds: string[], always: () => void): Flight.Request;
8
+ followSubjects(subjectIds: string[], success: () => void, always: () => void): Flight.Request;
9
+ unfollowSubjects(subjectIds: string[], success: () => void, always: () => void): Flight.Request;
10
10
  /**
11
11
  * Levels
12
12
  */
13
13
  allLevelPreferences(): Flight.Request;
14
14
  myLevelPreferences(): Flight.Request;
15
- followLevels(levelIds: string[], always: () => void): Flight.Request;
16
- unfollowLevels(levelIds: string[], always: () => void): Flight.Request;
15
+ followLevels(levelIds: string[], success: () => void, always: () => void): Flight.Request;
16
+ unfollowLevels(levelIds: string[], success: () => void, always: () => void): Flight.Request;
17
17
  };
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import { BaseObject } from "../interfaces";
3
+ /**
4
+ * This function can be used to temporarily store an array of reordered objects
5
+ * until the array obtained from the application store updates to the new order.
6
+ *
7
+ * @param items array of objects from application store.
8
+ */
9
+ export declare function useReorderedItems<T extends BaseObject>(items: T[]): [T[], React.Dispatch<React.SetStateAction<T[]>>];
@@ -1,9 +1,11 @@
1
1
  import { BaseObject, RegionalUrl } from "./..";
2
+ import { CountryCode } from "../../enums/CountryCode";
2
3
  export interface Config extends BaseObject {
3
4
  supportSiteUrl: string;
4
5
  imageCdnUrl: string;
5
- countryCode: string;
6
+ countryCode: CountryCode;
6
7
  webPlayerUrl: string;
7
8
  notificationServiceUrl?: string;
8
9
  collectionApiUrls?: RegionalUrl;
10
+ collectionApiClientId?: string;
9
11
  }
@@ -0,0 +1,7 @@
1
+ import { BaseObject } from './primitives';
2
+ import { Thumbnail } from './Thumbnail';
3
+ export interface UserChannel extends BaseObject {
4
+ thumbnail: Thumbnail;
5
+ description: string;
6
+ verified: boolean;
7
+ }
@@ -40,3 +40,4 @@ export * from './Share';
40
40
  export * from './Restriction';
41
41
  export * from './VideoWithRestrictions';
42
42
  export * from './Following';
43
+ export * from './UserChannel';
@@ -6,6 +6,7 @@ export declare class ConfigDataService extends BaseDataService {
6
6
  get name(): string;
7
7
  get channelName(): string;
8
8
  getConfig(callback?: (Config: Config) => void, errorCallback?: () => void): Config;
9
+ getVersion(callback?: (version: string) => void): string;
9
10
  }
10
11
  export declare const ConfigDataServiceHelper: {
11
12
  getConfigFetchOptions(setData: (data: Config) => void, onError?: (error: DataServiceError) => void): FetchOptions;
@@ -1,4 +1,4 @@
1
- import { Audience, PresentationAudience } from "../interfaces";
1
+ import { Audience, PresentationAudience, BaseObject } from "../interfaces";
2
2
  export declare const AudienceHelper: {
3
3
  /**
4
4
  * This is needed to sort an object's audiences, as they are not sorted by the backend.
@@ -7,4 +7,8 @@ export declare const AudienceHelper: {
7
7
  */
8
8
  getSortedPresentationAudiences(objectAudiences: Audience[], presentationAudiences: PresentationAudience[]): PresentationAudience[];
9
9
  getMergedPresentationAudienceString(presentationAudiences: PresentationAudience[]): PresentationAudience;
10
+ /**
11
+ * This function assumes the members array passed in is ordered by `name`.
12
+ */
13
+ sortMembersWithDuplicateNamesByAudience(members: BaseObject[]): BaseObject[];
10
14
  };
@@ -26,5 +26,5 @@ export declare const ImageHelper: {
26
26
  Rfc3986EncodeURIComponent(str: string): string;
27
27
  _createCategoryMappedUrl(mappingOptions: CategoryMapperImageOptions, options?: ImageOptions): string;
28
28
  _createUrl(baseUrl: string, options?: ImageOptions): string;
29
- legacyCreateThumbnailUrl(thumbnail: string | Core.Model | HashObject<any>, options?: ImageOptions): string;
29
+ legacyCreateThumbnailUrl(thumbnail: string | HashObject<any> | Core.Model, options?: ImageOptions): string;
30
30
  };
@@ -1,7 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  import { MockClassroomGroup } from 'shared/interfaces/mocks';
3
3
  import { MockClassroom } from 'apps/user-manager/interfaces';
4
- interface ClassroomGroupDropdownProps {
4
+ import { PropsWithAnalyticsOptions } from "../../../../../../../libs/shared/src/interfaces";
5
+ declare type ClassroomGroupDropdownProps = PropsWithAnalyticsOptions<{
5
6
  id: string;
6
7
  classroom: MockClassroom;
7
8
  studentIds: string[];
@@ -10,7 +11,7 @@ interface ClassroomGroupDropdownProps {
10
11
  preselections?: MockClassroomGroup[];
11
12
  alignRight?: boolean;
12
13
  disabled?: boolean;
13
- }
14
+ }>;
14
15
  export declare function ClassroomGroupDropdown(props: ClassroomGroupDropdownProps): JSX.Element;
15
16
  export declare namespace ClassroomGroupDropdown {
16
17
  var defaultProps: {
@@ -3,6 +3,7 @@ import { Core } from "../../../../../../../libs/common/src/backbone";
3
3
  export interface TileAction {
4
4
  appLink: Core.AppLink;
5
5
  text: string;
6
+ onClick?: () => void;
6
7
  }
7
8
  interface TileActionsProps {
8
9
  actions: TileAction[];
@@ -5,7 +5,7 @@ import { MockStudent, MockClassroom } from 'apps/user-manager/interfaces';
5
5
  export declare const ClassroomRequests: {
6
6
  getAll(): Flight.SimulatedRequest;
7
7
  getClassroom(id: string): Flight.SimulatedRequest;
8
- createClassroom(classroom: EditClassroomRequest, success?: () => void, error?: () => void): Flight.SimulatedRequest;
8
+ createClassroom(classroom: EditClassroomRequest, success?: (data: MockClassroom) => void, error?: () => void): Flight.SimulatedRequest;
9
9
  editClassroom(classroom: EditClassroomRequest, success?: () => void, error?: () => void): Flight.SimulatedRequest;
10
10
  deleteClassroom(id: string, success?: () => void, error?: () => void): Flight.SimulatedRequest;
11
11
  /**
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
- import { PopupViewProps } from "../../../../../../../libs/shared/src/interfaces";
3
- interface AddStudentsToClassroomViewProps extends PopupViewProps {
2
+ import { PropsWithAnalyticsOptions, PropsWithPopupViewProps } from "../../../../../../../libs/shared/src/interfaces";
3
+ declare type AddStudentsToClassroomViewProps = PropsWithAnalyticsOptions<PropsWithPopupViewProps<{
4
4
  classroomId: string;
5
- }
5
+ }>>;
6
6
  export declare function AddStudentsToClassroomView(props: AddStudentsToClassroomViewProps): JSX.Element;
7
7
  export {};
@@ -1,6 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { PopupViewProps } from "../../../../../../../libs/shared/src/interfaces";
3
- interface CreateClassroomView extends PopupViewProps {
4
- }
5
- export declare function CreateClassroomView(props: CreateClassroomView): JSX.Element;
2
+ import { PropsWithAnalyticsOptions, PropsWithPopupViewProps } from "../../../../../../../libs/shared/src/interfaces";
3
+ declare type CreateClassroomViewProps = PropsWithAnalyticsOptions<PropsWithPopupViewProps<{}>>;
4
+ export declare function CreateClassroomView(props: CreateClassroomViewProps): JSX.Element;
6
5
  export {};
@@ -1,8 +1,8 @@
1
1
  /// <reference types="react" />
2
- import { PopupViewProps } from "../../../../../../../libs/shared/src/interfaces";
3
- interface CreateClassroomGroupViewProps extends PopupViewProps {
2
+ import { PropsWithAnalyticsOptions, PropsWithPopupViewProps } from "../../../../../../../libs/shared/src/interfaces";
3
+ declare type CreateClassroomGroupViewProps = PropsWithAnalyticsOptions<PropsWithPopupViewProps<{
4
4
  classroomId: string;
5
5
  studentIds: string[];
6
- }
6
+ }>>;
7
7
  export declare function CreateClassroomGroupView(props: CreateClassroomGroupViewProps): JSX.Element;
8
8
  export {};
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
- import { PopupViewProps } from "../../../../../../../libs/shared/src/interfaces";
3
- interface DeleteClassroomViewProps {
2
+ import { PropsWithAnalyticsOptions, PropsWithPopupViewProps } from "../../../../../../../libs/shared/src/interfaces";
3
+ declare type DeleteClassroomViewProps = PropsWithAnalyticsOptions<PropsWithPopupViewProps<{
4
4
  id: string;
5
- }
6
- export declare function DeleteClassroomView(props: DeleteClassroomViewProps & PopupViewProps): JSX.Element;
5
+ }>>;
6
+ export declare function DeleteClassroomView(props: DeleteClassroomViewProps): JSX.Element;
7
7
  export {};
@@ -1,8 +1,8 @@
1
1
  /// <reference types="react" />
2
- import { PopupViewProps } from "../../../../../../../libs/shared/src/interfaces";
3
- interface DeleteClassroomGroupViewProps extends PopupViewProps {
2
+ import { PropsWithAnalyticsOptions, PropsWithPopupViewProps } from "../../../../../../../libs/shared/src/interfaces";
3
+ declare type DeleteClassroomGroupViewProps = PropsWithAnalyticsOptions<PropsWithPopupViewProps<{
4
4
  classroomId: string;
5
5
  groupId: string;
6
- }
6
+ }>>;
7
7
  export declare function DeleteClassroomGroupView(props: DeleteClassroomGroupViewProps): JSX.Element;
8
8
  export {};
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
- import { PopupViewProps } from "../../../../../../../libs/shared/src/interfaces";
3
- interface EditClassroomView extends PopupViewProps {
2
+ import { PropsWithPopupViewProps, PropsWithAnalyticsOptions } from "../../../../../../../libs/shared/src/interfaces";
3
+ declare type EditClassroomView = PropsWithPopupViewProps<PropsWithAnalyticsOptions<{
4
4
  id: string;
5
- }
5
+ }>>;
6
6
  export declare function EditClassroomView(props: EditClassroomView): JSX.Element;
7
7
  export {};
@@ -1,8 +1,8 @@
1
1
  /// <reference types="react" />
2
- import { PopupViewProps } from "../../../../../../../libs/shared/src/interfaces";
3
- interface EditClassroomGroupViewProps extends PopupViewProps {
2
+ import { PropsWithPopupViewProps, PropsWithAnalyticsOptions } from "../../../../../../../libs/shared/src/interfaces";
3
+ declare type EditClassroomGroupViewProps = PropsWithPopupViewProps<PropsWithAnalyticsOptions<{
4
4
  classroomId: string;
5
5
  groupId: string;
6
- }
6
+ }>>;
7
7
  export declare function EditClassroomGroupView(props: EditClassroomGroupViewProps): JSX.Element;
8
8
  export {};
@@ -1,8 +1,8 @@
1
1
  /// <reference types="react" />
2
- import { PopupViewProps } from "../../../../../../../libs/shared/src/interfaces";
3
- interface RemoveStudentsFromClassroomViewProps extends PopupViewProps {
2
+ import { PropsWithPopupViewProps, PropsWithAnalyticsOptions } from "../../../../../../../libs/shared/src/interfaces";
3
+ declare type RemoveStudentsFromClassroomViewProps = PropsWithPopupViewProps<PropsWithAnalyticsOptions<{
4
4
  classroomId: string;
5
5
  studentIds: string[];
6
- }
6
+ }>>;
7
7
  export declare function RemoveStudentsFromClassroomView(props: RemoveStudentsFromClassroomViewProps): JSX.Element;
8
8
  export {};
@@ -13,6 +13,6 @@ export declare class ContentUpdatesApplication extends ReactApplication {
13
13
  get channelName(): string;
14
14
  static get router(): typeof ContentUpdatesRouter;
15
15
  contentUpdates(): void;
16
- classificationUpdate(classificationId: string): void;
16
+ classificationUpdate(classificationId: string, slug: string): void;
17
17
  }
18
18
  export {};
@@ -15,12 +15,12 @@ export declare class DefaultApplication extends ReactApplication {
15
15
  get channelName(): string;
16
16
  static get router(): typeof DefaultAppRouter;
17
17
  share(id: string, params: HashObject): void;
18
- playVideo(id: string): void;
18
+ playVideo(id: string, slug: string): void;
19
19
  playSharedVideo(shortCode: string): void;
20
20
  myUploads(params: HashObject): void;
21
21
  editVideo(videoId: string): void;
22
22
  editUpload(uploadId: string): void;
23
- series(id: string, params: HashObject): void;
23
+ series(id: string, slug: string, params: HashObject): void;
24
24
  favouriteVideos(params: HashObject): void;
25
25
  catchAllRoutes(): void;
26
26
  notFound(): void;
@@ -13,8 +13,9 @@ export declare class PlaylistsApplication extends ReactApplication {
13
13
  protected get layoutOptions(): Core.LayoutOptions<TeacherLayoutViewOptions>;
14
14
  get channelName(): string;
15
15
  static get router(): typeof PlaylistsAppRouter;
16
+ private getPopupProps;
16
17
  index(params: HashObject): void;
17
- playlist(id: string): void;
18
+ playlist(id: string, slug?: string): void;
18
19
  newPlaylist(): void;
19
20
  editPlaylist(id: string): void;
20
21
  deletePlaylist(id: string): void;
@@ -1,10 +1,10 @@
1
1
  import * as React from 'react';
2
2
  import { Core } from "../../../../../../../libs/common/src/backbone";
3
- import { PropsWithPopupViewProps } from "../../../../../../../libs/shared/src/interfaces";
3
+ import { PropsWithPopupViewProps, PropsWithAnalyticsOptions } from "../../../../../../../libs/shared/src/interfaces";
4
4
  interface DeletePlaylistViewProps {
5
5
  playlistId: string;
6
6
  routeToOnDelete?: Core.AppLink;
7
7
  }
8
- declare type PropTypes = PropsWithPopupViewProps<DeletePlaylistViewProps>;
8
+ declare type PropTypes = PropsWithAnalyticsOptions<PropsWithPopupViewProps<DeletePlaylistViewProps>>;
9
9
  export declare function DeletePlaylistView(props: PropTypes): React.ReactElement;
10
10
  export {};
@@ -1,8 +1,8 @@
1
1
  import * as React from 'react';
2
- import { PropsWithPopupViewProps } from "../../../../../../../libs/shared/src/interfaces";
2
+ import { PropsWithPopupViewProps, PropsWithAnalyticsOptions } from "../../../../../../../libs/shared/src/interfaces";
3
3
  interface EditPlaylistViewProps {
4
4
  playlistId: string;
5
5
  }
6
- declare type PropTypes = PropsWithPopupViewProps<EditPlaylistViewProps>;
6
+ declare type PropTypes = PropsWithAnalyticsOptions<PropsWithPopupViewProps<EditPlaylistViewProps>>;
7
7
  export declare function EditPlaylistView(props: PropTypes): React.ReactElement;
8
8
  export {};