@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
|
@@ -60,6 +60,9 @@ export declare enum UserAction {
|
|
|
60
60
|
Favourite = "cv_product_favourite",
|
|
61
61
|
Follow = "cv_product_follow",
|
|
62
62
|
Prefer = "cv_product_prefer",
|
|
63
|
+
Print = "cv_product_print",
|
|
64
|
+
Copy = "cv_product_copy",
|
|
65
|
+
Activate = "cv_product_activate",
|
|
63
66
|
SetAccess = "cv_product_set_access",
|
|
64
67
|
AddToLocalCache = "cv_product_add_to_lc",
|
|
65
68
|
/**
|
|
@@ -139,8 +142,8 @@ export declare enum LocationContext {
|
|
|
139
142
|
MigrationWarnings = "migration_warnings",
|
|
140
143
|
PlaylistListHeader = "playlist_list_header",
|
|
141
144
|
PlaylistListItem = "playlist_list_item",
|
|
142
|
-
|
|
143
|
-
|
|
145
|
+
StaffManager = "staff_manager",
|
|
146
|
+
StaffManagerListItem = "staff_manager_list_item",
|
|
144
147
|
StudentManager = "student_manager",
|
|
145
148
|
StudentManagerListItem = "student_manager_list_item",
|
|
146
149
|
ClassroomsList = "classrooms_list",
|
|
@@ -152,6 +155,7 @@ export declare enum LocationContext {
|
|
|
152
155
|
ManageClassroomGroups = "manage_classroom_groups",
|
|
153
156
|
ManageClassroomGroupListItem = "manage_classroom_group_list_item",
|
|
154
157
|
PlayPage = "play_page",
|
|
158
|
+
Player = "player",
|
|
155
159
|
FloatingPlayer = "floating_player",
|
|
156
160
|
InteractivePlayer = "interactive_player",
|
|
157
161
|
EmbeddedPlayer = "embedded_player",
|
|
@@ -277,7 +281,8 @@ export declare enum SuggestionDescriptor {
|
|
|
277
281
|
export declare enum AssocDescriptor {
|
|
278
282
|
Image = "image",
|
|
279
283
|
User = "user",
|
|
280
|
-
Playlist = "playlist"
|
|
284
|
+
Playlist = "playlist",
|
|
285
|
+
Link = "link"
|
|
281
286
|
}
|
|
282
287
|
export declare enum ToggleDescriptor {
|
|
283
288
|
On = "on",
|
|
@@ -32,11 +32,11 @@ export interface VideoAnalyticsPayload {
|
|
|
32
32
|
export declare const VideoDataFormatHelper: {
|
|
33
33
|
getVideoData(options: VideoWatchAnalyticsEvent): VideoAnalyticsPayload;
|
|
34
34
|
/**
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
35
|
+
* Map to the same properties recorded in Online.
|
|
36
|
+
* @see _toLogMasterVideo() in AnalyticsService in Online
|
|
37
|
+
*
|
|
38
|
+
* TODO: Video origin and user channel logging - both of these need to be re-worked properly.
|
|
39
|
+
*/
|
|
40
40
|
getLegacyVideoData(options: VideoWatchAnalyticsEvent): HashObject<any>;
|
|
41
41
|
};
|
|
42
42
|
export {};
|
|
@@ -95,5 +95,5 @@ export declare class BaseAppRouter extends Marionette.AppRouter {
|
|
|
95
95
|
private toMethodName;
|
|
96
96
|
private validateAppLink;
|
|
97
97
|
listenTo(object: any, eventMap: Backbone.EventMap): this;
|
|
98
|
-
listenTo(obj: string | Backbone.Events, events: string, callback:
|
|
98
|
+
listenTo(obj: string | Backbone.Events, events: string, callback: (...args: any) => any): this;
|
|
99
99
|
}
|
|
@@ -72,5 +72,5 @@ export declare class BaseApplication extends Marionette.Application {
|
|
|
72
72
|
protected setDefaultQueryParams(params: ObjectHash): void;
|
|
73
73
|
getAndClearDefaultQueryParams(): ObjectHash;
|
|
74
74
|
listenTo(object: any, eventMap: Backbone.EventMap): this;
|
|
75
|
-
listenTo(obj: string | Backbone.Events, events: string, callback:
|
|
75
|
+
listenTo(obj: string | Backbone.Events, events: string, callback: (...args: any) => any): this;
|
|
76
76
|
}
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
import * as Marionette from 'backbone.marionette';
|
|
3
3
|
export declare class BaseBehavior extends Marionette.Behavior {
|
|
4
4
|
listenTo(object: any, eventMap: Backbone.EventMap): this;
|
|
5
|
-
listenTo(obj: string | Backbone.Events, events: string, callback:
|
|
5
|
+
listenTo(obj: string | Backbone.Events, events: string, callback: (...args: any) => any): this;
|
|
6
6
|
}
|
|
@@ -3,5 +3,5 @@ import { BaseModel } from './BaseModel';
|
|
|
3
3
|
export declare class BaseCollection<TModel extends BaseModel = BaseModel> extends Backbone.Collection<TModel> {
|
|
4
4
|
parent?: BaseModel | BaseCollection;
|
|
5
5
|
listenTo(object: any, eventMap: Backbone.EventMap): this;
|
|
6
|
-
listenTo(obj: string | Backbone.Events, events: string, callback:
|
|
6
|
+
listenTo(obj: string | Backbone.Events, events: string, callback: (...args: any) => any): this;
|
|
7
7
|
}
|
|
@@ -12,5 +12,5 @@ export declare class BaseCollectionView<TModel extends BaseModel = BaseModel, TV
|
|
|
12
12
|
serializeModel(): any;
|
|
13
13
|
serializeCollection(): any[];
|
|
14
14
|
listenTo(object: any, eventMap: Backbone.EventMap): this;
|
|
15
|
-
listenTo(obj: string | Backbone.Events, events: string, callback:
|
|
15
|
+
listenTo(obj: string | Backbone.Events, events: string, callback: (...args: any) => any): this;
|
|
16
16
|
}
|
|
@@ -6,6 +6,6 @@ export interface BaseLayoutViewOptions extends BaseViewOptions {
|
|
|
6
6
|
export declare class BaseLayoutView extends BaseView {
|
|
7
7
|
protected options: BaseLayoutViewOptions;
|
|
8
8
|
constructor(options: BaseLayoutViewOptions);
|
|
9
|
-
static getCacheKey(options
|
|
9
|
+
static getCacheKey(options?: BaseLayoutViewOptions): string;
|
|
10
10
|
unmountRegion(regionName: string): void;
|
|
11
11
|
}
|
|
@@ -23,5 +23,5 @@ export declare class BaseModel extends Backbone.Model {
|
|
|
23
23
|
preValidate: (attr: any, value: any) => any;
|
|
24
24
|
validate(attributes?: any, options?: any): any;
|
|
25
25
|
listenTo(object: any, eventMap: Backbone.EventMap): this;
|
|
26
|
-
listenTo(obj: string | Backbone.Events, events: string, callback:
|
|
26
|
+
listenTo(obj: string | Backbone.Events, events: string, callback: (...args: any) => any): this;
|
|
27
27
|
}
|
|
@@ -12,7 +12,7 @@ export declare class BaseNestedModel extends BaseModel {
|
|
|
12
12
|
protected associations: {
|
|
13
13
|
[name: string]: Association;
|
|
14
14
|
};
|
|
15
|
-
set(key: string |
|
|
15
|
+
set(key: string | ObjectHash, value?: any | ModelSetOptions, options?: BaseNestedModelOptions): BaseNestedModel;
|
|
16
16
|
get(attributeName: string): any;
|
|
17
17
|
setAssociation(key: string, value: any, options: BaseNestedModelOptions): BaseModel | BaseCollection<BaseModel>;
|
|
18
18
|
toJSON(...args: any[]): ObjectHash;
|
|
@@ -6,5 +6,5 @@ export declare class BaseService extends Marionette.Object {
|
|
|
6
6
|
name: string;
|
|
7
7
|
constructor(options?: BaseServiceOptions);
|
|
8
8
|
listenTo(object: any, eventMap: Backbone.EventMap): this;
|
|
9
|
-
listenTo(obj: string | Backbone.Events, events: string, callback:
|
|
9
|
+
listenTo(obj: string | Backbone.Events, events: string, callback: (...args: any) => any): this;
|
|
10
10
|
}
|
|
@@ -74,7 +74,7 @@ export declare class CoreView<TModel extends BaseModel = BaseModel> extends Mari
|
|
|
74
74
|
constructor(options?: BaseViewOptions<TModel>);
|
|
75
75
|
appLinks: AppLinkHash;
|
|
76
76
|
normalizeUIKeys: (hash: UIHash) => UIHash;
|
|
77
|
-
static AddViewDataExtension(ext:
|
|
77
|
+
static AddViewDataExtension(ext: (...args: any) => any | Backbone.ObjectHash): void;
|
|
78
78
|
serializeModel(): any;
|
|
79
79
|
serializeCollection(): any[];
|
|
80
80
|
/**
|
|
@@ -99,7 +99,7 @@ export declare class CoreView<TModel extends BaseModel = BaseModel> extends Mari
|
|
|
99
99
|
private hasPartialLoadingRegions;
|
|
100
100
|
protected renderPartialLoading(region?: string): void;
|
|
101
101
|
listenTo(object: any, eventMap: Backbone.EventMap): this;
|
|
102
|
-
listenTo(obj: string | Backbone.Events, events: string, callback:
|
|
102
|
+
listenTo(obj: string | Backbone.Events, events: string, callback: (...args: any) => any): this;
|
|
103
103
|
render(): CoreView<TModel>;
|
|
104
104
|
/** backbone.stickit stuff that is mixed in at run time.
|
|
105
105
|
*
|
|
@@ -27,5 +27,5 @@ export declare class LayoutService extends Marionette.Object {
|
|
|
27
27
|
*/
|
|
28
28
|
private checkRequiredRegions;
|
|
29
29
|
listenTo(object: any, eventMap: Backbone.EventMap): this;
|
|
30
|
-
listenTo(obj: string | Backbone.Events, events: string, callback:
|
|
30
|
+
listenTo(obj: string | Backbone.Events, events: string, callback: (...args: any) => any): this;
|
|
31
31
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="backbone" />
|
|
2
|
-
declare function ListenToRadio(obj: string | Backbone.Events, events: string, callback:
|
|
2
|
+
declare function ListenToRadio(obj: string | Backbone.Events, events: string, callback: (...args: any) => any, originalListenTo: (...args: any) => any): any;
|
|
3
3
|
export { ListenToRadio };
|
|
@@ -74,6 +74,6 @@ export declare class Shell extends Marionette.Application {
|
|
|
74
74
|
store: Store;
|
|
75
75
|
registerStore(store: Store): void;
|
|
76
76
|
listenTo(object: any, eventMap: Backbone.EventMap): this;
|
|
77
|
-
listenTo(obj: string | Backbone.Events, events: string, callback:
|
|
77
|
+
listenTo(obj: string | Backbone.Events, events: string, callback: (...args: any) => any): this;
|
|
78
78
|
}
|
|
79
79
|
export {};
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { ObjectHash } from 'backbone';
|
|
2
|
+
import { HashObject } from "../../react/interfaces";
|
|
2
3
|
export interface BaseCollectionIdentifierOptions<T> {
|
|
3
4
|
collectionPrefix?: string;
|
|
4
5
|
id?: string;
|
|
5
6
|
sort?: T;
|
|
6
7
|
cursor?: string;
|
|
7
8
|
}
|
|
8
|
-
export declare class BaseCollectionIdentifier<T =
|
|
9
|
+
export declare class BaseCollectionIdentifier<T = HashObject> {
|
|
9
10
|
id: string;
|
|
10
11
|
sort: T;
|
|
11
12
|
cursor: string;
|
|
@@ -9,7 +9,7 @@ export interface DataProviderResponseOptions {
|
|
|
9
9
|
export interface DataProvider extends Marionette.Object {
|
|
10
10
|
parseError(...args: any[]): DataServiceError;
|
|
11
11
|
create<T>(resource: string, obj: T, options: DataProviderResponseOptions): void;
|
|
12
|
-
read
|
|
12
|
+
read(resource: string, options: DataProviderResponseOptions): void;
|
|
13
13
|
update<T>(resource: string, obj: T, options: DataProviderResponseOptions): void;
|
|
14
14
|
delete(resource: string, options: DataProviderResponseOptions): void;
|
|
15
15
|
}
|
|
@@ -16,7 +16,7 @@ declare class StaticLanguageService extends BaseService {
|
|
|
16
16
|
get name(): string;
|
|
17
17
|
setConfig(config: LanguageConfig): void;
|
|
18
18
|
getPhrase(namespace: string, phraseKey: string, options?: LanguageInterpolationOptions): string;
|
|
19
|
-
encloseNamespace(namespace: string):
|
|
19
|
+
encloseNamespace(namespace: string): (phraseKey: string, options?: LanguageInterpolationOptions) => string;
|
|
20
20
|
}
|
|
21
21
|
export declare const LanguageService: StaticLanguageService;
|
|
22
22
|
export {};
|
|
@@ -26,6 +26,6 @@ export declare class AjaxDataProvider extends Marionette.Object implements DataP
|
|
|
26
26
|
delete(resource: string, options: DataProviderResponseOptions): void;
|
|
27
27
|
useMiddleware(name: string, callback: MiddlewareCallback): void;
|
|
28
28
|
useErrorMiddleware(name: string, callback: MiddlewareCallback): void;
|
|
29
|
-
parseError(jqXHR: JQuery.jqXHR
|
|
29
|
+
parseError(jqXHR: JQuery.jqXHR): DataServiceError;
|
|
30
30
|
}
|
|
31
31
|
export {};
|
|
@@ -37,10 +37,10 @@ export declare abstract class SignalRDataProvider extends Marionette.Object impl
|
|
|
37
37
|
private setConnectionState;
|
|
38
38
|
private isConnectedOrConnecting;
|
|
39
39
|
create<T>(resource: string, obj: T, options: DataProviderResponseOptions): void;
|
|
40
|
-
read
|
|
40
|
+
read(resource: string, options: DataProviderResponseOptions): void;
|
|
41
41
|
update<T>(resource: string, obj: T, options: DataProviderResponseOptions): void;
|
|
42
42
|
delete(resource: string, options: DataProviderResponseOptions): void;
|
|
43
|
-
parseError(
|
|
43
|
+
parseError(): DataServiceError;
|
|
44
44
|
private rpc;
|
|
45
45
|
private subscribe;
|
|
46
46
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as _ from 'underscore';
|
|
2
2
|
export declare const FunctionHelper: {
|
|
3
|
-
debounce<T extends
|
|
4
|
-
throttle<T_1 extends
|
|
3
|
+
debounce<T extends (...args: any) => any>(fn: T, wait: number, immediate?: boolean): T & _.Cancelable;
|
|
4
|
+
throttle<T_1 extends (...args: any) => any>(fn: T_1, wait: number, options?: _.ThrottleSettings): T_1 & _.Cancelable;
|
|
5
5
|
isFunction(object: any): object is Function;
|
|
6
6
|
useIdentity<T_2>(): (...args: any[]) => T_2;
|
|
7
|
-
memoize<T_3 =
|
|
7
|
+
memoize<T_3 = (...args: any) => any>(fn: T_3, hashFn?: (...args: any[]) => string): T_3;
|
|
8
8
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { BaseView } from "../../backbone/core/BaseView";
|
|
2
|
+
import { BaseView, BaseComponent } from "../../backbone/core/BaseView";
|
|
3
3
|
import { HashObject } from "../interfaces/HashObject";
|
|
4
4
|
interface BackboneViewWrapperProps {
|
|
5
|
-
view: new (options: HashObject) => BaseView;
|
|
5
|
+
view: new (options: HashObject) => (BaseView | BaseComponent);
|
|
6
6
|
options?: HashObject;
|
|
7
7
|
className?: string;
|
|
8
8
|
}
|
|
@@ -7,5 +7,5 @@ interface MiddlewareOptions {
|
|
|
7
7
|
bootstrappedData?: HashObject;
|
|
8
8
|
defaultExpiryTime?: number;
|
|
9
9
|
}
|
|
10
|
-
export declare function createMiddleware(options: MiddlewareOptions): Middleware<
|
|
10
|
+
export declare function createMiddleware(options: MiddlewareOptions): Middleware<HashObject, ApplicationState, Dispatch<AnyAction>>;
|
|
11
11
|
export {};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { Dispatch, Middleware, AnyAction } from 'redux';
|
|
2
2
|
import { ApplicationState } from "../interfaces/ApplicationState";
|
|
3
3
|
import { BaseError } from "../../backbone/core/BaseError";
|
|
4
|
+
import { HashObject } from '../interfaces';
|
|
4
5
|
interface MiddlewareOptions {
|
|
5
6
|
oldVersionError?: BaseError;
|
|
6
7
|
authenticationError?: BaseError;
|
|
7
8
|
}
|
|
8
|
-
export declare function createApplicationMiddleware(options: MiddlewareOptions): Middleware<
|
|
9
|
+
export declare function createApplicationMiddleware(options: MiddlewareOptions): Middleware<HashObject, ApplicationState, Dispatch<AnyAction>>;
|
|
9
10
|
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import * as _ from 'underscore';
|
|
3
|
+
import { HashObject } from '../interfaces';
|
|
3
4
|
declare type Iterator<T, TResult = T> = (value: T, index: number, list: T[]) => TResult;
|
|
4
5
|
export declare const ArrayHelper: {
|
|
5
6
|
first<T>(arr: T[]): T;
|
|
@@ -11,8 +12,8 @@ export declare const ArrayHelper: {
|
|
|
11
12
|
moveItem<T_6>(arr: T_6[], fromIdx: number, toIdx: number): T_6[];
|
|
12
13
|
isEmpty<T_7>(arr: T_7[]): boolean;
|
|
13
14
|
findIndex<T_8>(arr: T_8[], predicate: (item: T_8) => boolean): number;
|
|
14
|
-
findWhere<T_9, U extends
|
|
15
|
-
where<T_10, U_1 extends
|
|
15
|
+
findWhere<T_9, U extends HashObject<any>>(arr: T_9[], properties: U): T_9;
|
|
16
|
+
where<T_10, U_1 extends HashObject<any>>(arr: T_10[], properties: U_1): T_10[];
|
|
16
17
|
groupBy<T_11>(arr: T_11[], property: string): {
|
|
17
18
|
[index: string]: T_11[];
|
|
18
19
|
};
|
|
@@ -37,7 +38,7 @@ export declare const ArrayHelper: {
|
|
|
37
38
|
* @param arr array of values
|
|
38
39
|
* @param iteratee an iterator function or a string name of the property to sort by.
|
|
39
40
|
*/
|
|
40
|
-
sortBy<T_16 extends
|
|
41
|
+
sortBy<T_16 extends HashObject<any>, TSort = T_16>(arr: T_16[], iteratee?: Iterator<T_16, TSort> | keyof T_16): T_16[];
|
|
41
42
|
chunk<T_17>(array: _.Collection<T_17>, count: number): T_17[][];
|
|
42
43
|
uniq<T_18>(array: _.List<T_18>): T_18[];
|
|
43
44
|
};
|
|
@@ -25,8 +25,8 @@ export declare class NotificationsPopoverView extends Core.View {
|
|
|
25
25
|
private getCollectionIdentifier;
|
|
26
26
|
private renderNotificationList;
|
|
27
27
|
/**
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
* Only trigger the notification seen event once the collection has been loaded.
|
|
29
|
+
*/
|
|
30
30
|
private triggerSeen;
|
|
31
31
|
onBeforeRender(): boolean;
|
|
32
32
|
viewOptions(): ObjectHash;
|
|
@@ -8,11 +8,11 @@ export declare const InstantSearchHelper: {
|
|
|
8
8
|
prepareQuery: (query: string, settings: JQueryAjaxSettings, options?: ObjectHash) => string;
|
|
9
9
|
bloodhoundConfig(source: string, options: ObjectHash): RemoteSearch<any>;
|
|
10
10
|
handleResult(data: ObjectHash, item: any, options?: ObjectHash): any[];
|
|
11
|
-
processSubjectResult(collection: any[]
|
|
12
|
-
processVideoResult(collection: any[]
|
|
13
|
-
processTagsResult(collection: any[]
|
|
14
|
-
processSeriesResult(collection: any[]
|
|
15
|
-
processFolderResult(collection: any[]
|
|
11
|
+
processSubjectResult(collection: any[]): any[];
|
|
12
|
+
processVideoResult(collection: any[]): any[];
|
|
13
|
+
processTagsResult(collection: any[]): any[];
|
|
14
|
+
processSeriesResult(collection: any[]): any[];
|
|
15
|
+
processFolderResult(collection: any[]): any[];
|
|
16
16
|
/**
|
|
17
17
|
* Manipulate
|
|
18
18
|
* @param collection
|
|
@@ -21,7 +21,7 @@ export declare const TypeaheadHelper: {
|
|
|
21
21
|
* It must also return <any> as the typeahead typings are shit.
|
|
22
22
|
* - Mike
|
|
23
23
|
*/
|
|
24
|
-
getTemplate(template:
|
|
24
|
+
getTemplate(template: (...args: any) => any, options?: ObjectHash): any;
|
|
25
25
|
/**
|
|
26
26
|
* Provides mechanism to map a single search query against multiple bloodhound sources.
|
|
27
27
|
* Sources may be remote endpoints or local in-memory collections.
|
|
@@ -42,34 +42,34 @@ export declare const TypeaheadHelper: {
|
|
|
42
42
|
* Note: With multiple suggestion sets, the render event will also be called multiple times
|
|
43
43
|
* along with this callback.
|
|
44
44
|
*/
|
|
45
|
-
selectFirstResult(e: JQueryEventObject, suggestions: any[], async: boolean
|
|
45
|
+
selectFirstResult(e: JQueryEventObject, suggestions: any[], async: boolean): void;
|
|
46
46
|
/**
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
emitEventOnInput(channelName: string, eventName: string, type: string, wrapperOptions?: ObjectHash):
|
|
47
|
+
* Callback is designed to be attached to the stickit bindings for the typeahead form
|
|
48
|
+
* and emit events when a change is detected on the bound model. We do this to be
|
|
49
|
+
* able to detect whether an input has cleared from a previous selection,
|
|
50
|
+
*
|
|
51
|
+
* @param channelName
|
|
52
|
+
* @param event
|
|
53
|
+
*/
|
|
54
|
+
emitEventOnInput(channelName: string, eventName: string, type: string, wrapperOptions?: ObjectHash): (...args: any) => any;
|
|
55
55
|
/**
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
resetAssociationOnBlur(data: ObjectHash):
|
|
56
|
+
* I hate this.
|
|
57
|
+
*
|
|
58
|
+
* Basically what this function does is curry a callback with the original association's
|
|
59
|
+
* data. Then, depending on the user's interaction with the typeahead input, it will restore that
|
|
60
|
+
* data when a blur event is triggered.
|
|
61
|
+
*
|
|
62
|
+
* @param data raw clone of original assoc model
|
|
63
|
+
*
|
|
64
|
+
* Curried callback
|
|
65
|
+
* @param channelName
|
|
66
|
+
* @param propertyName
|
|
67
|
+
*/
|
|
68
|
+
resetAssociationOnBlur(data: ObjectHash): (...args: any) => any;
|
|
69
69
|
/**
|
|
70
70
|
* Create and render ConfirmSelection component for use as a
|
|
71
71
|
* @param options
|
|
72
72
|
*/
|
|
73
|
-
getConfirmSelectionTemplate(options?: ObjectHash):
|
|
73
|
+
getConfirmSelectionTemplate(options?: ObjectHash): (...args: any) => any;
|
|
74
74
|
clearInputOnBlur(channelName: string): void;
|
|
75
75
|
};
|
|
@@ -58,11 +58,11 @@ export declare class SearchBarView extends Core.View {
|
|
|
58
58
|
private updateInitialQuery;
|
|
59
59
|
private logSearch;
|
|
60
60
|
/**
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
61
|
+
* When the user clicks away from the typeahead, the close event will be fired, unbinding the delete
|
|
62
|
+
* event for recent search. Re-selecting the typehead will open it BUT it won't re-fetch the results and
|
|
63
|
+
* render event won't be fired. We need to manually re-bind the click handlers to ensure the delete
|
|
64
|
+
* functionality is retained.
|
|
65
|
+
*/
|
|
66
66
|
private onTypeaheadOpen;
|
|
67
67
|
private onBeforeTypeaheadClose;
|
|
68
68
|
private onTypeaheadClose;
|
package/dist/libs/shared/src/apps/subjects/components/preferences/footer/PreferenceFooter.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
interface PreferenceFooterProps extends React.PropsWithChildren<
|
|
2
|
+
interface PreferenceFooterProps extends React.PropsWithChildren<unknown> {
|
|
3
3
|
justify?: 'end' | 'center' | 'between';
|
|
4
4
|
}
|
|
5
5
|
export declare function PreferenceFooter(props: PreferenceFooterProps): JSX.Element;
|
|
@@ -8,7 +8,7 @@ import { DialogOptions } from "../../../../interfaces";
|
|
|
8
8
|
* https://www.iana.org/assignments/media-types/media-types.xhtml
|
|
9
9
|
*/
|
|
10
10
|
export declare class FileTypeError extends DialogError {
|
|
11
|
-
constructor(message: string
|
|
11
|
+
constructor(message: string);
|
|
12
12
|
get name(): string;
|
|
13
13
|
get lang(): string;
|
|
14
14
|
get dialogOptions(): DialogOptions;
|
|
@@ -11,6 +11,7 @@ interface BannerHeaderProps {
|
|
|
11
11
|
backButtonText?: string;
|
|
12
12
|
backButtonClasses?: string;
|
|
13
13
|
sortComponent?: JSX.Element;
|
|
14
|
+
blockColourClass?: string;
|
|
14
15
|
}
|
|
15
16
|
export declare const BannerHeader: React.NamedExoticComponent<BannerHeaderProps>;
|
|
16
17
|
export declare const PartialBannerHeader: () => JSX.Element;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
interface FileSelectButtonProps {
|
|
3
|
+
onFileSelect: (files: FileList) => void;
|
|
4
|
+
className?: string;
|
|
5
|
+
svgName?: string;
|
|
6
|
+
acceptMultiple?: boolean;
|
|
7
|
+
mimeType?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare function FileSelectButton(props: React.PropsWithChildren<FileSelectButtonProps>): JSX.Element;
|
|
10
|
+
export declare namespace FileSelectButton {
|
|
11
|
+
var defaultProps: {
|
|
12
|
+
className: string;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
export {};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ButtonProps } from 'react-bootstrap';
|
|
3
|
+
import { HashObject } from "../../../../../common/src/react/interfaces";
|
|
3
4
|
interface FormButtonsProps {
|
|
4
5
|
isNew: boolean;
|
|
5
6
|
hasNext?: boolean;
|
|
6
7
|
submitText?: string;
|
|
7
8
|
variant?: ButtonProps['variant'];
|
|
8
9
|
}
|
|
9
|
-
export declare function FormButtons<Values extends
|
|
10
|
+
export declare function FormButtons<Values extends HashObject>(props: FormButtonsProps): JSX.Element;
|
|
10
11
|
export {};
|
|
@@ -4,4 +4,4 @@ import { FormFieldProps } from '../form-field/FormField';
|
|
|
4
4
|
/**
|
|
5
5
|
* Use this checkbox within Formik contexts
|
|
6
6
|
*/
|
|
7
|
-
export declare function FormCheckbox
|
|
7
|
+
export declare function FormCheckbox(props: FieldAttributes<FormFieldProps>): JSX.Element;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
2
|
+
import { HashObject } from "../../../../../common/src/react/interfaces";
|
|
3
|
+
interface CharacterCounterProps<Values extends HashObject> {
|
|
3
4
|
fieldName: keyof Values;
|
|
4
5
|
limit: number;
|
|
5
6
|
}
|
|
6
|
-
export declare function CharacterCounter<Values extends
|
|
7
|
+
export declare function CharacterCounter<Values extends HashObject>(props: CharacterCounterProps<Values>): JSX.Element;
|
|
7
8
|
export {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { FieldAttributes, FieldProps } from 'formik';
|
|
3
|
-
|
|
3
|
+
import { HashObject } from "../../../../../common/src/react/interfaces";
|
|
4
|
+
export interface FormFieldProps {
|
|
4
5
|
/**
|
|
5
6
|
* The name prop MUST be the same as the attribute
|
|
6
7
|
* name of the value that the field is bound to.
|
|
@@ -10,7 +11,7 @@ export interface FormFieldProps<Values extends object> {
|
|
|
10
11
|
children?: ((props: FieldProps) => React.ReactNode) | React.ReactNode;
|
|
11
12
|
showCharacterCounter?: boolean;
|
|
12
13
|
}
|
|
13
|
-
export declare function FieldWrapper
|
|
14
|
+
export declare function FieldWrapper(props: FieldAttributes<FormFieldProps> & {
|
|
14
15
|
className: string;
|
|
15
16
|
}): React.ReactElement;
|
|
16
|
-
export declare function FormField<Values extends
|
|
17
|
+
export declare function FormField<Values extends HashObject>(props: FieldAttributes<FormFieldProps>): React.ReactElement;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { FormikValues, FormikConfig, FormikContextType } from 'formik';
|
|
3
|
+
import { HashObject } from "../../../../../common/src/react/interfaces";
|
|
3
4
|
declare type ModifiedFormikConfig<Values extends FormikValues> = Omit<FormikConfig<Values>, 'initialValues' | 'onSubmit'>;
|
|
4
5
|
interface FormWrapperProps<FormValues extends FormikValues, ApiValues extends FormikValues> {
|
|
5
6
|
initialValues: FormValues | ApiValues;
|
|
@@ -9,7 +10,7 @@ interface FormWrapperProps<FormValues extends FormikValues, ApiValues extends Fo
|
|
|
9
10
|
allowInitialSubmit?: boolean;
|
|
10
11
|
resetOnSubmit?: boolean;
|
|
11
12
|
}
|
|
12
|
-
export declare function FormWrapper<FormValues extends FormikValues = FormikValues, ApiValues extends FormikValues = FormikValues, ExtraProps =
|
|
13
|
+
export declare function FormWrapper<FormValues extends FormikValues = FormikValues, ApiValues extends FormikValues = FormikValues, ExtraProps = HashObject>(props: ModifiedFormikConfig<FormValues> & ExtraProps & FormWrapperProps<FormValues, ApiValues>): JSX.Element;
|
|
13
14
|
export declare namespace FormWrapper {
|
|
14
15
|
var defaultProps: {
|
|
15
16
|
castInitialValues: boolean;
|
|
@@ -1,4 +1,17 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { HashObject } from "../../../../common/src/react/interfaces";
|
|
3
|
+
import { Core } from "../../../../common/src/backbone";
|
|
4
|
+
import { AnalyticsOptions } from "../../../../analytics/src/interfaces";
|
|
5
|
+
export interface HeaderButton {
|
|
6
|
+
appLink?: Core.AppLink;
|
|
7
|
+
onClick?: (e: React.MouseEvent) => void;
|
|
8
|
+
svgName?: string;
|
|
9
|
+
className?: string;
|
|
10
|
+
tooltip?: string;
|
|
11
|
+
showSpinner?: boolean;
|
|
12
|
+
analyticsData?: HashObject;
|
|
13
|
+
analyticsOptions?: AnalyticsOptions;
|
|
14
|
+
}
|
|
2
15
|
interface PopupProps {
|
|
3
16
|
title?: string;
|
|
4
17
|
closeButton?: boolean;
|
|
@@ -6,6 +19,7 @@ interface PopupProps {
|
|
|
6
19
|
onEntered?: () => void;
|
|
7
20
|
size?: 'sm' | 'lg' | 'xl';
|
|
8
21
|
showLoadingSpinner?: boolean;
|
|
22
|
+
headerButtons?: HeaderButton[];
|
|
9
23
|
}
|
|
10
24
|
export declare function Popup(props: React.PropsWithChildren<PopupProps>): React.ReactElement;
|
|
11
25
|
export declare namespace Popup {
|