@clickview/library-editor 1.1.26 → 1.1.27-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/23.chunk.css +3 -5
- package/dist/css/25.chunk.css +0 -2
- package/dist/css/library-editor-app.css +2 -2
- 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/interfaces/StickitBinding.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/utils/FetchHelper.d.ts +1 -1
- package/dist/libs/shared/src/apps/notifications/views/popover/NotificationsPopoverView.d.ts +2 -2
- package/dist/libs/shared/src/apps/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/upload/errors/file-type/FileTypeError.d.ts +1 -1
- 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 +5 -0
- package/dist/libs/shared/src/enums/WidgetContents.d.ts +2 -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/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/MaskHelper.d.ts +1 -1
- package/dist/libs/shared/src/utils/SvgHelper.d.ts +0 -1
- package/dist/projects/library-editor/src/app.d.ts +20 -5
- package/dist/projects/library-editor/src/apps/content-updates/utils/ContentUpdatesHelper.d.ts +1 -1
- package/dist/projects/library-editor/src/apps/library-editor/LibraryEditorApplication.d.ts +3 -3
- package/dist/projects/library-editor/src/apps/library-editor/components/file-uploads/FileUploadsComponentCollection.d.ts +1 -1
- package/dist/projects/library-editor/src/apps/library-editor/components/language-select/LanguageSelectTypeaheadHelper.d.ts +1 -2
- package/dist/projects/library-editor/src/apps/library-editor/components/video-resources/VideoResourcesComponent.d.ts +3 -1
- package/dist/projects/library-editor/src/apps/library-editor/components/video-subtitles/VideoSubtitlesComponent.d.ts +4 -1
- package/dist/projects/library-editor/src/apps/library-editor/enums/index.d.ts +0 -1
- package/dist/projects/library-editor/src/apps/library-editor/errors/index.d.ts +0 -2
- package/dist/projects/library-editor/src/apps/library-editor/services/VideoDataService.d.ts +2 -2
- package/dist/projects/library-editor/src/apps/library-editor/utils/EditVideoHelpers.d.ts +2 -2
- package/dist/projects/library-editor/src/apps/library-editor/utils/VideoDetailsHelper.d.ts +1 -1
- package/dist/projects/library-editor/src/apps/library-editor/views/edit-resources/EditResourcesView.d.ts +3 -3
- package/dist/projects/library-editor/src/apps/migration-wizard/components/status-bar/StatusBarComponent.d.ts +2 -2
- package/dist/projects/library-editor/src/apps/upload/UploadApplication.d.ts +1 -1
- package/dist/projects/library-editor/src/shared/behaviors/index.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/behaviors/popup/PopupBehavior.d.ts +3 -3
- package/dist/projects/library-editor/src/shared/components/date-picker/DatePickerComponent.d.ts +2 -2
- package/dist/projects/library-editor/src/shared/components/dropdown/DropdownButtonComponent.d.ts +4 -4
- package/dist/projects/library-editor/src/shared/components/edit-video/edit-additional-info/EditAdditionalInfoComponent.d.ts +1 -1
- package/dist/projects/library-editor/src/shared/components/edit-video/select-rating/SelectRatingItemComponent.d.ts +1 -1
- package/dist/projects/library-editor/src/shared/components/image-cropper/ImageCropperComponent.d.ts +1 -1
- package/dist/projects/library-editor/src/shared/components/select/SelectComponent.d.ts +1 -1
- package/dist/projects/library-editor/src/shared/components/spinner-button/SpinnerButtonComponent.d.ts +1 -1
- package/dist/projects/library-editor/src/shared/components/tabs/TabsComponent.d.ts +1 -1
- package/dist/projects/library-editor/src/shared/components/typeahead-input/SearchTypeaheadComponent.d.ts +4 -4
- package/dist/projects/library-editor/src/shared/components/video-item/utils/VideoItemComponents.d.ts +1 -1
- package/dist/projects/library-editor/src/shared/enums/index.d.ts +0 -2
- package/dist/projects/library-editor/src/shared/errors/index.d.ts +0 -1
- package/dist/projects/library-editor/src/shared/layouts/manage-layout/ManageLayoutView.d.ts +2 -0
- package/dist/projects/library-editor/src/shared/utils/PermissionsHelper.d.ts +1 -1
- package/dist/projects/library-editor/src/shared/utils/RatingHelper.d.ts +1 -2
- package/dist/projects/library-editor/src/shared/utils/VideoHelper.d.ts +1 -1
- package/dist/projects/library-editor/src/shared/utils/search/RawSearchHelper.d.ts +1 -1
- package/dist/projects/library-editor/src/shared/utils/search/raw-search-components/add-new/AddNewSuggestion.d.ts +1 -1
- package/dist/projects/library-editor/src/shared/views/download-video/DownloadVideoView.d.ts +0 -1
- package/dist/projects/library-editor/src/startup/RegisterAnalytics.d.ts +1 -1
- package/dist/projects/library-editor/src/startup/RegisterApplicationVariables.d.ts +1 -1
- package/dist/projects/library-editor/src/startup/RegisterApplications.d.ts +1 -1
- package/dist/projects/library-editor/src/startup/RegisterCaches.d.ts +1 -1
- package/dist/projects/library-editor/src/startup/RegisterDataProviders.d.ts +1 -1
- package/dist/projects/library-editor/src/startup/RegisterDataServices.d.ts +1 -1
- package/dist/projects/library-editor/src/startup/RegisterErrorHandlers.d.ts +1 -1
- package/dist/projects/library-editor/src/startup/RegisterHandlebarsHelpers.d.ts +1 -1
- package/dist/projects/library-editor/src/startup/RegisterLayouts.d.ts +1 -1
- package/dist/projects/library-editor/src/startup/RegisterServices.d.ts +1 -1
- package/dist/projects/library-editor/src/startup/RegisterViewDataExtensions.d.ts +1 -1
- package/dist/projects/library-editor/typings/libs/LazyLoad.d.ts +1 -1
- package/dist/scripts/{0-93276429bf.chunk.js → 0-7d941d48a1.chunk.js} +1 -1
- package/dist/scripts/1-d174976195.chunk.js +1 -0
- package/dist/scripts/{10-31317a2d02.chunk.js → 10-9389c5decb.chunk.js} +1 -1
- package/dist/scripts/{11-74bc3f2d9f.chunk.js → 11-85acf490ea.chunk.js} +1 -1
- package/dist/scripts/{12-6ecdd79b85.chunk.js → 12-0db13732f7.chunk.js} +1 -1
- package/dist/scripts/13-994f87e579.chunk.js +1 -0
- package/dist/scripts/14-2902bc9522.chunk.js +1 -0
- package/dist/scripts/15-c6ed60d5c9.chunk.js +1 -0
- package/dist/scripts/{16-427a8933c8.chunk.js → 16-745edb531a.chunk.js} +1 -1
- package/dist/scripts/{17-140fec014b.chunk.js → 17-84499189f1.chunk.js} +1 -1
- package/dist/scripts/{2-0c5fba8b60.chunk.js → 2-236aa94486.chunk.js} +1 -1
- package/dist/scripts/{20-732a7a549d.chunk.js → 20-96717eb19f.chunk.js} +1 -1
- package/dist/scripts/{21-ee85b6d208.chunk.js → 21-65f36b6673.chunk.js} +1 -1
- package/dist/scripts/{22-082c94a39c.chunk.js → 22-5e4db41745.chunk.js} +1 -1
- package/dist/scripts/23-d0172ec9d2.chunk.js +1 -0
- package/dist/scripts/{24-c94049500e.chunk.js → 24-6ac1386d9a.chunk.js} +1 -1
- package/dist/scripts/25-36d490b1c6.chunk.js +1 -0
- package/dist/scripts/{26-d166e3c313.chunk.js → 26-58a421e3cb.chunk.js} +1 -1
- package/dist/scripts/27-a507f85408.chunk.js +1 -0
- package/dist/scripts/{28-e490147f6b.chunk.js → 28-add4a2a74d.chunk.js} +1 -1
- package/dist/scripts/29-adf22ec3a1.chunk.js +1 -0
- package/dist/scripts/{3-42e8af9f39.chunk.js → 3-3c39acc333.chunk.js} +1 -1
- package/dist/scripts/{30-9d32d88d76.chunk.js → 30-6e869b77b2.chunk.js} +1 -1
- package/dist/scripts/{31-639090fee3.chunk.js → 31-f3a0832478.chunk.js} +1 -1
- package/dist/scripts/32-cbcb5dba41.chunk.js +1 -0
- package/dist/scripts/33-c9a197cce2.chunk.js +1 -0
- package/dist/scripts/34-37fc1c9761.chunk.js +1 -0
- package/dist/scripts/35-21329b155d.chunk.js +1 -0
- package/dist/scripts/36-0d3fa3d249.chunk.js +1 -0
- package/dist/scripts/{37-3f3a603b60.chunk.js → 37-681f25d8de.chunk.js} +1 -1
- package/dist/scripts/38-5364f1bd67.chunk.js +1 -0
- package/dist/scripts/{39-71c4bb46b2.chunk.js → 39-996d4ddc74.chunk.js} +1 -1
- package/dist/scripts/4-93e14cac14.chunk.js +1 -0
- package/dist/scripts/{40-f1d72b1049.chunk.js → 40-7ecb39dfb5.chunk.js} +1 -1
- package/dist/scripts/41-8b5abd983b.chunk.js +1 -0
- package/dist/scripts/{42-3480033857.chunk.js → 42-b0867d7db0.chunk.js} +1 -1
- package/dist/scripts/{43-2fe5b1c9cc.chunk.js → 43-32a9ad2254.chunk.js} +1 -1
- package/dist/scripts/44-bf0ebe3cf7.chunk.js +1 -0
- package/dist/scripts/45-2ba05e3821.chunk.js +1 -0
- package/dist/scripts/46-3bdc667e2e.chunk.js +1 -0
- package/dist/scripts/{47-1e3d829757.chunk.js → 47-9955928b6f.chunk.js} +1 -1
- package/dist/scripts/{48-877e9e02b8.chunk.js → 48-3922b945f4.chunk.js} +1 -1
- package/dist/scripts/{49-0f9a6a1782.chunk.js → 49-23a1f6f7e7.chunk.js} +1 -1
- package/dist/scripts/5-4bea739cc3.chunk.js +1 -0
- package/dist/scripts/{50-0741587a02.chunk.js → 50-5c842985ec.chunk.js} +1 -1
- package/dist/scripts/{51-a5f1309ada.chunk.js → 51-76bb20846a.chunk.js} +1 -1
- package/dist/scripts/{52-bc48f1f9e8.chunk.js → 52-837abee352.chunk.js} +1 -1
- package/dist/scripts/{53-36007500cf.chunk.js → 53-52c9fac5eb.chunk.js} +1 -1
- package/dist/scripts/{54-7cdbdcebf9.chunk.js → 54-557f6ffe65.chunk.js} +1 -1
- package/dist/scripts/{55-078bb9b0ea.chunk.js → 55-8dea861900.chunk.js} +1 -1
- package/dist/scripts/{56-36d54fa08f.chunk.js → 56-491db19e9d.chunk.js} +1 -1
- package/dist/scripts/{57-c1faec8b32.chunk.js → 57-87323c96be.chunk.js} +1 -1
- package/dist/scripts/{58-e996405f2b.chunk.js → 58-3408474ea9.chunk.js} +1 -1
- package/dist/scripts/{59-0a7bdc86b0.chunk.js → 59-ad89e8b776.chunk.js} +1 -1
- package/dist/scripts/{6-1045293de4.chunk.js → 6-cf6bf13de2.chunk.js} +1 -1
- package/dist/scripts/{60-0d8896555f.chunk.js → 60-3324435680.chunk.js} +1 -1
- package/dist/scripts/{61-57fa6b5248.chunk.js → 61-57f4830468.chunk.js} +1 -1
- package/dist/scripts/{62-67458b7fb4.chunk.js → 62-27f0a916e8.chunk.js} +1 -1
- package/dist/scripts/{63-420b10f5f2.chunk.js → 63-c328125cb6.chunk.js} +1 -1
- package/dist/scripts/{64-e6598113a7.chunk.js → 64-32b869d473.chunk.js} +1 -1
- package/dist/scripts/{65-93567fe088.chunk.js → 65-2f7971dc4f.chunk.js} +1 -1
- package/dist/scripts/{66-c84a3a3c3f.chunk.js → 66-34c241cba2.chunk.js} +1 -1
- package/dist/scripts/67-b5429e74ed.chunk.js +1 -0
- package/dist/scripts/{68-7b1d5e8e75.chunk.js → 68-c8848a4a9d.chunk.js} +1 -1
- package/dist/scripts/{69-3d2063cd0f.chunk.js → 69-3840d20a46.chunk.js} +1 -1
- package/dist/scripts/{7-3151397d74.chunk.js → 7-d1e99b91aa.chunk.js} +1 -1
- package/dist/scripts/{70-27e9e5792a.chunk.js → 70-812a99c9c1.chunk.js} +1 -1
- package/dist/scripts/{71-c5923e2d2d.chunk.js → 71-5523ee0121.chunk.js} +1 -1
- package/dist/scripts/{72-0a6c88f9fe.chunk.js → 72-fd2b5e6473.chunk.js} +1 -1
- package/dist/scripts/{8-7278f3247c.chunk.js → 8-1c22ae2c22.chunk.js} +1 -1
- package/dist/scripts/9-fab9edf019.chunk.js +1 -0
- package/dist/scripts/bundle-c2eae7224c.min.js +8 -0
- package/dist/scripts/bundles.json +2 -2
- package/dist/scripts/polyfills-1554419c02.min.js +1 -0
- package/package.json +4 -3
- package/typings/libs/CVEvents.d.ts +1 -1
- package/typings/libs/LazyLoad.ts +2 -1
- package/typings/libs/Trackers.d.ts +1 -1
- package/dist/css/1.chunk.css.map +0 -1
- package/dist/css/10.chunk.css.map +0 -1
- package/dist/css/11.chunk.css +0 -137
- package/dist/css/11.chunk.css.map +0 -1
- 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/16.chunk.css.map +0 -1
- package/dist/css/17.chunk.css.map +0 -1
- package/dist/css/18.chunk.css +0 -20
- package/dist/css/18.chunk.css.map +0 -1
- package/dist/css/2.chunk.css +0 -145
- package/dist/css/2.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/25.chunk.css.map +0 -1
- package/dist/css/26.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.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 +0 -21
- package/dist/css/34.chunk.css.map +0 -1
- package/dist/css/35.chunk.css +0 -20
- package/dist/css/35.chunk.css.map +0 -1
- package/dist/css/36.chunk.css +0 -14
- 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/40.chunk.css.map +0 -1
- package/dist/css/41.chunk.css.map +0 -1
- package/dist/css/42.chunk.css.map +0 -1
- package/dist/css/43.chunk.css.map +0 -1
- package/dist/css/44.chunk.css.map +0 -1
- package/dist/css/45.chunk.css.map +0 -1
- package/dist/css/46.chunk.css.map +0 -1
- package/dist/css/47.chunk.css.map +0 -1
- package/dist/css/48.chunk.css.map +0 -1
- package/dist/css/49.chunk.css +0 -35
- package/dist/css/49.chunk.css.map +0 -1
- package/dist/css/50.chunk.css.map +0 -1
- package/dist/css/51.chunk.css.map +0 -1
- package/dist/css/52.chunk.css +0 -66
- package/dist/css/52.chunk.css.map +0 -1
- package/dist/css/55.chunk.css.map +0 -1
- package/dist/css/56.chunk.css.map +0 -1
- package/dist/css/58.chunk.css.map +0 -1
- 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 -18
- package/dist/css/60.chunk.css.map +0 -1
- package/dist/css/62.chunk.css.map +0 -1
- package/dist/css/63.chunk.css +0 -170
- package/dist/css/63.chunk.css.map +0 -1
- package/dist/css/67.chunk.css +0 -78
- package/dist/css/67.chunk.css.map +0 -1
- package/dist/css/68.chunk.css +0 -17
- package/dist/css/68.chunk.css.map +0 -1
- package/dist/css/69.chunk.css +0 -17
- package/dist/css/69.chunk.css.map +0 -1
- package/dist/css/7.chunk.css.map +0 -1
- package/dist/css/70.chunk.css +0 -23
- package/dist/css/70.chunk.css.map +0 -1
- package/dist/css/71.chunk.css +0 -40
- package/dist/css/71.chunk.css.map +0 -1
- package/dist/css/72.chunk.css +0 -16
- package/dist/css/72.chunk.css.map +0 -1
- package/dist/css/73.chunk.css +0 -37
- package/dist/css/73.chunk.css.map +0 -1
- package/dist/css/74.chunk.css +0 -29
- package/dist/css/74.chunk.css.map +0 -1
- package/dist/css/75.chunk.css +0 -6
- package/dist/css/75.chunk.css.map +0 -1
- package/dist/css/76.chunk.css +0 -6
- package/dist/css/76.chunk.css.map +0 -1
- package/dist/css/8.chunk.css.map +0 -1
- package/dist/css/library-editor-app.css.map +0 -1
- package/dist/libs/common/src/backbone/services/ScrollService.d.ts +0 -19
- package/dist/projects/library-editor/src/apps/library-editor/components/file-select/FileSelectComponent.d.ts +0 -30
- package/dist/projects/library-editor/src/apps/library-editor/components/file-uploads/FileUploadComponent.d.ts +0 -15
- package/dist/projects/library-editor/src/apps/library-editor/components/video-resources/ResourceItemComponent.d.ts +0 -22
- package/dist/projects/library-editor/src/apps/library-editor/components/video-subtitles/SubtitleItemComponent.d.ts +0 -18
- package/dist/projects/library-editor/src/apps/library-editor/enums/ObjectOwnerType.d.ts +0 -4
- package/dist/projects/library-editor/src/apps/library-editor/errors/too-many-resources/TooManyResourcesError.d.ts +0 -8
- package/dist/projects/library-editor/src/apps/library-editor/errors/too-many-subtitles/TooManySubtitlesError.d.ts +0 -8
- package/dist/projects/library-editor/src/shared/behaviors/file-drop/FileDropBehavior.d.ts +0 -19
- package/dist/projects/library-editor/src/shared/behaviors/file-drop/FileDropHelper.d.ts +0 -4
- package/dist/projects/library-editor/src/shared/behaviors/file-drop/FileDropMaskBehavior.d.ts +0 -19
- package/dist/projects/library-editor/src/shared/behaviors/file-select/FileSelectBehavior.d.ts +0 -16
- package/dist/projects/library-editor/src/shared/enums/MasterObjectTypes.d.ts +0 -8
- package/dist/projects/library-editor/src/shared/enums/UploadInteractionType.d.ts +0 -4
- package/dist/projects/library-editor/src/shared/errors/too-many-files/TooManyFilesError.d.ts +0 -7
- package/dist/scripts/0-1c2bb7e28a.chunk.js +0 -1
- package/dist/scripts/0-1dbc79e4e7.chunk.js +0 -1
- package/dist/scripts/0-8b75adf540.chunk.js +0 -1
- package/dist/scripts/0.chunk.js +0 -1039
- package/dist/scripts/0.chunk.js.map +0 -1
- package/dist/scripts/1-22a3bd404f.chunk.js +0 -1
- package/dist/scripts/1-480e5932a6.chunk.js +0 -1
- package/dist/scripts/1-6051b28de6.chunk.js +0 -1
- package/dist/scripts/1-b85c11fc30.chunk.js +0 -1
- package/dist/scripts/1.chunk.js +0 -442
- package/dist/scripts/1.chunk.js.map +0 -1
- package/dist/scripts/10-3ff370d548.chunk.js +0 -1
- package/dist/scripts/10-923c4b075a.chunk.js +0 -1
- package/dist/scripts/10-e2fea45a6c.chunk.js +0 -1
- package/dist/scripts/10.chunk.js +0 -820
- package/dist/scripts/10.chunk.js.map +0 -1
- package/dist/scripts/11-039959db6c.chunk.js +0 -11
- package/dist/scripts/11-3dec7d2c7e.chunk.js +0 -11
- package/dist/scripts/11.chunk.js +0 -4091
- package/dist/scripts/11.chunk.js.map +0 -1
- package/dist/scripts/12-07999b80e0.chunk.js +0 -1
- package/dist/scripts/12-24bd360be0.chunk.js +0 -1
- package/dist/scripts/12-e522e64a94.chunk.js +0 -1
- package/dist/scripts/12.chunk.js +0 -555
- package/dist/scripts/12.chunk.js.map +0 -1
- package/dist/scripts/13-081c0e5887.chunk.js +0 -1
- package/dist/scripts/13-282f8add17.chunk.js +0 -1
- package/dist/scripts/13-54fe4fe53b.chunk.js +0 -1
- package/dist/scripts/13-958a8fd026.chunk.js +0 -1
- package/dist/scripts/13.chunk.js +0 -380
- package/dist/scripts/13.chunk.js.map +0 -1
- package/dist/scripts/14-16f84b2721.chunk.js +0 -1
- package/dist/scripts/14-45cd4dc6ef.chunk.js +0 -1
- package/dist/scripts/14-5e443cb402.chunk.js +0 -1
- package/dist/scripts/14-68c85d6674.chunk.js +0 -1
- package/dist/scripts/14.chunk.js +0 -2386
- package/dist/scripts/14.chunk.js.map +0 -1
- package/dist/scripts/15-12fa4c3471.chunk.js +0 -1
- package/dist/scripts/15-1f779dd0d3.chunk.js +0 -1
- package/dist/scripts/15-5544e6bde6.chunk.js +0 -1
- package/dist/scripts/15-8c96c3288e.chunk.js +0 -1
- package/dist/scripts/15.chunk.js +0 -314
- package/dist/scripts/15.chunk.js.map +0 -1
- package/dist/scripts/16-670c43d26f.chunk.js +0 -1
- package/dist/scripts/16-742a776f88.chunk.js +0 -1
- package/dist/scripts/16-7bcffb06e7.chunk.js +0 -1
- package/dist/scripts/16.chunk.js +0 -1290
- package/dist/scripts/16.chunk.js.map +0 -1
- package/dist/scripts/17-7093f50dff.chunk.js +0 -1
- package/dist/scripts/17-b5e44e8b17.chunk.js +0 -1
- package/dist/scripts/17-f6b0159da3.chunk.js +0 -1
- package/dist/scripts/17.chunk.js +0 -381
- package/dist/scripts/17.chunk.js.map +0 -1
- package/dist/scripts/18.chunk.js +0 -393
- package/dist/scripts/18.chunk.js.map +0 -1
- package/dist/scripts/19.chunk.js +0 -364
- package/dist/scripts/19.chunk.js.map +0 -1
- package/dist/scripts/2-5fd33f5359.chunk.js +0 -1
- package/dist/scripts/2-7cc9176e8a.chunk.js +0 -1
- package/dist/scripts/2.chunk.js +0 -523
- package/dist/scripts/2.chunk.js.map +0 -1
- package/dist/scripts/20-4d88ede0e0.chunk.js +0 -1
- package/dist/scripts/20-a84733c89f.chunk.js +0 -1
- package/dist/scripts/20-df9f6f7661.chunk.js +0 -1
- package/dist/scripts/20.chunk.js +0 -317
- package/dist/scripts/20.chunk.js.map +0 -1
- package/dist/scripts/21-0b84d33cef.chunk.js +0 -1
- package/dist/scripts/21-9b28a13702.chunk.js +0 -1
- package/dist/scripts/21-c9983ca8ad.chunk.js +0 -1
- package/dist/scripts/21.chunk.js +0 -531
- package/dist/scripts/21.chunk.js.map +0 -1
- package/dist/scripts/22-151cf38018.chunk.js +0 -1
- package/dist/scripts/22-3b2207c8f6.chunk.js +0 -1
- package/dist/scripts/22-6e6ed9f607.chunk.js +0 -1
- package/dist/scripts/22.chunk.js +0 -354
- package/dist/scripts/22.chunk.js.map +0 -1
- package/dist/scripts/23-1af21bf234.chunk.js +0 -1
- package/dist/scripts/23-2b00ff99bf.chunk.js +0 -1
- package/dist/scripts/23-94f9fe4222.chunk.js +0 -1
- package/dist/scripts/23-ab8f73ee87.chunk.js +0 -1
- package/dist/scripts/23.chunk.js +0 -604
- package/dist/scripts/23.chunk.js.map +0 -1
- package/dist/scripts/24-74ab289589.chunk.js +0 -1
- package/dist/scripts/24-7aa9b43511.chunk.js +0 -1
- package/dist/scripts/24-d1ffdd4755.chunk.js +0 -1
- package/dist/scripts/24.chunk.js +0 -318
- package/dist/scripts/24.chunk.js.map +0 -1
- package/dist/scripts/25-34c0406f50.chunk.js +0 -1
- package/dist/scripts/25-5a38ce3533.chunk.js +0 -1
- package/dist/scripts/25-76d9011eea.chunk.js +0 -1
- package/dist/scripts/25-866cfc0ef5.chunk.js +0 -1
- package/dist/scripts/25.chunk.js +0 -365
- package/dist/scripts/25.chunk.js.map +0 -1
- package/dist/scripts/26-d19e3f755c.chunk.js +0 -1
- package/dist/scripts/26-e53ba8e00f.chunk.js +0 -1
- package/dist/scripts/26-ea028a6276.chunk.js +0 -1
- package/dist/scripts/26.chunk.js +0 -442
- package/dist/scripts/26.chunk.js.map +0 -1
- package/dist/scripts/27-2109d41afa.chunk.js +0 -1
- package/dist/scripts/27-3aa629dd67.chunk.js +0 -1
- package/dist/scripts/27-c1241fcd84.chunk.js +0 -1
- package/dist/scripts/27-ee88c84482.chunk.js +0 -1
- package/dist/scripts/27.chunk.js +0 -3630
- package/dist/scripts/27.chunk.js.map +0 -1
- package/dist/scripts/28-5c540e74cc.chunk.js +0 -1
- package/dist/scripts/28-738b88c816.chunk.js +0 -1
- package/dist/scripts/28-76b9766891.chunk.js +0 -1
- package/dist/scripts/28.chunk.js +0 -3172
- package/dist/scripts/28.chunk.js.map +0 -1
- package/dist/scripts/29-2da59b1589.chunk.js +0 -1
- package/dist/scripts/29-3faa153e38.chunk.js +0 -1
- package/dist/scripts/29-69389908f8.chunk.js +0 -1
- package/dist/scripts/29-bb7e39304b.chunk.js +0 -1
- package/dist/scripts/29.chunk.js +0 -3090
- package/dist/scripts/29.chunk.js.map +0 -1
- package/dist/scripts/3-6e67dd4b74.chunk.js +0 -1
- package/dist/scripts/3-81b501ac1e.chunk.js +0 -1
- package/dist/scripts/3-c69e4454ce.chunk.js +0 -1
- package/dist/scripts/3.chunk.js +0 -845
- package/dist/scripts/3.chunk.js.map +0 -1
- package/dist/scripts/30-109f8ddd5c.chunk.js +0 -1
- package/dist/scripts/30-a1df3e37da.chunk.js +0 -1
- package/dist/scripts/30-fa390c35f6.chunk.js +0 -1
- package/dist/scripts/30.chunk.js +0 -1851
- package/dist/scripts/30.chunk.js.map +0 -1
- package/dist/scripts/31-ce31250e42.chunk.js +0 -1
- package/dist/scripts/31-f15802825c.chunk.js +0 -1
- package/dist/scripts/31-fc63c4629d.chunk.js +0 -1
- package/dist/scripts/31.chunk.js +0 -958
- package/dist/scripts/31.chunk.js.map +0 -1
- package/dist/scripts/32-1ad8193581.chunk.js +0 -1
- package/dist/scripts/32-3de9c7454b.chunk.js +0 -1
- package/dist/scripts/32-4173874dbe.chunk.js +0 -1
- package/dist/scripts/32-9bca57f408.chunk.js +0 -1
- package/dist/scripts/32.chunk.js +0 -1235
- package/dist/scripts/32.chunk.js.map +0 -1
- package/dist/scripts/33-20ac0ab4a1.chunk.js +0 -1
- package/dist/scripts/33-350334db4c.chunk.js +0 -1
- package/dist/scripts/33-675467f07d.chunk.js +0 -1
- package/dist/scripts/33-7efae85b8b.chunk.js +0 -1
- package/dist/scripts/33.chunk.js +0 -958
- package/dist/scripts/33.chunk.js.map +0 -1
- package/dist/scripts/34-0a7f3b55fe.chunk.js +0 -1
- package/dist/scripts/34-3adf309726.chunk.js +0 -1
- package/dist/scripts/34-c4f0495750.chunk.js +0 -1
- package/dist/scripts/34-f6eea83a09.chunk.js +0 -1
- package/dist/scripts/34.chunk.js +0 -990
- package/dist/scripts/34.chunk.js.map +0 -1
- package/dist/scripts/35-17b30890a5.chunk.js +0 -1
- package/dist/scripts/35-4254e160f0.chunk.js +0 -1
- package/dist/scripts/35-7f90628b77.chunk.js +0 -1
- package/dist/scripts/35-9c3899dfbd.chunk.js +0 -1
- package/dist/scripts/35.chunk.js +0 -518
- package/dist/scripts/35.chunk.js.map +0 -1
- package/dist/scripts/36-1fde696d6a.chunk.js +0 -1
- package/dist/scripts/36-2ec95df618.chunk.js +0 -1
- package/dist/scripts/36-b5ad543fba.chunk.js +0 -1
- package/dist/scripts/36-cdbe95bd06.chunk.js +0 -1
- package/dist/scripts/36.chunk.js +0 -335
- package/dist/scripts/36.chunk.js.map +0 -1
- package/dist/scripts/37-6fa4b8fc60.chunk.js +0 -1
- package/dist/scripts/37-97b84a8be5.chunk.js +0 -1
- package/dist/scripts/37-c649a307d4.chunk.js +0 -1
- package/dist/scripts/37.chunk.js +0 -236
- package/dist/scripts/37.chunk.js.map +0 -1
- package/dist/scripts/38-0cf8029bec.chunk.js +0 -1
- package/dist/scripts/38-1c98f19489.chunk.js +0 -1
- package/dist/scripts/38-6fc346f964.chunk.js +0 -1
- package/dist/scripts/38-7ffe535b0d.chunk.js +0 -1
- package/dist/scripts/38.chunk.js +0 -315
- package/dist/scripts/38.chunk.js.map +0 -1
- package/dist/scripts/39-13d6669c3f.chunk.js +0 -1
- package/dist/scripts/39-748eb61732.chunk.js +0 -1
- package/dist/scripts/39-e5983a5d53.chunk.js +0 -1
- package/dist/scripts/39.chunk.js +0 -107
- package/dist/scripts/39.chunk.js.map +0 -1
- package/dist/scripts/4-435484d217.chunk.js +0 -1
- package/dist/scripts/4-5c50e71b83.chunk.js +0 -1
- package/dist/scripts/4-7274621693.chunk.js +0 -1
- package/dist/scripts/4-85ba8523ad.chunk.js +0 -1
- package/dist/scripts/4.chunk.js +0 -335
- package/dist/scripts/4.chunk.js.map +0 -1
- package/dist/scripts/40-2691dfbd5a.chunk.js +0 -1
- package/dist/scripts/40-2ecbd41570.chunk.js +0 -1
- package/dist/scripts/40-a691a401ff.chunk.js +0 -1
- package/dist/scripts/40.chunk.js +0 -2493
- package/dist/scripts/40.chunk.js.map +0 -1
- package/dist/scripts/41-0368ba16dc.chunk.js +0 -1
- package/dist/scripts/41-1df587ee3a.chunk.js +0 -1
- package/dist/scripts/41-85fcb15184.chunk.js +0 -1
- package/dist/scripts/41-bb9aef24f7.chunk.js +0 -1
- package/dist/scripts/41.chunk.js +0 -1782
- package/dist/scripts/41.chunk.js.map +0 -1
- package/dist/scripts/42-389acb6e55.chunk.js +0 -1
- package/dist/scripts/42-3ef41f40f5.chunk.js +0 -1
- package/dist/scripts/42-61a626d7f4.chunk.js +0 -1
- package/dist/scripts/42.chunk.js +0 -2327
- package/dist/scripts/42.chunk.js.map +0 -1
- package/dist/scripts/43-49f13dab14.chunk.js +0 -1
- package/dist/scripts/43-72d1bc0ae2.chunk.js +0 -1
- package/dist/scripts/43-a5b882d502.chunk.js +0 -1
- package/dist/scripts/43.chunk.js +0 -1206
- package/dist/scripts/43.chunk.js.map +0 -1
- package/dist/scripts/44-0703eb0ad8.chunk.js +0 -1
- package/dist/scripts/44-756fd6622b.chunk.js +0 -1
- package/dist/scripts/44-de22428999.chunk.js +0 -1
- package/dist/scripts/44-ee6a740a16.chunk.js +0 -1
- package/dist/scripts/44.chunk.js +0 -2245
- package/dist/scripts/44.chunk.js.map +0 -1
- package/dist/scripts/45-610d098194.chunk.js +0 -1
- package/dist/scripts/45-806dd5b78c.chunk.js +0 -1
- package/dist/scripts/45-da34a8b6b2.chunk.js +0 -1
- package/dist/scripts/45-e4a92a40fd.chunk.js +0 -1
- package/dist/scripts/45.chunk.js +0 -1065
- package/dist/scripts/45.chunk.js.map +0 -1
- package/dist/scripts/46-4aa05464fe.chunk.js +0 -1
- package/dist/scripts/46-cadf3f46ee.chunk.js +0 -1
- package/dist/scripts/46-cccef3e874.chunk.js +0 -1
- package/dist/scripts/46-ebf8eee4ac.chunk.js +0 -1
- package/dist/scripts/46.chunk.js +0 -655
- package/dist/scripts/46.chunk.js.map +0 -1
- package/dist/scripts/47-22a83e5974.chunk.js +0 -1
- package/dist/scripts/47-56d22af6ba.chunk.js +0 -1
- package/dist/scripts/47-c61fa52c53.chunk.js +0 -1
- package/dist/scripts/47.chunk.js +0 -736
- package/dist/scripts/47.chunk.js.map +0 -1
- package/dist/scripts/48-e05ab3ecac.chunk.js +0 -1
- package/dist/scripts/48-e577124476.chunk.js +0 -1
- package/dist/scripts/48-fc96b968fc.chunk.js +0 -1
- package/dist/scripts/48.chunk.js +0 -994
- package/dist/scripts/48.chunk.js.map +0 -1
- package/dist/scripts/49-13c5f8e87d.chunk.js +0 -1
- package/dist/scripts/49-4a6c119f58.chunk.js +0 -1
- package/dist/scripts/49-f9151c7e06.chunk.js +0 -1
- package/dist/scripts/49.chunk.js +0 -761
- package/dist/scripts/49.chunk.js.map +0 -1
- package/dist/scripts/5-06b97501c3.chunk.js +0 -1
- package/dist/scripts/5-1ba89c4774.chunk.js +0 -1
- package/dist/scripts/5-515b264fbc.chunk.js +0 -1
- package/dist/scripts/5-d6a7d71167.chunk.js +0 -1
- package/dist/scripts/5.chunk.js +0 -15
- package/dist/scripts/5.chunk.js.map +0 -1
- package/dist/scripts/50-0d5aed7730.chunk.js +0 -1
- package/dist/scripts/50-3924907655.chunk.js +0 -1
- package/dist/scripts/50-4de0b758d5.chunk.js +0 -1
- package/dist/scripts/50.chunk.js +0 -530
- package/dist/scripts/50.chunk.js.map +0 -1
- package/dist/scripts/51-cd37c8efa2.chunk.js +0 -1
- package/dist/scripts/51-dca2a9cc86.chunk.js +0 -1
- package/dist/scripts/51-ea33746146.chunk.js +0 -1
- package/dist/scripts/51.chunk.js +0 -932
- package/dist/scripts/51.chunk.js.map +0 -1
- package/dist/scripts/52-50230b48c8.chunk.js +0 -1
- package/dist/scripts/52-8b53a5c0b1.chunk.js +0 -1
- package/dist/scripts/52-a3c8ed29ca.chunk.js +0 -1
- package/dist/scripts/52.chunk.js +0 -408
- package/dist/scripts/52.chunk.js.map +0 -1
- package/dist/scripts/53-0e253f9f3e.chunk.js +0 -1
- package/dist/scripts/53-54b0df474f.chunk.js +0 -1
- package/dist/scripts/53-d8f0dea552.chunk.js +0 -1
- package/dist/scripts/53.chunk.js +0 -756
- package/dist/scripts/53.chunk.js.map +0 -1
- package/dist/scripts/54-d1bc70c7b5.chunk.js +0 -1
- package/dist/scripts/54-dd4d101665.chunk.js +0 -1
- package/dist/scripts/54-ead54d0b34.chunk.js +0 -1
- package/dist/scripts/54.chunk.js +0 -681
- package/dist/scripts/54.chunk.js.map +0 -1
- package/dist/scripts/55-3c60601030.chunk.js +0 -1
- package/dist/scripts/55-a5fa20b497.chunk.js +0 -1
- package/dist/scripts/55-e29d6a6ba9.chunk.js +0 -1
- package/dist/scripts/55.chunk.js +0 -645
- package/dist/scripts/55.chunk.js.map +0 -1
- package/dist/scripts/56-370078d597.chunk.js +0 -1
- package/dist/scripts/56-7a6c662f14.chunk.js +0 -1
- package/dist/scripts/56-df0a32000b.chunk.js +0 -1
- package/dist/scripts/56.chunk.js +0 -346
- package/dist/scripts/56.chunk.js.map +0 -1
- package/dist/scripts/57-0e126120b9.chunk.js +0 -1
- package/dist/scripts/57-6e622c6480.chunk.js +0 -1
- package/dist/scripts/57-a4f4d6fe41.chunk.js +0 -1
- package/dist/scripts/57.chunk.js +0 -422
- package/dist/scripts/57.chunk.js.map +0 -1
- package/dist/scripts/58-17706ccb46.chunk.js +0 -1
- package/dist/scripts/58-5729cbaa5c.chunk.js +0 -1
- package/dist/scripts/58-a0fe201826.chunk.js +0 -1
- package/dist/scripts/58.chunk.js +0 -437
- package/dist/scripts/58.chunk.js.map +0 -1
- package/dist/scripts/59-333f38ee3b.chunk.js +0 -1
- package/dist/scripts/59-381a49ed7f.chunk.js +0 -1
- package/dist/scripts/59-4f2fcb6412.chunk.js +0 -1
- package/dist/scripts/59.chunk.js +0 -342
- package/dist/scripts/59.chunk.js.map +0 -1
- package/dist/scripts/6-40c8ba5007.chunk.js +0 -1
- package/dist/scripts/6-51a379e066.chunk.js +0 -1
- package/dist/scripts/6-b3d36065dc.chunk.js +0 -1
- package/dist/scripts/6.chunk.js +0 -484
- package/dist/scripts/6.chunk.js.map +0 -1
- package/dist/scripts/60-b17c6609cd.chunk.js +0 -1
- package/dist/scripts/60-b4a91c86fa.chunk.js +0 -1
- package/dist/scripts/60-c57f161f18.chunk.js +0 -1
- package/dist/scripts/60.chunk.js +0 -254
- package/dist/scripts/60.chunk.js.map +0 -1
- package/dist/scripts/61-5d6e59d408.chunk.js +0 -1
- package/dist/scripts/61-7d81d27c31.chunk.js +0 -1
- package/dist/scripts/61-a342a0d501.chunk.js +0 -1
- package/dist/scripts/61.chunk.js +0 -408
- package/dist/scripts/61.chunk.js.map +0 -1
- package/dist/scripts/62-758f5e505b.chunk.js +0 -1
- package/dist/scripts/62-b572d8b80d.chunk.js +0 -1
- package/dist/scripts/62-f5fd35fdc0.chunk.js +0 -1
- package/dist/scripts/62.chunk.js +0 -142
- package/dist/scripts/62.chunk.js.map +0 -1
- package/dist/scripts/63-568008965e.chunk.js +0 -1
- package/dist/scripts/63-6700b4d00a.chunk.js +0 -1
- package/dist/scripts/63-c88b9860e9.chunk.js +0 -1
- package/dist/scripts/63.chunk.js +0 -147
- package/dist/scripts/63.chunk.js.map +0 -1
- package/dist/scripts/64-9c88ee6161.chunk.js +0 -1
- package/dist/scripts/64-e177d4c971.chunk.js +0 -1
- package/dist/scripts/64-fa2facacbb.chunk.js +0 -1
- package/dist/scripts/64.chunk.js +0 -439
- package/dist/scripts/64.chunk.js.map +0 -1
- package/dist/scripts/65-a7e499ceee.chunk.js +0 -1
- package/dist/scripts/65-e4568d1f06.chunk.js +0 -1
- package/dist/scripts/65-f750573f69.chunk.js +0 -1
- package/dist/scripts/65.chunk.js +0 -582
- package/dist/scripts/65.chunk.js.map +0 -1
- package/dist/scripts/66-f00f29ccae.chunk.js +0 -1
- package/dist/scripts/66-f325ff3187.chunk.js +0 -1
- package/dist/scripts/66-f6d213b33c.chunk.js +0 -1
- package/dist/scripts/66.chunk.js +0 -442
- package/dist/scripts/66.chunk.js.map +0 -1
- package/dist/scripts/67-1ebaab7a2d.chunk.js +0 -1
- package/dist/scripts/67-3c9628d296.chunk.js +0 -1
- package/dist/scripts/67-97c694c3d5.chunk.js +0 -1
- package/dist/scripts/67-c5af18680c.chunk.js +0 -1
- package/dist/scripts/67.chunk.js +0 -295
- package/dist/scripts/67.chunk.js.map +0 -1
- package/dist/scripts/68-38a6d7fb50.chunk.js +0 -1
- package/dist/scripts/68-488cd1552f.chunk.js +0 -1
- package/dist/scripts/68-eb8700aeb1.chunk.js +0 -1
- package/dist/scripts/68.chunk.js +0 -165
- package/dist/scripts/68.chunk.js.map +0 -1
- package/dist/scripts/69-870856c6fb.chunk.js +0 -1
- package/dist/scripts/69-b0ea71d7c5.chunk.js +0 -1
- package/dist/scripts/69-be2be90b7c.chunk.js +0 -1
- package/dist/scripts/69.chunk.js +0 -248
- package/dist/scripts/69.chunk.js.map +0 -1
- package/dist/scripts/7-aac8c84ccb.chunk.js +0 -1
- package/dist/scripts/7-d41d3bf60c.chunk.js +0 -1
- package/dist/scripts/7-dfddb8ffa8.chunk.js +0 -1
- package/dist/scripts/7.chunk.js +0 -309
- package/dist/scripts/7.chunk.js.map +0 -1
- package/dist/scripts/70-39dc936989.chunk.js +0 -1
- package/dist/scripts/70-6ef72cd9b6.chunk.js +0 -1
- package/dist/scripts/70-e6ebb44667.chunk.js +0 -1
- package/dist/scripts/70.chunk.js +0 -207
- package/dist/scripts/70.chunk.js.map +0 -1
- package/dist/scripts/71-4e4a47d601.chunk.js +0 -1
- package/dist/scripts/71-8e3682a7d7.chunk.js +0 -1
- package/dist/scripts/71-a80858069c.chunk.js +0 -1
- package/dist/scripts/71.chunk.js +0 -237
- package/dist/scripts/71.chunk.js.map +0 -1
- package/dist/scripts/72-245f28bf97.chunk.js +0 -1
- package/dist/scripts/72-550438db4e.chunk.js +0 -1
- package/dist/scripts/72-65364adff1.chunk.js +0 -1
- package/dist/scripts/72.chunk.js +0 -331
- package/dist/scripts/72.chunk.js.map +0 -1
- package/dist/scripts/73.chunk.js +0 -404
- package/dist/scripts/73.chunk.js.map +0 -1
- package/dist/scripts/74.chunk.js +0 -301
- package/dist/scripts/74.chunk.js.map +0 -1
- package/dist/scripts/75.chunk.js +0 -231
- package/dist/scripts/75.chunk.js.map +0 -1
- package/dist/scripts/76.chunk.js +0 -157
- package/dist/scripts/76.chunk.js.map +0 -1
- package/dist/scripts/77.chunk.js +0 -307
- package/dist/scripts/77.chunk.js.map +0 -1
- package/dist/scripts/78.chunk.js +0 -249
- package/dist/scripts/78.chunk.js.map +0 -1
- package/dist/scripts/79.chunk.js +0 -282
- package/dist/scripts/79.chunk.js.map +0 -1
- package/dist/scripts/8-c4955c2009.chunk.js +0 -1
- package/dist/scripts/8-d46f48d03c.chunk.js +0 -1
- package/dist/scripts/8-e5d19252c8.chunk.js +0 -1
- package/dist/scripts/8.chunk.js +0 -307
- package/dist/scripts/8.chunk.js.map +0 -1
- package/dist/scripts/80.chunk.js +0 -308
- package/dist/scripts/80.chunk.js.map +0 -1
- package/dist/scripts/81.chunk.js +0 -366
- package/dist/scripts/81.chunk.js.map +0 -1
- package/dist/scripts/82.chunk.js +0 -314
- package/dist/scripts/82.chunk.js.map +0 -1
- package/dist/scripts/83.chunk.js +0 -328
- package/dist/scripts/83.chunk.js.map +0 -1
- package/dist/scripts/84.chunk.js +0 -313
- package/dist/scripts/84.chunk.js.map +0 -1
- package/dist/scripts/85.chunk.js +0 -291
- package/dist/scripts/85.chunk.js.map +0 -1
- package/dist/scripts/86.chunk.js +0 -119
- package/dist/scripts/86.chunk.js.map +0 -1
- package/dist/scripts/87.chunk.js +0 -219
- package/dist/scripts/87.chunk.js.map +0 -1
- package/dist/scripts/88.chunk.js +0 -194
- package/dist/scripts/88.chunk.js.map +0 -1
- package/dist/scripts/89.chunk.js +0 -522
- package/dist/scripts/89.chunk.js.map +0 -1
- package/dist/scripts/9-4589726554.chunk.js +0 -1
- package/dist/scripts/9-576592d419.chunk.js +0 -1
- package/dist/scripts/9-66021549bd.chunk.js +0 -1
- package/dist/scripts/9-df99ba6ce1.chunk.js +0 -1
- package/dist/scripts/9.chunk.js +0 -222
- package/dist/scripts/9.chunk.js.map +0 -1
- package/dist/scripts/90.chunk.js +0 -337
- package/dist/scripts/90.chunk.js.map +0 -1
- package/dist/scripts/91.chunk.js +0 -131
- package/dist/scripts/91.chunk.js.map +0 -1
- package/dist/scripts/92.chunk.js +0 -266
- package/dist/scripts/92.chunk.js.map +0 -1
- package/dist/scripts/bundle-1b984e2fd9.min.js +0 -8
- package/dist/scripts/bundle-203920eb14.min.js +0 -8
- package/dist/scripts/bundle-7d13ba933b.min.js +0 -8
- package/dist/scripts/bundle-d5b23160b1.min.js +0 -8
- package/dist/scripts/bundle.js +0 -67100
- package/dist/scripts/bundle.js.map +0 -1
- package/dist/scripts/polyfills-5a81b67408.min.js +0 -1
- package/dist/scripts/polyfills-9b0be1bd72.min.js +0 -1
- package/dist/scripts/polyfills-cd3d0a9f6d.min.js +0 -1
- package/dist/scripts/polyfills-d891a77823.min.js +0 -1
- package/dist/scripts/polyfills.js +0 -14866
- package/dist/scripts/polyfills.js.map +0 -1
package/dist/scripts/41.chunk.js
DELETED
|
@@ -1,1782 +0,0 @@
|
|
|
1
|
-
(window["webpackJsonp_clickview_library_editor"] = window["webpackJsonp_clickview_library_editor"] || []).push([[41],{
|
|
2
|
-
|
|
3
|
-
/***/ "./src/apps/migration-wizard/components/errored-video-actions/ErroredVideoActions.hbs":
|
|
4
|
-
/*!********************************************************************************************!*\
|
|
5
|
-
!*** ./src/apps/migration-wizard/components/errored-video-actions/ErroredVideoActions.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({"1":function(container,depth0,helpers,partials,data) {
|
|
12
|
-
var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression;
|
|
13
|
-
|
|
14
|
-
return " <button class=\"btn btn-success use-online-copy "
|
|
15
|
-
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.selectedButton : stack1), depth0))
|
|
16
|
-
+ "\"><span class=\""
|
|
17
|
-
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.svgContainer : stack1), depth0))
|
|
18
|
-
+ "\">"
|
|
19
|
-
+ ((stack1 = alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.checkSvg : stack1), depth0)) != null ? stack1 : "")
|
|
20
|
-
+ "</span>"
|
|
21
|
-
+ alias3((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"resolve",{"name":"lang","hash":{},"data":data}))
|
|
22
|
-
+ "</button>\r\n";
|
|
23
|
-
},"3":function(container,depth0,helpers,partials,data) {
|
|
24
|
-
var alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {}), alias3=container.hooks.helperMissing, alias4=container.escapeExpression;
|
|
25
|
-
|
|
26
|
-
return " <button class=\"btn btn-link dismiss\">"
|
|
27
|
-
+ alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"dismiss",{"name":"lang","hash":{},"data":data}))
|
|
28
|
-
+ "</button>\r\n <button class=\"btn btn-outline-secondary use-online-copy\">"
|
|
29
|
-
+ alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"resolve",{"name":"lang","hash":{},"data":data}))
|
|
30
|
-
+ "</button>\r\n";
|
|
31
|
-
},"5":function(container,depth0,helpers,partials,data) {
|
|
32
|
-
var alias1=container.propertyIsEnumerable;
|
|
33
|
-
|
|
34
|
-
return container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"hide",{"name":"lang","hash":{},"data":data}));
|
|
35
|
-
},"7":function(container,depth0,helpers,partials,data) {
|
|
36
|
-
var alias1=container.propertyIsEnumerable;
|
|
37
|
-
|
|
38
|
-
return container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"show",{"name":"lang","hash":{},"data":data}));
|
|
39
|
-
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
40
|
-
var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {}), alias3=container.lambda, alias4=container.escapeExpression;
|
|
41
|
-
|
|
42
|
-
return "<div>\r\n"
|
|
43
|
-
+ ((stack1 = helpers["if"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.selected : stack1),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(3, data, 0),"data":data})) != null ? stack1 : "")
|
|
44
|
-
+ "</div>\r\n<div class=\"mt-4 cursor-pointer video-item-show-preview text-right "
|
|
45
|
-
+ alias4(alias3(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.showPreview : stack1), depth0))
|
|
46
|
-
+ "\">\r\n <span class=\"svg-container d-inline-block\">"
|
|
47
|
-
+ ((stack1 = alias3(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.previewSvg : stack1), depth0)) != null ? stack1 : "")
|
|
48
|
-
+ "</span>\r\n "
|
|
49
|
-
+ ((stack1 = helpers["if"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.previewDisplayed : stack1),{"name":"if","hash":{},"fn":container.program(5, data, 0),"inverse":container.program(7, data, 0),"data":data})) != null ? stack1 : "")
|
|
50
|
-
+ " "
|
|
51
|
-
+ alias4((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(alias2,"preview",{"name":"lang","hash":{},"data":data}))
|
|
52
|
-
+ "\r\n</div>";
|
|
53
|
-
},"useData":true});
|
|
54
|
-
|
|
55
|
-
/***/ }),
|
|
56
|
-
|
|
57
|
-
/***/ "./src/apps/migration-wizard/components/errored-video-actions/ErroredVideoActionsComponent.ts":
|
|
58
|
-
/*!****************************************************************************************************!*\
|
|
59
|
-
!*** ./src/apps/migration-wizard/components/errored-video-actions/ErroredVideoActionsComponent.ts ***!
|
|
60
|
-
\****************************************************************************************************/
|
|
61
|
-
/*! exports provided: ErroredVideoActionsComponent */
|
|
62
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
63
|
-
|
|
64
|
-
"use strict";
|
|
65
|
-
__webpack_require__.r(__webpack_exports__);
|
|
66
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ErroredVideoActionsComponent", function() { return ErroredVideoActionsComponent; });
|
|
67
|
-
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
68
|
-
/* harmony import */ var _libs_common_src_backbone_services_ViewModelService__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/services/ViewModelService */ "../../libs/common/src/backbone/services/ViewModelService.ts");
|
|
69
|
-
/* harmony import */ var _libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../../../libs/shared/src/utils/SvgHelper */ "../../libs/shared/src/utils/SvgHelper.ts");
|
|
70
|
-
/* harmony import */ var _contants_MigrationErrorActions__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../contants/MigrationErrorActions */ "./src/apps/migration-wizard/contants/MigrationErrorActions.ts");
|
|
71
|
-
/* harmony import */ var _contants_MigrationViewModels__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../contants/MigrationViewModels */ "./src/apps/migration-wizard/contants/MigrationViewModels.ts");
|
|
72
|
-
/* harmony import */ var _errored_video_actions_scss__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./errored-video-actions.scss */ "./src/apps/migration-wizard/components/errored-video-actions/errored-video-actions.scss");
|
|
73
|
-
/* harmony import */ var _errored_video_actions_scss__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_errored_video_actions_scss__WEBPACK_IMPORTED_MODULE_5__);
|
|
74
|
-
/* harmony import */ var _ErroredVideoActions_hbs__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./ErroredVideoActions.hbs */ "./src/apps/migration-wizard/components/errored-video-actions/ErroredVideoActions.hbs");
|
|
75
|
-
/* harmony import */ var _ErroredVideoActions_hbs__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_ErroredVideoActions_hbs__WEBPACK_IMPORTED_MODULE_6__);
|
|
76
|
-
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); }
|
|
77
|
-
|
|
78
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
79
|
-
|
|
80
|
-
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); } }
|
|
81
|
-
|
|
82
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
83
|
-
|
|
84
|
-
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); }
|
|
85
|
-
|
|
86
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
87
|
-
|
|
88
|
-
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); }; }
|
|
89
|
-
|
|
90
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
91
|
-
|
|
92
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
93
|
-
|
|
94
|
-
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; } }
|
|
95
|
-
|
|
96
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
var ErroredVideoActionsComponent = /*#__PURE__*/function (_Core$Component) {
|
|
106
|
-
_inherits(ErroredVideoActionsComponent, _Core$Component);
|
|
107
|
-
|
|
108
|
-
var _super = _createSuper(ErroredVideoActionsComponent);
|
|
109
|
-
|
|
110
|
-
function ErroredVideoActionsComponent(options) {
|
|
111
|
-
_classCallCheck(this, ErroredVideoActionsComponent);
|
|
112
|
-
|
|
113
|
-
return _super.call(this, options);
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
_createClass(ErroredVideoActionsComponent, [{
|
|
117
|
-
key: "initialize",
|
|
118
|
-
value: function initialize() {
|
|
119
|
-
this.viewModel = _libs_common_src_backbone_services_ViewModelService__WEBPACK_IMPORTED_MODULE_1__["ViewModelService"].get(_contants_MigrationViewModels__WEBPACK_IMPORTED_MODULE_4__["MigrationViewModels"].SELECTED_VIDEOS);
|
|
120
|
-
this.previewViewModel = _libs_common_src_backbone_services_ViewModelService__WEBPACK_IMPORTED_MODULE_1__["ViewModelService"].get(_contants_MigrationViewModels__WEBPACK_IMPORTED_MODULE_4__["MigrationViewModels"].OPEN_PREVIEWS);
|
|
121
|
-
this.listenTo(this.viewModel, "change:".concat(this.model.get('id')), this.render);
|
|
122
|
-
}
|
|
123
|
-
}, {
|
|
124
|
-
key: "events",
|
|
125
|
-
value: function events() {
|
|
126
|
-
return {
|
|
127
|
-
'click .use-online-copy': 'onClickSelect',
|
|
128
|
-
'click .dismiss': 'onClickDismiss'
|
|
129
|
-
};
|
|
130
|
-
}
|
|
131
|
-
}, {
|
|
132
|
-
key: "isSelected",
|
|
133
|
-
value: function isSelected() {
|
|
134
|
-
return this.viewModel.get(this.model.get('id')) === _contants_MigrationErrorActions__WEBPACK_IMPORTED_MODULE_3__["MigrationErrorActions"].USE_ONLINE_COPY;
|
|
135
|
-
}
|
|
136
|
-
}, {
|
|
137
|
-
key: "onClickSelect",
|
|
138
|
-
value: function onClickSelect(e) {
|
|
139
|
-
e.stopPropagation();
|
|
140
|
-
if (this.previewViewModel.get(this.model.get('id'))) this.previewViewModel.clear();
|
|
141
|
-
|
|
142
|
-
if (this.isSelected()) {
|
|
143
|
-
this.viewModel.unset(this.model.get('id'));
|
|
144
|
-
return;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
this.viewModel.set(this.model.get('id'), _contants_MigrationErrorActions__WEBPACK_IMPORTED_MODULE_3__["MigrationErrorActions"].USE_ONLINE_COPY);
|
|
148
|
-
}
|
|
149
|
-
}, {
|
|
150
|
-
key: "onClickDismiss",
|
|
151
|
-
value: function onClickDismiss(e) {
|
|
152
|
-
e.stopPropagation();
|
|
153
|
-
if (this.previewViewModel.get(this.model.get('id'))) this.previewViewModel.clear();
|
|
154
|
-
this.viewModel.set(this.model.get('id'), _contants_MigrationErrorActions__WEBPACK_IMPORTED_MODULE_3__["MigrationErrorActions"].DO_NOT_ADD);
|
|
155
|
-
}
|
|
156
|
-
}, {
|
|
157
|
-
key: "viewOptions",
|
|
158
|
-
value: function viewOptions() {
|
|
159
|
-
return {
|
|
160
|
-
styles: _errored_video_actions_scss__WEBPACK_IMPORTED_MODULE_5__,
|
|
161
|
-
selected: this.isSelected(),
|
|
162
|
-
checkSvg: _libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_2__["SvgHelper"].getSvg(_libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_2__["cvSvgLibrary"].Check),
|
|
163
|
-
previewSvg: _libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_2__["SvgHelper"].getSvg(_libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_2__["cvSvgLibrary"].Preview)
|
|
164
|
-
};
|
|
165
|
-
}
|
|
166
|
-
}, {
|
|
167
|
-
key: "name",
|
|
168
|
-
get: function get() {
|
|
169
|
-
return 'ErroredVideoActionsComponent';
|
|
170
|
-
}
|
|
171
|
-
}, {
|
|
172
|
-
key: "template",
|
|
173
|
-
get: function get() {
|
|
174
|
-
return _ErroredVideoActions_hbs__WEBPACK_IMPORTED_MODULE_6__;
|
|
175
|
-
}
|
|
176
|
-
}, {
|
|
177
|
-
key: "lang",
|
|
178
|
-
get: function get() {
|
|
179
|
-
return 'migrationWizard.erroredVideoActions';
|
|
180
|
-
}
|
|
181
|
-
}, {
|
|
182
|
-
key: "className",
|
|
183
|
-
get: function get() {
|
|
184
|
-
return 'text-right';
|
|
185
|
-
}
|
|
186
|
-
}]);
|
|
187
|
-
|
|
188
|
-
return ErroredVideoActionsComponent;
|
|
189
|
-
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].Component);
|
|
190
|
-
|
|
191
|
-
/***/ }),
|
|
192
|
-
|
|
193
|
-
/***/ "./src/apps/migration-wizard/components/errored-video-actions/errored-video-actions.scss":
|
|
194
|
-
/*!***********************************************************************************************!*\
|
|
195
|
-
!*** ./src/apps/migration-wizard/components/errored-video-actions/errored-video-actions.scss ***!
|
|
196
|
-
\***********************************************************************************************/
|
|
197
|
-
/*! no static exports found */
|
|
198
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
199
|
-
|
|
200
|
-
// extracted by mini-css-extract-plugin
|
|
201
|
-
module.exports = {"svgContainer":"cv--svgContainer---0ibU","selectedButton":"cv--selectedButton--28zhr","showPreview":"cv--showPreview--2r4VF"};
|
|
202
|
-
|
|
203
|
-
/***/ }),
|
|
204
|
-
|
|
205
|
-
/***/ "./src/apps/migration-wizard/components/errored-video-footer/ErroredVideoFooter.hbs":
|
|
206
|
-
/*!******************************************************************************************!*\
|
|
207
|
-
!*** ./src/apps/migration-wizard/components/errored-video-footer/ErroredVideoFooter.hbs ***!
|
|
208
|
-
\******************************************************************************************/
|
|
209
|
-
/*! no static exports found */
|
|
210
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
211
|
-
|
|
212
|
-
var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
|
|
213
|
-
module.exports = (Handlebars['default'] || Handlebars).template({"1":function(container,depth0,helpers,partials,data) {
|
|
214
|
-
var stack1, alias1=container.propertyIsEnumerable;
|
|
215
|
-
|
|
216
|
-
return "<span class=\"border-right d-inline-block align-middle pr-3\">"
|
|
217
|
-
+ container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"videosAdded",{"name":"lang","hash":{"smartCount":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.count : stack1)},"data":data}))
|
|
218
|
-
+ "</span>\r\n";
|
|
219
|
-
},"3":function(container,depth0,helpers,partials,data) {
|
|
220
|
-
return "disabled";
|
|
221
|
-
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
222
|
-
var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {}), alias3=container.hooks.helperMissing, alias4=container.escapeExpression;
|
|
223
|
-
|
|
224
|
-
return ((stack1 = helpers["if"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.countPhrase : stack1),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
225
|
-
+ "<span class=\"d-inline-block align-middle\"><button class=\"btn btn-link clear-all\""
|
|
226
|
-
+ ((stack1 = helpers["if"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.submitDisabled : stack1),{"name":"if","hash":{},"fn":container.program(3, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
227
|
-
+ ">"
|
|
228
|
-
+ alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"reset",{"name":"lang","hash":{},"data":data}))
|
|
229
|
-
+ "</button></span>\r\n<button class=\"btn btn-primary align-middle ml-2 submit\" "
|
|
230
|
-
+ ((stack1 = helpers["if"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.submitDisabled : stack1),{"name":"if","hash":{},"fn":container.program(3, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
231
|
-
+ ">"
|
|
232
|
-
+ alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"submit",{"name":"lang","hash":{},"data":data}))
|
|
233
|
-
+ "</button>";
|
|
234
|
-
},"useData":true});
|
|
235
|
-
|
|
236
|
-
/***/ }),
|
|
237
|
-
|
|
238
|
-
/***/ "./src/apps/migration-wizard/components/errored-video-footer/ErroredVideoFooterComponent.ts":
|
|
239
|
-
/*!**************************************************************************************************!*\
|
|
240
|
-
!*** ./src/apps/migration-wizard/components/errored-video-footer/ErroredVideoFooterComponent.ts ***!
|
|
241
|
-
\**************************************************************************************************/
|
|
242
|
-
/*! exports provided: ErroredVideoFooterComponent */
|
|
243
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
244
|
-
|
|
245
|
-
"use strict";
|
|
246
|
-
__webpack_require__.r(__webpack_exports__);
|
|
247
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ErroredVideoFooterComponent", function() { return ErroredVideoFooterComponent; });
|
|
248
|
-
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
249
|
-
/* harmony import */ var _libs_common_src_backbone_services_ViewModelService__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/services/ViewModelService */ "../../libs/common/src/backbone/services/ViewModelService.ts");
|
|
250
|
-
/* harmony import */ var _ErroredVideoFooter_hbs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./ErroredVideoFooter.hbs */ "./src/apps/migration-wizard/components/errored-video-footer/ErroredVideoFooter.hbs");
|
|
251
|
-
/* harmony import */ var _ErroredVideoFooter_hbs__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_ErroredVideoFooter_hbs__WEBPACK_IMPORTED_MODULE_2__);
|
|
252
|
-
/* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! backbone */ "backbone");
|
|
253
|
-
/* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(backbone__WEBPACK_IMPORTED_MODULE_3__);
|
|
254
|
-
/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! underscore */ "underscore");
|
|
255
|
-
/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(underscore__WEBPACK_IMPORTED_MODULE_4__);
|
|
256
|
-
/* harmony import */ var _contants_MigrationErrorActions__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../contants/MigrationErrorActions */ "./src/apps/migration-wizard/contants/MigrationErrorActions.ts");
|
|
257
|
-
/* harmony import */ var _contants_MigrationViewModels__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../contants/MigrationViewModels */ "./src/apps/migration-wizard/contants/MigrationViewModels.ts");
|
|
258
|
-
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); }
|
|
259
|
-
|
|
260
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
261
|
-
|
|
262
|
-
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); } }
|
|
263
|
-
|
|
264
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
265
|
-
|
|
266
|
-
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); }
|
|
267
|
-
|
|
268
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
269
|
-
|
|
270
|
-
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); }; }
|
|
271
|
-
|
|
272
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
273
|
-
|
|
274
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
275
|
-
|
|
276
|
-
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; } }
|
|
277
|
-
|
|
278
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
var ErroredVideoFooterComponent = /*#__PURE__*/function (_Core$Component) {
|
|
288
|
-
_inherits(ErroredVideoFooterComponent, _Core$Component);
|
|
289
|
-
|
|
290
|
-
var _super = _createSuper(ErroredVideoFooterComponent);
|
|
291
|
-
|
|
292
|
-
function ErroredVideoFooterComponent(options) {
|
|
293
|
-
_classCallCheck(this, ErroredVideoFooterComponent);
|
|
294
|
-
|
|
295
|
-
return _super.call(this, options);
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
_createClass(ErroredVideoFooterComponent, [{
|
|
299
|
-
key: "initialize",
|
|
300
|
-
value: function initialize() {
|
|
301
|
-
this.viewModel = _libs_common_src_backbone_services_ViewModelService__WEBPACK_IMPORTED_MODULE_1__["ViewModelService"].get(_contants_MigrationViewModels__WEBPACK_IMPORTED_MODULE_6__["MigrationViewModels"].SELECTED_VIDEOS);
|
|
302
|
-
this.listenTo(this.viewModel, 'change', this.render);
|
|
303
|
-
}
|
|
304
|
-
}, {
|
|
305
|
-
key: "events",
|
|
306
|
-
value: function events() {
|
|
307
|
-
return {
|
|
308
|
-
'click .clear-all': 'onClickClearAll',
|
|
309
|
-
'click .submit': 'onClickSubmit'
|
|
310
|
-
};
|
|
311
|
-
}
|
|
312
|
-
}, {
|
|
313
|
-
key: "onClickClearAll",
|
|
314
|
-
value: function onClickClearAll() {
|
|
315
|
-
this.viewModel.clear();
|
|
316
|
-
}
|
|
317
|
-
}, {
|
|
318
|
-
key: "onClickSubmit",
|
|
319
|
-
value: function onClickSubmit() {
|
|
320
|
-
backbone__WEBPACK_IMPORTED_MODULE_3__["Radio"].channel(this.options.channelName).trigger(this.options.submitEvent);
|
|
321
|
-
}
|
|
322
|
-
}, {
|
|
323
|
-
key: "canSubmit",
|
|
324
|
-
value: function canSubmit() {
|
|
325
|
-
return this.viewModel.keys().length > 0;
|
|
326
|
-
}
|
|
327
|
-
}, {
|
|
328
|
-
key: "countWillBeAdded",
|
|
329
|
-
value: function countWillBeAdded() {
|
|
330
|
-
var _this = this;
|
|
331
|
-
|
|
332
|
-
return underscore__WEBPACK_IMPORTED_MODULE_4__["filter"](this.viewModel.keys(), function (key) {
|
|
333
|
-
return _this.viewModel.get(key) === _contants_MigrationErrorActions__WEBPACK_IMPORTED_MODULE_5__["MigrationErrorActions"].USE_ONLINE_COPY;
|
|
334
|
-
}).length;
|
|
335
|
-
}
|
|
336
|
-
}, {
|
|
337
|
-
key: "viewOptions",
|
|
338
|
-
value: function viewOptions() {
|
|
339
|
-
return {
|
|
340
|
-
count: this.countWillBeAdded(),
|
|
341
|
-
submitDisabled: !this.canSubmit()
|
|
342
|
-
};
|
|
343
|
-
}
|
|
344
|
-
}, {
|
|
345
|
-
key: "name",
|
|
346
|
-
get: function get() {
|
|
347
|
-
return 'ErroredVideoFooterComponent';
|
|
348
|
-
}
|
|
349
|
-
}, {
|
|
350
|
-
key: "template",
|
|
351
|
-
get: function get() {
|
|
352
|
-
return _ErroredVideoFooter_hbs__WEBPACK_IMPORTED_MODULE_2__;
|
|
353
|
-
}
|
|
354
|
-
}, {
|
|
355
|
-
key: "lang",
|
|
356
|
-
get: function get() {
|
|
357
|
-
return 'migrationWizard.erroredVideoFooter';
|
|
358
|
-
}
|
|
359
|
-
}, {
|
|
360
|
-
key: "className",
|
|
361
|
-
get: function get() {
|
|
362
|
-
return 'border-top px-3 py-2 text-right';
|
|
363
|
-
}
|
|
364
|
-
}]);
|
|
365
|
-
|
|
366
|
-
return ErroredVideoFooterComponent;
|
|
367
|
-
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].Component);
|
|
368
|
-
|
|
369
|
-
/***/ }),
|
|
370
|
-
|
|
371
|
-
/***/ "./src/apps/migration-wizard/components/errored-video-item/ErroredVideoItem.hbs":
|
|
372
|
-
/*!**************************************************************************************!*\
|
|
373
|
-
!*** ./src/apps/migration-wizard/components/errored-video-item/ErroredVideoItem.hbs ***!
|
|
374
|
-
\**************************************************************************************/
|
|
375
|
-
/*! no static exports found */
|
|
376
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
377
|
-
|
|
378
|
-
var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
|
|
379
|
-
module.exports = (Handlebars['default'] || Handlebars).template({"1":function(container,depth0,helpers,partials,data) {
|
|
380
|
-
return " cursor-pointer";
|
|
381
|
-
},"3":function(container,depth0,helpers,partials,data) {
|
|
382
|
-
var stack1, alias1=container.propertyIsEnumerable, alias2=container.escapeExpression, alias3=depth0 != null ? depth0 : (container.nullContext || {}), alias4=container.hooks.helperMissing;
|
|
383
|
-
|
|
384
|
-
return "<div class=\""
|
|
385
|
-
+ alias2(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.doNotAdd : stack1), depth0))
|
|
386
|
-
+ " text-center\">\r\n <p class=\"mb-0 mt-3\">"
|
|
387
|
-
+ ((stack1 = (helpers.lang||(depth0 && depth0.lang)||alias4).call(alias3,"willNotBeAdded",{"name":"lang","hash":{"videoName":(depth0 != null ? depth0.name : depth0)},"data":data})) != null ? stack1 : "")
|
|
388
|
-
+ "</p>\r\n <p class=\"m-0\">"
|
|
389
|
-
+ alias2((helpers.lang||(depth0 && depth0.lang)||alias4).call(alias3,"willBeRemoved",{"name":"lang","hash":{},"data":data}))
|
|
390
|
-
+ "</p>\r\n <button class=\"btn btn-link undo\">"
|
|
391
|
-
+ alias2((helpers.lang||(depth0 && depth0.lang)||alias4).call(alias3,"undo",{"name":"lang","hash":{},"data":data}))
|
|
392
|
-
+ "</button>\r\n</div>\r\n";
|
|
393
|
-
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
394
|
-
var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression, alias4=depth0 != null ? depth0 : (container.nullContext || {});
|
|
395
|
-
|
|
396
|
-
return "<div class=\"d-flex justify-content-between align-items-stretch p-3 drag-item "
|
|
397
|
-
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.videoItem : stack1), depth0))
|
|
398
|
-
+ ((stack1 = helpers["if"].call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.isClickable : stack1),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
399
|
-
+ "\">\r\n <div class=\"thumbnail-region d-inline-block "
|
|
400
|
-
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.thumbnailContainer : stack1), depth0))
|
|
401
|
-
+ "\"></div>\r\n <div class=\"metadata-region d-inline-block px-3 "
|
|
402
|
-
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.metaContainer : stack1), depth0))
|
|
403
|
-
+ "\"></div>\r\n <div class=\"video-actions-region d-inline-block "
|
|
404
|
-
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.actionsContainer : stack1), depth0))
|
|
405
|
-
+ "\"></div>\r\n</div>\r\n<div class=\"video-info-region "
|
|
406
|
-
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.previewContainer : stack1), depth0))
|
|
407
|
-
+ "\"></div>\r\n"
|
|
408
|
-
+ ((stack1 = helpers["if"].call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.doNotAdd : stack1),{"name":"if","hash":{},"fn":container.program(3, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "");
|
|
409
|
-
},"useData":true});
|
|
410
|
-
|
|
411
|
-
/***/ }),
|
|
412
|
-
|
|
413
|
-
/***/ "./src/apps/migration-wizard/components/errored-video-item/ErroredVideoItemComponent.ts":
|
|
414
|
-
/*!**********************************************************************************************!*\
|
|
415
|
-
!*** ./src/apps/migration-wizard/components/errored-video-item/ErroredVideoItemComponent.ts ***!
|
|
416
|
-
\**********************************************************************************************/
|
|
417
|
-
/*! exports provided: ErroredVideoItemComponent */
|
|
418
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
419
|
-
|
|
420
|
-
"use strict";
|
|
421
|
-
__webpack_require__.r(__webpack_exports__);
|
|
422
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ErroredVideoItemComponent", function() { return ErroredVideoItemComponent; });
|
|
423
|
-
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
424
|
-
/* harmony import */ var _libs_common_src_backbone_services_ViewModelService__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/services/ViewModelService */ "../../libs/common/src/backbone/services/ViewModelService.ts");
|
|
425
|
-
/* harmony import */ var _libs_shared_src_legacy_components_thumbnail_ThumbnailComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../../../libs/shared/src/legacy/components/thumbnail/ThumbnailComponent */ "../../libs/shared/src/legacy/components/thumbnail/ThumbnailComponent.ts");
|
|
426
|
-
/* harmony import */ var _shared_components_video_item_utils_VideoItemComponentTypes__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../shared/components/video-item/utils/VideoItemComponentTypes */ "./src/shared/components/video-item/utils/VideoItemComponentTypes.ts");
|
|
427
|
-
/* harmony import */ var _shared_models_Video__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../shared/models/Video */ "./src/shared/models/Video.ts");
|
|
428
|
-
/* harmony import */ var _shared_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../shared/utils */ "./src/shared/utils/index.ts");
|
|
429
|
-
/* harmony import */ var _shared_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../shared/constants */ "./src/shared/constants/index.ts");
|
|
430
|
-
/* harmony import */ var _errored_video_preview_ErroredVideoPreviewComponent__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../errored-video-preview/ErroredVideoPreviewComponent */ "./src/apps/migration-wizard/components/errored-video-preview/ErroredVideoPreviewComponent.ts");
|
|
431
|
-
/* harmony import */ var _errored_video_metadata_ErroredVideoMetadataComponent__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../errored-video-metadata/ErroredVideoMetadataComponent */ "./src/apps/migration-wizard/components/errored-video-metadata/ErroredVideoMetadataComponent.ts");
|
|
432
|
-
/* harmony import */ var _errored_video_actions_ErroredVideoActionsComponent__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../errored-video-actions/ErroredVideoActionsComponent */ "./src/apps/migration-wizard/components/errored-video-actions/ErroredVideoActionsComponent.ts");
|
|
433
|
-
/* harmony import */ var _contants_MigrationErrorActions__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../contants/MigrationErrorActions */ "./src/apps/migration-wizard/contants/MigrationErrorActions.ts");
|
|
434
|
-
/* harmony import */ var _contants_MigrationViewModels__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../contants/MigrationViewModels */ "./src/apps/migration-wizard/contants/MigrationViewModels.ts");
|
|
435
|
-
/* harmony import */ var _ErroredVideoItem_hbs__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./ErroredVideoItem.hbs */ "./src/apps/migration-wizard/components/errored-video-item/ErroredVideoItem.hbs");
|
|
436
|
-
/* harmony import */ var _ErroredVideoItem_hbs__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_ErroredVideoItem_hbs__WEBPACK_IMPORTED_MODULE_12__);
|
|
437
|
-
/* harmony import */ var _errored_video_item_scss__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./errored-video-item.scss */ "./src/apps/migration-wizard/components/errored-video-item/errored-video-item.scss");
|
|
438
|
-
/* harmony import */ var _errored_video_item_scss__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_errored_video_item_scss__WEBPACK_IMPORTED_MODULE_13__);
|
|
439
|
-
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); }
|
|
440
|
-
|
|
441
|
-
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; }
|
|
442
|
-
|
|
443
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
444
|
-
|
|
445
|
-
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); } }
|
|
446
|
-
|
|
447
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
448
|
-
|
|
449
|
-
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); }
|
|
450
|
-
|
|
451
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
452
|
-
|
|
453
|
-
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); }; }
|
|
454
|
-
|
|
455
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
456
|
-
|
|
457
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
458
|
-
|
|
459
|
-
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; } }
|
|
460
|
-
|
|
461
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
var ErroredVideoItemComponent = /*#__PURE__*/function (_Core$Component) {
|
|
478
|
-
_inherits(ErroredVideoItemComponent, _Core$Component);
|
|
479
|
-
|
|
480
|
-
var _super = _createSuper(ErroredVideoItemComponent);
|
|
481
|
-
|
|
482
|
-
function ErroredVideoItemComponent(options) {
|
|
483
|
-
_classCallCheck(this, ErroredVideoItemComponent);
|
|
484
|
-
|
|
485
|
-
return _super.call(this, options);
|
|
486
|
-
}
|
|
487
|
-
|
|
488
|
-
_createClass(ErroredVideoItemComponent, [{
|
|
489
|
-
key: "initialize",
|
|
490
|
-
value: function initialize() {
|
|
491
|
-
this.viewModel = _libs_common_src_backbone_services_ViewModelService__WEBPACK_IMPORTED_MODULE_1__["ViewModelService"].get(_contants_MigrationViewModels__WEBPACK_IMPORTED_MODULE_11__["MigrationViewModels"].SELECTED_VIDEOS);
|
|
492
|
-
this.previewViewModel = _libs_common_src_backbone_services_ViewModelService__WEBPACK_IMPORTED_MODULE_1__["ViewModelService"].get(_contants_MigrationViewModels__WEBPACK_IMPORTED_MODULE_11__["MigrationViewModels"].OPEN_PREVIEWS);
|
|
493
|
-
this.listenTo(this.viewModel, "change:".concat(this.model.get('id')), this.render);
|
|
494
|
-
this.listenTo(this.previewViewModel, "change:".concat(this.model.get('id')), this.render);
|
|
495
|
-
this.listenTo(this.channelName, 'thumbnail:load', this.onThumbnailLoad);
|
|
496
|
-
}
|
|
497
|
-
}, {
|
|
498
|
-
key: "regions",
|
|
499
|
-
value: function regions() {
|
|
500
|
-
var _ref;
|
|
501
|
-
|
|
502
|
-
return _ref = {}, _defineProperty(_ref, _shared_components_video_item_utils_VideoItemComponentTypes__WEBPACK_IMPORTED_MODULE_3__["VideoItemComponentRegion"].Thumbnail, '.thumbnail-region'), _defineProperty(_ref, _shared_components_video_item_utils_VideoItemComponentTypes__WEBPACK_IMPORTED_MODULE_3__["VideoItemComponentRegion"].Metadata, '.metadata-region'), _defineProperty(_ref, _shared_components_video_item_utils_VideoItemComponentTypes__WEBPACK_IMPORTED_MODULE_3__["VideoItemComponentRegion"].VideoActions, '.video-actions-region'), _defineProperty(_ref, _shared_components_video_item_utils_VideoItemComponentTypes__WEBPACK_IMPORTED_MODULE_3__["VideoItemComponentRegion"].VideoInfo, '.video-info-region'), _ref;
|
|
503
|
-
}
|
|
504
|
-
}, {
|
|
505
|
-
key: "events",
|
|
506
|
-
value: function events() {
|
|
507
|
-
return {
|
|
508
|
-
'click .drag-item': 'onClick',
|
|
509
|
-
'click .undo': 'onClickUndo'
|
|
510
|
-
};
|
|
511
|
-
}
|
|
512
|
-
}, {
|
|
513
|
-
key: "onThumbnailLoad",
|
|
514
|
-
value: function onThumbnailLoad() {
|
|
515
|
-
this.thumbnailLoaded = true;
|
|
516
|
-
}
|
|
517
|
-
}, {
|
|
518
|
-
key: "onClick",
|
|
519
|
-
value: function onClick() {
|
|
520
|
-
if (this.previewViewModel.get(this.model.get('id'))) {
|
|
521
|
-
this.previewViewModel.unset(this.model.get('id'));
|
|
522
|
-
return;
|
|
523
|
-
}
|
|
524
|
-
|
|
525
|
-
this.previewViewModel.clear();
|
|
526
|
-
this.previewViewModel.set(this.model.get('id'), true);
|
|
527
|
-
}
|
|
528
|
-
}, {
|
|
529
|
-
key: "onClickUndo",
|
|
530
|
-
value: function onClickUndo() {
|
|
531
|
-
this.viewModel.unset(this.model.get('id'));
|
|
532
|
-
}
|
|
533
|
-
}, {
|
|
534
|
-
key: "shouldLazyLoadThumbnail",
|
|
535
|
-
value: function shouldLazyLoadThumbnail() {
|
|
536
|
-
if (!_shared_utils__WEBPACK_IMPORTED_MODULE_5__["LazyLoadHelper"].isLazyLoadSupported(_shared_constants__WEBPACK_IMPORTED_MODULE_6__["LazyLoadMinBrowserSupportVersion"])) return false;
|
|
537
|
-
return !this.thumbnailLoaded;
|
|
538
|
-
}
|
|
539
|
-
}, {
|
|
540
|
-
key: "renderThumbnail",
|
|
541
|
-
value: function renderThumbnail() {
|
|
542
|
-
var thumbnailComponent = new _libs_shared_src_legacy_components_thumbnail_ThumbnailComponent__WEBPACK_IMPORTED_MODULE_2__["ThumbnailComponent"]({
|
|
543
|
-
model: new _shared_models_Video__WEBPACK_IMPORTED_MODULE_4__["Video"]({
|
|
544
|
-
duration: this.model.get('duration') * 1000,
|
|
545
|
-
thumbnail: {
|
|
546
|
-
url: "".concat(this.options.imageCdnUrl, "v1/thumbnails/trackingcode/").concat(this.model.get('trackingCode'))
|
|
547
|
-
}
|
|
548
|
-
}),
|
|
549
|
-
lazyload: this.shouldLazyLoadThumbnail(),
|
|
550
|
-
channelName: this.channelName
|
|
551
|
-
});
|
|
552
|
-
this.showChildView(_shared_components_video_item_utils_VideoItemComponentTypes__WEBPACK_IMPORTED_MODULE_3__["VideoItemComponentRegion"].Thumbnail, thumbnailComponent);
|
|
553
|
-
}
|
|
554
|
-
}, {
|
|
555
|
-
key: "renderMetadata",
|
|
556
|
-
value: function renderMetadata() {
|
|
557
|
-
var metadataComponent = new _errored_video_metadata_ErroredVideoMetadataComponent__WEBPACK_IMPORTED_MODULE_8__["ErroredVideoMetadataComponent"]({
|
|
558
|
-
model: this.model
|
|
559
|
-
});
|
|
560
|
-
this.showChildView(_shared_components_video_item_utils_VideoItemComponentTypes__WEBPACK_IMPORTED_MODULE_3__["VideoItemComponentRegion"].Metadata, metadataComponent);
|
|
561
|
-
}
|
|
562
|
-
}, {
|
|
563
|
-
key: "renderActions",
|
|
564
|
-
value: function renderActions() {
|
|
565
|
-
var videoActionsComponent = new _errored_video_actions_ErroredVideoActionsComponent__WEBPACK_IMPORTED_MODULE_9__["ErroredVideoActionsComponent"]({
|
|
566
|
-
model: this.model
|
|
567
|
-
});
|
|
568
|
-
this.showChildView(_shared_components_video_item_utils_VideoItemComponentTypes__WEBPACK_IMPORTED_MODULE_3__["VideoItemComponentRegion"].VideoActions, videoActionsComponent);
|
|
569
|
-
}
|
|
570
|
-
}, {
|
|
571
|
-
key: "renderPreview",
|
|
572
|
-
value: function renderPreview() {
|
|
573
|
-
if (!this.previewViewModel.get(this.model.get('id'))) return;
|
|
574
|
-
var previewComponent = new _errored_video_preview_ErroredVideoPreviewComponent__WEBPACK_IMPORTED_MODULE_7__["ErroredVideoPreviewComponent"]({
|
|
575
|
-
model: this.model,
|
|
576
|
-
webplayerUrl: this.options.webplayerUrl,
|
|
577
|
-
imageCdnUrl: this.options.imageCdnUrl
|
|
578
|
-
});
|
|
579
|
-
this.showChildView(_shared_components_video_item_utils_VideoItemComponentTypes__WEBPACK_IMPORTED_MODULE_3__["VideoItemComponentRegion"].VideoInfo, previewComponent);
|
|
580
|
-
}
|
|
581
|
-
}, {
|
|
582
|
-
key: "viewOptions",
|
|
583
|
-
value: function viewOptions() {
|
|
584
|
-
return {
|
|
585
|
-
styles: _errored_video_item_scss__WEBPACK_IMPORTED_MODULE_13__,
|
|
586
|
-
doNotAdd: this.viewModel.get(this.model.get('id')) === _contants_MigrationErrorActions__WEBPACK_IMPORTED_MODULE_10__["MigrationErrorActions"].DO_NOT_ADD
|
|
587
|
-
};
|
|
588
|
-
}
|
|
589
|
-
}, {
|
|
590
|
-
key: "onRender",
|
|
591
|
-
value: function onRender() {
|
|
592
|
-
this.renderThumbnail();
|
|
593
|
-
this.renderMetadata();
|
|
594
|
-
this.renderActions();
|
|
595
|
-
this.renderPreview();
|
|
596
|
-
}
|
|
597
|
-
}, {
|
|
598
|
-
key: "name",
|
|
599
|
-
get: function get() {
|
|
600
|
-
return 'ErroredVideoItemComponent';
|
|
601
|
-
}
|
|
602
|
-
}, {
|
|
603
|
-
key: "template",
|
|
604
|
-
get: function get() {
|
|
605
|
-
return _ErroredVideoItem_hbs__WEBPACK_IMPORTED_MODULE_12__;
|
|
606
|
-
}
|
|
607
|
-
}, {
|
|
608
|
-
key: "lang",
|
|
609
|
-
get: function get() {
|
|
610
|
-
return 'migrationWizard.erroredVideoItem';
|
|
611
|
-
}
|
|
612
|
-
}, {
|
|
613
|
-
key: "channelName",
|
|
614
|
-
get: function get() {
|
|
615
|
-
return _shared_utils__WEBPACK_IMPORTED_MODULE_5__["RadioChannelHelper"].generateUniqueChannelName(this);
|
|
616
|
-
}
|
|
617
|
-
}, {
|
|
618
|
-
key: "className",
|
|
619
|
-
get: function get() {
|
|
620
|
-
return "border-bottom ".concat(_errored_video_item_scss__WEBPACK_IMPORTED_MODULE_13__["component"]);
|
|
621
|
-
}
|
|
622
|
-
}]);
|
|
623
|
-
|
|
624
|
-
return ErroredVideoItemComponent;
|
|
625
|
-
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].Component);
|
|
626
|
-
|
|
627
|
-
/***/ }),
|
|
628
|
-
|
|
629
|
-
/***/ "./src/apps/migration-wizard/components/errored-video-item/errored-video-item.scss":
|
|
630
|
-
/*!*****************************************************************************************!*\
|
|
631
|
-
!*** ./src/apps/migration-wizard/components/errored-video-item/errored-video-item.scss ***!
|
|
632
|
-
\*****************************************************************************************/
|
|
633
|
-
/*! no static exports found */
|
|
634
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
635
|
-
|
|
636
|
-
// extracted by mini-css-extract-plugin
|
|
637
|
-
module.exports = {"component":"cv--component--13khy","thumbnailContainer":"cv--thumbnailContainer--_gEcp","metaContainer":"cv--metaContainer--zuMb1","actionsContainer":"cv--actionsContainer--1ppp8","videoItem":"cv--videoItem--2Ru6c","doNotAdd":"cv--doNotAdd--8l6WV"};
|
|
638
|
-
|
|
639
|
-
/***/ }),
|
|
640
|
-
|
|
641
|
-
/***/ "./src/apps/migration-wizard/components/errored-video-list/ErroredVideoList.hbs":
|
|
642
|
-
/*!**************************************************************************************!*\
|
|
643
|
-
!*** ./src/apps/migration-wizard/components/errored-video-list/ErroredVideoList.hbs ***!
|
|
644
|
-
\**************************************************************************************/
|
|
645
|
-
/*! no static exports found */
|
|
646
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
647
|
-
|
|
648
|
-
var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
|
|
649
|
-
module.exports = (Handlebars['default'] || Handlebars).template({"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
650
|
-
return "<div class=\"videos-region\"></div>";
|
|
651
|
-
},"useData":true});
|
|
652
|
-
|
|
653
|
-
/***/ }),
|
|
654
|
-
|
|
655
|
-
/***/ "./src/apps/migration-wizard/components/errored-video-list/ErroredVideoListComponent.ts":
|
|
656
|
-
/*!**********************************************************************************************!*\
|
|
657
|
-
!*** ./src/apps/migration-wizard/components/errored-video-list/ErroredVideoListComponent.ts ***!
|
|
658
|
-
\**********************************************************************************************/
|
|
659
|
-
/*! exports provided: ErroredVideoListComponent */
|
|
660
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
661
|
-
|
|
662
|
-
"use strict";
|
|
663
|
-
__webpack_require__.r(__webpack_exports__);
|
|
664
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ErroredVideoListComponent", function() { return ErroredVideoListComponent; });
|
|
665
|
-
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
666
|
-
/* harmony import */ var _shared_behaviors__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../shared/behaviors */ "./src/shared/behaviors/index.ts");
|
|
667
|
-
/* harmony import */ var _shared_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../shared/constants */ "./src/shared/constants/index.ts");
|
|
668
|
-
/* harmony import */ var _ErroredVideoList_hbs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ErroredVideoList.hbs */ "./src/apps/migration-wizard/components/errored-video-list/ErroredVideoList.hbs");
|
|
669
|
-
/* harmony import */ var _ErroredVideoList_hbs__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_ErroredVideoList_hbs__WEBPACK_IMPORTED_MODULE_3__);
|
|
670
|
-
/* harmony import */ var _errored_video_item_ErroredVideoItemComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../errored-video-item/ErroredVideoItemComponent */ "./src/apps/migration-wizard/components/errored-video-item/ErroredVideoItemComponent.ts");
|
|
671
|
-
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); }
|
|
672
|
-
|
|
673
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
674
|
-
|
|
675
|
-
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); } }
|
|
676
|
-
|
|
677
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
678
|
-
|
|
679
|
-
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); }
|
|
680
|
-
|
|
681
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
682
|
-
|
|
683
|
-
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); }; }
|
|
684
|
-
|
|
685
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
686
|
-
|
|
687
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
688
|
-
|
|
689
|
-
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; } }
|
|
690
|
-
|
|
691
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
var ErroredVideoItemComponentCollection = /*#__PURE__*/function (_Core$ComponentCollec) {
|
|
700
|
-
_inherits(ErroredVideoItemComponentCollection, _Core$ComponentCollec);
|
|
701
|
-
|
|
702
|
-
var _super = _createSuper(ErroredVideoItemComponentCollection);
|
|
703
|
-
|
|
704
|
-
function ErroredVideoItemComponentCollection(options) {
|
|
705
|
-
_classCallCheck(this, ErroredVideoItemComponentCollection);
|
|
706
|
-
|
|
707
|
-
return _super.call(this, options);
|
|
708
|
-
}
|
|
709
|
-
|
|
710
|
-
_createClass(ErroredVideoItemComponentCollection, [{
|
|
711
|
-
key: "name",
|
|
712
|
-
get: function get() {
|
|
713
|
-
return 'ErroredVideoItemComponentCollection';
|
|
714
|
-
}
|
|
715
|
-
}, {
|
|
716
|
-
key: "childView",
|
|
717
|
-
get: function get() {
|
|
718
|
-
return _errored_video_item_ErroredVideoItemComponent__WEBPACK_IMPORTED_MODULE_4__["ErroredVideoItemComponent"];
|
|
719
|
-
}
|
|
720
|
-
}, {
|
|
721
|
-
key: "childViewOptions",
|
|
722
|
-
get: function get() {
|
|
723
|
-
return this.options;
|
|
724
|
-
}
|
|
725
|
-
}]);
|
|
726
|
-
|
|
727
|
-
return ErroredVideoItemComponentCollection;
|
|
728
|
-
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].ComponentCollection);
|
|
729
|
-
|
|
730
|
-
var ErroredVideoListComponent = /*#__PURE__*/function (_Core$Component) {
|
|
731
|
-
_inherits(ErroredVideoListComponent, _Core$Component);
|
|
732
|
-
|
|
733
|
-
var _super2 = _createSuper(ErroredVideoListComponent);
|
|
734
|
-
|
|
735
|
-
function ErroredVideoListComponent(options) {
|
|
736
|
-
_classCallCheck(this, ErroredVideoListComponent);
|
|
737
|
-
|
|
738
|
-
return _super2.call(this, options);
|
|
739
|
-
}
|
|
740
|
-
|
|
741
|
-
_createClass(ErroredVideoListComponent, [{
|
|
742
|
-
key: "regions",
|
|
743
|
-
value: function regions() {
|
|
744
|
-
return {
|
|
745
|
-
videos: {
|
|
746
|
-
el: '.videos-region',
|
|
747
|
-
replaceElement: true
|
|
748
|
-
}
|
|
749
|
-
};
|
|
750
|
-
}
|
|
751
|
-
}, {
|
|
752
|
-
key: "onRender",
|
|
753
|
-
value: function onRender() {
|
|
754
|
-
this.showChildView('videos', new ErroredVideoItemComponentCollection(this.options));
|
|
755
|
-
}
|
|
756
|
-
}, {
|
|
757
|
-
key: "name",
|
|
758
|
-
get: function get() {
|
|
759
|
-
return 'ErroredVideoListComponent';
|
|
760
|
-
}
|
|
761
|
-
}, {
|
|
762
|
-
key: "template",
|
|
763
|
-
get: function get() {
|
|
764
|
-
return _ErroredVideoList_hbs__WEBPACK_IMPORTED_MODULE_3__;
|
|
765
|
-
}
|
|
766
|
-
}, {
|
|
767
|
-
key: "behaviors",
|
|
768
|
-
get: function get() {
|
|
769
|
-
return [{
|
|
770
|
-
behaviorClass: _shared_behaviors__WEBPACK_IMPORTED_MODULE_1__["LazyLoadBehavior"],
|
|
771
|
-
selector: '.lazy-img',
|
|
772
|
-
minBrowserSupportVersion: _shared_constants__WEBPACK_IMPORTED_MODULE_2__["LazyLoadMinBrowserSupportVersion"]
|
|
773
|
-
}];
|
|
774
|
-
}
|
|
775
|
-
}]);
|
|
776
|
-
|
|
777
|
-
return ErroredVideoListComponent;
|
|
778
|
-
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].Component);
|
|
779
|
-
|
|
780
|
-
/***/ }),
|
|
781
|
-
|
|
782
|
-
/***/ "./src/apps/migration-wizard/components/errored-video-metadata/ErroredVideoMetadata.hbs":
|
|
783
|
-
/*!**********************************************************************************************!*\
|
|
784
|
-
!*** ./src/apps/migration-wizard/components/errored-video-metadata/ErroredVideoMetadata.hbs ***!
|
|
785
|
-
\**********************************************************************************************/
|
|
786
|
-
/*! no static exports found */
|
|
787
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
788
|
-
|
|
789
|
-
var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
|
|
790
|
-
module.exports = (Handlebars['default'] || Handlebars).template({"1":function(container,depth0,helpers,partials,data) {
|
|
791
|
-
var alias1=container.propertyIsEnumerable;
|
|
792
|
-
|
|
793
|
-
return " <span>"
|
|
794
|
-
+ container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"series",{"name":"lang","hash":{"series":(depth0 != null ? depth0.series : depth0)},"data":data}))
|
|
795
|
-
+ "</span>\r\n";
|
|
796
|
-
},"3":function(container,depth0,helpers,partials,data) {
|
|
797
|
-
var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {});
|
|
798
|
-
|
|
799
|
-
return " "
|
|
800
|
-
+ ((stack1 = helpers["if"].call(alias2,(depth0 != null ? depth0.series : depth0),{"name":"if","hash":{},"fn":container.program(4, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
801
|
-
+ "\r\n <span>"
|
|
802
|
-
+ container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(alias2,"folder",{"name":"lang","hash":{"folder":(depth0 != null ? depth0.category : depth0)},"data":data}))
|
|
803
|
-
+ "</span>\r\n";
|
|
804
|
-
},"4":function(container,depth0,helpers,partials,data) {
|
|
805
|
-
return "<span class=\"mx-1\">|</span>";
|
|
806
|
-
},"6":function(container,depth0,helpers,partials,data) {
|
|
807
|
-
var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression;
|
|
808
|
-
|
|
809
|
-
return " <span class=\"badge p-1 tool-tip "
|
|
810
|
-
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.rating : stack1), depth0))
|
|
811
|
-
+ " "
|
|
812
|
-
+ alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.ratingColorClass : stack1), depth0))
|
|
813
|
-
+ "\" title=\""
|
|
814
|
-
+ alias3(alias2(((stack1 = (depth0 != null ? depth0.rating : depth0)) != null ? stack1.name : stack1), depth0))
|
|
815
|
-
+ "\">"
|
|
816
|
-
+ alias3(alias2(((stack1 = (depth0 != null ? depth0.rating : depth0)) != null ? stack1.code : stack1), depth0))
|
|
817
|
-
+ "</span>\r\n";
|
|
818
|
-
},"8":function(container,depth0,helpers,partials,data) {
|
|
819
|
-
var stack1;
|
|
820
|
-
|
|
821
|
-
return ((stack1 = helpers["if"].call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{"name":"if","hash":{},"fn":container.program(9, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "");
|
|
822
|
-
},"9":function(container,depth0,helpers,partials,data) {
|
|
823
|
-
return " <div class=\"text-danger\">"
|
|
824
|
-
+ container.escapeExpression(container.lambda(depth0, depth0))
|
|
825
|
-
+ "</div>\r\n";
|
|
826
|
-
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
827
|
-
var stack1, helper, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {});
|
|
828
|
-
|
|
829
|
-
return "<div>\r\n <a class=\"h6\">"
|
|
830
|
-
+ container.escapeExpression(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === "function" ? helper.call(alias2,{"name":"name","hash":{},"data":data}) : helper)))
|
|
831
|
-
+ "</a>\r\n</div>\r\n<div>\r\n"
|
|
832
|
-
+ ((stack1 = helpers["if"].call(alias2,(depth0 != null ? depth0.series : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
833
|
-
+ ((stack1 = helpers["if"].call(alias2,(depth0 != null ? depth0.category : depth0),{"name":"if","hash":{},"fn":container.program(3, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
834
|
-
+ "</div>\r\n"
|
|
835
|
-
+ ((stack1 = helpers["if"].call(alias2,((stack1 = (depth0 != null ? depth0.rating : depth0)) != null ? stack1.code : stack1),{"name":"if","hash":{},"fn":container.program(6, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
836
|
-
+ ((stack1 = helpers.each.call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.errorStrings : stack1),{"name":"each","hash":{},"fn":container.program(8, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "");
|
|
837
|
-
},"useData":true});
|
|
838
|
-
|
|
839
|
-
/***/ }),
|
|
840
|
-
|
|
841
|
-
/***/ "./src/apps/migration-wizard/components/errored-video-metadata/ErroredVideoMetadataComponent.ts":
|
|
842
|
-
/*!******************************************************************************************************!*\
|
|
843
|
-
!*** ./src/apps/migration-wizard/components/errored-video-metadata/ErroredVideoMetadataComponent.ts ***!
|
|
844
|
-
\******************************************************************************************************/
|
|
845
|
-
/*! exports provided: ErroredVideoMetadataComponent */
|
|
846
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
847
|
-
|
|
848
|
-
"use strict";
|
|
849
|
-
__webpack_require__.r(__webpack_exports__);
|
|
850
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ErroredVideoMetadataComponent", function() { return ErroredVideoMetadataComponent; });
|
|
851
|
-
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
852
|
-
/* harmony import */ var _ErroredVideoMetadata_hbs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ErroredVideoMetadata.hbs */ "./src/apps/migration-wizard/components/errored-video-metadata/ErroredVideoMetadata.hbs");
|
|
853
|
-
/* harmony import */ var _ErroredVideoMetadata_hbs__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_ErroredVideoMetadata_hbs__WEBPACK_IMPORTED_MODULE_1__);
|
|
854
|
-
/* harmony import */ var _errored_video_metadata_scss__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./errored-video-metadata.scss */ "./src/apps/migration-wizard/components/errored-video-metadata/errored-video-metadata.scss");
|
|
855
|
-
/* harmony import */ var _errored_video_metadata_scss__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_errored_video_metadata_scss__WEBPACK_IMPORTED_MODULE_2__);
|
|
856
|
-
/* harmony import */ var _utils_MigrationErrorHelper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/MigrationErrorHelper */ "./src/apps/migration-wizard/utils/MigrationErrorHelper.ts");
|
|
857
|
-
/* harmony import */ var _library_editor_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../library-editor/utils */ "./src/apps/library-editor/utils/index.ts");
|
|
858
|
-
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); }
|
|
859
|
-
|
|
860
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
861
|
-
|
|
862
|
-
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); } }
|
|
863
|
-
|
|
864
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
865
|
-
|
|
866
|
-
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); }
|
|
867
|
-
|
|
868
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
869
|
-
|
|
870
|
-
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); }; }
|
|
871
|
-
|
|
872
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
873
|
-
|
|
874
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
875
|
-
|
|
876
|
-
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; } }
|
|
877
|
-
|
|
878
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
var ErroredVideoMetadataComponent = /*#__PURE__*/function (_Core$Component) {
|
|
886
|
-
_inherits(ErroredVideoMetadataComponent, _Core$Component);
|
|
887
|
-
|
|
888
|
-
var _super = _createSuper(ErroredVideoMetadataComponent);
|
|
889
|
-
|
|
890
|
-
function ErroredVideoMetadataComponent() {
|
|
891
|
-
_classCallCheck(this, ErroredVideoMetadataComponent);
|
|
892
|
-
|
|
893
|
-
return _super.apply(this, arguments);
|
|
894
|
-
}
|
|
895
|
-
|
|
896
|
-
_createClass(ErroredVideoMetadataComponent, [{
|
|
897
|
-
key: "viewOptions",
|
|
898
|
-
value: function viewOptions() {
|
|
899
|
-
return {
|
|
900
|
-
styles: _errored_video_metadata_scss__WEBPACK_IMPORTED_MODULE_2__,
|
|
901
|
-
errorStrings: _utils_MigrationErrorHelper__WEBPACK_IMPORTED_MODULE_3__["MigrationErrorHelper"].getErrorStrings(this.model.get('clientValidationResults')),
|
|
902
|
-
ratingColorClass: this.model.get('rating') && _library_editor_utils__WEBPACK_IMPORTED_MODULE_4__["VideoDetailsHelper"].mapRatingToClass(this.model.get('rating').value)
|
|
903
|
-
};
|
|
904
|
-
}
|
|
905
|
-
}, {
|
|
906
|
-
key: "name",
|
|
907
|
-
get: function get() {
|
|
908
|
-
return 'ErroredVideoMetadataComponent';
|
|
909
|
-
}
|
|
910
|
-
}, {
|
|
911
|
-
key: "template",
|
|
912
|
-
get: function get() {
|
|
913
|
-
return _ErroredVideoMetadata_hbs__WEBPACK_IMPORTED_MODULE_1__;
|
|
914
|
-
}
|
|
915
|
-
}, {
|
|
916
|
-
key: "lang",
|
|
917
|
-
get: function get() {
|
|
918
|
-
return 'migrationWizard.erroredVideoMetadata';
|
|
919
|
-
}
|
|
920
|
-
}]);
|
|
921
|
-
|
|
922
|
-
return ErroredVideoMetadataComponent;
|
|
923
|
-
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].Component);
|
|
924
|
-
|
|
925
|
-
/***/ }),
|
|
926
|
-
|
|
927
|
-
/***/ "./src/apps/migration-wizard/components/errored-video-metadata/errored-video-metadata.scss":
|
|
928
|
-
/*!*************************************************************************************************!*\
|
|
929
|
-
!*** ./src/apps/migration-wizard/components/errored-video-metadata/errored-video-metadata.scss ***!
|
|
930
|
-
\*************************************************************************************************/
|
|
931
|
-
/*! no static exports found */
|
|
932
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
933
|
-
|
|
934
|
-
// extracted by mini-css-extract-plugin
|
|
935
|
-
module.exports = {"rating":"cv--rating--3IJcl"};
|
|
936
|
-
|
|
937
|
-
/***/ }),
|
|
938
|
-
|
|
939
|
-
/***/ "./src/apps/migration-wizard/components/errored-video-preview/ErroredVideoPreview.hbs":
|
|
940
|
-
/*!********************************************************************************************!*\
|
|
941
|
-
!*** ./src/apps/migration-wizard/components/errored-video-preview/ErroredVideoPreview.hbs ***!
|
|
942
|
-
\********************************************************************************************/
|
|
943
|
-
/*! no static exports found */
|
|
944
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
945
|
-
|
|
946
|
-
var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
|
|
947
|
-
module.exports = (Handlebars['default'] || Handlebars).template({"1":function(container,depth0,helpers,partials,data) {
|
|
948
|
-
var alias1=container.propertyIsEnumerable;
|
|
949
|
-
|
|
950
|
-
return "<p class=\"text-uppercase text-muted\">"
|
|
951
|
-
+ container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"description",{"name":"lang","hash":{},"data":data}))
|
|
952
|
-
+ "</p>\r\n";
|
|
953
|
-
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
954
|
-
var stack1, alias1=container.propertyIsEnumerable;
|
|
955
|
-
|
|
956
|
-
return ((stack1 = helpers["if"].call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.description : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
957
|
-
+ "<div class=\"description-region\"></div>\r\n<div class=\"webplayer-region col-5 pl-0\"></div>";
|
|
958
|
-
},"useData":true});
|
|
959
|
-
|
|
960
|
-
/***/ }),
|
|
961
|
-
|
|
962
|
-
/***/ "./src/apps/migration-wizard/components/errored-video-preview/ErroredVideoPreviewComponent.ts":
|
|
963
|
-
/*!****************************************************************************************************!*\
|
|
964
|
-
!*** ./src/apps/migration-wizard/components/errored-video-preview/ErroredVideoPreviewComponent.ts ***!
|
|
965
|
-
\****************************************************************************************************/
|
|
966
|
-
/*! exports provided: ErroredVideoPreviewComponent */
|
|
967
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
968
|
-
|
|
969
|
-
"use strict";
|
|
970
|
-
__webpack_require__.r(__webpack_exports__);
|
|
971
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ErroredVideoPreviewComponent", function() { return ErroredVideoPreviewComponent; });
|
|
972
|
-
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
973
|
-
/* harmony import */ var _ErroredVideoPreview_hbs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ErroredVideoPreview.hbs */ "./src/apps/migration-wizard/components/errored-video-preview/ErroredVideoPreview.hbs");
|
|
974
|
-
/* harmony import */ var _ErroredVideoPreview_hbs__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_ErroredVideoPreview_hbs__WEBPACK_IMPORTED_MODULE_1__);
|
|
975
|
-
/* harmony import */ var _shared_components_video_description_VideoDescriptionComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../shared/components/video-description/VideoDescriptionComponent */ "./src/shared/components/video-description/VideoDescriptionComponent.ts");
|
|
976
|
-
/* harmony import */ var _shared_components_video_preview_VideoPreviewComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../shared/components/video-preview/VideoPreviewComponent */ "./src/shared/components/video-preview/VideoPreviewComponent.ts");
|
|
977
|
-
/* harmony import */ var _shared_models_Video__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../shared/models/Video */ "./src/shared/models/Video.ts");
|
|
978
|
-
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); }
|
|
979
|
-
|
|
980
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
981
|
-
|
|
982
|
-
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); } }
|
|
983
|
-
|
|
984
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
985
|
-
|
|
986
|
-
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); }
|
|
987
|
-
|
|
988
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
989
|
-
|
|
990
|
-
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); }; }
|
|
991
|
-
|
|
992
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
993
|
-
|
|
994
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
995
|
-
|
|
996
|
-
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; } }
|
|
997
|
-
|
|
998
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
var ErroredVideoPreviewComponent = /*#__PURE__*/function (_Core$Component) {
|
|
1006
|
-
_inherits(ErroredVideoPreviewComponent, _Core$Component);
|
|
1007
|
-
|
|
1008
|
-
var _super = _createSuper(ErroredVideoPreviewComponent);
|
|
1009
|
-
|
|
1010
|
-
function ErroredVideoPreviewComponent(options) {
|
|
1011
|
-
_classCallCheck(this, ErroredVideoPreviewComponent);
|
|
1012
|
-
|
|
1013
|
-
return _super.call(this, options);
|
|
1014
|
-
}
|
|
1015
|
-
|
|
1016
|
-
_createClass(ErroredVideoPreviewComponent, [{
|
|
1017
|
-
key: "regions",
|
|
1018
|
-
value: function regions() {
|
|
1019
|
-
return {
|
|
1020
|
-
description: {
|
|
1021
|
-
el: '.description-region',
|
|
1022
|
-
replaceElement: true
|
|
1023
|
-
},
|
|
1024
|
-
webplayer: {
|
|
1025
|
-
el: '.webplayer-region'
|
|
1026
|
-
}
|
|
1027
|
-
};
|
|
1028
|
-
}
|
|
1029
|
-
}, {
|
|
1030
|
-
key: "onRender",
|
|
1031
|
-
value: function onRender() {
|
|
1032
|
-
this.showChildView('webplayer', new _shared_components_video_preview_VideoPreviewComponent__WEBPACK_IMPORTED_MODULE_3__["VideoPreviewComponent"]({
|
|
1033
|
-
webPlayerUrl: this.options.webplayerUrl,
|
|
1034
|
-
model: new _shared_models_Video__WEBPACK_IMPORTED_MODULE_4__["Video"]({
|
|
1035
|
-
duration: this.model.get('duration') * 1000,
|
|
1036
|
-
thumbnail: {
|
|
1037
|
-
url: "".concat(this.options.imageCdnUrl, "v1/thumbnails/trackingcode/").concat(this.model.get('trackingCode'))
|
|
1038
|
-
},
|
|
1039
|
-
trackingCode: this.model.get('trackingCode')
|
|
1040
|
-
}),
|
|
1041
|
-
captureAnalytics: false
|
|
1042
|
-
}));
|
|
1043
|
-
|
|
1044
|
-
if (this.model.get('description')) {
|
|
1045
|
-
this.showChildView('description', new _shared_components_video_description_VideoDescriptionComponent__WEBPACK_IMPORTED_MODULE_2__["VideoDescriptionComponent"]({
|
|
1046
|
-
model: this.model,
|
|
1047
|
-
linkify: true,
|
|
1048
|
-
size: _shared_components_video_description_VideoDescriptionComponent__WEBPACK_IMPORTED_MODULE_2__["VideoDescriptionTruncationSize"].Large,
|
|
1049
|
-
truncate: true,
|
|
1050
|
-
allowExpand: true
|
|
1051
|
-
}));
|
|
1052
|
-
}
|
|
1053
|
-
}
|
|
1054
|
-
}, {
|
|
1055
|
-
key: "name",
|
|
1056
|
-
get: function get() {
|
|
1057
|
-
return 'ErroredVideoPreviewComponent';
|
|
1058
|
-
}
|
|
1059
|
-
}, {
|
|
1060
|
-
key: "className",
|
|
1061
|
-
get: function get() {
|
|
1062
|
-
return 'p-3 border-top';
|
|
1063
|
-
}
|
|
1064
|
-
}, {
|
|
1065
|
-
key: "template",
|
|
1066
|
-
get: function get() {
|
|
1067
|
-
return _ErroredVideoPreview_hbs__WEBPACK_IMPORTED_MODULE_1__;
|
|
1068
|
-
}
|
|
1069
|
-
}, {
|
|
1070
|
-
key: "lang",
|
|
1071
|
-
get: function get() {
|
|
1072
|
-
return 'migrationWizard.erroredVideoPreview';
|
|
1073
|
-
}
|
|
1074
|
-
}]);
|
|
1075
|
-
|
|
1076
|
-
return ErroredVideoPreviewComponent;
|
|
1077
|
-
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].Component);
|
|
1078
|
-
|
|
1079
|
-
/***/ }),
|
|
1080
|
-
|
|
1081
|
-
/***/ "./src/apps/migration-wizard/contants/MigrationErrorActions.ts":
|
|
1082
|
-
/*!*********************************************************************!*\
|
|
1083
|
-
!*** ./src/apps/migration-wizard/contants/MigrationErrorActions.ts ***!
|
|
1084
|
-
\*********************************************************************/
|
|
1085
|
-
/*! exports provided: MigrationErrorActions */
|
|
1086
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1087
|
-
|
|
1088
|
-
"use strict";
|
|
1089
|
-
__webpack_require__.r(__webpack_exports__);
|
|
1090
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MigrationErrorActions", function() { return MigrationErrorActions; });
|
|
1091
|
-
var MigrationErrorActions = {
|
|
1092
|
-
USE_ONLINE_COPY: 'use-online-copy',
|
|
1093
|
-
DO_NOT_ADD: 'do-not-add'
|
|
1094
|
-
};
|
|
1095
|
-
|
|
1096
|
-
/***/ }),
|
|
1097
|
-
|
|
1098
|
-
/***/ "./src/apps/migration-wizard/contants/MigrationViewModels.ts":
|
|
1099
|
-
/*!*******************************************************************!*\
|
|
1100
|
-
!*** ./src/apps/migration-wizard/contants/MigrationViewModels.ts ***!
|
|
1101
|
-
\*******************************************************************/
|
|
1102
|
-
/*! exports provided: MigrationViewModels */
|
|
1103
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1104
|
-
|
|
1105
|
-
"use strict";
|
|
1106
|
-
__webpack_require__.r(__webpack_exports__);
|
|
1107
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MigrationViewModels", function() { return MigrationViewModels; });
|
|
1108
|
-
var MigrationViewModels = {
|
|
1109
|
-
OPEN_PREVIEWS: 'migration:errored:videos:preview',
|
|
1110
|
-
SELECTED_VIDEOS: 'migration:errored:videos:selected'
|
|
1111
|
-
};
|
|
1112
|
-
|
|
1113
|
-
/***/ }),
|
|
1114
|
-
|
|
1115
|
-
/***/ "./src/apps/migration-wizard/utils/MigrationErrorHelper.ts":
|
|
1116
|
-
/*!*****************************************************************!*\
|
|
1117
|
-
!*** ./src/apps/migration-wizard/utils/MigrationErrorHelper.ts ***!
|
|
1118
|
-
\*****************************************************************/
|
|
1119
|
-
/*! exports provided: MigrationErrorHelper */
|
|
1120
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1121
|
-
|
|
1122
|
-
"use strict";
|
|
1123
|
-
__webpack_require__.r(__webpack_exports__);
|
|
1124
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MigrationErrorHelper", function() { return MigrationErrorHelper; });
|
|
1125
|
-
/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! underscore */ "underscore");
|
|
1126
|
-
/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(underscore__WEBPACK_IMPORTED_MODULE_0__);
|
|
1127
|
-
/* harmony import */ var _enums__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../enums */ "./src/apps/migration-wizard/enums/index.ts");
|
|
1128
|
-
/* harmony import */ var _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../../libs/common/src/backbone/services/LanguageService */ "../../libs/common/src/backbone/services/LanguageService.tsx");
|
|
1129
|
-
var _mappings;
|
|
1130
|
-
|
|
1131
|
-
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; }
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
var lang = 'migrationWizard.utils';
|
|
1137
|
-
|
|
1138
|
-
var videoFileMissing = function videoFileMissing() {
|
|
1139
|
-
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_2__["LanguageService"].getPhrase(lang, 'videoFileMissing');
|
|
1140
|
-
};
|
|
1141
|
-
|
|
1142
|
-
var videoFileCorrupt = function videoFileCorrupt() {
|
|
1143
|
-
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_2__["LanguageService"].getPhrase(lang, 'videoFileCorrupt');
|
|
1144
|
-
};
|
|
1145
|
-
|
|
1146
|
-
var videoFileInformationMissing = function videoFileInformationMissing() {
|
|
1147
|
-
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_2__["LanguageService"].getPhrase(lang, 'videoFileInformationMissing');
|
|
1148
|
-
};
|
|
1149
|
-
|
|
1150
|
-
var subtitleFileMissing = function subtitleFileMissing() {
|
|
1151
|
-
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_2__["LanguageService"].getPhrase(lang, 'subtitleFileMissing');
|
|
1152
|
-
};
|
|
1153
|
-
|
|
1154
|
-
var resouceFileMissing = function resouceFileMissing() {
|
|
1155
|
-
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_2__["LanguageService"].getPhrase(lang, 'resouceFileMissing');
|
|
1156
|
-
};
|
|
1157
|
-
|
|
1158
|
-
var thumbnailMissing = function thumbnailMissing() {
|
|
1159
|
-
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_2__["LanguageService"].getPhrase(lang, 'thumbnailMissing');
|
|
1160
|
-
};
|
|
1161
|
-
|
|
1162
|
-
var mappings = (_mappings = {}, _defineProperty(_mappings, _enums__WEBPACK_IMPORTED_MODULE_1__["ValidationResult"].BinaryRemoved, function () {
|
|
1163
|
-
return '';
|
|
1164
|
-
}), _defineProperty(_mappings, _enums__WEBPACK_IMPORTED_MODULE_1__["ValidationResult"].LocalFileNotFound, videoFileMissing), _defineProperty(_mappings, _enums__WEBPACK_IMPORTED_MODULE_1__["ValidationResult"].DbEmptyChapter, videoFileCorrupt), _defineProperty(_mappings, _enums__WEBPACK_IMPORTED_MODULE_1__["ValidationResult"].DbChapterChecksumNotFound, videoFileCorrupt), _defineProperty(_mappings, _enums__WEBPACK_IMPORTED_MODULE_1__["ValidationResult"].DbChapterDurationNotFound, videoFileInformationMissing), _defineProperty(_mappings, _enums__WEBPACK_IMPORTED_MODULE_1__["ValidationResult"].DbChapterFileSizeNotFound, videoFileInformationMissing), _defineProperty(_mappings, _enums__WEBPACK_IMPORTED_MODULE_1__["ValidationResult"].DbChapterChecksumNotMatch, videoFileInformationMissing), _defineProperty(_mappings, _enums__WEBPACK_IMPORTED_MODULE_1__["ValidationResult"].DbChapterDurationNotMatch, videoFileInformationMissing), _defineProperty(_mappings, _enums__WEBPACK_IMPORTED_MODULE_1__["ValidationResult"].DbChapterFileSizeNotMatch, videoFileInformationMissing), _defineProperty(_mappings, _enums__WEBPACK_IMPORTED_MODULE_1__["ValidationResult"].SubtitleUploadFailure, subtitleFileMissing), _defineProperty(_mappings, _enums__WEBPACK_IMPORTED_MODULE_1__["ValidationResult"].ResourceUploadFailure, resouceFileMissing), _defineProperty(_mappings, _enums__WEBPACK_IMPORTED_MODULE_1__["ValidationResult"].ResourceFileNotFound, resouceFileMissing), _defineProperty(_mappings, _enums__WEBPACK_IMPORTED_MODULE_1__["ValidationResult"].ResourceFileInvalid, resouceFileMissing), _defineProperty(_mappings, _enums__WEBPACK_IMPORTED_MODULE_1__["ValidationResult"].DbResourceChecksumNotFound, resouceFileMissing), _defineProperty(_mappings, _enums__WEBPACK_IMPORTED_MODULE_1__["ValidationResult"].DbResourceExtensionNotFound, resouceFileMissing), _defineProperty(_mappings, _enums__WEBPACK_IMPORTED_MODULE_1__["ValidationResult"].DbResourceFileSizeNotFound, resouceFileMissing), _defineProperty(_mappings, _enums__WEBPACK_IMPORTED_MODULE_1__["ValidationResult"].DbResourceChecksumNotMatch, resouceFileMissing), _defineProperty(_mappings, _enums__WEBPACK_IMPORTED_MODULE_1__["ValidationResult"].DbResourceFileSizeNotMatch, resouceFileMissing), _defineProperty(_mappings, _enums__WEBPACK_IMPORTED_MODULE_1__["ValidationResult"].CoverImageUploadFailure, thumbnailMissing), _mappings);
|
|
1165
|
-
var MigrationErrorHelper = {
|
|
1166
|
-
getErrorStrings: function getErrorStrings(errorCodes) {
|
|
1167
|
-
return underscore__WEBPACK_IMPORTED_MODULE_0__["unique"](underscore__WEBPACK_IMPORTED_MODULE_0__["map"](errorCodes, function (e) {
|
|
1168
|
-
return mappings[e]();
|
|
1169
|
-
}));
|
|
1170
|
-
}
|
|
1171
|
-
};
|
|
1172
|
-
|
|
1173
|
-
/***/ }),
|
|
1174
|
-
|
|
1175
|
-
/***/ "./src/apps/migration-wizard/views/migration-error/ConfirmationDialog.hbs":
|
|
1176
|
-
/*!********************************************************************************!*\
|
|
1177
|
-
!*** ./src/apps/migration-wizard/views/migration-error/ConfirmationDialog.hbs ***!
|
|
1178
|
-
\********************************************************************************/
|
|
1179
|
-
/*! no static exports found */
|
|
1180
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1181
|
-
|
|
1182
|
-
var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
|
|
1183
|
-
module.exports = (Handlebars['default'] || Handlebars).template({"1":function(container,depth0,helpers,partials,data) {
|
|
1184
|
-
var stack1, helper, alias1=container.propertyIsEnumerable, alias2=container.escapeExpression, alias3=depth0 != null ? depth0 : (container.nullContext || {}), alias4=container.hooks.helperMissing, alias5="function";
|
|
1185
|
-
|
|
1186
|
-
return "<div class=\"m-auto text-warning "
|
|
1187
|
-
+ alias2(container.lambda(((stack1 = (depth0 != null ? depth0.styles : depth0)) != null ? stack1.svgContainer : stack1), depth0))
|
|
1188
|
-
+ "\">"
|
|
1189
|
-
+ ((stack1 = ((helper = (helper = helpers.warningSvg || (depth0 != null ? depth0.warningSvg : depth0)) != null ? helper : alias4),(typeof helper === alias5 ? helper.call(alias3,{"name":"warningSvg","hash":{},"data":data}) : helper))) != null ? stack1 : "")
|
|
1190
|
-
+ "</div>\r\n<p>\r\n <div>"
|
|
1191
|
-
+ ((stack1 = ((helper = (helper = helpers.onlineCopyCountText || (depth0 != null ? depth0.onlineCopyCountText : depth0)) != null ? helper : alias4),(typeof helper === alias5 ? helper.call(alias3,{"name":"onlineCopyCountText","hash":{},"data":data}) : helper))) != null ? stack1 : "")
|
|
1192
|
-
+ " will be migrated to your Library Editor ignoring all warnings.</div>\r\n <span class=\"text-danger\">\r\n "
|
|
1193
|
-
+ alias2(((helper = (helper = helpers.warningText || (depth0 != null ? depth0.warningText : depth0)) != null ? helper : alias4),(typeof helper === alias5 ? helper.call(alias3,{"name":"warningText","hash":{},"data":data}) : helper)))
|
|
1194
|
-
+ "\r\n </span>\r\n</p> \r\n";
|
|
1195
|
-
},"3":function(container,depth0,helpers,partials,data) {
|
|
1196
|
-
var stack1, helper, alias1=container.propertyIsEnumerable;
|
|
1197
|
-
|
|
1198
|
-
return "<p>"
|
|
1199
|
-
+ ((stack1 = ((helper = (helper = helpers.doNotAddCountText || (depth0 != null ? depth0.doNotAddCountText : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"doNotAddCountText","hash":{},"data":data}) : helper))) != null ? stack1 : "")
|
|
1200
|
-
+ " will be removed from this list and will not be added to your library.</p>\r\n";
|
|
1201
|
-
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
1202
|
-
var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {});
|
|
1203
|
-
|
|
1204
|
-
return ((stack1 = helpers["if"].call(alias2,(depth0 != null ? depth0.onlineCopyCount : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
1205
|
-
+ ((stack1 = helpers["if"].call(alias2,(depth0 != null ? depth0.doNotAddCount : depth0),{"name":"if","hash":{},"fn":container.program(3, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "");
|
|
1206
|
-
},"useData":true});
|
|
1207
|
-
|
|
1208
|
-
/***/ }),
|
|
1209
|
-
|
|
1210
|
-
/***/ "./src/apps/migration-wizard/views/migration-error/MigrationError.hbs":
|
|
1211
|
-
/*!****************************************************************************!*\
|
|
1212
|
-
!*** ./src/apps/migration-wizard/views/migration-error/MigrationError.hbs ***!
|
|
1213
|
-
\****************************************************************************/
|
|
1214
|
-
/*! no static exports found */
|
|
1215
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1216
|
-
|
|
1217
|
-
var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
|
|
1218
|
-
module.exports = (Handlebars['default'] || Handlebars).template({"1":function(container,depth0,helpers,partials,data) {
|
|
1219
|
-
var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {}), alias3=container.hooks.helperMissing, alias4=container.escapeExpression;
|
|
1220
|
-
|
|
1221
|
-
return " <h2 class=\"h3\">"
|
|
1222
|
-
+ alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"couldNotBeMigrated",{"name":"lang","hash":{"smartCount":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.items : stack1)},"data":data}))
|
|
1223
|
-
+ "</h2>\r\n <p class=\"mb-1\">"
|
|
1224
|
-
+ alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"ensureValidity",{"name":"lang","hash":{},"data":data}))
|
|
1225
|
-
+ "</p>\r\n <p class=\"mb-2\"><a href=\""
|
|
1226
|
-
+ alias4(container.lambda(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.supportArticle : stack1), depth0))
|
|
1227
|
-
+ "\" target=\"_blank\" class=\"text-info\">"
|
|
1228
|
-
+ alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"moreInfo",{"name":"lang","hash":{},"data":data}))
|
|
1229
|
-
+ "</a></p>\r\n <button class=\"approve-all btn btn-success d-inline-block mr-2\" type=\"button\">"
|
|
1230
|
-
+ alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"resolve",{"name":"lang","hash":{},"data":data}))
|
|
1231
|
-
+ "</button>\r\n <button class=\"do-not-add btn btn-link d-inline-block\" type=\"button\">"
|
|
1232
|
-
+ alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"dismiss",{"name":"lang","hash":{},"data":data}))
|
|
1233
|
-
+ "</button>\r\n";
|
|
1234
|
-
},"3":function(container,depth0,helpers,partials,data) {
|
|
1235
|
-
return "";
|
|
1236
|
-
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
1237
|
-
var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression;
|
|
1238
|
-
|
|
1239
|
-
return "<div class=\"tab-region "
|
|
1240
|
-
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.tabsContainer : stack1), depth0))
|
|
1241
|
-
+ " border-bottom\"></div>\r\n<div class=\"p-3 border-bottom "
|
|
1242
|
-
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.headingContainer : stack1), depth0))
|
|
1243
|
-
+ "\">\r\n"
|
|
1244
|
-
+ ((stack1 = helpers["if"].call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.items : stack1),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(3, data, 0),"data":data})) != null ? stack1 : "")
|
|
1245
|
-
+ "</div>\r\n<div class=\"videos-region "
|
|
1246
|
-
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.videoContainer : stack1), depth0))
|
|
1247
|
-
+ "\"></div>\r\n<div class=\"footer-region\"></div>\r\n";
|
|
1248
|
-
},"useData":true});
|
|
1249
|
-
|
|
1250
|
-
/***/ }),
|
|
1251
|
-
|
|
1252
|
-
/***/ "./src/apps/migration-wizard/views/migration-error/MigrationErrorView.ts":
|
|
1253
|
-
/*!*******************************************************************************!*\
|
|
1254
|
-
!*** ./src/apps/migration-wizard/views/migration-error/MigrationErrorView.ts ***!
|
|
1255
|
-
\*******************************************************************************/
|
|
1256
|
-
/*! exports provided: MigrationErrorView */
|
|
1257
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1258
|
-
|
|
1259
|
-
"use strict";
|
|
1260
|
-
__webpack_require__.r(__webpack_exports__);
|
|
1261
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MigrationErrorView", function() { return MigrationErrorView; });
|
|
1262
|
-
/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! underscore */ "underscore");
|
|
1263
|
-
/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(underscore__WEBPACK_IMPORTED_MODULE_0__);
|
|
1264
|
-
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
1265
|
-
/* harmony import */ var _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/services/InstanceManager */ "../../libs/common/src/backbone/services/InstanceManager.ts");
|
|
1266
|
-
/* harmony import */ var _libs_common_src_backbone_services_ViewModelService__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/services/ViewModelService */ "../../libs/common/src/backbone/services/ViewModelService.ts");
|
|
1267
|
-
/* harmony import */ var _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/services/LanguageService */ "../../libs/common/src/backbone/services/LanguageService.tsx");
|
|
1268
|
-
/* harmony import */ var _libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../../../../libs/shared/src/utils/SvgHelper */ "../../libs/shared/src/utils/SvgHelper.ts");
|
|
1269
|
-
/* harmony import */ var _libs_shared_src_legacy_behaviors_empty_state_EmptyStateBehavior__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../../../../libs/shared/src/legacy/behaviors/empty-state/EmptyStateBehavior */ "../../libs/shared/src/legacy/behaviors/empty-state/EmptyStateBehavior.ts");
|
|
1270
|
-
/* harmony import */ var _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../../../../libs/analytics/src/interfaces */ "../../libs/analytics/src/interfaces/index.ts");
|
|
1271
|
-
/* harmony import */ var _libs_analytics_src_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../../../../libs/analytics/src/AnalyticsHelper */ "../../libs/analytics/src/AnalyticsHelper.ts");
|
|
1272
|
-
/* harmony import */ var _shared_services_ConfigDataService__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../../shared/services/ConfigDataService */ "./src/shared/services/ConfigDataService.ts");
|
|
1273
|
-
/* harmony import */ var _shared_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../../shared/constants */ "./src/shared/constants/index.ts");
|
|
1274
|
-
/* harmony import */ var _shared_enums__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../../shared/enums */ "./src/shared/enums/index.ts");
|
|
1275
|
-
/* harmony import */ var _shared_utils__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../../../shared/utils */ "./src/shared/utils/index.ts");
|
|
1276
|
-
/* harmony import */ var _components_errored_video_list_ErroredVideoListComponent__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../components/errored-video-list/ErroredVideoListComponent */ "./src/apps/migration-wizard/components/errored-video-list/ErroredVideoListComponent.ts");
|
|
1277
|
-
/* harmony import */ var _components_errored_video_footer_ErroredVideoFooterComponent__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../components/errored-video-footer/ErroredVideoFooterComponent */ "./src/apps/migration-wizard/components/errored-video-footer/ErroredVideoFooterComponent.ts");
|
|
1278
|
-
/* harmony import */ var _enums_VideoMigrationStatus__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../enums/VideoMigrationStatus */ "./src/apps/migration-wizard/enums/VideoMigrationStatus.ts");
|
|
1279
|
-
/* harmony import */ var _contants_MigrationErrorActions__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../../contants/MigrationErrorActions */ "./src/apps/migration-wizard/contants/MigrationErrorActions.ts");
|
|
1280
|
-
/* harmony import */ var _contants_MigrationViewModels__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../../contants/MigrationViewModels */ "./src/apps/migration-wizard/contants/MigrationViewModels.ts");
|
|
1281
|
-
/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../../components */ "./src/apps/migration-wizard/components/index.ts");
|
|
1282
|
-
/* harmony import */ var _ConfirmationDialog_hbs__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./ConfirmationDialog.hbs */ "./src/apps/migration-wizard/views/migration-error/ConfirmationDialog.hbs");
|
|
1283
|
-
/* harmony import */ var _ConfirmationDialog_hbs__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(_ConfirmationDialog_hbs__WEBPACK_IMPORTED_MODULE_19__);
|
|
1284
|
-
/* harmony import */ var _MigrationError_hbs__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./MigrationError.hbs */ "./src/apps/migration-wizard/views/migration-error/MigrationError.hbs");
|
|
1285
|
-
/* harmony import */ var _MigrationError_hbs__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(_MigrationError_hbs__WEBPACK_IMPORTED_MODULE_20__);
|
|
1286
|
-
/* harmony import */ var _migration_error_scss__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./migration-error.scss */ "./src/apps/migration-wizard/views/migration-error/migration-error.scss");
|
|
1287
|
-
/* harmony import */ var _migration_error_scss__WEBPACK_IMPORTED_MODULE_21___default = /*#__PURE__*/__webpack_require__.n(_migration_error_scss__WEBPACK_IMPORTED_MODULE_21__);
|
|
1288
|
-
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); }
|
|
1289
|
-
|
|
1290
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
1291
|
-
|
|
1292
|
-
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); } }
|
|
1293
|
-
|
|
1294
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
1295
|
-
|
|
1296
|
-
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); }
|
|
1297
|
-
|
|
1298
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
1299
|
-
|
|
1300
|
-
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); }; }
|
|
1301
|
-
|
|
1302
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
1303
|
-
|
|
1304
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
1305
|
-
|
|
1306
|
-
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; } }
|
|
1307
|
-
|
|
1308
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
var SUBMIT_EVENT = 'submit';
|
|
1333
|
-
var PAGE_SIZE = 25;
|
|
1334
|
-
var MigrationErrorView = /*#__PURE__*/function (_Core$View) {
|
|
1335
|
-
_inherits(MigrationErrorView, _Core$View);
|
|
1336
|
-
|
|
1337
|
-
var _super = _createSuper(MigrationErrorView);
|
|
1338
|
-
|
|
1339
|
-
function MigrationErrorView() {
|
|
1340
|
-
_classCallCheck(this, MigrationErrorView);
|
|
1341
|
-
|
|
1342
|
-
return _super.apply(this, arguments);
|
|
1343
|
-
}
|
|
1344
|
-
|
|
1345
|
-
_createClass(MigrationErrorView, [{
|
|
1346
|
-
key: "initialize",
|
|
1347
|
-
value: function initialize() {
|
|
1348
|
-
this.migrationVideoDataService = _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_2__["InstanceManager"].getInstance(_shared_constants__WEBPACK_IMPORTED_MODULE_10__["DataServices"].MigrationVideo, this);
|
|
1349
|
-
this.navLockService = _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_2__["InstanceManager"].getInstance(_shared_constants__WEBPACK_IMPORTED_MODULE_10__["Services"].NavLock, this);
|
|
1350
|
-
this.viewModel = _libs_common_src_backbone_services_ViewModelService__WEBPACK_IMPORTED_MODULE_3__["ViewModelService"].get(_contants_MigrationViewModels__WEBPACK_IMPORTED_MODULE_17__["MigrationViewModels"].SELECTED_VIDEOS);
|
|
1351
|
-
this.previewViewModel = _libs_common_src_backbone_services_ViewModelService__WEBPACK_IMPORTED_MODULE_3__["ViewModelService"].get(_contants_MigrationViewModels__WEBPACK_IMPORTED_MODULE_17__["MigrationViewModels"].OPEN_PREVIEWS);
|
|
1352
|
-
this.listenTo(_shared_constants__WEBPACK_IMPORTED_MODULE_10__["DataChannels"].MIGRATION, "manual:review:videos:sync", this.render);
|
|
1353
|
-
this.listenTo(this.channelName, SUBMIT_EVENT, this.onSubmit);
|
|
1354
|
-
this.listenTo(this.viewModel, 'change', this.onChangeSelected);
|
|
1355
|
-
this.page = 1;
|
|
1356
|
-
}
|
|
1357
|
-
}, {
|
|
1358
|
-
key: "regions",
|
|
1359
|
-
value: function regions() {
|
|
1360
|
-
return {
|
|
1361
|
-
tabs: {
|
|
1362
|
-
el: '.tab-region',
|
|
1363
|
-
replaceElement: true
|
|
1364
|
-
},
|
|
1365
|
-
videos: {
|
|
1366
|
-
el: '.videos-region',
|
|
1367
|
-
partialLoading: _shared_enums__WEBPACK_IMPORTED_MODULE_11__["PartialLoading"].VideoList
|
|
1368
|
-
},
|
|
1369
|
-
footer: {
|
|
1370
|
-
el: '.footer-region',
|
|
1371
|
-
replaceElement: true
|
|
1372
|
-
}
|
|
1373
|
-
};
|
|
1374
|
-
}
|
|
1375
|
-
}, {
|
|
1376
|
-
key: "events",
|
|
1377
|
-
value: function events() {
|
|
1378
|
-
return {
|
|
1379
|
-
'click .approve-all': 'onClickApproveAll',
|
|
1380
|
-
'click .do-not-add': 'onClickDoNotAdd'
|
|
1381
|
-
};
|
|
1382
|
-
}
|
|
1383
|
-
}, {
|
|
1384
|
-
key: "onClickApproveAll",
|
|
1385
|
-
value: function onClickApproveAll() {
|
|
1386
|
-
var keys = {};
|
|
1387
|
-
this.collection.each(function (item) {
|
|
1388
|
-
keys[item.get('id')] = _contants_MigrationErrorActions__WEBPACK_IMPORTED_MODULE_16__["MigrationErrorActions"].USE_ONLINE_COPY;
|
|
1389
|
-
});
|
|
1390
|
-
this.viewModel.set(keys);
|
|
1391
|
-
}
|
|
1392
|
-
}, {
|
|
1393
|
-
key: "onClickDoNotAdd",
|
|
1394
|
-
value: function onClickDoNotAdd() {
|
|
1395
|
-
this.previewViewModel.clear();
|
|
1396
|
-
var keys = {};
|
|
1397
|
-
this.collection.each(function (item) {
|
|
1398
|
-
keys[item.get('id')] = _contants_MigrationErrorActions__WEBPACK_IMPORTED_MODULE_16__["MigrationErrorActions"].DO_NOT_ADD;
|
|
1399
|
-
});
|
|
1400
|
-
this.viewModel.set(keys);
|
|
1401
|
-
}
|
|
1402
|
-
}, {
|
|
1403
|
-
key: "onChangeSelected",
|
|
1404
|
-
value: function onChangeSelected() {
|
|
1405
|
-
if (this.viewModel.keys().length) {
|
|
1406
|
-
this.navLockService.lock({
|
|
1407
|
-
title: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(this.lang, 'navLockTitle'),
|
|
1408
|
-
text: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(this.lang, 'navLockBody')
|
|
1409
|
-
});
|
|
1410
|
-
} else {
|
|
1411
|
-
this.navLockService.unlock();
|
|
1412
|
-
}
|
|
1413
|
-
}
|
|
1414
|
-
}, {
|
|
1415
|
-
key: "getDialog",
|
|
1416
|
-
value: function getDialog(onlineCopyCount, doNotAddCount) {
|
|
1417
|
-
return new _shared_utils__WEBPACK_IMPORTED_MODULE_12__["DialogHelper"]({
|
|
1418
|
-
title: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(this.lang, 'dialogHeading'),
|
|
1419
|
-
text: _ConfirmationDialog_hbs__WEBPACK_IMPORTED_MODULE_19__({
|
|
1420
|
-
onlineCopyCount: onlineCopyCount,
|
|
1421
|
-
onlineCopyCountText: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(this.lang, 'videos', {
|
|
1422
|
-
smartCount: onlineCopyCount
|
|
1423
|
-
}),
|
|
1424
|
-
warningText: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(this.lang, 'warningText', {
|
|
1425
|
-
smartCount: onlineCopyCount
|
|
1426
|
-
}),
|
|
1427
|
-
doNotAddCount: doNotAddCount,
|
|
1428
|
-
doNotAddCountText: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(this.lang, 'videos', {
|
|
1429
|
-
smartCount: doNotAddCount
|
|
1430
|
-
}),
|
|
1431
|
-
styles: _migration_error_scss__WEBPACK_IMPORTED_MODULE_21__,
|
|
1432
|
-
warningSvg: _libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_5__["SvgHelper"].getSvg(_libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_5__["cvSvgLibrary"].Warning)
|
|
1433
|
-
}),
|
|
1434
|
-
buttons: [{
|
|
1435
|
-
text: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(this.lang, 'submit'),
|
|
1436
|
-
className: 'btn btn-primary',
|
|
1437
|
-
success: true
|
|
1438
|
-
}]
|
|
1439
|
-
});
|
|
1440
|
-
}
|
|
1441
|
-
}, {
|
|
1442
|
-
key: "getSelectedVideos",
|
|
1443
|
-
value: function getSelectedVideos() {
|
|
1444
|
-
var _this = this;
|
|
1445
|
-
|
|
1446
|
-
var useOnlineCopyVideos = this.collection.filter(function (video) {
|
|
1447
|
-
return _this.viewModel.get(video.get('id')) === _contants_MigrationErrorActions__WEBPACK_IMPORTED_MODULE_16__["MigrationErrorActions"].USE_ONLINE_COPY;
|
|
1448
|
-
});
|
|
1449
|
-
|
|
1450
|
-
var groupedByCategory = underscore__WEBPACK_IMPORTED_MODULE_0__["groupBy"](useOnlineCopyVideos, function (video) {
|
|
1451
|
-
return video.get('category');
|
|
1452
|
-
});
|
|
1453
|
-
|
|
1454
|
-
var selectedVideos = underscore__WEBPACK_IMPORTED_MODULE_0__["map"](underscore__WEBPACK_IMPORTED_MODULE_0__["keys"](groupedByCategory), function (key) {
|
|
1455
|
-
return {
|
|
1456
|
-
folderChord: key,
|
|
1457
|
-
videoIds: underscore__WEBPACK_IMPORTED_MODULE_0__["map"](groupedByCategory[key], function (item) {
|
|
1458
|
-
return item.get('id');
|
|
1459
|
-
})
|
|
1460
|
-
};
|
|
1461
|
-
});
|
|
1462
|
-
|
|
1463
|
-
return new _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__["Core"].Collection(selectedVideos);
|
|
1464
|
-
}
|
|
1465
|
-
}, {
|
|
1466
|
-
key: "onSubmit",
|
|
1467
|
-
value: function onSubmit() {
|
|
1468
|
-
var _this2 = this;
|
|
1469
|
-
|
|
1470
|
-
var doNotAddVideoIds = [];
|
|
1471
|
-
var useOnlineCopyVideoIds = [];
|
|
1472
|
-
|
|
1473
|
-
underscore__WEBPACK_IMPORTED_MODULE_0__["each"](this.viewModel.keys(), function (k) {
|
|
1474
|
-
var value = _this2.viewModel.get(k);
|
|
1475
|
-
|
|
1476
|
-
if (value === _contants_MigrationErrorActions__WEBPACK_IMPORTED_MODULE_16__["MigrationErrorActions"].DO_NOT_ADD) doNotAddVideoIds.push(+k);
|
|
1477
|
-
if (value === _contants_MigrationErrorActions__WEBPACK_IMPORTED_MODULE_16__["MigrationErrorActions"].USE_ONLINE_COPY) useOnlineCopyVideoIds.push(+k);
|
|
1478
|
-
});
|
|
1479
|
-
|
|
1480
|
-
var dialog = this.getDialog(useOnlineCopyVideoIds.length, doNotAddVideoIds.length);
|
|
1481
|
-
var updateMigrationStatusDone = false;
|
|
1482
|
-
var finaliseCustomerVideosDone = false;
|
|
1483
|
-
var finalisationTaskId = 0;
|
|
1484
|
-
|
|
1485
|
-
var callback = function callback() {
|
|
1486
|
-
if (!updateMigrationStatusDone || !finaliseCustomerVideosDone) return;
|
|
1487
|
-
|
|
1488
|
-
if (useOnlineCopyVideoIds.length) {
|
|
1489
|
-
/**
|
|
1490
|
-
* Silently clear the viewModel so that we don't trigger a re-render
|
|
1491
|
-
* of all the migration errors. This helps mitigate a bug where
|
|
1492
|
-
* lazyload was erroring when attempting to perform an update on
|
|
1493
|
-
* items after they've been removed from the DOM.
|
|
1494
|
-
*/
|
|
1495
|
-
_this2.viewModel.clear({
|
|
1496
|
-
silent: true
|
|
1497
|
-
});
|
|
1498
|
-
|
|
1499
|
-
_this2.navLockService.unlock();
|
|
1500
|
-
|
|
1501
|
-
_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__["Core"].AppLinkHelper.trigger({
|
|
1502
|
-
application: _shared_constants__WEBPACK_IMPORTED_MODULE_10__["AppChannels"].MIGRATION_WIZARD,
|
|
1503
|
-
action: _shared_constants__WEBPACK_IMPORTED_MODULE_10__["Actions"].MigrationWizard.PROGRESS,
|
|
1504
|
-
args: [finalisationTaskId]
|
|
1505
|
-
});
|
|
1506
|
-
} else {
|
|
1507
|
-
_this2.viewModel.clear();
|
|
1508
|
-
|
|
1509
|
-
_this2.migrationVideoDataService.clearCacheAndGetCustomerMetadata();
|
|
1510
|
-
|
|
1511
|
-
_this2.migrationVideoDataService.getManualReviewVideos();
|
|
1512
|
-
|
|
1513
|
-
delete _this2.collectionSubset;
|
|
1514
|
-
}
|
|
1515
|
-
};
|
|
1516
|
-
|
|
1517
|
-
dialog.render().done(function () {
|
|
1518
|
-
_this2.logMigrationActions(useOnlineCopyVideoIds, doNotAddVideoIds);
|
|
1519
|
-
|
|
1520
|
-
if (doNotAddVideoIds.length) {
|
|
1521
|
-
_this2.migrationVideoDataService.updateMigrationStatus(doNotAddVideoIds, _enums_VideoMigrationStatus__WEBPACK_IMPORTED_MODULE_15__["VideoMigrationStatus"].HasNotBeenMigrated, function () {
|
|
1522
|
-
updateMigrationStatusDone = true;
|
|
1523
|
-
callback();
|
|
1524
|
-
});
|
|
1525
|
-
} else {
|
|
1526
|
-
updateMigrationStatusDone = true;
|
|
1527
|
-
}
|
|
1528
|
-
|
|
1529
|
-
if (useOnlineCopyVideoIds.length) {
|
|
1530
|
-
_this2.migrationVideoDataService.finaliseCustomerVideos(_this2.getSelectedVideos(), true, function (finalisationTask) {
|
|
1531
|
-
finaliseCustomerVideosDone = true;
|
|
1532
|
-
finalisationTaskId = finalisationTask.get('id');
|
|
1533
|
-
callback();
|
|
1534
|
-
});
|
|
1535
|
-
} else {
|
|
1536
|
-
finaliseCustomerVideosDone = true;
|
|
1537
|
-
}
|
|
1538
|
-
});
|
|
1539
|
-
}
|
|
1540
|
-
}, {
|
|
1541
|
-
key: "logMigrationActions",
|
|
1542
|
-
value: function logMigrationActions(resolveCollection, dismissCollection) {
|
|
1543
|
-
var _this3 = this;
|
|
1544
|
-
|
|
1545
|
-
if (resolveCollection.length) {
|
|
1546
|
-
var data = underscore__WEBPACK_IMPORTED_MODULE_0__["map"](resolveCollection, function (id) {
|
|
1547
|
-
return _this3.processLogData(id, resolveCollection);
|
|
1548
|
-
});
|
|
1549
|
-
|
|
1550
|
-
this.logData(_libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_7__["UserAction"].ResolveWarning, data);
|
|
1551
|
-
}
|
|
1552
|
-
|
|
1553
|
-
if (dismissCollection.length) {
|
|
1554
|
-
var _data = underscore__WEBPACK_IMPORTED_MODULE_0__["map"](dismissCollection, function (id) {
|
|
1555
|
-
return _this3.processLogData(id, dismissCollection);
|
|
1556
|
-
});
|
|
1557
|
-
|
|
1558
|
-
this.logData(_libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_7__["UserAction"].DismissWarning, _data);
|
|
1559
|
-
}
|
|
1560
|
-
}
|
|
1561
|
-
}, {
|
|
1562
|
-
key: "logData",
|
|
1563
|
-
value: function logData(actionType, data) {
|
|
1564
|
-
var analyticsOptions = {
|
|
1565
|
-
location: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_7__["LocationContext"].MigrationWarnings,
|
|
1566
|
-
entity: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_7__["EntityType"].Video
|
|
1567
|
-
}; // Set action descriptor where all videos have been selected for resolve/dismiss
|
|
1568
|
-
|
|
1569
|
-
var selectedAll = data.length === this.collection.length;
|
|
1570
|
-
_libs_analytics_src_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_8__["AnalyticsHelper"].logUserAction(data, _libs_analytics_src_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_8__["AnalyticsHelper"].mergeOptions(analyticsOptions, {
|
|
1571
|
-
actionType: actionType,
|
|
1572
|
-
descriptor: selectedAll ? _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_7__["OperationDescriptor"].All : _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_7__["OperationDescriptor"].Single
|
|
1573
|
-
}));
|
|
1574
|
-
} // Process and build the data object we're going to log.
|
|
1575
|
-
|
|
1576
|
-
}, {
|
|
1577
|
-
key: "processLogData",
|
|
1578
|
-
value: function processLogData(id, migrationCollection) {
|
|
1579
|
-
var model = this.collection.get(id);
|
|
1580
|
-
|
|
1581
|
-
var _model$pick = model.pick('name', 'trackingCode'),
|
|
1582
|
-
name = _model$pick.name,
|
|
1583
|
-
trackingCode = _model$pick.trackingCode;
|
|
1584
|
-
|
|
1585
|
-
var actionCount = migrationCollection.length;
|
|
1586
|
-
var warningCount = this.collection.length;
|
|
1587
|
-
return {
|
|
1588
|
-
id: id,
|
|
1589
|
-
name: name,
|
|
1590
|
-
trackingCode: trackingCode,
|
|
1591
|
-
actionCount: actionCount,
|
|
1592
|
-
warningCount: warningCount
|
|
1593
|
-
};
|
|
1594
|
-
}
|
|
1595
|
-
}, {
|
|
1596
|
-
key: "unBindScroll",
|
|
1597
|
-
value: function unBindScroll() {
|
|
1598
|
-
var $videosRegion = this.getUI('videos');
|
|
1599
|
-
$videosRegion.off('scroll');
|
|
1600
|
-
}
|
|
1601
|
-
}, {
|
|
1602
|
-
key: "bindScroll",
|
|
1603
|
-
value: function bindScroll() {
|
|
1604
|
-
if (this.scrollBound) return;
|
|
1605
|
-
var $videosRegion = this.getUI('videos');
|
|
1606
|
-
$videosRegion.on('scroll', underscore__WEBPACK_IMPORTED_MODULE_0__["bind"](this.onScroll, this));
|
|
1607
|
-
this.scrollBound = true;
|
|
1608
|
-
}
|
|
1609
|
-
}, {
|
|
1610
|
-
key: "onScroll",
|
|
1611
|
-
value: function onScroll() {
|
|
1612
|
-
var $videosRegion = this.getUI('videos');
|
|
1613
|
-
/**
|
|
1614
|
-
* If we haven't scrolled to the end, do nothing
|
|
1615
|
-
*
|
|
1616
|
-
*/
|
|
1617
|
-
|
|
1618
|
-
var loadMoreThreshold = $videosRegion.children().height() - $videosRegion.height() / 2;
|
|
1619
|
-
if ($videosRegion.scrollTop() + $videosRegion.height() < loadMoreThreshold) return;
|
|
1620
|
-
if (this.page * PAGE_SIZE > this.collection.length) return;
|
|
1621
|
-
this.collectionSubset.add(underscore__WEBPACK_IMPORTED_MODULE_0__["first"](this.collection.rest(this.page * PAGE_SIZE), PAGE_SIZE));
|
|
1622
|
-
this.page++;
|
|
1623
|
-
}
|
|
1624
|
-
}, {
|
|
1625
|
-
key: "viewOptions",
|
|
1626
|
-
value: function viewOptions() {
|
|
1627
|
-
var supportArticle = this.config ? "".concat(this.config.get('supportSiteUrl')).concat(_shared_constants__WEBPACK_IMPORTED_MODULE_10__["SupportArticles"].MANUAL_REVIEW) : '';
|
|
1628
|
-
return {
|
|
1629
|
-
styles: _migration_error_scss__WEBPACK_IMPORTED_MODULE_21__,
|
|
1630
|
-
supportArticle: supportArticle,
|
|
1631
|
-
items: this.collection && this.collection.length
|
|
1632
|
-
};
|
|
1633
|
-
}
|
|
1634
|
-
}, {
|
|
1635
|
-
key: "onBeforeRender",
|
|
1636
|
-
value: function onBeforeRender() {
|
|
1637
|
-
this.collection = this.migrationVideoDataService.getManualReviewVideos();
|
|
1638
|
-
|
|
1639
|
-
if (this.collection && !this.collectionSubset) {
|
|
1640
|
-
this.collectionSubset = new _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__["Core"].Collection(this.collection.first(PAGE_SIZE));
|
|
1641
|
-
}
|
|
1642
|
-
|
|
1643
|
-
return !!this.collection;
|
|
1644
|
-
}
|
|
1645
|
-
}, {
|
|
1646
|
-
key: "onRender",
|
|
1647
|
-
value: function onRender() {
|
|
1648
|
-
this.showChildView('tabs', new _components__WEBPACK_IMPORTED_MODULE_18__["SearchBarComponent"]({
|
|
1649
|
-
selected: 'migration-errors'
|
|
1650
|
-
}));
|
|
1651
|
-
this.showChildView('videos', new _components_errored_video_list_ErroredVideoListComponent__WEBPACK_IMPORTED_MODULE_13__["ErroredVideoListComponent"]({
|
|
1652
|
-
collection: this.collectionSubset,
|
|
1653
|
-
imageCdnUrl: this.config.get('imageCdnUrl'),
|
|
1654
|
-
webplayerUrl: this.config.get('webPlayerUrl')
|
|
1655
|
-
}));
|
|
1656
|
-
this.showChildView('footer', new _components_errored_video_footer_ErroredVideoFooterComponent__WEBPACK_IMPORTED_MODULE_14__["ErroredVideoFooterComponent"]({
|
|
1657
|
-
channelName: this.channelName,
|
|
1658
|
-
submitEvent: SUBMIT_EVENT
|
|
1659
|
-
}));
|
|
1660
|
-
this.bindScroll();
|
|
1661
|
-
}
|
|
1662
|
-
}, {
|
|
1663
|
-
key: "onBeforeDestroy",
|
|
1664
|
-
value: function onBeforeDestroy() {
|
|
1665
|
-
this.unBindScroll();
|
|
1666
|
-
}
|
|
1667
|
-
}, {
|
|
1668
|
-
key: "onDestroy",
|
|
1669
|
-
value: function onDestroy() {
|
|
1670
|
-
_libs_common_src_backbone_services_ViewModelService__WEBPACK_IMPORTED_MODULE_3__["ViewModelService"].clear(_contants_MigrationViewModels__WEBPACK_IMPORTED_MODULE_17__["MigrationViewModels"].OPEN_PREVIEWS);
|
|
1671
|
-
_libs_common_src_backbone_services_ViewModelService__WEBPACK_IMPORTED_MODULE_3__["ViewModelService"].clear(_contants_MigrationViewModels__WEBPACK_IMPORTED_MODULE_17__["MigrationViewModels"].SELECTED_VIDEOS);
|
|
1672
|
-
}
|
|
1673
|
-
}, {
|
|
1674
|
-
key: "name",
|
|
1675
|
-
get: function get() {
|
|
1676
|
-
return 'MigrationErrorView';
|
|
1677
|
-
}
|
|
1678
|
-
}, {
|
|
1679
|
-
key: "title",
|
|
1680
|
-
get: function get() {
|
|
1681
|
-
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(this.lang, 'title');
|
|
1682
|
-
}
|
|
1683
|
-
}, {
|
|
1684
|
-
key: "lang",
|
|
1685
|
-
get: function get() {
|
|
1686
|
-
return 'migrationWizard.migrationError';
|
|
1687
|
-
}
|
|
1688
|
-
}, {
|
|
1689
|
-
key: "channelName",
|
|
1690
|
-
get: function get() {
|
|
1691
|
-
return _shared_utils__WEBPACK_IMPORTED_MODULE_12__["RadioChannelHelper"].generateUniqueChannelName(this);
|
|
1692
|
-
}
|
|
1693
|
-
}, {
|
|
1694
|
-
key: "elements",
|
|
1695
|
-
get: function get() {
|
|
1696
|
-
return {
|
|
1697
|
-
videos: '.videos-region'
|
|
1698
|
-
};
|
|
1699
|
-
}
|
|
1700
|
-
}, {
|
|
1701
|
-
key: "behaviors",
|
|
1702
|
-
get: function get() {
|
|
1703
|
-
return [{
|
|
1704
|
-
behaviorClass: _libs_shared_src_legacy_behaviors_empty_state_EmptyStateBehavior__WEBPACK_IMPORTED_MODULE_6__["EmptyStateBehavior"],
|
|
1705
|
-
region: 'videos',
|
|
1706
|
-
type: _shared_enums__WEBPACK_IMPORTED_MODULE_11__["EmptyState"].ManualReviewVideos,
|
|
1707
|
-
emptyStateComponents: _shared_constants__WEBPACK_IMPORTED_MODULE_10__["EmptyStateComponents"]
|
|
1708
|
-
}];
|
|
1709
|
-
}
|
|
1710
|
-
}, {
|
|
1711
|
-
key: "template",
|
|
1712
|
-
get: function get() {
|
|
1713
|
-
return _MigrationError_hbs__WEBPACK_IMPORTED_MODULE_20__;
|
|
1714
|
-
}
|
|
1715
|
-
}, {
|
|
1716
|
-
key: "className",
|
|
1717
|
-
get: function get() {
|
|
1718
|
-
return "bg-white w-100 ".concat(_migration_error_scss__WEBPACK_IMPORTED_MODULE_21__["migrationErrorView"]);
|
|
1719
|
-
}
|
|
1720
|
-
}, {
|
|
1721
|
-
key: "requiredResources",
|
|
1722
|
-
get: function get() {
|
|
1723
|
-
return {
|
|
1724
|
-
config: _shared_services_ConfigDataService__WEBPACK_IMPORTED_MODULE_9__["ConfigDataServiceHelper"].config
|
|
1725
|
-
};
|
|
1726
|
-
}
|
|
1727
|
-
}]);
|
|
1728
|
-
|
|
1729
|
-
return MigrationErrorView;
|
|
1730
|
-
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__["Core"].View);
|
|
1731
|
-
|
|
1732
|
-
/***/ }),
|
|
1733
|
-
|
|
1734
|
-
/***/ "./src/apps/migration-wizard/views/migration-error/migration-error.scss":
|
|
1735
|
-
/*!******************************************************************************!*\
|
|
1736
|
-
!*** ./src/apps/migration-wizard/views/migration-error/migration-error.scss ***!
|
|
1737
|
-
\******************************************************************************/
|
|
1738
|
-
/*! no static exports found */
|
|
1739
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1740
|
-
|
|
1741
|
-
// extracted by mini-css-extract-plugin
|
|
1742
|
-
module.exports = {"migrationErrorView":"cv--migrationErrorView--1Jo6e","videoContainer":"cv--videoContainer--7tGnj","svgContainer":"cv--svgContainer--csNIF","headingContainer":"cv--headingContainer--30NNv","tabsContainer":"cv--tabsContainer--10__f"};
|
|
1743
|
-
|
|
1744
|
-
/***/ }),
|
|
1745
|
-
|
|
1746
|
-
/***/ "./src/shared/components/video-item/utils/VideoItemComponentTypes.ts":
|
|
1747
|
-
/*!***************************************************************************!*\
|
|
1748
|
-
!*** ./src/shared/components/video-item/utils/VideoItemComponentTypes.ts ***!
|
|
1749
|
-
\***************************************************************************/
|
|
1750
|
-
/*! exports provided: VideoItemComponentType, VideoItemComponentRegion */
|
|
1751
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1752
|
-
|
|
1753
|
-
"use strict";
|
|
1754
|
-
__webpack_require__.r(__webpack_exports__);
|
|
1755
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VideoItemComponentType", function() { return VideoItemComponentType; });
|
|
1756
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VideoItemComponentRegion", function() { return VideoItemComponentRegion; });
|
|
1757
|
-
var VideoItemComponentType;
|
|
1758
|
-
|
|
1759
|
-
(function (VideoItemComponentType) {
|
|
1760
|
-
VideoItemComponentType[VideoItemComponentType["Base"] = 0] = "Base";
|
|
1761
|
-
VideoItemComponentType[VideoItemComponentType["AwaitingReview"] = 1] = "AwaitingReview";
|
|
1762
|
-
VideoItemComponentType[VideoItemComponentType["PastReleases"] = 2] = "PastReleases";
|
|
1763
|
-
VideoItemComponentType[VideoItemComponentType["VideoAccess"] = 3] = "VideoAccess";
|
|
1764
|
-
VideoItemComponentType[VideoItemComponentType["ProcessingVideo"] = 4] = "ProcessingVideo";
|
|
1765
|
-
VideoItemComponentType[VideoItemComponentType["Draggable"] = 5] = "Draggable";
|
|
1766
|
-
VideoItemComponentType[VideoItemComponentType["Search"] = 6] = "Search";
|
|
1767
|
-
})(VideoItemComponentType || (VideoItemComponentType = {}));
|
|
1768
|
-
|
|
1769
|
-
var VideoItemComponentRegion;
|
|
1770
|
-
|
|
1771
|
-
(function (VideoItemComponentRegion) {
|
|
1772
|
-
VideoItemComponentRegion["Checkbox"] = "checkbox";
|
|
1773
|
-
VideoItemComponentRegion["Thumbnail"] = "thumbnail";
|
|
1774
|
-
VideoItemComponentRegion["Metadata"] = "metadata";
|
|
1775
|
-
VideoItemComponentRegion["VideoActions"] = "videoActions";
|
|
1776
|
-
VideoItemComponentRegion["VideoInfo"] = "videoInfo";
|
|
1777
|
-
})(VideoItemComponentRegion || (VideoItemComponentRegion = {}));
|
|
1778
|
-
|
|
1779
|
-
/***/ })
|
|
1780
|
-
|
|
1781
|
-
}]);
|
|
1782
|
-
//# sourceMappingURL=41.chunk.js.map
|