@clickview/lite 0.0.18-dev.2 → 0.0.18-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/0.chunk.css.map +1 -0
- package/dist/css/1.chunk.css +144 -2
- package/dist/css/1.chunk.css.map +1 -0
- package/dist/css/10.chunk.css +10 -12
- package/dist/css/10.chunk.css.map +1 -0
- package/dist/css/11.chunk.css +5 -9
- package/dist/css/11.chunk.css.map +1 -0
- package/dist/css/12.chunk.css.map +1 -0
- package/dist/css/13.chunk.css.map +1 -0
- package/dist/css/14.chunk.css.map +1 -0
- package/dist/css/16.chunk.css.map +1 -0
- package/dist/css/18.chunk.css.map +1 -0
- package/dist/css/19.chunk.css +6 -2
- package/dist/css/19.chunk.css.map +1 -0
- package/dist/css/2.chunk.css +14 -0
- package/dist/css/20.chunk.css +2 -6
- package/dist/css/21.chunk.css +1 -3
- package/dist/css/21.chunk.css.map +1 -0
- package/dist/css/22.chunk.css +2 -2
- package/dist/css/22.chunk.css.map +1 -0
- package/dist/css/23.chunk.css +3 -1
- package/dist/css/23.chunk.css.map +1 -0
- package/dist/css/24.chunk.css +1 -3
- package/dist/css/24.chunk.css.map +1 -0
- package/dist/css/25.chunk.css +2 -2
- package/dist/css/25.chunk.css.map +1 -0
- package/dist/css/26.chunk.css +3 -1
- package/dist/css/26.chunk.css.map +1 -0
- package/dist/css/27.chunk.css +66 -2
- package/dist/css/27.chunk.css.map +1 -0
- package/dist/css/28.chunk.css +48 -2
- package/dist/css/28.chunk.css.map +1 -0
- package/dist/css/29.chunk.css +43 -4
- package/dist/css/29.chunk.css.map +1 -0
- package/dist/css/3.chunk.css +13 -7
- package/dist/css/3.chunk.css.map +1 -0
- package/dist/css/30.chunk.css +1 -3
- package/dist/css/30.chunk.css.map +1 -0
- package/dist/css/31.chunk.css +5 -2
- package/dist/css/31.chunk.css.map +1 -0
- package/dist/css/32.chunk.css +4 -1
- package/dist/css/32.chunk.css.map +1 -0
- package/dist/css/34.chunk.css +4 -2
- package/dist/css/34.chunk.css.map +1 -0
- package/dist/css/35.chunk.css +7 -0
- package/dist/css/35.chunk.css.map +1 -0
- package/dist/css/36.chunk.css +4 -0
- package/dist/css/36.chunk.css.map +1 -0
- package/dist/css/37.chunk.css +3 -1
- package/dist/css/37.chunk.css.map +1 -0
- package/dist/css/38.chunk.css +36 -2
- package/dist/css/38.chunk.css.map +1 -0
- package/dist/css/4.chunk.css +5 -13
- package/dist/css/4.chunk.css.map +1 -0
- package/dist/css/44.chunk.css +1 -1
- package/dist/css/45.chunk.css +9 -0
- package/dist/css/45.chunk.css.map +1 -0
- package/dist/css/5.chunk.css +2 -8
- package/dist/css/5.chunk.css.map +1 -0
- package/dist/css/9.chunk.css +15 -7
- package/dist/css/lite-app.css.map +1 -0
- package/dist/libs/analytics/src/AnalyticsService.d.ts +52 -0
- package/dist/libs/analytics/src/clients/BaseAnalyticsClient.d.ts +24 -0
- package/dist/libs/analytics/src/clients/CollectionApiClient.d.ts +48 -0
- package/dist/libs/analytics/src/clients/DebuggerClient.d.ts +7 -0
- package/dist/libs/analytics/src/constants/ApplicationOptionsKey.d.ts +1 -0
- package/dist/libs/analytics/src/constants/CountryRegionMapping.d.ts +7 -0
- package/dist/libs/analytics/src/constants/Regions.d.ts +6 -0
- package/dist/libs/analytics/src/enrichers/BaseAnalyticsEnricher.d.ts +19 -0
- package/dist/libs/analytics/src/enrichers/CoreContextEnricher.d.ts +22 -0
- package/dist/libs/analytics/src/enrichers/UserDataEnricher.d.ts +10 -0
- package/dist/libs/analytics/src/enums/CountryCode.d.ts +5 -0
- package/dist/libs/analytics/src/interfaces/AnalyticsTypes.d.ts +49 -5
- package/dist/libs/analytics/src/interfaces/VersionData.d.ts +4 -0
- package/dist/libs/analytics/src/models/CollectionEvent.d.ts +55 -0
- package/dist/libs/analytics/src/transport/EventTransport.d.ts +39 -0
- package/dist/libs/analytics/src/utils/CollectionApiClientHelper.d.ts +6 -0
- package/dist/libs/analytics/src/utils/DataFormatHelper.d.ts +14 -0
- package/dist/libs/analytics/src/utils/EventWhitelistHelper.d.ts +19 -0
- package/dist/libs/analytics/src/utils/TypeHelper.d.ts +4 -0
- package/dist/libs/analytics/src/utils/UploadDataFormatHelper.d.ts +10 -0
- package/dist/libs/analytics/src/utils/UserAgentHelper.d.ts +10 -0
- package/dist/libs/analytics/src/utils/VideoDataFormatHelper.d.ts +42 -0
- package/dist/libs/common/src/backbone/core/BaseAppRouter.d.ts +5 -1
- package/dist/libs/common/src/react/constants/ViewModelActions.d.ts +3 -0
- package/dist/libs/common/src/react/hooks/useViewModel.d.ts +4 -0
- package/dist/libs/common/src/react/interfaces/ApplicationState.d.ts +3 -1
- package/dist/libs/common/src/react/interfaces/ViewModelAction.d.ts +5 -0
- package/dist/libs/common/src/react/interfaces/ViewModelPayload.d.ts +5 -0
- package/dist/libs/common/src/react/reducers/ViewModelReducer.d.ts +3 -0
- package/dist/libs/common/src/react/utils/ArrayHelper.d.ts +1 -1
- package/dist/libs/shared/src/apps/content-updates/interfaces/VideoClassificationMapping.d.ts +2 -1
- package/dist/libs/shared/src/apps/upload/services/UploadService.d.ts +3 -2
- package/dist/libs/shared/src/components/lazy-image/LazyImage.d.ts +1 -1
- package/dist/libs/shared/src/components/search-bar/SearchBar.d.ts +5 -0
- package/dist/libs/shared/src/components/widgets/fixed-widget/FixedWidget.d.ts +4 -2
- package/dist/libs/shared/src/components/widgets/items/subject-widget-item/SubjectWidgetItem.d.ts +4 -3
- package/dist/libs/shared/src/constants/BootstrapKeys.d.ts +1 -0
- package/dist/libs/shared/src/constants/WithStatements.d.ts +1 -1
- package/dist/libs/shared/src/enums/CountryCode.d.ts +5 -0
- package/dist/libs/shared/src/enums/SubtitleExtractionOptions.d.ts +4 -0
- package/dist/libs/shared/src/enums/WidgetContents.d.ts +2 -1
- package/dist/libs/shared/src/flight-requests/FavouriteVideoRequests.d.ts +1 -1
- package/dist/libs/shared/src/flight-requests/PreferenceRequests.d.ts +4 -4
- package/dist/libs/shared/src/hooks/UseReorderedItems.d.ts +9 -0
- package/dist/libs/shared/src/interfaces/models/Config.d.ts +3 -1
- package/dist/libs/shared/src/interfaces/models/Group.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/models/User.d.ts +2 -1
- package/dist/libs/shared/src/interfaces/models/UserChannel.d.ts +7 -0
- package/dist/libs/shared/src/interfaces/models/index.d.ts +2 -0
- package/dist/libs/shared/src/services/ConfigDataService.d.ts +1 -0
- package/dist/libs/shared/src/utils/AudienceHelper.d.ts +5 -1
- package/dist/projects/lite/src/apps/classrooms/components/classroom-group-dropdown/ClassroomGroupDropdown.d.ts +3 -2
- package/dist/projects/lite/src/apps/classrooms/components/tile-actions/TileActions.d.ts +1 -0
- package/dist/projects/lite/src/apps/classrooms/flight-requests/ClassroomRequests.d.ts +1 -1
- package/dist/projects/lite/src/apps/classrooms/views/add-students-to-classroom/AddStudentsToClassroomView.d.ts +3 -3
- package/dist/projects/lite/src/apps/classrooms/views/create-classroom/CreateClassroomView.d.ts +3 -4
- package/dist/projects/lite/src/apps/classrooms/views/create-classroom-group/CreateClassroomGroupView.d.ts +3 -3
- package/dist/projects/lite/src/apps/classrooms/views/delete-classroom/DeleteClassroomView.d.ts +4 -4
- package/dist/projects/lite/src/apps/classrooms/views/delete-classroom-group/DeleteClassroomGroupView.d.ts +3 -3
- package/dist/projects/lite/src/apps/classrooms/views/edit-classroom/EditClassroomView.d.ts +3 -3
- package/dist/projects/lite/src/apps/classrooms/views/edit-classroom-group/EditClassroomGroupView.d.ts +3 -3
- package/dist/projects/lite/src/apps/classrooms/views/remove-students-from-classroom/RemoveStudentsFromClassroomView.d.ts +3 -3
- package/dist/projects/lite/src/apps/content-updates/LiteContentUpdatesApplication.d.ts +1 -1
- package/dist/projects/lite/src/apps/default/LiteDefaultApplication.d.ts +2 -2
- package/dist/projects/lite/src/apps/playlists/LitePlaylistsApplication.d.ts +2 -1
- package/dist/projects/lite/src/apps/playlists/views/delete-playlist/DeletePlaylistView.d.ts +2 -2
- package/dist/projects/lite/src/apps/playlists/views/edit-playlist/EditPlaylistView.d.ts +2 -2
- package/dist/projects/lite/src/apps/playlists/views/new-playlist/NewPlaylistView.d.ts +2 -2
- package/dist/projects/lite/src/apps/playlists/views/playlist/PlaylistViewUtils.d.ts +0 -8
- package/dist/projects/lite/src/apps/playlists/views/remove-video-from-playlist/RemoveVideoFromPlaylistView.d.ts +2 -2
- package/dist/projects/lite/src/apps/search/components/filter-actions/FilterActions.d.ts +3 -2
- package/dist/projects/lite/src/apps/search/components/filter-button/FilterButton.d.ts +3 -2
- package/dist/projects/lite/src/apps/search/components/filter-types/checkbox-filter/CheckboxFilter.d.ts +3 -2
- package/dist/projects/lite/src/apps/search/components/filter-types/dropdown-filter/DropdownFilter.d.ts +3 -2
- package/dist/projects/lite/src/apps/search/components/filter-types/radio-filter/RadioFilter.d.ts +3 -2
- package/dist/projects/lite/src/apps/search/components/filter-types/radio-filter/year-level/YearLevelRadioFilter.d.ts +3 -2
- package/dist/projects/lite/src/apps/search/components/reset-button/ResetButton.d.ts +3 -2
- package/dist/projects/lite/src/apps/search/components/search-filters/SearchFilters.d.ts +3 -2
- package/dist/projects/lite/src/apps/search/interfaces/FilterProps.d.ts +3 -2
- package/dist/projects/lite/src/apps/search/utils/FilterHelper.d.ts +4 -2
- package/dist/projects/lite/src/apps/subjects/LiteSubjectApplication.d.ts +2 -2
- package/dist/projects/lite/src/apps/upload/services/FlightVideoUploadDataService.d.ts +5 -0
- package/dist/projects/lite/src/apps/user-manager/components/delete-uploaded-student-popup/DeleteUploadedStudentPopup.d.ts +4 -4
- package/dist/projects/lite/src/apps/user-manager/components/delete-uploaded-teacher-popup/DeleteUploadedTeacherPopup.d.ts +4 -4
- package/dist/projects/lite/src/apps/user-manager/components/edit-uploaded-user-popup/EditUploadedUserPopup.d.ts +4 -4
- package/dist/projects/lite/src/apps/user-manager/components/manage-users-list/ManageUsersList.d.ts +3 -2
- package/dist/projects/lite/src/apps/user-manager/flight-requests/SchoolUserRequests.d.ts +3 -3
- package/dist/projects/lite/src/apps/user-manager/views/create-student/CreateStudentView.d.ts +3 -4
- package/dist/projects/lite/src/apps/user-manager/views/create-teacher/CreateTeacherView.d.ts +3 -4
- package/dist/projects/lite/src/apps/user-manager/views/edit-student/EditStudentView.d.ts +4 -4
- package/dist/projects/lite/src/apps/user-manager/views/edit-teacher/EditTeacherView.d.ts +4 -4
- package/dist/projects/lite/src/apps/user-manager/views/remove-user/RemoveUserView.d.ts +4 -4
- package/dist/projects/lite/src/apps/user-manager/views/student-upload-review/StudentUploadReviewView.d.ts +4 -2
- package/dist/projects/lite/src/apps/user-manager/views/teacher-upload-review/TeacherUploadReviewView.d.ts +4 -2
- package/dist/projects/lite/src/shared/components/immersive-reader/ImmersiveReader.d.ts +7 -2
- package/dist/projects/lite/src/shared/components/share/copy-embed-html/CopyEmbedHtml.d.ts +4 -2
- package/dist/projects/lite/src/shared/constants/LiteViewModels.d.ts +6 -0
- package/dist/projects/lite/src/shared/{contexts/player/PlayerContext.d.ts → hooks/useInitPlayerContext.d.ts} +4 -10
- package/dist/projects/lite/src/shared/hooks/useNavLock.d.ts +1 -0
- package/dist/projects/lite/src/shared/views/share/main-view/MainShareView.d.ts +3 -3
- package/dist/projects/lite/src/shared/views/share/settings-view/ShareSettingsView.d.ts +4 -3
- package/dist/projects/lite/src/startup/RegisterAnalytics.d.ts +3 -0
- package/dist/projects/lite/src/startup/index.d.ts +1 -0
- package/dist/scripts/0-525bd75473.chunk.js +1 -0
- package/dist/scripts/0.chunk.js +478 -1
- package/dist/scripts/0.chunk.js.map +1 -0
- package/dist/scripts/1-f6fa17226d.chunk.js +17 -0
- package/dist/scripts/1.chunk.js +621 -17
- package/dist/scripts/1.chunk.js.map +1 -0
- package/dist/scripts/10-f3b34b2d35.chunk.js +1 -0
- package/dist/scripts/10.chunk.js +400 -7
- package/dist/scripts/10.chunk.js.map +1 -0
- package/dist/scripts/11-a698af3f1c.chunk.js +1 -0
- package/dist/scripts/11.chunk.js +1289 -7
- package/dist/scripts/11.chunk.js.map +1 -0
- package/dist/scripts/12-9ace90fcbc.chunk.js +1 -0
- package/dist/scripts/12.chunk.js +1059 -7
- package/dist/scripts/12.chunk.js.map +1 -0
- package/dist/scripts/13-3a4f103546.chunk.js +1 -0
- package/dist/scripts/13.chunk.js +751 -7
- package/dist/scripts/13.chunk.js.map +1 -0
- package/dist/scripts/14-11868e2868.chunk.js +1 -0
- package/dist/scripts/14.chunk.js +425 -7
- package/dist/scripts/14.chunk.js.map +1 -0
- package/dist/scripts/15-78ff5e8be2.chunk.js +1 -0
- package/dist/scripts/15.chunk.js +609 -7
- package/dist/scripts/15.chunk.js.map +1 -0
- package/dist/scripts/16-22f6224811.chunk.js +1 -0
- package/dist/scripts/16.chunk.js +648 -7
- package/dist/scripts/16.chunk.js.map +1 -0
- package/dist/scripts/17-afe6281dd5.chunk.js +1 -0
- package/dist/scripts/17.chunk.js +541 -7
- package/dist/scripts/17.chunk.js.map +1 -0
- package/dist/scripts/18-47be31c0b6.chunk.js +1 -0
- package/dist/scripts/18.chunk.js +766 -7
- package/dist/scripts/18.chunk.js.map +1 -0
- package/dist/scripts/19-89c0b2c20e.chunk.js +1 -0
- package/dist/scripts/19.chunk.js +647 -7
- package/dist/scripts/19.chunk.js.map +1 -0
- package/dist/scripts/2-3b37480a80.chunk.js +7 -0
- package/dist/scripts/2.chunk.js +8259 -1
- package/dist/scripts/2.chunk.js.map +1 -0
- package/dist/scripts/20-32ac3fe0b9.chunk.js +1 -0
- package/dist/scripts/20.chunk.js +122 -7
- package/dist/scripts/20.chunk.js.map +1 -0
- package/dist/scripts/21-891207049a.chunk.js +1 -0
- package/dist/scripts/21.chunk.js +1571 -1
- package/dist/scripts/21.chunk.js.map +1 -0
- package/dist/scripts/22-24236e6723.chunk.js +1 -0
- package/dist/scripts/22.chunk.js +1387 -1
- package/dist/scripts/22.chunk.js.map +1 -0
- package/dist/scripts/23-7b425169bc.chunk.js +1 -0
- package/dist/scripts/23.chunk.js +1121 -1
- package/dist/scripts/23.chunk.js.map +1 -0
- package/dist/scripts/24-40edd30087.chunk.js +1 -0
- package/dist/scripts/24.chunk.js +1348 -1
- package/dist/scripts/24.chunk.js.map +1 -0
- package/dist/scripts/25-887b9ef587.chunk.js +1 -0
- package/dist/scripts/25.chunk.js +1137 -1
- package/dist/scripts/25.chunk.js.map +1 -0
- package/dist/scripts/26-cbe0ff0f77.chunk.js +1 -0
- package/dist/scripts/26.chunk.js +906 -1
- package/dist/scripts/26.chunk.js.map +1 -0
- package/dist/scripts/27-f26afdae78.chunk.js +1 -0
- package/dist/scripts/27.chunk.js +1143 -1
- package/dist/scripts/27.chunk.js.map +1 -0
- package/dist/scripts/28-70414fd373.chunk.js +1 -0
- package/dist/scripts/28.chunk.js +656 -1
- package/dist/scripts/28.chunk.js.map +1 -0
- package/dist/scripts/29-944b5c01a7.chunk.js +1 -0
- package/dist/scripts/29.chunk.js +616 -1
- package/dist/scripts/29.chunk.js.map +1 -0
- package/dist/scripts/3-233f573a92.chunk.js +1 -0
- package/dist/scripts/3.chunk.js +585 -1
- package/dist/scripts/3.chunk.js.map +1 -0
- package/dist/scripts/30-3a229887e9.chunk.js +1 -0
- package/dist/scripts/30.chunk.js +557 -1
- package/dist/scripts/30.chunk.js.map +1 -0
- package/dist/scripts/31-ab038bfc0c.chunk.js +1 -0
- package/dist/scripts/31.chunk.js +731 -1
- package/dist/scripts/31.chunk.js.map +1 -0
- package/dist/scripts/32-8bd6703eef.chunk.js +1 -0
- package/dist/scripts/32.chunk.js +957 -1
- package/dist/scripts/32.chunk.js.map +1 -0
- package/dist/scripts/{35-8b4ce9fc27.chunk.js → 33-4579af9cf9.chunk.js} +1 -1
- package/dist/scripts/33.chunk.js +938 -1
- package/dist/scripts/33.chunk.js.map +1 -0
- package/dist/scripts/{36-cbd8837f89.chunk.js → 34-d8b96d9f9f.chunk.js} +1 -1
- package/dist/scripts/34.chunk.js +523 -1
- package/dist/scripts/34.chunk.js.map +1 -0
- package/dist/scripts/35-666d815525.chunk.js +1 -0
- package/dist/scripts/35.chunk.js +414 -1
- package/dist/scripts/35.chunk.js.map +1 -0
- package/dist/scripts/36-02ce5f3538.chunk.js +1 -0
- package/dist/scripts/36.chunk.js +404 -1
- package/dist/scripts/36.chunk.js.map +1 -0
- package/dist/scripts/37-afd3d321e3.chunk.js +1 -0
- package/dist/scripts/37.chunk.js +245 -1
- package/dist/scripts/37.chunk.js.map +1 -0
- package/dist/scripts/{39-e2aa1689e2.chunk.js → 38-6ad53aa15b.chunk.js} +1 -1
- package/dist/scripts/38.chunk.js +343 -1
- package/dist/scripts/38.chunk.js.map +1 -0
- package/dist/scripts/{40-53d132e3b4.chunk.js → 39-46c747b1d9.chunk.js} +1 -1
- package/dist/scripts/39.chunk.js +318 -1
- package/dist/scripts/39.chunk.js.map +1 -0
- package/dist/scripts/4-6942fee782.chunk.js +1 -0
- package/dist/scripts/4.chunk.js +1030 -1
- package/dist/scripts/4.chunk.js.map +1 -0
- package/dist/scripts/{41-023d613070.chunk.js → 40-c1b8806b1c.chunk.js} +1 -1
- package/dist/scripts/40.chunk.js +236 -1
- package/dist/scripts/40.chunk.js.map +1 -0
- package/dist/scripts/{42-ba3779218d.chunk.js → 41-f4c23477e3.chunk.js} +1 -1
- package/dist/scripts/41.chunk.js +231 -1
- package/dist/scripts/41.chunk.js.map +1 -0
- package/dist/scripts/42-7a5b92d70b.chunk.js +1 -0
- package/dist/scripts/42.chunk.js +350 -1
- package/dist/scripts/42.chunk.js.map +1 -0
- package/dist/scripts/43-97193a87df.chunk.js +1 -0
- package/dist/scripts/43.chunk.js +225 -1
- package/dist/scripts/43.chunk.js.map +1 -0
- package/dist/scripts/{46-6501968ace.chunk.js → 44-7f92272274.chunk.js} +1 -1
- package/dist/scripts/44.chunk.js +318 -1
- package/dist/scripts/44.chunk.js.map +1 -0
- package/dist/scripts/45-265f1a7a42.chunk.js +1 -0
- package/dist/scripts/45.chunk.js +64 -1
- package/dist/scripts/45.chunk.js.map +1 -0
- package/dist/scripts/46-a594ad7eba.chunk.js +1 -0
- package/dist/scripts/46.chunk.js +108 -1
- package/dist/scripts/46.chunk.js.map +1 -0
- package/dist/scripts/47-99777c20cf.chunk.js +1 -0
- package/dist/scripts/47.chunk.js +110 -1
- package/dist/scripts/47.chunk.js.map +1 -0
- package/dist/scripts/48-9880523c82.chunk.js +1 -0
- package/dist/scripts/48.chunk.js +148 -1
- package/dist/scripts/48.chunk.js.map +1 -0
- package/dist/scripts/{50-00ffd5d7c6.chunk.js → 49-5e718594e5.chunk.js} +1 -1
- package/dist/scripts/49.chunk.js +142 -1
- package/dist/scripts/49.chunk.js.map +1 -0
- package/dist/scripts/5-2f631dcd74.chunk.js +1 -0
- package/dist/scripts/5.chunk.js +3262 -1
- package/dist/scripts/5.chunk.js.map +1 -0
- package/dist/scripts/50-8cb0d9cd7d.chunk.js +1 -0
- package/dist/scripts/50.chunk.js +145 -1
- package/dist/scripts/50.chunk.js.map +1 -0
- package/dist/scripts/{52-e5dfa5a640.chunk.js → 51-211b643ca5.chunk.js} +1 -1
- package/dist/scripts/51.chunk.js +176 -1
- package/dist/scripts/51.chunk.js.map +1 -0
- package/dist/scripts/{53-79d5905fc6.chunk.js → 52-bfb2683b5d.chunk.js} +1 -1
- package/dist/scripts/52.chunk.js +160 -1
- package/dist/scripts/52.chunk.js.map +1 -0
- package/dist/scripts/{54-4950ec1d52.chunk.js → 53-3cf5cd5f69.chunk.js} +1 -1
- package/dist/scripts/53.chunk.js +98 -1
- package/dist/scripts/53.chunk.js.map +1 -0
- package/dist/scripts/{55-accb81090d.chunk.js → 54-26807e3e49.chunk.js} +1 -1
- package/dist/scripts/54.chunk.js +48 -1
- package/dist/scripts/54.chunk.js.map +1 -0
- package/dist/scripts/55-d38be4860b.chunk.js +1 -0
- package/dist/scripts/55.chunk.js +99 -1
- package/dist/scripts/55.chunk.js.map +1 -0
- package/dist/scripts/56-d4abc25ec3.chunk.js +1 -0
- package/dist/scripts/56.chunk.js +64 -1
- package/dist/scripts/56.chunk.js.map +1 -0
- package/dist/scripts/57.chunk.js +72 -0
- package/dist/scripts/57.chunk.js.map +1 -0
- package/dist/scripts/58.chunk.js +73 -0
- package/dist/scripts/58.chunk.js.map +1 -0
- package/dist/scripts/59.chunk.js +70 -0
- package/dist/scripts/59.chunk.js.map +1 -0
- package/dist/scripts/6-4d72a3c3fc.chunk.js +1 -0
- package/dist/scripts/6.chunk.js +24 -1
- package/dist/scripts/6.chunk.js.map +1 -0
- package/dist/scripts/60.chunk.js +32 -0
- package/dist/scripts/60.chunk.js.map +1 -0
- package/dist/scripts/61.chunk.js +29 -0
- package/dist/scripts/61.chunk.js.map +1 -0
- package/dist/scripts/62.chunk.js +27 -0
- package/dist/scripts/62.chunk.js.map +1 -0
- package/dist/scripts/63.chunk.js +67 -0
- package/dist/scripts/63.chunk.js.map +1 -0
- package/dist/scripts/64.chunk.js +80 -0
- package/dist/scripts/64.chunk.js.map +1 -0
- package/dist/scripts/65.chunk.js +65 -0
- package/dist/scripts/65.chunk.js.map +1 -0
- package/dist/scripts/66.chunk.js +67 -0
- package/dist/scripts/66.chunk.js.map +1 -0
- package/dist/scripts/67.chunk.js +104 -0
- package/dist/scripts/67.chunk.js.map +1 -0
- package/dist/scripts/68.chunk.js +69 -0
- package/dist/scripts/68.chunk.js.map +1 -0
- package/dist/scripts/69.chunk.js +89 -0
- package/dist/scripts/69.chunk.js.map +1 -0
- package/dist/scripts/7-90ad392b55.chunk.js +1 -0
- package/dist/scripts/7.chunk.js +327 -1
- package/dist/scripts/7.chunk.js.map +1 -0
- package/dist/scripts/70.chunk.js +36 -0
- package/dist/scripts/70.chunk.js.map +1 -0
- package/dist/scripts/8.chunk.js +470 -0
- package/dist/scripts/8.chunk.js.map +1 -0
- package/dist/scripts/9-52877087ef.chunk.js +1 -0
- package/dist/scripts/9.chunk.js +471 -7
- package/dist/scripts/9.chunk.js.map +1 -0
- package/dist/scripts/bundle-99976c17a2.min.js +1 -0
- package/dist/scripts/bundle-9f5ad50596.min.js +1 -0
- package/dist/scripts/bundle.js +34769 -1
- package/dist/scripts/bundle.js.map +1 -0
- package/dist/scripts/bundles.json +1 -1
- package/package.json +50 -49
- package/typings/libs/Trackers.d.ts +10 -0
- package/dist/css/33.chunk.css +0 -4
- package/dist/css/41.chunk.css +0 -4
- package/dist/css/46.chunk.css +0 -2
- package/dist/libs/shared/src/context/SearchAppContext.d.ts +0 -9
- package/dist/scripts/0-7ab5925809.chunk.js +0 -1
- package/dist/scripts/1-08c7a79a47.chunk.js +0 -1
- package/dist/scripts/10-20d3430ce2.chunk.js +0 -1
- package/dist/scripts/11-7a25650335.chunk.js +0 -1
- package/dist/scripts/12-6609af3add.chunk.js +0 -1
- package/dist/scripts/13-5adebd80b3.chunk.js +0 -1
- package/dist/scripts/14-dbd27fa3a5.chunk.js +0 -1
- package/dist/scripts/15-5a0e1ed526.chunk.js +0 -1
- package/dist/scripts/16-3adc733311.chunk.js +0 -1
- package/dist/scripts/17-a942a8ff32.chunk.js +0 -1
- package/dist/scripts/18-ab78fe1ad4.chunk.js +0 -1
- package/dist/scripts/19-04ba4906ea.chunk.js +0 -1
- package/dist/scripts/2-41fe2d7e77.chunk.js +0 -1
- package/dist/scripts/20-f0dcfc47a9.chunk.js +0 -1
- package/dist/scripts/21-33e50c0d6b.chunk.js +0 -1
- package/dist/scripts/22-d85dfba692.chunk.js +0 -1
- package/dist/scripts/23-90201310df.chunk.js +0 -1
- package/dist/scripts/24-bc8f0f5709.chunk.js +0 -1
- package/dist/scripts/25-317106a5da.chunk.js +0 -1
- package/dist/scripts/26-4a3372406a.chunk.js +0 -1
- package/dist/scripts/27-074f7ed617.chunk.js +0 -1
- package/dist/scripts/28-3f552efb1d.chunk.js +0 -1
- package/dist/scripts/29-3b0fed6546.chunk.js +0 -1
- package/dist/scripts/3-4c7cdc97d7.chunk.js +0 -7
- package/dist/scripts/30-efc1720b45.chunk.js +0 -1
- package/dist/scripts/31-fd10b2d2e3.chunk.js +0 -1
- package/dist/scripts/32-77df1d4c39.chunk.js +0 -1
- package/dist/scripts/33-7c092bbe19.chunk.js +0 -1
- package/dist/scripts/34-3c94a6fffe.chunk.js +0 -1
- package/dist/scripts/37-ecd001861c.chunk.js +0 -1
- package/dist/scripts/38-a42dc5fd6c.chunk.js +0 -1
- package/dist/scripts/4-9b843edce7.chunk.js +0 -1
- package/dist/scripts/43-9b84379d80.chunk.js +0 -1
- package/dist/scripts/44-1bedb97d4b.chunk.js +0 -1
- package/dist/scripts/45-b004111b2b.chunk.js +0 -1
- package/dist/scripts/47-cece788594.chunk.js +0 -1
- package/dist/scripts/48-722f37b837.chunk.js +0 -1
- package/dist/scripts/49-cb04b28057.chunk.js +0 -1
- package/dist/scripts/5-841e3d083b.chunk.js +0 -1
- package/dist/scripts/51-ed260ddadd.chunk.js +0 -1
- package/dist/scripts/56-83e51af2a6.chunk.js +0 -1
- package/dist/scripts/6-c429467dba.chunk.js +0 -1
- package/dist/scripts/7-3c52b41cbf.chunk.js +0 -1
- package/dist/scripts/9-fef5ef0698.chunk.js +0 -1
- package/dist/scripts/bundle-7782a79aa5.min.js +0 -1
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { CoreAnalyticsType } from "../models/AnalyticsEvent";
|
|
2
|
+
import { BaseAnalyticsEnricher, AnalyticsEnricherOptions } from './BaseAnalyticsEnricher';
|
|
3
|
+
export interface CoreContextEnricherOptions extends AnalyticsEnricherOptions {
|
|
4
|
+
productName: string;
|
|
5
|
+
productVersion: string;
|
|
6
|
+
}
|
|
7
|
+
export declare class CoreContextEnricher extends BaseAnalyticsEnricher {
|
|
8
|
+
private productName;
|
|
9
|
+
private productVersion;
|
|
10
|
+
constructor(options: CoreContextEnricherOptions);
|
|
11
|
+
get name(): string;
|
|
12
|
+
private shouldEnrich;
|
|
13
|
+
enrich(event: CoreAnalyticsType, next: any): void;
|
|
14
|
+
private getCoreContext;
|
|
15
|
+
/**
|
|
16
|
+
* Get current timestamp in UTC
|
|
17
|
+
*/
|
|
18
|
+
private getTimestamp;
|
|
19
|
+
private getProductInfo;
|
|
20
|
+
private getRequestInfo;
|
|
21
|
+
private getClientInfo;
|
|
22
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CoreAnalyticsType } from "../models/AnalyticsEvent";
|
|
2
|
+
import { BaseAnalyticsEnricher } from './BaseAnalyticsEnricher';
|
|
3
|
+
export declare class UserDataEnricher extends BaseAnalyticsEnricher {
|
|
4
|
+
private user;
|
|
5
|
+
get name(): string;
|
|
6
|
+
initialize(): void;
|
|
7
|
+
private shouldEnrich;
|
|
8
|
+
enrich(event: CoreAnalyticsType, next: Function): void;
|
|
9
|
+
private getUser;
|
|
10
|
+
}
|
|
@@ -55,6 +55,9 @@ export declare enum UserAction {
|
|
|
55
55
|
Suggest = "cv_product_suggest",
|
|
56
56
|
EditAssoc = "cv_product_edit_assoc",
|
|
57
57
|
Play = "cv_product_play",
|
|
58
|
+
Favourite = "cv_product_favourite",
|
|
59
|
+
Follow = "cv_product_follow",
|
|
60
|
+
Prefer = "cv_product_prefer",
|
|
58
61
|
SetAccess = "cv_product_set_access",
|
|
59
62
|
AddToLocalCache = "cv_product_add_to_lc",
|
|
60
63
|
/**
|
|
@@ -88,7 +91,20 @@ export declare enum EntityType {
|
|
|
88
91
|
Link = "link",
|
|
89
92
|
Playlist = "playlist",
|
|
90
93
|
Person = "person",
|
|
91
|
-
Company = "company"
|
|
94
|
+
Company = "company",
|
|
95
|
+
Classroom = "classroom",
|
|
96
|
+
ClassroomGroup = "classroom_group",
|
|
97
|
+
Classification = "classification",
|
|
98
|
+
ShareLink = "share_link",
|
|
99
|
+
Upload = "upload",
|
|
100
|
+
SearchResults = "search_results",
|
|
101
|
+
Audience = "audience",
|
|
102
|
+
/**
|
|
103
|
+
* `user` cannot be the value here because when we log these events to Snowflake, the event object
|
|
104
|
+
* puts the current user's data under the `user` key. If we were to log events with `user` as the entity
|
|
105
|
+
* name, this data would be overwritten and lost.
|
|
106
|
+
*/
|
|
107
|
+
User = "target_user"
|
|
92
108
|
}
|
|
93
109
|
export declare enum LocationContext {
|
|
94
110
|
TopNav = "top_nav",
|
|
@@ -98,6 +114,7 @@ export declare enum LocationContext {
|
|
|
98
114
|
VideoList = "video_list",
|
|
99
115
|
VideoListItem = "video_list_item",
|
|
100
116
|
VideoListHeader = "video_header",
|
|
117
|
+
VideoThumbnail = "video_thumbnail",
|
|
101
118
|
VideoItemPreview = "video_item_preview",
|
|
102
119
|
VideoDetails = "video_details",
|
|
103
120
|
VideoDetailsHeader = "video_details_header",
|
|
@@ -119,7 +136,24 @@ export declare enum LocationContext {
|
|
|
119
136
|
PastReleasesHeader = "past_releases_header",
|
|
120
137
|
MigrationWarnings = "migration_warnings",
|
|
121
138
|
PlaylistListHeader = "playlist_list_header",
|
|
122
|
-
PlaylistListItem = "playlist_list_item"
|
|
139
|
+
PlaylistListItem = "playlist_list_item",
|
|
140
|
+
TeacherManager = "teacher_manager",
|
|
141
|
+
TeacherManagerListItem = "teacher_manager_list_item",
|
|
142
|
+
StudentManager = "student_manager",
|
|
143
|
+
StudentManagerListItem = "student_manager_list_item",
|
|
144
|
+
ClassroomsList = "classrooms_list",
|
|
145
|
+
ClassroomsListItem = "classrooms_list_item",
|
|
146
|
+
ClassroomOverview = "classroom_overview",
|
|
147
|
+
ClassroomOverviewStudentListItem = "classroom_overview_student_list_item",
|
|
148
|
+
ManageClassroomStudents = "manage_classroom_students",
|
|
149
|
+
ManageClassroomStudentListItem = "manage_classroom_student_list_item",
|
|
150
|
+
ManageClassroomGroups = "manage_classroom_groups",
|
|
151
|
+
ManageClassroomGroupListItem = "manage_classroom_group_list_item",
|
|
152
|
+
PlayPage = "play_page",
|
|
153
|
+
FloatingPlayer = "floating_player",
|
|
154
|
+
ContentUpdatesClassificationBanner = "content_updates_classification_banner",
|
|
155
|
+
PreferencesSettings = "preferences_settings",
|
|
156
|
+
MyUploads = "my_uploads"
|
|
123
157
|
}
|
|
124
158
|
export declare enum WorkflowPhase {
|
|
125
159
|
Start = "start",
|
|
@@ -171,7 +205,12 @@ export declare enum ClickDescriptor {
|
|
|
171
205
|
NavigateHome = "navigate_home",
|
|
172
206
|
OpenInStaffView = "open_in_staff_view",
|
|
173
207
|
Thumbnail = "thumbnail",
|
|
174
|
-
Title = "title"
|
|
208
|
+
Title = "title",
|
|
209
|
+
ToggleHideValidListings = "toggle_hide_valid_listings",
|
|
210
|
+
LaunchImmersiveReader = "launch_immersive_reader",
|
|
211
|
+
CopyEmbedHtml = "copy_embed_html",
|
|
212
|
+
Close = "close",
|
|
213
|
+
Open = "open"
|
|
175
214
|
}
|
|
176
215
|
export declare enum CustomerSettingDescriptor {
|
|
177
216
|
LibraryReview = "library_review"
|
|
@@ -184,12 +223,17 @@ export declare enum SuggestionDescriptor {
|
|
|
184
223
|
Edit = "edit"
|
|
185
224
|
}
|
|
186
225
|
export declare enum AssocDescriptor {
|
|
187
|
-
Image = "image"
|
|
226
|
+
Image = "image",
|
|
227
|
+
User = "user"
|
|
228
|
+
}
|
|
229
|
+
export declare enum ToggleDescriptor {
|
|
230
|
+
On = "on",
|
|
231
|
+
Off = "off"
|
|
188
232
|
}
|
|
189
233
|
/**
|
|
190
234
|
* Action descriptors give further context to UserActions
|
|
191
235
|
*/
|
|
192
|
-
export declare type ActionDescriptor = OperationDescriptor | SortDescriptor | FilterDescriptor | DirectSearchDescriptor | PageDescriptor | PlaybackDescriptor | CustomerSettingDescriptor | SuggestionDescriptor | InteractionTypeDescriptor | AssocDescriptor | ClickDescriptor;
|
|
236
|
+
export declare type ActionDescriptor = OperationDescriptor | SortDescriptor | FilterDescriptor | DirectSearchDescriptor | PageDescriptor | PlaybackDescriptor | CustomerSettingDescriptor | SuggestionDescriptor | InteractionTypeDescriptor | AssocDescriptor | ClickDescriptor | ToggleDescriptor;
|
|
193
237
|
/**
|
|
194
238
|
* Placeholder values to be used in circumstances where we need
|
|
195
239
|
* to simply signify that a change has occurred. Particularly if it is
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { HashObject } from "../interfaces/HashObject";
|
|
2
|
+
import { VersionData } from "../interfaces/VersionData";
|
|
3
|
+
import { UserAction, EventVersion, ActionContext } from "../interfaces/AnalyticsTypes";
|
|
4
|
+
import { Region } from "../interfaces/Region";
|
|
5
|
+
import { CountryCode } from "../enums/CountryCode";
|
|
6
|
+
export interface IncomingEvent {
|
|
7
|
+
type: CollectionEventType;
|
|
8
|
+
data: HashObject;
|
|
9
|
+
actionContext: ActionContext;
|
|
10
|
+
eventVersion: EventVersion;
|
|
11
|
+
}
|
|
12
|
+
export interface RequestData {
|
|
13
|
+
url: string;
|
|
14
|
+
referrer: string;
|
|
15
|
+
}
|
|
16
|
+
export interface PlatformData {
|
|
17
|
+
browser: VersionData;
|
|
18
|
+
os: VersionData;
|
|
19
|
+
request: RequestData;
|
|
20
|
+
screenResolution: string;
|
|
21
|
+
}
|
|
22
|
+
export interface CollectionEventUserData {
|
|
23
|
+
id: string;
|
|
24
|
+
role: string;
|
|
25
|
+
customer: {
|
|
26
|
+
id: string;
|
|
27
|
+
country: CountryCode;
|
|
28
|
+
region: Region;
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
export interface CollectionEventData {
|
|
32
|
+
[entity: string]: HashObject;
|
|
33
|
+
action: HashObject;
|
|
34
|
+
user: CollectionEventUserData;
|
|
35
|
+
platform: PlatformData;
|
|
36
|
+
product: VersionData;
|
|
37
|
+
}
|
|
38
|
+
export interface CollectionEventMetadata {
|
|
39
|
+
timestamp: string;
|
|
40
|
+
client: {
|
|
41
|
+
name: string;
|
|
42
|
+
version: string;
|
|
43
|
+
region: Region;
|
|
44
|
+
};
|
|
45
|
+
eventVersion: EventVersion;
|
|
46
|
+
}
|
|
47
|
+
export declare type CollectionEventType = UserAction;
|
|
48
|
+
/**
|
|
49
|
+
* Model to be sent to CollectionApi.
|
|
50
|
+
*/
|
|
51
|
+
export interface CollectionEvent {
|
|
52
|
+
type: CollectionEventType;
|
|
53
|
+
data: CollectionEventData;
|
|
54
|
+
metadata: CollectionEventMetadata;
|
|
55
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as Marionette from 'backbone.marionette';
|
|
2
|
+
import { CoreAnalyticsType } from "../models/AnalyticsEvent";
|
|
3
|
+
import { BaseAnalyticsClient } from "../clients/BaseAnalyticsClient";
|
|
4
|
+
import { CollectionApiClient } from "../clients/CollectionApiClient";
|
|
5
|
+
declare type AnalyticsClient = BaseAnalyticsClient | CollectionApiClient;
|
|
6
|
+
/**
|
|
7
|
+
* TransportLayer is responsible for communicating outgoing events from the
|
|
8
|
+
* AnalyticsService to registered AnalyticsClients.
|
|
9
|
+
*/
|
|
10
|
+
interface TransportLayer {
|
|
11
|
+
publish(event: CoreAnalyticsType): void;
|
|
12
|
+
subscribe<TClient extends AnalyticsClient>(client: TClient): void;
|
|
13
|
+
}
|
|
14
|
+
export declare abstract class BaseAnalyticsTransport extends Marionette.Object implements TransportLayer {
|
|
15
|
+
abstract publish(event: CoreAnalyticsType): void;
|
|
16
|
+
abstract subscribe(client: AnalyticsClient): void;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* EventTransport will utilise Backbone.Radio to emit events.
|
|
20
|
+
*/
|
|
21
|
+
export declare class EventTransport extends BaseAnalyticsTransport {
|
|
22
|
+
get name(): string;
|
|
23
|
+
get channelName(): string;
|
|
24
|
+
/**
|
|
25
|
+
* Publish an event to all AnalyticsClients
|
|
26
|
+
*
|
|
27
|
+
* @param event Outgoing event object
|
|
28
|
+
*/
|
|
29
|
+
publish(event: CoreAnalyticsType): void;
|
|
30
|
+
/**
|
|
31
|
+
* Subscribe the client to all outgoing events emitted from the AnalyticsService.
|
|
32
|
+
* All events will be recieved via the client's exposed eventHandler. Any specific
|
|
33
|
+
* event filtering or custom enrichment should occur within a client.
|
|
34
|
+
*
|
|
35
|
+
* @param client AnalyticsClient
|
|
36
|
+
*/
|
|
37
|
+
subscribe(client: AnalyticsClient): void;
|
|
38
|
+
}
|
|
39
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CoreAnalyticsType } from "../models/AnalyticsEvent";
|
|
2
|
+
import { HashObject } from "../interfaces";
|
|
3
|
+
declare type DataFormatter = (data: HashObject, event: CoreAnalyticsType) => HashObject;
|
|
4
|
+
export interface DataFormatterHash {
|
|
5
|
+
[eventType: string]: DataFormatter;
|
|
6
|
+
}
|
|
7
|
+
export declare const DataFormatHelper: {
|
|
8
|
+
/**
|
|
9
|
+
* Object will be logged to sink as is
|
|
10
|
+
*/
|
|
11
|
+
passthrough(data: HashObject<any>): HashObject<any>;
|
|
12
|
+
getEditData(data: HashObject<any>, event: CoreAnalyticsType): HashObject<any>;
|
|
13
|
+
};
|
|
14
|
+
export {};
|
|
@@ -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,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
|
|
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.
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { ApplicationData } from "./ApplicationData";
|
|
2
|
-
import { FlightState } from
|
|
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
|
}
|
|
@@ -23,7 +23,7 @@ export declare const ArrayHelper: {
|
|
|
23
23
|
* @param arr array of values
|
|
24
24
|
* @param value value to be added or removed.
|
|
25
25
|
*/
|
|
26
|
-
addOrRemove<T_13 = import("react").
|
|
26
|
+
addOrRemove<T_13 = import("react").ReactText>(arr: T_13[], value: T_13): T_13[];
|
|
27
27
|
addOrRemoveImmutable<T_14>(arr: T_14[], value: T_14): T_14[];
|
|
28
28
|
/**
|
|
29
29
|
* Returns a (stably) sorted copy of list, ranked in ascending order
|
|
@@ -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
|
|
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
|
-
|
|
23
|
-
|
|
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 };
|
package/dist/libs/shared/src/components/widgets/items/subject-widget-item/SubjectWidgetItem.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
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
|
-
|
|
10
|
-
|
|
9
|
+
declare function SubjectWidgetItem(props: SubjectWidgetItemProps): JSX.Element;
|
|
10
|
+
declare const Memoized: React.MemoExoticComponent<typeof SubjectWidgetItem>;
|
|
11
|
+
export { Memoized as SubjectWidgetItem };
|
|
@@ -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
|
-
|
|
12
|
+
ClassificationWithFollowersAndMemberCount(currentUserId: string): string;
|
|
13
13
|
};
|
|
@@ -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:
|
|
6
|
+
countryCode: CountryCode;
|
|
6
7
|
webPlayerUrl: string;
|
|
7
8
|
notificationServiceUrl?: string;
|
|
8
9
|
collectionApiUrls?: RegionalUrl;
|
|
10
|
+
collectionApiClientId?: string;
|
|
9
11
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseObject } from "./..";
|
|
1
|
+
import { BaseObject, Group } from "./..";
|
|
2
2
|
import { UserRole } from "../../enums/UserRole";
|
|
3
3
|
import { CustomerType } from "../../enums/CustomerType";
|
|
4
4
|
import { OnlineUserRole } from "../../enums/UserRole";
|
|
@@ -21,6 +21,7 @@ export interface CuratorUser extends User {
|
|
|
21
21
|
userId: string;
|
|
22
22
|
firstName: string;
|
|
23
23
|
countryCode: string;
|
|
24
|
+
groups: Group[];
|
|
24
25
|
}
|
|
25
26
|
/**
|
|
26
27
|
* Current User for Lite/Cloud
|