@clickview/lite 0.0.25-rc.0 → 0.0.26-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.json +3 -0
- package/dist/css/13.chunk.css +14 -4
- package/dist/css/14.chunk.css +5 -9
- package/dist/css/16.chunk.css +6 -6
- package/dist/css/17.chunk.css +7 -7
- package/dist/css/18.chunk.css +7 -3
- package/dist/css/19.chunk.css +6 -6
- package/dist/css/2.chunk.css +1 -1
- package/dist/css/20.chunk.css +6 -4
- package/dist/css/21.chunk.css +4 -2
- package/dist/css/22.chunk.css +6 -4
- package/dist/css/23.chunk.css +6 -4
- package/dist/css/24.chunk.css +5 -5
- package/dist/css/25.chunk.css +3 -3
- package/dist/css/26.chunk.css +1 -7
- package/dist/css/27.chunk.css +6 -2
- package/dist/css/28.chunk.css +6 -2
- package/dist/css/29.chunk.css +2 -2
- package/dist/css/3.chunk.css +3 -3
- package/dist/css/30.chunk.css +2 -2
- package/dist/css/32.chunk.css +2 -6
- package/dist/css/33.chunk.css +2 -2
- package/dist/css/34.chunk.css +7 -1
- package/dist/css/37.chunk.css +3 -3
- package/dist/css/38.chunk.css +4 -0
- package/dist/css/4.chunk.css +8 -0
- package/dist/css/40.chunk.css +6 -0
- package/dist/css/41.chunk.css +4 -0
- package/dist/css/45.chunk.css +4 -0
- package/dist/css/52.chunk.css +2 -0
- package/dist/css/53.chunk.css +3 -1
- package/dist/css/54.chunk.css +1 -1
- package/dist/css/7.chunk.css +4 -0
- package/dist/css/9.chunk.css +4 -0
- package/dist/css/lite-app.css +55 -3
- package/dist/en.json +1 -1
- package/dist/libs/analytics/src/clients/CollectionApiClient.d.ts +1 -3
- package/dist/libs/analytics/src/enrichers/BaseAnalyticsEnricher.d.ts +1 -1
- package/dist/libs/analytics/src/enrichers/UserDataEnricher.d.ts +1 -1
- package/dist/libs/analytics/src/interfaces/AnalyticsTypes.d.ts +8 -3
- package/dist/libs/analytics/src/utils/TypeHelper.d.ts +1 -1
- package/dist/libs/analytics/src/utils/VideoDataFormatHelper.d.ts +5 -5
- package/dist/libs/common/src/backbone/constants/CommonServices.d.ts +0 -1
- package/dist/libs/common/src/backbone/core/BaseAppRouter.d.ts +1 -1
- package/dist/libs/common/src/backbone/core/BaseApplication.d.ts +1 -1
- package/dist/libs/common/src/backbone/core/BaseBehavior.d.ts +1 -1
- package/dist/libs/common/src/backbone/core/BaseCollection.d.ts +1 -1
- package/dist/libs/common/src/backbone/core/BaseCollectionView.d.ts +1 -1
- package/dist/libs/common/src/backbone/core/BaseLayoutView.d.ts +1 -1
- package/dist/libs/common/src/backbone/core/BaseModel.d.ts +1 -1
- package/dist/libs/common/src/backbone/core/BaseNestedModel.d.ts +1 -1
- package/dist/libs/common/src/backbone/core/BaseService.d.ts +1 -1
- package/dist/libs/common/src/backbone/core/BaseView.d.ts +2 -2
- package/dist/libs/common/src/backbone/core/LayoutService.d.ts +1 -1
- package/dist/libs/common/src/backbone/core/ListenToRadio.d.ts +1 -1
- package/dist/libs/common/src/backbone/core/Shell.d.ts +1 -1
- package/dist/libs/common/src/backbone/interfaces/BaseCollectionIdentifier.d.ts +2 -1
- package/dist/libs/common/src/backbone/interfaces/DataProvider.d.ts +1 -1
- package/dist/libs/common/src/backbone/services/LanguageService.d.ts +1 -1
- package/dist/libs/common/src/backbone/services/data-providers/AjaxDataProvider.d.ts +1 -1
- package/dist/libs/common/src/backbone/services/data-providers/SignalRDataProvider.d.ts +2 -2
- package/dist/libs/common/src/backbone/utils/FunctionHelper.d.ts +3 -3
- package/dist/libs/common/src/react/components/BackboneViewWrapper.d.ts +2 -2
- package/dist/libs/common/src/react/flight/FlightMiddleware.d.ts +1 -1
- package/dist/libs/common/src/react/flight/interfaces/HttpRequest.d.ts +3 -0
- package/dist/libs/common/src/react/middleware/ApplicationMiddleware.d.ts +2 -1
- package/dist/libs/common/src/react/utils/ArrayHelper.d.ts +4 -3
- package/dist/libs/common/src/react/utils/FetchHelper.d.ts +1 -1
- package/dist/libs/shared/src/apps/notifications/views/popover/NotificationsPopoverView.d.ts +2 -2
- package/dist/libs/shared/src/apps/playlists/utils/getBackgroundColourClass.d.ts +2 -0
- package/dist/libs/shared/src/apps/search/utils/InstantSearchHelper.d.ts +5 -5
- package/dist/libs/shared/src/apps/search/utils/TypeaheadHelper.d.ts +24 -24
- package/dist/libs/shared/src/apps/search/views/search-bar/SearchBarView.d.ts +5 -5
- package/dist/libs/shared/src/apps/subjects/components/preferences/footer/PreferenceFooter.d.ts +1 -1
- package/dist/libs/shared/src/apps/upload/errors/file-type/FileTypeError.d.ts +1 -1
- package/dist/libs/shared/src/components/banner-header/BannerHeader.d.ts +1 -0
- package/dist/libs/shared/src/components/file-select-button/FileSelectButton.d.ts +15 -0
- package/dist/libs/shared/src/components/forms/form-buttons/FormButtons.d.ts +2 -1
- package/dist/libs/shared/src/components/forms/form-checkbox/FormCheckbox.d.ts +1 -1
- package/dist/libs/shared/src/components/forms/form-field/CharacterCounter.d.ts +3 -2
- package/dist/libs/shared/src/components/forms/form-field/FormField.d.ts +4 -3
- package/dist/libs/shared/src/components/forms/form-wrapper/FormWrapper.d.ts +2 -1
- package/dist/libs/shared/src/components/lazy-image/LazyImage.d.ts +1 -0
- package/dist/libs/shared/src/components/popup/Popup.d.ts +14 -0
- package/dist/libs/shared/src/components/search-bar/SearchBar.d.ts +24 -0
- package/dist/libs/shared/src/components/search-bar/SearchInput.d.ts +6 -2
- package/dist/libs/shared/src/components/thumbnails/base/BaseThumbnail.d.ts +4 -2
- package/dist/libs/shared/src/components/thumbnails/video/VideoThumbnail.d.ts +2 -2
- package/dist/libs/shared/src/components/widgets/fixed-widget/FixedWidget.d.ts +17 -8
- package/dist/libs/shared/src/components/widgets/fixed-widget/FixedWidgetUtils.d.ts +1 -1
- package/dist/libs/shared/src/components/widgets/fixed-widget/PartialFixedWidget.d.ts +1 -6
- package/dist/libs/shared/src/components/widgets/items/playlist-widget-item/PlaylistWidgetItem.d.ts +1 -2
- package/dist/libs/shared/src/components/widgets/items/resource-widget-item/ResourceWidgetItem.d.ts +13 -0
- package/dist/libs/shared/src/components/widgets/items/tall-subject-widget-item/TallSubjectWidgetItem.d.ts +1 -2
- package/dist/libs/shared/src/components/widgets/items/video-widget-item/VideoWidgetItem.d.ts +2 -2
- package/dist/libs/shared/src/components/widgets/sliding-list/SlidingListContainer.d.ts +1 -1
- package/dist/libs/shared/src/components/widgets/widget-button/WidgetButton.d.ts +1 -0
- package/dist/libs/shared/src/constants/BootstrapKeys.d.ts +1 -0
- package/dist/libs/shared/src/enums/MasterObjectTypes.d.ts +8 -0
- package/dist/libs/shared/src/enums/ObjectStatus.d.ts +5 -0
- package/dist/libs/shared/src/enums/PlayerMediaType.d.ts +4 -0
- package/dist/libs/shared/src/enums/UserGroup.d.ts +3 -2
- package/dist/libs/shared/src/enums/WidgetContents.d.ts +2 -1
- package/dist/libs/shared/src/flight-requests/ConfigRequests.d.ts +3 -1
- package/dist/libs/shared/src/flight-requests/PlayerRequests.d.ts +5 -0
- package/dist/libs/shared/src/flight-requests/PlaylistRequests.d.ts +1 -0
- package/dist/libs/shared/src/flight-requests/PreferenceRequests.d.ts +1 -1
- package/dist/libs/shared/src/flight-requests/ResourceRequests.d.ts +11 -0
- package/dist/libs/shared/src/flight-requests/ThemeRequests.d.ts +2 -0
- package/dist/libs/shared/src/flight-requests/UserRequests.d.ts +3 -1
- package/dist/libs/shared/src/hooks/useGetCollectionItems.d.ts +7 -0
- package/dist/libs/shared/src/images/svg/ImportedSvgs.d.ts +3 -1
- package/dist/libs/shared/src/images/svg/actions/index.d.ts +3 -1
- package/dist/libs/shared/src/interfaces/collections/SubtitleCollection.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/collections/index.d.ts +1 -0
- package/dist/libs/shared/src/interfaces/models/Config.d.ts +2 -0
- package/dist/libs/shared/src/interfaces/models/FileUpload.d.ts +20 -0
- package/dist/libs/shared/src/interfaces/models/Glance.d.ts +2 -0
- package/dist/libs/shared/src/interfaces/models/Language.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/models/Link.d.ts +1 -0
- package/dist/libs/shared/src/interfaces/models/Pdf.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/models/PlayerViewKey.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/models/Resource.d.ts +11 -3
- package/dist/libs/shared/src/interfaces/models/Subtitle.d.ts +7 -0
- package/dist/libs/shared/src/interfaces/models/Thumbnail.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/models/User.d.ts +8 -1
- package/dist/libs/shared/src/interfaces/models/index.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/requests/CreateViewKeyRequest.d.ts +5 -0
- package/dist/libs/shared/src/interfaces/requests/UpdateObjectChannel.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/requests/UpdateObjectRating.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/requests/UpdateResourceRequest.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/requests/UpdateVideoRequest.d.ts +5 -1
- package/dist/libs/shared/src/interfaces/requests/index.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/services/BaseConfigDataService.d.ts +5 -0
- package/dist/libs/shared/src/interfaces/services/BaseUserDataService.d.ts +2 -0
- package/dist/libs/shared/src/interfaces/services/index.d.ts +1 -0
- package/dist/libs/shared/src/legacy/components/thumbnail/ThumbnailComponent.d.ts +1 -1
- package/dist/libs/shared/src/utils/ImageHelper.d.ts +5 -4
- package/dist/libs/shared/src/utils/SvgHelper.d.ts +0 -1
- package/dist/libs/shared/src/utils/UserHelper.d.ts +3 -0
- package/dist/libs/shared/src/utils/VideoDetailsHelper.d.ts +18 -0
- package/dist/projects/lite/src/app.d.ts +37 -16
- package/dist/projects/lite/src/apps/classrooms/components/classroom-activities-list/ClassroomActivitiesList.d.ts +1 -4
- package/dist/projects/lite/src/apps/classrooms/components/classroom-activities-list/empty-state/ClassroomActivitiesListEmptyState.d.ts +1 -4
- package/dist/projects/lite/src/apps/classrooms/components/classroom-students-list/ClassroomStudentItem.d.ts +3 -2
- package/dist/projects/lite/src/apps/classrooms/components/classroom-students-list/ClassroomStudentsList.d.ts +3 -2
- package/dist/projects/lite/src/apps/classrooms/components/classroom-students-list/empty-state/ClassroomStudentsListEmptyState.d.ts +1 -4
- package/dist/projects/lite/src/apps/classrooms/components/manage-classroom-student-item/ManageClassroomStudentItem.d.ts +3 -2
- package/dist/projects/lite/src/apps/classrooms/flight-requests/ClassroomRequests.d.ts +5 -3
- package/dist/projects/lite/src/apps/classrooms/views/create-classroom/CreateClassroomView.d.ts +1 -1
- package/dist/projects/lite/src/apps/classrooms/views/edit-classroom/EditClassroomView.d.ts +2 -2
- package/dist/projects/lite/src/apps/content-updates/LiteContentUpdatesApplication.d.ts +1 -1
- package/dist/projects/lite/src/apps/content-updates/components/classification-update-breadcrumbs/ClassificationUpdateBreadcrumbs.d.ts +2 -2
- package/dist/projects/lite/src/apps/default/LiteDefaultApplication.d.ts +2 -0
- package/dist/projects/lite/src/apps/playlists/LitePlaylistsApplication.d.ts +1 -0
- package/dist/projects/lite/src/apps/playlists/constants/PlaylistBgColourClassNames.d.ts +1 -0
- package/dist/projects/lite/src/apps/playlists/views/copy-playlist/CopyPlaylistView.d.ts +7 -0
- package/dist/projects/lite/src/apps/search/components/filter-types/index.d.ts +1 -1
- package/dist/projects/lite/src/apps/search/components/filter-types/more-filters/MoreFilters.d.ts +1 -4
- package/dist/projects/lite/src/apps/search/components/filter-types/radio-filter/{year-level/YearLevelRadioFilter.d.ts → year-group/YearGroupRadioFilter.d.ts} +3 -3
- package/dist/projects/lite/src/apps/search/components/scoped-search-bar/ScopedSearchBar.d.ts +2 -0
- package/dist/projects/lite/src/apps/search/interfaces/SearchFilter.d.ts +1 -1
- package/dist/projects/lite/src/apps/search/utils/FilterHelper.d.ts +2 -2
- package/dist/projects/lite/src/apps/settings/components/SettingsGroup.d.ts +2 -2
- package/dist/projects/lite/src/apps/subjects/LiteSubjectApplication.d.ts +2 -3
- package/dist/projects/lite/src/apps/subjects/utils/OnboardingHelper.d.ts +1 -2
- package/dist/projects/lite/src/apps/user-manager/LiteUserManagerApplication.d.ts +13 -8
- package/dist/projects/lite/src/apps/user-manager/components/bulk-upload-file-select/BulkUploadFileSelect.d.ts +4 -6
- package/dist/projects/lite/src/apps/user-manager/components/delete-uploaded-user-popup/DeleteUploadedUserPopup.d.ts +8 -0
- package/dist/projects/lite/src/apps/user-manager/components/edit-uploaded-user-popup/EditUploadedUserPopup.d.ts +6 -5
- package/dist/projects/lite/src/apps/user-manager/components/edit-user-details/EditUserDetails.d.ts +15 -0
- package/dist/projects/lite/src/apps/user-manager/components/manage-users-list/ManageUsersList.d.ts +4 -6
- package/dist/projects/lite/src/apps/user-manager/components/manage-users-list/staff/ManageStaffItem.d.ts +9 -0
- package/dist/projects/lite/src/apps/user-manager/components/manage-users-list/students/ManageStudentItem.d.ts +2 -2
- package/dist/projects/lite/src/apps/user-manager/components/user-details-form/UserDetailsForm.d.ts +5 -5
- package/dist/projects/lite/src/apps/user-manager/components/user-review-table/UserReviewRow.d.ts +13 -0
- package/dist/projects/lite/src/apps/user-manager/components/user-review-table/UserReviewTable.d.ts +13 -0
- package/dist/projects/lite/src/apps/user-manager/components/year-group-select/YearGroupSelect.d.ts +8 -0
- package/dist/projects/lite/src/apps/user-manager/flight-requests/SchoolUserRequests.d.ts +12 -22
- package/dist/projects/lite/src/apps/user-manager/interfaces/BulkDeleteUsersRequest.d.ts +7 -0
- package/dist/projects/lite/src/apps/user-manager/interfaces/BulkUpdateUserStatusRequest.d.ts +8 -0
- package/dist/projects/lite/src/apps/user-manager/interfaces/EditUserRequest.d.ts +20 -6
- package/dist/projects/lite/src/apps/user-manager/interfaces/index.d.ts +1 -4
- package/dist/projects/lite/src/apps/user-manager/interfaces/mocks/MockClassroom.d.ts +2 -3
- package/dist/projects/lite/src/apps/user-manager/reducers/UserUploadReducer.d.ts +3 -4
- package/dist/projects/lite/src/apps/user-manager/validation/user-validation/UserValidationSchema.d.ts +23 -12
- package/dist/projects/lite/src/apps/user-manager/views/bulk-remove-users/BulkRemoveUsersView.d.ts +8 -0
- package/dist/projects/lite/src/apps/user-manager/views/create-user/CreateUserView.d.ts +8 -0
- package/dist/projects/lite/src/apps/user-manager/views/edit-user/EditUserView.d.ts +9 -0
- package/dist/projects/lite/src/apps/user-manager/views/{school-teacher-manager/SchoolTeacherManagerView.d.ts → school-staff-manager/SchoolStaffManagerView.d.ts} +2 -2
- package/dist/projects/lite/src/apps/user-manager/views/school-staff-manager/empty-state/SchoolStaffManagerEmptyState.d.ts +7 -0
- package/dist/projects/lite/src/apps/user-manager/views/school-student-manager/empty-state/SchoolStudentManagerEmptyState.d.ts +6 -1
- package/dist/projects/lite/src/apps/user-manager/views/toggle-user-status/ToggleUserStatusView.d.ts +7 -0
- package/dist/projects/lite/src/apps/user-manager/views/user-upload-review/UserUploadReviewView.d.ts +8 -0
- package/dist/projects/lite/src/shared/components/floating-player/FloatingPlayer.d.ts +7 -0
- package/dist/projects/lite/src/shared/components/play-page/PlayPage.d.ts +2 -0
- package/dist/projects/lite/src/shared/components/video-info-button/VideoInfoButton.d.ts +1 -1
- package/dist/projects/lite/src/shared/constants/LiteActions.d.ts +9 -8
- package/dist/projects/lite/src/shared/constants/LiteHostPlaceholderMappings.d.ts +6 -0
- package/dist/projects/lite/src/shared/constants/LiteViewModels.d.ts +2 -2
- package/dist/projects/lite/src/shared/constants/Services.d.ts +1 -0
- package/dist/projects/lite/src/shared/flight-requests/VideoRequests.d.ts +2 -3
- package/dist/projects/lite/src/shared/hooks/useHandleObjectError.d.ts +2 -2
- package/dist/projects/lite/src/shared/hooks/useInitPlayerContext.d.ts +21 -14
- package/dist/projects/lite/src/shared/interfaces/mocks/MockClassroomGroup.d.ts +2 -3
- package/dist/projects/lite/src/shared/services/FlightConfigDataService.d.ts +13 -0
- package/dist/projects/lite/src/shared/services/FlightUserDataService.d.ts +3 -0
- package/dist/projects/lite/src/shared/views/create-clip/CreateClipView.d.ts +6 -0
- package/dist/projects/lite/src/shared/views/preview-pdf/PreviewPdfView.d.ts +7 -0
- package/dist/projects/lite/src/startup/RegisterAnalytics.d.ts +1 -1
- package/dist/projects/lite/src/startup/RegisterAppOptions.d.ts +1 -1
- package/dist/projects/lite/src/startup/RegisterApplicationVariables.d.ts +1 -1
- package/dist/projects/lite/src/startup/RegisterApplications.d.ts +1 -1
- package/dist/projects/lite/src/startup/RegisterCaches.d.ts +1 -1
- package/dist/projects/lite/src/startup/RegisterDataProviders.d.ts +1 -1
- package/dist/projects/lite/src/startup/RegisterDataServices.d.ts +1 -1
- package/dist/projects/lite/src/startup/RegisterErrorHandlers.d.ts +1 -1
- package/dist/projects/lite/src/startup/RegisterHandlebarsHelpers.d.ts +1 -1
- package/dist/projects/lite/src/startup/RegisterLayouts.d.ts +1 -1
- package/dist/projects/lite/src/startup/RegisterServices.d.ts +1 -1
- package/dist/projects/lite/src/startup/RegisterStore.d.ts +1 -1
- package/dist/projects/lite/src/startup/RegisterViewDataExtensions.d.ts +1 -1
- package/dist/projects/lite/src/styles/index.d.ts +3 -0
- package/dist/projects/player/src/components/chapter-bar-items/chapter-bar-item.d.ts +79 -0
- package/dist/projects/player/src/components/chapter-bar-items/chapter-bar-items.d.ts +55 -0
- package/dist/projects/player/src/components/chapter-bar-items/chapter-bar-load-progress.d.ts +55 -0
- package/dist/projects/player/src/components/chapter-bar-items/chapter-bar-play-progress.d.ts +55 -0
- package/dist/projects/player/src/components/chapter-seek-bar/chapter-seek-bar.d.ts +1 -0
- package/dist/projects/player/src/components/chapters-button/chapter-menu-item.d.ts +60 -0
- package/dist/projects/player/src/components/chapters-button/chapters-button.d.ts +1 -0
- package/dist/projects/player/src/components/cog-button/cog-button.d.ts +38 -0
- package/dist/projects/player/src/components/collapserator/collapserator.d.ts +4 -0
- package/dist/projects/player/src/components/mouse-time-display/mouse-time-display.d.ts +3 -0
- package/dist/projects/player/src/components/playback-rate-button/playback-rate-button.d.ts +1 -0
- package/dist/projects/player/src/components/progress-control/progress-control.d.ts +1 -0
- package/dist/projects/player/src/components/quality-selector/quality-button.d.ts +1 -0
- package/dist/projects/player/src/components/quality-selector/quality-menu-item.d.ts +17 -0
- package/dist/projects/player/src/components/subs-caps-button/subs-caps-button.d.ts +1 -0
- package/dist/projects/player/src/components/thumbnail-display/thumbnail-display.d.ts +66 -0
- package/dist/projects/player/src/components/time-tooltip/time-tooltip.d.ts +15 -0
- package/dist/projects/player/src/components/time-wrapper/time-wrapper.d.ts +1 -0
- package/dist/projects/player/src/interfaces/CollapsibleComponent.d.ts +10 -0
- package/dist/projects/player/src/interfaces/models/ApiError.d.ts +4 -0
- package/dist/projects/player/src/interfaces/models/PlaybackObject.d.ts +32 -0
- package/dist/projects/player/src/players/base-player.d.ts +64 -0
- package/dist/projects/player/src/players/create-clip-player.d.ts +16 -0
- package/dist/projects/player/src/players/player.d.ts +15 -0
- package/dist/projects/player/src/plugins/clip-plugin/clip-plugin.d.ts +50 -0
- package/dist/projects/player/src/plugins/create-clip-plugin/components/clip-timepoint-selector/clip-timepoint-selector-handle.d.ts +54 -0
- package/dist/projects/player/src/plugins/create-clip-plugin/components/clip-timepoint-selector/clip-timepoint-selector.d.ts +89 -0
- package/dist/projects/player/src/plugins/create-clip-plugin/components/create-clip-seek-bar/create-clip-seek-bar.d.ts +14 -0
- package/dist/projects/player/src/plugins/create-clip-plugin/create-clip-plugin.d.ts +14 -0
- package/dist/projects/player/src/plugins/example-plugin/components/example-button/example-button.d.ts +1 -0
- package/dist/projects/player/src/plugins/example-plugin/components/example-react-button/example-react-button.d.ts +1 -0
- package/dist/projects/player/src/plugins/example-plugin/example-plugin.d.ts +2 -0
- package/dist/projects/player/src/plugins/fullscreen-on-rotate-plugin/fullscreen-on-rotate-plugin.d.ts +1 -0
- package/dist/projects/player/src/plugins/open-externally-plugin/components/open-externally-button.d.ts +1 -0
- package/dist/projects/player/src/plugins/open-externally-plugin/interfaces/ExternalLinkOptions.d.ts +3 -0
- package/dist/projects/player/src/plugins/open-externally-plugin/open-externally-plugin.d.ts +1 -0
- package/dist/projects/player/src/plugins/persist-volume-plugin/persist-volume-plugin.d.ts +1 -0
- package/dist/projects/player/src/plugins/progress-reporter-plugin/progress-reporter-plugin.d.ts +9 -0
- package/dist/projects/player/src/plugins/progressive-files-plugin/ProgressiveFilesPluginOptions.d.ts +4 -0
- package/dist/projects/player/src/plugins/progressive-files-plugin/ProgressiveRepresentation.d.ts +10 -0
- package/dist/projects/player/src/plugins/progressive-files-plugin/interfaces/Source.d.ts +6 -0
- package/dist/projects/player/src/plugins/progressive-files-plugin/progressive-files-plugin.d.ts +38 -0
- package/dist/projects/player/src/plugins/touch-controls-plugin/components/touch-controls/touch-controls.d.ts +59 -0
- package/dist/projects/player/src/plugins/touch-controls-plugin/touch-controls-plugin.d.ts +1 -0
- package/dist/projects/player/src/react/CreateClipPlayer.d.ts +3 -0
- package/dist/projects/player/src/react/EmbeddedPlayer.d.ts +7 -0
- package/dist/projects/player/src/react/Player.d.ts +8 -0
- package/dist/projects/player/src/react/react-component.d.ts +56 -0
- package/dist/projects/player/src/services/analytics-service.d.ts +15 -0
- package/dist/projects/player/src/utils/ajax-helper.d.ts +6 -0
- package/dist/projects/player/src/utils/fn.d.ts +14 -0
- package/dist/projects/player/src/utils/formatTime.d.ts +5 -0
- package/dist/projects/player/src/utils/hotkeys.d.ts +5 -0
- package/dist/projects/player/src/utils/scrollbar-helper.d.ts +6 -0
- package/dist/projects/player/src/utils/track-helper.d.ts +7 -0
- package/dist/scripts/0-171f181888.chunk.js +1 -0
- package/dist/scripts/1-7259e8a8bb.chunk.js +17 -0
- package/dist/scripts/10-66b105c2d8.chunk.js +1 -0
- package/dist/scripts/13-8c3673e075.chunk.js +1 -0
- package/dist/scripts/14-4bc696763a.chunk.js +1 -0
- package/dist/scripts/15-043e863dfb.chunk.js +1 -0
- package/dist/scripts/16-72a65d16e6.chunk.js +1 -0
- package/dist/scripts/17-067ea21652.chunk.js +1 -0
- package/dist/scripts/18-b4fa1e52f9.chunk.js +1 -0
- package/dist/scripts/19-e3599f7685.chunk.js +1 -0
- package/dist/scripts/2-370c1659a0.chunk.js +1 -0
- package/dist/scripts/20-0443e17d0b.chunk.js +1 -0
- package/dist/scripts/21-036b228cd8.chunk.js +1 -0
- package/dist/scripts/22-cfa11ae67b.chunk.js +1 -0
- package/dist/scripts/23-11a05b88f7.chunk.js +1 -0
- package/dist/scripts/24-c5c0ed3eb9.chunk.js +1 -0
- package/dist/scripts/25-83f2683f6f.chunk.js +1 -0
- package/dist/scripts/26-8e1ef2b8d3.chunk.js +1 -0
- package/dist/scripts/27-9cecba37e9.chunk.js +1 -0
- package/dist/scripts/28-4e578edcd5.chunk.js +1 -0
- package/dist/scripts/29-685b428459.chunk.js +1 -0
- package/dist/scripts/3-ef3041edd1.chunk.js +1 -0
- package/dist/scripts/30-e7d4add37c.chunk.js +1 -0
- package/dist/scripts/31-407fbd904c.chunk.js +53 -0
- package/dist/scripts/32-8434ce7c95.chunk.js +1 -0
- package/dist/scripts/33-134c778b95.chunk.js +1 -0
- package/dist/scripts/34-cb4f70d168.chunk.js +1 -0
- package/dist/scripts/35-4914b2c89e.chunk.js +1 -0
- package/dist/scripts/36-d2e13bd4e3.chunk.js +1 -0
- package/dist/scripts/37-def89fece7.chunk.js +1 -0
- package/dist/scripts/38-68ddb948f5.chunk.js +1 -0
- package/dist/scripts/39-d4f47b0420.chunk.js +1 -0
- package/dist/scripts/4-d626f7c9ff.chunk.js +1 -0
- package/dist/scripts/40-94399cfdc9.chunk.js +1 -0
- package/dist/scripts/41-5b0ed56d14.chunk.js +1 -0
- package/dist/scripts/42-c06b10dbbf.chunk.js +1 -0
- package/dist/scripts/{40-5330a64b5d.chunk.js → 43-4cc515550a.chunk.js} +1 -1
- package/dist/scripts/{41-c268bfb400.chunk.js → 44-073e6641ea.chunk.js} +1 -1
- package/dist/scripts/45-3a36fa2fd2.chunk.js +1 -0
- package/dist/scripts/46-811abfacf5.chunk.js +1 -0
- package/dist/scripts/47-cf7e05bfc3.chunk.js +1 -0
- package/dist/scripts/48-a49b5ae505.chunk.js +1 -0
- package/dist/scripts/49-02fe5d9da0.chunk.js +1 -0
- package/dist/scripts/5-3c15aff75b.chunk.js +1 -0
- package/dist/scripts/50-2334e58775.chunk.js +1 -0
- package/dist/scripts/51-47c28dfdba.chunk.js +1 -0
- package/dist/scripts/52-8e3cb40ad6.chunk.js +1 -0
- package/dist/scripts/53-46688b7d80.chunk.js +1 -0
- package/dist/scripts/54-c68af93be1.chunk.js +1 -0
- package/dist/scripts/55-6c7d49f405.chunk.js +1 -0
- package/dist/scripts/56-92a06b9806.chunk.js +1 -0
- package/dist/scripts/{55-cd780b71b1.chunk.js → 57-16ef135200.chunk.js} +1 -1
- package/dist/scripts/58-1478dbceb8.chunk.js +1 -0
- package/dist/scripts/{57-5c9b7a7950.chunk.js → 59-577a06a87a.chunk.js} +1 -1
- package/dist/scripts/6-68be86ae02.chunk.js +1 -0
- package/dist/scripts/{58-636a388c0c.chunk.js → 60-da28194427.chunk.js} +1 -1
- package/dist/scripts/{59-cc88e95d77.chunk.js → 61-80f7131d9a.chunk.js} +1 -1
- package/dist/scripts/62-3d42c03cc9.chunk.js +1 -0
- package/dist/scripts/63-66e69ffe5b.chunk.js +1 -0
- package/dist/scripts/64-9ef637a2b1.chunk.js +1 -0
- package/dist/scripts/65-cc2384a591.chunk.js +1 -0
- package/dist/scripts/{64-1f651e86b3.chunk.js → 66-68028b1816.chunk.js} +1 -1
- package/dist/scripts/{65-c3472b12c9.chunk.js → 67-dd69ffa06f.chunk.js} +1 -1
- package/dist/scripts/{66-c6406c845f.chunk.js → 68-03022ebbd0.chunk.js} +1 -1
- package/dist/scripts/69-e98764fee0.chunk.js +1 -0
- package/dist/scripts/7-760462a280.chunk.js +7 -0
- package/dist/scripts/70-aedca0b4ab.chunk.js +1 -0
- package/dist/scripts/{67-2e0d661c52.chunk.js → 71-2f6c3be43a.chunk.js} +1 -1
- package/dist/scripts/8-1fe98a7811.chunk.js +1 -0
- package/dist/scripts/9-a9c57eac6a.chunk.js +1 -0
- package/dist/scripts/bundle-29922f7591.min.js +31 -0
- package/dist/scripts/bundles.json +2 -2
- package/dist/scripts/pdf.worker.entry-167ab971d3.min.worker.js +1 -0
- package/dist/scripts/polyfills-428e62f641.min.js +1 -0
- package/package.json +8 -4
- package/typings/libs/Trackers.d.ts +1 -1
- package/typings/libs/videojs-contrib-quality-levels.d.ts +29 -0
- package/dist/css/11.chunk.css +0 -26
- package/dist/css/12.chunk.css +0 -10
- package/dist/css/31.chunk.css +0 -4
- package/dist/css/35.chunk.css +0 -6
- package/dist/css/47.chunk.css +0 -4
- package/dist/libs/common/src/backbone/services/ScrollService.d.ts +0 -19
- package/dist/libs/shared/src/components/svgs/ClickViewLogo.d.ts +0 -2
- package/dist/libs/shared/src/enums/ThumbnailSize.d.ts +0 -6
- package/dist/libs/shared/src/services/ConfigDataService.d.ts +0 -13
- package/dist/projects/lite/src/apps/user-manager/components/delete-uploaded-student-popup/DeleteUploadedStudentPopup.d.ts +0 -8
- package/dist/projects/lite/src/apps/user-manager/components/delete-uploaded-teacher-popup/DeleteUploadedTeacherPopup.d.ts +0 -8
- package/dist/projects/lite/src/apps/user-manager/components/edit-student-details/EditStudentDetails.d.ts +0 -12
- package/dist/projects/lite/src/apps/user-manager/components/edit-teacher-details/EditTeacherDetails.d.ts +0 -12
- package/dist/projects/lite/src/apps/user-manager/components/index.d.ts +0 -5
- package/dist/projects/lite/src/apps/user-manager/components/manage-users-list/teachers/ManageTeacherItem.d.ts +0 -9
- package/dist/projects/lite/src/apps/user-manager/components/student-review-table/StudentReviewRow.d.ts +0 -11
- package/dist/projects/lite/src/apps/user-manager/components/student-review-table/StudentReviewTable.d.ts +0 -9
- package/dist/projects/lite/src/apps/user-manager/components/teacher-review-table/TeacherReviewRow.d.ts +0 -11
- package/dist/projects/lite/src/apps/user-manager/components/teacher-review-table/TeacherReviewTable.d.ts +0 -9
- package/dist/projects/lite/src/apps/user-manager/components/year-level-select/YearLevelSelect.d.ts +0 -9
- package/dist/projects/lite/src/apps/user-manager/enums/index.d.ts +0 -1
- package/dist/projects/lite/src/apps/user-manager/enums/mocks/MockUserType.d.ts +0 -4
- package/dist/projects/lite/src/apps/user-manager/flight-requests/YearLevelRequests.d.ts +0 -4
- package/dist/projects/lite/src/apps/user-manager/interfaces/mocks/MockStudent.d.ts +0 -10
- package/dist/projects/lite/src/apps/user-manager/interfaces/mocks/MockTeacher.d.ts +0 -8
- package/dist/projects/lite/src/apps/user-manager/interfaces/mocks/MockUserRole.d.ts +0 -3
- package/dist/projects/lite/src/apps/user-manager/interfaces/mocks/MockYearLevel.d.ts +0 -3
- package/dist/projects/lite/src/apps/user-manager/views/create-student/CreateStudentView.d.ts +0 -5
- package/dist/projects/lite/src/apps/user-manager/views/create-teacher/CreateTeacherView.d.ts +0 -5
- package/dist/projects/lite/src/apps/user-manager/views/edit-student/EditStudentView.d.ts +0 -7
- package/dist/projects/lite/src/apps/user-manager/views/edit-teacher/EditTeacherView.d.ts +0 -7
- package/dist/projects/lite/src/apps/user-manager/views/remove-user/RemoveUserView.d.ts +0 -8
- package/dist/projects/lite/src/apps/user-manager/views/school-teacher-manager/empty-state/SchoolTeacherManagerEmptyState.d.ts +0 -2
- package/dist/projects/lite/src/apps/user-manager/views/student-upload-review/StudentUploadReviewView.d.ts +0 -5
- package/dist/projects/lite/src/apps/user-manager/views/teacher-upload-review/TeacherUploadReviewView.d.ts +0 -5
- package/dist/projects/lite/src/shared/components/web-player/WebPlayer.d.ts +0 -9
- package/dist/scripts/0-6bc17823fd.chunk.js +0 -1
- package/dist/scripts/1-b20a2dd250.chunk.js +0 -17
- package/dist/scripts/11-f67b6c11a7.chunk.js +0 -1
- package/dist/scripts/12-c3f4ba1831.chunk.js +0 -1
- package/dist/scripts/13-d44a1e6204.chunk.js +0 -1
- package/dist/scripts/14-bbf4ab8ab9.chunk.js +0 -1
- package/dist/scripts/15-bdef10f60a.chunk.js +0 -1
- package/dist/scripts/16-691b35dc8c.chunk.js +0 -1
- package/dist/scripts/17-4e3899d62b.chunk.js +0 -1
- package/dist/scripts/18-6afc6b44f3.chunk.js +0 -1
- package/dist/scripts/19-7f2d561cf2.chunk.js +0 -1
- package/dist/scripts/2-a578d78153.chunk.js +0 -1
- package/dist/scripts/20-fe4b732b3b.chunk.js +0 -1
- package/dist/scripts/21-850a6abb96.chunk.js +0 -1
- package/dist/scripts/22-be37ecc01d.chunk.js +0 -1
- package/dist/scripts/23-9ace914ea0.chunk.js +0 -1
- package/dist/scripts/24-007409325f.chunk.js +0 -1
- package/dist/scripts/25-9d70dbe4ec.chunk.js +0 -1
- package/dist/scripts/26-e280e72009.chunk.js +0 -1
- package/dist/scripts/27-c8f5fd76cb.chunk.js +0 -1
- package/dist/scripts/28-015dd3e4d4.chunk.js +0 -1
- package/dist/scripts/29-91d67f4584.chunk.js +0 -1
- package/dist/scripts/3-aa01c4304a.chunk.js +0 -7
- package/dist/scripts/30-f16ad621da.chunk.js +0 -1
- package/dist/scripts/31-3f405d0372.chunk.js +0 -1
- package/dist/scripts/32-7a75602cc0.chunk.js +0 -1
- package/dist/scripts/33-8d70bde32b.chunk.js +0 -1
- package/dist/scripts/34-3f095c24f3.chunk.js +0 -1
- package/dist/scripts/35-58407394d5.chunk.js +0 -1
- package/dist/scripts/36-552740daf0.chunk.js +0 -1
- package/dist/scripts/37-d79eda4acb.chunk.js +0 -1
- package/dist/scripts/38-a6c89ffb8f.chunk.js +0 -1
- package/dist/scripts/39-4a615de1ce.chunk.js +0 -1
- package/dist/scripts/4-d296a64d17.chunk.js +0 -1
- package/dist/scripts/42-0e2ebfa151.chunk.js +0 -1
- package/dist/scripts/43-e1d3a1f0e5.chunk.js +0 -1
- package/dist/scripts/44-8a44b614a8.chunk.js +0 -1
- package/dist/scripts/45-9418f81185.chunk.js +0 -1
- package/dist/scripts/46-4ab8038e30.chunk.js +0 -1
- package/dist/scripts/47-b6a95ef8b0.chunk.js +0 -1
- package/dist/scripts/48-e4150407ee.chunk.js +0 -1
- package/dist/scripts/49-8fd6a45338.chunk.js +0 -1
- package/dist/scripts/5-3842bd1f2d.chunk.js +0 -1
- package/dist/scripts/50-ab1c16848b.chunk.js +0 -1
- package/dist/scripts/51-7ce29a119d.chunk.js +0 -1
- package/dist/scripts/52-12e0feca43.chunk.js +0 -1
- package/dist/scripts/53-a5250a2064.chunk.js +0 -1
- package/dist/scripts/54-ff24fa0c07.chunk.js +0 -1
- package/dist/scripts/56-687e915081.chunk.js +0 -1
- package/dist/scripts/6-7bee1cd6c9.chunk.js +0 -1
- package/dist/scripts/60-1672f666ce.chunk.js +0 -1
- package/dist/scripts/61-b2bdee9283.chunk.js +0 -1
- package/dist/scripts/62-d7cbe9da67.chunk.js +0 -1
- package/dist/scripts/63-2126404b54.chunk.js +0 -1
- package/dist/scripts/7-e39bfefa23.chunk.js +0 -1
- package/dist/scripts/8-244738cbaf.chunk.js +0 -1
- package/dist/scripts/bundle-09bb583faa.min.js +0 -15
- package/dist/scripts/polyfills-46d3c7a509.min.js +0 -1
- /package/dist/css/{36.chunk.css → 39.chunk.css} +0 -0
- /package/dist/css/{51.chunk.css → 56.chunk.css} +0 -0
- /package/dist/css/{55.chunk.css → 57.chunk.css} +0 -0
package/dist/projects/lite/src/apps/user-manager/components/user-review-table/UserReviewRow.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { HashObject } from "../../../../../../../libs/common/src/react/interfaces/HashObject";
|
|
3
|
+
import { UserGroup } from "../../../../../../../libs/shared/src/enums/UserGroup";
|
|
4
|
+
import { EditUserRequest } from 'apps/user-manager/interfaces';
|
|
5
|
+
interface UserReviewRowProps {
|
|
6
|
+
user: EditUserRequest;
|
|
7
|
+
userType: UserGroup;
|
|
8
|
+
errors: HashObject;
|
|
9
|
+
onClickEdit: (user: EditUserRequest) => void;
|
|
10
|
+
onClickDelete: (user: EditUserRequest) => void;
|
|
11
|
+
}
|
|
12
|
+
export declare function UserReviewRow(props: UserReviewRowProps): JSX.Element;
|
|
13
|
+
export {};
|
package/dist/projects/lite/src/apps/user-manager/components/user-review-table/UserReviewTable.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { UserGroup } from "../../../../../../../libs/shared/src/enums/UserGroup";
|
|
3
|
+
import { EditUserRequest } from 'apps/user-manager/interfaces';
|
|
4
|
+
interface UserReviewTableProps {
|
|
5
|
+
users: EditUserRequest[];
|
|
6
|
+
userType: UserGroup;
|
|
7
|
+
showInvalidEmptyState: boolean;
|
|
8
|
+
onClickSeeFullList: () => void;
|
|
9
|
+
onClickEdit: (user: EditUserRequest) => void;
|
|
10
|
+
onClickDelete: (user: EditUserRequest) => void;
|
|
11
|
+
}
|
|
12
|
+
export declare function UserReviewTable(props: UserReviewTableProps): JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -1,26 +1,16 @@
|
|
|
1
1
|
import { Flight } from "../../../../../../libs/common/src/react";
|
|
2
2
|
import { HashObject } from "../../../../../../libs/common/src/react/interfaces/HashObject";
|
|
3
|
-
import {
|
|
3
|
+
import { UserGroup } from "../../../../../../libs/shared/src/enums/UserGroup";
|
|
4
|
+
import { EditUserRequest, BulkDeleteUsersRequest } from 'apps/user-manager/interfaces';
|
|
5
|
+
import { BulkUpdateUserStatusRequest } from 'apps/user-manager/interfaces/BulkUpdateUserStatusRequest';
|
|
4
6
|
export declare const SchoolUserRequests: {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
updateStudent(user: EditUserRequest, success?: () => void, error?: () => void): Flight.SimulatedRequest;
|
|
15
|
-
/**
|
|
16
|
-
* School teacher management
|
|
17
|
-
*/
|
|
18
|
-
getSchoolTeachers(queryObject?: HashObject<any>): Flight.SimulatedRequest;
|
|
19
|
-
removeTeachersFromSchool(ids: string[], onDone: () => void): Flight.SimulatedRequest;
|
|
20
|
-
getTeacher(id: string): Flight.SimulatedRequest;
|
|
21
|
-
createTeacher(user: EditUserRequest, success?: (user: MockTeacher) => void, error?: () => void): Flight.SimulatedRequest;
|
|
22
|
-
bulkCreateTeachers(users: EditUserRequest[], success?: () => void, error?: () => void, always?: () => void): Flight.SimulatedRequest;
|
|
23
|
-
updateTeacher(user: EditUserRequest, success?: () => void, error?: () => void): Flight.SimulatedRequest;
|
|
24
|
-
getUserRoles(): Flight.SimulatedRequest;
|
|
25
|
-
getStudentsGroups(id: string): Flight.SimulatedRequest;
|
|
7
|
+
getUsers(customerId: string, userType: UserGroup, queryParams?: HashObject<any>): Flight.Request;
|
|
8
|
+
getUser(id: string): Flight.Request;
|
|
9
|
+
bulkRemoveUsers(data: BulkDeleteUsersRequest, success?: () => void, error?: () => void, always?: () => void): Flight.Request;
|
|
10
|
+
createUsers(users: {
|
|
11
|
+
users: EditUserRequest[];
|
|
12
|
+
}, success?: (newUsers: EditUserRequest[]) => void, error?: () => void, always?: () => void): Flight.Request;
|
|
13
|
+
updateUser(user: EditUserRequest, success?: () => void, error?: () => void, always?: () => void): Flight.Request;
|
|
14
|
+
searchUsers(queryParams: HashObject<any>): Flight.Request;
|
|
15
|
+
bulkToggleActivation(data: BulkUpdateUserStatusRequest, success?: () => void, error?: () => void, always?: () => void): Flight.Request;
|
|
26
16
|
};
|
|
@@ -1,10 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { UserGroup } from "../../../../../../libs/shared/src/enums/UserGroup";
|
|
2
|
+
import { YearGroup } from "../../../../../../libs/shared/src/interfaces";
|
|
3
|
+
import { OnlineUserRole } from "../../../../../../libs/shared/src/enums/UserRole";
|
|
3
4
|
export interface EditUserRequest {
|
|
4
|
-
|
|
5
|
-
name: string;
|
|
5
|
+
firstName: string;
|
|
6
6
|
surname: string;
|
|
7
7
|
email: string;
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
userType: UserGroup;
|
|
9
|
+
customerId: string;
|
|
10
|
+
username: string;
|
|
11
|
+
masterRole: number;
|
|
12
|
+
roleId: OnlineUserRole;
|
|
13
|
+
isPrimaryContact: boolean;
|
|
14
|
+
yearGroup?: YearGroup;
|
|
15
|
+
userId?: string;
|
|
16
|
+
password?: string;
|
|
17
|
+
requirePasswordChange?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* This isn't actually a part of the request, but we temporarily add a fake ID
|
|
20
|
+
* to make the bulk upload stuff easier. It's eventually removed once the bulk create
|
|
21
|
+
* request is posted to the backend.
|
|
22
|
+
*/
|
|
23
|
+
lookupId?: string;
|
|
10
24
|
}
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
export * from './mocks/MockUserRole';
|
|
2
|
-
export * from './mocks/MockYearLevel';
|
|
3
1
|
export * from './mocks/MockClassroom';
|
|
4
|
-
export * from './mocks/MockStudent';
|
|
5
|
-
export * from './mocks/MockTeacher';
|
|
6
2
|
export * from './EditUserRequest';
|
|
3
|
+
export * from './BulkDeleteUsersRequest';
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { BaseObject } from "../../../../../../../libs/shared/src/interfaces";
|
|
2
|
-
import { MockStudent } from './MockStudent';
|
|
1
|
+
import { BaseObject, User } from "../../../../../../../libs/shared/src/interfaces";
|
|
3
2
|
import { MockClassroomGroup } from 'shared/interfaces/mocks';
|
|
4
3
|
export interface MockClassroom extends BaseObject {
|
|
5
|
-
students?:
|
|
4
|
+
students?: User[];
|
|
6
5
|
groups?: MockClassroomGroup[];
|
|
7
6
|
activities?: BaseObject[];
|
|
8
7
|
isFavourited?: boolean;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ReducerActions } from "../../../../../../libs/common/src/react/interfaces";
|
|
3
|
-
import {
|
|
3
|
+
import { EditUserRequest } from '../interfaces';
|
|
4
4
|
declare type ActionTypes = 'init' | 'save' | 'delete';
|
|
5
|
-
declare type MockUser = MockStudent & MockTeacher;
|
|
6
5
|
interface InvalidUserHash {
|
|
7
6
|
[lookupId: string]: {
|
|
8
|
-
user:
|
|
7
|
+
user: EditUserRequest;
|
|
9
8
|
errors: {
|
|
10
9
|
name?: string;
|
|
11
10
|
surname?: string;
|
|
@@ -20,7 +19,7 @@ interface InvalidUserHash {
|
|
|
20
19
|
};
|
|
21
20
|
}
|
|
22
21
|
export interface UserUploadReducerState {
|
|
23
|
-
users:
|
|
22
|
+
users: EditUserRequest[];
|
|
24
23
|
invalidUsers: InvalidUserHash;
|
|
25
24
|
}
|
|
26
25
|
/**
|
|
@@ -1,19 +1,30 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const
|
|
3
|
-
|
|
1
|
+
import { YearGroup } from "../../../../../../../libs/shared/src/interfaces";
|
|
2
|
+
export declare const getEditUserValidationSchema: (yearGroups: YearGroup[]) => import("yup").ObjectSchema<import("yup").Shape<object, {
|
|
3
|
+
firstName: string;
|
|
4
4
|
surname: string;
|
|
5
5
|
email: string;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
yearGroup: string;
|
|
7
|
+
username: string;
|
|
8
|
+
customerId: number;
|
|
9
|
+
userType: number;
|
|
10
|
+
roleId: number;
|
|
11
|
+
masterRole: number;
|
|
12
|
+
userId: number;
|
|
13
|
+
isPrimaryContact: boolean;
|
|
10
14
|
}>>;
|
|
11
|
-
export declare const
|
|
12
|
-
|
|
15
|
+
export declare const getCreateUserValidationSchema: (yearGroups: YearGroup[]) => import("yup").ObjectSchema<import("yup").Shape<import("yup").Shape<object, {
|
|
16
|
+
firstName: string;
|
|
13
17
|
surname: string;
|
|
14
18
|
email: string;
|
|
19
|
+
yearGroup: string;
|
|
20
|
+
username: string;
|
|
21
|
+
customerId: number;
|
|
22
|
+
userType: number;
|
|
23
|
+
roleId: number;
|
|
24
|
+
masterRole: number;
|
|
25
|
+
userId: number;
|
|
26
|
+
isPrimaryContact: boolean;
|
|
15
27
|
}>, {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}>;
|
|
28
|
+
password: string;
|
|
29
|
+
requirePasswordChange: boolean;
|
|
19
30
|
}>>;
|
package/dist/projects/lite/src/apps/user-manager/views/bulk-remove-users/BulkRemoveUsersView.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { PropsWithPopupViewProps } from "../../../../../../../libs/shared/src/interfaces";
|
|
3
|
+
import { UserGroup } from "../../../../../../../libs/shared/src/enums/UserGroup";
|
|
4
|
+
declare type BulkRemoveUsersViewProps = PropsWithPopupViewProps<{
|
|
5
|
+
userType: UserGroup;
|
|
6
|
+
}>;
|
|
7
|
+
export declare function BulkRemoveUsersView(props: BulkRemoveUsersViewProps): JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { PropsWithAnalyticsOptions, PropsWithPopupViewProps } from "../../../../../../../libs/shared/src/interfaces";
|
|
3
|
+
import { UserGroup } from "../../../../../../../libs/shared/src/enums/UserGroup";
|
|
4
|
+
declare type CreateUserViewProps = PropsWithAnalyticsOptions<PropsWithPopupViewProps<{
|
|
5
|
+
userType: UserGroup;
|
|
6
|
+
}>>;
|
|
7
|
+
export declare function CreateUserView(props: CreateUserViewProps): React.ReactElement;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PropsWithPopupViewProps, PropsWithAnalyticsOptions } from "../../../../../../../libs/shared/src/interfaces";
|
|
3
|
+
import { UserGroup } from "../../../../../../../libs/shared/src/enums/UserGroup";
|
|
4
|
+
declare type EditUserViewProps = PropsWithPopupViewProps<PropsWithAnalyticsOptions<{
|
|
5
|
+
id: string;
|
|
6
|
+
userType: UserGroup;
|
|
7
|
+
}>>;
|
|
8
|
+
export declare function EditUserView(props: EditUserViewProps): React.ReactElement;
|
|
9
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { HashObject } from "../../../../../../../libs/common/src/react/interfaces/HashObject";
|
|
3
|
-
interface
|
|
3
|
+
interface SchoolStaffManagerViewProps {
|
|
4
4
|
queryParams: HashObject;
|
|
5
5
|
}
|
|
6
|
-
export declare function
|
|
6
|
+
export declare function SchoolStaffManagerView(props: SchoolStaffManagerViewProps): JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { CurrentUser } from "../../../../../../../../libs/shared/src/interfaces";
|
|
3
|
+
interface SchoolStaffManagerEmptyStateProps {
|
|
4
|
+
currentUser: CurrentUser;
|
|
5
|
+
}
|
|
6
|
+
export declare function SchoolStaffManagerEmptyState(props: SchoolStaffManagerEmptyStateProps): JSX.Element;
|
|
7
|
+
export {};
|
|
@@ -1,2 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
2
|
+
import { CurrentUser } from "../../../../../../../../libs/shared/src/interfaces";
|
|
3
|
+
interface SchoolStudentManagerEmptyStateProps {
|
|
4
|
+
currentUser: CurrentUser;
|
|
5
|
+
}
|
|
6
|
+
export declare function SchoolStudentManagerEmptyState(props: SchoolStudentManagerEmptyStateProps): JSX.Element;
|
|
7
|
+
export {};
|
package/dist/projects/lite/src/apps/user-manager/views/toggle-user-status/ToggleUserStatusView.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { PropsWithPopupViewProps } from "../../../../../../../libs/shared/src/interfaces";
|
|
3
|
+
declare type ToggleUserStatusViewProps = PropsWithPopupViewProps<{
|
|
4
|
+
id: string;
|
|
5
|
+
}>;
|
|
6
|
+
export declare function ToggleUserStatusView(props: ToggleUserStatusViewProps): JSX.Element;
|
|
7
|
+
export {};
|
package/dist/projects/lite/src/apps/user-manager/views/user-upload-review/UserUploadReviewView.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { PropsWithPopupViewProps, PropsWithAnalyticsOptions } from "../../../../../../../libs/shared/src/interfaces";
|
|
3
|
+
import { UserGroup } from "../../../../../../../libs/shared/src/enums/UserGroup";
|
|
4
|
+
declare type UserUploadReviewViewProps = PropsWithAnalyticsOptions<PropsWithPopupViewProps<{
|
|
5
|
+
userType: UserGroup;
|
|
6
|
+
}>>;
|
|
7
|
+
export declare function UserUploadReviewView(props: UserUploadReviewViewProps): JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -1,2 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* <ClickViewPlayer /> is rendered from <FloatingPlayer /> and not <PlayPage />
|
|
4
|
+
* as <FloatingPlayer /> is always in the DOM (as it's rendered in the layout).
|
|
5
|
+
* <PlayPage /> is removed whenever the content changes.
|
|
6
|
+
* If we rendered <ClickViewPlayer /> from <PlayPage />, the player would
|
|
7
|
+
* be re-initialized every time the user navigates to the play page.
|
|
8
|
+
*/
|
|
2
9
|
export declare function FloatingPlayer(): React.ReactElement;
|
|
@@ -4,6 +4,8 @@ import { PlayerContext } from 'shared/hooks/useInitPlayerContext';
|
|
|
4
4
|
export declare function onUpdateViewport(playerRef: React.MutableRefObject<HTMLElement>, setPlayerData: (key: keyof PlayerContext, data: any) => void): void;
|
|
5
5
|
interface PlayPageProps {
|
|
6
6
|
video: Video;
|
|
7
|
+
imageCdnUrl: string;
|
|
8
|
+
relatedVideos: Video[];
|
|
7
9
|
setFavourite?: (video: Video, shouldFavourite: boolean, onError?: () => void) => void;
|
|
8
10
|
glanceTheme?: Theme;
|
|
9
11
|
curriculumLinks?: Curriculum[][];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export declare function VideoInfoButton(props: React.PropsWithChildren<
|
|
2
|
+
export declare function VideoInfoButton(props: React.PropsWithChildren<unknown>): JSX.Element;
|
|
@@ -11,8 +11,10 @@ export declare const Actions: {
|
|
|
11
11
|
EDIT_VIDEO: string;
|
|
12
12
|
EDIT_UPLOAD: string;
|
|
13
13
|
SHARE: string;
|
|
14
|
+
CREATE_CLIP: string;
|
|
14
15
|
LOG_OUT: string;
|
|
15
16
|
LOG_IN: string;
|
|
17
|
+
PREVIEW_PDF: string;
|
|
16
18
|
};
|
|
17
19
|
Playlists: {
|
|
18
20
|
HOME: string;
|
|
@@ -22,6 +24,7 @@ export declare const Actions: {
|
|
|
22
24
|
DELETE_PLAYLIST: string;
|
|
23
25
|
ADD_TO_PLAYLIST: string;
|
|
24
26
|
REMOVE_VIDEO_FROM_PLAYLIST: string;
|
|
27
|
+
COPY_PLAYLIST: string;
|
|
25
28
|
};
|
|
26
29
|
Dashboard: {
|
|
27
30
|
HOME: string;
|
|
@@ -43,14 +46,12 @@ export declare const Actions: {
|
|
|
43
46
|
};
|
|
44
47
|
UserManager: {
|
|
45
48
|
STUDENTS: string;
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
STUDENT_UPLOAD_REVIEW: string;
|
|
53
|
-
TEACHER_UPLOAD_REVIEW: string;
|
|
49
|
+
STAFF: string;
|
|
50
|
+
BULK_REMOVE_USERS: string;
|
|
51
|
+
CREATE_USER: string;
|
|
52
|
+
EDIT_USER: string;
|
|
53
|
+
USER_UPLOAD_REVIEW: string;
|
|
54
|
+
TOGGLE_USER_STATUS: string;
|
|
54
55
|
};
|
|
55
56
|
Upload: {
|
|
56
57
|
EDIT_UPLOAD: string;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { Flight } from "../../../../../libs/common/src/react";
|
|
2
|
-
import { Xhr } from "../../../../../libs/common/src/backbone/interfaces";
|
|
3
2
|
import { Video, UpdateVideoRequest } from "../../../../../libs/shared/src/interfaces";
|
|
4
3
|
export declare const VideoRequests: {
|
|
5
4
|
video(id: string): Flight.Request;
|
|
6
5
|
workspace(id: string, cursor: string): Flight.Request;
|
|
7
6
|
videos(ids: string[], success?: (videos: Video[]) => void): Flight.Request;
|
|
8
|
-
hydratedVideos(ids: string[], success?: (videos: Video[]) => void
|
|
9
|
-
updateVideo(data: UpdateVideoRequest, success?: () => void): Flight.Request;
|
|
7
|
+
hydratedVideos(ids: string[], success?: (videos: Video[]) => void): Flight.Request;
|
|
8
|
+
updateVideo(id: string, data: UpdateVideoRequest, success?: () => void): Flight.Request;
|
|
10
9
|
/**
|
|
11
10
|
* This is simply an example to show the prototype for useVideoMixin
|
|
12
11
|
* eventually there will be endpoints in domain that let us fetch members
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Flight } from "../../../../../libs/common/src/react";
|
|
2
|
-
import { BaseObject
|
|
2
|
+
import { BaseObject } from "../../../../../libs/shared/src/interfaces";
|
|
3
3
|
import { BaseError } from "../../../../../libs/common/src/backbone/core/BaseError";
|
|
4
4
|
interface ErrorMap {
|
|
5
5
|
notFound?: new () => BaseError;
|
|
@@ -11,5 +11,5 @@ interface ErrorMap {
|
|
|
11
11
|
};
|
|
12
12
|
badRequest?: new () => BaseError;
|
|
13
13
|
}
|
|
14
|
-
export declare function useHandleObjectError(object: Flight.Response<BaseObject>, customErrors: ErrorMap
|
|
14
|
+
export declare function useHandleObjectError(object: Flight.Response<BaseObject>, customErrors: ErrorMap): void;
|
|
15
15
|
export {};
|
|
@@ -1,30 +1,37 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { Video } from "../../../../../libs/shared/src/interfaces";
|
|
2
|
-
export interface PlayerPosition {
|
|
3
|
-
top: number;
|
|
4
|
-
left: number;
|
|
5
|
-
width: number;
|
|
6
|
-
}
|
|
7
3
|
export interface PlayerContext {
|
|
8
|
-
|
|
4
|
+
playerApiUrl: string;
|
|
5
|
+
/**
|
|
6
|
+
* ViewKey for the video obtained from PlayerApi
|
|
7
|
+
*/
|
|
8
|
+
viewKey: string;
|
|
9
9
|
/**
|
|
10
|
-
* Video that the player is currently
|
|
10
|
+
* Video that the player is currently playing
|
|
11
11
|
*/
|
|
12
12
|
video: Video;
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
15
|
-
* no position means we're floating on the bottom right of the screen
|
|
14
|
+
* Flag to determine if main player is in the viewport.
|
|
16
15
|
*/
|
|
17
|
-
|
|
16
|
+
playerInViewport: boolean;
|
|
18
17
|
/**
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
|
|
22
|
-
|
|
18
|
+
* Flag to determine if the float player is allowed.
|
|
19
|
+
* Closing the floating player will set this to false.
|
|
20
|
+
*/
|
|
21
|
+
allowFloatingPlayer: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Flag to determine if the user is on the play page.
|
|
24
|
+
* Used by FloatingPlayer.
|
|
23
25
|
*/
|
|
24
26
|
isOnPlayPage: boolean;
|
|
25
27
|
/**
|
|
26
28
|
* Determines what time the video should start playing at
|
|
27
29
|
*/
|
|
28
30
|
startTime: number;
|
|
31
|
+
/**
|
|
32
|
+
* A ref for the element to inject the player into on the Play Page.
|
|
33
|
+
* This is used by the floating player to move the video.
|
|
34
|
+
*/
|
|
35
|
+
playPagePlayerContainerRef: React.MutableRefObject<HTMLDivElement>;
|
|
29
36
|
}
|
|
30
37
|
export declare function useInitPlayerContext(): void;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { BaseObject } from "../../../../../../libs/shared/src/interfaces";
|
|
2
|
-
import { MockStudent } from 'apps/user-manager/interfaces';
|
|
1
|
+
import { BaseObject, User } from "../../../../../../libs/shared/src/interfaces";
|
|
3
2
|
import { GroupColour } from 'apps/classrooms/enums/GroupColour';
|
|
4
3
|
export interface MockClassroomGroup extends BaseObject {
|
|
5
4
|
colour: GroupColour;
|
|
6
|
-
students:
|
|
5
|
+
students: User[];
|
|
7
6
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Store } from 'redux';
|
|
2
|
+
import { Config, BaseConfigDataService } from "../../../../../libs/shared/src/interfaces";
|
|
3
|
+
interface FlightConfigDataServiceOptions {
|
|
4
|
+
store: Store;
|
|
5
|
+
}
|
|
6
|
+
export declare class FlightConfigDataService implements BaseConfigDataService {
|
|
7
|
+
private store;
|
|
8
|
+
constructor(options: FlightConfigDataServiceOptions);
|
|
9
|
+
get name(): string;
|
|
10
|
+
getConfig(success?: (config: Config) => void, error?: () => void): void;
|
|
11
|
+
getVersion(success?: (version: any) => void, error?: () => void): void;
|
|
12
|
+
}
|
|
13
|
+
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Store } from 'redux';
|
|
2
2
|
import { CurrentUser, BaseUserDataService } from "../../../../../libs/shared/src/interfaces";
|
|
3
|
+
import { HashObject } from "../../../../../libs/common/src/react/interfaces";
|
|
3
4
|
interface FlightUserDataServiceOptions {
|
|
4
5
|
store: Store;
|
|
5
6
|
}
|
|
@@ -8,5 +9,7 @@ export declare class FlightUserDataService implements BaseUserDataService {
|
|
|
8
9
|
constructor(options: FlightUserDataServiceOptions);
|
|
9
10
|
get name(): string;
|
|
10
11
|
getCurrentUser(success?: (user: CurrentUser) => void, error?: () => void): void;
|
|
12
|
+
getToken(success?: (token: HashObject) => void, error?: () => void): void;
|
|
13
|
+
getWorkspace(success?: (workspace: HashObject) => void, error?: () => void): void;
|
|
11
14
|
}
|
|
12
15
|
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { PopupViewProps } from "../../../../../../libs/shared/src/interfaces";
|
|
3
|
+
declare type PreviewPdfViewProps = PopupViewProps & {
|
|
4
|
+
id: string;
|
|
5
|
+
};
|
|
6
|
+
export declare function PreviewPdfView(props: PreviewPdfViewProps): JSX.Element;
|
|
7
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { Core } from "../../../../libs/common/src/backbone";
|
|
2
|
-
export declare function RegisterAppOptions(shell: Core.Shell, next:
|
|
2
|
+
export declare function RegisterAppOptions(shell: Core.Shell, next: (...args: any) => any): void;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { Core } from "../../../../libs/common/src/backbone";
|
|
2
|
-
declare function RegisterApplicationVariables(shell: Core.Shell, next:
|
|
2
|
+
declare function RegisterApplicationVariables(shell: Core.Shell, next: (...args: any) => any): void;
|
|
3
3
|
export { RegisterApplicationVariables };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { Core } from "../../../../libs/common/src/backbone";
|
|
2
|
-
export declare function RegisterApplications(shell: Core.Shell, next:
|
|
2
|
+
export declare function RegisterApplications(shell: Core.Shell, next: (...args: any) => any): void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { Core } from "../../../../libs/common/src/backbone";
|
|
2
|
-
export declare function RegisterCaches(shell: Core.Shell, next:
|
|
2
|
+
export declare function RegisterCaches(shell: Core.Shell, next: (...args: any) => any): void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { Core } from "../../../../libs/common/src/backbone";
|
|
2
|
-
export declare function RegisterDataProviders(shell: Core.Shell, next:
|
|
2
|
+
export declare function RegisterDataProviders(shell: Core.Shell, next: (...args: any) => any): void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { Core } from "../../../../libs/common/src/backbone";
|
|
2
|
-
export declare function RegisterDataServices(shell: Core.Shell, next:
|
|
2
|
+
export declare function RegisterDataServices(shell: Core.Shell, next: (...args: any) => any): void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { Core } from "../../../../libs/common/src/backbone";
|
|
2
|
-
export declare function RegisterErrorHandlers(shell: Core.Shell, next:
|
|
2
|
+
export declare function RegisterErrorHandlers(shell: Core.Shell, next: (...args: any) => any): void;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { Core } from "../../../../libs/common/src/backbone";
|
|
2
|
-
declare function RegisterHandlebarsHelpers(shell: Core.Shell, next:
|
|
2
|
+
declare function RegisterHandlebarsHelpers(shell: Core.Shell, next: (...args: any) => any): void;
|
|
3
3
|
export { RegisterHandlebarsHelpers };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { Core } from "../../../../libs/common/src/backbone";
|
|
2
|
-
export declare function RegisterLayouts(shell: Core.Shell, next:
|
|
2
|
+
export declare function RegisterLayouts(shell: Core.Shell, next: (...args: any) => any): void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { Core } from "../../../../libs/common/src/backbone";
|
|
2
|
-
export declare function RegisterServices(shell: Core.Shell, next:
|
|
2
|
+
export declare function RegisterServices(shell: Core.Shell, next: (...args: any) => any): void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { Core } from "../../../../libs/common/src/backbone";
|
|
2
|
-
export declare function RegisterStore(shell: Core.Shell, next:
|
|
2
|
+
export declare function RegisterStore(shell: Core.Shell, next: (...args: any) => any): void;
|
|
@@ -11,5 +11,5 @@ import { Core } from "../../../../libs/common/src/backbone";
|
|
|
11
11
|
*
|
|
12
12
|
* See `serializeData()` in `common/BaseView.ts` to see how these extension objects are processed.
|
|
13
13
|
*/
|
|
14
|
-
declare function RegisterViewDataExtensions(shell: Core.Shell, next:
|
|
14
|
+
declare function RegisterViewDataExtensions(shell: Core.Shell, next: (...args: any) => any): void;
|
|
15
15
|
export { RegisterViewDataExtensions };
|