@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/0.chunk.js
DELETED
|
@@ -1,1039 +0,0 @@
|
|
|
1
|
-
(window["webpackJsonp_clickview_library_editor"] = window["webpackJsonp_clickview_library_editor"] || []).push([[0],{
|
|
2
|
-
|
|
3
|
-
/***/ "./src/apps/library-editor/utils/ChapterHelper.ts":
|
|
4
|
-
/*!********************************************************!*\
|
|
5
|
-
!*** ./src/apps/library-editor/utils/ChapterHelper.ts ***!
|
|
6
|
-
\********************************************************/
|
|
7
|
-
/*! exports provided: ChapterHelpers */
|
|
8
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9
|
-
|
|
10
|
-
"use strict";
|
|
11
|
-
__webpack_require__.r(__webpack_exports__);
|
|
12
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ChapterHelpers", function() { return ChapterHelpers; });
|
|
13
|
-
/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! underscore */ "underscore");
|
|
14
|
-
/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(underscore__WEBPACK_IMPORTED_MODULE_0__);
|
|
15
|
-
/* harmony import */ var _shared_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../shared/utils */ "./src/shared/utils/index.ts");
|
|
16
|
-
/* 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");
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
var lang = 'libraryEditor.utils';
|
|
21
|
-
var ChapterHelpers = {
|
|
22
|
-
/**
|
|
23
|
-
* Returns an error message if the start time of a chapter is invalid, or null
|
|
24
|
-
*/
|
|
25
|
-
isValidChapterTime: function isValidChapterTime(model, newTime, duration, collection) {
|
|
26
|
-
if (collection) {
|
|
27
|
-
if (!underscore__WEBPACK_IMPORTED_MODULE_0__["isNumber"](newTime)) return ChapterValidationMessages.StartTime.Invalid(); // Start time can't be greater than length of video or less than 0
|
|
28
|
-
|
|
29
|
-
if (newTime < 0) return ChapterValidationMessages.StartTime.Invalid();
|
|
30
|
-
if (newTime > _shared_utils__WEBPACK_IMPORTED_MODULE_1__["TimeHelpers"].millisecondsToSeconds(duration)) return ChapterValidationMessages.StartTime.Exceeds(); // Make sure start time doesn't already exist
|
|
31
|
-
|
|
32
|
-
var exists = collection.some(function (c) {
|
|
33
|
-
var notModel = !(c.id && c.id === model.id || c.cid === model.cid);
|
|
34
|
-
return notModel && c.get('startTime') === newTime;
|
|
35
|
-
});
|
|
36
|
-
if (exists) return ChapterValidationMessages.StartTime.Exists();
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* Returns an error message if the name of a chapter is invalid, or null
|
|
42
|
-
*/
|
|
43
|
-
isValidChapterName: function isValidChapterName(model, newName, collection) {
|
|
44
|
-
if (!newName) return ChapterValidationMessages.Name.Invalid();
|
|
45
|
-
if (newName.length > 255) return ChapterValidationMessages.Name.MaxLength();
|
|
46
|
-
var exists = collection.some(function (c) {
|
|
47
|
-
var notModel = !(c.id && c.id === model.id || c.cid === model.cid);
|
|
48
|
-
return notModel && c.get('name').trim() === newName.trim();
|
|
49
|
-
});
|
|
50
|
-
if (exists) return ChapterValidationMessages.Name.Exists();
|
|
51
|
-
if (underscore__WEBPACK_IMPORTED_MODULE_0__["isEmpty"](newName.trim())) return ChapterValidationMessages.Name.Invalid();
|
|
52
|
-
},
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* Map our physical chapters against Metachapter models, allowing them to be displayed
|
|
56
|
-
* consisitently within the UI.
|
|
57
|
-
*/
|
|
58
|
-
mapPhysicalChapters: function mapPhysicalChapters(chapters) {
|
|
59
|
-
var totalTime = 0;
|
|
60
|
-
return underscore__WEBPACK_IMPORTED_MODULE_0__["map"](chapters, function (c, i) {
|
|
61
|
-
var chapter = {
|
|
62
|
-
name: c.title,
|
|
63
|
-
startTime: totalTime,
|
|
64
|
-
index: i,
|
|
65
|
-
isPhysicalChapter: true
|
|
66
|
-
};
|
|
67
|
-
totalTime += c.duration;
|
|
68
|
-
return chapter;
|
|
69
|
-
});
|
|
70
|
-
}
|
|
71
|
-
};
|
|
72
|
-
var ChapterValidationMessages = {
|
|
73
|
-
Name: {
|
|
74
|
-
Invalid: function Invalid() {
|
|
75
|
-
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_2__["LanguageService"].getPhrase(lang, 'chapterNameInvalid');
|
|
76
|
-
},
|
|
77
|
-
Exists: function Exists() {
|
|
78
|
-
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_2__["LanguageService"].getPhrase(lang, 'chapterNameExists');
|
|
79
|
-
},
|
|
80
|
-
MaxLength: function MaxLength() {
|
|
81
|
-
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_2__["LanguageService"].getPhrase(lang, 'chapterNameExceeds');
|
|
82
|
-
}
|
|
83
|
-
},
|
|
84
|
-
StartTime: {
|
|
85
|
-
Invalid: function Invalid() {
|
|
86
|
-
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_2__["LanguageService"].getPhrase(lang, 'chapterStartTimeInvalid');
|
|
87
|
-
},
|
|
88
|
-
Exists: function Exists() {
|
|
89
|
-
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_2__["LanguageService"].getPhrase(lang, 'chapterStartTimeExists');
|
|
90
|
-
},
|
|
91
|
-
Exceeds: function Exceeds() {
|
|
92
|
-
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_2__["LanguageService"].getPhrase(lang, 'chapterStartTimeExceeds');
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
};
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
/***/ }),
|
|
99
|
-
|
|
100
|
-
/***/ "./src/apps/library-editor/utils/DownloadHelper.ts":
|
|
101
|
-
/*!*********************************************************!*\
|
|
102
|
-
!*** ./src/apps/library-editor/utils/DownloadHelper.ts ***!
|
|
103
|
-
\*********************************************************/
|
|
104
|
-
/*! exports provided: DownloadHelper */
|
|
105
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
106
|
-
|
|
107
|
-
"use strict";
|
|
108
|
-
__webpack_require__.r(__webpack_exports__);
|
|
109
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DownloadHelper", function() { return DownloadHelper; });
|
|
110
|
-
/* harmony import */ var _libs_common_src_backbone_utils_UrlHelper__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../libs/common/src/backbone/utils/UrlHelper */ "../../libs/common/src/backbone/utils/UrlHelper.ts");
|
|
111
|
-
|
|
112
|
-
var DownloadHelper = {
|
|
113
|
-
getVideoDownloadUrl: function getVideoDownloadUrl(downloadProxyUrl, token) {
|
|
114
|
-
return _libs_common_src_backbone_utils_UrlHelper__WEBPACK_IMPORTED_MODULE_0__["UrlHelper"].safeUrlConcat(_libs_common_src_backbone_utils_UrlHelper__WEBPACK_IMPORTED_MODULE_0__["UrlHelper"].makeHttps(downloadProxyUrl), "/download?token=".concat(token));
|
|
115
|
-
}
|
|
116
|
-
};
|
|
117
|
-
|
|
118
|
-
/***/ }),
|
|
119
|
-
|
|
120
|
-
/***/ "./src/apps/library-editor/utils/EditVideoHelpers.ts":
|
|
121
|
-
/*!***********************************************************!*\
|
|
122
|
-
!*** ./src/apps/library-editor/utils/EditVideoHelpers.ts ***!
|
|
123
|
-
\***********************************************************/
|
|
124
|
-
/*! exports provided: EditVideoHelpers, VideoValidation, ResourceValidation, ProductionYearValidation, SuggestEditValidation, SuggestEditRatingValidation, FieldValidation, FieldAssocValidation, GetDefaultFields, ResourceLinkValidation, SeasonValidation */
|
|
125
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
126
|
-
|
|
127
|
-
"use strict";
|
|
128
|
-
__webpack_require__.r(__webpack_exports__);
|
|
129
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EditVideoHelpers", function() { return EditVideoHelpers; });
|
|
130
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VideoValidation", function() { return VideoValidation; });
|
|
131
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ResourceValidation", function() { return ResourceValidation; });
|
|
132
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ProductionYearValidation", function() { return ProductionYearValidation; });
|
|
133
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SuggestEditValidation", function() { return SuggestEditValidation; });
|
|
134
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SuggestEditRatingValidation", function() { return SuggestEditRatingValidation; });
|
|
135
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FieldValidation", function() { return FieldValidation; });
|
|
136
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FieldAssocValidation", function() { return FieldAssocValidation; });
|
|
137
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GetDefaultFields", function() { return GetDefaultFields; });
|
|
138
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ResourceLinkValidation", function() { return ResourceLinkValidation; });
|
|
139
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SeasonValidation", function() { return SeasonValidation; });
|
|
140
|
-
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
141
|
-
/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! underscore */ "underscore");
|
|
142
|
-
/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(underscore__WEBPACK_IMPORTED_MODULE_1__);
|
|
143
|
-
/* harmony import */ var _libs_common_src_backbone_errors_DevError__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../../libs/common/src/backbone/errors/DevError */ "../../libs/common/src/backbone/errors/DevError.ts");
|
|
144
|
-
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! moment */ "moment");
|
|
145
|
-
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_3__);
|
|
146
|
-
/* 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");
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
var lang = 'libraryEditor.utils';
|
|
153
|
-
/**
|
|
154
|
-
* Remove certain properties from being detected as part of the change set.
|
|
155
|
-
* This is important when we are managing assocs manually, they shouldn't be passed
|
|
156
|
-
* with the call to update the video.
|
|
157
|
-
*/
|
|
158
|
-
|
|
159
|
-
var omitProperties = ['tags', 'thumbnail', 'chapters', 'resources', 'subtitles', 'disabled', 'links', 'restrictions', 'categories'];
|
|
160
|
-
|
|
161
|
-
function _getChanges(initialState, updatedState) {
|
|
162
|
-
if (!initialState) return;
|
|
163
|
-
|
|
164
|
-
var updatedKeys = underscore__WEBPACK_IMPORTED_MODULE_1__["reduce"](initialState, function (result, val, key) {
|
|
165
|
-
var updatedVal = updatedState[key];
|
|
166
|
-
if (!val && !updatedVal) return result; // Ignore assoc changes that share the same ID
|
|
167
|
-
|
|
168
|
-
if (underscore__WEBPACK_IMPORTED_MODULE_1__["isObject"](val) && underscore__WEBPACK_IMPORTED_MODULE_1__["isObject"](updatedVal) && !underscore__WEBPACK_IMPORTED_MODULE_1__["isUndefined"](val.id) && val.id === updatedVal.id) return result;
|
|
169
|
-
|
|
170
|
-
if (underscore__WEBPACK_IMPORTED_MODULE_1__["isArray"](val)) {
|
|
171
|
-
return getArrayChanges(val, updatedVal).length ? result.concat(key) : result;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
return underscore__WEBPACK_IMPORTED_MODULE_1__["isEqual"](val, updatedVal) ? result : result.concat(key);
|
|
175
|
-
}, []);
|
|
176
|
-
|
|
177
|
-
if (!updatedKeys.length) return;
|
|
178
|
-
return underscore__WEBPACK_IMPORTED_MODULE_1__["object"](underscore__WEBPACK_IMPORTED_MODULE_1__["map"](updatedKeys, function (key) {
|
|
179
|
-
if (underscore__WEBPACK_IMPORTED_MODULE_1__["isArray"](updatedState[key])) return [key, getArrayChanges(initialState[key], updatedState[key])];
|
|
180
|
-
return [key, updatedState[key]];
|
|
181
|
-
}));
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
function getArrayChanges(originalArray, newArray) {
|
|
185
|
-
var modified = [];
|
|
186
|
-
|
|
187
|
-
underscore__WEBPACK_IMPORTED_MODULE_1__["each"](newArray, function (updatedItem) {
|
|
188
|
-
var original = underscore__WEBPACK_IMPORTED_MODULE_1__["findWhere"](originalArray, {
|
|
189
|
-
id: updatedItem.id
|
|
190
|
-
}); // Item has been removed. We do not want this to be detected here.
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
if (underscore__WEBPACK_IMPORTED_MODULE_1__["isUndefined"](original) && Object.keys(updatedItem).length === 0) return;
|
|
194
|
-
var changes = underscore__WEBPACK_IMPORTED_MODULE_1__["isUndefined"](original) ? updatedItem : _getChanges(original, updatedItem);
|
|
195
|
-
if (!changes) return;
|
|
196
|
-
/**
|
|
197
|
-
* We treat objects with a negative id as new objects.
|
|
198
|
-
*
|
|
199
|
-
* This was added so that we could have default items on the
|
|
200
|
-
* video model that get persisted if the user changes them - Sha
|
|
201
|
-
*/
|
|
202
|
-
|
|
203
|
-
if (updatedItem.id < 0 && !updatedItem.value) return;
|
|
204
|
-
|
|
205
|
-
if (!original || updatedItem.id < 0) {
|
|
206
|
-
modified.push(updatedItem);
|
|
207
|
-
return;
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
changes.id = updatedItem.id;
|
|
211
|
-
modified.push(changes);
|
|
212
|
-
});
|
|
213
|
-
|
|
214
|
-
return modified;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
var EditVideoHelpers = {
|
|
218
|
-
getChanges: function getChanges(video, viewModel) {
|
|
219
|
-
var initialState = underscore__WEBPACK_IMPORTED_MODULE_1__["omit"](video.toJSON(), omitProperties);
|
|
220
|
-
|
|
221
|
-
var updatedState = underscore__WEBPACK_IMPORTED_MODULE_1__["omit"](viewModel.toJSON(), omitProperties);
|
|
222
|
-
|
|
223
|
-
var changes = _getChanges(initialState, updatedState);
|
|
224
|
-
|
|
225
|
-
if (!changes) return;
|
|
226
|
-
return underscore__WEBPACK_IMPORTED_MODULE_1__["object"](underscore__WEBPACK_IMPORTED_MODULE_1__["map"](underscore__WEBPACK_IMPORTED_MODULE_1__["keys"](changes), function (key) {
|
|
227
|
-
return [key, EditVideoHelpers.formatChanges(key, changes[key])];
|
|
228
|
-
}));
|
|
229
|
-
},
|
|
230
|
-
|
|
231
|
-
/**
|
|
232
|
-
* Format video data model to be updated within Master
|
|
233
|
-
*/
|
|
234
|
-
formatChanges: function formatChanges(key, updatedVal) {
|
|
235
|
-
if (!updatedVal) return null; // Dissoc object
|
|
236
|
-
|
|
237
|
-
if (underscore__WEBPACK_IMPORTED_MODULE_1__["isObject"](updatedVal) && underscore__WEBPACK_IMPORTED_MODULE_1__["isEmpty"](updatedVal)) return null;
|
|
238
|
-
|
|
239
|
-
switch (key) {
|
|
240
|
-
case 'name':
|
|
241
|
-
case 'description':
|
|
242
|
-
case 'productionYear':
|
|
243
|
-
case 'dateBroadcast':
|
|
244
|
-
case 'fields':
|
|
245
|
-
case 'episodeNumber':
|
|
246
|
-
return updatedVal;
|
|
247
|
-
|
|
248
|
-
case 'channel':
|
|
249
|
-
case 'series':
|
|
250
|
-
case 'rating':
|
|
251
|
-
case 'season':
|
|
252
|
-
return {
|
|
253
|
-
id: updatedVal.id
|
|
254
|
-
};
|
|
255
|
-
|
|
256
|
-
case 'distributors':
|
|
257
|
-
case 'producers':
|
|
258
|
-
case 'directors':
|
|
259
|
-
case 'productionCompanies':
|
|
260
|
-
return underscore__WEBPACK_IMPORTED_MODULE_1__["map"](updatedVal, function (val) {
|
|
261
|
-
return val.id;
|
|
262
|
-
});
|
|
263
|
-
// We should never be updating dateModified
|
|
264
|
-
|
|
265
|
-
case 'dateModified': // hasBroadcast is just used within the UI and shouldn't be persisted to master
|
|
266
|
-
|
|
267
|
-
case 'hasBroadcast':
|
|
268
|
-
return;
|
|
269
|
-
|
|
270
|
-
default:
|
|
271
|
-
_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].ErrorHelper.throw(new _libs_common_src_backbone_errors_DevError__WEBPACK_IMPORTED_MODULE_2__["DevError"]("There are no formatting settings for ".concat(key)));
|
|
272
|
-
}
|
|
273
|
-
},
|
|
274
|
-
|
|
275
|
-
/**
|
|
276
|
-
* Update our model state - the order here is important.
|
|
277
|
-
* 1. Update the viewModel to be aligned against the new server model. The server model
|
|
278
|
-
* only contains base attributes (without any assocs), so we first need to merge this against
|
|
279
|
-
* the viewModel in case we have updated assocs.
|
|
280
|
-
*
|
|
281
|
-
* 2. Update the base model to be a copy of the current viewModel, this ensures that changes
|
|
282
|
-
* to any assocs are also carried across.
|
|
283
|
-
*
|
|
284
|
-
* 3. Clear any assocs that have actually changed
|
|
285
|
-
*/
|
|
286
|
-
updateModelState: function updateModelState(model, viewModel, updatedVideo) {
|
|
287
|
-
// Collection arrays for updatedVideo only contain NEW models. Here, we override the value to include ALL models
|
|
288
|
-
var collections = ['distributors', 'producers', 'directors', 'productionCompanies'];
|
|
289
|
-
|
|
290
|
-
underscore__WEBPACK_IMPORTED_MODULE_1__["each"](underscore__WEBPACK_IMPORTED_MODULE_1__["keys"](updatedVideo), function (key) {
|
|
291
|
-
if (!collections.includes(key)) return;
|
|
292
|
-
updatedVideo[key] = viewModel.get(key).toJSON();
|
|
293
|
-
}); // Clone the update as it appears to be mutated when setting the viewModel - which is a bug.
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
viewModel.set(underscore__WEBPACK_IMPORTED_MODULE_1__["clone"](updatedVideo), {
|
|
297
|
-
silent: true
|
|
298
|
-
});
|
|
299
|
-
model.set(viewModel.toJSON(), {
|
|
300
|
-
silent: true
|
|
301
|
-
});
|
|
302
|
-
/**
|
|
303
|
-
* We need to check if we've removed an assoc and manually reset
|
|
304
|
-
* it on the video model. We do this against the updatedClone as its
|
|
305
|
-
* props haven't been mutated.
|
|
306
|
-
*/
|
|
307
|
-
|
|
308
|
-
for (var attr in updatedVideo) {
|
|
309
|
-
var value = updatedVideo[attr]; // Only clear the model if the value is falsey and has an assoc
|
|
310
|
-
|
|
311
|
-
if (value) continue;
|
|
312
|
-
if (!model.associations[attr]) continue;
|
|
313
|
-
var assoc = model.get(attr);
|
|
314
|
-
if (assoc instanceof _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].Model || assoc instanceof _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].NestedModel) assoc.clear();
|
|
315
|
-
}
|
|
316
|
-
},
|
|
317
|
-
getRemovedObjectIds: function getRemovedObjectIds(model, newModel) {
|
|
318
|
-
var objectTypes = ['distributors', 'productionCompanies', 'producers', 'directors'];
|
|
319
|
-
var dissocs = {};
|
|
320
|
-
|
|
321
|
-
underscore__WEBPACK_IMPORTED_MODULE_1__["each"](underscore__WEBPACK_IMPORTED_MODULE_1__["keys"](model.toJSON()), function (key) {
|
|
322
|
-
if (!underscore__WEBPACK_IMPORTED_MODULE_1__["contains"](objectTypes, key)) return;
|
|
323
|
-
var originalIds = model.get(key).map(function (originalModel) {
|
|
324
|
-
return originalModel.id;
|
|
325
|
-
});
|
|
326
|
-
var newIds = newModel.get(key).map(function (newCollectionModel) {
|
|
327
|
-
return newCollectionModel.id;
|
|
328
|
-
});
|
|
329
|
-
|
|
330
|
-
var ids = underscore__WEBPACK_IMPORTED_MODULE_1__["filter"](originalIds, function (id) {
|
|
331
|
-
return id && !underscore__WEBPACK_IMPORTED_MODULE_1__["contains"](newIds, id);
|
|
332
|
-
});
|
|
333
|
-
|
|
334
|
-
if (ids.length) dissocs[key] = ids;
|
|
335
|
-
});
|
|
336
|
-
|
|
337
|
-
return dissocs;
|
|
338
|
-
}
|
|
339
|
-
};
|
|
340
|
-
var VideoValidation = {
|
|
341
|
-
name: [{
|
|
342
|
-
required: true,
|
|
343
|
-
msg: function msg() {
|
|
344
|
-
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(lang, 'videoTitleRequired');
|
|
345
|
-
}
|
|
346
|
-
}, {
|
|
347
|
-
maxLength: 255,
|
|
348
|
-
msg: function msg() {
|
|
349
|
-
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(lang, 'videoTitleExceeds');
|
|
350
|
-
}
|
|
351
|
-
}],
|
|
352
|
-
description: [{
|
|
353
|
-
required: false
|
|
354
|
-
}, {
|
|
355
|
-
maxLength: 65535,
|
|
356
|
-
msg: function msg() {
|
|
357
|
-
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(lang, 'videoDescriptionExceeds');
|
|
358
|
-
}
|
|
359
|
-
}],
|
|
360
|
-
episodeNumber: function episodeNumber(value, key, model) {
|
|
361
|
-
if (value && value < 1) return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(lang, 'episodeNumberLessThanOne');
|
|
362
|
-
if (value && value > 2147483647) return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(lang, 'episodeNumberExceeds');
|
|
363
|
-
if (value % 1 !== 0) return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(lang, 'episodeNumberNotWhole');
|
|
364
|
-
if (model.season && model.season.get('number') >= 0 && value === null) return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(lang, 'episodeNumberNoSeason');
|
|
365
|
-
return '';
|
|
366
|
-
},
|
|
367
|
-
season: function season(value, key, model) {
|
|
368
|
-
if ((!model.season || !model.season.get('number')) && (!value || !value.number) && model.episodeNumber) return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(lang, 'seasonNoEpisodeNumber');
|
|
369
|
-
return '';
|
|
370
|
-
}
|
|
371
|
-
};
|
|
372
|
-
var currentYear = moment__WEBPACK_IMPORTED_MODULE_3__().year();
|
|
373
|
-
var ProductionYearValidation = {
|
|
374
|
-
productionYear: function productionYear(value) {
|
|
375
|
-
if (!value && value !== 0) return '';
|
|
376
|
-
value = +value;
|
|
377
|
-
if (isNaN(value)) return 'Production year must be a number.';
|
|
378
|
-
if (value < 1900 || value > currentYear) return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(lang, 'validProductionYears', {
|
|
379
|
-
currentYear: currentYear
|
|
380
|
-
});
|
|
381
|
-
}
|
|
382
|
-
};
|
|
383
|
-
var ResourceValidation = {
|
|
384
|
-
name: [{
|
|
385
|
-
required: true,
|
|
386
|
-
msg: function msg() {
|
|
387
|
-
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(lang, 'resourceNameRequired');
|
|
388
|
-
}
|
|
389
|
-
}]
|
|
390
|
-
};
|
|
391
|
-
var SuggestEditValidation = {
|
|
392
|
-
suggestion: [{
|
|
393
|
-
required: true,
|
|
394
|
-
msg: function msg() {
|
|
395
|
-
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(lang, 'suggestEditRequired');
|
|
396
|
-
}
|
|
397
|
-
}, {
|
|
398
|
-
maxLength: 65535,
|
|
399
|
-
msg: function msg() {
|
|
400
|
-
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(lang, 'suggestEditExceeds');
|
|
401
|
-
}
|
|
402
|
-
}],
|
|
403
|
-
reason: [{
|
|
404
|
-
required: true,
|
|
405
|
-
msg: function msg() {
|
|
406
|
-
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(lang, 'suggestEditReasonRequired');
|
|
407
|
-
}
|
|
408
|
-
}, {
|
|
409
|
-
maxLength: 65535,
|
|
410
|
-
msg: function msg() {
|
|
411
|
-
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(lang, 'suggestEditReasonExceeds');
|
|
412
|
-
}
|
|
413
|
-
}]
|
|
414
|
-
};
|
|
415
|
-
var SeasonValidation = {
|
|
416
|
-
number: function number(value) {
|
|
417
|
-
if (!value) return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(lang, 'seasonRequired');
|
|
418
|
-
if (+value < 1) return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(lang, 'seasonLessThanOne');
|
|
419
|
-
if (+value > 255) return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(lang, 'seasonExceeds');
|
|
420
|
-
if (+value % 1 !== 0) return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(lang, 'seasonNotWhole');
|
|
421
|
-
return '';
|
|
422
|
-
}
|
|
423
|
-
};
|
|
424
|
-
var SuggestEditRatingValidation = {
|
|
425
|
-
empty: function empty() {
|
|
426
|
-
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(lang, 'suggestEditRatingRequired');
|
|
427
|
-
},
|
|
428
|
-
original: function original() {
|
|
429
|
-
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(lang, 'suggestEditRatingInvalid');
|
|
430
|
-
}
|
|
431
|
-
};
|
|
432
|
-
var ResourceLinkValidation = {
|
|
433
|
-
url: [{
|
|
434
|
-
required: true,
|
|
435
|
-
pattern: 'url',
|
|
436
|
-
msg: function msg() {
|
|
437
|
-
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(lang, 'linkUrlRequired');
|
|
438
|
-
}
|
|
439
|
-
}, {
|
|
440
|
-
maxLength: 65535,
|
|
441
|
-
msg: function msg() {
|
|
442
|
-
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(lang, 'linkUrlExceeds');
|
|
443
|
-
}
|
|
444
|
-
}],
|
|
445
|
-
name: [{
|
|
446
|
-
required: true,
|
|
447
|
-
msg: function msg() {
|
|
448
|
-
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(lang, 'linkNameRequired');
|
|
449
|
-
}
|
|
450
|
-
}, {
|
|
451
|
-
maxLength: 255,
|
|
452
|
-
msg: function msg() {
|
|
453
|
-
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(lang, 'linkNameExceeds');
|
|
454
|
-
}
|
|
455
|
-
}]
|
|
456
|
-
};
|
|
457
|
-
var FieldValidation = {
|
|
458
|
-
name: [{
|
|
459
|
-
maxLength: 128,
|
|
460
|
-
msg: function msg() {
|
|
461
|
-
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(lang, 'fieldNameExceeds');
|
|
462
|
-
}
|
|
463
|
-
}],
|
|
464
|
-
value: [{
|
|
465
|
-
maxLength: 16000,
|
|
466
|
-
msg: function msg() {
|
|
467
|
-
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(lang, 'fieldValueExceeds');
|
|
468
|
-
}
|
|
469
|
-
}]
|
|
470
|
-
};
|
|
471
|
-
var FieldAssocValidation = {
|
|
472
|
-
fields: function fields(_fields) {
|
|
473
|
-
if (!_fields || !_fields.length) return '';
|
|
474
|
-
return _fields.all(function (f) {
|
|
475
|
-
return f.isValid() !== false;
|
|
476
|
-
}) ? '' : _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(lang, 'fieldsInvalid');
|
|
477
|
-
}
|
|
478
|
-
};
|
|
479
|
-
|
|
480
|
-
function GetDefaultFields() {
|
|
481
|
-
return [{
|
|
482
|
-
/**
|
|
483
|
-
* We use a negative id so GetChanges above can discern
|
|
484
|
-
* a new field vs a changed field
|
|
485
|
-
*/
|
|
486
|
-
id: -1,
|
|
487
|
-
name: 'Admin Notes',
|
|
488
|
-
value: '',
|
|
489
|
-
placeholder: 'Notes that only admins will see'
|
|
490
|
-
}];
|
|
491
|
-
}
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
/***/ }),
|
|
496
|
-
|
|
497
|
-
/***/ "./src/apps/library-editor/utils/FolderValidation.ts":
|
|
498
|
-
/*!***********************************************************!*\
|
|
499
|
-
!*** ./src/apps/library-editor/utils/FolderValidation.ts ***!
|
|
500
|
-
\***********************************************************/
|
|
501
|
-
/*! exports provided: FolderValidation */
|
|
502
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
503
|
-
|
|
504
|
-
"use strict";
|
|
505
|
-
__webpack_require__.r(__webpack_exports__);
|
|
506
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FolderValidation", function() { return FolderValidation; });
|
|
507
|
-
/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! underscore */ "underscore");
|
|
508
|
-
/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(underscore__WEBPACK_IMPORTED_MODULE_0__);
|
|
509
|
-
/* harmony import */ var _shared_utils_FolderTreeHelpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../shared/utils/FolderTreeHelpers */ "./src/shared/utils/FolderTreeHelpers.ts");
|
|
510
|
-
/* harmony import */ var _shared_constants_Misc__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../shared/constants/Misc */ "./src/shared/constants/Misc.ts");
|
|
511
|
-
/* harmony import */ var _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../libs/common/src/backbone/services/LanguageService */ "../../libs/common/src/backbone/services/LanguageService.tsx");
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
var lang = 'libraryEditor.utils';
|
|
517
|
-
var FolderNameValidation = {
|
|
518
|
-
name: [{
|
|
519
|
-
required: true,
|
|
520
|
-
msg: function msg() {
|
|
521
|
-
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_3__["LanguageService"].getPhrase(lang, 'folderNameRequired');
|
|
522
|
-
}
|
|
523
|
-
}, {
|
|
524
|
-
maxLength: 255,
|
|
525
|
-
msg: function msg() {
|
|
526
|
-
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_3__["LanguageService"].getPhrase(lang, 'folderNameExceeds');
|
|
527
|
-
}
|
|
528
|
-
}]
|
|
529
|
-
};
|
|
530
|
-
|
|
531
|
-
var FolderParentValidation = function FolderParentValidation(folder, collection) {
|
|
532
|
-
return {
|
|
533
|
-
parentId: function parentId(value) {
|
|
534
|
-
if (!value) {
|
|
535
|
-
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_3__["LanguageService"].getPhrase(lang, 'selectParentFolder');
|
|
536
|
-
}
|
|
537
|
-
|
|
538
|
-
var depth = _shared_utils_FolderTreeHelpers__WEBPACK_IMPORTED_MODULE_1__["FolderTreeHelpers"].calculateDestinationFolderDepth(folder, value, collection);
|
|
539
|
-
/**
|
|
540
|
-
* Only allow a move where the destination folder (and the depth of its ancestorss) + the selected folder
|
|
541
|
-
* AND the depth of its children does not exceed the max folder length
|
|
542
|
-
*/
|
|
543
|
-
|
|
544
|
-
if (depth > _shared_constants_Misc__WEBPACK_IMPORTED_MODULE_2__["MiscConstants"].MAX_FOLDER_DEPTH) {
|
|
545
|
-
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_3__["LanguageService"].getPhrase(lang, 'maxFolderDepth', {
|
|
546
|
-
maxDepth: _shared_constants_Misc__WEBPACK_IMPORTED_MODULE_2__["MiscConstants"].MAX_FOLDER_DEPTH
|
|
547
|
-
});
|
|
548
|
-
}
|
|
549
|
-
|
|
550
|
-
return '';
|
|
551
|
-
}
|
|
552
|
-
};
|
|
553
|
-
};
|
|
554
|
-
|
|
555
|
-
var FolderValidation = function FolderValidation(options) {
|
|
556
|
-
var validateName = options.validateName,
|
|
557
|
-
validateParent = options.validateParent,
|
|
558
|
-
folder = options.folder,
|
|
559
|
-
collection = options.collection;
|
|
560
|
-
if (validateName && validateParent) return underscore__WEBPACK_IMPORTED_MODULE_0__["extend"]({}, FolderNameValidation, FolderParentValidation(folder, collection));
|
|
561
|
-
if (validateName) return FolderNameValidation;
|
|
562
|
-
if (validateParent) return FolderParentValidation(folder, collection);
|
|
563
|
-
};
|
|
564
|
-
|
|
565
|
-
/***/ }),
|
|
566
|
-
|
|
567
|
-
/***/ "./src/apps/library-editor/utils/LanguageValidation.ts":
|
|
568
|
-
/*!*************************************************************!*\
|
|
569
|
-
!*** ./src/apps/library-editor/utils/LanguageValidation.ts ***!
|
|
570
|
-
\*************************************************************/
|
|
571
|
-
/*! exports provided: LanguageValidation */
|
|
572
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
573
|
-
|
|
574
|
-
"use strict";
|
|
575
|
-
__webpack_require__.r(__webpack_exports__);
|
|
576
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LanguageValidation", function() { return LanguageValidation; });
|
|
577
|
-
/* harmony import */ var _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../libs/common/src/backbone/services/LanguageService */ "../../libs/common/src/backbone/services/LanguageService.tsx");
|
|
578
|
-
|
|
579
|
-
var LanguageValidation = {
|
|
580
|
-
code: [{
|
|
581
|
-
required: true,
|
|
582
|
-
msg: function msg() {
|
|
583
|
-
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_0__["LanguageService"].getPhrase('libraryEditor.utils', 'languageRequired');
|
|
584
|
-
}
|
|
585
|
-
}]
|
|
586
|
-
};
|
|
587
|
-
|
|
588
|
-
/***/ }),
|
|
589
|
-
|
|
590
|
-
/***/ "./src/apps/library-editor/utils/LibraryValidation.ts":
|
|
591
|
-
/*!************************************************************!*\
|
|
592
|
-
!*** ./src/apps/library-editor/utils/LibraryValidation.ts ***!
|
|
593
|
-
\************************************************************/
|
|
594
|
-
/*! exports provided: LibraryValidation */
|
|
595
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
596
|
-
|
|
597
|
-
"use strict";
|
|
598
|
-
__webpack_require__.r(__webpack_exports__);
|
|
599
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LibraryValidation", function() { return LibraryValidation; });
|
|
600
|
-
/* harmony import */ var _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../libs/common/src/backbone/services/LanguageService */ "../../libs/common/src/backbone/services/LanguageService.tsx");
|
|
601
|
-
|
|
602
|
-
var lang = 'libraryEditor.utils';
|
|
603
|
-
var LibraryValidation = {
|
|
604
|
-
name: [{
|
|
605
|
-
required: true,
|
|
606
|
-
msg: function msg() {
|
|
607
|
-
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_0__["LanguageService"].getPhrase(lang, 'libraryNameRequired');
|
|
608
|
-
}
|
|
609
|
-
}, {
|
|
610
|
-
maxLength: 255,
|
|
611
|
-
msg: function msg() {
|
|
612
|
-
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_0__["LanguageService"].getPhrase(lang, 'libraryNameExceeds');
|
|
613
|
-
}
|
|
614
|
-
}]
|
|
615
|
-
};
|
|
616
|
-
|
|
617
|
-
/***/ }),
|
|
618
|
-
|
|
619
|
-
/***/ "./src/apps/library-editor/utils/UploadVideoValidation.ts":
|
|
620
|
-
/*!****************************************************************!*\
|
|
621
|
-
!*** ./src/apps/library-editor/utils/UploadVideoValidation.ts ***!
|
|
622
|
-
\****************************************************************/
|
|
623
|
-
/*! exports provided: UploadVideoValidation */
|
|
624
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
625
|
-
|
|
626
|
-
"use strict";
|
|
627
|
-
__webpack_require__.r(__webpack_exports__);
|
|
628
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "UploadVideoValidation", function() { return UploadVideoValidation; });
|
|
629
|
-
/* harmony import */ var _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../libs/common/src/backbone/services/LanguageService */ "../../libs/common/src/backbone/services/LanguageService.tsx");
|
|
630
|
-
/* harmony import */ var _EditVideoHelpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./EditVideoHelpers */ "./src/apps/library-editor/utils/EditVideoHelpers.ts");
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
var lang = 'libraryEditor.utils';
|
|
634
|
-
var getPhrase = _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_0__["LanguageService"].encloseNamespace(lang);
|
|
635
|
-
var UploadVideoValidation = {
|
|
636
|
-
name: [{
|
|
637
|
-
required: true,
|
|
638
|
-
msg: function msg() {
|
|
639
|
-
return getPhrase('videoTitleRequired');
|
|
640
|
-
}
|
|
641
|
-
}],
|
|
642
|
-
folderId: [{
|
|
643
|
-
required: true,
|
|
644
|
-
msg: function msg() {
|
|
645
|
-
return getPhrase('uploadFolderRequired');
|
|
646
|
-
}
|
|
647
|
-
}],
|
|
648
|
-
libraryId: [{
|
|
649
|
-
required: true,
|
|
650
|
-
msg: function msg() {
|
|
651
|
-
return getPhrase('uploadLibraryRequired');
|
|
652
|
-
}
|
|
653
|
-
}],
|
|
654
|
-
episodeNumber: function episodeNumber(value, key, model) {
|
|
655
|
-
if (value && value < 1) return getPhrase('episodeNumberLessThanOne');
|
|
656
|
-
if (value && value > 255) return getPhrase('episodeNumberExceeds');
|
|
657
|
-
if (value && value % 1 !== 0) return getPhrase('episodeNumberNotWhole');
|
|
658
|
-
if (model.season && model.season.get('number') >= 0 && value === null) return getPhrase('episodeNumberNoSeason');
|
|
659
|
-
return '';
|
|
660
|
-
},
|
|
661
|
-
season: function season(value, key, model) {
|
|
662
|
-
if ((!model.season || !model.season.get('number')) && (!value || !value.number) && model.episodeNumber) return getPhrase('seasonNoEpisodeNumber');
|
|
663
|
-
return '';
|
|
664
|
-
},
|
|
665
|
-
productionYear: function productionYear() {
|
|
666
|
-
var _ProductionYearValida;
|
|
667
|
-
|
|
668
|
-
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
669
|
-
args[_key] = arguments[_key];
|
|
670
|
-
}
|
|
671
|
-
|
|
672
|
-
return (_ProductionYearValida = _EditVideoHelpers__WEBPACK_IMPORTED_MODULE_1__["ProductionYearValidation"].productionYear).apply.apply(_ProductionYearValida, [null].concat(args));
|
|
673
|
-
}
|
|
674
|
-
};
|
|
675
|
-
|
|
676
|
-
/***/ }),
|
|
677
|
-
|
|
678
|
-
/***/ "./src/apps/library-editor/utils/VideoDetailsHelper.ts":
|
|
679
|
-
/*!*************************************************************!*\
|
|
680
|
-
!*** ./src/apps/library-editor/utils/VideoDetailsHelper.ts ***!
|
|
681
|
-
\*************************************************************/
|
|
682
|
-
/*! exports provided: VideoDetailsHelper */
|
|
683
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
684
|
-
|
|
685
|
-
"use strict";
|
|
686
|
-
__webpack_require__.r(__webpack_exports__);
|
|
687
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VideoDetailsHelper", function() { return VideoDetailsHelper; });
|
|
688
|
-
/* harmony import */ var _libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../libs/shared/src/utils/SvgHelper */ "../../libs/shared/src/utils/SvgHelper.ts");
|
|
689
|
-
/* harmony import */ var _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../libs/common/src/backbone/services/LanguageService */ "../../libs/common/src/backbone/services/LanguageService.tsx");
|
|
690
|
-
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../constants */ "./src/apps/library-editor/constants/index.ts");
|
|
691
|
-
/* harmony import */ var _shared_collections_MetadataCollection__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../shared/collections/MetadataCollection */ "./src/shared/collections/MetadataCollection.ts");
|
|
692
|
-
/* harmony import */ var _libs_shared_src_enums_MasterObjectTypes__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../../libs/shared/src/enums/MasterObjectTypes */ "../../libs/shared/src/enums/MasterObjectTypes.ts");
|
|
693
|
-
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; }
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
var lang = 'libraryEditor.utils'; // File types match metadata for a resource FileApi
|
|
701
|
-
|
|
702
|
-
var FileType;
|
|
703
|
-
|
|
704
|
-
(function (FileType) {
|
|
705
|
-
FileType["Pdf"] = "pdf";
|
|
706
|
-
FileType["Image"] = "image";
|
|
707
|
-
FileType["PowerPoint"] = "powerpoint";
|
|
708
|
-
FileType["Document"] = "document";
|
|
709
|
-
FileType["Excel"] = "excel";
|
|
710
|
-
FileType["Zip"] = "archive";
|
|
711
|
-
FileType["File"] = "text";
|
|
712
|
-
})(FileType || (FileType = {}));
|
|
713
|
-
|
|
714
|
-
var VideoDetailsHelper = {
|
|
715
|
-
mapRatingToClass: function mapRatingToClass(ratingValue) {
|
|
716
|
-
if (!ratingValue) return '';
|
|
717
|
-
|
|
718
|
-
var ratings = function ratings(rating) {
|
|
719
|
-
switch (true) {
|
|
720
|
-
case rating < 32:
|
|
721
|
-
return 'bg-purple';
|
|
722
|
-
|
|
723
|
-
case rating < 48:
|
|
724
|
-
return 'bg-success';
|
|
725
|
-
|
|
726
|
-
case rating < 80:
|
|
727
|
-
return 'bg-info';
|
|
728
|
-
|
|
729
|
-
case rating < 96:
|
|
730
|
-
return 'bg-danger';
|
|
731
|
-
|
|
732
|
-
case rating < 128:
|
|
733
|
-
return 'bg-pink';
|
|
734
|
-
|
|
735
|
-
case rating >= 128:
|
|
736
|
-
return 'bg-warning';
|
|
737
|
-
|
|
738
|
-
default:
|
|
739
|
-
return '';
|
|
740
|
-
// Handles unrated
|
|
741
|
-
}
|
|
742
|
-
};
|
|
743
|
-
|
|
744
|
-
return ratings(ratingValue);
|
|
745
|
-
},
|
|
746
|
-
mapSourceToDisplayName: function mapSourceToDisplayName(library) {
|
|
747
|
-
switch (library.get('type')) {
|
|
748
|
-
case _libs_shared_src_enums_MasterObjectTypes__WEBPACK_IMPORTED_MODULE_4__["MasterObjectTypes"].HostedLibrary:
|
|
749
|
-
case _libs_shared_src_enums_MasterObjectTypes__WEBPACK_IMPORTED_MODULE_4__["MasterObjectTypes"].CustomLibrary:
|
|
750
|
-
return library.get('name');
|
|
751
|
-
|
|
752
|
-
case _libs_shared_src_enums_MasterObjectTypes__WEBPACK_IMPORTED_MODULE_4__["MasterObjectTypes"].Exchange:
|
|
753
|
-
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_1__["LanguageService"].getPhrase(lang, 'exchange');
|
|
754
|
-
|
|
755
|
-
case _libs_shared_src_enums_MasterObjectTypes__WEBPACK_IMPORTED_MODULE_4__["MasterObjectTypes"].Workspace:
|
|
756
|
-
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_1__["LanguageService"].getPhrase(lang, 'workspace');
|
|
757
|
-
|
|
758
|
-
default:
|
|
759
|
-
return '';
|
|
760
|
-
}
|
|
761
|
-
},
|
|
762
|
-
mapSourceToClass: function mapSourceToClass(sourceType) {
|
|
763
|
-
switch (sourceType) {
|
|
764
|
-
case _libs_shared_src_enums_MasterObjectTypes__WEBPACK_IMPORTED_MODULE_4__["MasterObjectTypes"].HostedLibrary:
|
|
765
|
-
case _libs_shared_src_enums_MasterObjectTypes__WEBPACK_IMPORTED_MODULE_4__["MasterObjectTypes"].CustomLibrary:
|
|
766
|
-
return 'bg-info';
|
|
767
|
-
|
|
768
|
-
case _libs_shared_src_enums_MasterObjectTypes__WEBPACK_IMPORTED_MODULE_4__["MasterObjectTypes"].Exchange:
|
|
769
|
-
return 'bg-success';
|
|
770
|
-
|
|
771
|
-
case _libs_shared_src_enums_MasterObjectTypes__WEBPACK_IMPORTED_MODULE_4__["MasterObjectTypes"].Workspace:
|
|
772
|
-
default:
|
|
773
|
-
return 'bg-danger';
|
|
774
|
-
}
|
|
775
|
-
},
|
|
776
|
-
isInteractive: function isInteractive(video) {
|
|
777
|
-
if (!video || !video.interactives) return false;
|
|
778
|
-
return !!video.interactives.length;
|
|
779
|
-
},
|
|
780
|
-
mapTypeToSvg: function mapTypeToSvg(type) {
|
|
781
|
-
var _types;
|
|
782
|
-
|
|
783
|
-
var types = (_types = {}, _defineProperty(_types, FileType.Pdf, _libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_0__["cvSvgLibrary"].FilePDF), _defineProperty(_types, FileType.Image, _libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_0__["cvSvgLibrary"].FileImg), _defineProperty(_types, FileType.PowerPoint, _libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_0__["cvSvgLibrary"].FilePowerpoint), _defineProperty(_types, FileType.Document, _libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_0__["cvSvgLibrary"].FileWord), _defineProperty(_types, FileType.Excel, _libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_0__["cvSvgLibrary"].FileExcel), _defineProperty(_types, FileType.Zip, _libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_0__["cvSvgLibrary"].FileZip), _defineProperty(_types, FileType.File, _libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_0__["cvSvgLibrary"].File), _types);
|
|
784
|
-
var mappedType = types[type];
|
|
785
|
-
if (!mappedType) mappedType = _libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_0__["cvSvgLibrary"].Folder;
|
|
786
|
-
return _libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_0__["SvgHelper"].getSvg(mappedType);
|
|
787
|
-
},
|
|
788
|
-
mapTypeToClass: function mapTypeToClass(type) {
|
|
789
|
-
switch (type) {
|
|
790
|
-
case FileType.Pdf:
|
|
791
|
-
return 'icon-red';
|
|
792
|
-
|
|
793
|
-
case FileType.Image:
|
|
794
|
-
return 'icon-purple';
|
|
795
|
-
|
|
796
|
-
case FileType.Document:
|
|
797
|
-
return 'icon-blue';
|
|
798
|
-
|
|
799
|
-
case FileType.Excel:
|
|
800
|
-
return 'icon-green';
|
|
801
|
-
|
|
802
|
-
case FileType.PowerPoint:
|
|
803
|
-
return 'icon-orange';
|
|
804
|
-
|
|
805
|
-
case FileType.Zip:
|
|
806
|
-
return 'icon-teal';
|
|
807
|
-
|
|
808
|
-
case FileType.File:
|
|
809
|
-
return 'icon-gray';
|
|
810
|
-
|
|
811
|
-
default:
|
|
812
|
-
return '';
|
|
813
|
-
}
|
|
814
|
-
},
|
|
815
|
-
mapTypeToExtension: function mapTypeToExtension(type) {
|
|
816
|
-
if (!type) return '';
|
|
817
|
-
var extensions = {
|
|
818
|
-
pdf: 'pdf',
|
|
819
|
-
image: 'png',
|
|
820
|
-
powerpoint: 'pptx'
|
|
821
|
-
};
|
|
822
|
-
return extensions[type.toLowerCase()];
|
|
823
|
-
},
|
|
824
|
-
mapTypeToName: function mapTypeToName(type) {
|
|
825
|
-
if (!type) return '';
|
|
826
|
-
|
|
827
|
-
switch (type) {
|
|
828
|
-
case FileType.Pdf:
|
|
829
|
-
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_1__["LanguageService"].getPhrase(lang, 'pdf');
|
|
830
|
-
|
|
831
|
-
case FileType.Image:
|
|
832
|
-
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_1__["LanguageService"].getPhrase(lang, 'image');
|
|
833
|
-
|
|
834
|
-
case FileType.Document:
|
|
835
|
-
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_1__["LanguageService"].getPhrase(lang, 'document');
|
|
836
|
-
|
|
837
|
-
case FileType.Excel:
|
|
838
|
-
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_1__["LanguageService"].getPhrase(lang, 'spreadsheet');
|
|
839
|
-
|
|
840
|
-
case FileType.PowerPoint:
|
|
841
|
-
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_1__["LanguageService"].getPhrase(lang, 'presentation');
|
|
842
|
-
|
|
843
|
-
case FileType.Zip:
|
|
844
|
-
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_1__["LanguageService"].getPhrase(lang, 'zipArchive');
|
|
845
|
-
|
|
846
|
-
case FileType.File:
|
|
847
|
-
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_1__["LanguageService"].getPhrase(lang, 'file');
|
|
848
|
-
|
|
849
|
-
default:
|
|
850
|
-
return '';
|
|
851
|
-
}
|
|
852
|
-
},
|
|
853
|
-
translateMetadataCollectionNames: function translateMetadataCollectionNames(collection) {
|
|
854
|
-
return new _shared_collections_MetadataCollection__WEBPACK_IMPORTED_MODULE_3__["MetadataCollection"](collection.map(function (metadata) {
|
|
855
|
-
return Object.assign(Object.assign({}, metadata.toJSON()), {
|
|
856
|
-
name: VideoDetailsHelper.translateMetadataName(metadata.get('name'))
|
|
857
|
-
});
|
|
858
|
-
}));
|
|
859
|
-
},
|
|
860
|
-
translateMetadataName: function translateMetadataName(metadata) {
|
|
861
|
-
var languageKey = 'suggestEdit';
|
|
862
|
-
|
|
863
|
-
switch (metadata) {
|
|
864
|
-
case _constants__WEBPACK_IMPORTED_MODULE_2__["MetadataType"].VideoTitle:
|
|
865
|
-
languageKey += 'VideoTitle';
|
|
866
|
-
break;
|
|
867
|
-
|
|
868
|
-
case _constants__WEBPACK_IMPORTED_MODULE_2__["MetadataType"].Description:
|
|
869
|
-
languageKey += 'Description';
|
|
870
|
-
break;
|
|
871
|
-
|
|
872
|
-
case _constants__WEBPACK_IMPORTED_MODULE_2__["MetadataType"].Rating:
|
|
873
|
-
languageKey += 'Rating';
|
|
874
|
-
break;
|
|
875
|
-
|
|
876
|
-
case _constants__WEBPACK_IMPORTED_MODULE_2__["MetadataType"].SeriesTitle:
|
|
877
|
-
languageKey += 'SeriesTitle';
|
|
878
|
-
break;
|
|
879
|
-
|
|
880
|
-
case _constants__WEBPACK_IMPORTED_MODULE_2__["MetadataType"].Season:
|
|
881
|
-
languageKey += 'SeasonNumber';
|
|
882
|
-
break;
|
|
883
|
-
|
|
884
|
-
case _constants__WEBPACK_IMPORTED_MODULE_2__["MetadataType"].EpisodeNumber:
|
|
885
|
-
languageKey += 'EpisodeNumber';
|
|
886
|
-
break;
|
|
887
|
-
|
|
888
|
-
case _constants__WEBPACK_IMPORTED_MODULE_2__["MetadataType"].BroadcastDate:
|
|
889
|
-
languageKey += 'BroadcastDate';
|
|
890
|
-
break;
|
|
891
|
-
|
|
892
|
-
case _constants__WEBPACK_IMPORTED_MODULE_2__["MetadataType"].Channel:
|
|
893
|
-
languageKey += 'Channel';
|
|
894
|
-
break;
|
|
895
|
-
|
|
896
|
-
case _constants__WEBPACK_IMPORTED_MODULE_2__["MetadataType"].ProductionYear:
|
|
897
|
-
languageKey += 'ProductionYear';
|
|
898
|
-
break;
|
|
899
|
-
|
|
900
|
-
case _constants__WEBPACK_IMPORTED_MODULE_2__["MetadataType"].Distributors:
|
|
901
|
-
languageKey += 'Distributors';
|
|
902
|
-
break;
|
|
903
|
-
|
|
904
|
-
case _constants__WEBPACK_IMPORTED_MODULE_2__["MetadataType"].ProductionCompanies:
|
|
905
|
-
languageKey += 'ProductionCompanies';
|
|
906
|
-
break;
|
|
907
|
-
|
|
908
|
-
case _constants__WEBPACK_IMPORTED_MODULE_2__["MetadataType"].Directors:
|
|
909
|
-
languageKey += 'Directors';
|
|
910
|
-
break;
|
|
911
|
-
|
|
912
|
-
case _constants__WEBPACK_IMPORTED_MODULE_2__["MetadataType"].Producers:
|
|
913
|
-
languageKey += 'Producers';
|
|
914
|
-
break;
|
|
915
|
-
|
|
916
|
-
case _constants__WEBPACK_IMPORTED_MODULE_2__["MetadataType"].Other:
|
|
917
|
-
languageKey += 'Other';
|
|
918
|
-
break;
|
|
919
|
-
}
|
|
920
|
-
|
|
921
|
-
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_1__["LanguageService"].getPhrase(lang, languageKey);
|
|
922
|
-
}
|
|
923
|
-
};
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
/***/ }),
|
|
927
|
-
|
|
928
|
-
/***/ "./src/apps/library-editor/utils/index.ts":
|
|
929
|
-
/*!************************************************!*\
|
|
930
|
-
!*** ./src/apps/library-editor/utils/index.ts ***!
|
|
931
|
-
\************************************************/
|
|
932
|
-
/*! exports provided: FolderValidation, ChapterHelpers, EditVideoHelpers, VideoValidation, ResourceValidation, ProductionYearValidation, SuggestEditValidation, SuggestEditRatingValidation, FieldValidation, FieldAssocValidation, GetDefaultFields, ResourceLinkValidation, SeasonValidation, LanguageValidation, LibraryValidation, UploadVideoValidation, VideoDetailsHelper, DownloadHelper */
|
|
933
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
934
|
-
|
|
935
|
-
"use strict";
|
|
936
|
-
__webpack_require__.r(__webpack_exports__);
|
|
937
|
-
/* harmony import */ var _ChapterHelper__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ChapterHelper */ "./src/apps/library-editor/utils/ChapterHelper.ts");
|
|
938
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ChapterHelpers", function() { return _ChapterHelper__WEBPACK_IMPORTED_MODULE_0__["ChapterHelpers"]; });
|
|
939
|
-
|
|
940
|
-
/* harmony import */ var _EditVideoHelpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./EditVideoHelpers */ "./src/apps/library-editor/utils/EditVideoHelpers.ts");
|
|
941
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "EditVideoHelpers", function() { return _EditVideoHelpers__WEBPACK_IMPORTED_MODULE_1__["EditVideoHelpers"]; });
|
|
942
|
-
|
|
943
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "VideoValidation", function() { return _EditVideoHelpers__WEBPACK_IMPORTED_MODULE_1__["VideoValidation"]; });
|
|
944
|
-
|
|
945
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ResourceValidation", function() { return _EditVideoHelpers__WEBPACK_IMPORTED_MODULE_1__["ResourceValidation"]; });
|
|
946
|
-
|
|
947
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ProductionYearValidation", function() { return _EditVideoHelpers__WEBPACK_IMPORTED_MODULE_1__["ProductionYearValidation"]; });
|
|
948
|
-
|
|
949
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SuggestEditValidation", function() { return _EditVideoHelpers__WEBPACK_IMPORTED_MODULE_1__["SuggestEditValidation"]; });
|
|
950
|
-
|
|
951
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SuggestEditRatingValidation", function() { return _EditVideoHelpers__WEBPACK_IMPORTED_MODULE_1__["SuggestEditRatingValidation"]; });
|
|
952
|
-
|
|
953
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "FieldValidation", function() { return _EditVideoHelpers__WEBPACK_IMPORTED_MODULE_1__["FieldValidation"]; });
|
|
954
|
-
|
|
955
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "FieldAssocValidation", function() { return _EditVideoHelpers__WEBPACK_IMPORTED_MODULE_1__["FieldAssocValidation"]; });
|
|
956
|
-
|
|
957
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "GetDefaultFields", function() { return _EditVideoHelpers__WEBPACK_IMPORTED_MODULE_1__["GetDefaultFields"]; });
|
|
958
|
-
|
|
959
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ResourceLinkValidation", function() { return _EditVideoHelpers__WEBPACK_IMPORTED_MODULE_1__["ResourceLinkValidation"]; });
|
|
960
|
-
|
|
961
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SeasonValidation", function() { return _EditVideoHelpers__WEBPACK_IMPORTED_MODULE_1__["SeasonValidation"]; });
|
|
962
|
-
|
|
963
|
-
/* harmony import */ var _FolderValidation__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./FolderValidation */ "./src/apps/library-editor/utils/FolderValidation.ts");
|
|
964
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "FolderValidation", function() { return _FolderValidation__WEBPACK_IMPORTED_MODULE_2__["FolderValidation"]; });
|
|
965
|
-
|
|
966
|
-
/* harmony import */ var _LanguageValidation__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./LanguageValidation */ "./src/apps/library-editor/utils/LanguageValidation.ts");
|
|
967
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "LanguageValidation", function() { return _LanguageValidation__WEBPACK_IMPORTED_MODULE_3__["LanguageValidation"]; });
|
|
968
|
-
|
|
969
|
-
/* harmony import */ var _LibraryValidation__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./LibraryValidation */ "./src/apps/library-editor/utils/LibraryValidation.ts");
|
|
970
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "LibraryValidation", function() { return _LibraryValidation__WEBPACK_IMPORTED_MODULE_4__["LibraryValidation"]; });
|
|
971
|
-
|
|
972
|
-
/* harmony import */ var _UploadVideoValidation__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./UploadVideoValidation */ "./src/apps/library-editor/utils/UploadVideoValidation.ts");
|
|
973
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "UploadVideoValidation", function() { return _UploadVideoValidation__WEBPACK_IMPORTED_MODULE_5__["UploadVideoValidation"]; });
|
|
974
|
-
|
|
975
|
-
/* harmony import */ var _VideoDetailsHelper__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./VideoDetailsHelper */ "./src/apps/library-editor/utils/VideoDetailsHelper.ts");
|
|
976
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "VideoDetailsHelper", function() { return _VideoDetailsHelper__WEBPACK_IMPORTED_MODULE_6__["VideoDetailsHelper"]; });
|
|
977
|
-
|
|
978
|
-
/* harmony import */ var _DownloadHelper__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./DownloadHelper */ "./src/apps/library-editor/utils/DownloadHelper.ts");
|
|
979
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DownloadHelper", function() { return _DownloadHelper__WEBPACK_IMPORTED_MODULE_7__["DownloadHelper"]; });
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
/***/ }),
|
|
991
|
-
|
|
992
|
-
/***/ "./src/shared/collections/MetadataCollection.ts":
|
|
993
|
-
/*!******************************************************!*\
|
|
994
|
-
!*** ./src/shared/collections/MetadataCollection.ts ***!
|
|
995
|
-
\******************************************************/
|
|
996
|
-
/*! exports provided: MetadataCollection */
|
|
997
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
998
|
-
|
|
999
|
-
"use strict";
|
|
1000
|
-
__webpack_require__.r(__webpack_exports__);
|
|
1001
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MetadataCollection", function() { return MetadataCollection; });
|
|
1002
|
-
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
1003
|
-
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); }
|
|
1004
|
-
|
|
1005
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
1006
|
-
|
|
1007
|
-
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); }
|
|
1008
|
-
|
|
1009
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
1010
|
-
|
|
1011
|
-
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); }; }
|
|
1012
|
-
|
|
1013
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
1014
|
-
|
|
1015
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
1016
|
-
|
|
1017
|
-
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; } }
|
|
1018
|
-
|
|
1019
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
var MetadataCollection = /*#__PURE__*/function (_Core$Collection) {
|
|
1023
|
-
_inherits(MetadataCollection, _Core$Collection);
|
|
1024
|
-
|
|
1025
|
-
var _super = _createSuper(MetadataCollection);
|
|
1026
|
-
|
|
1027
|
-
function MetadataCollection() {
|
|
1028
|
-
_classCallCheck(this, MetadataCollection);
|
|
1029
|
-
|
|
1030
|
-
return _super.apply(this, arguments);
|
|
1031
|
-
}
|
|
1032
|
-
|
|
1033
|
-
return MetadataCollection;
|
|
1034
|
-
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].Collection);
|
|
1035
|
-
|
|
1036
|
-
/***/ })
|
|
1037
|
-
|
|
1038
|
-
}]);
|
|
1039
|
-
//# sourceMappingURL=0.chunk.js.map
|