@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
|
@@ -105,6 +105,18 @@ export interface SearchBarProps<T extends HashObject> {
|
|
|
105
105
|
* which side to render it on. Defaults to `right` in `defaultProps`
|
|
106
106
|
*/
|
|
107
107
|
searchIconPlacement?: 'left' | 'right' | false;
|
|
108
|
+
/**
|
|
109
|
+
* If true, a cross svg will be rendered.
|
|
110
|
+
* Clicking this icon will reset the query.
|
|
111
|
+
*/
|
|
112
|
+
showClearInputIcon?: boolean;
|
|
113
|
+
/**
|
|
114
|
+
* Optional callback function to be called when the clear input
|
|
115
|
+
* icon is clicked.
|
|
116
|
+
* The query will be reset automatically, this callback is for
|
|
117
|
+
* adding additional functionality.
|
|
118
|
+
*/
|
|
119
|
+
onClickClearInput?: () => void;
|
|
108
120
|
/**
|
|
109
121
|
* Flag to determine whether clicking the search icon should trigger
|
|
110
122
|
* submitting the search query.
|
|
@@ -114,11 +126,22 @@ export interface SearchBarProps<T extends HashObject> {
|
|
|
114
126
|
* Flag to determine whether the search input should be autofocused.
|
|
115
127
|
*/
|
|
116
128
|
autoFocusInput?: boolean;
|
|
129
|
+
/**
|
|
130
|
+
* If true, the default Bootstrap styling will be applied when the
|
|
131
|
+
* input is focused.
|
|
132
|
+
*/
|
|
133
|
+
highlightInputOnFocus?: boolean;
|
|
117
134
|
/**
|
|
118
135
|
* When true, the input field will be cleared whenever a suggestion is selected.
|
|
119
136
|
*/
|
|
120
137
|
clearQueryOnSelect?: boolean;
|
|
121
138
|
onBackspace?: () => void;
|
|
139
|
+
/**
|
|
140
|
+
* When true, the search input will be wrapped in a <form />.
|
|
141
|
+
* This is true by default.
|
|
142
|
+
* If rendering <SearchBar /> within another form, set this to false.
|
|
143
|
+
*/
|
|
144
|
+
renderAsForm?: boolean;
|
|
122
145
|
}
|
|
123
146
|
export declare function SearchBar<T extends HashObject>(props: SearchBarProps<T>): JSX.Element;
|
|
124
147
|
export declare namespace SearchBar {
|
|
@@ -130,5 +153,6 @@ export declare namespace SearchBar {
|
|
|
130
153
|
recentSearches: any[];
|
|
131
154
|
initialSuggestions: any[];
|
|
132
155
|
searchIconPlacement: string;
|
|
156
|
+
renderAsForm: boolean;
|
|
133
157
|
};
|
|
134
158
|
}
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import * as Autosuggest from 'react-autosuggest';
|
|
3
|
-
|
|
3
|
+
import { HashObject } from "../../../../common/src/react/interfaces";
|
|
4
|
+
interface SearchInputProps<T> extends Autosuggest.InputProps<T> {
|
|
4
5
|
onClickSearchIcon?: () => void;
|
|
5
6
|
searchIconPlacement?: 'left' | 'right' | false;
|
|
7
|
+
showClearInputIcon?: boolean;
|
|
8
|
+
onClickClearInput?: () => void;
|
|
9
|
+
highlightOnFocus?: boolean;
|
|
6
10
|
}
|
|
7
|
-
export declare function SearchInput<T extends
|
|
11
|
+
export declare function SearchInput<T extends HashObject>(props: SearchInputProps<T>): JSX.Element;
|
|
8
12
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { Core } from "../../../../../common/src/backbone";
|
|
3
3
|
import { Image } from "../../../interfaces";
|
|
4
|
-
import {
|
|
4
|
+
import { ImageOptions } from "../../../utils/ImageHelper";
|
|
5
5
|
import { AnalyticsOptions, HashObject } from "../../../../../analytics/src/interfaces";
|
|
6
6
|
export declare enum AspectRatio {
|
|
7
7
|
SixteenByNine = 0,
|
|
@@ -11,10 +11,12 @@ export declare enum AspectRatio {
|
|
|
11
11
|
}
|
|
12
12
|
interface ThumbnailProps {
|
|
13
13
|
data: Image | string;
|
|
14
|
-
|
|
14
|
+
imageOptions?: ImageOptions;
|
|
15
15
|
appLink?: Core.AppLink;
|
|
16
16
|
aspectRatio?: AspectRatio;
|
|
17
17
|
className?: string;
|
|
18
|
+
imageClassName?: string;
|
|
19
|
+
imageStyle?: HashObject;
|
|
18
20
|
preload?: boolean;
|
|
19
21
|
analyticsData?: HashObject;
|
|
20
22
|
analyticsOptions?: AnalyticsOptions;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { Core } from "../../../../../common/src/backbone";
|
|
3
3
|
import { Video, Interactive, Clip } from "../../../interfaces";
|
|
4
|
-
import { ThumbnailSize } from "../../../enums/ThumbnailSize";
|
|
5
4
|
import { ThumbnailTextPosition } from "../../../enums/ThumbnailTextPosition";
|
|
5
|
+
import { ImageOptions } from "../../../utils/ImageHelper";
|
|
6
6
|
import { AnalyticsOptions, HashObject } from "../../../../../analytics/src/interfaces";
|
|
7
7
|
declare type BaseVideoThumbnailProps = {
|
|
8
8
|
video: Video;
|
|
9
9
|
videoType?: 'video' | 'interactive' | 'clip';
|
|
10
10
|
interactive?: Interactive;
|
|
11
11
|
clip?: Clip;
|
|
12
|
-
|
|
12
|
+
imageOptions: ImageOptions;
|
|
13
13
|
type: 'expandable' | 'static';
|
|
14
14
|
textPosition: ThumbnailTextPosition;
|
|
15
15
|
appLink: Core.AppLink;
|
|
@@ -3,22 +3,18 @@ import { Core } from "../../../../../common/src/backbone";
|
|
|
3
3
|
import { Flight } from "../../../../../common/src/react";
|
|
4
4
|
import { WidgetType } from "../../../interfaces";
|
|
5
5
|
import { WidgetContents } from "../../../enums/WidgetContents";
|
|
6
|
-
import {
|
|
6
|
+
import { ImageSize } from "../../../enums/Images";
|
|
7
7
|
import { AnalyticsOptions, HashObject } from "../../../../../analytics/src/interfaces";
|
|
8
|
-
|
|
8
|
+
interface BaseFixedWidgetProps {
|
|
9
9
|
id?: string;
|
|
10
10
|
name?: string;
|
|
11
11
|
description?: string;
|
|
12
12
|
type: WidgetType;
|
|
13
13
|
contents: WidgetContents;
|
|
14
|
-
thumbnailSize?:
|
|
14
|
+
thumbnailSize?: ImageSize;
|
|
15
15
|
paddingSize?: '3' | '4';
|
|
16
|
-
collection?: any;
|
|
17
|
-
lazyLoad?: boolean;
|
|
18
|
-
fetch?: (...args: any) => Flight.Response<any>;
|
|
19
|
-
prefetched?: boolean;
|
|
20
|
-
setData?: (data: any) => any;
|
|
21
16
|
minimumItemCount?: number;
|
|
17
|
+
setData?: (data: any) => any;
|
|
22
18
|
childComponent: React.ElementType;
|
|
23
19
|
childAppLink?: Core.AppLink;
|
|
24
20
|
appLink?: Core.AppLink;
|
|
@@ -26,6 +22,19 @@ export interface FixedWidgetProps {
|
|
|
26
22
|
analyticsData?: HashObject;
|
|
27
23
|
analyticsOptions?: AnalyticsOptions;
|
|
28
24
|
}
|
|
25
|
+
declare type FixedWidgetWithFetchProps = BaseFixedWidgetProps & {
|
|
26
|
+
lazyLoad: true;
|
|
27
|
+
collection?: never;
|
|
28
|
+
fetch: (...args: any) => Flight.Response<any>;
|
|
29
|
+
prefetched?: false;
|
|
30
|
+
};
|
|
31
|
+
declare type FixedWidgetWithCollectionProps = BaseFixedWidgetProps & {
|
|
32
|
+
collection: any;
|
|
33
|
+
lazyLoad?: false;
|
|
34
|
+
fetch?: never;
|
|
35
|
+
prefetched: true;
|
|
36
|
+
};
|
|
37
|
+
export declare type FixedWidgetProps = FixedWidgetWithCollectionProps | FixedWidgetWithFetchProps;
|
|
29
38
|
declare function FixedWidget(props: FixedWidgetProps): JSX.Element;
|
|
30
39
|
declare namespace FixedWidget {
|
|
31
40
|
var defaultProps: {
|
|
@@ -13,7 +13,7 @@ export interface WidgetData {
|
|
|
13
13
|
name?: string;
|
|
14
14
|
description?: string;
|
|
15
15
|
}
|
|
16
|
-
export declare function useFetchData(props: FixedWidgetProps, dispatch:
|
|
16
|
+
export declare function useFetchData(props: FixedWidgetProps, dispatch: React.Dispatch<ReducerActions<WidgetInteraction, FixedWidgetPayload>>, mediaQueryType: MediaQueryStrings, shouldFetch: boolean): Flight.Response<any>;
|
|
17
17
|
/**
|
|
18
18
|
* This function wrapper determines which widget item images should be pre-fetched by the LazyImage component.
|
|
19
19
|
* It does this by looking at which images are going to be shown after the users clicks on the "Next"
|
|
@@ -1,7 +1,2 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
3
|
-
interface PartialFixedWidgetProps {
|
|
4
|
-
type: WidgetType;
|
|
5
|
-
}
|
|
6
|
-
export declare function PartialFixedWidget(props: PartialFixedWidgetProps): JSX.Element;
|
|
7
|
-
export {};
|
|
2
|
+
export declare function PartialFixedWidget(): JSX.Element;
|
package/dist/libs/shared/src/components/widgets/items/playlist-widget-item/PlaylistWidgetItem.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { Core } from "../../../../../../common/src/backbone";
|
|
3
|
-
import { Playlist, PresentationAudience
|
|
3
|
+
import { Playlist, PresentationAudience } from "../../../../interfaces";
|
|
4
4
|
export interface PlaylistWidgetItemProps {
|
|
5
5
|
data: Playlist;
|
|
6
6
|
appLink: Core.AppLink;
|
|
7
7
|
presentationAudiences: PresentationAudience[];
|
|
8
|
-
context: WidgetContext;
|
|
9
8
|
}
|
|
10
9
|
export declare function PlaylistWidgetItem(props: PlaylistWidgetItemProps): JSX.Element;
|
package/dist/libs/shared/src/components/widgets/items/resource-widget-item/ResourceWidgetItem.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Core } from "../../../../../../common/src/backbone";
|
|
3
|
+
import { HashObject } from "../../../../../../common/src/react/interfaces";
|
|
4
|
+
import { AnalyticsOptions } from "../../../../../../analytics/src/interfaces";
|
|
5
|
+
import { Resource, Link } from "../../../../interfaces";
|
|
6
|
+
export interface ResourceWidgetItemProps {
|
|
7
|
+
data: Resource | Link;
|
|
8
|
+
appLink: Core.AppLink;
|
|
9
|
+
analyticsData?: HashObject;
|
|
10
|
+
analyticsOptions?: AnalyticsOptions;
|
|
11
|
+
imageCdnUrl: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const ResourceWidgetItem: React.NamedExoticComponent<ResourceWidgetItemProps>;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { Core } from "../../../../../../common/src/backbone";
|
|
3
|
-
import {
|
|
3
|
+
import { Classification, PresentationAudience } from "../../../../interfaces";
|
|
4
4
|
export interface TallSubjectWidgetItemProps {
|
|
5
5
|
data: Classification;
|
|
6
6
|
appLink: Core.AppLink;
|
|
7
7
|
audiences: PresentationAudience[];
|
|
8
|
-
context?: WidgetContext;
|
|
9
8
|
preloadImage?: boolean;
|
|
10
9
|
}
|
|
11
10
|
export declare function TallSubjectWidgetItem(props: TallSubjectWidgetItemProps): JSX.Element;
|
package/dist/libs/shared/src/components/widgets/items/video-widget-item/VideoWidgetItem.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { Core } from "../../../../../../common/src/backbone";
|
|
3
3
|
import { WidgetContext, Video } from "../../../../interfaces";
|
|
4
|
-
import {
|
|
4
|
+
import { ImageSize } from "../../../../enums/Images";
|
|
5
5
|
import { AnalyticsOptions, HashObject } from "../../../../../../analytics/src/interfaces";
|
|
6
6
|
interface VideoWidgetItemProps {
|
|
7
7
|
data: Video;
|
|
8
8
|
appLink: Core.AppLink;
|
|
9
9
|
seriesAppLink: Core.AppLink;
|
|
10
10
|
context: WidgetContext;
|
|
11
|
-
thumbnailSize:
|
|
11
|
+
thumbnailSize: ImageSize;
|
|
12
12
|
onHover: (isHovering: boolean) => void;
|
|
13
13
|
preloadImage?: boolean;
|
|
14
14
|
analyticsData?: HashObject;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { CssMeasurement } from "../../../enums/CssMeasurement";
|
|
3
|
-
interface SlidingListContainerProps extends React.PropsWithChildren<
|
|
3
|
+
interface SlidingListContainerProps extends React.PropsWithChildren<unknown> {
|
|
4
4
|
position: number;
|
|
5
5
|
positionType: CssMeasurement;
|
|
6
6
|
onDrag?: (event: React.DragEvent<HTMLDivElement>) => void;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { Flight } from "../../../common/src/react";
|
|
2
|
+
import { Config } from '../interfaces';
|
|
2
3
|
export declare const ConfigRequests: {
|
|
3
|
-
config: Flight.Request;
|
|
4
|
+
config(success?: (config: Config) => void, error?: () => void): Flight.Request;
|
|
5
|
+
version(success?: (version: any) => void, error?: () => void): Flight.Request;
|
|
4
6
|
};
|
|
@@ -22,4 +22,5 @@ export declare const PlaylistRequests: {
|
|
|
22
22
|
getPlaylistPrivacy(playlistId: string): Flight.Request;
|
|
23
23
|
updatePlaylistPrivacy(playlistId: string, privacy: PlaylistPrivacy, success?: (data: any) => void, error?: (xhr: Xhr) => void, always?: () => void): Flight.Request;
|
|
24
24
|
getMigrationTask(success?: (data: any) => void, error?: (xhr: Xhr) => void): Flight.Request;
|
|
25
|
+
copyPlaylist(id: string, success?: (data: any) => void, error?: (xhr: Xhr) => void, always?: () => void): Flight.Request;
|
|
25
26
|
};
|
|
@@ -7,7 +7,7 @@ export declare const PreferenceRequests: {
|
|
|
7
7
|
*/
|
|
8
8
|
currentPresentations(type?: PresentationType): Flight.Request;
|
|
9
9
|
availablePresentations(type?: PresentationType): Flight.Request;
|
|
10
|
-
setPresentation(presentation: Presentation, type: PresentationType, success?: () => void): Flight.Request;
|
|
10
|
+
setPresentation(presentation: Presentation, type: PresentationType, success?: () => void, error?: () => void): Flight.Request;
|
|
11
11
|
/**
|
|
12
12
|
* Subjects
|
|
13
13
|
*/
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Flight } from "../../../common/src/react";
|
|
2
|
+
import { HashObject } from "../../../common/src/react/interfaces/HashObject";
|
|
3
|
+
import { Xhr } from "../../../common/src/backbone/interfaces/Xhr";
|
|
4
|
+
import { UpdateResourceRequest } from "../interfaces";
|
|
5
|
+
export declare const ResourceRequests: {
|
|
6
|
+
resource(id: string): Flight.Request;
|
|
7
|
+
videoResources(videoId: string): Flight.Request;
|
|
8
|
+
addResource(videoId: string, resource: any, success?: (data: HashObject<any>) => void, error?: (xhr: Xhr) => void, always?: () => void): Flight.Request;
|
|
9
|
+
updateResource(id: string, data: UpdateResourceRequest, success?: (data: HashObject<any>) => void, error?: (xhr: Xhr) => void, always?: () => void): Flight.Request;
|
|
10
|
+
deleteResource(id: string, videoId: string, success?: (data: HashObject<any>) => void, error?: (xhr: Xhr) => void, always?: () => void): Flight.Request;
|
|
11
|
+
};
|
|
@@ -2,8 +2,10 @@ import { Flight } from "../../../common/src/react";
|
|
|
2
2
|
import { HashObject } from "../../../common/src/react/interfaces/HashObject";
|
|
3
3
|
import { Xhr } from "../../../common/src/backbone/interfaces";
|
|
4
4
|
import { Theme } from "../interfaces";
|
|
5
|
+
import { ThemeType } from '../enums/ThemeType';
|
|
5
6
|
export declare const ThemeRequests: {
|
|
6
7
|
theme(id: string): Flight.Request;
|
|
8
|
+
themeImages(name: string, type: ThemeType): Flight.Request;
|
|
7
9
|
themes(type?: string): Flight.Request;
|
|
8
10
|
createTheme(data: Theme, success?: (data: HashObject<any>) => void, error?: (xhr: Xhr) => void, always?: () => void): Flight.Request;
|
|
9
11
|
updateTheme(id: string, data: Theme, success?: (data: HashObject<any>) => void, error?: (xhr: Xhr) => void, always?: () => void): Flight.Request;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { Flight } from "../../../common/src/react";
|
|
2
2
|
import { CurrentUser } from "../interfaces";
|
|
3
|
+
import { HashObject } from "../../../common/src/react/interfaces";
|
|
3
4
|
export declare const UserRequests: {
|
|
4
5
|
currentUser(success?: (user: CurrentUser) => void, error?: () => void): Flight.Request;
|
|
5
|
-
workspace: Flight.Request;
|
|
6
|
+
workspace(success?: (workspace: HashObject<any>) => void, error?: () => void): Flight.Request;
|
|
6
7
|
sendVerificationEmail(emailAddress: string, success: () => void, error: () => void, always: () => void): Flight.Request;
|
|
8
|
+
token(success?: (token: HashObject<any>) => void, error?: () => void): Flight.Request;
|
|
7
9
|
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Core } from "../../../common/src/backbone";
|
|
3
|
+
/**
|
|
4
|
+
* Hook used to listen to updates on a Backbone Collection
|
|
5
|
+
* and trigger a re-render.
|
|
6
|
+
*/
|
|
7
|
+
export declare function useGetCollectionItems<T>(getCollection: () => Core.Collection, onRemove?: () => void, dependencies?: React.DependencyList): T[];
|
|
@@ -19,4 +19,6 @@ import VisibleOn from './visible-on.svg';
|
|
|
19
19
|
import NoEdit from './no-edit.svg';
|
|
20
20
|
import EditClickView from './edit-clickview.svg';
|
|
21
21
|
import Share2 from './share2.svg';
|
|
22
|
-
|
|
22
|
+
import Download from './download.svg';
|
|
23
|
+
import Print from './print.svg';
|
|
24
|
+
export { AddToPlaylist, Close, Delete, Edit, Expand, Minus, More, NewWindow, Plus, Preview, Search, Share, Upload, Down, Right, UpDown, VisibleOff, VisibleOn, NoEdit, EditClickView, Share2, Download, Print };
|
|
@@ -5,7 +5,9 @@ export interface Config extends BaseObject {
|
|
|
5
5
|
imageCdnUrl: string;
|
|
6
6
|
countryCode: CountryCode;
|
|
7
7
|
webPlayerUrl: string;
|
|
8
|
+
gatewayApiUrl: string;
|
|
8
9
|
notificationServiceUrl?: string;
|
|
9
10
|
collectionApiUrls?: RegionalUrl;
|
|
10
11
|
collectionApiClientId?: string;
|
|
12
|
+
playerApiUrl?: string;
|
|
11
13
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Interface for a file uploaded
|
|
3
|
+
* to FileApi
|
|
4
|
+
*/
|
|
5
|
+
export interface FileUpload {
|
|
6
|
+
id: string;
|
|
7
|
+
file: {
|
|
8
|
+
cvUpload: {
|
|
9
|
+
uploadId: string;
|
|
10
|
+
ingestUrl: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
fileInfo: {
|
|
14
|
+
id: string;
|
|
15
|
+
name: string;
|
|
16
|
+
extension: string;
|
|
17
|
+
size: number;
|
|
18
|
+
url: string;
|
|
19
|
+
};
|
|
20
|
+
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { BaseObject } from "./..";
|
|
2
2
|
import { GlanceFormat } from "../../enums/GlanceFormat";
|
|
3
|
+
import { ThemeType } from "../../enums/ThemeType";
|
|
3
4
|
export interface Glance extends BaseObject {
|
|
4
5
|
theme: string;
|
|
5
6
|
format: GlanceFormat;
|
|
6
7
|
content: string;
|
|
8
|
+
type: ThemeType;
|
|
7
9
|
}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { BaseObject } from './primitives';
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
import { Thumbnail } from './Thumbnail';
|
|
3
|
+
import { FileType } from "../../utils/VideoDetailsHelper";
|
|
4
|
+
import { Pdf } from './Pdf';
|
|
5
|
+
export declare type ResourceType = 'teacher-pack' | 'student-activity' | 'additional-materials' | 'atom-guide';
|
|
6
|
+
interface ResourceMetadata {
|
|
7
|
+
type: FileType;
|
|
8
|
+
resourceType?: ResourceType;
|
|
4
9
|
}
|
|
5
10
|
export interface Resource extends BaseObject {
|
|
6
11
|
url: string;
|
|
7
|
-
metadata:
|
|
12
|
+
metadata: ResourceMetadata;
|
|
13
|
+
fileId: string;
|
|
14
|
+
thumbnail: Thumbnail;
|
|
15
|
+
pdf?: Pdf;
|
|
8
16
|
}
|
|
9
17
|
export {};
|
|
@@ -2,7 +2,10 @@ import { BaseObject, Group, Avatar } from "./..";
|
|
|
2
2
|
import { UserRole } from "../../enums/UserRole";
|
|
3
3
|
import { CustomerType } from "../../enums/CustomerType";
|
|
4
4
|
import { OnlineUserRole } from "../../enums/UserRole";
|
|
5
|
+
import { UserGroup } from "../../enums/UserGroup";
|
|
6
|
+
import { ObjectStatus } from "../../enums/ObjectStatus";
|
|
5
7
|
import { CustomerCollection } from '../collections';
|
|
8
|
+
export declare type YearGroup = 'Kindergarten' | 'Year 1' | 'Year 2' | 'Year 3' | 'Year 4' | 'Year 5' | 'Year 6' | 'Year 7' | 'Year 8' | 'Year 9' | 'Year 10' | 'Year 11' | 'Year 12' | 'Year 13' | 'Staff';
|
|
6
9
|
/**
|
|
7
10
|
* Master User
|
|
8
11
|
*/
|
|
@@ -13,10 +16,14 @@ export interface User extends BaseObject {
|
|
|
13
16
|
bio: string;
|
|
14
17
|
email: string;
|
|
15
18
|
username: string;
|
|
16
|
-
status:
|
|
19
|
+
status: ObjectStatus;
|
|
17
20
|
role: UserRole;
|
|
18
21
|
customers: CustomerCollection;
|
|
22
|
+
yearGroup: YearGroup;
|
|
23
|
+
userType: UserGroup;
|
|
19
24
|
avatar?: Avatar;
|
|
25
|
+
isPrimaryContact: boolean;
|
|
26
|
+
roleId: OnlineUserRole;
|
|
20
27
|
}
|
|
21
28
|
export interface CuratorUser extends User {
|
|
22
29
|
userId: string;
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
+
import { UpdateObjectRating, UpdateObjectChannel, Thumbnail } from "./..";
|
|
1
2
|
export interface UpdateVideoRequest {
|
|
2
|
-
id: string;
|
|
3
3
|
name: string;
|
|
4
4
|
description?: string;
|
|
5
|
+
rating: UpdateObjectRating;
|
|
6
|
+
dateBroadcast?: string;
|
|
7
|
+
channel?: UpdateObjectChannel;
|
|
8
|
+
thumbnail?: Thumbnail;
|
|
5
9
|
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { CurrentUser } from "./..";
|
|
2
|
+
import { HashObject } from "../../../../common/src/react/interfaces";
|
|
2
3
|
export interface BaseUserDataService {
|
|
3
4
|
getCurrentUser(success?: (user: CurrentUser) => void, error?: () => void): void;
|
|
5
|
+
getWorkspace(success?: (workspace: HashObject) => void, error?: () => void): void;
|
|
4
6
|
}
|
|
@@ -3,7 +3,7 @@ import { Core } from "../../../../../common/src/backbone";
|
|
|
3
3
|
import { ImageOptions } from "../../../utils/ImageHelper";
|
|
4
4
|
export interface ThumbnailComponentOptions extends Core.ComponentOptions {
|
|
5
5
|
model: Core.Model;
|
|
6
|
-
onClickHandler?:
|
|
6
|
+
onClickHandler?: (...args: any) => any;
|
|
7
7
|
thumbnailOptions?: ImageOptions;
|
|
8
8
|
playIcon?: boolean;
|
|
9
9
|
lazyload?: boolean;
|