@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/47.chunk.js
DELETED
|
@@ -1,408 +0,0 @@
|
|
|
1
|
-
(window["webpackJsonp_clickview_lite"] = window["webpackJsonp_clickview_lite"] || []).push([[47],{
|
|
2
|
-
|
|
3
|
-
/***/ "../../libs/shared/src/apps/notifications/views/notifications/Notifications.hbs":
|
|
4
|
-
/*!**************************************************************************************************************************!*\
|
|
5
|
-
!*** C:/ClickView Projects/@clickview/packages/libs/shared/src/apps/notifications/views/notifications/Notifications.hbs ***!
|
|
6
|
-
\**************************************************************************************************************************/
|
|
7
|
-
/*! no static exports found */
|
|
8
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
9
|
-
|
|
10
|
-
var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
|
|
11
|
-
module.exports = (Handlebars['default'] || Handlebars).template({"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
12
|
-
var alias1=container.propertyIsEnumerable;
|
|
13
|
-
|
|
14
|
-
return "<div class=\"container-fluid bg-white p-3\">\r\n <h1 class=\"h3 header border-bottom pb-2 m-0\">"
|
|
15
|
-
+ container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"notifications",{"name":"lang","hash":{},"data":data}))
|
|
16
|
-
+ "</h1>\r\n <div class=\"list-region\"></div>\r\n <div class=\"pagination-region\"></div>\r\n</div>";
|
|
17
|
-
},"useData":true});
|
|
18
|
-
|
|
19
|
-
/***/ }),
|
|
20
|
-
|
|
21
|
-
/***/ "../../libs/shared/src/apps/notifications/views/notifications/NotificationsView.ts":
|
|
22
|
-
/*!*****************************************************************************************************************************!*\
|
|
23
|
-
!*** C:/ClickView Projects/@clickview/packages/libs/shared/src/apps/notifications/views/notifications/NotificationsView.ts ***!
|
|
24
|
-
\*****************************************************************************************************************************/
|
|
25
|
-
/*! exports provided: NotificationsView */
|
|
26
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
27
|
-
|
|
28
|
-
"use strict";
|
|
29
|
-
__webpack_require__.r(__webpack_exports__);
|
|
30
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NotificationsView", function() { return NotificationsView; });
|
|
31
|
-
/* harmony import */ var _common_src_backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
32
|
-
/* harmony import */ var _common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../common/src/backbone/services/LanguageService */ "../../libs/common/src/backbone/services/LanguageService.tsx");
|
|
33
|
-
/* harmony import */ var _common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../../common/src/backbone/services/InstanceManager */ "../../libs/common/src/backbone/services/InstanceManager.ts");
|
|
34
|
-
/* harmony import */ var _enums_PartialLoading__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../enums/PartialLoading */ "../../libs/shared/src/enums/PartialLoading.ts");
|
|
35
|
-
/* harmony import */ var _constants_DataPrefixes__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../constants/DataPrefixes */ "../../libs/shared/src/constants/DataPrefixes.ts");
|
|
36
|
-
/* harmony import */ var _constants_SharedServices__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../constants/SharedServices */ "../../libs/shared/src/constants/SharedServices.ts");
|
|
37
|
-
/* harmony import */ var _constants_AppVariables__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../constants/AppVariables */ "../../libs/shared/src/constants/AppVariables.ts");
|
|
38
|
-
/* harmony import */ var _legacy_interfaces__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../legacy/interfaces */ "../../libs/shared/src/legacy/interfaces/index.ts");
|
|
39
|
-
/* harmony import */ var _legacy_components_pagination_PaginationComponent__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../legacy/components/pagination/PaginationComponent */ "../../libs/shared/src/legacy/components/pagination/PaginationComponent.ts");
|
|
40
|
-
/* harmony import */ var _components_notification_list_NotificationListComponent__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../components/notification-list/NotificationListComponent */ "../../libs/shared/src/apps/notifications/components/notification-list/NotificationListComponent.ts");
|
|
41
|
-
/* harmony import */ var _Notifications_hbs__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./Notifications.hbs */ "../../libs/shared/src/apps/notifications/views/notifications/Notifications.hbs");
|
|
42
|
-
/* harmony import */ var _Notifications_hbs__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_Notifications_hbs__WEBPACK_IMPORTED_MODULE_10__);
|
|
43
|
-
/* harmony import */ var _components_notification_items_partial_loading_NotificationsPartial_hbs__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../components/notification-items/partial-loading/NotificationsPartial.hbs */ "../../libs/shared/src/apps/notifications/components/notification-items/partial-loading/NotificationsPartial.hbs");
|
|
44
|
-
/* harmony import */ var _components_notification_items_partial_loading_NotificationsPartial_hbs__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_components_notification_items_partial_loading_NotificationsPartial_hbs__WEBPACK_IMPORTED_MODULE_11__);
|
|
45
|
-
/* harmony import */ var _components_notification_items_partial_loading_notification_partial_scss__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../components/notification-items/partial-loading/notification-partial.scss */ "../../libs/shared/src/apps/notifications/components/notification-items/partial-loading/notification-partial.scss");
|
|
46
|
-
/* harmony import */ var _components_notification_items_partial_loading_notification_partial_scss__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_components_notification_items_partial_loading_notification_partial_scss__WEBPACK_IMPORTED_MODULE_12__);
|
|
47
|
-
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
48
|
-
|
|
49
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
50
|
-
|
|
51
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
52
|
-
|
|
53
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
54
|
-
|
|
55
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
56
|
-
|
|
57
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
58
|
-
|
|
59
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
60
|
-
|
|
61
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
62
|
-
|
|
63
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
64
|
-
|
|
65
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
66
|
-
|
|
67
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
var NotificationsView = /*#__PURE__*/function (_Core$View) {
|
|
83
|
-
_inherits(NotificationsView, _Core$View);
|
|
84
|
-
|
|
85
|
-
var _super = _createSuper(NotificationsView);
|
|
86
|
-
|
|
87
|
-
function NotificationsView(options) {
|
|
88
|
-
_classCallCheck(this, NotificationsView);
|
|
89
|
-
|
|
90
|
-
return _super.call(this, options);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
_createClass(NotificationsView, [{
|
|
94
|
-
key: "regions",
|
|
95
|
-
value: function regions() {
|
|
96
|
-
return {
|
|
97
|
-
notifications: {
|
|
98
|
-
replaceElement: true,
|
|
99
|
-
el: '.list-region',
|
|
100
|
-
partialLoading: {
|
|
101
|
-
component: _enums_PartialLoading__WEBPACK_IMPORTED_MODULE_3__["PartialLoadingComponentTypes"].ComponentCollection,
|
|
102
|
-
options: {
|
|
103
|
-
collectionLength: 5,
|
|
104
|
-
childOptions: {
|
|
105
|
-
template: _components_notification_items_partial_loading_NotificationsPartial_hbs__WEBPACK_IMPORTED_MODULE_11___default.a,
|
|
106
|
-
className: "px-1 py-2",
|
|
107
|
-
viewOptions: {
|
|
108
|
-
styles: _components_notification_items_partial_loading_notification_partial_scss__WEBPACK_IMPORTED_MODULE_12___default.a
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
},
|
|
114
|
-
pagination: {
|
|
115
|
-
replaceElement: true,
|
|
116
|
-
el: '.pagination-region'
|
|
117
|
-
}
|
|
118
|
-
};
|
|
119
|
-
}
|
|
120
|
-
}, {
|
|
121
|
-
key: "initialize",
|
|
122
|
-
value: function initialize() {
|
|
123
|
-
this.notificationService = _common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_2__["InstanceManager"].getInstance(_constants_SharedServices__WEBPACK_IMPORTED_MODULE_5__["SharedServices"].Notification, this);
|
|
124
|
-
this.appVariables = _common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_2__["InstanceManager"].getInstance(_constants_AppVariables__WEBPACK_IMPORTED_MODULE_6__["AppVariables"].NOTIFICATIONS, this);
|
|
125
|
-
}
|
|
126
|
-
}, {
|
|
127
|
-
key: "onData",
|
|
128
|
-
value: function onData(collection) {
|
|
129
|
-
this.collection = collection;
|
|
130
|
-
this.render();
|
|
131
|
-
}
|
|
132
|
-
}, {
|
|
133
|
-
key: "getCollectionIdentifier",
|
|
134
|
-
value: function getCollectionIdentifier() {
|
|
135
|
-
if (this.collectionIdentifier) return this.collectionIdentifier;
|
|
136
|
-
return this.collectionIdentifier = new _legacy_interfaces__WEBPACK_IMPORTED_MODULE_7__["CollectionIdentifier"](Object.assign({
|
|
137
|
-
collectionPrefix: _constants_DataPrefixes__WEBPACK_IMPORTED_MODULE_4__["SharedDataPrefixes"].NOTIFICATIONS
|
|
138
|
-
}, this.options.params));
|
|
139
|
-
}
|
|
140
|
-
}, {
|
|
141
|
-
key: "renderNotificationList",
|
|
142
|
-
value: function renderNotificationList() {
|
|
143
|
-
var view = new _components_notification_list_NotificationListComponent__WEBPACK_IMPORTED_MODULE_9__["NotificationListComponent"]({
|
|
144
|
-
collection: this.collection,
|
|
145
|
-
childType: _components_notification_list_NotificationListComponent__WEBPACK_IMPORTED_MODULE_9__["NotificationChildType"].Default
|
|
146
|
-
});
|
|
147
|
-
this.showChildView('notifications', view);
|
|
148
|
-
}
|
|
149
|
-
}, {
|
|
150
|
-
key: "renderPagination",
|
|
151
|
-
value: function renderPagination() {
|
|
152
|
-
if (!this.collection.length) return;
|
|
153
|
-
var cursors = this.notificationService.getNotificationsCursors(this.getCollectionIdentifier());
|
|
154
|
-
var paginationComponent = new _legacy_components_pagination_PaginationComponent__WEBPACK_IMPORTED_MODULE_8__["PaginationComponent"]({
|
|
155
|
-
cursors: cursors,
|
|
156
|
-
appLink: Object.assign(Object.assign({}, this.appVariables.appLinks.notifications), {
|
|
157
|
-
args: [],
|
|
158
|
-
params: this.getCollectionIdentifier().toParams()
|
|
159
|
-
})
|
|
160
|
-
});
|
|
161
|
-
this.showChildView('pagination', paginationComponent);
|
|
162
|
-
}
|
|
163
|
-
}, {
|
|
164
|
-
key: "onBeforeRender",
|
|
165
|
-
value: function onBeforeRender() {
|
|
166
|
-
var _this = this;
|
|
167
|
-
|
|
168
|
-
if (!this.collection) {
|
|
169
|
-
this.notificationService.getNotifications(this.options.params, this.getCollectionIdentifier(), function (collection) {
|
|
170
|
-
return _this.onData(collection);
|
|
171
|
-
});
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
return !!this.collection;
|
|
175
|
-
}
|
|
176
|
-
}, {
|
|
177
|
-
key: "onRender",
|
|
178
|
-
value: function onRender() {
|
|
179
|
-
this.renderNotificationList();
|
|
180
|
-
this.renderPagination();
|
|
181
|
-
}
|
|
182
|
-
}, {
|
|
183
|
-
key: "name",
|
|
184
|
-
get: function get() {
|
|
185
|
-
return 'NotificationsView';
|
|
186
|
-
}
|
|
187
|
-
}, {
|
|
188
|
-
key: "title",
|
|
189
|
-
get: function get() {
|
|
190
|
-
return _common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_1__["LanguageService"].getPhrase(this.lang, 'title');
|
|
191
|
-
}
|
|
192
|
-
}, {
|
|
193
|
-
key: "lang",
|
|
194
|
-
get: function get() {
|
|
195
|
-
return 'notifications.notifications';
|
|
196
|
-
}
|
|
197
|
-
}, {
|
|
198
|
-
key: "className",
|
|
199
|
-
get: function get() {
|
|
200
|
-
return 'notifications-container';
|
|
201
|
-
}
|
|
202
|
-
}, {
|
|
203
|
-
key: "template",
|
|
204
|
-
get: function get() {
|
|
205
|
-
return _Notifications_hbs__WEBPACK_IMPORTED_MODULE_10___default.a;
|
|
206
|
-
}
|
|
207
|
-
}]);
|
|
208
|
-
|
|
209
|
-
return NotificationsView;
|
|
210
|
-
}(_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].View);
|
|
211
|
-
|
|
212
|
-
/***/ }),
|
|
213
|
-
|
|
214
|
-
/***/ "../../libs/shared/src/legacy/components/pagination/Pagination.hbs":
|
|
215
|
-
/*!*************************************************************************************************************!*\
|
|
216
|
-
!*** C:/ClickView Projects/@clickview/packages/libs/shared/src/legacy/components/pagination/Pagination.hbs ***!
|
|
217
|
-
\*************************************************************************************************************/
|
|
218
|
-
/*! no static exports found */
|
|
219
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
220
|
-
|
|
221
|
-
var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
|
|
222
|
-
module.exports = (Handlebars['default'] || Handlebars).template({"1":function(container,depth0,helpers,partials,data) {
|
|
223
|
-
return "disabled";
|
|
224
|
-
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
225
|
-
var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {}), alias3=container.hooks.helperMissing, alias4=container.escapeExpression;
|
|
226
|
-
|
|
227
|
-
return "<div class=\"p-3\">\r\n <a class=\"btn previous-applink btn-secondary "
|
|
228
|
-
+ ((stack1 = helpers.unless.call(alias2,((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.cursors : stack1)) != null ? stack1.previous : stack1),{"name":"unless","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
229
|
-
+ "\">"
|
|
230
|
-
+ alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"previous",{"name":"lang","hash":{},"data":data}))
|
|
231
|
-
+ "</a>\r\n <a class=\"btn next-applink btn-secondary "
|
|
232
|
-
+ ((stack1 = helpers.unless.call(alias2,((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.cursors : stack1)) != null ? stack1.next : stack1),{"name":"unless","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
233
|
-
+ "\">"
|
|
234
|
-
+ alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"next",{"name":"lang","hash":{},"data":data}))
|
|
235
|
-
+ "</a>\r\n</div>";
|
|
236
|
-
},"useData":true});
|
|
237
|
-
|
|
238
|
-
/***/ }),
|
|
239
|
-
|
|
240
|
-
/***/ "../../libs/shared/src/legacy/components/pagination/PaginationComponent.ts":
|
|
241
|
-
/*!*********************************************************************************************************************!*\
|
|
242
|
-
!*** C:/ClickView Projects/@clickview/packages/libs/shared/src/legacy/components/pagination/PaginationComponent.ts ***!
|
|
243
|
-
\*********************************************************************************************************************/
|
|
244
|
-
/*! exports provided: PaginationComponent */
|
|
245
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
246
|
-
|
|
247
|
-
"use strict";
|
|
248
|
-
__webpack_require__.r(__webpack_exports__);
|
|
249
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PaginationComponent", function() { return PaginationComponent; });
|
|
250
|
-
/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! underscore */ "underscore");
|
|
251
|
-
/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(underscore__WEBPACK_IMPORTED_MODULE_0__);
|
|
252
|
-
/* harmony import */ var _common_src_backbone__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
253
|
-
/* harmony import */ var _analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../analytics/src/interfaces */ "../../libs/analytics/src/interfaces/index.ts");
|
|
254
|
-
/* harmony import */ var _analytics_src_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../analytics/src/AnalyticsHelper */ "../../libs/analytics/src/AnalyticsHelper.ts");
|
|
255
|
-
/* harmony import */ var _Pagination_hbs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Pagination.hbs */ "../../libs/shared/src/legacy/components/pagination/Pagination.hbs");
|
|
256
|
-
/* harmony import */ var _Pagination_hbs__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_Pagination_hbs__WEBPACK_IMPORTED_MODULE_4__);
|
|
257
|
-
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
258
|
-
|
|
259
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
260
|
-
|
|
261
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
262
|
-
|
|
263
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
264
|
-
|
|
265
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
266
|
-
|
|
267
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
268
|
-
|
|
269
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
270
|
-
|
|
271
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
272
|
-
|
|
273
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
274
|
-
|
|
275
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
276
|
-
|
|
277
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
278
|
-
|
|
279
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
var PaginationComponent = /*#__PURE__*/function (_Core$Component) {
|
|
287
|
-
_inherits(PaginationComponent, _Core$Component);
|
|
288
|
-
|
|
289
|
-
var _super = _createSuper(PaginationComponent);
|
|
290
|
-
|
|
291
|
-
function PaginationComponent(options) {
|
|
292
|
-
_classCallCheck(this, PaginationComponent);
|
|
293
|
-
|
|
294
|
-
return _super.call(this, options);
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
_createClass(PaginationComponent, [{
|
|
298
|
-
key: "events",
|
|
299
|
-
value: function events() {
|
|
300
|
-
return {
|
|
301
|
-
'click .previous-applink': 'onClickPrevious',
|
|
302
|
-
'click .next-applink': 'onClickNext'
|
|
303
|
-
};
|
|
304
|
-
}
|
|
305
|
-
}, {
|
|
306
|
-
key: "buildCursor",
|
|
307
|
-
value: function buildCursor(cursorParam) {
|
|
308
|
-
return {
|
|
309
|
-
application: this.options.appLink.application,
|
|
310
|
-
action: this.options.appLink.action,
|
|
311
|
-
args: this.options.appLink.args,
|
|
312
|
-
params: underscore__WEBPACK_IMPORTED_MODULE_0__["extend"]({}, this.options.appLink.params, _defineProperty({}, this.options.cursorParamName, cursorParam))
|
|
313
|
-
};
|
|
314
|
-
}
|
|
315
|
-
}, {
|
|
316
|
-
key: "onClickPrevious",
|
|
317
|
-
value: function onClickPrevious() {
|
|
318
|
-
this.logAction('previous');
|
|
319
|
-
}
|
|
320
|
-
}, {
|
|
321
|
-
key: "onClickNext",
|
|
322
|
-
value: function onClickNext() {
|
|
323
|
-
this.logAction('next');
|
|
324
|
-
}
|
|
325
|
-
}, {
|
|
326
|
-
key: "logAction",
|
|
327
|
-
value: function logAction(page) {
|
|
328
|
-
var analyticsOptions = _analytics_src_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_3__["AnalyticsHelper"].mergeOptions(this.options.analyticsOptions, {
|
|
329
|
-
location: _analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_2__["LocationContext"].Pagination,
|
|
330
|
-
entity: _analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_2__["EntityType"].Pagination,
|
|
331
|
-
actionType: _analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_2__["UserAction"].Navigate
|
|
332
|
-
});
|
|
333
|
-
var data = {
|
|
334
|
-
id: this.options.collectionId,
|
|
335
|
-
page: page
|
|
336
|
-
};
|
|
337
|
-
_analytics_src_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_3__["AnalyticsHelper"].logUserAction(data, analyticsOptions);
|
|
338
|
-
}
|
|
339
|
-
}, {
|
|
340
|
-
key: "viewOptions",
|
|
341
|
-
value: function viewOptions() {
|
|
342
|
-
return {
|
|
343
|
-
cursors: this.options.cursors
|
|
344
|
-
};
|
|
345
|
-
}
|
|
346
|
-
}, {
|
|
347
|
-
key: "onBeforeRender",
|
|
348
|
-
value: function onBeforeRender() {
|
|
349
|
-
return !!this.options.cursors;
|
|
350
|
-
}
|
|
351
|
-
}, {
|
|
352
|
-
key: "defaults",
|
|
353
|
-
get: function get() {
|
|
354
|
-
return {
|
|
355
|
-
cursors: {},
|
|
356
|
-
cursorParamName: 'cursor'
|
|
357
|
-
};
|
|
358
|
-
}
|
|
359
|
-
}, {
|
|
360
|
-
key: "name",
|
|
361
|
-
get: function get() {
|
|
362
|
-
return 'PaginationComponent';
|
|
363
|
-
}
|
|
364
|
-
}, {
|
|
365
|
-
key: "template",
|
|
366
|
-
get: function get() {
|
|
367
|
-
return _Pagination_hbs__WEBPACK_IMPORTED_MODULE_4___default.a;
|
|
368
|
-
}
|
|
369
|
-
}, {
|
|
370
|
-
key: "lang",
|
|
371
|
-
get: function get() {
|
|
372
|
-
return 'shared._pagination';
|
|
373
|
-
}
|
|
374
|
-
}, {
|
|
375
|
-
key: "appLinks",
|
|
376
|
-
get: function get() {
|
|
377
|
-
var appLinks = {};
|
|
378
|
-
if (!this.options.cursors) return {};
|
|
379
|
-
|
|
380
|
-
if (this.options.cursors.previous) {
|
|
381
|
-
var previous = this.options.cursors.previous;
|
|
382
|
-
var cursor = this.buildCursor(this.options.cursors.previous);
|
|
383
|
-
/**
|
|
384
|
-
* ** For legacy pagination only **
|
|
385
|
-
* Remove the cursor param if the previous page is the first page.
|
|
386
|
-
* This ensures that we don't unnecessarily re-fetch the first page
|
|
387
|
-
* which in most cases would have been retrieved without using a cursor.
|
|
388
|
-
*/
|
|
389
|
-
|
|
390
|
-
if (+previous <= 1 && this.options.allowFirstPageCursor !== true) delete cursor.params.cursor;
|
|
391
|
-
appLinks['.previous-applink'] = cursor;
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
if (this.options.cursors.next) {
|
|
395
|
-
appLinks['.next-applink'] = this.buildCursor(this.options.cursors.next);
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
return appLinks;
|
|
399
|
-
}
|
|
400
|
-
}]);
|
|
401
|
-
|
|
402
|
-
return PaginationComponent;
|
|
403
|
-
}(_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__["Core"].Component);
|
|
404
|
-
|
|
405
|
-
/***/ })
|
|
406
|
-
|
|
407
|
-
}]);
|
|
408
|
-
//# sourceMappingURL=47.chunk.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["file://C:/ClickView Projects/@clickview/packages/libs/shared/src/apps/notifications/views/notifications/Notifications.hbs","file://C:/ClickView Projects/@clickview/packages/libs/shared/src/apps/notifications/views/notifications/NotificationsView.ts","file://C:/ClickView Projects/@clickview/packages/libs/shared/src/legacy/components/pagination/Pagination.hbs","file://C:/ClickView Projects/@clickview/packages/libs/shared/src/legacy/components/pagination/PaginationComponent.ts"],"names":[],"mappings":";;;;;;;;;AAAA,iBAAiB,mBAAO,CAAC,8BAAY;AACrC,iEAAiE;AACjE;;AAEA;AACA,mKAAmK,mBAAmB,uBAAuB,aAAa;AAC1N;AACA,CAAC,gBAAgB,E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACNjB;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AACA;AAGA;AAGA;AAEA;AACA;AAMO,IAAM,iBAAb;AAAA;;AAAA;;AAOE,6BAAmB,OAAnB,EAAoD;AAAA;;AAAA,6BAC5C,OAD4C;AAEnD;;AATH;AAAA;AAAA,8BA+BgB;AACZ,aAAO;AACL,qBAAa,EAAE;AACb,wBAAc,EAAE,IADH;AAEb,YAAE,EAAE,cAFS;AAGb,wBAAc,EAAE;AACd,qBAAS,EAAE,kFAA4B,CAAC,mBAD1B;AAEd,mBAAO,EAAE;AACP,8BAAgB,EAAE,CADX;AAEP,0BAAY,EAAE;AACZ,wBAAQ,EAAE,+GADE;AAEZ,yBAAS,aAFG;AAGZ,2BAAW,EAAE;AACX,wBAAM,EAAE,gHAAoB;AADjB;AAHD;AAFP;AAFK;AAHH,SADV;AAkBL,kBAAU,EAAE;AACV,wBAAc,EAAE,IADN;AAEV,YAAE,EAAE;AAFM;AAlBP,OAAP;AAuBD;AAvDH;AAAA;AAAA,iCAyDmB;AACf,WAAK,mBAAL,GAA2B,6FAAe,CAAC,WAAhB,CAA4B,wEAAc,CAAC,YAA3C,EAAyD,IAAzD,CAA3B;AACA,WAAK,YAAL,GAAoB,6FAAe,CAAC,WAAhB,CAA4B,oEAAY,CAAC,aAAzC,EAAwD,IAAxD,CAApB;AACD;AA5DH;AAAA;AAAA,2BA8DiB,UA9DjB,EA8DmD;AAC/C,WAAK,UAAL,GAAkB,UAAlB;AACA,WAAK,MAAL;AACD;AAjEH;AAAA;AAAA,8CAmEiC;AAC7B,UAAI,KAAK,oBAAT,EACE,OAAO,KAAK,oBAAZ;AAEF,aAAO,KAAK,oBAAL,GAA4B,IAAI,uEAAJ,CAAwB;AACzD,wBAAgB,EAAE,0EAAkB,CAAC;AADoB,SAEtD,KAAK,OAAL,CAAa,MAFyC,CAAxB,CAAnC;AAID;AA3EH;AAAA;AAAA,6CA6EgC;AAC5B,UAAM,IAAI,GAAG,IAAI,iHAAJ,CAA8B;AACzC,kBAAU,EAAE,KAAK,UADwB;AAEzC,iBAAS,EAAE,6GAAqB,CAAC;AAFQ,OAA9B,CAAb;AAKA,WAAK,aAAL,CAAmB,eAAnB,EAAoC,IAApC;AACD;AApFH;AAAA;AAAA,uCAsF0B;AACtB,UAAI,CAAC,KAAK,UAAL,CAAgB,MAArB,EAA6B;AAE7B,UAAM,OAAO,GAAG,KAAK,mBAAL,CAAyB,uBAAzB,CAAiD,KAAK,uBAAL,EAAjD,CAAhB;AAEA,UAAM,mBAAmB,GAAG,IAAI,qGAAJ,CAAwB;AAClD,eAAO,EAAP,OADkD;AAElD,eAAO,kCACF,KAAK,YAAL,CAAkB,QAAlB,CAA2B,aADzB,GACsC;AAC3C,cAAI,EAAE,EADqC;AAE3C,gBAAM,EAAE,KAAK,uBAAL,GAA+B,QAA/B;AAFmC,SADtC;AAF2C,OAAxB,CAA5B;AASA,WAAK,aAAL,CAAmB,YAAnB,EAAiC,mBAAjC;AACD;AArGH;AAAA;AAAA,qCAuGuB;AAAA;;AACnB,UAAI,CAAC,KAAK,UAAV,EAAsB;AACpB,aAAK,mBAAL,CAAyB,gBAAzB,CAA0C,KAAK,OAAL,CAAa,MAAvD,EACE,KAAK,uBAAL,EADF,EAEE,UAAC,UAAD;AAAA,iBAAwC,KAAI,CAAC,MAAL,CAAY,UAAZ,CAAxC;AAAA,SAFF;AAID;;AAED,aAAO,CAAC,CAAC,KAAK,UAAd;AACD;AAhHH;AAAA;AAAA,+BAkHiB;AACb,WAAK,sBAAL;AACA,WAAK,gBAAL;AACD;AArHH;AAAA;AAAA,wBAWiB;AACb,aAAO,mBAAP;AACD;AAbH;AAAA;AAAA,wBAekB;AACd,aAAO,6FAAe,CAAC,SAAhB,CAA0B,KAAK,IAA/B,EAAqC,OAArC,CAAP;AACD;AAjBH;AAAA;AAAA,wBAmBiB;AACb,aAAO,6BAAP;AACD;AArBH;AAAA;AAAA,wBAuBsB;AAClB,aAAO,yBAAP;AACD;AAzBH;AAAA;AAAA,wBA2BqB;AACjB,aAAO,0DAAP;AACD;AA7BH;;AAAA;AAAA,EAAuC,yDAAI,CAAC,IAA5C,E;;;;;;;;;;;AC1BA,iBAAiB,mBAAO,CAAC,8BAAY;AACrC,iEAAiE;AACjE;AACA,CAAC;AACD,oHAAoH;;AAEpH;AACA,uLAAuL,yBAAyB,yEAAyE;AACzR;AACA,qFAAqF,uBAAuB,aAAa;AACzH;AACA,mLAAmL,yBAAyB,yEAAyE;AACrR;AACA,iFAAiF,uBAAuB,aAAa;AACrH;AACA,CAAC,gBAAgB,E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACfjB;AAGA;AAGA;AACA;AAEA;AAWO,IAAM,mBAAb;AAAA;;AAAA;;AAGE,+BAAY,OAAZ,EAA+C;AAAA;;AAAA,6BACvC,OADuC;AAE9C;;AALH;AAAA;AAAA,6BAwDe;AACX,aAAO;AACL,mCAA2B,iBADtB;AAEL,+BAAuB;AAFlB,OAAP;AAID;AA7DH;AAAA;AAAA,gCA+DsB,WA/DtB,EA+DyC;AACrC,aAAO;AACL,mBAAW,EAAE,KAAK,OAAL,CAAa,OAAb,CAAqB,WAD7B;AAEL,cAAM,EAAE,KAAK,OAAL,CAAa,OAAb,CAAqB,MAFxB;AAGL,YAAI,EAAE,KAAK,OAAL,CAAa,OAAb,CAAqB,IAHtB;AAIL,cAAM,EAAE,kDAAS,EAAT,EAAa,KAAK,OAAL,CAAa,OAAb,CAAqB,MAAlC,sBAA6C,KAAK,OAAL,CAAa,eAA1D,EAA4E,WAA5E;AAJH,OAAP;AAMD;AAtEH;AAAA;AAAA,sCAwEyB;AACrB,WAAK,SAAL,CAAe,UAAf;AACD;AA1EH;AAAA;AAAA,kCA4EqB;AACjB,WAAK,SAAL,CAAe,MAAf;AACD;AA9EH;AAAA;AAAA,8BAgFoB,IAhFpB,EAgFgC;AAC5B,UAAM,gBAAgB,GAAG,8EAAe,CAAC,YAAhB,CAA6B,KAAK,OAAL,CAAa,gBAA1C,EAA4D;AACnF,gBAAQ,EAAE,yEAAe,CAAC,UADyD;AAEnF,cAAM,EAAE,oEAAU,CAAC,UAFgE;AAGnF,kBAAU,EAAE,oEAAU,CAAC;AAH4D,OAA5D,CAAzB;AAMA,UAAM,IAAI,GAAG;AACX,UAAE,EAAE,KAAK,OAAL,CAAa,YADN;AAEX,YAAI,EAAJ;AAFW,OAAb;AAKA,oFAAe,CAAC,aAAhB,CAA8B,IAA9B,EAAoC,gBAApC;AACD;AA7FH;AAAA;AAAA,kCA+FoB;AAChB,aAAO;AACL,eAAO,EAAE,KAAK,OAAL,CAAa;AADjB,OAAP;AAGD;AAnGH;AAAA;AAAA,qCAqGuB;AACnB,aAAO,CAAC,CAAC,KAAK,OAAL,CAAa,OAAtB;AACD;AAvGH;AAAA;AAAA,wBAOqB;AACjB,aAAO;AACL,eAAO,EAAE,EADJ;AAEL,uBAAe,EAAE;AAFZ,OAAP;AAID;AAZH;AAAA;AAAA,wBAciB;AACb,aAAO,qBAAP;AACD;AAhBH;AAAA;AAAA,wBAkBqB;AACjB,aAAO,sDAAP;AACD;AApBH;AAAA;AAAA,wBAsBiB;AACb,aAAO,oBAAP;AACD;AAxBH;AAAA;AAAA,wBA0BqB;AACjB,UAAM,QAAQ,GAAe,EAA7B;AAEA,UAAI,CAAC,KAAK,OAAL,CAAa,OAAlB,EACE,OAAO,EAAP;;AAEF,UAAI,KAAK,OAAL,CAAa,OAAb,CAAqB,QAAzB,EAAmC;AACjC,YAAI,QAAQ,GAAG,KAAK,OAAL,CAAa,OAAb,CAAqB,QAApC;AAEA,YAAM,MAAM,GAAG,KAAK,WAAL,CAAiB,KAAK,OAAL,CAAa,OAAb,CAAqB,QAAtC,CAAf;AAEA;;;;;;;AAMA,YAAI,CAAC,QAAD,IAAa,CAAb,IAAkB,KAAK,OAAL,CAAa,oBAAb,KAAsC,IAA5D,EACE,OAAO,MAAM,CAAC,MAAP,CAAc,MAArB;AAEF,gBAAQ,CAAC,mBAAD,CAAR,GAAgC,MAAhC;AACD;;AAED,UAAI,KAAK,OAAL,CAAa,OAAb,CAAqB,IAAzB,EAA+B;AAC7B,gBAAQ,CAAC,eAAD,CAAR,GAA4B,KAAK,WAAL,CAAiB,KAAK,OAAL,CAAa,OAAb,CAAqB,IAAtC,CAA5B;AACD;;AAED,aAAO,QAAP;AACD;AAtDH;;AAAA;AAAA,EAAyC,yDAAI,CAAC,SAA9C,E","file":"scripts/47.chunk.js","sourcesContent":["var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var alias1=container.propertyIsEnumerable;\n\n return \"<div class=\\\"container-fluid bg-white p-3\\\">\\r\\n <h1 class=\\\"h3 header border-bottom pb-2 m-0\\\">\"\n + container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"notifications\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</h1>\\r\\n <div class=\\\"list-region\\\"></div>\\r\\n <div class=\\\"pagination-region\\\"></div>\\r\\n</div>\";\n},\"useData\":true});","import { ObjectHash } from 'backbone';\r\nimport { Core } from 'libs/common/core';\r\nimport { LanguageService } from 'libs/common/backbone/services/LanguageService';\r\nimport { InstanceManager } from 'libs/common/backbone/services/InstanceManager';\r\n\r\nimport { BaseNotificationsAppVariables } from 'libs/shared/interfaces';\r\nimport { PartialLoadingComponentTypes } from 'libs/shared/enums/PartialLoading';\r\nimport { SharedDataPrefixes } from 'libs/shared/constants/DataPrefixes';\r\nimport { SharedServices } from 'libs/shared/constants/SharedServices';\r\nimport { AppVariables } from 'libs/shared/constants/AppVariables';\r\nimport { CollectionIdentifier } from 'libs/shared/legacy/interfaces';\r\nimport { PaginationComponent } from 'libs/shared/legacy/components/pagination/PaginationComponent';\r\n\r\nimport { NotificationCollection } from 'libs/shared/apps/notifications/collections/NotificationCollection';\r\nimport { NotificationListComponent, NotificationChildType } from 'libs/shared/apps/notifications/components/notification-list/NotificationListComponent';\r\nimport { NotificationService } from 'libs/shared/apps/notifications/services/NotificationService';\r\n\r\nimport NotificationsTemplate from './Notifications.hbs';\r\n\r\nimport PartialLoadingTemplate from '../../components/notification-items/partial-loading/NotificationsPartial.hbs';\r\nimport PartialLoadingStyles from '../../components/notification-items/partial-loading/notification-partial.scss';\r\n\r\nexport interface NotificationsViewOptions extends Core.ViewOptions {\r\n params: ObjectHash;\r\n}\r\n\r\nexport class NotificationsView extends Core.View {\r\n protected options: NotificationsViewOptions;\r\n public collection: NotificationCollection;\r\n private collectionIdentifier: CollectionIdentifier;\r\n private notificationService: NotificationService;\r\n private appVariables: BaseNotificationsAppVariables;\r\n\r\n public constructor(options: NotificationsViewOptions) {\r\n super(options);\r\n }\r\n\r\n public get name(): string {\r\n return 'NotificationsView';\r\n }\r\n\r\n public get title(): string {\r\n return LanguageService.getPhrase(this.lang, 'title');\r\n }\r\n\r\n public get lang(): string {\r\n return 'notifications.notifications';\r\n }\r\n\r\n public get className(): string {\r\n return 'notifications-container';\r\n }\r\n\r\n public get template(): any {\r\n return NotificationsTemplate;\r\n }\r\n\r\n public regions(): ObjectHash {\r\n return {\r\n notifications: {\r\n replaceElement: true,\r\n el: '.list-region',\r\n partialLoading: {\r\n component: PartialLoadingComponentTypes.ComponentCollection,\r\n options: {\r\n collectionLength: 5,\r\n childOptions: {\r\n template: PartialLoadingTemplate,\r\n className: `px-1 py-2`,\r\n viewOptions: {\r\n styles: PartialLoadingStyles\r\n }\r\n }\r\n }\r\n }\r\n },\r\n pagination: {\r\n replaceElement: true,\r\n el: '.pagination-region',\r\n }\r\n };\r\n }\r\n\r\n public initialize(): void {\r\n this.notificationService = InstanceManager.getInstance(SharedServices.Notification, this);\r\n this.appVariables = InstanceManager.getInstance(AppVariables.NOTIFICATIONS, this);\r\n }\r\n\r\n private onData(collection: NotificationCollection): void {\r\n this.collection = collection;\r\n this.render();\r\n }\r\n\r\n private getCollectionIdentifier(): CollectionIdentifier {\r\n if (this.collectionIdentifier)\r\n return this.collectionIdentifier;\r\n\r\n return this.collectionIdentifier = new CollectionIdentifier({\r\n collectionPrefix: SharedDataPrefixes.NOTIFICATIONS,\r\n ...this.options.params\r\n });\r\n }\r\n\r\n private renderNotificationList(): void {\r\n const view = new NotificationListComponent({\r\n collection: this.collection,\r\n childType: NotificationChildType.Default,\r\n });\r\n\r\n this.showChildView('notifications', view);\r\n }\r\n\r\n private renderPagination(): void {\r\n if (!this.collection.length) return;\r\n\r\n const cursors = this.notificationService.getNotificationsCursors(this.getCollectionIdentifier());\r\n\r\n const paginationComponent = new PaginationComponent({\r\n cursors,\r\n appLink: {\r\n ...this.appVariables.appLinks.notifications,\r\n args: [],\r\n params: this.getCollectionIdentifier().toParams()\r\n }\r\n });\r\n\r\n this.showChildView('pagination', paginationComponent);\r\n }\r\n\r\n public onBeforeRender(): boolean {\r\n if (!this.collection) {\r\n this.notificationService.getNotifications(this.options.params,\r\n this.getCollectionIdentifier(),\r\n (collection: NotificationCollection) => this.onData(collection)\r\n );\r\n }\r\n\r\n return !!this.collection;\r\n }\r\n\r\n public onRender(): void {\r\n this.renderNotificationList();\r\n this.renderPagination();\r\n }\r\n}\r\n","var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n return \"disabled\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {}), alias3=container.hooks.helperMissing, alias4=container.escapeExpression;\n\n return \"<div class=\\\"p-3\\\">\\r\\n <a class=\\\"btn previous-applink btn-secondary \"\n + ((stack1 = helpers.unless.call(alias2,((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.cursors : stack1)) != null ? stack1.previous : stack1),{\"name\":\"unless\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"previous\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</a>\\r\\n <a class=\\\"btn next-applink btn-secondary \"\n + ((stack1 = helpers.unless.call(alias2,((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.cursors : stack1)) != null ? stack1.next : stack1),{\"name\":\"unless\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"next\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</a>\\r\\n</div>\";\n},\"useData\":true});","import * as _ from 'underscore';\r\nimport { ObjectHash } from 'backbone';\r\n\r\nimport { Core } from 'libs/common/core';\r\nimport { Cursors } from 'libs/common/backbone/interfaces';\r\n\r\nimport { AnalyticsOptions, WorkflowPhase, UserAction, LocationContext, EntityType } from 'libs/analytics/interfaces';\r\nimport { AnalyticsHelper } from 'libs/analytics/AnalyticsHelper';\r\n\r\nimport PaginationTemplate from './Pagination.hbs';\r\n\r\ninterface PaginationComponentOptions extends Core.ComponentOptions {\r\n cursors: Cursors;\r\n appLink: Core.AppLink;\r\n collectionId?: string;\r\n allowFirstPageCursor?: boolean;\r\n analyticsOptions?: AnalyticsOptions;\r\n cursorParamName?: string;\r\n}\r\n\r\nexport class PaginationComponent extends Core.Component {\r\n public options: PaginationComponentOptions;\r\n\r\n constructor(options: PaginationComponentOptions) {\r\n super(options);\r\n }\r\n\r\n public get defaults(): ObjectHash {\r\n return {\r\n cursors: {},\r\n cursorParamName: 'cursor'\r\n };\r\n }\r\n\r\n public get name(): string {\r\n return 'PaginationComponent';\r\n }\r\n\r\n public get template(): any {\r\n return PaginationTemplate;\r\n }\r\n\r\n public get lang(): string {\r\n return 'shared._pagination';\r\n }\r\n\r\n public get appLinks(): Core.AppLinkHash {\r\n const appLinks: ObjectHash = {};\r\n\r\n if (!this.options.cursors)\r\n return {};\r\n\r\n if (this.options.cursors.previous) {\r\n let previous = this.options.cursors.previous;\r\n\r\n const cursor = this.buildCursor(this.options.cursors.previous);\r\n\r\n /**\r\n * ** For legacy pagination only **\r\n * Remove the cursor param if the previous page is the first page.\r\n * This ensures that we don't unnecessarily re-fetch the first page \r\n * which in most cases would have been retrieved without using a cursor. \r\n */\r\n if (+previous <= 1 && this.options.allowFirstPageCursor !== true)\r\n delete cursor.params.cursor;\r\n\r\n appLinks['.previous-applink'] = cursor;\r\n }\r\n\r\n if (this.options.cursors.next) {\r\n appLinks['.next-applink'] = this.buildCursor(this.options.cursors.next);\r\n }\r\n\r\n return appLinks;\r\n }\r\n\r\n public events(): ObjectHash {\r\n return {\r\n 'click .previous-applink': 'onClickPrevious',\r\n 'click .next-applink': 'onClickNext'\r\n };\r\n }\r\n\r\n private buildCursor(cursorParam: string): ObjectHash {\r\n return {\r\n application: this.options.appLink.application,\r\n action: this.options.appLink.action,\r\n args: this.options.appLink.args,\r\n params: _.extend({}, this.options.appLink.params, { [this.options.cursorParamName]: cursorParam })\r\n };\r\n }\r\n\r\n private onClickPrevious(): void {\r\n this.logAction('previous');\r\n }\r\n\r\n private onClickNext(): void {\r\n this.logAction('next');\r\n }\r\n\r\n private logAction(page: string): void {\r\n const analyticsOptions = AnalyticsHelper.mergeOptions(this.options.analyticsOptions, {\r\n location: LocationContext.Pagination,\r\n entity: EntityType.Pagination,\r\n actionType: UserAction.Navigate\r\n });\r\n\r\n const data = {\r\n id: this.options.collectionId,\r\n page\r\n };\r\n\r\n AnalyticsHelper.logUserAction(data, analyticsOptions);\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n return {\r\n cursors: this.options.cursors\r\n };\r\n }\r\n\r\n public onBeforeRender(): boolean {\r\n return !!this.options.cursors;\r\n }\r\n}"],"sourceRoot":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp_clickview_lite=window.webpackJsonp_clickview_lite||[]).push([[48],{1294:function(e,a,s){"use strict";s.r(a),s.d(a,"CreateTeacherView",(function(){return h}));var r=s(0),o=s(61),n=s(14),t=s(7),c=s(238),i=s(823),u=s(828),l=s(907),m=s(40),d=t.a.encloseNamespace("userManager.createTeacher");function h(e){var a=Object(i.a)(),s=Object(o.useDispatch)(),t=n.a.useBasicFetch(u.a.getUserRoles()),h=!!t.data;return r.createElement(c.a,{closePopup:e.closePopup,title:d("popupTitle"),showLoadingSpinner:!h},h&&r.createElement(l.a,{saveUser:function(r){n.a.fetch(s,u.a.createTeacher(r,(function(s){m.a.logUserAction(s,e.analyticsOptions),a.success(d("success")),e.closePopup()}),(function(){a.error(d("error"))})))},onClickCancel:e.closePopup,userRoles:t.data}))}},828:function(e,a,s){"use strict";s.d(a,"a",(function(){return l}));var r=s(14),o=s(79),n=s(21),t=s(839),c=s(832),i=s(833),u=s(834),l={getSchoolStudents:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=e.filter,s=void 0===a?"":a,n=e.q,i=void 0===n?"":n,u=e.query,l=void 0===u?"":u,m=e.cursor,d=void 0===m?"1":m;return{url:o.a.urlBuilder("api/domain/v1/school/:id/students",e),key:"school:students:".concat(i,":").concat(l,":").concat(s,":").concat(d),successResponse:function(){var e=t.a.revertFilterString(s),a=r.a.Simulator.getAll("school:students",c).filter((function(a){var r,o;return!(i&&!a.name.toLowerCase().includes(i.toLowerCase()))&&(!s||(!e.yearLevel||e.yearLevel===a.yearLevel.id)&&!((null===(r=e.classroom)||void 0===r?void 0:r.length)&&!e.classroom.includes(null===(o=a.classroom)||void 0===o?void 0:o.id)))})),o=t.a.convertWithStatementToObject(l),n=o.sortValue||"name",u=a.sort((function(e,a){return e[n].toLowerCase()<a[n].toLowerCase()?-1:e[n].toLowerCase()>a[n].toLowerCase()?1:0}));o.sortKey&&"orderbydesc"===o.sortKey&&(u=u.reverse());var m=u.slice(25*(+d-1),25*+d),h=u.slice(25*+d).length?+d+1:void 0,p="1"===d?void 0:+d-1;return m.length||(m=u.slice(0,25),h=u.slice(25).length?2:void 0,p=void 0),{data:m,pagination:{cursors:{next:h,previous:p}},count:u.length}},timeout:500}},tempGetAllStudents:function(){return{url:"",key:"get:all:dem:students",successResponse:function(){return r.a.Simulator.getAll("school:students")}}},removeStudentsFromSchool:function(e,a){return{url:"",key:"remove:school:students",invalidationKeys:["school:students"],successResponse:function(){return r.a.Simulator.delete("school:students",e),{}},always:a}},getStudent:function(e){return{url:"/api/domain/v1/users/".concat(e),key:"students:".concat(e),successResponse:function(){return r.a.Simulator.get("school:students",e)}}},createStudent:function(e,a,s){return{url:"/api/domain/v1/users",key:"create:student",type:n.a.POST,invalidationKeys:["school:students"],successResponse:function(){return r.a.Simulator.create("school:students",e)},success:a,error:s}},bulkCreateStudents:function(e,a,s,o){return{url:"/api/domain/v1/users",key:"create:students",type:n.a.POST,invalidationKeys:["school:students"],successResponse:function(){return e.forEach((function(e){return r.a.Simulator.create("school:students",e)})),e},success:a,error:s,always:o}},updateStudent:function(e,a,s){return{url:"/api/domain/v1/users",key:"edit:student",type:n.a.PUT,invalidationKeys:["school:students"],successResponse:function(){return r.a.Simulator.update("school:students",e)},success:a,error:s}},getSchoolTeachers:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=e.filter,s=void 0===a?"":a,n=e.q,t=void 0===n?"":n,c=e.query,u=void 0===c?"":c,l=e.cursor,m=void 0===l?"":l;return{url:o.a.urlBuilder("api/domain/v1/school/:id/teachers",e),key:"school:teachers:".concat(t,":").concat(u,":").concat(s,":").concat(m),successResponse:function(){var e=r.a.Simulator.getAll("school:teachers",i);return{data:e,pagination:{cursors:{}},count:e.length}},timeout:2e3}},removeTeachersFromSchool:function(e,a){return{url:"",key:"remove:school:teachers",invalidationKeys:["school:teachers"],successResponse:function(){return r.a.Simulator.delete("school:teachers",e),{}},always:a}},getTeacher:function(e){return{url:"/api/domain/v1/users/".concat(e),key:"teachers:".concat(e),successResponse:function(){return r.a.Simulator.get("school:teachers",e)}}},createTeacher:function(e,a,s){return{url:"/api/domain/v1/users",key:"create:teacher",type:n.a.POST,invalidationKeys:["school:teachers"],successResponse:function(){return r.a.Simulator.create("school:teachers",e)},success:a,error:s}},bulkCreateTeachers:function(e,a,s,o){return{url:"/api/domain/v1/users",key:"create:teachers",type:n.a.POST,invalidationKeys:["school:teachers"],successResponse:function(){return e.forEach((function(e){return r.a.Simulator.create("school:teachers",e)})),e},success:a,error:s,always:o}},updateTeacher:function(e,a,s){return{url:"/api/domain/v1/users",key:"edit:teacher",type:n.a.PUT,invalidationKeys:["school:teachers"],successResponse:function(){return r.a.Simulator.update("school:teachers",e)},success:a,error:s}},getUserRoles:function(){return{url:"/api/domain/v1/users/roles",key:"user:roles",successResponse:function(){return r.a.Simulator.getAll("user:roles",u)}}},getStudentsGroups:function(e){return{url:"/api/domain/v1/users/".concat(e,"/groups"),key:"user:".concat(e,":groups"),successResponse:function(){return r.a.Simulator.getAll("groups").filter((function(a){return!!a.students.find((function(a){return a.id===e}))}))}}}}},832:function(e){e.exports=JSON.parse('[{"username":"Joosh","name":"Joshua","surname":"Taylor","email":"joshua.taylor@clickview.com.au","yearLevel":{"id":"year-2","name":"Year 2"},"classroom":{"id":"classroom-2-c","name":"Classroom 2-C"}},{"username":"Shale","name":"Shale","surname":"Kuzmanovski","email":"shale.kuzmanovski@clickview.com.au","yearLevel":{"id":"year-2","name":"Year 2"},"classroom":{"id":"classroom-2-a","name":"Classroom 2-A"}},{"username":"Mike","name":"Michael","surname":"O\'McDonald","email":"michael.mcdonnell@clickview.com.au","yearLevel":{"id":"year-2","name":"Year 2"},"classroom":{"id":"classroom-2-a","name":"Classroom 2-A"}},{"username":"Met","name":"Matt","surname":"Trengrove","email":"matt@clickview.com.au","yearLevel":{"id":"year-2","name":"Year 2"},"classroom":{"id":"classroom-2-b","name":"Classroom 2-B"}},{"username":"Big Kev","name":"Don Kevin","surname":"Wellalagodage","email":"kevin.wellalagoladegelagodage@clickview.com.au","yearLevel":{"id":"year-2","name":"Year 1"},"classroom":{"id":"classroom-1-a","name":"Classroom 1-A"}}]')},833:function(e){e.exports=JSON.parse('[{"username":"beb","name":"Beverly","surname":"Li","email":"beverly.li@clickview.com.au","userRole":{"id":"assistant-principal","name":"Assistant Principal"}},{"username":"Bort","name":"Cameron","surname":"Hill","email":"cameron.hill@clickview.com.au","userRole":{"id":"principal","name":"Principal"}},{"username":"jaynice","name":"Janice","surname":"Quach","email":"janice.quach@clickview.com.au","userRole":{"id":"head-of-science","name":"Head of Science"}},{"username":"bread","name":"Prad","surname":"Nepal","email":"prad.nepal@clickview.com.au","userRole":{"id":"head-of-conpiracy-theories","name":"Head of Conspiracy Theories"}}]')},834:function(e){e.exports=JSON.parse('[{"id":"teacher","name":"Teacher"},{"id":"assistant-principal","name":"Assistant Principal"},{"id":"principal","name":"Principal"},{"id":"head-of-science","name":"Head of Science"},{"id":"head-of-conpiracy-theories","name":"Head of Conspiracy Theories"}]')}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp_clickview_lite=window.webpackJsonp_clickview_lite||[]).push([[48],{1281:function(e,a,s){"use strict";s.r(a),s.d(a,"CreateTeacherView",(function(){return h}));var r=s(0),o=s(60),n=s(14),t=s(7),c=s(233),i=s(815),u=s(820),l=s(900),m=s(40),d=t.a.encloseNamespace("userManager.createTeacher");function h(e){var a=Object(i.a)(),s=Object(o.useDispatch)(),t=n.a.useBasicFetch(u.a.getUserRoles()),h=!!t.data;return r.createElement(c.a,{closePopup:e.closePopup,title:d("popupTitle"),showLoadingSpinner:!h},h&&r.createElement(l.a,{saveUser:function(r){n.a.fetch(s,u.a.createTeacher(r,(function(s){m.a.logUserAction(s,e.analyticsOptions),a.success(d("success")),e.closePopup()}),(function(){a.error(d("error"))})))},onClickCancel:e.closePopup,userRoles:t.data}))}},820:function(e,a,s){"use strict";s.d(a,"a",(function(){return l}));var r=s(14),o=s(77),n=s(21),t=s(831),c=s(823),i=s(824),u=s(825),l={getSchoolStudents:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=e.filter,s=void 0===a?"":a,n=e.q,i=void 0===n?"":n,u=e.query,l=void 0===u?"":u,m=e.cursor,d=void 0===m?"1":m;return{url:o.a.urlBuilder("api/domain/v1/school/:id/students",e),key:"school:students:".concat(i,":").concat(l,":").concat(s,":").concat(d),successResponse:function(){var e=t.a.revertFilterString(s),a=r.a.Simulator.getAll("school:students",c).filter((function(a){var r,o;return!(i&&!a.name.toLowerCase().includes(i.toLowerCase()))&&(!s||(!e.yearLevel||e.yearLevel===a.yearLevel.id)&&!((null===(r=e.classroom)||void 0===r?void 0:r.length)&&!e.classroom.includes(null===(o=a.classroom)||void 0===o?void 0:o.id)))})),o=t.a.convertWithStatementToObject(l),n=o.sortValue||"name",u=a.sort((function(e,a){return e[n].toLowerCase()<a[n].toLowerCase()?-1:e[n].toLowerCase()>a[n].toLowerCase()?1:0}));o.sortKey&&"orderbydesc"===o.sortKey&&(u=u.reverse());var m=u.slice(25*(+d-1),25*+d),h=u.slice(25*+d).length?+d+1:void 0,p="1"===d?void 0:+d-1;return m.length||(m=u.slice(0,25),h=u.slice(25).length?2:void 0,p=void 0),{data:m,pagination:{cursors:{next:h,previous:p}},count:u.length}},timeout:500}},tempGetAllStudents:function(){return{url:"",key:"get:all:dem:students",successResponse:function(){return r.a.Simulator.getAll("school:students")}}},removeStudentsFromSchool:function(e,a){return{url:"",key:"remove:school:students",invalidationKeys:["school:students"],successResponse:function(){return r.a.Simulator.delete("school:students",e),{}},always:a}},getStudent:function(e){return{url:"/api/domain/v1/users/".concat(e),key:"students:".concat(e),successResponse:function(){return r.a.Simulator.get("school:students",e)}}},createStudent:function(e,a,s){return{url:"/api/domain/v1/users",key:"create:student",type:n.a.POST,invalidationKeys:["school:students"],successResponse:function(){return r.a.Simulator.create("school:students",e)},success:a,error:s}},bulkCreateStudents:function(e,a,s,o){return{url:"/api/domain/v1/users",key:"create:students",type:n.a.POST,invalidationKeys:["school:students"],successResponse:function(){return e.forEach((function(e){return r.a.Simulator.create("school:students",e)})),e},success:a,error:s,always:o}},updateStudent:function(e,a,s){return{url:"/api/domain/v1/users",key:"edit:student",type:n.a.PUT,invalidationKeys:["school:students"],successResponse:function(){return r.a.Simulator.update("school:students",e)},success:a,error:s}},getSchoolTeachers:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=e.filter,s=void 0===a?"":a,n=e.q,t=void 0===n?"":n,c=e.query,u=void 0===c?"":c,l=e.cursor,m=void 0===l?"":l;return{url:o.a.urlBuilder("api/domain/v1/school/:id/teachers",e),key:"school:teachers:".concat(t,":").concat(u,":").concat(s,":").concat(m),successResponse:function(){var e=r.a.Simulator.getAll("school:teachers",i);return{data:e,pagination:{cursors:{}},count:e.length}},timeout:2e3}},removeTeachersFromSchool:function(e,a){return{url:"",key:"remove:school:teachers",invalidationKeys:["school:teachers"],successResponse:function(){return r.a.Simulator.delete("school:teachers",e),{}},always:a}},getTeacher:function(e){return{url:"/api/domain/v1/users/".concat(e),key:"teachers:".concat(e),successResponse:function(){return r.a.Simulator.get("school:teachers",e)}}},createTeacher:function(e,a,s){return{url:"/api/domain/v1/users",key:"create:teacher",type:n.a.POST,invalidationKeys:["school:teachers"],successResponse:function(){return r.a.Simulator.create("school:teachers",e)},success:a,error:s}},bulkCreateTeachers:function(e,a,s,o){return{url:"/api/domain/v1/users",key:"create:teachers",type:n.a.POST,invalidationKeys:["school:teachers"],successResponse:function(){return e.forEach((function(e){return r.a.Simulator.create("school:teachers",e)})),e},success:a,error:s,always:o}},updateTeacher:function(e,a,s){return{url:"/api/domain/v1/users",key:"edit:teacher",type:n.a.PUT,invalidationKeys:["school:teachers"],successResponse:function(){return r.a.Simulator.update("school:teachers",e)},success:a,error:s}},getUserRoles:function(){return{url:"/api/domain/v1/users/roles",key:"user:roles",successResponse:function(){return r.a.Simulator.getAll("user:roles",u)}}},getStudentsGroups:function(e){return{url:"/api/domain/v1/users/".concat(e,"/groups"),key:"user:".concat(e,":groups"),successResponse:function(){return r.a.Simulator.getAll("groups").filter((function(a){return!!a.students.find((function(a){return a.id===e}))}))}}}}},823:function(e){e.exports=JSON.parse('[{"username":"Joosh","name":"Joshua","surname":"Taylor","email":"joshua.taylor@clickview.com.au","yearLevel":{"id":"year-2","name":"Year 2"},"classroom":{"id":"classroom-2-c","name":"Classroom 2-C"}},{"username":"Shale","name":"Shale","surname":"Kuzmanovski","email":"shale.kuzmanovski@clickview.com.au","yearLevel":{"id":"year-2","name":"Year 2"},"classroom":{"id":"classroom-2-a","name":"Classroom 2-A"}},{"username":"Mike","name":"Michael","surname":"O\'McDonald","email":"michael.mcdonnell@clickview.com.au","yearLevel":{"id":"year-2","name":"Year 2"},"classroom":{"id":"classroom-2-a","name":"Classroom 2-A"}},{"username":"Met","name":"Matt","surname":"Trengrove","email":"matt@clickview.com.au","yearLevel":{"id":"year-2","name":"Year 2"},"classroom":{"id":"classroom-2-b","name":"Classroom 2-B"}},{"username":"Big Kev","name":"Don Kevin","surname":"Wellalagodage","email":"kevin.wellalagoladegelagodage@clickview.com.au","yearLevel":{"id":"year-2","name":"Year 1"},"classroom":{"id":"classroom-1-a","name":"Classroom 1-A"}}]')},824:function(e){e.exports=JSON.parse('[{"username":"beb","name":"Beverly","surname":"Li","email":"beverly.li@clickview.com.au","userRole":{"id":"assistant-principal","name":"Assistant Principal"}},{"username":"Bort","name":"Cameron","surname":"Hill","email":"cameron.hill@clickview.com.au","userRole":{"id":"principal","name":"Principal"}},{"username":"jaynice","name":"Janice","surname":"Quach","email":"janice.quach@clickview.com.au","userRole":{"id":"head-of-science","name":"Head of Science"}},{"username":"bread","name":"Prad","surname":"Nepal","email":"prad.nepal@clickview.com.au","userRole":{"id":"head-of-conpiracy-theories","name":"Head of Conspiracy Theories"}}]')},825:function(e){e.exports=JSON.parse('[{"id":"teacher","name":"Teacher"},{"id":"assistant-principal","name":"Assistant Principal"},{"id":"principal","name":"Principal"},{"id":"head-of-science","name":"Head of Science"},{"id":"head-of-conpiracy-theories","name":"Head of Conspiracy Theories"}]')}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp_clickview_lite=window.webpackJsonp_clickview_lite||[]).push([[48],{1294:function(e,a,s){"use strict";s.r(a),s.d(a,"CreateTeacherView",(function(){return h}));var r=s(0),o=s(61),n=s(14),t=s(7),c=s(238),i=s(824),u=s(829),l=s(908),m=s(40),d=t.a.encloseNamespace("userManager.createTeacher");function h(e){var a=Object(i.a)(),s=Object(o.useDispatch)(),t=n.a.useBasicFetch(u.a.getUserRoles()),h=!!t.data;return r.createElement(c.a,{closePopup:e.closePopup,title:d("popupTitle"),showLoadingSpinner:!h},h&&r.createElement(l.a,{saveUser:function(r){n.a.fetch(s,u.a.createTeacher(r,(function(s){m.a.logUserAction(s,e.analyticsOptions),a.success(d("success")),e.closePopup()}),(function(){a.error(d("error"))})))},onClickCancel:e.closePopup,userRoles:t.data}))}},829:function(e,a,s){"use strict";s.d(a,"a",(function(){return l}));var r=s(14),o=s(79),n=s(21),t=s(840),c=s(833),i=s(834),u=s(835),l={getSchoolStudents:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=e.filter,s=void 0===a?"":a,n=e.q,i=void 0===n?"":n,u=e.query,l=void 0===u?"":u,m=e.cursor,d=void 0===m?"1":m;return{url:o.a.urlBuilder("api/domain/v1/school/:id/students",e),key:"school:students:".concat(i,":").concat(l,":").concat(s,":").concat(d),successResponse:function(){var e=t.a.revertFilterString(s),a=r.a.Simulator.getAll("school:students",c).filter((function(a){var r,o;return!(i&&!a.name.toLowerCase().includes(i.toLowerCase()))&&(!s||(!e.yearLevel||e.yearLevel===a.yearLevel.id)&&!((null===(r=e.classroom)||void 0===r?void 0:r.length)&&!e.classroom.includes(null===(o=a.classroom)||void 0===o?void 0:o.id)))})),o=t.a.convertWithStatementToObject(l),n=o.sortValue||"name",u=a.sort((function(e,a){return e[n].toLowerCase()<a[n].toLowerCase()?-1:e[n].toLowerCase()>a[n].toLowerCase()?1:0}));o.sortKey&&"orderbydesc"===o.sortKey&&(u=u.reverse());var m=u.slice(25*(+d-1),25*+d),h=u.slice(25*+d).length?+d+1:void 0,p="1"===d?void 0:+d-1;return m.length||(m=u.slice(0,25),h=u.slice(25).length?2:void 0,p=void 0),{data:m,pagination:{cursors:{next:h,previous:p}},count:u.length}},timeout:500}},tempGetAllStudents:function(){return{url:"",key:"get:all:dem:students",successResponse:function(){return r.a.Simulator.getAll("school:students")}}},removeStudentsFromSchool:function(e,a){return{url:"",key:"remove:school:students",invalidationKeys:["school:students"],successResponse:function(){return r.a.Simulator.delete("school:students",e),{}},always:a}},getStudent:function(e){return{url:"/api/domain/v1/users/".concat(e),key:"students:".concat(e),successResponse:function(){return r.a.Simulator.get("school:students",e)}}},createStudent:function(e,a,s){return{url:"/api/domain/v1/users",key:"create:student",type:n.a.POST,invalidationKeys:["school:students"],successResponse:function(){return r.a.Simulator.create("school:students",e)},success:a,error:s}},bulkCreateStudents:function(e,a,s,o){return{url:"/api/domain/v1/users",key:"create:students",type:n.a.POST,invalidationKeys:["school:students"],successResponse:function(){return e.forEach((function(e){return r.a.Simulator.create("school:students",e)})),e},success:a,error:s,always:o}},updateStudent:function(e,a,s){return{url:"/api/domain/v1/users",key:"edit:student",type:n.a.PUT,invalidationKeys:["school:students"],successResponse:function(){return r.a.Simulator.update("school:students",e)},success:a,error:s}},getSchoolTeachers:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=e.filter,s=void 0===a?"":a,n=e.q,t=void 0===n?"":n,c=e.query,u=void 0===c?"":c,l=e.cursor,m=void 0===l?"":l;return{url:o.a.urlBuilder("api/domain/v1/school/:id/teachers",e),key:"school:teachers:".concat(t,":").concat(u,":").concat(s,":").concat(m),successResponse:function(){var e=r.a.Simulator.getAll("school:teachers",i);return{data:e,pagination:{cursors:{}},count:e.length}},timeout:2e3}},removeTeachersFromSchool:function(e,a){return{url:"",key:"remove:school:teachers",invalidationKeys:["school:teachers"],successResponse:function(){return r.a.Simulator.delete("school:teachers",e),{}},always:a}},getTeacher:function(e){return{url:"/api/domain/v1/users/".concat(e),key:"teachers:".concat(e),successResponse:function(){return r.a.Simulator.get("school:teachers",e)}}},createTeacher:function(e,a,s){return{url:"/api/domain/v1/users",key:"create:teacher",type:n.a.POST,invalidationKeys:["school:teachers"],successResponse:function(){return r.a.Simulator.create("school:teachers",e)},success:a,error:s}},bulkCreateTeachers:function(e,a,s,o){return{url:"/api/domain/v1/users",key:"create:teachers",type:n.a.POST,invalidationKeys:["school:teachers"],successResponse:function(){return e.forEach((function(e){return r.a.Simulator.create("school:teachers",e)})),e},success:a,error:s,always:o}},updateTeacher:function(e,a,s){return{url:"/api/domain/v1/users",key:"edit:teacher",type:n.a.PUT,invalidationKeys:["school:teachers"],successResponse:function(){return r.a.Simulator.update("school:teachers",e)},success:a,error:s}},getUserRoles:function(){return{url:"/api/domain/v1/users/roles",key:"user:roles",successResponse:function(){return r.a.Simulator.getAll("user:roles",u)}}},getStudentsGroups:function(e){return{url:"/api/domain/v1/users/".concat(e,"/groups"),key:"user:".concat(e,":groups"),successResponse:function(){return r.a.Simulator.getAll("groups").filter((function(a){return!!a.students.find((function(a){return a.id===e}))}))}}}}},833:function(e){e.exports=JSON.parse('[{"username":"Joosh","name":"Joshua","surname":"Taylor","email":"joshua.taylor@clickview.com.au","yearLevel":{"id":"year-2","name":"Year 2"},"classroom":{"id":"classroom-2-c","name":"Classroom 2-C"}},{"username":"Shale","name":"Shale","surname":"Kuzmanovski","email":"shale.kuzmanovski@clickview.com.au","yearLevel":{"id":"year-2","name":"Year 2"},"classroom":{"id":"classroom-2-a","name":"Classroom 2-A"}},{"username":"Mike","name":"Michael","surname":"O\'McDonald","email":"michael.mcdonnell@clickview.com.au","yearLevel":{"id":"year-2","name":"Year 2"},"classroom":{"id":"classroom-2-a","name":"Classroom 2-A"}},{"username":"Met","name":"Matt","surname":"Trengrove","email":"matt@clickview.com.au","yearLevel":{"id":"year-2","name":"Year 2"},"classroom":{"id":"classroom-2-b","name":"Classroom 2-B"}},{"username":"Big Kev","name":"Don Kevin","surname":"Wellalagodage","email":"kevin.wellalagoladegelagodage@clickview.com.au","yearLevel":{"id":"year-2","name":"Year 1"},"classroom":{"id":"classroom-1-a","name":"Classroom 1-A"}}]')},834:function(e){e.exports=JSON.parse('[{"username":"beb","name":"Beverly","surname":"Li","email":"beverly.li@clickview.com.au","userRole":{"id":"assistant-principal","name":"Assistant Principal"}},{"username":"Bort","name":"Cameron","surname":"Hill","email":"cameron.hill@clickview.com.au","userRole":{"id":"principal","name":"Principal"}},{"username":"jaynice","name":"Janice","surname":"Quach","email":"janice.quach@clickview.com.au","userRole":{"id":"head-of-science","name":"Head of Science"}},{"username":"bread","name":"Prad","surname":"Nepal","email":"prad.nepal@clickview.com.au","userRole":{"id":"head-of-conpiracy-theories","name":"Head of Conspiracy Theories"}}]')},835:function(e){e.exports=JSON.parse('[{"id":"teacher","name":"Teacher"},{"id":"assistant-principal","name":"Assistant Principal"},{"id":"principal","name":"Principal"},{"id":"head-of-science","name":"Head of Science"},{"id":"head-of-conpiracy-theories","name":"Head of Conspiracy Theories"}]')}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp_clickview_lite=window.webpackJsonp_clickview_lite||[]).push([[48],{1295:function(e,a,s){"use strict";s.r(a),s.d(a,"CreateTeacherView",(function(){return h}));var r=s(0),o=s(61),n=s(14),t=s(7),c=s(238),i=s(824),u=s(829),l=s(908),m=s(40),d=t.a.encloseNamespace("userManager.createTeacher");function h(e){var a=Object(i.a)(),s=Object(o.useDispatch)(),t=n.a.useBasicFetch(u.a.getUserRoles()),h=!!t.data;return r.createElement(c.a,{closePopup:e.closePopup,title:d("popupTitle"),showLoadingSpinner:!h},h&&r.createElement(l.a,{saveUser:function(r){n.a.fetch(s,u.a.createTeacher(r,(function(s){m.a.logUserAction(s,e.analyticsOptions),a.success(d("success")),e.closePopup()}),(function(){a.error(d("error"))})))},onClickCancel:e.closePopup,userRoles:t.data}))}},829:function(e,a,s){"use strict";s.d(a,"a",(function(){return l}));var r=s(14),o=s(79),n=s(21),t=s(840),c=s(833),i=s(834),u=s(835),l={getSchoolStudents:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=e.filter,s=void 0===a?"":a,n=e.q,i=void 0===n?"":n,u=e.query,l=void 0===u?"":u,m=e.cursor,d=void 0===m?"1":m;return{url:o.a.urlBuilder("api/domain/v1/school/:id/students",e),key:"school:students:".concat(i,":").concat(l,":").concat(s,":").concat(d),successResponse:function(){var e=t.a.revertFilterString(s),a=r.a.Simulator.getAll("school:students",c).filter((function(a){var r,o;return!(i&&!a.name.toLowerCase().includes(i.toLowerCase()))&&(!s||(!e.yearLevel||e.yearLevel===a.yearLevel.id)&&!((null===(r=e.classroom)||void 0===r?void 0:r.length)&&!e.classroom.includes(null===(o=a.classroom)||void 0===o?void 0:o.id)))})),o=t.a.convertWithStatementToObject(l),n=o.sortValue||"name",u=a.sort((function(e,a){return e[n].toLowerCase()<a[n].toLowerCase()?-1:e[n].toLowerCase()>a[n].toLowerCase()?1:0}));o.sortKey&&"orderbydesc"===o.sortKey&&(u=u.reverse());var m=u.slice(25*(+d-1),25*+d),h=u.slice(25*+d).length?+d+1:void 0,p="1"===d?void 0:+d-1;return m.length||(m=u.slice(0,25),h=u.slice(25).length?2:void 0,p=void 0),{data:m,pagination:{cursors:{next:h,previous:p}},count:u.length}},timeout:500}},tempGetAllStudents:function(){return{url:"",key:"get:all:dem:students",successResponse:function(){return r.a.Simulator.getAll("school:students")}}},removeStudentsFromSchool:function(e,a){return{url:"",key:"remove:school:students",invalidationKeys:["school:students"],successResponse:function(){return r.a.Simulator.delete("school:students",e),{}},always:a}},getStudent:function(e){return{url:"/api/domain/v1/users/".concat(e),key:"students:".concat(e),successResponse:function(){return r.a.Simulator.get("school:students",e)}}},createStudent:function(e,a,s){return{url:"/api/domain/v1/users",key:"create:student",type:n.a.POST,invalidationKeys:["school:students"],successResponse:function(){return r.a.Simulator.create("school:students",e)},success:a,error:s}},bulkCreateStudents:function(e,a,s,o){return{url:"/api/domain/v1/users",key:"create:students",type:n.a.POST,invalidationKeys:["school:students"],successResponse:function(){return e.forEach((function(e){return r.a.Simulator.create("school:students",e)})),e},success:a,error:s,always:o}},updateStudent:function(e,a,s){return{url:"/api/domain/v1/users",key:"edit:student",type:n.a.PUT,invalidationKeys:["school:students"],successResponse:function(){return r.a.Simulator.update("school:students",e)},success:a,error:s}},getSchoolTeachers:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=e.filter,s=void 0===a?"":a,n=e.q,t=void 0===n?"":n,c=e.query,u=void 0===c?"":c,l=e.cursor,m=void 0===l?"":l;return{url:o.a.urlBuilder("api/domain/v1/school/:id/teachers",e),key:"school:teachers:".concat(t,":").concat(u,":").concat(s,":").concat(m),successResponse:function(){var e=r.a.Simulator.getAll("school:teachers",i);return{data:e,pagination:{cursors:{}},count:e.length}},timeout:2e3}},removeTeachersFromSchool:function(e,a){return{url:"",key:"remove:school:teachers",invalidationKeys:["school:teachers"],successResponse:function(){return r.a.Simulator.delete("school:teachers",e),{}},always:a}},getTeacher:function(e){return{url:"/api/domain/v1/users/".concat(e),key:"teachers:".concat(e),successResponse:function(){return r.a.Simulator.get("school:teachers",e)}}},createTeacher:function(e,a,s){return{url:"/api/domain/v1/users",key:"create:teacher",type:n.a.POST,invalidationKeys:["school:teachers"],successResponse:function(){return r.a.Simulator.create("school:teachers",e)},success:a,error:s}},bulkCreateTeachers:function(e,a,s,o){return{url:"/api/domain/v1/users",key:"create:teachers",type:n.a.POST,invalidationKeys:["school:teachers"],successResponse:function(){return e.forEach((function(e){return r.a.Simulator.create("school:teachers",e)})),e},success:a,error:s,always:o}},updateTeacher:function(e,a,s){return{url:"/api/domain/v1/users",key:"edit:teacher",type:n.a.PUT,invalidationKeys:["school:teachers"],successResponse:function(){return r.a.Simulator.update("school:teachers",e)},success:a,error:s}},getUserRoles:function(){return{url:"/api/domain/v1/users/roles",key:"user:roles",successResponse:function(){return r.a.Simulator.getAll("user:roles",u)}}},getStudentsGroups:function(e){return{url:"/api/domain/v1/users/".concat(e,"/groups"),key:"user:".concat(e,":groups"),successResponse:function(){return r.a.Simulator.getAll("groups").filter((function(a){return!!a.students.find((function(a){return a.id===e}))}))}}}}},833:function(e){e.exports=JSON.parse('[{"username":"Joosh","name":"Joshua","surname":"Taylor","email":"joshua.taylor@clickview.com.au","yearLevel":{"id":"year-2","name":"Year 2"},"classroom":{"id":"classroom-2-c","name":"Classroom 2-C"}},{"username":"Shale","name":"Shale","surname":"Kuzmanovski","email":"shale.kuzmanovski@clickview.com.au","yearLevel":{"id":"year-2","name":"Year 2"},"classroom":{"id":"classroom-2-a","name":"Classroom 2-A"}},{"username":"Mike","name":"Michael","surname":"O\'McDonald","email":"michael.mcdonnell@clickview.com.au","yearLevel":{"id":"year-2","name":"Year 2"},"classroom":{"id":"classroom-2-a","name":"Classroom 2-A"}},{"username":"Met","name":"Matt","surname":"Trengrove","email":"matt@clickview.com.au","yearLevel":{"id":"year-2","name":"Year 2"},"classroom":{"id":"classroom-2-b","name":"Classroom 2-B"}},{"username":"Big Kev","name":"Don Kevin","surname":"Wellalagodage","email":"kevin.wellalagoladegelagodage@clickview.com.au","yearLevel":{"id":"year-2","name":"Year 1"},"classroom":{"id":"classroom-1-a","name":"Classroom 1-A"}}]')},834:function(e){e.exports=JSON.parse('[{"username":"beb","name":"Beverly","surname":"Li","email":"beverly.li@clickview.com.au","userRole":{"id":"assistant-principal","name":"Assistant Principal"}},{"username":"Bort","name":"Cameron","surname":"Hill","email":"cameron.hill@clickview.com.au","userRole":{"id":"principal","name":"Principal"}},{"username":"jaynice","name":"Janice","surname":"Quach","email":"janice.quach@clickview.com.au","userRole":{"id":"head-of-science","name":"Head of Science"}},{"username":"bread","name":"Prad","surname":"Nepal","email":"prad.nepal@clickview.com.au","userRole":{"id":"head-of-conpiracy-theories","name":"Head of Conspiracy Theories"}}]')},835:function(e){e.exports=JSON.parse('[{"id":"teacher","name":"Teacher"},{"id":"assistant-principal","name":"Assistant Principal"},{"id":"principal","name":"Principal"},{"id":"head-of-science","name":"Head of Science"},{"id":"head-of-conpiracy-theories","name":"Head of Conspiracy Theories"}]')}}]);
|