@clickview/lite 0.0.25 → 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 +2 -15
- package/dist/css/39.chunk.css +2 -4
- package/dist/css/4.chunk.css +8 -0
- package/dist/css/40.chunk.css +4 -4
- package/dist/css/41.chunk.css +2 -38
- package/dist/css/45.chunk.css +2 -36
- package/dist/css/52.chunk.css +1 -51
- package/dist/css/53.chunk.css +3 -1
- package/dist/css/54.chunk.css +1 -1
- package/dist/css/56.chunk.css +1 -13
- package/dist/css/57.chunk.css +1 -13
- package/dist/css/7.chunk.css +2 -92
- 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 +5 -4
- package/dist/libs/common/src/react/utils/FetchHelper.d.ts +1 -1
- package/dist/libs/common/src/react/utils/TextHelper.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/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 +3 -2
- 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/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/ThemeRequests.d.ts +2 -0
- package/dist/libs/shared/src/flight-requests/UserRequests.d.ts +3 -1
- 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/index.d.ts +1 -0
- package/dist/libs/shared/src/interfaces/models/Config.d.ts +2 -0
- package/dist/libs/shared/src/interfaces/models/Glance.d.ts +2 -0
- package/dist/libs/shared/src/interfaces/models/Link.d.ts +1 -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/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/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/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/{39-5df3077ac3.chunk.js → 43-4cc515550a.chunk.js} +1 -1
- package/dist/scripts/{41-2b44a2e66f.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-4874473c9d.chunk.js → 57-16ef135200.chunk.js} +1 -1
- package/dist/scripts/58-1478dbceb8.chunk.js +1 -0
- package/dist/scripts/{56-db73243d04.chunk.js → 59-577a06a87a.chunk.js} +1 -1
- package/dist/scripts/6-68be86ae02.chunk.js +1 -0
- package/dist/scripts/{58-9a32a6fb2d.chunk.js → 60-da28194427.chunk.js} +1 -1
- package/dist/scripts/{58-4d5ed35434.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-87c1cf6985.chunk.js → 66-68028b1816.chunk.js} +1 -1
- package/dist/scripts/{65-2322082836.chunk.js → 67-dd69ffa06f.chunk.js} +1 -1
- package/dist/scripts/{66-6d5356f6ce.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/{66-dc4b036321.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/0.chunk.css.map +0 -1
- package/dist/css/1.chunk.css +0 -223
- package/dist/css/1.chunk.css.map +0 -1
- package/dist/css/10.chunk.css +0 -106
- package/dist/css/10.chunk.css.map +0 -1
- package/dist/css/11.chunk.css +0 -26
- package/dist/css/11.chunk.css.map +0 -1
- package/dist/css/12.chunk.css +0 -10
- package/dist/css/12.chunk.css.map +0 -1
- package/dist/css/13.chunk.css.map +0 -1
- package/dist/css/14.chunk.css.map +0 -1
- package/dist/css/15.chunk.css.map +0 -1
- package/dist/css/16.chunk.css.map +0 -1
- package/dist/css/17.chunk.css.map +0 -1
- package/dist/css/18.chunk.css.map +0 -1
- package/dist/css/19.chunk.css.map +0 -1
- package/dist/css/2.chunk.css.map +0 -1
- package/dist/css/20.chunk.css.map +0 -1
- package/dist/css/21.chunk.css.map +0 -1
- package/dist/css/22.chunk.css.map +0 -1
- package/dist/css/23.chunk.css.map +0 -1
- package/dist/css/24.chunk.css.map +0 -1
- package/dist/css/25.chunk.css.map +0 -1
- package/dist/css/26.chunk.css.map +0 -1
- package/dist/css/27.chunk.css.map +0 -1
- package/dist/css/28.chunk.css.map +0 -1
- package/dist/css/29.chunk.css.map +0 -1
- package/dist/css/3.chunk.css.map +0 -1
- package/dist/css/30.chunk.css.map +0 -1
- package/dist/css/31.chunk.css +0 -4
- package/dist/css/31.chunk.css.map +0 -1
- package/dist/css/32.chunk.css.map +0 -1
- package/dist/css/33.chunk.css.map +0 -1
- package/dist/css/34.chunk.css.map +0 -1
- package/dist/css/35.chunk.css +0 -6
- package/dist/css/35.chunk.css.map +0 -1
- package/dist/css/36.chunk.css +0 -4
- package/dist/css/36.chunk.css.map +0 -1
- package/dist/css/37.chunk.css.map +0 -1
- package/dist/css/38.chunk.css.map +0 -1
- package/dist/css/39.chunk.css.map +0 -1
- package/dist/css/4.chunk.css.map +0 -1
- package/dist/css/40.chunk.css.map +0 -1
- package/dist/css/41.chunk.css.map +0 -1
- package/dist/css/42.chunk.css +0 -14
- package/dist/css/42.chunk.css.map +0 -1
- package/dist/css/43.chunk.css +0 -38
- package/dist/css/43.chunk.css.map +0 -1
- package/dist/css/44.chunk.css +0 -14
- package/dist/css/44.chunk.css.map +0 -1
- package/dist/css/45.chunk.css.map +0 -1
- package/dist/css/46.chunk.css +0 -52
- package/dist/css/46.chunk.css.map +0 -1
- package/dist/css/47.chunk.css +0 -4
- package/dist/css/5.chunk.css.map +0 -1
- package/dist/css/50.chunk.css +0 -52
- package/dist/css/50.chunk.css.map +0 -1
- package/dist/css/51.chunk.css +0 -2
- package/dist/css/52.chunk.css.map +0 -1
- package/dist/css/53.chunk.css.map +0 -1
- package/dist/css/54.chunk.css.map +0 -1
- package/dist/css/55.chunk.css +0 -2
- package/dist/css/55.chunk.css.map +0 -1
- package/dist/css/56.chunk.css.map +0 -1
- package/dist/css/57.chunk.css.map +0 -1
- package/dist/css/58.chunk.css +0 -43
- package/dist/css/58.chunk.css.map +0 -1
- package/dist/css/59.chunk.css +0 -14
- package/dist/css/59.chunk.css.map +0 -1
- package/dist/css/6.chunk.css.map +0 -1
- package/dist/css/60.chunk.css +0 -43
- package/dist/css/60.chunk.css.map +0 -1
- package/dist/css/7.chunk.css.map +0 -1
- package/dist/css/79.chunk.css +0 -58
- package/dist/css/79.chunk.css.map +0 -1
- package/dist/css/8.chunk.css +0 -54
- package/dist/css/8.chunk.css.map +0 -1
- package/dist/css/82.chunk.css +0 -28
- package/dist/css/82.chunk.css.map +0 -1
- package/dist/css/83.chunk.css +0 -11
- package/dist/css/83.chunk.css.map +0 -1
- package/dist/css/84.chunk.css +0 -152
- package/dist/css/84.chunk.css.map +0 -1
- package/dist/css/85.chunk.css +0 -21
- package/dist/css/85.chunk.css.map +0 -1
- package/dist/css/86.chunk.css +0 -17
- package/dist/css/86.chunk.css.map +0 -1
- package/dist/css/87.chunk.css +0 -21
- package/dist/css/87.chunk.css.map +0 -1
- package/dist/css/88.chunk.css +0 -5
- package/dist/css/88.chunk.css.map +0 -1
- package/dist/css/90.chunk.css +0 -38
- package/dist/css/90.chunk.css.map +0 -1
- package/dist/css/lite-app.css.map +0 -1
- 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/components/thumbnails/video/VideoThumbnailWatchProgressBar.d.ts +0 -8
- package/dist/libs/shared/src/components/video-list/components/video-item-badges/VideoItemBadges.d.ts +0 -7
- package/dist/libs/shared/src/components/video-list/components/video-item-description/UseTruncateText.d.ts +0 -9
- 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/upload/views/my-uploads/DismissibleAlert.d.ts +0 -2
- package/dist/projects/lite/src/apps/upload/views/my-uploads/MyUploadsView.d.ts +0 -6
- 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/clips/ClipItem.d.ts +0 -8
- package/dist/projects/lite/src/shared/components/clips/Clips.d.ts +0 -7
- package/dist/projects/lite/src/shared/components/interactives/InteractiveItem.d.ts +0 -7
- package/dist/projects/lite/src/shared/components/interactives/Interactives.d.ts +0 -7
- package/dist/projects/lite/src/shared/components/play-page/Buttons.d.ts +0 -7
- package/dist/projects/lite/src/shared/components/web-player/WebPlayer.d.ts +0 -9
- package/dist/scripts/0-1d51c87483.chunk.js +0 -1
- package/dist/scripts/0-702db3d74c.chunk.js +0 -1
- package/dist/scripts/0-b02efe11fb.chunk.js +0 -1
- package/dist/scripts/0-bf0af5f75c.chunk.js +0 -1
- package/dist/scripts/0.chunk.js +0 -355
- package/dist/scripts/0.chunk.js.map +0 -1
- package/dist/scripts/1-4f19a5caea.chunk.js +0 -17
- package/dist/scripts/1-b20a2dd250.chunk.js +0 -17
- package/dist/scripts/1-d1ce3fe6e8.chunk.js +0 -17
- package/dist/scripts/1-fcddc988fa.chunk.js +0 -17
- package/dist/scripts/1.chunk.js +0 -1031
- package/dist/scripts/1.chunk.js.map +0 -1
- package/dist/scripts/10.chunk.js +0 -619
- package/dist/scripts/10.chunk.js.map +0 -1
- package/dist/scripts/11-32e30d10ce.chunk.js +0 -1
- package/dist/scripts/11-6e7f935551.chunk.js +0 -1
- package/dist/scripts/11-e2f313f85e.chunk.js +0 -1
- package/dist/scripts/11.chunk.js +0 -445
- package/dist/scripts/11.chunk.js.map +0 -1
- package/dist/scripts/12-72a5373486.chunk.js +0 -1
- package/dist/scripts/12-7e1380d9fa.chunk.js +0 -1
- package/dist/scripts/12-c7f5866361.chunk.js +0 -1
- package/dist/scripts/12-fa7004b555.chunk.js +0 -1
- package/dist/scripts/12.chunk.js +0 -1533
- package/dist/scripts/12.chunk.js.map +0 -1
- package/dist/scripts/13-1cd85ad3ee.chunk.js +0 -1
- package/dist/scripts/13-4245983c0a.chunk.js +0 -1
- package/dist/scripts/13-95937e4149.chunk.js +0 -1
- package/dist/scripts/13-ec41bdbbbe.chunk.js +0 -1
- package/dist/scripts/13.chunk.js +0 -469
- package/dist/scripts/13.chunk.js.map +0 -1
- package/dist/scripts/14-03b4af57e1.chunk.js +0 -1
- package/dist/scripts/14-3d60b8ee85.chunk.js +0 -1
- package/dist/scripts/14-62608fc1de.chunk.js +0 -1
- package/dist/scripts/14-eba60049a5.chunk.js +0 -1
- package/dist/scripts/14.chunk.js +0 -930
- package/dist/scripts/14.chunk.js.map +0 -1
- package/dist/scripts/15-379cb5f586.chunk.js +0 -1
- package/dist/scripts/15-3da33fa6d0.chunk.js +0 -1
- package/dist/scripts/15-90226fb996.chunk.js +0 -1
- package/dist/scripts/15-d811a90e8d.chunk.js +0 -1
- package/dist/scripts/15.chunk.js +0 -437
- package/dist/scripts/15.chunk.js.map +0 -1
- package/dist/scripts/16-00e83a6d12.chunk.js +0 -1
- package/dist/scripts/16-885363ce46.chunk.js +0 -1
- package/dist/scripts/16-913b2535ea.chunk.js +0 -1
- package/dist/scripts/16-9fdbeac822.chunk.js +0 -1
- package/dist/scripts/16.chunk.js +0 -633
- package/dist/scripts/16.chunk.js.map +0 -1
- package/dist/scripts/17-2b6bf7febc.chunk.js +0 -1
- package/dist/scripts/17-6d597b8323.chunk.js +0 -1
- package/dist/scripts/17-c62d5aa7f2.chunk.js +0 -1
- package/dist/scripts/17-d6c19ccb60.chunk.js +0 -1
- package/dist/scripts/17.chunk.js +0 -356
- package/dist/scripts/17.chunk.js.map +0 -1
- package/dist/scripts/18-33efcac0c6.chunk.js +0 -1
- package/dist/scripts/18-5affadddcc.chunk.js +0 -1
- package/dist/scripts/18-69049350eb.chunk.js +0 -1
- package/dist/scripts/18-d3af229f1f.chunk.js +0 -1
- package/dist/scripts/18.chunk.js +0 -339
- package/dist/scripts/18.chunk.js.map +0 -1
- package/dist/scripts/19-17ffa1078f.chunk.js +0 -1
- package/dist/scripts/19-2380200cfb.chunk.js +0 -1
- package/dist/scripts/19-d394ae9543.chunk.js +0 -1
- package/dist/scripts/19-f0550464de.chunk.js +0 -1
- package/dist/scripts/19.chunk.js +0 -506
- package/dist/scripts/19.chunk.js.map +0 -1
- package/dist/scripts/2-53e37c2047.chunk.js +0 -1
- package/dist/scripts/2-6aad743aee.chunk.js +0 -1
- package/dist/scripts/2-c47e1da13a.chunk.js +0 -1
- package/dist/scripts/2-f455e81583.chunk.js +0 -1
- package/dist/scripts/2.chunk.js +0 -18851
- package/dist/scripts/2.chunk.js.map +0 -1
- package/dist/scripts/20-81a48ca4fa.chunk.js +0 -1
- package/dist/scripts/20-81c863da2f.chunk.js +0 -1
- package/dist/scripts/20-ca85f0514e.chunk.js +0 -1
- package/dist/scripts/20-e20c4c0645.chunk.js +0 -1
- package/dist/scripts/20.chunk.js +0 -1942
- package/dist/scripts/20.chunk.js.map +0 -1
- package/dist/scripts/21-8b195ab041.chunk.js +0 -1
- package/dist/scripts/21-c28f436ec9.chunk.js +0 -1
- package/dist/scripts/21-ef4a226771.chunk.js +0 -1
- package/dist/scripts/21-f6ff589cb4.chunk.js +0 -1
- package/dist/scripts/21.chunk.js +0 -1544
- package/dist/scripts/21.chunk.js.map +0 -1
- package/dist/scripts/22-8a60335dfb.chunk.js +0 -1
- package/dist/scripts/22-99c04e164f.chunk.js +0 -1
- package/dist/scripts/22-f458cb647a.chunk.js +0 -1
- package/dist/scripts/22-fe35a069b2.chunk.js +0 -1
- package/dist/scripts/22.chunk.js +0 -1338
- package/dist/scripts/22.chunk.js.map +0 -1
- package/dist/scripts/23-028eb81a43.chunk.js +0 -1
- package/dist/scripts/23-62d1922569.chunk.js +0 -1
- package/dist/scripts/23-633a2d5b09.chunk.js +0 -1
- package/dist/scripts/23-bb1e2bfb90.chunk.js +0 -1
- package/dist/scripts/23.chunk.js +0 -749
- package/dist/scripts/23.chunk.js.map +0 -1
- package/dist/scripts/24-68f8df3eca.chunk.js +0 -1
- package/dist/scripts/24-765209316d.chunk.js +0 -1
- package/dist/scripts/24-7924828128.chunk.js +0 -1
- package/dist/scripts/24-a254eb1f32.chunk.js +0 -1
- package/dist/scripts/24.chunk.js +0 -1207
- package/dist/scripts/24.chunk.js.map +0 -1
- package/dist/scripts/25-663dfb4e48.chunk.js +0 -1
- package/dist/scripts/25-7ad07f87d4.chunk.js +0 -1
- package/dist/scripts/25-93218e513e.chunk.js +0 -1
- package/dist/scripts/25-db170bd5e3.chunk.js +0 -1
- package/dist/scripts/25.chunk.js +0 -750
- package/dist/scripts/25.chunk.js.map +0 -1
- package/dist/scripts/26-93c9661292.chunk.js +0 -1
- package/dist/scripts/26-a4a0b97207.chunk.js +0 -1
- package/dist/scripts/26-ef5709d204.chunk.js +0 -1
- package/dist/scripts/26-f3dcacfe4f.chunk.js +0 -1
- package/dist/scripts/26.chunk.js +0 -826
- package/dist/scripts/26.chunk.js.map +0 -1
- package/dist/scripts/27-35820f00f1.chunk.js +0 -1
- package/dist/scripts/27-400831ca44.chunk.js +0 -1
- package/dist/scripts/27-8a4d69f288.chunk.js +0 -1
- package/dist/scripts/27-e844268f38.chunk.js +0 -1
- package/dist/scripts/27.chunk.js +0 -658
- package/dist/scripts/27.chunk.js.map +0 -1
- package/dist/scripts/28-0730152b25.chunk.js +0 -1
- package/dist/scripts/28-22cbd36128.chunk.js +0 -1
- package/dist/scripts/28-853bc5de1f.chunk.js +0 -1
- package/dist/scripts/28-930e7d5870.chunk.js +0 -1
- package/dist/scripts/28.chunk.js +0 -692
- package/dist/scripts/28.chunk.js.map +0 -1
- package/dist/scripts/29-965aa23b96.chunk.js +0 -1
- package/dist/scripts/29-b164ecafe9.chunk.js +0 -1
- package/dist/scripts/29-d6f6b32986.chunk.js +0 -1
- package/dist/scripts/29-e0f2036314.chunk.js +0 -1
- package/dist/scripts/29.chunk.js +0 -562
- package/dist/scripts/29.chunk.js.map +0 -1
- package/dist/scripts/3-02219d10d4.chunk.js +0 -7
- package/dist/scripts/3-0ce5d8bff2.chunk.js +0 -7
- package/dist/scripts/3-a1bd8c9016.chunk.js +0 -7
- package/dist/scripts/3-f64ba09964.chunk.js +0 -7
- package/dist/scripts/3.chunk.js +0 -800
- package/dist/scripts/3.chunk.js.map +0 -1
- package/dist/scripts/30-13106255a1.chunk.js +0 -1
- package/dist/scripts/30-2cfcf52ea1.chunk.js +0 -1
- package/dist/scripts/30-77202cb6be.chunk.js +0 -1
- package/dist/scripts/30-c93abab057.chunk.js +0 -1
- package/dist/scripts/30.chunk.js +0 -767
- package/dist/scripts/30.chunk.js.map +0 -1
- package/dist/scripts/31-1307509953.chunk.js +0 -1
- package/dist/scripts/31-9d4e38eb3e.chunk.js +0 -1
- package/dist/scripts/31-e3ee095203.chunk.js +0 -1
- package/dist/scripts/31-e6a8291d2f.chunk.js +0 -1
- package/dist/scripts/31.chunk.js +0 -468
- package/dist/scripts/31.chunk.js.map +0 -1
- package/dist/scripts/32-40ed1dd894.chunk.js +0 -1
- package/dist/scripts/32-7030dc98ed.chunk.js +0 -1
- package/dist/scripts/32-88a7177e95.chunk.js +0 -1
- package/dist/scripts/32-8ec5bb19f5.chunk.js +0 -1
- package/dist/scripts/32.chunk.js +0 -441
- package/dist/scripts/32.chunk.js.map +0 -1
- package/dist/scripts/33-47b0ac90bd.chunk.js +0 -1
- package/dist/scripts/33-85222ccf93.chunk.js +0 -1
- package/dist/scripts/33-8740c874b3.chunk.js +0 -1
- package/dist/scripts/33-93b8d74603.chunk.js +0 -1
- package/dist/scripts/33.chunk.js +0 -829
- package/dist/scripts/33.chunk.js.map +0 -1
- package/dist/scripts/34-2de007b628.chunk.js +0 -1
- package/dist/scripts/34-6113635e43.chunk.js +0 -1
- package/dist/scripts/34-81e4464339.chunk.js +0 -1
- package/dist/scripts/34-ada5bfd254.chunk.js +0 -1
- package/dist/scripts/34.chunk.js +0 -622
- package/dist/scripts/34.chunk.js.map +0 -1
- package/dist/scripts/35-0ff2658139.chunk.js +0 -1
- package/dist/scripts/35-329132fe49.chunk.js +0 -1
- package/dist/scripts/35-3eb6fe74fc.chunk.js +0 -1
- package/dist/scripts/35-d2fb66920b.chunk.js +0 -1
- package/dist/scripts/35.chunk.js +0 -962
- package/dist/scripts/35.chunk.js.map +0 -1
- package/dist/scripts/36-0532d93a26.chunk.js +0 -1
- package/dist/scripts/36-0d6e16e354.chunk.js +0 -1
- package/dist/scripts/36-3bfbb52684.chunk.js +0 -1
- package/dist/scripts/36-bc85df33de.chunk.js +0 -1
- package/dist/scripts/36.chunk.js +0 -545
- package/dist/scripts/36.chunk.js.map +0 -1
- package/dist/scripts/37-010a76757b.chunk.js +0 -1
- package/dist/scripts/37-10fe5a06a5.chunk.js +0 -1
- package/dist/scripts/37-3e5e429c93.chunk.js +0 -1
- package/dist/scripts/37-e26652840b.chunk.js +0 -1
- package/dist/scripts/37.chunk.js +0 -627
- package/dist/scripts/37.chunk.js.map +0 -1
- package/dist/scripts/38-0b6a6b9619.chunk.js +0 -1
- package/dist/scripts/38-31744f9ae7.chunk.js +0 -1
- package/dist/scripts/38-76dc0e356d.chunk.js +0 -1
- package/dist/scripts/38-d60741eca8.chunk.js +0 -1
- package/dist/scripts/38.chunk.js +0 -943
- package/dist/scripts/38.chunk.js.map +0 -1
- package/dist/scripts/39-4b26fafe13.chunk.js +0 -1
- package/dist/scripts/39-6549f483c6.chunk.js +0 -1
- package/dist/scripts/39-b38f2afcd9.chunk.js +0 -1
- package/dist/scripts/39.chunk.js +0 -585
- package/dist/scripts/39.chunk.js.map +0 -1
- package/dist/scripts/4-0dd0a25c20.chunk.js +0 -1
- package/dist/scripts/4-3b38074599.chunk.js +0 -1
- package/dist/scripts/4-9e83a22d7a.chunk.js +0 -1
- package/dist/scripts/4-d5bec07430.chunk.js +0 -1
- package/dist/scripts/4.chunk.js +0 -403
- package/dist/scripts/4.chunk.js.map +0 -1
- package/dist/scripts/40-2b7ac55647.chunk.js +0 -1
- package/dist/scripts/40-6e3500fafc.chunk.js +0 -1
- package/dist/scripts/40-8e6e9d285f.chunk.js +0 -1
- package/dist/scripts/40-fa1b51a3e0.chunk.js +0 -1
- package/dist/scripts/40.chunk.js +0 -273
- package/dist/scripts/40.chunk.js.map +0 -1
- package/dist/scripts/41-2e358dbf59.chunk.js +0 -1
- package/dist/scripts/41-9a07dd3c06.chunk.js +0 -1
- package/dist/scripts/41-cde309348b.chunk.js +0 -1
- package/dist/scripts/41.chunk.js +0 -252
- package/dist/scripts/41.chunk.js.map +0 -1
- package/dist/scripts/42-4f9c639481.chunk.js +0 -1
- package/dist/scripts/42-680fb45a87.chunk.js +0 -1
- package/dist/scripts/42-9e75f420d8.chunk.js +0 -1
- package/dist/scripts/42-a612da3a86.chunk.js +0 -1
- package/dist/scripts/42.chunk.js +0 -464
- package/dist/scripts/42.chunk.js.map +0 -1
- package/dist/scripts/43-1141245420.chunk.js +0 -1
- package/dist/scripts/43-3818cf7ed2.chunk.js +0 -1
- package/dist/scripts/43-cb8bdb3d8f.chunk.js +0 -1
- package/dist/scripts/43-d2fb4006f3.chunk.js +0 -1
- package/dist/scripts/43.chunk.js +0 -345
- package/dist/scripts/43.chunk.js.map +0 -1
- package/dist/scripts/44-0648e8e28f.chunk.js +0 -1
- package/dist/scripts/44-9bc4201e0f.chunk.js +0 -1
- package/dist/scripts/44-b959741f1f.chunk.js +0 -1
- package/dist/scripts/44-f4e93786c0.chunk.js +0 -1
- package/dist/scripts/44.chunk.js +0 -537
- package/dist/scripts/44.chunk.js.map +0 -1
- package/dist/scripts/45-21e213d97e.chunk.js +0 -1
- package/dist/scripts/45-23e64d06ed.chunk.js +0 -1
- package/dist/scripts/45-586cefa5b3.chunk.js +0 -1
- package/dist/scripts/45-5ded8ca3db.chunk.js +0 -1
- package/dist/scripts/45.chunk.js +0 -221
- package/dist/scripts/45.chunk.js.map +0 -1
- package/dist/scripts/46-273127f163.chunk.js +0 -1
- package/dist/scripts/46-2afd7ee1fb.chunk.js +0 -1
- package/dist/scripts/46-3847eb7655.chunk.js +0 -1
- package/dist/scripts/46-8b4730ff48.chunk.js +0 -1
- package/dist/scripts/46.chunk.js +0 -230
- package/dist/scripts/46.chunk.js.map +0 -1
- package/dist/scripts/47-86e38a1468.chunk.js +0 -1
- package/dist/scripts/47-ab30686138.chunk.js +0 -1
- package/dist/scripts/47-c4c6264df4.chunk.js +0 -1
- package/dist/scripts/47.chunk.js +0 -408
- package/dist/scripts/47.chunk.js.map +0 -1
- package/dist/scripts/48-54817c0e78.chunk.js +0 -1
- package/dist/scripts/48-54db253a8c.chunk.js +0 -1
- package/dist/scripts/48-92bbddf27d.chunk.js +0 -1
- package/dist/scripts/48-d9cd99d55e.chunk.js +0 -1
- package/dist/scripts/48.chunk.js +0 -241
- package/dist/scripts/48.chunk.js.map +0 -1
- package/dist/scripts/49-0826d62735.chunk.js +0 -1
- package/dist/scripts/49-6a65a3f865.chunk.js +0 -1
- package/dist/scripts/49-702676e587.chunk.js +0 -1
- package/dist/scripts/49-f43a08f90b.chunk.js +0 -1
- package/dist/scripts/49.chunk.js +0 -249
- package/dist/scripts/49.chunk.js.map +0 -1
- package/dist/scripts/5-202373c80b.chunk.js +0 -1
- package/dist/scripts/5-52c2070b12.chunk.js +0 -1
- package/dist/scripts/5-974660e17b.chunk.js +0 -1
- package/dist/scripts/5-e47ccdc9aa.chunk.js +0 -1
- package/dist/scripts/5.chunk.js +0 -1161
- package/dist/scripts/5.chunk.js.map +0 -1
- package/dist/scripts/50-76d7668c64.chunk.js +0 -1
- package/dist/scripts/50-8069668f8a.chunk.js +0 -1
- package/dist/scripts/50-af699c531e.chunk.js +0 -1
- package/dist/scripts/50-e94493066c.chunk.js +0 -1
- package/dist/scripts/50.chunk.js +0 -132
- package/dist/scripts/50.chunk.js.map +0 -1
- package/dist/scripts/51-6177cd4126.chunk.js +0 -1
- package/dist/scripts/51-907ccc689c.chunk.js +0 -1
- package/dist/scripts/51-aa7b835007.chunk.js +0 -1
- package/dist/scripts/51-caf124fbb7.chunk.js +0 -1
- package/dist/scripts/51.chunk.js +0 -230
- package/dist/scripts/51.chunk.js.map +0 -1
- package/dist/scripts/52-805f7fe04d.chunk.js +0 -1
- package/dist/scripts/52-96d9beee16.chunk.js +0 -1
- package/dist/scripts/52-d3494312ce.chunk.js +0 -1
- package/dist/scripts/52-dd5dd9f7f7.chunk.js +0 -1
- package/dist/scripts/52.chunk.js +0 -318
- package/dist/scripts/52.chunk.js.map +0 -1
- package/dist/scripts/53-7d97e2f664.chunk.js +0 -1
- package/dist/scripts/53-b24c780288.chunk.js +0 -1
- package/dist/scripts/53-be20bb20c9.chunk.js +0 -1
- package/dist/scripts/53-d75ca53045.chunk.js +0 -1
- package/dist/scripts/53.chunk.js +0 -212
- package/dist/scripts/53.chunk.js.map +0 -1
- package/dist/scripts/54-2e75bad46f.chunk.js +0 -1
- package/dist/scripts/54-603f252394.chunk.js +0 -1
- package/dist/scripts/54-fdfdb33705.chunk.js +0 -1
- package/dist/scripts/54.chunk.js +0 -108
- package/dist/scripts/54.chunk.js.map +0 -1
- package/dist/scripts/55-306c5a0e4d.chunk.js +0 -1
- package/dist/scripts/55-ed637c4847.chunk.js +0 -1
- package/dist/scripts/55-eea39b3205.chunk.js +0 -1
- package/dist/scripts/55.chunk.js +0 -69
- package/dist/scripts/55.chunk.js.map +0 -1
- package/dist/scripts/56-20237748ba.chunk.js +0 -1
- package/dist/scripts/56-2ed3b5764b.chunk.js +0 -1
- package/dist/scripts/56-ca513946cf.chunk.js +0 -1
- package/dist/scripts/56.chunk.js +0 -209
- package/dist/scripts/56.chunk.js.map +0 -1
- package/dist/scripts/57-d5c787b4e3.chunk.js +0 -1
- package/dist/scripts/57-dfacc1ad90.chunk.js +0 -1
- package/dist/scripts/57-e51101c8a1.chunk.js +0 -1
- package/dist/scripts/57-e76b06192a.chunk.js +0 -1
- package/dist/scripts/57.chunk.js +0 -211
- package/dist/scripts/57.chunk.js.map +0 -1
- package/dist/scripts/58-a8612894ef.chunk.js +0 -1
- package/dist/scripts/58-bb756b517d.chunk.js +0 -1
- package/dist/scripts/58.chunk.js +0 -113
- package/dist/scripts/58.chunk.js.map +0 -1
- package/dist/scripts/59-18ef4c5afb.chunk.js +0 -1
- package/dist/scripts/59-ad37f90eca.chunk.js +0 -1
- package/dist/scripts/59-da8a8c97a9.chunk.js +0 -1
- package/dist/scripts/59-f42476f89d.chunk.js +0 -1
- package/dist/scripts/59.chunk.js +0 -108
- package/dist/scripts/59.chunk.js.map +0 -1
- package/dist/scripts/6-0a53c42432.chunk.js +0 -1
- package/dist/scripts/6-6ac39034e0.chunk.js +0 -1
- package/dist/scripts/6-8ada925fb7.chunk.js +0 -1
- package/dist/scripts/6-bf7446464f.chunk.js +0 -1
- package/dist/scripts/6.chunk.js +0 -423
- package/dist/scripts/6.chunk.js.map +0 -1
- package/dist/scripts/60-41208378cc.chunk.js +0 -1
- package/dist/scripts/60-5713de53e2.chunk.js +0 -1
- package/dist/scripts/60-81ac7ce262.chunk.js +0 -1
- package/dist/scripts/60-f95d0a0a90.chunk.js +0 -1
- package/dist/scripts/60.chunk.js +0 -110
- package/dist/scripts/60.chunk.js.map +0 -1
- package/dist/scripts/61-41c8cb7e0f.chunk.js +0 -1
- package/dist/scripts/61-7d2ad17963.chunk.js +0 -1
- package/dist/scripts/61-85e73cde67.chunk.js +0 -1
- package/dist/scripts/61-8ce5227508.chunk.js +0 -1
- package/dist/scripts/61.chunk.js +0 -161
- package/dist/scripts/61.chunk.js.map +0 -1
- package/dist/scripts/62-62d450716a.chunk.js +0 -1
- package/dist/scripts/62-94874205ae.chunk.js +0 -1
- package/dist/scripts/62-a0a69501ac.chunk.js +0 -1
- package/dist/scripts/62.chunk.js +0 -145
- package/dist/scripts/62.chunk.js.map +0 -1
- package/dist/scripts/63-870238c0d7.chunk.js +0 -1
- package/dist/scripts/63-91623df29f.chunk.js +0 -1
- package/dist/scripts/63-c921b87f3f.chunk.js +0 -1
- package/dist/scripts/63-d423dd59f5.chunk.js +0 -1
- package/dist/scripts/63.chunk.js +0 -139
- package/dist/scripts/63.chunk.js.map +0 -1
- package/dist/scripts/64-c0e959f4bb.chunk.js +0 -1
- package/dist/scripts/64-d280e018c4.chunk.js +0 -1
- package/dist/scripts/64.chunk.js +0 -142
- package/dist/scripts/64.chunk.js.map +0 -1
- package/dist/scripts/65-37ba4bad15.chunk.js +0 -1
- package/dist/scripts/65-3c772a4624.chunk.js +0 -1
- package/dist/scripts/65-f94e7ab2ef.chunk.js +0 -1
- package/dist/scripts/65.chunk.js +0 -170
- package/dist/scripts/65.chunk.js.map +0 -1
- package/dist/scripts/66-a6ac298fa2.chunk.js +0 -1
- package/dist/scripts/66-faeadaa25e.chunk.js +0 -1
- package/dist/scripts/66.chunk.js +0 -172
- package/dist/scripts/66.chunk.js.map +0 -1
- package/dist/scripts/67-2e0d661c52.chunk.js +0 -1
- package/dist/scripts/67-edfc0ba1e9.chunk.js +0 -1
- package/dist/scripts/67.chunk.js +0 -173
- package/dist/scripts/67.chunk.js.map +0 -1
- package/dist/scripts/68.chunk.js +0 -165
- package/dist/scripts/68.chunk.js.map +0 -1
- package/dist/scripts/69.chunk.js +0 -102
- package/dist/scripts/69.chunk.js.map +0 -1
- package/dist/scripts/7-0917af7a17.chunk.js +0 -1
- package/dist/scripts/7-096f5703bd.chunk.js +0 -1
- package/dist/scripts/7-5ac5be64dd.chunk.js +0 -1
- package/dist/scripts/7-81162e12a2.chunk.js +0 -1
- package/dist/scripts/7.chunk.js +0 -2629
- package/dist/scripts/7.chunk.js.map +0 -1
- package/dist/scripts/70.chunk.js +0 -60
- package/dist/scripts/70.chunk.js.map +0 -1
- package/dist/scripts/71.chunk.js +0 -65
- package/dist/scripts/71.chunk.js.map +0 -1
- package/dist/scripts/72.chunk.js +0 -37
- package/dist/scripts/72.chunk.js.map +0 -1
- package/dist/scripts/73.chunk.js +0 -65
- package/dist/scripts/73.chunk.js.map +0 -1
- package/dist/scripts/74.chunk.js +0 -67
- package/dist/scripts/74.chunk.js.map +0 -1
- package/dist/scripts/75.chunk.js +0 -104
- package/dist/scripts/75.chunk.js.map +0 -1
- package/dist/scripts/76.chunk.js +0 -123
- package/dist/scripts/76.chunk.js.map +0 -1
- package/dist/scripts/77.chunk.js +0 -1001
- package/dist/scripts/77.chunk.js.map +0 -1
- package/dist/scripts/78.chunk.js +0 -36
- package/dist/scripts/78.chunk.js.map +0 -1
- package/dist/scripts/79.chunk.js +0 -1001
- package/dist/scripts/79.chunk.js.map +0 -1
- package/dist/scripts/8-0853e12e22.chunk.js +0 -1
- package/dist/scripts/8-7dc2d39ce2.chunk.js +0 -1
- package/dist/scripts/8-95563e3d36.chunk.js +0 -1
- package/dist/scripts/8-a89310bd50.chunk.js +0 -1
- package/dist/scripts/8.chunk.js +0 -24
- package/dist/scripts/8.chunk.js.map +0 -1
- package/dist/scripts/80.chunk.js +0 -36
- package/dist/scripts/80.chunk.js.map +0 -1
- package/dist/scripts/81.chunk.js +0 -619
- package/dist/scripts/81.chunk.js.map +0 -1
- package/dist/scripts/82.chunk.js +0 -437
- package/dist/scripts/82.chunk.js.map +0 -1
- package/dist/scripts/83.chunk.js +0 -633
- package/dist/scripts/83.chunk.js.map +0 -1
- package/dist/scripts/84.chunk.js +0 -1938
- package/dist/scripts/84.chunk.js.map +0 -1
- package/dist/scripts/85.chunk.js +0 -692
- package/dist/scripts/85.chunk.js.map +0 -1
- package/dist/scripts/86.chunk.js +0 -829
- package/dist/scripts/86.chunk.js.map +0 -1
- package/dist/scripts/87.chunk.js +0 -622
- package/dist/scripts/87.chunk.js.map +0 -1
- package/dist/scripts/88.chunk.js +0 -962
- package/dist/scripts/88.chunk.js.map +0 -1
- package/dist/scripts/89.chunk.js +0 -943
- package/dist/scripts/89.chunk.js.map +0 -1
- package/dist/scripts/9-9865a75c99.chunk.js +0 -1
- package/dist/scripts/9.chunk.js +0 -327
- package/dist/scripts/9.chunk.js.map +0 -1
- package/dist/scripts/90.chunk.js +0 -345
- package/dist/scripts/90.chunk.js.map +0 -1
- package/dist/scripts/91.chunk.js +0 -108
- package/dist/scripts/91.chunk.js.map +0 -1
- package/dist/scripts/92.chunk.js +0 -110
- package/dist/scripts/92.chunk.js.map +0 -1
- package/dist/scripts/93.chunk.js +0 -165
- package/dist/scripts/93.chunk.js.map +0 -1
- package/dist/scripts/94.chunk.js +0 -102
- package/dist/scripts/94.chunk.js.map +0 -1
- package/dist/scripts/95.chunk.js +0 -65
- package/dist/scripts/95.chunk.js.map +0 -1
- package/dist/scripts/96.chunk.js +0 -65
- package/dist/scripts/96.chunk.js.map +0 -1
- package/dist/scripts/97.chunk.js +0 -67
- package/dist/scripts/97.chunk.js.map +0 -1
- package/dist/scripts/98.chunk.js +0 -104
- package/dist/scripts/98.chunk.js.map +0 -1
- package/dist/scripts/99.chunk.js +0 -123
- package/dist/scripts/99.chunk.js.map +0 -1
- package/dist/scripts/bundle-0958accd59.min.js +0 -15
- package/dist/scripts/bundle-9ed1e126dd.min.js +0 -15
- package/dist/scripts/bundle-a520bd54ca.min.js +0 -15
- package/dist/scripts/bundle-fef50e5bb9.min.js +0 -15
- package/dist/scripts/bundle.js +0 -47069
- package/dist/scripts/bundle.js.map +0 -1
- package/dist/scripts/pdf.worker.entry.worker.js +0 -46239
- package/dist/scripts/pdf.worker.entry.worker.js.map +0 -1
- package/dist/scripts/polyfills-1f23e4a487.min.js +0 -1
- package/dist/scripts/polyfills-2723daf478.min.js +0 -1
- package/dist/scripts/polyfills-384beac1bd.min.js +0 -1
- package/dist/scripts/polyfills-8a0101e5f1.min.js +0 -1
- package/dist/scripts/polyfills.js +0 -15254
- package/dist/scripts/polyfills.js.map +0 -1
package/dist/scripts/5.chunk.js
DELETED
|
@@ -1,1161 +0,0 @@
|
|
|
1
|
-
(window["webpackJsonp_clickview_lite"] = window["webpackJsonp_clickview_lite"] || []).push([[5],{
|
|
2
|
-
|
|
3
|
-
/***/ "../../libs/shared/src/components/widgets/fixed-widget/FixedWidget.tsx":
|
|
4
|
-
/*!*****************************************************************************************************************!*\
|
|
5
|
-
!*** C:/ClickView Projects/@clickview/packages/libs/shared/src/components/widgets/fixed-widget/FixedWidget.tsx ***!
|
|
6
|
-
\*****************************************************************************************************************/
|
|
7
|
-
/*! exports provided: FixedWidget */
|
|
8
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9
|
-
|
|
10
|
-
"use strict";
|
|
11
|
-
__webpack_require__.r(__webpack_exports__);
|
|
12
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FixedWidget", function() { return Memoized; });
|
|
13
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
14
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
15
|
-
/* harmony import */ var _common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../common/src/backbone/services/LanguageService */ "../../libs/common/src/backbone/services/LanguageService.tsx");
|
|
16
|
-
/* harmony import */ var _enums_CssMeasurement__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../enums/CssMeasurement */ "../../libs/shared/src/enums/CssMeasurement.ts");
|
|
17
|
-
/* harmony import */ var _widget_button_WidgetButton__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../widget-button/WidgetButton */ "../../libs/shared/src/components/widgets/widget-button/WidgetButton.tsx");
|
|
18
|
-
/* harmony import */ var _sliding_list_SlidingListContainer__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../sliding-list/SlidingListContainer */ "../../libs/shared/src/components/widgets/sliding-list/SlidingListContainer.tsx");
|
|
19
|
-
/* harmony import */ var _hooks_UseGetMediaQueryString__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../hooks/UseGetMediaQueryString */ "../../libs/shared/src/hooks/UseGetMediaQueryString.ts");
|
|
20
|
-
/* harmony import */ var _hooks_UseHover__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../hooks/UseHover */ "../../libs/shared/src/hooks/UseHover.ts");
|
|
21
|
-
/* harmony import */ var _interfaces__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../interfaces */ "../../libs/shared/src/interfaces/index.ts");
|
|
22
|
-
/* harmony import */ var _enums_WidgetInteraction__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../enums/WidgetInteraction */ "../../libs/shared/src/enums/WidgetInteraction.ts");
|
|
23
|
-
/* harmony import */ var _hooks_UseLazyLoad__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../hooks/UseLazyLoad */ "../../libs/shared/src/hooks/UseLazyLoad.ts");
|
|
24
|
-
/* harmony import */ var _app_link_AppLink__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../app-link/AppLink */ "../../libs/shared/src/components/app-link/AppLink.tsx");
|
|
25
|
-
/* harmony import */ var _svg_container_SvgContainer__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../svg-container/SvgContainer */ "../../libs/shared/src/components/svg-container/SvgContainer.tsx");
|
|
26
|
-
/* harmony import */ var _utils_SvgHelper__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../../utils/SvgHelper */ "../../libs/shared/src/utils/SvgHelper.ts");
|
|
27
|
-
/* harmony import */ var _enums_ThumbnailSize__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../../enums/ThumbnailSize */ "../../libs/shared/src/enums/ThumbnailSize.ts");
|
|
28
|
-
/* harmony import */ var _utils_WidgetHelper__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../../utils/WidgetHelper */ "../../libs/shared/src/utils/WidgetHelper.ts");
|
|
29
|
-
/* harmony import */ var _analytics_src_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../../../../analytics/src/AnalyticsHelper */ "../../libs/analytics/src/AnalyticsHelper.ts");
|
|
30
|
-
/* harmony import */ var _PartialFixedWidget__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./PartialFixedWidget */ "../../libs/shared/src/components/widgets/fixed-widget/PartialFixedWidget.tsx");
|
|
31
|
-
/* harmony import */ var _FixedWidgetUtils__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./FixedWidgetUtils */ "../../libs/shared/src/components/widgets/fixed-widget/FixedWidgetUtils.ts");
|
|
32
|
-
/* harmony import */ var _FixedWidgetReducer__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./FixedWidgetReducer */ "../../libs/shared/src/components/widgets/fixed-widget/FixedWidgetReducer.tsx");
|
|
33
|
-
/* harmony import */ var _fixed_widget_scss__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./fixed-widget.scss */ "../../libs/shared/src/components/widgets/fixed-widget/fixed-widget.scss");
|
|
34
|
-
/* harmony import */ var _fixed_widget_scss__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(_fixed_widget_scss__WEBPACK_IMPORTED_MODULE_19__);
|
|
35
|
-
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
36
|
-
|
|
37
|
-
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
38
|
-
|
|
39
|
-
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
40
|
-
|
|
41
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
42
|
-
|
|
43
|
-
function _iterableToArrayLimit(arr, i) { if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return; var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
44
|
-
|
|
45
|
-
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
var namespace = 'shared.fixedWidget';
|
|
68
|
-
FixedWidget.defaultProps = {
|
|
69
|
-
type: _interfaces__WEBPACK_IMPORTED_MODULE_7__["WidgetType"].Row,
|
|
70
|
-
minimumItemCount: 0,
|
|
71
|
-
paddingSize: '3'
|
|
72
|
-
};
|
|
73
|
-
|
|
74
|
-
function FixedWidget(props) {
|
|
75
|
-
var _a, _b, _c, _d, _e;
|
|
76
|
-
|
|
77
|
-
var widgetType = props.type,
|
|
78
|
-
_props$analyticsData = props.analyticsData,
|
|
79
|
-
analyticsData = _props$analyticsData === void 0 ? {} : _props$analyticsData; // Map deprecated resources tile widget type to row type
|
|
80
|
-
|
|
81
|
-
if (widgetType === _interfaces__WEBPACK_IMPORTED_MODULE_7__["WidgetType"].ResourcesTile) widgetType = _interfaces__WEBPACK_IMPORTED_MODULE_7__["WidgetType"].Row;
|
|
82
|
-
|
|
83
|
-
var _React$useState = react__WEBPACK_IMPORTED_MODULE_0__["useState"](null),
|
|
84
|
-
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
85
|
-
initialTouchX = _React$useState2[0],
|
|
86
|
-
setInitialTouchX = _React$useState2[1];
|
|
87
|
-
|
|
88
|
-
var _React$useState3 = react__WEBPACK_IMPORTED_MODULE_0__["useState"](null),
|
|
89
|
-
_React$useState4 = _slicedToArray(_React$useState3, 2),
|
|
90
|
-
containerWidth = _React$useState4[0],
|
|
91
|
-
setContainerWidth = _React$useState4[1];
|
|
92
|
-
|
|
93
|
-
var _React$useState5 = react__WEBPACK_IMPORTED_MODULE_0__["useState"](0),
|
|
94
|
-
_React$useState6 = _slicedToArray(_React$useState5, 2),
|
|
95
|
-
percentageDragged = _React$useState6[0],
|
|
96
|
-
setPercentageDragged = _React$useState6[1];
|
|
97
|
-
|
|
98
|
-
var _React$useReducer = react__WEBPACK_IMPORTED_MODULE_0__["useReducer"](_FixedWidgetReducer__WEBPACK_IMPORTED_MODULE_18__["FixedWidgetReducer"], _FixedWidgetReducer__WEBPACK_IMPORTED_MODULE_18__["initialWidgetState"], _FixedWidgetReducer__WEBPACK_IMPORTED_MODULE_18__["lazyWidgetInit"]),
|
|
99
|
-
_React$useReducer2 = _slicedToArray(_React$useReducer, 2),
|
|
100
|
-
state = _React$useReducer2[0],
|
|
101
|
-
dispatch = _React$useReducer2[1];
|
|
102
|
-
|
|
103
|
-
var containerRef = react__WEBPACK_IMPORTED_MODULE_0__["useRef"](null);
|
|
104
|
-
|
|
105
|
-
var _useHover = Object(_hooks_UseHover__WEBPACK_IMPORTED_MODULE_6__["useHover"])(),
|
|
106
|
-
_useHover2 = _slicedToArray(_useHover, 2),
|
|
107
|
-
buttonsRef = _useHover2[0],
|
|
108
|
-
isHovering = _useHover2[1];
|
|
109
|
-
|
|
110
|
-
var _React$useState7 = react__WEBPACK_IMPORTED_MODULE_0__["useState"](false),
|
|
111
|
-
_React$useState8 = _slicedToArray(_React$useState7, 2),
|
|
112
|
-
isHoveringOnFarLeft = _React$useState8[0],
|
|
113
|
-
setIsHoveringOnFarLeft = _React$useState8[1];
|
|
114
|
-
|
|
115
|
-
var _React$useState9 = react__WEBPACK_IMPORTED_MODULE_0__["useState"](false),
|
|
116
|
-
_React$useState10 = _slicedToArray(_React$useState9, 2),
|
|
117
|
-
isHoveringOnFarRight = _React$useState10[0],
|
|
118
|
-
setIsHoveringOnFarRight = _React$useState10[1];
|
|
119
|
-
|
|
120
|
-
var _useLazyLoad = Object(_hooks_UseLazyLoad__WEBPACK_IMPORTED_MODULE_9__["useLazyLoad"])(!props.lazyLoad),
|
|
121
|
-
ref = _useLazyLoad.ref,
|
|
122
|
-
shouldFetch = _useLazyLoad.inView;
|
|
123
|
-
|
|
124
|
-
var mediaQuery = Object(_hooks_UseGetMediaQueryString__WEBPACK_IMPORTED_MODULE_5__["useGetMediaQueryString"])();
|
|
125
|
-
react__WEBPACK_IMPORTED_MODULE_0__["useEffect"](function () {
|
|
126
|
-
dispatch({
|
|
127
|
-
type: _enums_WidgetInteraction__WEBPACK_IMPORTED_MODULE_8__["WidgetInteraction"].Resize,
|
|
128
|
-
payload: {
|
|
129
|
-
mediaQuery: mediaQuery,
|
|
130
|
-
type: widgetType,
|
|
131
|
-
contents: props.contents,
|
|
132
|
-
collection: state.collection
|
|
133
|
-
}
|
|
134
|
-
});
|
|
135
|
-
}, [mediaQuery]);
|
|
136
|
-
react__WEBPACK_IMPORTED_MODULE_0__["useEffect"](function () {
|
|
137
|
-
if (!props.prefetched) return; // If the collection changes, re-initialize the widget state.
|
|
138
|
-
|
|
139
|
-
dispatch({
|
|
140
|
-
type: _enums_WidgetInteraction__WEBPACK_IMPORTED_MODULE_8__["WidgetInteraction"].Init,
|
|
141
|
-
payload: {
|
|
142
|
-
mediaQuery: mediaQuery,
|
|
143
|
-
type: widgetType,
|
|
144
|
-
contents: props.contents,
|
|
145
|
-
collection: props.collection
|
|
146
|
-
}
|
|
147
|
-
});
|
|
148
|
-
}, [props.collection, props.prefetched]);
|
|
149
|
-
var response = Object(_FixedWidgetUtils__WEBPACK_IMPORTED_MODULE_17__["useFetchData"])(props, dispatch, mediaQuery, shouldFetch);
|
|
150
|
-
|
|
151
|
-
function onSetIsHovering(hovering, index) {
|
|
152
|
-
if (state.collection.length === state.viewableItems) {
|
|
153
|
-
setIsHoveringOnFarLeft(hovering);
|
|
154
|
-
setIsHoveringOnFarRight(hovering);
|
|
155
|
-
return;
|
|
156
|
-
} // This callback will hide the far left button if the user is hovering on the far left widget item.
|
|
157
|
-
// Same goes for the far right button & widget item.
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
if (index + 1 === state.collection.length) {
|
|
161
|
-
setIsHoveringOnFarRight(hovering);
|
|
162
|
-
return;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
if (index === 0) {
|
|
166
|
-
setIsHoveringOnFarLeft(hovering);
|
|
167
|
-
return;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
if ((index + 1 - state.offset % state.viewableItems) % state.viewableItems === 0) {
|
|
171
|
-
setIsHoveringOnFarRight(hovering);
|
|
172
|
-
return;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
if ((index - state.offset % state.viewableItems) % state.viewableItems === 0) {
|
|
176
|
-
setIsHoveringOnFarLeft(hovering);
|
|
177
|
-
return;
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
var widgetContext = {
|
|
182
|
-
type: state.type,
|
|
183
|
-
size: state.currentSize,
|
|
184
|
-
collectionSize: state.collection.length,
|
|
185
|
-
contents: props.contents
|
|
186
|
-
};
|
|
187
|
-
var data = Object(_FixedWidgetUtils__WEBPACK_IMPORTED_MODULE_17__["formatData"])(props, ((_a = response) === null || _a === void 0 ? void 0 : _a.data) || props.collection);
|
|
188
|
-
if ((_b = response) === null || _b === void 0 ? void 0 : _b.hasError) return react__WEBPACK_IMPORTED_MODULE_0__["createElement"](react__WEBPACK_IMPORTED_MODULE_0__["Fragment"], null);
|
|
189
|
-
|
|
190
|
-
if (!props.prefetched && !((_c = response) === null || _c === void 0 ? void 0 : _c.statusCode)) {
|
|
191
|
-
return react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", {
|
|
192
|
-
ref: ref
|
|
193
|
-
}, react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_PartialFixedWidget__WEBPACK_IMPORTED_MODULE_16__["PartialFixedWidget"], {
|
|
194
|
-
type: widgetType
|
|
195
|
-
}));
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
if (!state.collection.length || state.collection.length < props.minimumItemCount) return react__WEBPACK_IMPORTED_MODULE_0__["createElement"](react__WEBPACK_IMPORTED_MODULE_0__["Fragment"], null);
|
|
199
|
-
var WidgetItemComponent = props.childComponent;
|
|
200
|
-
|
|
201
|
-
var getSliderAnalyticsData = function getSliderAnalyticsData(type) {
|
|
202
|
-
var _a, _b;
|
|
203
|
-
|
|
204
|
-
return Object.assign({
|
|
205
|
-
id: (_a = data) === null || _a === void 0 ? void 0 : _a.id,
|
|
206
|
-
name: (_b = data) === null || _b === void 0 ? void 0 : _b.name,
|
|
207
|
-
direction: type === _enums_WidgetInteraction__WEBPACK_IMPORTED_MODULE_8__["WidgetInteraction"].Next ? 'right' : 'left'
|
|
208
|
-
}, props.analyticsData);
|
|
209
|
-
};
|
|
210
|
-
|
|
211
|
-
return react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", {
|
|
212
|
-
className: "pb-3 px-".concat(props.paddingSize, " mx-n").concat(props.paddingSize, " overflow-hidden-x")
|
|
213
|
-
}, react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", {
|
|
214
|
-
className: 'mb-1'
|
|
215
|
-
}, react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_app_link_AppLink__WEBPACK_IMPORTED_MODULE_10__["AppLink"], {
|
|
216
|
-
appLink: Object(_FixedWidgetUtils__WEBPACK_IMPORTED_MODULE_17__["getCollectionAppLink"])(props.appLink, data),
|
|
217
|
-
analyticsData: Object.assign({
|
|
218
|
-
id: (_d = data) === null || _d === void 0 ? void 0 : _d.id,
|
|
219
|
-
name: (_e = data) === null || _e === void 0 ? void 0 : _e.name
|
|
220
|
-
}, props.analyticsData),
|
|
221
|
-
analyticsOptions: _utils_WidgetHelper__WEBPACK_IMPORTED_MODULE_14__["WidgetHelper"].getSliderHeadingAnalyticsOptions()
|
|
222
|
-
}, react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("h2", {
|
|
223
|
-
className: "".concat(_fixed_widget_scss__WEBPACK_IMPORTED_MODULE_19___default.a.heading, " ").concat(props.appLink ? _fixed_widget_scss__WEBPACK_IMPORTED_MODULE_19___default.a.link : '', " h4 mb-0 d-inline-block align-top pl-1")
|
|
224
|
-
}, data.name, !!props.appLink && react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_svg_container_SvgContainer__WEBPACK_IMPORTED_MODULE_11__["SvgContainer"], {
|
|
225
|
-
svgName: _utils_SvgHelper__WEBPACK_IMPORTED_MODULE_12__["cvSvgLibrary"].ChevronRight,
|
|
226
|
-
size: _svg_container_SvgContainer__WEBPACK_IMPORTED_MODULE_11__["SvgContainerSize"].Small
|
|
227
|
-
})), props.settingsAppLink && react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_app_link_AppLink__WEBPACK_IMPORTED_MODULE_10__["AppLink"], {
|
|
228
|
-
appLink: props.settingsAppLink
|
|
229
|
-
}, react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_svg_container_SvgContainer__WEBPACK_IMPORTED_MODULE_11__["SvgContainer"], {
|
|
230
|
-
svgName: _utils_SvgHelper__WEBPACK_IMPORTED_MODULE_12__["cvSvgLibrary"].Cog,
|
|
231
|
-
className: 'd-inline-block svg-container cursor-pointer',
|
|
232
|
-
title: _common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_1__["LanguageService"].getPhrase(namespace, 'preferencesTooltip'),
|
|
233
|
-
tooltipPlacement: 'right'
|
|
234
|
-
}))), data.description && react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("p", {
|
|
235
|
-
className: 'text-truncate pl-1 mb-0 description'
|
|
236
|
-
}, data.description)), react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", {
|
|
237
|
-
ref: buttonsRef,
|
|
238
|
-
className: 'position-relative'
|
|
239
|
-
}, !isHoveringOnFarLeft && react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", {
|
|
240
|
-
className: _fixed_widget_scss__WEBPACK_IMPORTED_MODULE_19___default.a.leftOverflowGradient
|
|
241
|
-
}), react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_widget_button_WidgetButton__WEBPACK_IMPORTED_MODULE_3__["WidgetButton"], {
|
|
242
|
-
direction: _widget_button_WidgetButton__WEBPACK_IMPORTED_MODULE_3__["WidgetButtonDirection"].Left,
|
|
243
|
-
onClick: function onClick() {
|
|
244
|
-
dispatch({
|
|
245
|
-
type: _enums_WidgetInteraction__WEBPACK_IMPORTED_MODULE_8__["WidgetInteraction"].Previous
|
|
246
|
-
});
|
|
247
|
-
_analytics_src_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_15__["AnalyticsHelper"].logUserAction(getSliderAnalyticsData(_enums_WidgetInteraction__WEBPACK_IMPORTED_MODULE_8__["WidgetInteraction"].Previous), _utils_WidgetHelper__WEBPACK_IMPORTED_MODULE_14__["WidgetHelper"].getSliderAnalyticsOptions());
|
|
248
|
-
},
|
|
249
|
-
hide: isHoveringOnFarLeft || state.offset <= state.collection.length && !(isHovering && state.offset !== state.viewableItems),
|
|
250
|
-
contents: props.contents
|
|
251
|
-
}), react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_sliding_list_SlidingListContainer__WEBPACK_IMPORTED_MODULE_4__["SlidingListContainer"], {
|
|
252
|
-
position: state.position,
|
|
253
|
-
positionType: _enums_CssMeasurement__WEBPACK_IMPORTED_MODULE_2__["CssMeasurement"].Percentage,
|
|
254
|
-
onTouchMove: Object(_FixedWidgetUtils__WEBPACK_IMPORTED_MODULE_17__["getOnTouchStart"])(state, containerRef, containerWidth, setContainerWidth, initialTouchX, setInitialTouchX, setPercentageDragged),
|
|
255
|
-
onTouchEnd: Object(_FixedWidgetUtils__WEBPACK_IMPORTED_MODULE_17__["getOnTouchEnd"])(containerRef, setInitialTouchX, percentageDragged, setPercentageDragged, dispatch),
|
|
256
|
-
ref: containerRef,
|
|
257
|
-
percentageDragged: percentageDragged
|
|
258
|
-
}, state.collection.map(function (widgetItem, index) {
|
|
259
|
-
var _a;
|
|
260
|
-
|
|
261
|
-
return react__WEBPACK_IMPORTED_MODULE_0__["createElement"](WidgetItemComponent, {
|
|
262
|
-
key: widgetItem.id,
|
|
263
|
-
data: widgetItem,
|
|
264
|
-
appLink: props.childAppLink,
|
|
265
|
-
context: widgetContext,
|
|
266
|
-
preloadImage: Object(_FixedWidgetUtils__WEBPACK_IMPORTED_MODULE_17__["getShouldPreload"])(state)(widgetItem),
|
|
267
|
-
thumbnailSize: props.thumbnailSize || _enums_ThumbnailSize__WEBPACK_IMPORTED_MODULE_13__["ThumbnailSize"].Medium,
|
|
268
|
-
analyticsData: Object.assign({
|
|
269
|
-
widgetId: data.id,
|
|
270
|
-
widgetName: data.name,
|
|
271
|
-
itemIndex: index
|
|
272
|
-
}, analyticsData),
|
|
273
|
-
analyticsOptions: Object.assign(Object.assign({}, (_a = props) === null || _a === void 0 ? void 0 : _a.analyticsOptions), _utils_WidgetHelper__WEBPACK_IMPORTED_MODULE_14__["WidgetHelper"].getSliderItemAnalyticsOptions()),
|
|
274
|
-
onHover: function onHover(hovering) {
|
|
275
|
-
/**
|
|
276
|
-
* For some reason this needs to be called after a set timeout, otherwise
|
|
277
|
-
* the `useHover` listener on the `buttonsRef` element will not detect it's hover
|
|
278
|
-
* event. A delay of 200ms is used for when `hovering` is false so that the effects of
|
|
279
|
-
* setting `isHoveringOnFarX` aren't applied until the CSS transform transition has
|
|
280
|
-
* completed.
|
|
281
|
-
*/
|
|
282
|
-
window.setTimeout(function () {
|
|
283
|
-
onSetIsHovering(hovering, index);
|
|
284
|
-
}, hovering ? 0 : 200);
|
|
285
|
-
}
|
|
286
|
-
});
|
|
287
|
-
})), react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_widget_button_WidgetButton__WEBPACK_IMPORTED_MODULE_3__["WidgetButton"], {
|
|
288
|
-
direction: _widget_button_WidgetButton__WEBPACK_IMPORTED_MODULE_3__["WidgetButtonDirection"].Right,
|
|
289
|
-
onClick: function onClick() {
|
|
290
|
-
dispatch({
|
|
291
|
-
type: _enums_WidgetInteraction__WEBPACK_IMPORTED_MODULE_8__["WidgetInteraction"].Next
|
|
292
|
-
});
|
|
293
|
-
_analytics_src_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_15__["AnalyticsHelper"].logUserAction(getSliderAnalyticsData(_enums_WidgetInteraction__WEBPACK_IMPORTED_MODULE_8__["WidgetInteraction"].Next), _utils_WidgetHelper__WEBPACK_IMPORTED_MODULE_14__["WidgetHelper"].getSliderAnalyticsOptions());
|
|
294
|
-
},
|
|
295
|
-
hide: isHoveringOnFarRight || (state.offset > state.viewableItems || state.offset === state.collection.length) && !(isHovering && state.offset < state.collection.length),
|
|
296
|
-
contents: props.contents
|
|
297
|
-
}), !isHoveringOnFarRight && react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", {
|
|
298
|
-
className: _fixed_widget_scss__WEBPACK_IMPORTED_MODULE_19___default.a.rightOverflowGradient
|
|
299
|
-
})));
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
var Memoized = react__WEBPACK_IMPORTED_MODULE_0__["memo"](FixedWidget);
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
/***/ }),
|
|
306
|
-
|
|
307
|
-
/***/ "../../libs/shared/src/components/widgets/fixed-widget/FixedWidgetReducer.tsx":
|
|
308
|
-
/*!************************************************************************************************************************!*\
|
|
309
|
-
!*** C:/ClickView Projects/@clickview/packages/libs/shared/src/components/widgets/fixed-widget/FixedWidgetReducer.tsx ***!
|
|
310
|
-
\************************************************************************************************************************/
|
|
311
|
-
/*! exports provided: initialWidgetState, FixedWidgetReducer, lazyWidgetInit */
|
|
312
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
313
|
-
|
|
314
|
-
"use strict";
|
|
315
|
-
__webpack_require__.r(__webpack_exports__);
|
|
316
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "initialWidgetState", function() { return initialWidgetState; });
|
|
317
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FixedWidgetReducer", function() { return FixedWidgetReducer; });
|
|
318
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "lazyWidgetInit", function() { return lazyWidgetInit; });
|
|
319
|
-
/* harmony import */ var _enums_MediaQueries__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../enums/MediaQueries */ "../../libs/shared/src/enums/MediaQueries.ts");
|
|
320
|
-
/* harmony import */ var _enums_WidgetInteraction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../enums/WidgetInteraction */ "../../libs/shared/src/enums/WidgetInteraction.ts");
|
|
321
|
-
/* harmony import */ var _interfaces__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../interfaces */ "../../libs/shared/src/interfaces/index.ts");
|
|
322
|
-
/* harmony import */ var _FixedWidgetUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./FixedWidgetUtils */ "../../libs/shared/src/components/widgets/fixed-widget/FixedWidgetUtils.ts");
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
var initialWidgetState = {
|
|
328
|
-
offset: 0,
|
|
329
|
-
viewableItems: 4,
|
|
330
|
-
position: 0,
|
|
331
|
-
collection: [],
|
|
332
|
-
currentSize: _enums_MediaQueries__WEBPACK_IMPORTED_MODULE_0__["MediaQueryStrings"].LG,
|
|
333
|
-
type: _interfaces__WEBPACK_IMPORTED_MODULE_2__["WidgetType"].Row
|
|
334
|
-
};
|
|
335
|
-
|
|
336
|
-
var computeNextPosition = function computeNextPosition(prevState) {
|
|
337
|
-
var collection = prevState.collection,
|
|
338
|
-
viewableItems = prevState.viewableItems,
|
|
339
|
-
offset = prevState.offset,
|
|
340
|
-
position = prevState.position;
|
|
341
|
-
var remainingCount = collection.length - offset;
|
|
342
|
-
/**
|
|
343
|
-
* If the remaining items are evening divisible by the items in view, or,
|
|
344
|
-
* we have more items that can be displayed in the view, move the slider a full 100%.
|
|
345
|
-
*/
|
|
346
|
-
|
|
347
|
-
if (remainingCount % viewableItems === 0 || remainingCount > viewableItems) return {
|
|
348
|
-
position: position - 100,
|
|
349
|
-
offset: offset + viewableItems
|
|
350
|
-
};
|
|
351
|
-
/**
|
|
352
|
-
* Where there are less items than we can show in a full slide,
|
|
353
|
-
* calculate the % movement required to only show those items.
|
|
354
|
-
*/
|
|
355
|
-
|
|
356
|
-
if (remainingCount < viewableItems) return {
|
|
357
|
-
position: position - remainingCount / viewableItems * 100,
|
|
358
|
-
offset: offset + remainingCount
|
|
359
|
-
};
|
|
360
|
-
/**
|
|
361
|
-
* Default back to the current state as a fallback
|
|
362
|
-
*/
|
|
363
|
-
|
|
364
|
-
return {
|
|
365
|
-
position: position,
|
|
366
|
-
offset: offset
|
|
367
|
-
};
|
|
368
|
-
};
|
|
369
|
-
|
|
370
|
-
var computePreviousPosition = function computePreviousPosition(prevState) {
|
|
371
|
-
var viewableItems = prevState.viewableItems,
|
|
372
|
-
offset = prevState.offset,
|
|
373
|
-
position = prevState.position;
|
|
374
|
-
var remainingCount = offset - viewableItems;
|
|
375
|
-
if (remainingCount % viewableItems === 0 || remainingCount > viewableItems) return {
|
|
376
|
-
position: position + 100,
|
|
377
|
-
offset: offset - viewableItems
|
|
378
|
-
};
|
|
379
|
-
if (remainingCount < viewableItems) return {
|
|
380
|
-
position: position + remainingCount / viewableItems * 100,
|
|
381
|
-
offset: offset - remainingCount
|
|
382
|
-
};
|
|
383
|
-
return {
|
|
384
|
-
position: position,
|
|
385
|
-
offset: offset
|
|
386
|
-
};
|
|
387
|
-
};
|
|
388
|
-
|
|
389
|
-
function FixedWidgetReducer(prevState, action) {
|
|
390
|
-
var _a, _b;
|
|
391
|
-
|
|
392
|
-
var type = action.type,
|
|
393
|
-
_action$payload = action.payload,
|
|
394
|
-
payload = _action$payload === void 0 ? {} : _action$payload;
|
|
395
|
-
|
|
396
|
-
switch (type) {
|
|
397
|
-
case _enums_WidgetInteraction__WEBPACK_IMPORTED_MODULE_1__["WidgetInteraction"].Next:
|
|
398
|
-
{
|
|
399
|
-
return Object.assign(Object.assign({}, prevState), computeNextPosition(prevState));
|
|
400
|
-
}
|
|
401
|
-
|
|
402
|
-
case _enums_WidgetInteraction__WEBPACK_IMPORTED_MODULE_1__["WidgetInteraction"].Previous:
|
|
403
|
-
{
|
|
404
|
-
return Object.assign(Object.assign({}, prevState), computePreviousPosition(prevState));
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
case _enums_WidgetInteraction__WEBPACK_IMPORTED_MODULE_1__["WidgetInteraction"].Resize:
|
|
408
|
-
{
|
|
409
|
-
var computeViewableItems = Object(_FixedWidgetUtils__WEBPACK_IMPORTED_MODULE_3__["getComputeFunction"])(payload.contents);
|
|
410
|
-
var initialSeen = computeViewableItems(payload.mediaQuery, payload.type, (_a = payload.collection) === null || _a === void 0 ? void 0 : _a.length);
|
|
411
|
-
return Object.assign(Object.assign({}, prevState), {
|
|
412
|
-
currentSize: payload.mediaQuery,
|
|
413
|
-
position: 0,
|
|
414
|
-
offset: initialSeen,
|
|
415
|
-
viewableItems: initialSeen,
|
|
416
|
-
type: payload.type
|
|
417
|
-
});
|
|
418
|
-
}
|
|
419
|
-
|
|
420
|
-
case _enums_WidgetInteraction__WEBPACK_IMPORTED_MODULE_1__["WidgetInteraction"].Init:
|
|
421
|
-
{
|
|
422
|
-
var _computeViewableItems = Object(_FixedWidgetUtils__WEBPACK_IMPORTED_MODULE_3__["getComputeFunction"])(payload.contents);
|
|
423
|
-
|
|
424
|
-
var _initialSeen = _computeViewableItems(payload.mediaQuery, payload.type, (_b = payload.collection) === null || _b === void 0 ? void 0 : _b.length);
|
|
425
|
-
|
|
426
|
-
return lazyWidgetInit(Object.assign(Object.assign({}, prevState), {
|
|
427
|
-
collection: payload.collection,
|
|
428
|
-
currentSize: payload.mediaQuery,
|
|
429
|
-
offset: _initialSeen,
|
|
430
|
-
viewableItems: _initialSeen,
|
|
431
|
-
type: payload.type
|
|
432
|
-
}));
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
default:
|
|
436
|
-
return prevState;
|
|
437
|
-
}
|
|
438
|
-
}
|
|
439
|
-
function lazyWidgetInit(newState) {
|
|
440
|
-
return Object.assign(Object.assign({}, initialWidgetState), newState);
|
|
441
|
-
}
|
|
442
|
-
|
|
443
|
-
/***/ }),
|
|
444
|
-
|
|
445
|
-
/***/ "../../libs/shared/src/components/widgets/fixed-widget/FixedWidgetUtils.ts":
|
|
446
|
-
/*!*********************************************************************************************************************!*\
|
|
447
|
-
!*** C:/ClickView Projects/@clickview/packages/libs/shared/src/components/widgets/fixed-widget/FixedWidgetUtils.ts ***!
|
|
448
|
-
\*********************************************************************************************************************/
|
|
449
|
-
/*! exports provided: useFetchData, getShouldPreload, getCollectionAppLink, formatData, getComputeFunction, getOnTouchStart, getOnTouchEnd */
|
|
450
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
451
|
-
|
|
452
|
-
"use strict";
|
|
453
|
-
__webpack_require__.r(__webpack_exports__);
|
|
454
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "useFetchData", function() { return useFetchData; });
|
|
455
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getShouldPreload", function() { return getShouldPreload; });
|
|
456
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getCollectionAppLink", function() { return getCollectionAppLink; });
|
|
457
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "formatData", function() { return formatData; });
|
|
458
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getComputeFunction", function() { return getComputeFunction; });
|
|
459
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getOnTouchStart", function() { return getOnTouchStart; });
|
|
460
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getOnTouchEnd", function() { return getOnTouchEnd; });
|
|
461
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
462
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
463
|
-
/* harmony import */ var _common_src_react_utils_ObjectHelper__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../common/src/react/utils/ObjectHelper */ "../../libs/common/src/react/utils/ObjectHelper.ts");
|
|
464
|
-
/* harmony import */ var _common_src_backbone_utils_FunctionHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../common/src/backbone/utils/FunctionHelper */ "../../libs/common/src/backbone/utils/FunctionHelper.ts");
|
|
465
|
-
/* harmony import */ var _common_src_react_utils_TextHelper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../common/src/react/utils/TextHelper */ "../../libs/common/src/react/utils/TextHelper.ts");
|
|
466
|
-
/* harmony import */ var _enums_MediaQueries__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../enums/MediaQueries */ "../../libs/shared/src/enums/MediaQueries.ts");
|
|
467
|
-
/* harmony import */ var _enums_WidgetInteraction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../enums/WidgetInteraction */ "../../libs/shared/src/enums/WidgetInteraction.ts");
|
|
468
|
-
/* harmony import */ var _enums_WidgetContents__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../enums/WidgetContents */ "../../libs/shared/src/enums/WidgetContents.ts");
|
|
469
|
-
/* harmony import */ var _interfaces__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../interfaces */ "../../libs/shared/src/interfaces/index.ts");
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
function useFetchData(props, dispatch, mediaQueryType, shouldFetch) {
|
|
479
|
-
var fetch = props.fetch,
|
|
480
|
-
setData = props.setData,
|
|
481
|
-
type = props.type,
|
|
482
|
-
items = props.collection,
|
|
483
|
-
prefetched = props.prefetched,
|
|
484
|
-
contents = props.contents;
|
|
485
|
-
var data = items;
|
|
486
|
-
var res;
|
|
487
|
-
|
|
488
|
-
if (!data || _common_src_react_utils_ObjectHelper__WEBPACK_IMPORTED_MODULE_1__["ObjectHelper"].isEmpty(data) && !prefetched) {
|
|
489
|
-
res = fetch(shouldFetch);
|
|
490
|
-
data = res.data;
|
|
491
|
-
}
|
|
492
|
-
/**
|
|
493
|
-
* Once we have the widget data, lazily update our state with the new collection
|
|
494
|
-
*/
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
react__WEBPACK_IMPORTED_MODULE_0__["useEffect"](function () {
|
|
498
|
-
if (!data || _common_src_react_utils_ObjectHelper__WEBPACK_IMPORTED_MODULE_1__["ObjectHelper"].isEmpty(data)) return;
|
|
499
|
-
dispatch({
|
|
500
|
-
type: _enums_WidgetInteraction__WEBPACK_IMPORTED_MODULE_5__["WidgetInteraction"].Init,
|
|
501
|
-
payload: {
|
|
502
|
-
collection: _common_src_backbone_utils_FunctionHelper__WEBPACK_IMPORTED_MODULE_2__["FunctionHelper"].isFunction(setData) ? setData(data) : data,
|
|
503
|
-
mediaQuery: mediaQueryType,
|
|
504
|
-
type: type,
|
|
505
|
-
contents: contents
|
|
506
|
-
}
|
|
507
|
-
});
|
|
508
|
-
}, [data]);
|
|
509
|
-
return res;
|
|
510
|
-
}
|
|
511
|
-
/**
|
|
512
|
-
* This function wrapper determines which widget item images should be pre-fetched by the LazyImage component.
|
|
513
|
-
* It does this by looking at which images are going to be shown after the users clicks on the "Next"
|
|
514
|
-
* widget button.
|
|
515
|
-
*/
|
|
516
|
-
|
|
517
|
-
function getShouldPreload(state) {
|
|
518
|
-
var offset = state.offset,
|
|
519
|
-
viewableItems = state.viewableItems,
|
|
520
|
-
collection = state.collection; // The index of the latest item that has been fetched
|
|
521
|
-
|
|
522
|
-
var maxLoadedIndex = offset;
|
|
523
|
-
/**
|
|
524
|
-
* The indicesToPreload is an array of indices of widget items that should be prefetched by the
|
|
525
|
-
* LazyImage component
|
|
526
|
-
*/
|
|
527
|
-
|
|
528
|
-
var indicesToPreload = [];
|
|
529
|
-
|
|
530
|
-
for (var i = 0; i < maxLoadedIndex + viewableItems; i++) {
|
|
531
|
-
indicesToPreload.push(i);
|
|
532
|
-
}
|
|
533
|
-
/**
|
|
534
|
-
* A widget item calls this function to determine whether or not its image can be pre-fetched.
|
|
535
|
-
* This is determined by whether or not its index has been deemed valid to be pre-fetched
|
|
536
|
-
* by the scope above
|
|
537
|
-
*/
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
return function shouldPreload(widgetItem) {
|
|
541
|
-
var index = collection.indexOf(widgetItem);
|
|
542
|
-
return indicesToPreload.includes(index);
|
|
543
|
-
};
|
|
544
|
-
}
|
|
545
|
-
function getCollectionAppLink(appLink, data) {
|
|
546
|
-
if (!appLink) return;
|
|
547
|
-
return Object.assign(Object.assign({}, appLink), {
|
|
548
|
-
args: appLink.args || [data.id, _common_src_react_utils_TextHelper__WEBPACK_IMPORTED_MODULE_3__["TextHelper"].slugify(data.name)]
|
|
549
|
-
});
|
|
550
|
-
}
|
|
551
|
-
/**
|
|
552
|
-
* Allow explicit name and description props to override the fetched
|
|
553
|
-
* data properties.
|
|
554
|
-
*
|
|
555
|
-
* @param props
|
|
556
|
-
* @param data
|
|
557
|
-
*/
|
|
558
|
-
|
|
559
|
-
function formatData(props, data) {
|
|
560
|
-
var name = props.name,
|
|
561
|
-
description = props.description;
|
|
562
|
-
var overrideProps = {};
|
|
563
|
-
if (Array.isArray(data)) return {
|
|
564
|
-
name: name,
|
|
565
|
-
description: description
|
|
566
|
-
};
|
|
567
|
-
if (props.name) overrideProps.name = name;
|
|
568
|
-
if (props.description) overrideProps.description = description;
|
|
569
|
-
return Object.assign(Object.assign({}, data), overrideProps);
|
|
570
|
-
}
|
|
571
|
-
function getComputeFunction(contents) {
|
|
572
|
-
switch (contents) {
|
|
573
|
-
case _enums_WidgetContents__WEBPACK_IMPORTED_MODULE_6__["WidgetContents"].Playlists:
|
|
574
|
-
return computeViewablePlaylists;
|
|
575
|
-
|
|
576
|
-
case _enums_WidgetContents__WEBPACK_IMPORTED_MODULE_6__["WidgetContents"].Videos:
|
|
577
|
-
return computeViewableVideos;
|
|
578
|
-
|
|
579
|
-
case _enums_WidgetContents__WEBPACK_IMPORTED_MODULE_6__["WidgetContents"].Subjects:
|
|
580
|
-
return computeViewableSubjects;
|
|
581
|
-
|
|
582
|
-
case _enums_WidgetContents__WEBPACK_IMPORTED_MODULE_6__["WidgetContents"].UserChannels:
|
|
583
|
-
return computeViewableUserChannels;
|
|
584
|
-
|
|
585
|
-
case _enums_WidgetContents__WEBPACK_IMPORTED_MODULE_6__["WidgetContents"].Interactives:
|
|
586
|
-
return computeViewableInteractives;
|
|
587
|
-
|
|
588
|
-
case _enums_WidgetContents__WEBPACK_IMPORTED_MODULE_6__["WidgetContents"].Clips:
|
|
589
|
-
return computeViewableClips;
|
|
590
|
-
|
|
591
|
-
case _enums_WidgetContents__WEBPACK_IMPORTED_MODULE_6__["WidgetContents"].Series:
|
|
592
|
-
default:
|
|
593
|
-
return computeViewableSeries;
|
|
594
|
-
}
|
|
595
|
-
}
|
|
596
|
-
|
|
597
|
-
function computeViewablePlaylists(mediaQuery, type, itemCount) {
|
|
598
|
-
var maxItems = 5;
|
|
599
|
-
if (mediaQuery === _enums_MediaQueries__WEBPACK_IMPORTED_MODULE_4__["MediaQueryStrings"].XS) maxItems = 2;else if (mediaQuery === _enums_MediaQueries__WEBPACK_IMPORTED_MODULE_4__["MediaQueryStrings"].SM) maxItems = 3;else if (mediaQuery === _enums_MediaQueries__WEBPACK_IMPORTED_MODULE_4__["MediaQueryStrings"].MD) maxItems = 4;
|
|
600
|
-
if (itemCount < maxItems) maxItems = itemCount;
|
|
601
|
-
return maxItems;
|
|
602
|
-
}
|
|
603
|
-
|
|
604
|
-
function computeViewableVideos(mediaQuery, type, itemCount) {
|
|
605
|
-
var maxItems = 4;
|
|
606
|
-
if (mediaQuery === _enums_MediaQueries__WEBPACK_IMPORTED_MODULE_4__["MediaQueryStrings"].XS) maxItems = 2;else if (mediaQuery === _enums_MediaQueries__WEBPACK_IMPORTED_MODULE_4__["MediaQueryStrings"].SM) maxItems = 3;else if (mediaQuery === _enums_MediaQueries__WEBPACK_IMPORTED_MODULE_4__["MediaQueryStrings"].MD) maxItems = 4;else if (mediaQuery === _enums_MediaQueries__WEBPACK_IMPORTED_MODULE_4__["MediaQueryStrings"].LG || mediaQuery === _enums_MediaQueries__WEBPACK_IMPORTED_MODULE_4__["MediaQueryStrings"].XL || mediaQuery === _enums_MediaQueries__WEBPACK_IMPORTED_MODULE_4__["MediaQueryStrings"].XXL) {
|
|
607
|
-
if (type === _interfaces__WEBPACK_IMPORTED_MODULE_7__["WidgetType"].LargeRow) maxItems = 3;else if (itemCount < 4) maxItems = 3;else maxItems = 4;
|
|
608
|
-
}
|
|
609
|
-
if (itemCount < maxItems) maxItems = itemCount;
|
|
610
|
-
return maxItems;
|
|
611
|
-
}
|
|
612
|
-
|
|
613
|
-
function computeViewableSubjects(mediaQuery, type, itemCount) {
|
|
614
|
-
var maxItems = 6;
|
|
615
|
-
if (mediaQuery === _enums_MediaQueries__WEBPACK_IMPORTED_MODULE_4__["MediaQueryStrings"].SM || mediaQuery === _enums_MediaQueries__WEBPACK_IMPORTED_MODULE_4__["MediaQueryStrings"].XS) maxItems = 3;else if (mediaQuery === _enums_MediaQueries__WEBPACK_IMPORTED_MODULE_4__["MediaQueryStrings"].MD) maxItems = 4;else if (mediaQuery === _enums_MediaQueries__WEBPACK_IMPORTED_MODULE_4__["MediaQueryStrings"].LG) maxItems = 5;else if (mediaQuery === _enums_MediaQueries__WEBPACK_IMPORTED_MODULE_4__["MediaQueryStrings"].XL || mediaQuery === _enums_MediaQueries__WEBPACK_IMPORTED_MODULE_4__["MediaQueryStrings"].XXL) maxItems = 6;
|
|
616
|
-
if (itemCount < maxItems) maxItems = itemCount;
|
|
617
|
-
return maxItems;
|
|
618
|
-
}
|
|
619
|
-
|
|
620
|
-
function computeViewableUserChannels(mediaQuery, type, itemCount) {
|
|
621
|
-
var maxItems = 6;
|
|
622
|
-
if (mediaQuery === _enums_MediaQueries__WEBPACK_IMPORTED_MODULE_4__["MediaQueryStrings"].XS) maxItems = 2;else if (mediaQuery === _enums_MediaQueries__WEBPACK_IMPORTED_MODULE_4__["MediaQueryStrings"].SM) maxItems = 3;else if (mediaQuery === _enums_MediaQueries__WEBPACK_IMPORTED_MODULE_4__["MediaQueryStrings"].MD) maxItems = 4;else if (mediaQuery === _enums_MediaQueries__WEBPACK_IMPORTED_MODULE_4__["MediaQueryStrings"].LG) maxItems = 5;else if (mediaQuery === _enums_MediaQueries__WEBPACK_IMPORTED_MODULE_4__["MediaQueryStrings"].XL || mediaQuery === _enums_MediaQueries__WEBPACK_IMPORTED_MODULE_4__["MediaQueryStrings"].XXL) maxItems = 6;
|
|
623
|
-
if (itemCount < maxItems) maxItems = itemCount;
|
|
624
|
-
return maxItems;
|
|
625
|
-
}
|
|
626
|
-
|
|
627
|
-
function computeViewableInteractives(mediaQuery, type, itemCount) {
|
|
628
|
-
var maxItems = 3;
|
|
629
|
-
if (mediaQuery === _enums_MediaQueries__WEBPACK_IMPORTED_MODULE_4__["MediaQueryStrings"].MD || mediaQuery === _enums_MediaQueries__WEBPACK_IMPORTED_MODULE_4__["MediaQueryStrings"].SM) maxItems = 2;
|
|
630
|
-
if (mediaQuery === _enums_MediaQueries__WEBPACK_IMPORTED_MODULE_4__["MediaQueryStrings"].XS) maxItems = 1;
|
|
631
|
-
if (itemCount < Math.ceil(maxItems)) maxItems = itemCount;
|
|
632
|
-
return maxItems;
|
|
633
|
-
}
|
|
634
|
-
|
|
635
|
-
function computeViewableClips(mediaQuery, type, itemCount) {
|
|
636
|
-
var maxItems = 3;
|
|
637
|
-
if (mediaQuery === _enums_MediaQueries__WEBPACK_IMPORTED_MODULE_4__["MediaQueryStrings"].MD || mediaQuery === _enums_MediaQueries__WEBPACK_IMPORTED_MODULE_4__["MediaQueryStrings"].SM) maxItems = 2;
|
|
638
|
-
if (mediaQuery === _enums_MediaQueries__WEBPACK_IMPORTED_MODULE_4__["MediaQueryStrings"].XS) maxItems = 1;
|
|
639
|
-
if (itemCount < Math.ceil(maxItems)) maxItems = itemCount;
|
|
640
|
-
return maxItems;
|
|
641
|
-
}
|
|
642
|
-
|
|
643
|
-
function computeViewableSeries(mediaQuery, type, itemCount) {
|
|
644
|
-
var maxItems = 4;
|
|
645
|
-
if (mediaQuery === _enums_MediaQueries__WEBPACK_IMPORTED_MODULE_4__["MediaQueryStrings"].XS) maxItems = 2;else if (mediaQuery === _enums_MediaQueries__WEBPACK_IMPORTED_MODULE_4__["MediaQueryStrings"].SM) maxItems = 3;
|
|
646
|
-
if (itemCount < maxItems) maxItems = itemCount;
|
|
647
|
-
return maxItems;
|
|
648
|
-
}
|
|
649
|
-
/**
|
|
650
|
-
* Touch event handlers
|
|
651
|
-
*/
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
function getOnTouchStart(widgetState, containerRef, containerWidth, setContainerWidth, initialTouchX, setInitialTouchX, setPercentageDragged) {
|
|
655
|
-
return function (event) {
|
|
656
|
-
var firstTouch = event.touches.item(0);
|
|
657
|
-
var touchX = firstTouch.clientX;
|
|
658
|
-
/**
|
|
659
|
-
* Runs only on the very first touch event.
|
|
660
|
-
*
|
|
661
|
-
* Sets the initial x-coordinate as a reference point to calculate how far the user has dragged before
|
|
662
|
-
* they release their finder
|
|
663
|
-
*/
|
|
664
|
-
|
|
665
|
-
if (!initialTouchX) {
|
|
666
|
-
containerRef.current.style.transition = '';
|
|
667
|
-
setContainerWidth(containerRef.current.getBoundingClientRect().width);
|
|
668
|
-
setInitialTouchX(touchX);
|
|
669
|
-
}
|
|
670
|
-
|
|
671
|
-
var pixelsDragged = initialTouchX - touchX; // Calculate how far the user has moved their finger as a percentage of the widget's container element
|
|
672
|
-
|
|
673
|
-
var currentPercentageDragged = pixelsDragged / containerWidth * 100;
|
|
674
|
-
/**
|
|
675
|
-
* These 2 if statements prevent the user from dragging the widget beyond its limits.
|
|
676
|
-
* One if statement handles if they have dragged to the left, and the other is for dragging to the right.
|
|
677
|
-
*
|
|
678
|
-
* The same logic is used to hide the widget buttons (see the `hide` prop passed to `<WidgetButton />`)
|
|
679
|
-
*/
|
|
680
|
-
|
|
681
|
-
if (currentPercentageDragged < 0 && widgetState.offset === widgetState.viewableItems) currentPercentageDragged = 0;else if (currentPercentageDragged > 0 && widgetState.offset === widgetState.collection.length) currentPercentageDragged = 0;
|
|
682
|
-
setPercentageDragged(currentPercentageDragged);
|
|
683
|
-
};
|
|
684
|
-
}
|
|
685
|
-
var DRAG_TOLERANCE = 7.5; // % of container width using to trigger a transition.
|
|
686
|
-
|
|
687
|
-
function getOnTouchEnd(containerRef, setInitialTouchX, percentageDragged, setPercentageDragged, dispatch) {
|
|
688
|
-
return function () {
|
|
689
|
-
containerRef.current.style.transition = 'transform .4s ease-in-out';
|
|
690
|
-
setInitialTouchX(null);
|
|
691
|
-
/**
|
|
692
|
-
* Only trigger a Next/Previous widget event if the user has dragged beyond DRAG_TOLERANCE% either way of the
|
|
693
|
-
* container's width. This means if the user only drags left/right a tiny little bit, the widget
|
|
694
|
-
* will simply slide back into its original place.
|
|
695
|
-
*/
|
|
696
|
-
|
|
697
|
-
if (Math.abs(percentageDragged) >= DRAG_TOLERANCE) {
|
|
698
|
-
var reducerAction = percentageDragged > 0 ? _enums_WidgetInteraction__WEBPACK_IMPORTED_MODULE_5__["WidgetInteraction"].Next : _enums_WidgetInteraction__WEBPACK_IMPORTED_MODULE_5__["WidgetInteraction"].Previous;
|
|
699
|
-
dispatch({
|
|
700
|
-
type: reducerAction
|
|
701
|
-
});
|
|
702
|
-
}
|
|
703
|
-
|
|
704
|
-
setPercentageDragged(0);
|
|
705
|
-
};
|
|
706
|
-
}
|
|
707
|
-
|
|
708
|
-
/***/ }),
|
|
709
|
-
|
|
710
|
-
/***/ "../../libs/shared/src/components/widgets/fixed-widget/PartialFixedWidget.tsx":
|
|
711
|
-
/*!************************************************************************************************************************!*\
|
|
712
|
-
!*** C:/ClickView Projects/@clickview/packages/libs/shared/src/components/widgets/fixed-widget/PartialFixedWidget.tsx ***!
|
|
713
|
-
\************************************************************************************************************************/
|
|
714
|
-
/*! exports provided: PartialFixedWidget */
|
|
715
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
716
|
-
|
|
717
|
-
"use strict";
|
|
718
|
-
__webpack_require__.r(__webpack_exports__);
|
|
719
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PartialFixedWidget", function() { return PartialFixedWidget; });
|
|
720
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
721
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
722
|
-
/* harmony import */ var _enums_MediaQueries__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../enums/MediaQueries */ "../../libs/shared/src/enums/MediaQueries.ts");
|
|
723
|
-
/* harmony import */ var _hooks_UseGetMediaQueryString__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../hooks/UseGetMediaQueryString */ "../../libs/shared/src/hooks/UseGetMediaQueryString.ts");
|
|
724
|
-
/* harmony import */ var _fixed_widget_scss__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./fixed-widget.scss */ "../../libs/shared/src/components/widgets/fixed-widget/fixed-widget.scss");
|
|
725
|
-
/* harmony import */ var _fixed_widget_scss__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_fixed_widget_scss__WEBPACK_IMPORTED_MODULE_3__);
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
function useMediaQueryListeners() {
|
|
732
|
-
var mediaQuery = Object(_hooks_UseGetMediaQueryString__WEBPACK_IMPORTED_MODULE_2__["useGetMediaQueryString"])();
|
|
733
|
-
if (mediaQuery === _enums_MediaQueries__WEBPACK_IMPORTED_MODULE_1__["MediaQueryStrings"].XS) return {
|
|
734
|
-
itemCount: 1,
|
|
735
|
-
colSize: 12
|
|
736
|
-
};
|
|
737
|
-
if (mediaQuery === _enums_MediaQueries__WEBPACK_IMPORTED_MODULE_1__["MediaQueryStrings"].SM) return {
|
|
738
|
-
itemCount: 2,
|
|
739
|
-
colSize: 6
|
|
740
|
-
};
|
|
741
|
-
if (mediaQuery === _enums_MediaQueries__WEBPACK_IMPORTED_MODULE_1__["MediaQueryStrings"].MD) return {
|
|
742
|
-
itemCount: 3,
|
|
743
|
-
colSize: 4
|
|
744
|
-
};
|
|
745
|
-
return {
|
|
746
|
-
itemCount: 4,
|
|
747
|
-
colSize: 3
|
|
748
|
-
};
|
|
749
|
-
}
|
|
750
|
-
|
|
751
|
-
var PartialLoadingItem = function PartialLoadingItem(_ref) {
|
|
752
|
-
var colSize = _ref.colSize;
|
|
753
|
-
return react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", {
|
|
754
|
-
className: "col-".concat(colSize)
|
|
755
|
-
}, react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", {
|
|
756
|
-
className: "".concat(_fixed_widget_scss__WEBPACK_IMPORTED_MODULE_3___default.a.partialItem, " mx-1 partial-loading-background")
|
|
757
|
-
}));
|
|
758
|
-
};
|
|
759
|
-
|
|
760
|
-
function PartialFixedWidget(props) {
|
|
761
|
-
var _useMediaQueryListene = useMediaQueryListeners(),
|
|
762
|
-
itemCount = _useMediaQueryListene.itemCount,
|
|
763
|
-
colSize = _useMediaQueryListene.colSize;
|
|
764
|
-
|
|
765
|
-
var items = [];
|
|
766
|
-
|
|
767
|
-
for (var i = 0; i < itemCount; i++) {
|
|
768
|
-
items.push(react__WEBPACK_IMPORTED_MODULE_0__["createElement"](PartialLoadingItem, {
|
|
769
|
-
key: i,
|
|
770
|
-
colSize: colSize
|
|
771
|
-
}));
|
|
772
|
-
}
|
|
773
|
-
|
|
774
|
-
return react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", {
|
|
775
|
-
className: 'widget pb-3'
|
|
776
|
-
}, react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", {
|
|
777
|
-
className: "".concat(_fixed_widget_scss__WEBPACK_IMPORTED_MODULE_3___default.a.partialHeading, " mx-1 mb-1 partial-loading-background")
|
|
778
|
-
}), react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", {
|
|
779
|
-
className: "".concat(_fixed_widget_scss__WEBPACK_IMPORTED_MODULE_3___default.a.partialDescription, " mx-1 my-1 partial-loading-background")
|
|
780
|
-
}), react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", {
|
|
781
|
-
className: "".concat(_fixed_widget_scss__WEBPACK_IMPORTED_MODULE_3___default.a.slidingContainer, " row")
|
|
782
|
-
}, items));
|
|
783
|
-
}
|
|
784
|
-
|
|
785
|
-
/***/ }),
|
|
786
|
-
|
|
787
|
-
/***/ "../../libs/shared/src/components/widgets/fixed-widget/fixed-widget.scss":
|
|
788
|
-
/*!*******************************************************************************************************************!*\
|
|
789
|
-
!*** C:/ClickView Projects/@clickview/packages/libs/shared/src/components/widgets/fixed-widget/fixed-widget.scss ***!
|
|
790
|
-
\*******************************************************************************************************************/
|
|
791
|
-
/*! no static exports found */
|
|
792
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
793
|
-
|
|
794
|
-
// extracted by mini-css-extract-plugin
|
|
795
|
-
module.exports = {"leftOverflowGradient":"cv--leftOverflowGradient--u_MPi","rightOverflowGradient":"cv--rightOverflowGradient--38ooL","partialHeading":"cv--partialHeading--OVsdA","partialDescription":"cv--partialDescription--1HtA2","partialItem":"cv--partialItem--3G2hG","largePartialItem":"cv--largePartialItem--NnK8O","heading":"cv--heading--BQnCC","link":"cv--link--ph0Qy"};
|
|
796
|
-
|
|
797
|
-
/***/ }),
|
|
798
|
-
|
|
799
|
-
/***/ "../../libs/shared/src/components/widgets/sliding-list/SlidingListContainer.tsx":
|
|
800
|
-
/*!**************************************************************************************************************************!*\
|
|
801
|
-
!*** C:/ClickView Projects/@clickview/packages/libs/shared/src/components/widgets/sliding-list/SlidingListContainer.tsx ***!
|
|
802
|
-
\**************************************************************************************************************************/
|
|
803
|
-
/*! exports provided: SlidingListContainer */
|
|
804
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
805
|
-
|
|
806
|
-
"use strict";
|
|
807
|
-
__webpack_require__.r(__webpack_exports__);
|
|
808
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SlidingListContainer", function() { return SlidingListContainer; });
|
|
809
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
810
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
811
|
-
/* harmony import */ var _common_src_backbone_utils_UserAgentHelper__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../common/src/backbone/utils/UserAgentHelper */ "../../libs/common/src/backbone/utils/UserAgentHelper.ts");
|
|
812
|
-
/* harmony import */ var _enums_CssMeasurement__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../enums/CssMeasurement */ "../../libs/shared/src/enums/CssMeasurement.ts");
|
|
813
|
-
/* harmony import */ var _utils_DragHelper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../utils/DragHelper */ "../../libs/shared/src/utils/DragHelper.ts");
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
var isTouchScreen = _common_src_backbone_utils_UserAgentHelper__WEBPACK_IMPORTED_MODULE_1__["UserAgentHelper"].isTouchScreen();
|
|
819
|
-
|
|
820
|
-
function getPositionStyling(xPosition, measurement, dragPercentage) {
|
|
821
|
-
// Used in situations where a touch screen user is dragging the `<FixedWidget />`
|
|
822
|
-
if (measurement === _enums_CssMeasurement__WEBPACK_IMPORTED_MODULE_2__["CssMeasurement"].Percentage && dragPercentage) xPosition = xPosition - dragPercentage;
|
|
823
|
-
return {
|
|
824
|
-
transform: "translate3d(".concat(xPosition).concat(measurement, ", 0px, 0px)"),
|
|
825
|
-
transition: 'transform .4s ease-in-out'
|
|
826
|
-
};
|
|
827
|
-
}
|
|
828
|
-
|
|
829
|
-
var SlidingListContainer = react__WEBPACK_IMPORTED_MODULE_0__["forwardRef"](function (props, ref) {
|
|
830
|
-
var children = props.children,
|
|
831
|
-
positionType = props.positionType,
|
|
832
|
-
onDrag = props.onDrag,
|
|
833
|
-
onDragEnd = props.onDragEnd,
|
|
834
|
-
onTouchMove = props.onTouchMove,
|
|
835
|
-
onTouchEnd = props.onTouchEnd,
|
|
836
|
-
percentageDragged = props.percentageDragged,
|
|
837
|
-
_props$position = props.position,
|
|
838
|
-
position = _props$position === void 0 ? 0 : _props$position;
|
|
839
|
-
|
|
840
|
-
function getEventListeners() {
|
|
841
|
-
var listenerProps = {};
|
|
842
|
-
|
|
843
|
-
if (onDrag && onDragEnd) {
|
|
844
|
-
listenerProps.draggable = true;
|
|
845
|
-
listenerProps.onDragEnd = onDragEnd;
|
|
846
|
-
listenerProps.onDragStart = _utils_DragHelper__WEBPACK_IMPORTED_MODULE_3__["DragHelper"].hideDragImage;
|
|
847
|
-
listenerProps.onDragOver = onDrag;
|
|
848
|
-
}
|
|
849
|
-
|
|
850
|
-
if (onTouchMove && onTouchEnd && isTouchScreen) {
|
|
851
|
-
listenerProps.onTouchMoveCapture = onTouchMove;
|
|
852
|
-
listenerProps.onTouchEndCapture = onTouchEnd;
|
|
853
|
-
}
|
|
854
|
-
|
|
855
|
-
return listenerProps;
|
|
856
|
-
}
|
|
857
|
-
|
|
858
|
-
return react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", Object.assign({
|
|
859
|
-
className: 'd-flex flex-nowrap position-relative w-100',
|
|
860
|
-
style: getPositionStyling(position, positionType, percentageDragged),
|
|
861
|
-
ref: ref
|
|
862
|
-
}, getEventListeners()), children);
|
|
863
|
-
});
|
|
864
|
-
|
|
865
|
-
/***/ }),
|
|
866
|
-
|
|
867
|
-
/***/ "../../libs/shared/src/components/widgets/widget-button/WidgetButton.tsx":
|
|
868
|
-
/*!*******************************************************************************************************************!*\
|
|
869
|
-
!*** C:/ClickView Projects/@clickview/packages/libs/shared/src/components/widgets/widget-button/WidgetButton.tsx ***!
|
|
870
|
-
\*******************************************************************************************************************/
|
|
871
|
-
/*! exports provided: WidgetButtonDirection, WidgetButton */
|
|
872
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
873
|
-
|
|
874
|
-
"use strict";
|
|
875
|
-
__webpack_require__.r(__webpack_exports__);
|
|
876
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "WidgetButtonDirection", function() { return WidgetButtonDirection; });
|
|
877
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "WidgetButton", function() { return WidgetButton; });
|
|
878
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
879
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
880
|
-
/* harmony import */ var _svg_container_SvgContainer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../svg-container/SvgContainer */ "../../libs/shared/src/components/svg-container/SvgContainer.tsx");
|
|
881
|
-
/* harmony import */ var _utils_SvgHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../utils/SvgHelper */ "../../libs/shared/src/utils/SvgHelper.ts");
|
|
882
|
-
/* harmony import */ var _widget_button_scss__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./widget-button.scss */ "../../libs/shared/src/components/widgets/widget-button/widget-button.scss");
|
|
883
|
-
/* harmony import */ var _widget_button_scss__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_widget_button_scss__WEBPACK_IMPORTED_MODULE_3__);
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
var WidgetButtonDirection;
|
|
889
|
-
|
|
890
|
-
(function (WidgetButtonDirection) {
|
|
891
|
-
WidgetButtonDirection[WidgetButtonDirection["Left"] = 0] = "Left";
|
|
892
|
-
WidgetButtonDirection[WidgetButtonDirection["Right"] = 1] = "Right";
|
|
893
|
-
})(WidgetButtonDirection || (WidgetButtonDirection = {}));
|
|
894
|
-
|
|
895
|
-
function getPositionClass(contents, isLeftDirection) {
|
|
896
|
-
var className = _widget_button_scss__WEBPACK_IMPORTED_MODULE_3___default.a.topPos; // Left / Right
|
|
897
|
-
|
|
898
|
-
if (isLeftDirection) className += ' ' + _widget_button_scss__WEBPACK_IMPORTED_MODULE_3___default.a.left;else className += ' ' + _widget_button_scss__WEBPACK_IMPORTED_MODULE_3___default.a.right;
|
|
899
|
-
return className;
|
|
900
|
-
}
|
|
901
|
-
|
|
902
|
-
var WidgetButton = react__WEBPACK_IMPORTED_MODULE_0__["memo"](function (props) {
|
|
903
|
-
var isLeft = props.direction === WidgetButtonDirection.Left;
|
|
904
|
-
var arrowSvg = isLeft ? _utils_SvgHelper__WEBPACK_IMPORTED_MODULE_2__["cvSvgLibrary"].ChevronLeft : _utils_SvgHelper__WEBPACK_IMPORTED_MODULE_2__["cvSvgLibrary"].ChevronRight;
|
|
905
|
-
var positionClass = getPositionClass(props.contents, isLeft);
|
|
906
|
-
if (props.hide) return react__WEBPACK_IMPORTED_MODULE_0__["createElement"](react__WEBPACK_IMPORTED_MODULE_0__["Fragment"], null);
|
|
907
|
-
return react__WEBPACK_IMPORTED_MODULE_0__["createElement"](react__WEBPACK_IMPORTED_MODULE_0__["Fragment"], null, react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", {
|
|
908
|
-
role: 'button',
|
|
909
|
-
className: "".concat(positionClass, " ").concat(_widget_button_scss__WEBPACK_IMPORTED_MODULE_3___default.a.button),
|
|
910
|
-
onClick: props.onClick
|
|
911
|
-
}, react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_svg_container_SvgContainer__WEBPACK_IMPORTED_MODULE_1__["SvgContainer"], {
|
|
912
|
-
svgName: arrowSvg,
|
|
913
|
-
size: _svg_container_SvgContainer__WEBPACK_IMPORTED_MODULE_1__["SvgContainerSize"].Medium,
|
|
914
|
-
className: "svg-container d-inline-block ".concat(_widget_button_scss__WEBPACK_IMPORTED_MODULE_3___default.a.chevron)
|
|
915
|
-
})), props.useGradientBackdrop && react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", {
|
|
916
|
-
className: isLeft ? _widget_button_scss__WEBPACK_IMPORTED_MODULE_3___default.a.gradientLeft : _widget_button_scss__WEBPACK_IMPORTED_MODULE_3___default.a.gradientRight
|
|
917
|
-
}), react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", {
|
|
918
|
-
role: 'button',
|
|
919
|
-
onClick: props.onClick,
|
|
920
|
-
className: isLeft ? _widget_button_scss__WEBPACK_IMPORTED_MODULE_3___default.a.extendedClickableAreaLeft : _widget_button_scss__WEBPACK_IMPORTED_MODULE_3___default.a.extendedClickableAreaRight
|
|
921
|
-
}));
|
|
922
|
-
}, function (prevProps, nextProps) {
|
|
923
|
-
return prevProps.hide === nextProps.hide;
|
|
924
|
-
});
|
|
925
|
-
|
|
926
|
-
/***/ }),
|
|
927
|
-
|
|
928
|
-
/***/ "../../libs/shared/src/components/widgets/widget-button/widget-button.scss":
|
|
929
|
-
/*!*********************************************************************************************************************!*\
|
|
930
|
-
!*** C:/ClickView Projects/@clickview/packages/libs/shared/src/components/widgets/widget-button/widget-button.scss ***!
|
|
931
|
-
\*********************************************************************************************************************/
|
|
932
|
-
/*! no static exports found */
|
|
933
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
934
|
-
|
|
935
|
-
// extracted by mini-css-extract-plugin
|
|
936
|
-
module.exports = {"left":"cv--left--789pr","right":"cv--right--1P8qt","button":"cv--button--24q_F","chevron":"cv--chevron--3M27X","gradientLeft":"cv--gradientLeft--3fkiw","gradientRight":"cv--gradientRight--2RDDy","extendedClickableAreaRight":"cv--extendedClickableAreaRight--13dgy","extendedClickableAreaLeft":"cv--extendedClickableAreaLeft--37LtK","videoTopPos":"cv--videoTopPos--1XTRO","topPos":"cv--topPos--3_p_J"};
|
|
937
|
-
|
|
938
|
-
/***/ }),
|
|
939
|
-
|
|
940
|
-
/***/ "../../libs/shared/src/enums/CssMeasurement.ts":
|
|
941
|
-
/*!*****************************************************************************************!*\
|
|
942
|
-
!*** C:/ClickView Projects/@clickview/packages/libs/shared/src/enums/CssMeasurement.ts ***!
|
|
943
|
-
\*****************************************************************************************/
|
|
944
|
-
/*! exports provided: CssMeasurement */
|
|
945
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
946
|
-
|
|
947
|
-
"use strict";
|
|
948
|
-
__webpack_require__.r(__webpack_exports__);
|
|
949
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CssMeasurement", function() { return CssMeasurement; });
|
|
950
|
-
var CssMeasurement;
|
|
951
|
-
|
|
952
|
-
(function (CssMeasurement) {
|
|
953
|
-
CssMeasurement["Percentage"] = "%";
|
|
954
|
-
CssMeasurement["Pixels"] = "px";
|
|
955
|
-
})(CssMeasurement || (CssMeasurement = {}));
|
|
956
|
-
|
|
957
|
-
/***/ }),
|
|
958
|
-
|
|
959
|
-
/***/ "../../libs/shared/src/enums/WidgetContents.ts":
|
|
960
|
-
/*!*****************************************************************************************!*\
|
|
961
|
-
!*** C:/ClickView Projects/@clickview/packages/libs/shared/src/enums/WidgetContents.ts ***!
|
|
962
|
-
\*****************************************************************************************/
|
|
963
|
-
/*! exports provided: WidgetContents */
|
|
964
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
965
|
-
|
|
966
|
-
"use strict";
|
|
967
|
-
__webpack_require__.r(__webpack_exports__);
|
|
968
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "WidgetContents", function() { return WidgetContents; });
|
|
969
|
-
var WidgetContents;
|
|
970
|
-
|
|
971
|
-
(function (WidgetContents) {
|
|
972
|
-
WidgetContents["Videos"] = "videos";
|
|
973
|
-
WidgetContents["Series"] = "series";
|
|
974
|
-
WidgetContents["Subjects"] = "subjects";
|
|
975
|
-
WidgetContents["Playlists"] = "playlists";
|
|
976
|
-
WidgetContents["UserChannels"] = "user channels";
|
|
977
|
-
WidgetContents["Interactives"] = "interactives";
|
|
978
|
-
WidgetContents["Clips"] = "clips";
|
|
979
|
-
})(WidgetContents || (WidgetContents = {}));
|
|
980
|
-
|
|
981
|
-
/***/ }),
|
|
982
|
-
|
|
983
|
-
/***/ "../../libs/shared/src/enums/WidgetInteraction.ts":
|
|
984
|
-
/*!********************************************************************************************!*\
|
|
985
|
-
!*** C:/ClickView Projects/@clickview/packages/libs/shared/src/enums/WidgetInteraction.ts ***!
|
|
986
|
-
\********************************************************************************************/
|
|
987
|
-
/*! exports provided: WidgetInteraction */
|
|
988
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
989
|
-
|
|
990
|
-
"use strict";
|
|
991
|
-
__webpack_require__.r(__webpack_exports__);
|
|
992
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "WidgetInteraction", function() { return WidgetInteraction; });
|
|
993
|
-
var WidgetInteraction;
|
|
994
|
-
|
|
995
|
-
(function (WidgetInteraction) {
|
|
996
|
-
WidgetInteraction["Init"] = "init";
|
|
997
|
-
WidgetInteraction["Next"] = "next";
|
|
998
|
-
WidgetInteraction["Previous"] = "previous";
|
|
999
|
-
WidgetInteraction["Resize"] = "resize";
|
|
1000
|
-
WidgetInteraction["Drag"] = "drag";
|
|
1001
|
-
})(WidgetInteraction || (WidgetInteraction = {}));
|
|
1002
|
-
|
|
1003
|
-
/***/ }),
|
|
1004
|
-
|
|
1005
|
-
/***/ "../../libs/shared/src/hooks/UseHover.ts":
|
|
1006
|
-
/*!***********************************************************************************!*\
|
|
1007
|
-
!*** C:/ClickView Projects/@clickview/packages/libs/shared/src/hooks/UseHover.ts ***!
|
|
1008
|
-
\***********************************************************************************/
|
|
1009
|
-
/*! exports provided: useHover, useHoverIntent */
|
|
1010
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1011
|
-
|
|
1012
|
-
"use strict";
|
|
1013
|
-
__webpack_require__.r(__webpack_exports__);
|
|
1014
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "useHover", function() { return useHover; });
|
|
1015
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "useHoverIntent", function() { return useHoverIntent; });
|
|
1016
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
1017
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
1018
|
-
/* harmony import */ var _common_src_backbone_utils_FunctionHelper__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../common/src/backbone/utils/FunctionHelper */ "../../libs/common/src/backbone/utils/FunctionHelper.ts");
|
|
1019
|
-
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
1020
|
-
|
|
1021
|
-
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
1022
|
-
|
|
1023
|
-
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
1024
|
-
|
|
1025
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
1026
|
-
|
|
1027
|
-
function _iterableToArrayLimit(arr, i) { if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return; var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
1028
|
-
|
|
1029
|
-
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
var defaultOptions = {
|
|
1034
|
-
className: '',
|
|
1035
|
-
delay: 0
|
|
1036
|
-
};
|
|
1037
|
-
/**
|
|
1038
|
-
* This hook detects hover events on an element.
|
|
1039
|
-
* This should only be used where CSS hover events won't suffice for what you are trying to achieve.
|
|
1040
|
-
*/
|
|
1041
|
-
|
|
1042
|
-
function useHover() {
|
|
1043
|
-
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultOptions;
|
|
1044
|
-
|
|
1045
|
-
var _React$useState = react__WEBPACK_IMPORTED_MODULE_0__["useState"](false),
|
|
1046
|
-
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
1047
|
-
isHovering = _React$useState2[0],
|
|
1048
|
-
setHovering = _React$useState2[1];
|
|
1049
|
-
|
|
1050
|
-
var ref = react__WEBPACK_IMPORTED_MODULE_0__["useRef"](null);
|
|
1051
|
-
var triggerHover = _common_src_backbone_utils_FunctionHelper__WEBPACK_IMPORTED_MODULE_1__["FunctionHelper"].throttle(function () {
|
|
1052
|
-
var _a, _b;
|
|
1053
|
-
|
|
1054
|
-
if (options.className) (_b = (_a = ref.current) === null || _a === void 0 ? void 0 : _a.classList) === null || _b === void 0 ? void 0 : _b.add(options.className);
|
|
1055
|
-
setHovering(true);
|
|
1056
|
-
}, options.delay, {
|
|
1057
|
-
leading: false
|
|
1058
|
-
});
|
|
1059
|
-
|
|
1060
|
-
var handleMouseOut = function handleMouseOut() {
|
|
1061
|
-
var _a, _b;
|
|
1062
|
-
|
|
1063
|
-
if (_common_src_backbone_utils_FunctionHelper__WEBPACK_IMPORTED_MODULE_1__["FunctionHelper"].isFunction(triggerHover.cancel)) triggerHover.cancel();
|
|
1064
|
-
if (options.className) (_b = (_a = ref.current) === null || _a === void 0 ? void 0 : _a.classList) === null || _b === void 0 ? void 0 : _b.remove(options.className);
|
|
1065
|
-
setHovering(false);
|
|
1066
|
-
};
|
|
1067
|
-
|
|
1068
|
-
react__WEBPACK_IMPORTED_MODULE_0__["useLayoutEffect"](function () {
|
|
1069
|
-
var node = ref.current;
|
|
1070
|
-
|
|
1071
|
-
if (node) {
|
|
1072
|
-
node.addEventListener('mouseenter', triggerHover);
|
|
1073
|
-
node.addEventListener('mouseleave', handleMouseOut);
|
|
1074
|
-
return function () {
|
|
1075
|
-
node.removeEventListener('mouseenter', triggerHover);
|
|
1076
|
-
node.removeEventListener('mouseleave', handleMouseOut);
|
|
1077
|
-
};
|
|
1078
|
-
}
|
|
1079
|
-
}, [ref.current, triggerHover, handleMouseOut]);
|
|
1080
|
-
return [ref, isHovering];
|
|
1081
|
-
}
|
|
1082
|
-
function useHoverIntent(className) {
|
|
1083
|
-
return useHover({
|
|
1084
|
-
className: className,
|
|
1085
|
-
delay: 275
|
|
1086
|
-
});
|
|
1087
|
-
}
|
|
1088
|
-
|
|
1089
|
-
/***/ }),
|
|
1090
|
-
|
|
1091
|
-
/***/ "../../libs/shared/src/utils/DragHelper.ts":
|
|
1092
|
-
/*!*************************************************************************************!*\
|
|
1093
|
-
!*** C:/ClickView Projects/@clickview/packages/libs/shared/src/utils/DragHelper.ts ***!
|
|
1094
|
-
\*************************************************************************************/
|
|
1095
|
-
/*! exports provided: DragHelper */
|
|
1096
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1097
|
-
|
|
1098
|
-
"use strict";
|
|
1099
|
-
__webpack_require__.r(__webpack_exports__);
|
|
1100
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DragHelper", function() { return DragHelper; });
|
|
1101
|
-
/* harmony import */ var _common_src_backbone_utils_FunctionHelper__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../common/src/backbone/utils/FunctionHelper */ "../../libs/common/src/backbone/utils/FunctionHelper.ts");
|
|
1102
|
-
|
|
1103
|
-
var blankImage = new Image();
|
|
1104
|
-
blankImage.src = 'data:image/gif;base64,R0lGODlhAQABAIAAAAUEBAAAACwAAAAAAQABAAACAkQBADs=';
|
|
1105
|
-
var DragHelper = {
|
|
1106
|
-
// This removes the image that appears when you drag a draggable HTML element
|
|
1107
|
-
hideDragImage: function hideDragImage(event) {
|
|
1108
|
-
if (!event.dataTransfer.setDragImage || !_common_src_backbone_utils_FunctionHelper__WEBPACK_IMPORTED_MODULE_0__["FunctionHelper"].isFunction(event.dataTransfer.setDragImage)) return;
|
|
1109
|
-
event.dataTransfer.setDragImage(blankImage, 0, 0);
|
|
1110
|
-
}
|
|
1111
|
-
};
|
|
1112
|
-
|
|
1113
|
-
/***/ }),
|
|
1114
|
-
|
|
1115
|
-
/***/ "../../libs/shared/src/utils/WidgetHelper.ts":
|
|
1116
|
-
/*!***************************************************************************************!*\
|
|
1117
|
-
!*** C:/ClickView Projects/@clickview/packages/libs/shared/src/utils/WidgetHelper.ts ***!
|
|
1118
|
-
\***************************************************************************************/
|
|
1119
|
-
/*! exports provided: WidgetHelper */
|
|
1120
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1121
|
-
|
|
1122
|
-
"use strict";
|
|
1123
|
-
__webpack_require__.r(__webpack_exports__);
|
|
1124
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "WidgetHelper", function() { return WidgetHelper; });
|
|
1125
|
-
/* harmony import */ var _analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../analytics/src/interfaces */ "../../libs/analytics/src/interfaces/index.ts");
|
|
1126
|
-
|
|
1127
|
-
var WidgetHelper = {
|
|
1128
|
-
/**
|
|
1129
|
-
* Used by both the FixedWidget and DynamicWidget
|
|
1130
|
-
*/
|
|
1131
|
-
getSliderAnalyticsOptions: function getSliderAnalyticsOptions() {
|
|
1132
|
-
return {
|
|
1133
|
-
actionType: _analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_0__["UserAction"].Click,
|
|
1134
|
-
location: _analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_0__["LocationContext"].SlidingList,
|
|
1135
|
-
entity: _analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_0__["EntityType"].Widget,
|
|
1136
|
-
descriptor: _analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_0__["ClickDescriptor"].Slide
|
|
1137
|
-
};
|
|
1138
|
-
},
|
|
1139
|
-
|
|
1140
|
-
/**
|
|
1141
|
-
* Used by both the FixedWidget and DynamicWidget
|
|
1142
|
-
*/
|
|
1143
|
-
getSliderItemAnalyticsOptions: function getSliderItemAnalyticsOptions() {
|
|
1144
|
-
return {
|
|
1145
|
-
location: _analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_0__["LocationContext"].SlidingListItem
|
|
1146
|
-
};
|
|
1147
|
-
},
|
|
1148
|
-
getSliderHeadingAnalyticsOptions: function getSliderHeadingAnalyticsOptions() {
|
|
1149
|
-
return {
|
|
1150
|
-
actionType: _analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_0__["UserAction"].Click,
|
|
1151
|
-
location: _analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_0__["LocationContext"].SlidingList,
|
|
1152
|
-
entity: _analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_0__["EntityType"].Widget,
|
|
1153
|
-
descriptor: _analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_0__["ClickDescriptor"].Title
|
|
1154
|
-
};
|
|
1155
|
-
}
|
|
1156
|
-
};
|
|
1157
|
-
|
|
1158
|
-
/***/ })
|
|
1159
|
-
|
|
1160
|
-
}]);
|
|
1161
|
-
//# sourceMappingURL=5.chunk.js.map
|