@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/51.chunk.js
DELETED
|
@@ -1,230 +0,0 @@
|
|
|
1
|
-
(window["webpackJsonp_clickview_lite"] = window["webpackJsonp_clickview_lite"] || []).push([[51],{
|
|
2
|
-
|
|
3
|
-
/***/ "./src/apps/user-manager/flight-requests/YearLevelRequests.ts":
|
|
4
|
-
/*!********************************************************************!*\
|
|
5
|
-
!*** ./src/apps/user-manager/flight-requests/YearLevelRequests.ts ***!
|
|
6
|
-
\********************************************************************/
|
|
7
|
-
/*! exports provided: YearLevelRequests */
|
|
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__, "YearLevelRequests", function() { return YearLevelRequests; });
|
|
13
|
-
/* harmony import */ var _libs_common_src_react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../libs/common/src/react */ "../../libs/common/src/react/index.ts");
|
|
14
|
-
/* harmony import */ var _mocks_year_levels_json__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./mocks/year-levels.json */ "./src/apps/user-manager/flight-requests/mocks/year-levels.json");
|
|
15
|
-
var _mocks_year_levels_json__WEBPACK_IMPORTED_MODULE_1___namespace = /*#__PURE__*/__webpack_require__.t(/*! ./mocks/year-levels.json */ "./src/apps/user-manager/flight-requests/mocks/year-levels.json", 1);
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
var MOCK_YEAR_LEVELS = 'year:levels';
|
|
19
|
-
var YearLevelRequests = {
|
|
20
|
-
getAll: function getAll() {
|
|
21
|
-
return {
|
|
22
|
-
url: '/api/domain/v1/yearlevels',
|
|
23
|
-
key: 'yearlevels',
|
|
24
|
-
successResponse: function successResponse() {
|
|
25
|
-
return _libs_common_src_react__WEBPACK_IMPORTED_MODULE_0__["Flight"].Simulator.getAll(MOCK_YEAR_LEVELS, _mocks_year_levels_json__WEBPACK_IMPORTED_MODULE_1__);
|
|
26
|
-
}
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
/***/ }),
|
|
32
|
-
|
|
33
|
-
/***/ "./src/apps/user-manager/flight-requests/mocks/year-levels.json":
|
|
34
|
-
/*!**********************************************************************!*\
|
|
35
|
-
!*** ./src/apps/user-manager/flight-requests/mocks/year-levels.json ***!
|
|
36
|
-
\**********************************************************************/
|
|
37
|
-
/*! exports provided: 0, 1, 2, 3, 4, 5, 6, default */
|
|
38
|
-
/***/ (function(module) {
|
|
39
|
-
|
|
40
|
-
module.exports = JSON.parse("[{\"id\":\"kindergarten\",\"name\":\"Kindergarten\"},{\"id\":\"year-1\",\"name\":\"Year 1\"},{\"id\":\"year-2\",\"name\":\"Year 2\"},{\"id\":\"year-3\",\"name\":\"Year 3\"},{\"id\":\"year-4\",\"name\":\"Year 4\"},{\"id\":\"year-5\",\"name\":\"Year 5\"},{\"id\":\"year-6\",\"name\":\"Year 6\"}]");
|
|
41
|
-
|
|
42
|
-
/***/ }),
|
|
43
|
-
|
|
44
|
-
/***/ "./src/apps/user-manager/views/school-student-manager/SchoolStudentManagerView.tsx":
|
|
45
|
-
/*!*****************************************************************************************!*\
|
|
46
|
-
!*** ./src/apps/user-manager/views/school-student-manager/SchoolStudentManagerView.tsx ***!
|
|
47
|
-
\*****************************************************************************************/
|
|
48
|
-
/*! exports provided: SchoolStudentManagerView */
|
|
49
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
50
|
-
|
|
51
|
-
"use strict";
|
|
52
|
-
__webpack_require__.r(__webpack_exports__);
|
|
53
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SchoolStudentManagerView", function() { return SchoolStudentManagerView; });
|
|
54
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
55
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
56
|
-
/* harmony import */ var _libs_common_src_react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../../libs/common/src/react */ "../../libs/common/src/react/index.ts");
|
|
57
|
-
/* harmony import */ var _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/services/LanguageService */ "../../libs/common/src/backbone/services/LanguageService.tsx");
|
|
58
|
-
/* harmony import */ var _libs_common_src_react_hooks_UseSetPageTitle__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../libs/common/src/react/hooks/UseSetPageTitle */ "../../libs/common/src/react/hooks/UseSetPageTitle.ts");
|
|
59
|
-
/* harmony import */ var _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../../../libs/analytics/src/interfaces */ "../../libs/analytics/src/interfaces/index.ts");
|
|
60
|
-
/* harmony import */ var _libs_shared_src_components_pagination_Pagination__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../../../../libs/shared/src/components/pagination/Pagination */ "../../libs/shared/src/components/pagination/Pagination.tsx");
|
|
61
|
-
/* harmony import */ var _libs_shared_src_services_ContextService__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../../../../libs/shared/src/services/ContextService */ "../../libs/shared/src/services/ContextService.ts");
|
|
62
|
-
/* harmony import */ var _libs_shared_src_components_text_Text__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../../../../libs/shared/src/components/text/Text */ "../../libs/shared/src/components/text/Text.tsx");
|
|
63
|
-
/* harmony import */ var apps_user_manager_flight_requests_SchoolUserRequests__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! apps/user-manager/flight-requests/SchoolUserRequests */ "./src/apps/user-manager/flight-requests/SchoolUserRequests.ts");
|
|
64
|
-
/* harmony import */ var apps_user_manager_components_manage_users_list_ManageUsersList__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! apps/user-manager/components/manage-users-list/ManageUsersList */ "./src/apps/user-manager/components/manage-users-list/ManageUsersList.tsx");
|
|
65
|
-
/* harmony import */ var apps_user_manager_components_manage_users_list_partial_loading_PartialManageUsersList__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! apps/user-manager/components/manage-users-list/partial-loading/PartialManageUsersList */ "./src/apps/user-manager/components/manage-users-list/partial-loading/PartialManageUsersList.tsx");
|
|
66
|
-
/* harmony import */ var apps_user_manager_flight_requests_YearLevelRequests__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! apps/user-manager/flight-requests/YearLevelRequests */ "./src/apps/user-manager/flight-requests/YearLevelRequests.ts");
|
|
67
|
-
/* harmony import */ var apps_user_manager_enums__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! apps/user-manager/enums */ "./src/apps/user-manager/enums/index.ts");
|
|
68
|
-
/* harmony import */ var apps_classrooms_flight_requests_ClassroomRequests__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! apps/classrooms/flight-requests/ClassroomRequests */ "./src/apps/classrooms/flight-requests/ClassroomRequests.ts");
|
|
69
|
-
/* harmony import */ var apps_search_components_scoped_search_bar_ScopedSearchBar__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! apps/search/components/scoped-search-bar/ScopedSearchBar */ "./src/apps/search/components/scoped-search-bar/ScopedSearchBar.tsx");
|
|
70
|
-
/* harmony import */ var apps_search_components__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! apps/search/components */ "./src/apps/search/components/index.ts");
|
|
71
|
-
/* harmony import */ var apps_search_utils__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! apps/search/utils */ "./src/apps/search/utils/index.ts");
|
|
72
|
-
/* harmony import */ var _empty_state_SchoolStudentManagerEmptyState__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./empty-state/SchoolStudentManagerEmptyState */ "./src/apps/user-manager/views/school-student-manager/empty-state/SchoolStudentManagerEmptyState.tsx");
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
var namespace = 'userManager.schoolStudentManager';
|
|
92
|
-
var getPhrase = _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_2__["LanguageService"].encloseNamespace(namespace);
|
|
93
|
-
function SchoolStudentManagerView(props) {
|
|
94
|
-
var _a, _b, _c, _d;
|
|
95
|
-
|
|
96
|
-
Object(_libs_common_src_react_hooks_UseSetPageTitle__WEBPACK_IMPORTED_MODULE_3__["useSetPageTitle"])(getPhrase('pageTitle'));
|
|
97
|
-
var students = _libs_common_src_react__WEBPACK_IMPORTED_MODULE_1__["Flight"].useBasicFetch(apps_user_manager_flight_requests_SchoolUserRequests__WEBPACK_IMPORTED_MODULE_8__["SchoolUserRequests"].getSchoolStudents(apps_search_utils__WEBPACK_IMPORTED_MODULE_16__["FilterHelper"].getBackendQueryParams(props.queryParams)));
|
|
98
|
-
var yearLevels = _libs_common_src_react__WEBPACK_IMPORTED_MODULE_1__["Flight"].useBasicFetch(apps_user_manager_flight_requests_YearLevelRequests__WEBPACK_IMPORTED_MODULE_11__["YearLevelRequests"].getAll());
|
|
99
|
-
var classrooms = _libs_common_src_react__WEBPACK_IMPORTED_MODULE_1__["Flight"].useBasicFetch(apps_classrooms_flight_requests_ClassroomRequests__WEBPACK_IMPORTED_MODULE_13__["ClassroomRequests"].getAll());
|
|
100
|
-
|
|
101
|
-
function getFilters() {
|
|
102
|
-
if (!yearLevels.data || !classrooms.data) return [];
|
|
103
|
-
return [apps_search_utils__WEBPACK_IMPORTED_MODULE_16__["Filters"].SortByName(apps_search_utils__WEBPACK_IMPORTED_MODULE_16__["FilterHelper"].getNameSortOptions()), apps_search_utils__WEBPACK_IMPORTED_MODULE_16__["Filters"].YearLevel(apps_search_utils__WEBPACK_IMPORTED_MODULE_16__["FilterHelper"].getYearLevelOptions(yearLevels.data)), apps_search_utils__WEBPACK_IMPORTED_MODULE_16__["Filters"].Classroom(apps_search_utils__WEBPACK_IMPORTED_MODULE_16__["FilterHelper"].getClassroomOptions(classrooms.data))];
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
return react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", {
|
|
107
|
-
className: 'px-3'
|
|
108
|
-
}, react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("h1", {
|
|
109
|
-
className: 'pl-4'
|
|
110
|
-
}, react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_libs_shared_src_components_text_Text__WEBPACK_IMPORTED_MODULE_7__["Text"], {
|
|
111
|
-
namespace: namespace,
|
|
112
|
-
phrase: 'heading'
|
|
113
|
-
})), react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", {
|
|
114
|
-
className: 'pl-4 py-2 row'
|
|
115
|
-
}, react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", {
|
|
116
|
-
className: 'col-9 p-0'
|
|
117
|
-
}, getFilters().length ? react__WEBPACK_IMPORTED_MODULE_0__["createElement"](apps_search_components__WEBPACK_IMPORTED_MODULE_15__["SearchFilters"], {
|
|
118
|
-
queryParams: props.queryParams,
|
|
119
|
-
mainFilters: getFilters(),
|
|
120
|
-
analyticsOptions: {
|
|
121
|
-
entity: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_4__["EntityType"].User,
|
|
122
|
-
location: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_4__["LocationContext"].StudentManager
|
|
123
|
-
},
|
|
124
|
-
hideHeading: true
|
|
125
|
-
}) : react__WEBPACK_IMPORTED_MODULE_0__["createElement"](apps_search_components__WEBPACK_IMPORTED_MODULE_15__["PartialSearchFilters"], {
|
|
126
|
-
hideHeading: true
|
|
127
|
-
})), react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", {
|
|
128
|
-
className: 'col-3'
|
|
129
|
-
}, react__WEBPACK_IMPORTED_MODULE_0__["createElement"](apps_search_components_scoped_search_bar_ScopedSearchBar__WEBPACK_IMPORTED_MODULE_14__["ScopedSearchBar"], {
|
|
130
|
-
id: 'school-student-search',
|
|
131
|
-
name: 'school-student-search',
|
|
132
|
-
placeholder: getPhrase('searchBarPlaceholder')
|
|
133
|
-
}))), react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("p", {
|
|
134
|
-
className: 'pl-4 mb-0 font-weight-bold'
|
|
135
|
-
}, react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_libs_shared_src_components_text_Text__WEBPACK_IMPORTED_MODULE_7__["Text"], {
|
|
136
|
-
namespace: namespace,
|
|
137
|
-
phrase: 'entries',
|
|
138
|
-
options: {
|
|
139
|
-
totalVisible: ((_b = (_a = students.data) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.length) || 0,
|
|
140
|
-
absoluteTotal: ((_c = students.data) === null || _c === void 0 ? void 0 : _c.count) || 0,
|
|
141
|
-
smartCount: ((_d = students.data) === null || _d === void 0 ? void 0 : _d.count) || 0
|
|
142
|
-
}
|
|
143
|
-
})), react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("main", {
|
|
144
|
-
className: 'py-3'
|
|
145
|
-
}, function () {
|
|
146
|
-
var _a;
|
|
147
|
-
|
|
148
|
-
if (!((_a = students.data) === null || _a === void 0 ? void 0 : _a.data) || !yearLevels.data) return react__WEBPACK_IMPORTED_MODULE_0__["createElement"](apps_user_manager_components_manage_users_list_partial_loading_PartialManageUsersList__WEBPACK_IMPORTED_MODULE_10__["PartialManageUsersList"], null);
|
|
149
|
-
if (!students.data.data.length) return react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_empty_state_SchoolStudentManagerEmptyState__WEBPACK_IMPORTED_MODULE_17__["SchoolStudentManagerEmptyState"], null);
|
|
150
|
-
return react__WEBPACK_IMPORTED_MODULE_0__["createElement"](react__WEBPACK_IMPORTED_MODULE_0__["Fragment"], null, react__WEBPACK_IMPORTED_MODULE_0__["createElement"](apps_user_manager_components_manage_users_list_ManageUsersList__WEBPACK_IMPORTED_MODULE_9__["ManageUsersList"], {
|
|
151
|
-
users: students.data.data,
|
|
152
|
-
userType: apps_user_manager_enums__WEBPACK_IMPORTED_MODULE_12__["MockUserType"].Student,
|
|
153
|
-
yearLevels: yearLevels.data,
|
|
154
|
-
analyticsOptions: {
|
|
155
|
-
location: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_4__["LocationContext"].StudentManager
|
|
156
|
-
}
|
|
157
|
-
}), react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_libs_shared_src_components_pagination_Pagination__WEBPACK_IMPORTED_MODULE_5__["Pagination"], {
|
|
158
|
-
appLink: _libs_shared_src_services_ContextService__WEBPACK_IMPORTED_MODULE_6__["ContextService"].getCurrentRoute().appLink,
|
|
159
|
-
cursors: {
|
|
160
|
-
next: students.data.pagination.cursors.next,
|
|
161
|
-
previous: students.data.pagination.cursors.previous
|
|
162
|
-
},
|
|
163
|
-
className: 'pt-3 d-flex justify-content-end'
|
|
164
|
-
}));
|
|
165
|
-
}()));
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
/***/ }),
|
|
169
|
-
|
|
170
|
-
/***/ "./src/apps/user-manager/views/school-student-manager/empty-state/SchoolStudentManagerEmptyState.tsx":
|
|
171
|
-
/*!***********************************************************************************************************!*\
|
|
172
|
-
!*** ./src/apps/user-manager/views/school-student-manager/empty-state/SchoolStudentManagerEmptyState.tsx ***!
|
|
173
|
-
\***********************************************************************************************************/
|
|
174
|
-
/*! exports provided: SchoolStudentManagerEmptyState */
|
|
175
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
176
|
-
|
|
177
|
-
"use strict";
|
|
178
|
-
__webpack_require__.r(__webpack_exports__);
|
|
179
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SchoolStudentManagerEmptyState", function() { return SchoolStudentManagerEmptyState; });
|
|
180
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
181
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
182
|
-
/* harmony import */ var _libs_shared_src_components_text_Text__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../../../libs/shared/src/components/text/Text */ "../../libs/shared/src/components/text/Text.tsx");
|
|
183
|
-
/* harmony import */ var _libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../../../../libs/shared/src/utils/SvgHelper */ "../../libs/shared/src/utils/SvgHelper.ts");
|
|
184
|
-
/* harmony import */ var _libs_shared_src_components_icon_button_IconButton__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../../libs/shared/src/components/icon-button/IconButton */ "../../libs/shared/src/components/icon-button/IconButton.tsx");
|
|
185
|
-
/* harmony import */ var shared_constants_LiteRadioChannels__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! shared/constants/LiteRadioChannels */ "./src/shared/constants/LiteRadioChannels.ts");
|
|
186
|
-
/* harmony import */ var shared_constants_LiteActions__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! shared/constants/LiteActions */ "./src/shared/constants/LiteActions.ts");
|
|
187
|
-
/* harmony import */ var shared_components_video_info_button_VideoInfoButton__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! shared/components/video-info-button/VideoInfoButton */ "./src/shared/components/video-info-button/VideoInfoButton.tsx");
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
var namespace = 'userManager.schoolStudentManagerEmptyState';
|
|
196
|
-
var newStudentAppLink = {
|
|
197
|
-
application: shared_constants_LiteRadioChannels__WEBPACK_IMPORTED_MODULE_4__["AppChannels"].USER_MANAGER,
|
|
198
|
-
action: shared_constants_LiteActions__WEBPACK_IMPORTED_MODULE_5__["Actions"].UserManager.NEW_STUDENT
|
|
199
|
-
};
|
|
200
|
-
function SchoolStudentManagerEmptyState() {
|
|
201
|
-
return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_libs_shared_src_components_text_Text__WEBPACK_IMPORTED_MODULE_1__["LanguageNamespaceContext"].Provider, {
|
|
202
|
-
value: namespace
|
|
203
|
-
}, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", {
|
|
204
|
-
className: 'text-center py-5'
|
|
205
|
-
}, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("p", null, "TODO: add an actual empty state image once bev has one"), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("img", {
|
|
206
|
-
src: '/favicon.ico',
|
|
207
|
-
className: 'pb-3'
|
|
208
|
-
}), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("h2", {
|
|
209
|
-
className: 'h6'
|
|
210
|
-
}, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_libs_shared_src_components_text_Text__WEBPACK_IMPORTED_MODULE_1__["Text"], {
|
|
211
|
-
phrase: 'heading'
|
|
212
|
-
})), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("p", {
|
|
213
|
-
className: 'w-33 mx-auto'
|
|
214
|
-
}, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_libs_shared_src_components_text_Text__WEBPACK_IMPORTED_MODULE_1__["Text"], {
|
|
215
|
-
phrase: 'info'
|
|
216
|
-
})), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(shared_components_video_info_button_VideoInfoButton__WEBPACK_IMPORTED_MODULE_6__["VideoInfoButton"], null, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_libs_shared_src_components_text_Text__WEBPACK_IMPORTED_MODULE_1__["Text"], {
|
|
217
|
-
phrase: 'videoLink'
|
|
218
|
-
})), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_libs_shared_src_components_icon_button_IconButton__WEBPACK_IMPORTED_MODULE_3__["IconButton"], {
|
|
219
|
-
className: 'btn btn-dark mx-auto',
|
|
220
|
-
svgName: _libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_2__["cvSvgLibrary"].Plus,
|
|
221
|
-
appLink: newStudentAppLink
|
|
222
|
-
}, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_libs_shared_src_components_text_Text__WEBPACK_IMPORTED_MODULE_1__["Text"], {
|
|
223
|
-
phrase: 'addNew'
|
|
224
|
-
}))));
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
/***/ })
|
|
228
|
-
|
|
229
|
-
}]);
|
|
230
|
-
//# sourceMappingURL=51.chunk.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["file://C:/ClickView Projects/@clickview/packages/projects/lite/src/apps/user-manager/flight-requests/YearLevelRequests.ts","file://C:/ClickView Projects/@clickview/packages/projects/lite/src/apps/user-manager/views/school-student-manager/SchoolStudentManagerView.tsx","file://C:/ClickView Projects/@clickview/packages/projects/lite/src/apps/user-manager/views/school-student-manager/empty-state/SchoolStudentManagerEmptyState.tsx"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA;AAEA,IAAM,gBAAgB,GAAG,aAAzB;AAEO,IAAM,iBAAiB,GAAG;AAC/B,QAD+B,oBACzB;AACJ,WAAO;AACL,SAAG,EAAE,2BADA;AAEL,SAAG,EAAE,YAFA;AAGL,qBAAe,EAAE,2BAAK;AACpB,eAAO,6DAAM,CAAC,SAAP,CAAiB,MAAjB,CAAwB,gBAAxB,EAA0C,oDAA1C,CAAP;AACD;AALI,KAAP;AAOD;AAT8B,CAA1B,C;;;;;;;;;;;;;;;;;;;;;;;ACNP;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AAEA;AACA;AAEA;AAEA;AAEA,IAAM,SAAS,GAAG,kCAAlB;AACA,IAAM,SAAS,GAAG,kGAAe,CAAC,gBAAhB,CAAiC,SAAjC,CAAlB;AAMM,SAAU,wBAAV,CAAmC,KAAnC,EAAuE;;;AAC3E,sGAAe,CAAC,SAAS,CAAC,WAAD,CAAV,CAAf;AAEA,MAAM,QAAQ,GAAG,6DAAM,CAAC,aAAP,CACf,uGAAkB,CAAC,iBAAnB,CAAqC,+DAAY,CAAC,qBAAb,CAAmC,KAAK,CAAC,WAAzC,CAArC,CADe,CAAjB;AAEA,MAAM,UAAU,GAAG,6DAAM,CAAC,aAAP,CAAsC,sGAAiB,CAAC,MAAlB,EAAtC,CAAnB;AACA,MAAM,UAAU,GAAG,6DAAM,CAAC,aAAP,CAAsC,oGAAiB,CAAC,MAAlB,EAAtC,CAAnB;;AAEA,WAAS,UAAT,GAAmB;AACjB,QAAI,CAAC,UAAU,CAAC,IAAZ,IAAoB,CAAC,UAAU,CAAC,IAApC,EACE,OAAO,EAAP;AAEF,WAAO,CACL,0DAAO,CAAC,UAAR,CAAmB,+DAAY,CAAC,kBAAb,EAAnB,CADK,EAEL,0DAAO,CAAC,SAAR,CAAkB,+DAAY,CAAC,mBAAb,CAAiC,UAAU,CAAC,IAA5C,CAAlB,CAFK,EAGL,0DAAO,CAAC,SAAR,CAAkB,+DAAY,CAAC,mBAAb,CAAiC,UAAU,CAAC,IAA5C,CAAlB,CAHK,CAAP;AAKD;;AAED,SACE;AAAK,aAAS,EAAC;AAAf,KACE;AAAI,aAAS,EAAC;AAAd,KAAqB,oDAAC,0EAAD,EAAK;AAAC,aAAS,EAAE,SAAZ;AAAuB,UAAM,EAAC;AAA9B,GAAL,CAArB,CADF,EAGE;AAAK,aAAS,EAAC;AAAf,KACE;AAAK,aAAS,EAAC;AAAf,KACG,UAAU,GAAG,MAAb,GACG,oDAAC,qEAAD,EAAc;AACZ,eAAW,EAAE,KAAK,CAAC,WADP;AAEZ,eAAW,EAAE,UAAU,EAFX;AAGZ,oBAAgB,EAAE;AAChB,YAAM,EAAE,yEAAU,CAAC,IADH;AAEhB,cAAQ,EAAE,8EAAe,CAAC;AAFV,KAHN;AAOZ,eAAW;AAPC,GAAd,CADH,GAUG,oDAAC,4EAAD,EAAqB;AAAC,eAAW;AAAZ,GAArB,CAXN,CADF,EAgBE;AAAK,aAAS,EAAC;AAAf,KACE,oDAAC,yGAAD,EAAgB;AACd,MAAE,EAAC,uBADW;AAEd,QAAI,EAAC,uBAFS;AAGd,eAAW,EAAE,SAAS,CAAC,sBAAD;AAHR,GAAhB,CADF,CAhBF,CAHF,EA4BE;AAAG,aAAS,EAAC;AAAb,KACE,oDAAC,0EAAD,EAAK;AACH,aAAS,EAAE,SADR;AAEH,UAAM,EAAC,SAFJ;AAGH,WAAO,EAAE;AACP,kBAAY,EAAE,qBAAQ,CAAC,IAAT,MAAa,IAAb,IAAa,aAAb,GAAa,MAAb,GAAa,GAAE,IAAf,MAAmB,IAAnB,IAAmB,aAAnB,GAAmB,MAAnB,GAAmB,GAAE,MAArB,KAA+B,CADtC;AAEP,mBAAa,EAAE,eAAQ,CAAC,IAAT,MAAa,IAAb,IAAa,aAAb,GAAa,MAAb,GAAa,GAAE,KAAf,KAAwB,CAFhC;AAGP,gBAAU,EAAE,eAAQ,CAAC,IAAT,MAAa,IAAb,IAAa,aAAb,GAAa,MAAb,GAAa,GAAE,KAAf,KAAwB;AAH7B;AAHN,GAAL,CADF,CA5BF,EAwCE;AAAM,aAAS,EAAC;AAAhB,KACI,YAAK;;;AACL,QAAI,QAAC,QAAQ,CAAC,IAAV,MAAc,IAAd,IAAc,aAAd,GAAc,MAAd,GAAc,GAAE,IAAhB,KAAwB,CAAC,UAAU,CAAC,IAAxC,EACE,OAAO,oDAAC,6IAAD,EAAuB,IAAvB,CAAP;AAEF,QAAI,CAAC,QAAQ,CAAC,IAAT,CAAc,IAAd,CAAmB,MAAxB,EACE,OAAO,oDAAC,2GAAD,EAA+B,IAA/B,CAAP;AAEF,WACE,0GACE,oDAAC,8GAAD,EAAgB;AACd,WAAK,EAAE,QAAQ,CAAC,IAAT,CAAc,IADP;AAEd,cAAQ,EAAE,qEAAY,CAAC,OAFT;AAGd,gBAAU,EAAE,UAAU,CAAC,IAHT;AAId,sBAAgB,EAAE;AAAE,gBAAQ,EAAE,8EAAe,CAAC;AAA5B;AAJJ,KAAhB,CADF,EAOE,oDAAC,4FAAD,EAAW;AACT,aAAO,EAAE,uFAAc,CAAC,eAAf,GAAiC,OADjC;AAET,aAAO,EAAE;AACP,YAAI,EAAE,QAAQ,CAAC,IAAT,CAAc,UAAd,CAAyB,OAAzB,CAAiC,IADhC;AAEP,gBAAQ,EAAE,QAAQ,CAAC,IAAT,CAAc,UAAd,CAAyB,OAAzB,CAAiC;AAFpC,OAFA;AAMT,eAAS,EAAC;AAND,KAAX,CAPF,CADF;AAkBD,GAzBA,EADH,CAxCF,CADF;AAuED,C;;;;;;;;;;;;AC5HD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA;AACA;AACA;AAEA;AACA;AACA;AAEA,IAAM,SAAS,GAAG,4CAAlB;AAEA,IAAM,iBAAiB,GAAiB;AACtC,aAAW,EAAE,8EAAW,CAAC,YADa;AAEtC,QAAM,EAAE,oEAAO,CAAC,WAAR,CAAoB;AAFU,CAAxC;AAKM,SAAU,8BAAV,GAAwC;AAC5C,SACE,2DAAC,8FAAwB,CAAC,QAA1B,EAAkC;AAAC,SAAK,EAAE;AAAR,GAAlC,EACE;AAAK,aAAS,EAAC;AAAf,KACE,+HADF,EAEE;AAAK,OAAG,EAAC,cAAT;AAAwB,aAAS,EAAC;AAAlC,IAFF,EAIE;AAAI,aAAS,EAAC;AAAd,KAAmB,2DAAC,0EAAD,EAAK;AAAC,UAAM,EAAC;AAAR,GAAL,CAAnB,CAJF,EAKE;AAAG,aAAS,EAAC;AAAb,KAA4B,2DAAC,0EAAD,EAAK;AAAC,UAAM,EAAC;AAAR,GAAL,CAA5B,CALF,EAOE,2DAAC,mGAAD,EAAgB,IAAhB,EACE,2DAAC,0EAAD,EAAK;AAAC,UAAM,EAAC;AAAR,GAAL,CADF,CAPF,EAWE,2DAAC,6FAAD,EAAW;AACT,aAAS,EAAC,sBADD;AAET,WAAO,EAAE,6EAAY,CAAC,IAFb;AAGT,WAAO,EAAE;AAHA,GAAX,EAKE,2DAAC,0EAAD,EAAK;AAAC,UAAM,EAAC;AAAR,GAAL,CALF,CAXF,CADF,CADF;AAuBD,C","file":"scripts/51.chunk.js","sourcesContent":["import { Flight } from 'libs/common/flight';\r\n\r\nimport yearLevels from './mocks/year-levels.json';\r\n\r\nconst MOCK_YEAR_LEVELS = 'year:levels';\r\n\r\nexport const YearLevelRequests = {\r\n getAll(): Flight.SimulatedRequest {\r\n return {\r\n url: '/api/domain/v1/yearlevels',\r\n key: 'yearlevels',\r\n successResponse: () => {\r\n return Flight.Simulator.getAll(MOCK_YEAR_LEVELS, yearLevels);\r\n }\r\n };\r\n }\r\n};\r\n","import * as React from 'react';\r\n\r\nimport { Flight } from 'libs/common/flight';\r\nimport { LanguageService } from 'libs/common/backbone/services/LanguageService';\r\nimport { HashObject } from 'libs/common/react/interfaces/HashObject';\r\nimport { useSetPageTitle } from 'libs/common/react/hooks/UseSetPageTitle';\r\nimport { LocationContext, EntityType } from 'libs/analytics/interfaces';\r\nimport { Pagination } from 'libs/shared/components/pagination/Pagination';\r\nimport { ContextService } from 'libs/shared/services/ContextService';\r\nimport { Text } from 'libs/shared/components/text/Text';\r\n\r\nimport { SchoolUserRequests } from 'apps/user-manager/flight-requests/SchoolUserRequests';\r\nimport { ManageUsersList } from 'apps/user-manager/components/manage-users-list/ManageUsersList';\r\nimport { PartialManageUsersList } from 'apps/user-manager/components/manage-users-list/partial-loading/PartialManageUsersList';\r\nimport { MockClassroom, MockYearLevel, MockStudentCollection } from 'apps/user-manager/interfaces';\r\nimport { YearLevelRequests } from 'apps/user-manager/flight-requests/YearLevelRequests';\r\nimport { MockUserType } from 'apps/user-manager/enums';\r\n\r\nimport { ClassroomRequests } from 'apps/classrooms/flight-requests/ClassroomRequests';\r\n\r\nimport { ScopedSearchBar } from 'apps/search/components/scoped-search-bar/ScopedSearchBar';\r\nimport { SearchFilters, PartialSearchFilters } from 'apps/search/components';\r\nimport { SearchFilter } from 'apps/search/interfaces';\r\nimport { Filters, FilterHelper } from 'apps/search/utils';\r\n\r\nimport { SchoolStudentManagerEmptyState } from './empty-state/SchoolStudentManagerEmptyState';\r\n\r\nconst namespace = 'userManager.schoolStudentManager';\r\nconst getPhrase = LanguageService.encloseNamespace(namespace);\r\n\r\ninterface SchoolStudentManagerViewProps {\r\n queryParams: HashObject;\r\n}\r\n\r\nexport function SchoolStudentManagerView(props: SchoolStudentManagerViewProps): JSX.Element {\r\n useSetPageTitle(getPhrase('pageTitle'));\r\n\r\n const students = Flight.useBasicFetch<MockStudentCollection>(\r\n SchoolUserRequests.getSchoolStudents(FilterHelper.getBackendQueryParams(props.queryParams)));\r\n const yearLevels = Flight.useBasicFetch<MockYearLevel[]>(YearLevelRequests.getAll());\r\n const classrooms = Flight.useBasicFetch<MockClassroom[]>(ClassroomRequests.getAll());\r\n\r\n function getFilters(): SearchFilter[] {\r\n if (!yearLevels.data || !classrooms.data)\r\n return [];\r\n\r\n return [\r\n Filters.SortByName(FilterHelper.getNameSortOptions()),\r\n Filters.YearLevel(FilterHelper.getYearLevelOptions(yearLevels.data)),\r\n Filters.Classroom(FilterHelper.getClassroomOptions(classrooms.data))\r\n ];\r\n }\r\n\r\n return (\r\n <div className='px-3'>\r\n <h1 className='pl-4'><Text namespace={namespace} phrase='heading' /></h1>\r\n\r\n <div className='pl-4 py-2 row'>\r\n <div className='col-9 p-0'>\r\n {getFilters().length\r\n ? <SearchFilters\r\n queryParams={props.queryParams}\r\n mainFilters={getFilters()}\r\n analyticsOptions={{\r\n entity: EntityType.User,\r\n location: LocationContext.StudentManager\r\n }}\r\n hideHeading\r\n />\r\n : <PartialSearchFilters hideHeading />\r\n }\r\n </div>\r\n\r\n <div className='col-3'>\r\n <ScopedSearchBar\r\n id='school-student-search'\r\n name='school-student-search'\r\n placeholder={getPhrase('searchBarPlaceholder')}\r\n />\r\n </div>\r\n </div>\r\n\r\n <p className='pl-4 mb-0 font-weight-bold'>\r\n <Text\r\n namespace={namespace}\r\n phrase='entries'\r\n options={{\r\n totalVisible: students.data?.data?.length || 0,\r\n absoluteTotal: students.data?.count || 0,\r\n smartCount: students.data?.count || 0\r\n }}\r\n />\r\n </p>\r\n\r\n <main className='py-3'>\r\n {(() => {\r\n if (!students.data?.data || !yearLevels.data)\r\n return <PartialManageUsersList />;\r\n\r\n if (!students.data.data.length)\r\n return <SchoolStudentManagerEmptyState />;\r\n\r\n return (\r\n <>\r\n <ManageUsersList\r\n users={students.data.data}\r\n userType={MockUserType.Student}\r\n yearLevels={yearLevels.data}\r\n analyticsOptions={{ location: LocationContext.StudentManager }}\r\n />\r\n <Pagination\r\n appLink={ContextService.getCurrentRoute().appLink}\r\n cursors={{\r\n next: students.data.pagination.cursors.next,\r\n previous: students.data.pagination.cursors.previous\r\n }}\r\n className='pt-3 d-flex justify-content-end'\r\n />\r\n </>\r\n );\r\n })()}\r\n </main>\r\n </div>\r\n );\r\n}","import React from 'react';\r\n\r\nimport { Core } from 'libs/common/core';\r\nimport { Text, LanguageNamespaceContext } from 'libs/shared/components/text/Text';\r\nimport { cvSvgLibrary } from 'libs/shared/utils/SvgHelper';\r\nimport { IconButton } from 'libs/shared/components/icon-button/IconButton';\r\n\r\nimport { AppChannels } from 'shared/constants/LiteRadioChannels';\r\nimport { Actions } from 'shared/constants/LiteActions';\r\nimport { VideoInfoButton } from 'shared/components/video-info-button/VideoInfoButton';\r\n\r\nconst namespace = 'userManager.schoolStudentManagerEmptyState';\r\n\r\nconst newStudentAppLink: Core.AppLink = {\r\n application: AppChannels.USER_MANAGER,\r\n action: Actions.UserManager.NEW_STUDENT\r\n};\r\n\r\nexport function SchoolStudentManagerEmptyState(): JSX.Element {\r\n return (\r\n <LanguageNamespaceContext.Provider value={namespace}>\r\n <div className='text-center py-5'>\r\n <p>TODO: add an actual empty state image once bev has one</p>\r\n <img src='/favicon.ico' className='pb-3' />\r\n\r\n <h2 className='h6'><Text phrase='heading' /></h2>\r\n <p className='w-33 mx-auto'><Text phrase='info' /></p>\r\n\r\n <VideoInfoButton>\r\n <Text phrase='videoLink' />\r\n </VideoInfoButton>\r\n\r\n <IconButton\r\n className='btn btn-dark mx-auto'\r\n svgName={cvSvgLibrary.Plus}\r\n appLink={newStudentAppLink}\r\n >\r\n <Text phrase='addNew' />\r\n </IconButton>\r\n </div>\r\n </LanguageNamespaceContext.Provider>\r\n );\r\n}"],"sourceRoot":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp_clickview_lite=window.webpackJsonp_clickview_lite||[]).push([[52],{1249:function(t,n,e){var o=e(25);t.exports=(o.default||o).template({1:function(t,n,e,o,i){return"disabled"},compiler:[8,">= 4.3.0"],main:function(t,n,e,o,i){t.propertyIsEnumerable;var r,a=null!=n?n:t.nullContext||{},s=t.hooks.helperMissing,c=t.escapeExpression;return'<div class="p-3">\r\n <a class="btn previous-applink btn-secondary '+(null!=(r=e.unless.call(a,null!=(r=null!=(r=null!=n?n.options:n)?r.cursors:r)?r.previous:r,{name:"unless",hash:{},fn:t.program(1,i,0),inverse:t.noop,data:i}))?r:"")+'">'+c((e.lang||n&&n.lang||s).call(a,"previous",{name:"lang",hash:{},data:i}))+'</a>\r\n <a class="btn next-applink btn-secondary '+(null!=(r=e.unless.call(a,null!=(r=null!=(r=null!=n?n.options:n)?r.cursors:r)?r.next:r,{name:"unless",hash:{},fn:t.program(1,i,0),inverse:t.noop,data:i}))?r:"")+'">'+c((e.lang||n&&n.lang||s).call(a,"next",{name:"lang",hash:{},data:i}))+"</a>\r\n</div>"},useData:!0})},1250:function(t,n,e){var o=e(25);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,n,e,o,i){t.propertyIsEnumerable;return'<div class="container-fluid bg-white p-3">\r\n <h1 class="h3 header border-bottom pb-2 m-0">'+t.escapeExpression((e.lang||n&&n.lang||t.hooks.helperMissing).call(null!=n?n:t.nullContext||{},"notifications",{name:"lang",hash:{},data:i}))+'</h1>\r\n <div class="list-region"></div>\r\n <div class="pagination-region"></div>\r\n</div>'},useData:!0})},1320:function(t,n,e){"use strict";e.r(n);var o=e(2),i=e(7),r=e(8),a=e(184),s=e(34),c=e(12),u=e(32),l=e(412),p=e(1),f=e(3),h=e(40),y=e(1249),g=e.n(y);function v(t){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function b(t,n){for(var e=0;e<n.length;e++){var o=n[e];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function d(t,n){return(d=Object.setPrototypeOf||function(t,n){return t.__proto__=n,t})(t,n)}function m(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var e,o=w(t);if(n){var i=w(this).constructor;e=Reflect.construct(o,arguments,i)}else e=o.apply(this,arguments);return k(this,e)}}function k(t,n){return!n||"object"!==v(n)&&"function"!=typeof n?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):n}function w(t){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var O=function(t){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),n&&d(t,n)}(r,t);var n,e,o,i=m(r);function r(t){return function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,r),i.call(this,t)}return n=r,(e=[{key:"events",value:function(){return{"click .previous-applink":"onClickPrevious","click .next-applink":"onClickNext"}}},{key:"buildCursor",value:function(t){return{application:this.options.appLink.application,action:this.options.appLink.action,args:this.options.appLink.args,params:p.extend({},this.options.appLink.params,(n={},e=this.options.cursorParamName,o=t,e in n?Object.defineProperty(n,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[e]=o,n))};var n,e,o}},{key:"onClickPrevious",value:function(){this.logAction("previous")}},{key:"onClickNext",value:function(){this.logAction("next")}},{key:"logAction",value:function(t){var n=h.a.mergeOptions(this.options.analyticsOptions,{location:f.j.Pagination,entity:f.d.Pagination,actionType:f.n.Navigate}),e={id:this.options.collectionId,page:t};h.a.logUserAction(e,n)}},{key:"viewOptions",value:function(){return{cursors:this.options.cursors}}},{key:"onBeforeRender",value:function(){return!!this.options.cursors}},{key:"defaults",get:function(){return{cursors:{},cursorParamName:"cursor"}}},{key:"name",get:function(){return"PaginationComponent"}},{key:"template",get:function(){return g.a}},{key:"lang",get:function(){return"shared._pagination"}},{key:"appLinks",get:function(){var t={};if(!this.options.cursors)return{};if(this.options.cursors.previous){var n=this.options.cursors.previous,e=this.buildCursor(this.options.cursors.previous);+n<=1&&!0!==this.options.allowFirstPageCursor&&delete e.params.cursor,t[".previous-applink"]=e}return this.options.cursors.next&&(t[".next-applink"]=this.buildCursor(this.options.cursors.next)),t}}])&&b(n.prototype,e),o&&b(n,o),r}(o.a.Component),P=e(186),C=e(1250),x=e.n(C),_=e(354),j=e.n(_),S=e(355),I=e.n(S);function N(t){return(N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function R(t,n){for(var e=0;e<n.length;e++){var o=n[e];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function E(t,n){return(E=Object.setPrototypeOf||function(t,n){return t.__proto__=n,t})(t,n)}function L(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var e,o=D(t);if(n){var i=D(this).constructor;e=Reflect.construct(o,arguments,i)}else e=o.apply(this,arguments);return T(this,e)}}function T(t,n){return!n||"object"!==N(n)&&"function"!=typeof n?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):n}function D(t){return(D=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}e.d(n,"NotificationsView",(function(){return V}));var V=function(t){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),n&&E(t,n)}(f,t);var n,e,o,p=L(f);function f(t){return function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,f),p.call(this,t)}return n=f,(e=[{key:"regions",value:function(){return{notifications:{replaceElement:!0,el:".list-region",partialLoading:{component:a.a.ComponentCollection,options:{collectionLength:5,childOptions:{template:j.a,className:"px-1 py-2",viewOptions:{styles:I.a}}}}},pagination:{replaceElement:!0,el:".pagination-region"}}}},{key:"initialize",value:function(){this.notificationService=r.a.getInstance(c.b.Notification,this),this.appVariables=r.a.getInstance(u.a.NOTIFICATIONS,this)}},{key:"onData",value:function(t){this.collection=t,this.render()}},{key:"getCollectionIdentifier",value:function(){return this.collectionIdentifier?this.collectionIdentifier:this.collectionIdentifier=new l.a(Object.assign({collectionPrefix:s.a.NOTIFICATIONS},this.options.params))}},{key:"renderNotificationList",value:function(){var t=new P.b({collection:this.collection,childType:P.a.Default});this.showChildView("notifications",t)}},{key:"renderPagination",value:function(){if(this.collection.length){var t=this.notificationService.getNotificationsCursors(this.getCollectionIdentifier()),n=new O({cursors:t,appLink:Object.assign(Object.assign({},this.appVariables.appLinks.notifications),{args:[],params:this.getCollectionIdentifier().toParams()})});this.showChildView("pagination",n)}}},{key:"onBeforeRender",value:function(){var t=this;return this.collection||this.notificationService.getNotifications(this.options.params,this.getCollectionIdentifier(),(function(n){return t.onData(n)})),!!this.collection}},{key:"onRender",value:function(){this.renderNotificationList(),this.renderPagination()}},{key:"name",get:function(){return"NotificationsView"}},{key:"title",get:function(){return i.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"notifications.notifications"}},{key:"className",get:function(){return"notifications-container"}},{key:"template",get:function(){return x.a}}])&&R(n.prototype,e),o&&R(n,o),f}(o.a.View)}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp_clickview_lite=window.webpackJsonp_clickview_lite||[]).push([[52],{1233:function(t,n,e){var o=e(25);t.exports=(o.default||o).template({1:function(t,n,e,o,i){return"disabled"},compiler:[8,">= 4.3.0"],main:function(t,n,e,o,i){t.propertyIsEnumerable;var r,a=null!=n?n:t.nullContext||{},s=t.hooks.helperMissing,c=t.escapeExpression;return'<div class="p-3">\r\n <a class="btn previous-applink btn-secondary '+(null!=(r=e.unless.call(a,null!=(r=null!=(r=null!=n?n.options:n)?r.cursors:r)?r.previous:r,{name:"unless",hash:{},fn:t.program(1,i,0),inverse:t.noop,data:i}))?r:"")+'">'+c((e.lang||n&&n.lang||s).call(a,"previous",{name:"lang",hash:{},data:i}))+'</a>\r\n <a class="btn next-applink btn-secondary '+(null!=(r=e.unless.call(a,null!=(r=null!=(r=null!=n?n.options:n)?r.cursors:r)?r.next:r,{name:"unless",hash:{},fn:t.program(1,i,0),inverse:t.noop,data:i}))?r:"")+'">'+c((e.lang||n&&n.lang||s).call(a,"next",{name:"lang",hash:{},data:i}))+"</a>\r\n</div>"},useData:!0})},1234:function(t,n,e){var o=e(25);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,n,e,o,i){t.propertyIsEnumerable;return'<div class="container-fluid bg-white p-3">\r\n <h1 class="h3 header border-bottom pb-2 m-0">'+t.escapeExpression((e.lang||n&&n.lang||t.hooks.helperMissing).call(null!=n?n:t.nullContext||{},"notifications",{name:"lang",hash:{},data:i}))+'</h1>\r\n <div class="list-region"></div>\r\n <div class="pagination-region"></div>\r\n</div>'},useData:!0})},1305:function(t,n,e){"use strict";e.r(n);var o=e(2),i=e(7),r=e(8),a=e(182),s=e(33),c=e(12),u=e(32),l=e(407),p=e(1),f=e(3),h=e(40),y=e(1233),g=e.n(y);function v(t){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function b(t,n){for(var e=0;e<n.length;e++){var o=n[e];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function d(t,n){return(d=Object.setPrototypeOf||function(t,n){return t.__proto__=n,t})(t,n)}function m(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var e,o=w(t);if(n){var i=w(this).constructor;e=Reflect.construct(o,arguments,i)}else e=o.apply(this,arguments);return k(this,e)}}function k(t,n){return!n||"object"!==v(n)&&"function"!=typeof n?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):n}function w(t){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var O=function(t){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),n&&d(t,n)}(r,t);var n,e,o,i=m(r);function r(t){return function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,r),i.call(this,t)}return n=r,(e=[{key:"events",value:function(){return{"click .previous-applink":"onClickPrevious","click .next-applink":"onClickNext"}}},{key:"buildCursor",value:function(t){return{application:this.options.appLink.application,action:this.options.appLink.action,args:this.options.appLink.args,params:p.extend({},this.options.appLink.params,(n={},e=this.options.cursorParamName,o=t,e in n?Object.defineProperty(n,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[e]=o,n))};var n,e,o}},{key:"onClickPrevious",value:function(){this.logAction("previous")}},{key:"onClickNext",value:function(){this.logAction("next")}},{key:"logAction",value:function(t){var n=h.a.mergeOptions(this.options.analyticsOptions,{location:f.j.Pagination,entity:f.d.Pagination,actionType:f.n.Navigate}),e={id:this.options.collectionId,page:t};h.a.logUserAction(e,n)}},{key:"viewOptions",value:function(){return{cursors:this.options.cursors}}},{key:"onBeforeRender",value:function(){return!!this.options.cursors}},{key:"defaults",get:function(){return{cursors:{},cursorParamName:"cursor"}}},{key:"name",get:function(){return"PaginationComponent"}},{key:"template",get:function(){return g.a}},{key:"lang",get:function(){return"shared._pagination"}},{key:"appLinks",get:function(){var t={};if(!this.options.cursors)return{};if(this.options.cursors.previous){var n=this.options.cursors.previous,e=this.buildCursor(this.options.cursors.previous);+n<=1&&!0!==this.options.allowFirstPageCursor&&delete e.params.cursor,t[".previous-applink"]=e}return this.options.cursors.next&&(t[".next-applink"]=this.buildCursor(this.options.cursors.next)),t}}])&&b(n.prototype,e),o&&b(n,o),r}(o.a.Component),P=e(185),C=e(1234),x=e.n(C),_=e(350),j=e.n(_),S=e(351),I=e.n(S);function N(t){return(N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function R(t,n){for(var e=0;e<n.length;e++){var o=n[e];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function E(t,n){return(E=Object.setPrototypeOf||function(t,n){return t.__proto__=n,t})(t,n)}function L(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var e,o=D(t);if(n){var i=D(this).constructor;e=Reflect.construct(o,arguments,i)}else e=o.apply(this,arguments);return T(this,e)}}function T(t,n){return!n||"object"!==N(n)&&"function"!=typeof n?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):n}function D(t){return(D=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}e.d(n,"NotificationsView",(function(){return V}));var V=function(t){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),n&&E(t,n)}(f,t);var n,e,o,p=L(f);function f(t){return function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,f),p.call(this,t)}return n=f,(e=[{key:"regions",value:function(){return{notifications:{replaceElement:!0,el:".list-region",partialLoading:{component:a.a.ComponentCollection,options:{collectionLength:5,childOptions:{template:j.a,className:"px-1 py-2",viewOptions:{styles:I.a}}}}},pagination:{replaceElement:!0,el:".pagination-region"}}}},{key:"initialize",value:function(){this.notificationService=r.a.getInstance(c.b.Notification,this),this.appVariables=r.a.getInstance(u.a.NOTIFICATIONS,this)}},{key:"onData",value:function(t){this.collection=t,this.render()}},{key:"getCollectionIdentifier",value:function(){return this.collectionIdentifier?this.collectionIdentifier:this.collectionIdentifier=new l.a(Object.assign({collectionPrefix:s.a.NOTIFICATIONS},this.options.params))}},{key:"renderNotificationList",value:function(){var t=new P.b({collection:this.collection,childType:P.a.Default});this.showChildView("notifications",t)}},{key:"renderPagination",value:function(){if(this.collection.length){var t=this.notificationService.getNotificationsCursors(this.getCollectionIdentifier()),n=new O({cursors:t,appLink:Object.assign(Object.assign({},this.appVariables.appLinks.notifications),{args:[],params:this.getCollectionIdentifier().toParams()})});this.showChildView("pagination",n)}}},{key:"onBeforeRender",value:function(){var t=this;return this.collection||this.notificationService.getNotifications(this.options.params,this.getCollectionIdentifier(),(function(n){return t.onData(n)})),!!this.collection}},{key:"onRender",value:function(){this.renderNotificationList(),this.renderPagination()}},{key:"name",get:function(){return"NotificationsView"}},{key:"title",get:function(){return i.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"notifications.notifications"}},{key:"className",get:function(){return"notifications-container"}},{key:"template",get:function(){return x.a}}])&&R(n.prototype,e),o&&R(n,o),f}(o.a.View)}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp_clickview_lite=window.webpackJsonp_clickview_lite||[]).push([[52],{1248:function(t,n,e){var o=e(25);t.exports=(o.default||o).template({1:function(t,n,e,o,i){return"disabled"},compiler:[8,">= 4.3.0"],main:function(t,n,e,o,i){t.propertyIsEnumerable;var r,a=null!=n?n:t.nullContext||{},s=t.hooks.helperMissing,c=t.escapeExpression;return'<div class="p-3">\r\n <a class="btn previous-applink btn-secondary '+(null!=(r=e.unless.call(a,null!=(r=null!=(r=null!=n?n.options:n)?r.cursors:r)?r.previous:r,{name:"unless",hash:{},fn:t.program(1,i,0),inverse:t.noop,data:i}))?r:"")+'">'+c((e.lang||n&&n.lang||s).call(a,"previous",{name:"lang",hash:{},data:i}))+'</a>\r\n <a class="btn next-applink btn-secondary '+(null!=(r=e.unless.call(a,null!=(r=null!=(r=null!=n?n.options:n)?r.cursors:r)?r.next:r,{name:"unless",hash:{},fn:t.program(1,i,0),inverse:t.noop,data:i}))?r:"")+'">'+c((e.lang||n&&n.lang||s).call(a,"next",{name:"lang",hash:{},data:i}))+"</a>\r\n</div>"},useData:!0})},1249:function(t,n,e){var o=e(25);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,n,e,o,i){t.propertyIsEnumerable;return'<div class="container-fluid bg-white p-3">\r\n <h1 class="h3 header border-bottom pb-2 m-0">'+t.escapeExpression((e.lang||n&&n.lang||t.hooks.helperMissing).call(null!=n?n:t.nullContext||{},"notifications",{name:"lang",hash:{},data:i}))+'</h1>\r\n <div class="list-region"></div>\r\n <div class="pagination-region"></div>\r\n</div>'},useData:!0})},1319:function(t,n,e){"use strict";e.r(n);var o=e(2),i=e(7),r=e(8),a=e(184),s=e(34),c=e(12),u=e(32),l=e(412),p=e(1),f=e(3),h=e(40),y=e(1248),g=e.n(y);function v(t){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function b(t,n){for(var e=0;e<n.length;e++){var o=n[e];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function d(t,n){return(d=Object.setPrototypeOf||function(t,n){return t.__proto__=n,t})(t,n)}function m(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var e,o=w(t);if(n){var i=w(this).constructor;e=Reflect.construct(o,arguments,i)}else e=o.apply(this,arguments);return k(this,e)}}function k(t,n){return!n||"object"!==v(n)&&"function"!=typeof n?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):n}function w(t){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var O=function(t){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),n&&d(t,n)}(r,t);var n,e,o,i=m(r);function r(t){return function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,r),i.call(this,t)}return n=r,(e=[{key:"events",value:function(){return{"click .previous-applink":"onClickPrevious","click .next-applink":"onClickNext"}}},{key:"buildCursor",value:function(t){return{application:this.options.appLink.application,action:this.options.appLink.action,args:this.options.appLink.args,params:p.extend({},this.options.appLink.params,(n={},e=this.options.cursorParamName,o=t,e in n?Object.defineProperty(n,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[e]=o,n))};var n,e,o}},{key:"onClickPrevious",value:function(){this.logAction("previous")}},{key:"onClickNext",value:function(){this.logAction("next")}},{key:"logAction",value:function(t){var n=h.a.mergeOptions(this.options.analyticsOptions,{location:f.j.Pagination,entity:f.d.Pagination,actionType:f.n.Navigate}),e={id:this.options.collectionId,page:t};h.a.logUserAction(e,n)}},{key:"viewOptions",value:function(){return{cursors:this.options.cursors}}},{key:"onBeforeRender",value:function(){return!!this.options.cursors}},{key:"defaults",get:function(){return{cursors:{},cursorParamName:"cursor"}}},{key:"name",get:function(){return"PaginationComponent"}},{key:"template",get:function(){return g.a}},{key:"lang",get:function(){return"shared._pagination"}},{key:"appLinks",get:function(){var t={};if(!this.options.cursors)return{};if(this.options.cursors.previous){var n=this.options.cursors.previous,e=this.buildCursor(this.options.cursors.previous);+n<=1&&!0!==this.options.allowFirstPageCursor&&delete e.params.cursor,t[".previous-applink"]=e}return this.options.cursors.next&&(t[".next-applink"]=this.buildCursor(this.options.cursors.next)),t}}])&&b(n.prototype,e),o&&b(n,o),r}(o.a.Component),P=e(186),C=e(1249),x=e.n(C),_=e(354),j=e.n(_),S=e(355),I=e.n(S);function N(t){return(N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function R(t,n){for(var e=0;e<n.length;e++){var o=n[e];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function E(t,n){return(E=Object.setPrototypeOf||function(t,n){return t.__proto__=n,t})(t,n)}function L(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var e,o=D(t);if(n){var i=D(this).constructor;e=Reflect.construct(o,arguments,i)}else e=o.apply(this,arguments);return T(this,e)}}function T(t,n){return!n||"object"!==N(n)&&"function"!=typeof n?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):n}function D(t){return(D=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}e.d(n,"NotificationsView",(function(){return V}));var V=function(t){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),n&&E(t,n)}(f,t);var n,e,o,p=L(f);function f(t){return function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,f),p.call(this,t)}return n=f,(e=[{key:"regions",value:function(){return{notifications:{replaceElement:!0,el:".list-region",partialLoading:{component:a.a.ComponentCollection,options:{collectionLength:5,childOptions:{template:j.a,className:"px-1 py-2",viewOptions:{styles:I.a}}}}},pagination:{replaceElement:!0,el:".pagination-region"}}}},{key:"initialize",value:function(){this.notificationService=r.a.getInstance(c.b.Notification,this),this.appVariables=r.a.getInstance(u.a.NOTIFICATIONS,this)}},{key:"onData",value:function(t){this.collection=t,this.render()}},{key:"getCollectionIdentifier",value:function(){return this.collectionIdentifier?this.collectionIdentifier:this.collectionIdentifier=new l.a(Object.assign({collectionPrefix:s.a.NOTIFICATIONS},this.options.params))}},{key:"renderNotificationList",value:function(){var t=new P.b({collection:this.collection,childType:P.a.Default});this.showChildView("notifications",t)}},{key:"renderPagination",value:function(){if(this.collection.length){var t=this.notificationService.getNotificationsCursors(this.getCollectionIdentifier()),n=new O({cursors:t,appLink:Object.assign(Object.assign({},this.appVariables.appLinks.notifications),{args:[],params:this.getCollectionIdentifier().toParams()})});this.showChildView("pagination",n)}}},{key:"onBeforeRender",value:function(){var t=this;return this.collection||this.notificationService.getNotifications(this.options.params,this.getCollectionIdentifier(),(function(n){return t.onData(n)})),!!this.collection}},{key:"onRender",value:function(){this.renderNotificationList(),this.renderPagination()}},{key:"name",get:function(){return"NotificationsView"}},{key:"title",get:function(){return i.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"notifications.notifications"}},{key:"className",get:function(){return"notifications-container"}},{key:"template",get:function(){return x.a}}])&&R(n.prototype,e),o&&R(n,o),f}(o.a.View)}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp_clickview_lite=window.webpackJsonp_clickview_lite||[]).push([[52],{1248:function(t,n,e){var o=e(25);t.exports=(o.default||o).template({1:function(t,n,e,o,i){return"disabled"},compiler:[8,">= 4.3.0"],main:function(t,n,e,o,i){t.propertyIsEnumerable;var r,a=null!=n?n:t.nullContext||{},s=t.hooks.helperMissing,c=t.escapeExpression;return'<div class="p-3">\r\n <a class="btn previous-applink btn-secondary '+(null!=(r=e.unless.call(a,null!=(r=null!=(r=null!=n?n.options:n)?r.cursors:r)?r.previous:r,{name:"unless",hash:{},fn:t.program(1,i,0),inverse:t.noop,data:i}))?r:"")+'">'+c((e.lang||n&&n.lang||s).call(a,"previous",{name:"lang",hash:{},data:i}))+'</a>\r\n <a class="btn next-applink btn-secondary '+(null!=(r=e.unless.call(a,null!=(r=null!=(r=null!=n?n.options:n)?r.cursors:r)?r.next:r,{name:"unless",hash:{},fn:t.program(1,i,0),inverse:t.noop,data:i}))?r:"")+'">'+c((e.lang||n&&n.lang||s).call(a,"next",{name:"lang",hash:{},data:i}))+"</a>\r\n</div>"},useData:!0})},1249:function(t,n,e){var o=e(25);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,n,e,o,i){t.propertyIsEnumerable;return'<div class="container-fluid bg-white p-3">\r\n <h1 class="h3 header border-bottom pb-2 m-0">'+t.escapeExpression((e.lang||n&&n.lang||t.hooks.helperMissing).call(null!=n?n:t.nullContext||{},"notifications",{name:"lang",hash:{},data:i}))+'</h1>\r\n <div class="list-region"></div>\r\n <div class="pagination-region"></div>\r\n</div>'},useData:!0})},1319:function(t,n,e){"use strict";e.r(n);var o=e(2),i=e(7),r=e(8),a=e(183),s=e(34),c=e(12),u=e(32),l=e(412),p=e(1),f=e(3),h=e(40),y=e(1248),g=e.n(y);function v(t){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function b(t,n){for(var e=0;e<n.length;e++){var o=n[e];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function d(t,n){return(d=Object.setPrototypeOf||function(t,n){return t.__proto__=n,t})(t,n)}function m(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var e,o=w(t);if(n){var i=w(this).constructor;e=Reflect.construct(o,arguments,i)}else e=o.apply(this,arguments);return k(this,e)}}function k(t,n){return!n||"object"!==v(n)&&"function"!=typeof n?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):n}function w(t){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var O=function(t){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),n&&d(t,n)}(r,t);var n,e,o,i=m(r);function r(t){return function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,r),i.call(this,t)}return n=r,(e=[{key:"events",value:function(){return{"click .previous-applink":"onClickPrevious","click .next-applink":"onClickNext"}}},{key:"buildCursor",value:function(t){return{application:this.options.appLink.application,action:this.options.appLink.action,args:this.options.appLink.args,params:p.extend({},this.options.appLink.params,(n={},e=this.options.cursorParamName,o=t,e in n?Object.defineProperty(n,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[e]=o,n))};var n,e,o}},{key:"onClickPrevious",value:function(){this.logAction("previous")}},{key:"onClickNext",value:function(){this.logAction("next")}},{key:"logAction",value:function(t){var n=h.a.mergeOptions(this.options.analyticsOptions,{location:f.j.Pagination,entity:f.d.Pagination,actionType:f.n.Navigate}),e={id:this.options.collectionId,page:t};h.a.logUserAction(e,n)}},{key:"viewOptions",value:function(){return{cursors:this.options.cursors}}},{key:"onBeforeRender",value:function(){return!!this.options.cursors}},{key:"defaults",get:function(){return{cursors:{},cursorParamName:"cursor"}}},{key:"name",get:function(){return"PaginationComponent"}},{key:"template",get:function(){return g.a}},{key:"lang",get:function(){return"shared._pagination"}},{key:"appLinks",get:function(){var t={};if(!this.options.cursors)return{};if(this.options.cursors.previous){var n=this.options.cursors.previous,e=this.buildCursor(this.options.cursors.previous);+n<=1&&!0!==this.options.allowFirstPageCursor&&delete e.params.cursor,t[".previous-applink"]=e}return this.options.cursors.next&&(t[".next-applink"]=this.buildCursor(this.options.cursors.next)),t}}])&&b(n.prototype,e),o&&b(n,o),r}(o.a.Component),P=e(186),C=e(1249),x=e.n(C),_=e(354),j=e.n(_),S=e(355),I=e.n(S);function N(t){return(N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function R(t,n){for(var e=0;e<n.length;e++){var o=n[e];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function E(t,n){return(E=Object.setPrototypeOf||function(t,n){return t.__proto__=n,t})(t,n)}function L(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var e,o=D(t);if(n){var i=D(this).constructor;e=Reflect.construct(o,arguments,i)}else e=o.apply(this,arguments);return T(this,e)}}function T(t,n){return!n||"object"!==N(n)&&"function"!=typeof n?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):n}function D(t){return(D=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}e.d(n,"NotificationsView",(function(){return V}));var V=function(t){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),n&&E(t,n)}(f,t);var n,e,o,p=L(f);function f(t){return function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,f),p.call(this,t)}return n=f,(e=[{key:"regions",value:function(){return{notifications:{replaceElement:!0,el:".list-region",partialLoading:{component:a.a.ComponentCollection,options:{collectionLength:5,childOptions:{template:j.a,className:"px-1 py-2",viewOptions:{styles:I.a}}}}},pagination:{replaceElement:!0,el:".pagination-region"}}}},{key:"initialize",value:function(){this.notificationService=r.a.getInstance(c.b.Notification,this),this.appVariables=r.a.getInstance(u.a.NOTIFICATIONS,this)}},{key:"onData",value:function(t){this.collection=t,this.render()}},{key:"getCollectionIdentifier",value:function(){return this.collectionIdentifier?this.collectionIdentifier:this.collectionIdentifier=new l.a(Object.assign({collectionPrefix:s.a.NOTIFICATIONS},this.options.params))}},{key:"renderNotificationList",value:function(){var t=new P.b({collection:this.collection,childType:P.a.Default});this.showChildView("notifications",t)}},{key:"renderPagination",value:function(){if(this.collection.length){var t=this.notificationService.getNotificationsCursors(this.getCollectionIdentifier()),n=new O({cursors:t,appLink:Object.assign(Object.assign({},this.appVariables.appLinks.notifications),{args:[],params:this.getCollectionIdentifier().toParams()})});this.showChildView("pagination",n)}}},{key:"onBeforeRender",value:function(){var t=this;return this.collection||this.notificationService.getNotifications(this.options.params,this.getCollectionIdentifier(),(function(n){return t.onData(n)})),!!this.collection}},{key:"onRender",value:function(){this.renderNotificationList(),this.renderPagination()}},{key:"name",get:function(){return"NotificationsView"}},{key:"title",get:function(){return i.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"notifications.notifications"}},{key:"className",get:function(){return"notifications-container"}},{key:"template",get:function(){return x.a}}])&&R(n.prototype,e),o&&R(n,o),f}(o.a.View)}}]);
|