@clickview/library-editor 1.1.27-dev.1 → 1.1.27-rc.1
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/dist/css/library-editor-app.css +7 -0
- package/dist/en.json +1 -1
- package/dist/scripts/0-50fae6c404.chunk.js +1 -0
- package/dist/scripts/1-35adeca043.chunk.js +1 -0
- package/dist/scripts/10-e3de119a32.chunk.js +1 -0
- package/dist/scripts/{11-9f5f0c25dc.chunk.js → 11-c1c04528d4.chunk.js} +1 -1
- package/dist/scripts/12-fdb4fd076b.chunk.js +1 -0
- package/dist/scripts/13-b71e7a002a.chunk.js +1 -0
- package/dist/scripts/14-be81c6b0a6.chunk.js +1 -0
- package/dist/scripts/15-bbe23da473.chunk.js +1 -0
- package/dist/scripts/{16-0971cabfc8.chunk.js → 16-45b853d9bc.chunk.js} +1 -1
- package/dist/scripts/{17-f364868870.chunk.js → 17-17e648d740.chunk.js} +1 -1
- package/dist/scripts/{2-cd7f1d10b5.chunk.js → 2-0c5c3204bb.chunk.js} +1 -1
- package/dist/scripts/20-fc03a8058d.chunk.js +1 -0
- package/dist/scripts/21-bf788bdc47.chunk.js +1 -0
- package/dist/scripts/22-c309ac8872.chunk.js +1 -0
- package/dist/scripts/23-4e4a6eef7f.chunk.js +1 -0
- package/dist/scripts/24-3dbcc6079d.chunk.js +1 -0
- package/dist/scripts/25-8f6c37473c.chunk.js +1 -0
- package/dist/scripts/26-e7665934ea.chunk.js +1 -0
- package/dist/scripts/27-ece4a707c2.chunk.js +1 -0
- package/dist/scripts/28-f7b0b6ca0a.chunk.js +1 -0
- package/dist/scripts/29-7b0d55eef4.chunk.js +1 -0
- package/dist/scripts/{3-4694b66aa5.chunk.js → 3-c977fc76a1.chunk.js} +1 -1
- package/dist/scripts/30-07198d4b80.chunk.js +1 -0
- package/dist/scripts/31-558e4b9448.chunk.js +1 -0
- package/dist/scripts/{32-a1543ffe27.chunk.js → 32-66bedea19f.chunk.js} +1 -1
- package/dist/scripts/{33-9685703df6.chunk.js → 33-1c0a05f5ad.chunk.js} +1 -1
- package/dist/scripts/34-0261454401.chunk.js +1 -0
- package/dist/scripts/35-80afabad2f.chunk.js +1 -0
- package/dist/scripts/36-0945816998.chunk.js +1 -0
- package/dist/scripts/{37-80589d542e.chunk.js → 37-f9eaead96b.chunk.js} +1 -1
- package/dist/scripts/{38-7e88534f67.chunk.js → 38-ee287180e0.chunk.js} +1 -1
- package/dist/scripts/{39-99824f3b64.chunk.js → 39-875e8edab4.chunk.js} +1 -1
- package/dist/scripts/{4-ad1e4b43da.chunk.js → 4-30febbcd74.chunk.js} +1 -1
- package/dist/scripts/{40-dbfd665c74.chunk.js → 40-9e6fe972eb.chunk.js} +1 -1
- package/dist/scripts/{41-25fbac3d17.chunk.js → 41-8e127683ef.chunk.js} +1 -1
- package/dist/scripts/42-26e2b69676.chunk.js +1 -0
- package/dist/scripts/{43-5ef29feb2c.chunk.js → 43-cd5d61f503.chunk.js} +1 -1
- package/dist/scripts/{44-223f602431.chunk.js → 44-50adae17aa.chunk.js} +1 -1
- package/dist/scripts/{45-344492a36f.chunk.js → 45-d6cc086a40.chunk.js} +1 -1
- package/dist/scripts/{46-9ca7afd6a4.chunk.js → 46-c3131aa1a1.chunk.js} +1 -1
- package/dist/scripts/{47-ac0c9c5ce1.chunk.js → 47-53cc918c2d.chunk.js} +1 -1
- package/dist/scripts/{48-6bf590b9a0.chunk.js → 48-e37164e96c.chunk.js} +1 -1
- package/dist/scripts/49-f18c7b7f2d.chunk.js +1 -0
- package/dist/scripts/5-ae2739be4b.chunk.js +1 -0
- package/dist/scripts/{50-30ba08212e.chunk.js → 50-77cc32280d.chunk.js} +1 -1
- package/dist/scripts/{51-828972defb.chunk.js → 51-718582f5a0.chunk.js} +1 -1
- package/dist/scripts/{52-b2acf3e742.chunk.js → 52-8bab7f4183.chunk.js} +1 -1
- package/dist/scripts/{53-5d6ea94871.chunk.js → 53-051f6fefda.chunk.js} +1 -1
- package/dist/scripts/{54-2d8bd6fde0.chunk.js → 54-54ab674027.chunk.js} +1 -1
- package/dist/scripts/{55-4a8d360746.chunk.js → 55-5620cb1984.chunk.js} +1 -1
- package/dist/scripts/{56-ad12ebab5f.chunk.js → 56-d515b7881b.chunk.js} +1 -1
- package/dist/scripts/{57-53b89c2ef0.chunk.js → 57-34cc7eeda7.chunk.js} +1 -1
- package/dist/scripts/{58-b246abe78c.chunk.js → 58-095cc86c38.chunk.js} +1 -1
- package/dist/scripts/{59-19290686e0.chunk.js → 59-88d4d70542.chunk.js} +1 -1
- package/dist/scripts/6-64fc0b404b.chunk.js +1 -0
- package/dist/scripts/{60-0c075e7b5c.chunk.js → 60-8e040e4d8f.chunk.js} +1 -1
- package/dist/scripts/{61-2725bbfab2.chunk.js → 61-9acfcad39c.chunk.js} +1 -1
- package/dist/scripts/{62-472d10a18e.chunk.js → 62-ab4cf2e18e.chunk.js} +1 -1
- package/dist/scripts/{63-7d00e50441.chunk.js → 63-be24981a1c.chunk.js} +1 -1
- package/dist/scripts/{64-1b42f78644.chunk.js → 64-2acf78f1d5.chunk.js} +1 -1
- package/dist/scripts/{65-14af88c745.chunk.js → 65-37aed4a31d.chunk.js} +1 -1
- package/dist/scripts/{66-bc274df13a.chunk.js → 66-bb4cde602a.chunk.js} +1 -1
- package/dist/scripts/{67-d1edef09d6.chunk.js → 67-04c0737fd2.chunk.js} +1 -1
- package/dist/scripts/{68-52468201b9.chunk.js → 68-436667d096.chunk.js} +1 -1
- package/dist/scripts/{69-b681e9a99c.chunk.js → 69-4dd38a6827.chunk.js} +1 -1
- package/dist/scripts/{7-2807a666bc.chunk.js → 7-5194b748c8.chunk.js} +1 -1
- package/dist/scripts/{70-d4018838a9.chunk.js → 70-d52ccba56d.chunk.js} +1 -1
- package/dist/scripts/{71-29cce07c7f.chunk.js → 71-b7f95045b5.chunk.js} +1 -1
- package/dist/scripts/{72-6f83214b8d.chunk.js → 72-b1eb475df0.chunk.js} +1 -1
- package/dist/scripts/{8-8f44e8bfc4.chunk.js → 8-d2d772bc05.chunk.js} +1 -1
- package/dist/scripts/9-160db7db67.chunk.js +1 -0
- package/dist/scripts/bundle-0eadf8a695.min.js +8 -0
- package/dist/scripts/bundles.json +2 -2
- package/dist/scripts/polyfills-292fbd05c8.min.js +1 -0
- package/package.json +4 -4
- 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/analytics/src/Analytics.d.ts +0 -10
- package/dist/libs/analytics/src/AnalyticsHelper.d.ts +0 -30
- package/dist/libs/analytics/src/AnalyticsService.d.ts +0 -52
- package/dist/libs/analytics/src/clients/BaseAnalyticsClient.d.ts +0 -24
- package/dist/libs/analytics/src/clients/CollectionApiClient.d.ts +0 -48
- package/dist/libs/analytics/src/clients/DebuggerClient.d.ts +0 -7
- package/dist/libs/analytics/src/clients/GoogleAnalyticsClient.d.ts +0 -22
- package/dist/libs/analytics/src/constants/ApplicationOptionsKey.d.ts +0 -1
- package/dist/libs/analytics/src/constants/CountryRegionMapping.d.ts +0 -7
- package/dist/libs/analytics/src/constants/EventFirehose.d.ts +0 -4
- package/dist/libs/analytics/src/constants/GlobalChannels.d.ts +0 -3
- package/dist/libs/analytics/src/constants/Regions.d.ts +0 -6
- package/dist/libs/analytics/src/constants/Services.d.ts +0 -4
- package/dist/libs/analytics/src/enrichers/BaseAnalyticsEnricher.d.ts +0 -19
- package/dist/libs/analytics/src/enrichers/CoreContextEnricher.d.ts +0 -22
- package/dist/libs/analytics/src/enrichers/UserDataEnricher.d.ts +0 -10
- package/dist/libs/analytics/src/enums/CountryCode.d.ts +0 -5
- package/dist/libs/analytics/src/enums/RegionName.d.ts +0 -5
- package/dist/libs/analytics/src/interfaces/AnalyticsTypes.d.ts +0 -317
- package/dist/libs/analytics/src/interfaces/Config.d.ts +0 -3
- package/dist/libs/analytics/src/interfaces/Folder.d.ts +0 -3
- package/dist/libs/analytics/src/interfaces/HashObject.d.ts +0 -3
- package/dist/libs/analytics/src/interfaces/Owner.d.ts +0 -3
- package/dist/libs/analytics/src/interfaces/Playlist.d.ts +0 -3
- package/dist/libs/analytics/src/interfaces/Rating.d.ts +0 -4
- package/dist/libs/analytics/src/interfaces/Region.d.ts +0 -5
- package/dist/libs/analytics/src/interfaces/RegionalUrl.d.ts +0 -5
- package/dist/libs/analytics/src/interfaces/Resource.d.ts +0 -5
- package/dist/libs/analytics/src/interfaces/Series.d.ts +0 -3
- package/dist/libs/analytics/src/interfaces/Subtitle.d.ts +0 -4
- package/dist/libs/analytics/src/interfaces/User.d.ts +0 -17
- package/dist/libs/analytics/src/interfaces/VersionData.d.ts +0 -4
- package/dist/libs/analytics/src/interfaces/Video.d.ts +0 -16
- package/dist/libs/analytics/src/interfaces/index.d.ts +0 -15
- package/dist/libs/analytics/src/interfaces/primitives/BaseObject.d.ts +0 -7
- package/dist/libs/analytics/src/models/AnalyticsEvent.d.ts +0 -49
- package/dist/libs/analytics/src/models/CollectionEvent.d.ts +0 -61
- package/dist/libs/analytics/src/services/ContextService.d.ts +0 -19
- package/dist/libs/analytics/src/transport/EventTransport.d.ts +0 -39
- package/dist/libs/analytics/src/utils/CollectionApiClientHelper.d.ts +0 -6
- package/dist/libs/analytics/src/utils/DataFormatHelper.d.ts +0 -14
- package/dist/libs/analytics/src/utils/EventWhitelistHelper.d.ts +0 -19
- package/dist/libs/analytics/src/utils/ObjectFormatHelper.d.ts +0 -5
- package/dist/libs/analytics/src/utils/TypeHelper.d.ts +0 -4
- package/dist/libs/analytics/src/utils/UploadDataFormatHelper.d.ts +0 -10
- package/dist/libs/analytics/src/utils/UrlHelper.d.ts +0 -3
- package/dist/libs/analytics/src/utils/UserAgentHelper.d.ts +0 -10
- package/dist/libs/analytics/src/utils/VideoAnalyticsTracker.d.ts +0 -51
- package/dist/libs/analytics/src/utils/VideoDataFormatHelper.d.ts +0 -42
- package/dist/libs/common/src/backbone/constants/BehaviorChannels.d.ts +0 -5
- package/dist/libs/common/src/backbone/constants/Caches.d.ts +0 -3
- package/dist/libs/common/src/backbone/constants/CommonChannels.d.ts +0 -5
- package/dist/libs/common/src/backbone/constants/CommonServices.d.ts +0 -4
- package/dist/libs/common/src/backbone/constants/DataProviders.d.ts +0 -4
- package/dist/libs/common/src/backbone/constants/Webplayer.d.ts +0 -65
- package/dist/libs/common/src/backbone/core/AppLink.d.ts +0 -37
- package/dist/libs/common/src/backbone/core/BaseAppRouter.d.ts +0 -103
- package/dist/libs/common/src/backbone/core/BaseApplication.d.ts +0 -76
- package/dist/libs/common/src/backbone/core/BaseBehavior.d.ts +0 -6
- package/dist/libs/common/src/backbone/core/BaseCollection.d.ts +0 -7
- package/dist/libs/common/src/backbone/core/BaseCollectionView.d.ts +0 -16
- package/dist/libs/common/src/backbone/core/BaseError.d.ts +0 -18
- package/dist/libs/common/src/backbone/core/BaseLayoutView.d.ts +0 -11
- package/dist/libs/common/src/backbone/core/BaseModel.d.ts +0 -27
- package/dist/libs/common/src/backbone/core/BaseNestedModel.d.ts +0 -21
- package/dist/libs/common/src/backbone/core/BaseService.d.ts +0 -10
- package/dist/libs/common/src/backbone/core/BaseView.d.ts +0 -131
- package/dist/libs/common/src/backbone/core/EventNames.d.ts +0 -16
- package/dist/libs/common/src/backbone/core/LayoutService.d.ts +0 -31
- package/dist/libs/common/src/backbone/core/ListenToRadio.d.ts +0 -3
- package/dist/libs/common/src/backbone/core/LocationUtils.d.ts +0 -23
- package/dist/libs/common/src/backbone/core/Middleware.d.ts +0 -10
- package/dist/libs/common/src/backbone/core/Shell.d.ts +0 -79
- package/dist/libs/common/src/backbone/core/Types.d.ts +0 -12
- package/dist/libs/common/src/backbone/core/index.d.ts +0 -18
- package/dist/libs/common/src/backbone/enums/DataServiceErrorType.d.ts +0 -8
- package/dist/libs/common/src/backbone/enums/HttpVerbs.d.ts +0 -6
- package/dist/libs/common/src/backbone/errors/DevError.d.ts +0 -4
- package/dist/libs/common/src/backbone/errors/NotImplementedError.d.ts +0 -5
- package/dist/libs/common/src/backbone/index.d.ts +0 -2
- package/dist/libs/common/src/backbone/interfaces/BaseCollectionIdentifier.d.ts +0 -19
- package/dist/libs/common/src/backbone/interfaces/ChainableDataService.d.ts +0 -9
- package/dist/libs/common/src/backbone/interfaces/DataCache.d.ts +0 -8
- package/dist/libs/common/src/backbone/interfaces/DataProvider.d.ts +0 -15
- package/dist/libs/common/src/backbone/interfaces/DataServiceError.d.ts +0 -7
- package/dist/libs/common/src/backbone/interfaces/DataServiceRequests.d.ts +0 -218
- package/dist/libs/common/src/backbone/interfaces/Pagination.d.ts +0 -33
- package/dist/libs/common/src/backbone/interfaces/StickitBinding.d.ts +0 -38
- package/dist/libs/common/src/backbone/interfaces/Xhr.d.ts +0 -9
- package/dist/libs/common/src/backbone/interfaces/index.d.ts +0 -9
- package/dist/libs/common/src/backbone/runtime/InputValidation.d.ts +0 -2
- package/dist/libs/common/src/backbone/services/BaseAlertService.d.ts +0 -69
- package/dist/libs/common/src/backbone/services/BaseDataService.d.ts +0 -82
- package/dist/libs/common/src/backbone/services/EnvironmentVariables.d.ts +0 -13
- package/dist/libs/common/src/backbone/services/InstanceManager.d.ts +0 -33
- package/dist/libs/common/src/backbone/services/LanguageService.d.ts +0 -22
- package/dist/libs/common/src/backbone/services/ViewModelService.d.ts +0 -68
- package/dist/libs/common/src/backbone/services/caches/FifoMemoryCache.d.ts +0 -20
- package/dist/libs/common/src/backbone/services/data-providers/AjaxDataProvider.d.ts +0 -31
- package/dist/libs/common/src/backbone/services/data-providers/SignalRDataProvider.d.ts +0 -46
- package/dist/libs/common/src/backbone/utils/ConcurrencyHelper.d.ts +0 -13
- package/dist/libs/common/src/backbone/utils/DataServiceErrorHelper.d.ts +0 -2
- package/dist/libs/common/src/backbone/utils/FunctionHelper.d.ts +0 -8
- package/dist/libs/common/src/backbone/utils/LocalStorageHelper.d.ts +0 -58
- package/dist/libs/common/src/backbone/utils/UrlHelper.d.ts +0 -14
- package/dist/libs/common/src/backbone/utils/UserAgentHelper.d.ts +0 -7
- package/dist/libs/common/src/react/flight/enums/RequestStatus.d.ts +0 -6
- package/dist/libs/common/src/react/flight/enums/index.d.ts +0 -1
- package/dist/libs/common/src/react/flight/interfaces/FlightState.d.ts +0 -22
- package/dist/libs/common/src/react/flight/interfaces/NormalizeOptions.d.ts +0 -4
- package/dist/libs/common/src/react/flight/interfaces/Request.d.ts +0 -29
- package/dist/libs/common/src/react/flight/interfaces/UpdateStateOptions.d.ts +0 -15
- package/dist/libs/common/src/react/interfaces/ApplicationData.d.ts +0 -3
- package/dist/libs/common/src/react/interfaces/ApplicationState.d.ts +0 -8
- package/dist/libs/common/src/react/interfaces/BaseReducerActions.d.ts +0 -4
- package/dist/libs/common/src/react/interfaces/HashObject.d.ts +0 -3
- package/dist/libs/common/src/react/interfaces/index.d.ts +0 -4
- package/dist/libs/common/src/react/utils/FetchHelper.d.ts +0 -50
- package/dist/libs/common/src/react/utils/ObjectHelper.d.ts +0 -10
- package/dist/libs/common/src/react/utils/TextHelper.d.ts +0 -9
- package/dist/libs/shared/src/apps/notifications/collections/NotificationCollection.d.ts +0 -9
- package/dist/libs/shared/src/apps/notifications/components/notification-items/notification-item/NotificationItemComponent.d.ts +0 -23
- package/dist/libs/shared/src/apps/notifications/components/notification-list/NotificationListComponent.d.ts +0 -26
- package/dist/libs/shared/src/apps/notifications/components/notification-status/NotificationStatusComponent.d.ts +0 -15
- package/dist/libs/shared/src/apps/notifications/enums/AppLinkReferrer.d.ts +0 -3
- package/dist/libs/shared/src/apps/notifications/enums/NotificationActions.d.ts +0 -3
- package/dist/libs/shared/src/apps/notifications/enums/NotificationAlertType.d.ts +0 -7
- package/dist/libs/shared/src/apps/notifications/enums/NotificationAppLinkModules.d.ts +0 -7
- package/dist/libs/shared/src/apps/notifications/enums/NotificationModules.d.ts +0 -4
- package/dist/libs/shared/src/apps/notifications/enums/NotificationStatus.d.ts +0 -5
- package/dist/libs/shared/src/apps/notifications/enums/NotificationType.d.ts +0 -16
- package/dist/libs/shared/src/apps/notifications/interfaces/NotificationCollectionRequest.d.ts +0 -5
- package/dist/libs/shared/src/apps/notifications/interfaces/index.d.ts +0 -1
- package/dist/libs/shared/src/apps/notifications/models/Notification.d.ts +0 -6
- package/dist/libs/shared/src/apps/notifications/services/NotificationDataService.d.ts +0 -14
- package/dist/libs/shared/src/apps/notifications/services/NotificationService.d.ts +0 -33
- package/dist/libs/shared/src/apps/notifications/services/NotificationSocketService.d.ts +0 -8
- package/dist/libs/shared/src/apps/notifications/services/data-providers/NotificationsSocketDataProvider.d.ts +0 -4
- package/dist/libs/shared/src/apps/notifications/utils/NotificationAppLinkHelper.d.ts +0 -10
- package/dist/libs/shared/src/apps/notifications/utils/NotificationsHelper.d.ts +0 -18
- package/dist/libs/shared/src/apps/notifications/views/header/NotificationHeaderView.d.ts +0 -16
- package/dist/libs/shared/src/apps/notifications/views/notifications/NotificationsView.d.ts +0 -27
- package/dist/libs/shared/src/apps/notifications/views/popover/NotificationsPopoverView.d.ts +0 -34
- package/dist/libs/shared/src/apps/search/components/confirm-selection/ConfirmSelectionComponent.d.ts +0 -12
- package/dist/libs/shared/src/apps/search/components/instant-search/classification/ClassificationSearchResultComponent.d.ts +0 -17
- package/dist/libs/shared/src/apps/search/components/instant-search/index.d.ts +0 -5
- package/dist/libs/shared/src/apps/search/components/instant-search/recent-search/RecentSearchResultComponent.d.ts +0 -15
- package/dist/libs/shared/src/apps/search/components/instant-search/series/SeriesSearchResultComponent.d.ts +0 -14
- package/dist/libs/shared/src/apps/search/components/instant-search/tag/TagSearchResultComponent.d.ts +0 -9
- package/dist/libs/shared/src/apps/search/components/instant-search/video-result/VideoSearchResultComponent.d.ts +0 -18
- package/dist/libs/shared/src/apps/search/components/search-context/SearchContextComponent.d.ts +0 -18
- package/dist/libs/shared/src/apps/search/components/search-tips/SearchTipsComponent.d.ts +0 -11
- package/dist/libs/shared/src/apps/search/constants/TypeaheadConfiguration.d.ts +0 -12
- package/dist/libs/shared/src/apps/search/enums/FilterTypes.d.ts +0 -14
- package/dist/libs/shared/src/apps/search/enums/SearchQueryType.d.ts +0 -18
- package/dist/libs/shared/src/apps/search/enums/SearchTypes.d.ts +0 -8
- package/dist/libs/shared/src/apps/search/interfaces/SearchTypes.d.ts +0 -26
- package/dist/libs/shared/src/apps/search/interfaces/index.d.ts +0 -1
- package/dist/libs/shared/src/apps/search/services/ContextualSearchService.d.ts +0 -34
- package/dist/libs/shared/src/apps/search/utils/InstantSearchHelper.d.ts +0 -22
- package/dist/libs/shared/src/apps/search/utils/RecentSearchHelper.d.ts +0 -12
- package/dist/libs/shared/src/apps/search/utils/SearchHelper.d.ts +0 -5
- package/dist/libs/shared/src/apps/search/utils/TypeaheadHelper.d.ts +0 -75
- package/dist/libs/shared/src/apps/search/views/search-bar/SearchBarView.d.ts +0 -110
- package/dist/libs/shared/src/apps/search/views/search-bar/templates/index.d.ts +0 -9
- package/dist/libs/shared/src/apps/upload/collections/PendingItemsCollection.d.ts +0 -8
- package/dist/libs/shared/src/apps/upload/constants/UploadConstants.d.ts +0 -39
- package/dist/libs/shared/src/apps/upload/enums/FileLifestyle.d.ts +0 -4
- package/dist/libs/shared/src/apps/upload/enums/PendingItemStatus.d.ts +0 -5
- package/dist/libs/shared/src/apps/upload/errors/file-type/FileTypeError.d.ts +0 -15
- package/dist/libs/shared/src/apps/upload/errors/internet-connectivity/InternetConnectivityError.d.ts +0 -7
- package/dist/libs/shared/src/apps/upload/services/BasePendingItemsService.d.ts +0 -26
- package/dist/libs/shared/src/apps/upload/services/DropzoneWrapper.d.ts +0 -30
- package/dist/libs/shared/src/apps/upload/services/UploadService.d.ts +0 -66
- package/dist/libs/shared/src/apps/upload/utils/FileExtensionsHelper.d.ts +0 -9
- package/dist/libs/shared/src/apps/upload/utils/PendingItemsHelper.d.ts +0 -9
- package/dist/libs/shared/src/constants/AppVariables.d.ts +0 -5
- package/dist/libs/shared/src/constants/BootstrapKeys.d.ts +0 -8
- package/dist/libs/shared/src/constants/CacheDurations.d.ts +0 -4
- package/dist/libs/shared/src/constants/DataPrefixes.d.ts +0 -12
- package/dist/libs/shared/src/constants/RadioChannels.d.ts +0 -20
- package/dist/libs/shared/src/constants/SharedServices.d.ts +0 -25
- package/dist/libs/shared/src/enums/ClassificationType.d.ts +0 -4
- package/dist/libs/shared/src/enums/CountryCode.d.ts +0 -5
- package/dist/libs/shared/src/enums/CurationStatus.d.ts +0 -12
- package/dist/libs/shared/src/enums/CurriculumType.d.ts +0 -6
- package/dist/libs/shared/src/enums/CustomerType.d.ts +0 -11
- package/dist/libs/shared/src/enums/GlanceFormat.d.ts +0 -3
- package/dist/libs/shared/src/enums/Images.d.ts +0 -26
- package/dist/libs/shared/src/enums/LibraryType.d.ts +0 -5
- package/dist/libs/shared/src/enums/MasterObjectTypes.d.ts +0 -8
- package/dist/libs/shared/src/enums/MediaQueries.d.ts +0 -20
- package/dist/libs/shared/src/enums/ObjectOwnerType.d.ts +0 -4
- package/dist/libs/shared/src/enums/ObjectStatus.d.ts +0 -5
- package/dist/libs/shared/src/enums/PartialLoading.d.ts +0 -4
- package/dist/libs/shared/src/enums/PlayerMediaType.d.ts +0 -5
- package/dist/libs/shared/src/enums/PlaylistPrivacy.d.ts +0 -5
- package/dist/libs/shared/src/enums/PresentationType.d.ts +0 -4
- package/dist/libs/shared/src/enums/ResourceFileType.d.ts +0 -9
- package/dist/libs/shared/src/enums/SettingKind.d.ts +0 -4
- package/dist/libs/shared/src/enums/SettingName.d.ts +0 -17
- package/dist/libs/shared/src/enums/SubtitleExtractionOptions.d.ts +0 -4
- package/dist/libs/shared/src/enums/ThemeType.d.ts +0 -3
- package/dist/libs/shared/src/enums/UploadInteractionType.d.ts +0 -4
- package/dist/libs/shared/src/enums/UserGroup.d.ts +0 -5
- package/dist/libs/shared/src/enums/UserRole.d.ts +0 -15
- package/dist/libs/shared/src/enums/VideoOrigin.d.ts +0 -14
- package/dist/libs/shared/src/enums/WidgetContents.d.ts +0 -10
- package/dist/libs/shared/src/errors/primitives/AlertError.d.ts +0 -4
- package/dist/libs/shared/src/errors/primitives/DialogError.d.ts +0 -9
- package/dist/libs/shared/src/errors/primitives/ErrorPageError.d.ts +0 -7
- package/dist/libs/shared/src/images/svg/ImportedSvgs.d.ts +0 -87
- package/dist/libs/shared/src/images/svg/actions/index.d.ts +0 -24
- package/dist/libs/shared/src/images/svg/arrows/index.d.ts +0 -9
- package/dist/libs/shared/src/images/svg/index.d.ts +0 -2
- package/dist/libs/shared/src/images/svg/objects/index.d.ts +0 -36
- package/dist/libs/shared/src/images/svg/player/index.d.ts +0 -14
- package/dist/libs/shared/src/images/svg/settings.d.ts +0 -1
- package/dist/libs/shared/src/images/svg/status/index.d.ts +0 -13
- package/dist/libs/shared/src/interfaces/AppLinkWithLabel.d.ts +0 -5
- package/dist/libs/shared/src/interfaces/DialogOptions.d.ts +0 -13
- package/dist/libs/shared/src/interfaces/ImageUrls.d.ts +0 -16
- package/dist/libs/shared/src/interfaces/QueryParams.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/RegionalUrl.d.ts +0 -5
- package/dist/libs/shared/src/interfaces/WidgetContext.d.ts +0 -9
- package/dist/libs/shared/src/interfaces/app-variables/BaseNotificationsAppVariables.d.ts +0 -16
- package/dist/libs/shared/src/interfaces/app-variables/BaseSearchAppVariables.d.ts +0 -17
- package/dist/libs/shared/src/interfaces/app-variables/index.d.ts +0 -2
- package/dist/libs/shared/src/interfaces/collections/AudienceCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/CategoryCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/ClassificationCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/ClassroomCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/ClassroomGroupCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/ClipCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/CompanyCollection.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/collections/CustomerCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/FolderCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/InteractiveCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/LibraryCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/LinkCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/PersonCollection.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/collections/PlaylistCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/PresentationAudienceCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/ResourceCollection.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/collections/SeriesCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/SubtitleCollection.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/collections/TagCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/UserCollection.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/collections/VideoCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/VideoHistoryCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/WidgetCollection.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/collections/index.d.ts +0 -25
- package/dist/libs/shared/src/interfaces/collections/primitives/BasePaginatedCollection.d.ts +0 -7
- package/dist/libs/shared/src/interfaces/collections/primitives/index.d.ts +0 -1
- package/dist/libs/shared/src/interfaces/index.d.ts +0 -13
- package/dist/libs/shared/src/interfaces/models/Audience.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/Avatar.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/Banner.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/Category.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/Channel.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/Classification.d.ts +0 -21
- package/dist/libs/shared/src/interfaces/models/Classroom.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/models/ClassroomGroup.d.ts +0 -18
- package/dist/libs/shared/src/interfaces/models/Clip.d.ts +0 -8
- package/dist/libs/shared/src/interfaces/models/Company.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/Config.d.ts +0 -13
- package/dist/libs/shared/src/interfaces/models/Cover.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/Curriculum.d.ts +0 -18
- package/dist/libs/shared/src/interfaces/models/Customer.d.ts +0 -6
- package/dist/libs/shared/src/interfaces/models/EntitySetting.d.ts +0 -9
- package/dist/libs/shared/src/interfaces/models/FileUpload.d.ts +0 -20
- package/dist/libs/shared/src/interfaces/models/Folder.d.ts +0 -7
- package/dist/libs/shared/src/interfaces/models/Following.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/models/Glance.d.ts +0 -9
- package/dist/libs/shared/src/interfaces/models/Group.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/HeroBanner.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/Image.d.ts +0 -7
- package/dist/libs/shared/src/interfaces/models/InteractiveMetadata.d.ts +0 -14
- package/dist/libs/shared/src/interfaces/models/Language.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/models/LanguageConfig.d.ts +0 -5
- package/dist/libs/shared/src/interfaces/models/Library.d.ts +0 -5
- package/dist/libs/shared/src/interfaces/models/Link.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/models/Organisation.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/Pdf.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/models/Person.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/PlayerViewKey.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/Playlist.d.ts +0 -14
- package/dist/libs/shared/src/interfaces/models/Poster.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/Presentation.d.ts +0 -6
- package/dist/libs/shared/src/interfaces/models/PresentationAudience.d.ts +0 -6
- package/dist/libs/shared/src/interfaces/models/Rating.d.ts +0 -5
- package/dist/libs/shared/src/interfaces/models/Resource.d.ts +0 -17
- package/dist/libs/shared/src/interfaces/models/Restriction.d.ts +0 -6
- package/dist/libs/shared/src/interfaces/models/Season.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/models/Series.d.ts +0 -10
- package/dist/libs/shared/src/interfaces/models/Share.d.ts +0 -9
- package/dist/libs/shared/src/interfaces/models/Subject.d.ts +0 -13
- package/dist/libs/shared/src/interfaces/models/Subtitle.d.ts +0 -7
- package/dist/libs/shared/src/interfaces/models/Tag.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/TallPoster.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/Theme.d.ts +0 -14
- package/dist/libs/shared/src/interfaces/models/Thumbnail.d.ts +0 -6
- package/dist/libs/shared/src/interfaces/models/User.d.ts +0 -64
- package/dist/libs/shared/src/interfaces/models/UserChannel.d.ts +0 -7
- package/dist/libs/shared/src/interfaces/models/Video.d.ts +0 -34
- package/dist/libs/shared/src/interfaces/models/VideoHistory.d.ts +0 -12
- package/dist/libs/shared/src/interfaces/models/Widget.d.ts +0 -16
- package/dist/libs/shared/src/interfaces/models/YearGroup.d.ts +0 -5
- package/dist/libs/shared/src/interfaces/models/index.d.ts +0 -57
- package/dist/libs/shared/src/interfaces/models/interactive/ActionableItem.d.ts +0 -6
- package/dist/libs/shared/src/interfaces/models/interactive/Interaction.d.ts +0 -16
- package/dist/libs/shared/src/interfaces/models/interactive/InteractionType.d.ts +0 -7
- package/dist/libs/shared/src/interfaces/models/interactive/InteractionTypeId.d.ts +0 -8
- package/dist/libs/shared/src/interfaces/models/interactive/Interactive.d.ts +0 -7
- package/dist/libs/shared/src/interfaces/models/interactive/Timepoint.d.ts +0 -9
- package/dist/libs/shared/src/interfaces/models/interactive/index.d.ts +0 -6
- package/dist/libs/shared/src/interfaces/models/interactive.d.ts +0 -9
- package/dist/libs/shared/src/interfaces/models/primitives/BaseObject.d.ts +0 -8
- package/dist/libs/shared/src/interfaces/models/primitives/VirtualObject.d.ts +0 -5
- package/dist/libs/shared/src/interfaces/models/primitives/index.d.ts +0 -2
- package/dist/libs/shared/src/interfaces/props/ViewProps.d.ts +0 -8
- package/dist/libs/shared/src/interfaces/props/index.d.ts +0 -1
- package/dist/libs/shared/src/interfaces/requests/CreateOrUpdateClipRequest.d.ts +0 -6
- package/dist/libs/shared/src/interfaces/requests/CreateViewKeyRequest.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/requests/ReorderRequest.d.ts +0 -12
- package/dist/libs/shared/src/interfaces/requests/UpdateObjectChannel.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/requests/UpdateObjectRating.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/requests/UpdateResourceRequest.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/requests/UpdateVideoRequest.d.ts +0 -9
- package/dist/libs/shared/src/interfaces/requests/index.d.ts +0 -7
- package/dist/libs/shared/src/interfaces/services/BaseConfigDataService.d.ts +0 -5
- package/dist/libs/shared/src/interfaces/services/BaseLibraryDataService.d.ts +0 -10
- package/dist/libs/shared/src/interfaces/services/BaseSeriesDataService.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/services/BaseSettingsDataService.d.ts +0 -7
- package/dist/libs/shared/src/interfaces/services/BaseUserDataService.d.ts +0 -6
- package/dist/libs/shared/src/interfaces/services/BaseVideoDataService.d.ts +0 -5
- package/dist/libs/shared/src/interfaces/services/BaseVideoUploadDataService.d.ts +0 -8
- package/dist/libs/shared/src/interfaces/services/index.d.ts +0 -7
- package/dist/libs/shared/src/legacy/behaviors/empty-state/EmptyStateBehavior.d.ts +0 -22
- package/dist/libs/shared/src/legacy/behaviors/file-drop/FileDropBehavior.d.ts +0 -19
- package/dist/libs/shared/src/legacy/behaviors/file-drop/FileDropHelper.d.ts +0 -4
- package/dist/libs/shared/src/legacy/behaviors/file-drop/FileDropMaskBehavior.d.ts +0 -19
- package/dist/libs/shared/src/legacy/behaviors/file-select/FileSelectBehavior.d.ts +0 -16
- package/dist/libs/shared/src/legacy/behaviors/popover/PopoverBehavior.d.ts +0 -40
- package/dist/libs/shared/src/legacy/behaviors/tooltip/TooltipBehavior.d.ts +0 -26
- package/dist/libs/shared/src/legacy/components/empty-state/EmptyStateComponent.d.ts +0 -24
- package/dist/libs/shared/src/legacy/components/file-select/FileSelectComponent.d.ts +0 -29
- package/dist/libs/shared/src/legacy/components/file-uploads/FileUploadComponent.d.ts +0 -15
- package/dist/libs/shared/src/legacy/components/pagination/PaginationComponent.d.ts +0 -29
- package/dist/libs/shared/src/legacy/components/resource-item/ResourceItemComponent.d.ts +0 -22
- package/dist/libs/shared/src/legacy/components/subtitle-item/SubtitleItemComponent.d.ts +0 -17
- package/dist/libs/shared/src/legacy/components/thumbnail/ThumbnailComponent.d.ts +0 -35
- package/dist/libs/shared/src/legacy/constants/empty-state-components/EmptyStateComponents.d.ts +0 -6
- package/dist/libs/shared/src/legacy/enums/EmptyState.d.ts +0 -3
- package/dist/libs/shared/src/legacy/enums/SortType.d.ts +0 -7
- package/dist/libs/shared/src/legacy/errors/too-many-files/TooManyFilesError.d.ts +0 -7
- package/dist/libs/shared/src/legacy/errors/too-many-resources/TooManyResourcesError.d.ts +0 -8
- package/dist/libs/shared/src/legacy/errors/too-many-subtitles/TooManySubtitlesError.d.ts +0 -8
- package/dist/libs/shared/src/legacy/interfaces/CollectionIdentifier.d.ts +0 -7
- package/dist/libs/shared/src/legacy/interfaces/index.d.ts +0 -1
- package/dist/libs/shared/src/legacy/utils/EmptyStateHelper.d.ts +0 -4
- package/dist/libs/shared/src/legacy/utils/LangHelper.d.ts +0 -5
- package/dist/libs/shared/src/services/ContextService.d.ts +0 -38
- package/dist/libs/shared/src/services/LanguageDataService.d.ts +0 -7
- package/dist/libs/shared/src/services/UserDataService.d.ts +0 -24
- package/dist/libs/shared/src/utils/DurationHelper.d.ts +0 -7
- package/dist/libs/shared/src/utils/EmbedHelper.d.ts +0 -8
- package/dist/libs/shared/src/utils/ImageHelper.d.ts +0 -32
- package/dist/libs/shared/src/utils/LibraryDataServiceHelper.d.ts +0 -13
- package/dist/libs/shared/src/utils/MaskHelper.d.ts +0 -15
- package/dist/libs/shared/src/utils/SubtitleHelper.d.ts +0 -9
- package/dist/libs/shared/src/utils/SvgHelper.d.ts +0 -18
- package/dist/libs/shared/src/utils/TextHelper.d.ts +0 -3
- package/dist/libs/shared/src/utils/VideoDetailsHelper.d.ts +0 -12
- package/dist/projects/library-editor/src/app.d.ts +0 -244
- package/dist/projects/library-editor/src/apps/content-updates/ContentUpdatesApplication.d.ts +0 -18
- package/dist/projects/library-editor/src/apps/content-updates/collections/SubjectCollection.d.ts +0 -5
- package/dist/projects/library-editor/src/apps/content-updates/collections/VideoGroupCollection.d.ts +0 -5
- package/dist/projects/library-editor/src/apps/content-updates/collections/index.d.ts +0 -2
- package/dist/projects/library-editor/src/apps/content-updates/components/awaiting-review-header/AwaitingReviewHeaderComponent.d.ts +0 -14
- package/dist/projects/library-editor/src/apps/content-updates/components/content-updates-header/ContentUpdatesHeaderComponent.d.ts +0 -19
- package/dist/projects/library-editor/src/apps/content-updates/components/content-updates-left-nav/ContentUpdatesLeftNavComponent.d.ts +0 -18
- package/dist/projects/library-editor/src/apps/content-updates/components/index.d.ts +0 -6
- package/dist/projects/library-editor/src/apps/content-updates/components/past-releases-filters/PastReleasesFiltersComponent.d.ts +0 -20
- package/dist/projects/library-editor/src/apps/content-updates/components/past-releases-header/PastReleasesHeaderComponent.d.ts +0 -24
- package/dist/projects/library-editor/src/apps/content-updates/components/video-group-list/VideoGroupListComponent.d.ts +0 -37
- package/dist/projects/library-editor/src/apps/content-updates/enums/PastReleaseFilterType.d.ts +0 -5
- package/dist/projects/library-editor/src/apps/content-updates/enums/ReleaseDateType.d.ts +0 -6
- package/dist/projects/library-editor/src/apps/content-updates/enums/index.d.ts +0 -2
- package/dist/projects/library-editor/src/apps/content-updates/models/Subject.d.ts +0 -3
- package/dist/projects/library-editor/src/apps/content-updates/models/VideoGroup.d.ts +0 -7
- package/dist/projects/library-editor/src/apps/content-updates/models/index.d.ts +0 -2
- package/dist/projects/library-editor/src/apps/content-updates/services/ContentUpdatesDataService.d.ts +0 -18
- package/dist/projects/library-editor/src/apps/content-updates/services/index.d.ts +0 -1
- package/dist/projects/library-editor/src/apps/content-updates/utils/Constants.d.ts +0 -33
- package/dist/projects/library-editor/src/apps/content-updates/utils/ContentUpdatesHelper.d.ts +0 -7
- package/dist/projects/library-editor/src/apps/content-updates/utils/PastReleasesHelper.d.ts +0 -3
- package/dist/projects/library-editor/src/apps/content-updates/utils/index.d.ts +0 -3
- package/dist/projects/library-editor/src/apps/content-updates/views/add-to-library/AddToLibraryView.d.ts +0 -47
- package/dist/projects/library-editor/src/apps/content-updates/views/awaiting-review/AwaitingReviewView.d.ts +0 -36
- package/dist/projects/library-editor/src/apps/content-updates/views/disable-review/DisableReviewView.d.ts +0 -26
- package/dist/projects/library-editor/src/apps/content-updates/views/generate-past-releases-pdf/GeneratePastReleasesPdfView.d.ts +0 -41
- package/dist/projects/library-editor/src/apps/content-updates/views/past-releases/PastReleasesView.d.ts +0 -55
- package/dist/projects/library-editor/src/apps/dashboard/DashboardApplication.d.ts +0 -9
- package/dist/projects/library-editor/src/apps/dashboard/components/dashboard-action-tile/DashboardActionTileComponent.d.ts +0 -20
- package/dist/projects/library-editor/src/apps/dashboard/components/dashboard-info-tile/DashboardInfoTileComponent.d.ts +0 -7
- package/dist/projects/library-editor/src/apps/dashboard/components/dashboard-notifications/DashboardNotificationsComponents.d.ts +0 -15
- package/dist/projects/library-editor/src/apps/dashboard/components/dashboard-tile-container/DashboardTileContainerComponent.d.ts +0 -11
- package/dist/projects/library-editor/src/apps/dashboard/components/dashboard-tile-list/DashboardTileListComponent.d.ts +0 -14
- package/dist/projects/library-editor/src/apps/dashboard/components/index.d.ts +0 -9
- package/dist/projects/library-editor/src/apps/dashboard/views/DashboardView.d.ts +0 -38
- package/dist/projects/library-editor/src/apps/default/DefaultApplication.d.ts +0 -21
- package/dist/projects/library-editor/src/apps/default/views/dev-error/DevErrorView.d.ts +0 -11
- package/dist/projects/library-editor/src/apps/default/views/error-view/ErrorView.d.ts +0 -12
- package/dist/projects/library-editor/src/apps/default/views/not-found/NotFoundView.d.ts +0 -11
- package/dist/projects/library-editor/src/apps/index.d.ts +0 -16
- package/dist/projects/library-editor/src/apps/library-editor/LibraryEditorApplication.d.ts +0 -46
- package/dist/projects/library-editor/src/apps/library-editor/behaviors/draggable-folder/DraggableFolderBehavior.d.ts +0 -9
- package/dist/projects/library-editor/src/apps/library-editor/behaviors/draggable-video/DraggableVideoBehavior.d.ts +0 -24
- package/dist/projects/library-editor/src/apps/library-editor/behaviors/droppable/DroppableBehavior.d.ts +0 -19
- package/dist/projects/library-editor/src/apps/library-editor/behaviors/index.d.ts +0 -3
- package/dist/projects/library-editor/src/apps/library-editor/behaviors/shared/DragOptions.d.ts +0 -3
- package/dist/projects/library-editor/src/apps/library-editor/behaviors/shared/DraggableItemComponent.d.ts +0 -15
- package/dist/projects/library-editor/src/apps/library-editor/behaviors/shared/index.d.ts +0 -5
- package/dist/projects/library-editor/src/apps/library-editor/components/add-links/AddLinksComponent.d.ts +0 -31
- package/dist/projects/library-editor/src/apps/library-editor/components/banner/BannerComponent.d.ts +0 -19
- package/dist/projects/library-editor/src/apps/library-editor/components/chapter-form/ChapterFormComponent.d.ts +0 -66
- package/dist/projects/library-editor/src/apps/library-editor/components/chapter-list/ChapterComponentCollection.d.ts +0 -25
- package/dist/projects/library-editor/src/apps/library-editor/components/chapter-list/ChapterItemComponent.d.ts +0 -37
- package/dist/projects/library-editor/src/apps/library-editor/components/chapters/ChaptersComponent.d.ts +0 -21
- package/dist/projects/library-editor/src/apps/library-editor/components/concatenate-request/ConcatenateRequestComponent.d.ts +0 -24
- package/dist/projects/library-editor/src/apps/library-editor/components/customer-logo/CustomerLogoComponent.d.ts +0 -19
- package/dist/projects/library-editor/src/apps/library-editor/components/edit-image/EditImageComponent.d.ts +0 -28
- package/dist/projects/library-editor/src/apps/library-editor/components/edit-images-wrapper/EditImagesWrapperComponent.d.ts +0 -24
- package/dist/projects/library-editor/src/apps/library-editor/components/edit-links/LinkItemComponent.d.ts +0 -16
- package/dist/projects/library-editor/src/apps/library-editor/components/edit-links/VideoLinksComponent.d.ts +0 -23
- package/dist/projects/library-editor/src/apps/library-editor/components/edit-thumbnail/EditThumbnailComponent.d.ts +0 -22
- package/dist/projects/library-editor/src/apps/library-editor/components/edit-video/EditVideoDetailsComponent.d.ts +0 -48
- package/dist/projects/library-editor/src/apps/library-editor/components/edit-video-tabs/EditVideoTabsComponent.d.ts +0 -24
- package/dist/projects/library-editor/src/apps/library-editor/components/expandable-tag-list/ExpandableTagListComponent.d.ts +0 -26
- package/dist/projects/library-editor/src/apps/library-editor/components/file-uploads/FileUploadsComponentCollection.d.ts +0 -13
- package/dist/projects/library-editor/src/apps/library-editor/components/folder-actions/FolderActionsDropdownComponent.d.ts +0 -18
- package/dist/projects/library-editor/src/apps/library-editor/components/folder-details/FolderDetailsComponent.d.ts +0 -35
- package/dist/projects/library-editor/src/apps/library-editor/components/folder-select/FolderSelectComponent.d.ts +0 -41
- package/dist/projects/library-editor/src/apps/library-editor/components/language-select/LanguageSelectComponent.d.ts +0 -28
- package/dist/projects/library-editor/src/apps/library-editor/components/language-select/LanguageSelectTypeaheadHelper.d.ts +0 -6
- package/dist/projects/library-editor/src/apps/library-editor/components/left-nav-libraries/LeftNavLibrariesComponent.d.ts +0 -45
- package/dist/projects/library-editor/src/apps/library-editor/components/library-actions/LibraryActionsComponent.d.ts +0 -26
- package/dist/projects/library-editor/src/apps/library-editor/components/library-folders/LibraryFolderListComponent.d.ts +0 -31
- package/dist/projects/library-editor/src/apps/library-editor/components/library-select/LibrarySelectComponent.d.ts +0 -27
- package/dist/projects/library-editor/src/apps/library-editor/components/save/SaveComponent.d.ts +0 -33
- package/dist/projects/library-editor/src/apps/library-editor/components/sort-select/SortSelectComponent.d.ts +0 -29
- package/dist/projects/library-editor/src/apps/library-editor/components/sub-folders/SubFolderComponent.d.ts +0 -15
- package/dist/projects/library-editor/src/apps/library-editor/components/sub-folders/SubFoldersComponent.d.ts +0 -9
- package/dist/projects/library-editor/src/apps/library-editor/components/suggest-edit/SuggestEditComponent.d.ts +0 -31
- package/dist/projects/library-editor/src/apps/library-editor/components/tag-list/TagComponentCollection.d.ts +0 -21
- package/dist/projects/library-editor/src/apps/library-editor/components/tag-list/TagItemComponent.d.ts +0 -28
- package/dist/projects/library-editor/src/apps/library-editor/components/tags/TagsComponent.d.ts +0 -30
- package/dist/projects/library-editor/src/apps/library-editor/components/video-collection-actions/VideoCollectionActionsComponent.d.ts +0 -25
- package/dist/projects/library-editor/src/apps/library-editor/components/video-header/VideoHeaderComponent.d.ts +0 -23
- package/dist/projects/library-editor/src/apps/library-editor/components/video-list-header/VideoListHeaderComponent.d.ts +0 -34
- package/dist/projects/library-editor/src/apps/library-editor/components/video-resources/VideoResourcesComponent.d.ts +0 -46
- package/dist/projects/library-editor/src/apps/library-editor/components/video-sidebar-info/VideoSidebarInfoComponent.d.ts +0 -26
- package/dist/projects/library-editor/src/apps/library-editor/components/video-subtitles/VideoSubtitlesComponent.d.ts +0 -29
- package/dist/projects/library-editor/src/apps/library-editor/constants/CheckboxTypes.d.ts +0 -5
- package/dist/projects/library-editor/src/apps/library-editor/constants/EditVideoBackButtonBlacklist.d.ts +0 -1
- package/dist/projects/library-editor/src/apps/library-editor/constants/EditVideoBackButtonKey.d.ts +0 -1
- package/dist/projects/library-editor/src/apps/library-editor/constants/LibraryEditorActions.d.ts +0 -18
- package/dist/projects/library-editor/src/apps/library-editor/constants/LibraryEditorRadioChannels.d.ts +0 -3
- package/dist/projects/library-editor/src/apps/library-editor/constants/MetadataTypes.d.ts +0 -32
- package/dist/projects/library-editor/src/apps/library-editor/constants/VideoCollectionTypes.d.ts +0 -3
- package/dist/projects/library-editor/src/apps/library-editor/constants/index.d.ts +0 -7
- package/dist/projects/library-editor/src/apps/library-editor/enums/MediaConcatenateStatus.d.ts +0 -8
- package/dist/projects/library-editor/src/apps/library-editor/enums/TagBehavior.d.ts +0 -6
- package/dist/projects/library-editor/src/apps/library-editor/enums/TagOrientation.d.ts +0 -4
- package/dist/projects/library-editor/src/apps/library-editor/enums/VideoCollectionSource.d.ts +0 -4
- package/dist/projects/library-editor/src/apps/library-editor/enums/index.d.ts +0 -4
- package/dist/projects/library-editor/src/apps/library-editor/errors/folder-empty/FolderEmptyError.d.ts +0 -8
- package/dist/projects/library-editor/src/apps/library-editor/errors/folder-max-depth/FolderMaxDepthError.d.ts +0 -7
- package/dist/projects/library-editor/src/apps/library-editor/errors/folder-not-empty/FolderNotEmptyError.d.ts +0 -7
- package/dist/projects/library-editor/src/apps/library-editor/errors/folder-not-found/FolderNotFound.d.ts +0 -6
- package/dist/projects/library-editor/src/apps/library-editor/errors/forbidden-folder/ForbiddenFolderError.d.ts +0 -6
- package/dist/projects/library-editor/src/apps/library-editor/errors/forbidden-video/ForbiddenVideoError.d.ts +0 -6
- package/dist/projects/library-editor/src/apps/library-editor/errors/image-dimensions-too-small/ImageDimensionsTooSmallError.d.ts +0 -9
- package/dist/projects/library-editor/src/apps/library-editor/errors/index.d.ts +0 -13
- package/dist/projects/library-editor/src/apps/library-editor/errors/library-has-subscribers/LibraryHasSubscribersError.d.ts +0 -7
- package/dist/projects/library-editor/src/apps/library-editor/errors/library-not-empty/LibraryNotEmptyError.d.ts +0 -7
- package/dist/projects/library-editor/src/apps/library-editor/errors/max-custom-libraries/MaxCustomLibrariesError.d.ts +0 -9
- package/dist/projects/library-editor/src/apps/library-editor/errors/series-not-found/SeriesNotFoundError.d.ts +0 -6
- package/dist/projects/library-editor/src/apps/library-editor/errors/video-not-found/VideoNotFoundError.d.ts +0 -6
- package/dist/projects/library-editor/src/apps/library-editor/errors/video-write-permission/VideoWritePermissionError.d.ts +0 -6
- package/dist/projects/library-editor/src/apps/library-editor/models/ChapterConcatenateRequest.d.ts +0 -3
- package/dist/projects/library-editor/src/apps/library-editor/models/index.d.ts +0 -1
- package/dist/projects/library-editor/src/apps/library-editor/services/ChapterDataService.d.ts +0 -15
- package/dist/projects/library-editor/src/apps/library-editor/services/CompanyDataService.d.ts +0 -7
- package/dist/projects/library-editor/src/apps/library-editor/services/ExportDataService.d.ts +0 -11
- package/dist/projects/library-editor/src/apps/library-editor/services/FieldsDataService.d.ts +0 -12
- package/dist/projects/library-editor/src/apps/library-editor/services/FolderDragDropService.d.ts +0 -27
- package/dist/projects/library-editor/src/apps/library-editor/services/LibraryDataService.d.ts +0 -65
- package/dist/projects/library-editor/src/apps/library-editor/services/LinkDataService.d.ts +0 -14
- package/dist/projects/library-editor/src/apps/library-editor/services/PersonDataService.d.ts +0 -7
- package/dist/projects/library-editor/src/apps/library-editor/services/RatingsDataService.d.ts +0 -7
- package/dist/projects/library-editor/src/apps/library-editor/services/ResourceDataService.d.ts +0 -13
- package/dist/projects/library-editor/src/apps/library-editor/services/SeriesDataService.d.ts +0 -16
- package/dist/projects/library-editor/src/apps/library-editor/services/SubtitleDataService.d.ts +0 -11
- package/dist/projects/library-editor/src/apps/library-editor/services/TagDataService.d.ts +0 -9
- package/dist/projects/library-editor/src/apps/library-editor/services/VideoDataService.d.ts +0 -45
- package/dist/projects/library-editor/src/apps/library-editor/services/VideoDragDropService.d.ts +0 -26
- package/dist/projects/library-editor/src/apps/library-editor/utils/AddToLibraryCacheHelper.d.ts +0 -4
- package/dist/projects/library-editor/src/apps/library-editor/utils/ChapterHelper.d.ts +0 -18
- package/dist/projects/library-editor/src/apps/library-editor/utils/DownloadHelper.d.ts +0 -3
- package/dist/projects/library-editor/src/apps/library-editor/utils/EditVideoHelpers.d.ts +0 -93
- package/dist/projects/library-editor/src/apps/library-editor/utils/FolderValidation.d.ts +0 -2
- package/dist/projects/library-editor/src/apps/library-editor/utils/LanguageValidation.d.ts +0 -2
- package/dist/projects/library-editor/src/apps/library-editor/utils/LibraryValidation.d.ts +0 -2
- package/dist/projects/library-editor/src/apps/library-editor/utils/UploadVideoValidation.d.ts +0 -2
- package/dist/projects/library-editor/src/apps/library-editor/utils/VideoDetailsHelper.d.ts +0 -17
- package/dist/projects/library-editor/src/apps/library-editor/utils/index.d.ts +0 -8
- package/dist/projects/library-editor/src/apps/library-editor/views/add-to-exchange/AddToExchangeView.d.ts +0 -34
- package/dist/projects/library-editor/src/apps/library-editor/views/banner-upload/BannerUploadView.d.ts +0 -32
- package/dist/projects/library-editor/src/apps/library-editor/views/delete-folder/DeleteFolderView.d.ts +0 -28
- package/dist/projects/library-editor/src/apps/library-editor/views/delete-library/DeleteLibraryView.d.ts +0 -23
- package/dist/projects/library-editor/src/apps/library-editor/views/delete-videos/DeleteVideosView.d.ts +0 -29
- package/dist/projects/library-editor/src/apps/library-editor/views/edit-chapters/EditChaptersView.d.ts +0 -71
- package/dist/projects/library-editor/src/apps/library-editor/views/edit-folder-images/EditFolderImagesView.d.ts +0 -51
- package/dist/projects/library-editor/src/apps/library-editor/views/edit-library/RenameLibraryView.d.ts +0 -29
- package/dist/projects/library-editor/src/apps/library-editor/views/edit-link/EditLinkView.d.ts +0 -30
- package/dist/projects/library-editor/src/apps/library-editor/views/edit-resource/EditResourceView.d.ts +0 -34
- package/dist/projects/library-editor/src/apps/library-editor/views/edit-resources/EditResourcesView.d.ts +0 -92
- package/dist/projects/library-editor/src/apps/library-editor/views/edit-video/EditVideoView.d.ts +0 -125
- package/dist/projects/library-editor/src/apps/library-editor/views/generate-pdf/GeneratePdfView.d.ts +0 -35
- package/dist/projects/library-editor/src/apps/library-editor/views/left-navigation/LeftNavigationView.d.ts +0 -33
- package/dist/projects/library-editor/src/apps/library-editor/views/library/LibraryView.d.ts +0 -31
- package/dist/projects/library-editor/src/apps/library-editor/views/move-folder/MoveFolderView.d.ts +0 -44
- package/dist/projects/library-editor/src/apps/library-editor/views/move-video/MoveVideoView.d.ts +0 -50
- package/dist/projects/library-editor/src/apps/library-editor/views/new-folder/NewFolderView.d.ts +0 -44
- package/dist/projects/library-editor/src/apps/library-editor/views/new-library/NewLibraryView.d.ts +0 -26
- package/dist/projects/library-editor/src/apps/library-editor/views/no-library/NoLibraryView.d.ts +0 -10
- package/dist/projects/library-editor/src/apps/library-editor/views/publish-library/PublishLibraryView.d.ts +0 -19
- package/dist/projects/library-editor/src/apps/library-editor/views/rename-folder/RenameFolderView.d.ts +0 -39
- package/dist/projects/library-editor/src/apps/library-editor/views/suggest-an-edit/SuggestAnEditView.d.ts +0 -58
- package/dist/projects/library-editor/src/apps/library-editor/views/thumbnail-upload/ThumbnailUploadView.d.ts +0 -34
- package/dist/projects/library-editor/src/apps/library-editor/views/video-collection/VideoCollectionView.d.ts +0 -105
- package/dist/projects/library-editor/src/apps/library-editor/views/video-details/VideoDetailsView.d.ts +0 -46
- package/dist/projects/library-editor/src/apps/migration-wizard/MigrationWizardApplication.d.ts +0 -45
- package/dist/projects/library-editor/src/apps/migration-wizard/collections/HomeFolderCollection.d.ts +0 -6
- package/dist/projects/library-editor/src/apps/migration-wizard/collections/SmartSelectVideoCollection.d.ts +0 -5
- package/dist/projects/library-editor/src/apps/migration-wizard/collections/index.d.ts +0 -1
- package/dist/projects/library-editor/src/apps/migration-wizard/components/banner/BannerComponent.d.ts +0 -18
- package/dist/projects/library-editor/src/apps/migration-wizard/components/empty-video-list/EmptyVideoListComponent.d.ts +0 -14
- package/dist/projects/library-editor/src/apps/migration-wizard/components/errored-video-actions/ErroredVideoActionsComponent.d.ts +0 -22
- package/dist/projects/library-editor/src/apps/migration-wizard/components/errored-video-footer/ErroredVideoFooterComponent.d.ts +0 -21
- package/dist/projects/library-editor/src/apps/migration-wizard/components/errored-video-item/ErroredVideoItemComponent.d.ts +0 -30
- package/dist/projects/library-editor/src/apps/migration-wizard/components/errored-video-list/ErroredVideoListComponent.d.ts +0 -12
- package/dist/projects/library-editor/src/apps/migration-wizard/components/errored-video-metadata/ErroredVideoMetadataComponent.d.ts +0 -8
- package/dist/projects/library-editor/src/apps/migration-wizard/components/errored-video-preview/ErroredVideoPreviewComponent.d.ts +0 -17
- package/dist/projects/library-editor/src/apps/migration-wizard/components/generate-report/GenerateReportComponent.d.ts +0 -25
- package/dist/projects/library-editor/src/apps/migration-wizard/components/generate-report-button/GenerateReportButtonComponent.d.ts +0 -10
- package/dist/projects/library-editor/src/apps/migration-wizard/components/index.d.ts +0 -13
- package/dist/projects/library-editor/src/apps/migration-wizard/components/migration-video-item/MigrationVideoItemComponent.d.ts +0 -30
- package/dist/projects/library-editor/src/apps/migration-wizard/components/progress-bar/ProgressBarComponent.d.ts +0 -19
- package/dist/projects/library-editor/src/apps/migration-wizard/components/progress-circle/ProgressCircleComponent.d.ts +0 -20
- package/dist/projects/library-editor/src/apps/migration-wizard/components/search-bar/SearchBarComponent.d.ts +0 -19
- package/dist/projects/library-editor/src/apps/migration-wizard/components/selected-video-item/SelectedVideoItemComponent.d.ts +0 -9
- package/dist/projects/library-editor/src/apps/migration-wizard/components/sorting-row/SortingRowComponent.d.ts +0 -35
- package/dist/projects/library-editor/src/apps/migration-wizard/components/status-bar/StatusBarComponent.d.ts +0 -28
- package/dist/projects/library-editor/src/apps/migration-wizard/components/video-list/VideoListCollection.d.ts +0 -36
- package/dist/projects/library-editor/src/apps/migration-wizard/components/video-list-collection/VideoListCollectionComponent.d.ts +0 -16
- package/dist/projects/library-editor/src/apps/migration-wizard/contants/MigrationErrorActions.d.ts +0 -4
- package/dist/projects/library-editor/src/apps/migration-wizard/contants/MigrationViewModels.d.ts +0 -4
- package/dist/projects/library-editor/src/apps/migration-wizard/enums/CloudSyncStatus.d.ts +0 -12
- package/dist/projects/library-editor/src/apps/migration-wizard/enums/FinalisationTaskStatus.d.ts +0 -5
- package/dist/projects/library-editor/src/apps/migration-wizard/enums/FinalisationType.d.ts +0 -6
- package/dist/projects/library-editor/src/apps/migration-wizard/enums/LocalOption.d.ts +0 -4
- package/dist/projects/library-editor/src/apps/migration-wizard/enums/MigrationOption.d.ts +0 -7
- package/dist/projects/library-editor/src/apps/migration-wizard/enums/MigrationReportType.d.ts +0 -6
- package/dist/projects/library-editor/src/apps/migration-wizard/enums/SortField.d.ts +0 -5
- package/dist/projects/library-editor/src/apps/migration-wizard/enums/ValidationResult.d.ts +0 -32
- package/dist/projects/library-editor/src/apps/migration-wizard/enums/ValidationResultErrorType.d.ts +0 -5
- package/dist/projects/library-editor/src/apps/migration-wizard/enums/VideoMigrationStatus.d.ts +0 -5
- package/dist/projects/library-editor/src/apps/migration-wizard/enums/index.d.ts +0 -7
- package/dist/projects/library-editor/src/apps/migration-wizard/errors/already-migrated/AlreadyMigratedError.d.ts +0 -6
- package/dist/projects/library-editor/src/apps/migration-wizard/errors/backup-progress/BackupProgressError.d.ts +0 -8
- package/dist/projects/library-editor/src/apps/migration-wizard/errors/index.d.ts +0 -6
- package/dist/projects/library-editor/src/apps/migration-wizard/errors/migration-finalisation/MigrationFinalisationError.d.ts +0 -8
- package/dist/projects/library-editor/src/apps/migration-wizard/errors/migration-progress/MigrationProgressError.d.ts +0 -8
- package/dist/projects/library-editor/src/apps/migration-wizard/errors/smart-migration-api-call/SmartMigrationApiCallError.d.ts +0 -9
- package/dist/projects/library-editor/src/apps/migration-wizard/filters/MigrationFilters.d.ts +0 -8
- package/dist/projects/library-editor/src/apps/migration-wizard/filters/index.d.ts +0 -1
- package/dist/projects/library-editor/src/apps/migration-wizard/interfaces/SelectedVideos.d.ts +0 -7
- package/dist/projects/library-editor/src/apps/migration-wizard/models/BackupToolBuild.d.ts +0 -3
- package/dist/projects/library-editor/src/apps/migration-wizard/models/CustomerMetadata.d.ts +0 -9
- package/dist/projects/library-editor/src/apps/migration-wizard/models/FinalisationTask.d.ts +0 -3
- package/dist/projects/library-editor/src/apps/migration-wizard/models/HomeFolder.d.ts +0 -8
- package/dist/projects/library-editor/src/apps/migration-wizard/models/MigrationOptions.d.ts +0 -3
- package/dist/projects/library-editor/src/apps/migration-wizard/models/SelectedVideo.d.ts +0 -3
- package/dist/projects/library-editor/src/apps/migration-wizard/models/SmartSelectVideo.d.ts +0 -4
- package/dist/projects/library-editor/src/apps/migration-wizard/models/VideoCount.d.ts +0 -3
- package/dist/projects/library-editor/src/apps/migration-wizard/models/index.d.ts +0 -8
- package/dist/projects/library-editor/src/apps/migration-wizard/services/FolderCacheService.d.ts +0 -22
- package/dist/projects/library-editor/src/apps/migration-wizard/services/LocalOptionsService.d.ts +0 -10
- package/dist/projects/library-editor/src/apps/migration-wizard/services/MigrationVideoDataService.d.ts +0 -56
- package/dist/projects/library-editor/src/apps/migration-wizard/services/SelectedVideoService.d.ts +0 -19
- package/dist/projects/library-editor/src/apps/migration-wizard/utils/FolderHelper.d.ts +0 -8
- package/dist/projects/library-editor/src/apps/migration-wizard/utils/KeyContactHelper.d.ts +0 -6
- package/dist/projects/library-editor/src/apps/migration-wizard/utils/MigrationErrorHelper.d.ts +0 -3
- package/dist/projects/library-editor/src/apps/migration-wizard/utils/MigrationHelper.d.ts +0 -41
- package/dist/projects/library-editor/src/apps/migration-wizard/utils/MigrationRadioChannels.d.ts +0 -4
- package/dist/projects/library-editor/src/apps/migration-wizard/utils/MigrationWarningsSvgs.d.ts +0 -3
- package/dist/projects/library-editor/src/apps/migration-wizard/utils/ReportHelper.d.ts +0 -9
- package/dist/projects/library-editor/src/apps/migration-wizard/utils/VideoHelper.d.ts +0 -29
- package/dist/projects/library-editor/src/apps/migration-wizard/views/current-section-header/CurrentSectionHeaderView.d.ts +0 -28
- package/dist/projects/library-editor/src/apps/migration-wizard/views/generate-csv-report/GenerateCsvReportView.d.ts +0 -27
- package/dist/projects/library-editor/src/apps/migration-wizard/views/migration-error/MigrationErrorView.d.ts +0 -40
- package/dist/projects/library-editor/src/apps/migration-wizard/views/migration-progress/MigrationProgressView.d.ts +0 -32
- package/dist/projects/library-editor/src/apps/migration-wizard/views/publish-library-banner/PublishLibraryBannerView.d.ts +0 -30
- package/dist/projects/library-editor/src/apps/migration-wizard/views/publish-library-complete/PublishLibraryCompleteView.d.ts +0 -15
- package/dist/projects/library-editor/src/apps/migration-wizard/views/publish-library-progress/PublishLibraryProgressView.d.ts +0 -18
- package/dist/projects/library-editor/src/apps/migration-wizard/views/publisher-backup/PublisherBackupView.d.ts +0 -19
- package/dist/projects/library-editor/src/apps/migration-wizard/views/publisher-backup-complete/PublisherBackupCompleteView.d.ts +0 -23
- package/dist/projects/library-editor/src/apps/migration-wizard/views/publisher-backup-progress/PublisherBackupProgressView.d.ts +0 -23
- package/dist/projects/library-editor/src/apps/migration-wizard/views/publisher-backup-welcome/PublisherBackupWelcomeView.d.ts +0 -19
- package/dist/projects/library-editor/src/apps/migration-wizard/views/remigrate-video/RemigrateVideoView.d.ts +0 -32
- package/dist/projects/library-editor/src/apps/migration-wizard/views/selected-videos/SelectedVideosView.d.ts +0 -32
- package/dist/projects/library-editor/src/apps/migration-wizard/views/show-video-popup/ShowPublisherVideoPopupView.d.ts +0 -26
- package/dist/projects/library-editor/src/apps/migration-wizard/views/smart-migration/SmartMigrationView.d.ts +0 -58
- package/dist/projects/library-editor/src/apps/migration-wizard/views/start/StartView.d.ts +0 -40
- package/dist/projects/library-editor/src/apps/migration-wizard/views/videos-added/VideosAddedView.d.ts +0 -24
- package/dist/projects/library-editor/src/apps/notifications/NotificationsApplication.d.ts +0 -11
- package/dist/projects/library-editor/src/apps/notifications/constants/NotificationsAppVariables.d.ts +0 -8
- package/dist/projects/library-editor/src/apps/notifications/constants/index.d.ts +0 -0
- package/dist/projects/library-editor/src/apps/notifications/utils/Constants.d.ts +0 -3
- package/dist/projects/library-editor/src/apps/notifications/utils/NotificationsHelper.d.ts +0 -10
- package/dist/projects/library-editor/src/apps/notifications/utils/index.d.ts +0 -2
- package/dist/projects/library-editor/src/apps/search/SearchApplication.d.ts +0 -16
- package/dist/projects/library-editor/src/apps/search/collections/FilterCollection.d.ts +0 -9
- package/dist/projects/library-editor/src/apps/search/collections/OptionCollection.d.ts +0 -5
- package/dist/projects/library-editor/src/apps/search/collections/index.d.ts +0 -2
- package/dist/projects/library-editor/src/apps/search/components/filters/FiltersComponent.d.ts +0 -27
- package/dist/projects/library-editor/src/apps/search/components/filters/filter-button-list/FilterButtonItemComponent.d.ts +0 -37
- package/dist/projects/library-editor/src/apps/search/components/filters/filter-button-list/FilterButtonListComponent.d.ts +0 -19
- package/dist/projects/library-editor/src/apps/search/components/filters/filter-button-list/index.d.ts +0 -2
- package/dist/projects/library-editor/src/apps/search/components/filters/filter-list/FilterItemComponent.d.ts +0 -17
- package/dist/projects/library-editor/src/apps/search/components/filters/filter-list/FilterListComponent.d.ts +0 -24
- package/dist/projects/library-editor/src/apps/search/components/filters/filter-options/FilterOptionsComponent.d.ts +0 -34
- package/dist/projects/library-editor/src/apps/search/components/filters/filter-options/bool-filter-options/BoolFilterOptionsComponent.d.ts +0 -15
- package/dist/projects/library-editor/src/apps/search/components/filters/filter-options/duration-filter-options/DurationFilterOptionListComponent.d.ts +0 -27
- package/dist/projects/library-editor/src/apps/search/components/filters/filter-options/filter-option-list/FilterOptionItemComponent.d.ts +0 -19
- package/dist/projects/library-editor/src/apps/search/components/filters/filter-options/filter-option-list/FilterOptionsListComponent.d.ts +0 -21
- package/dist/projects/library-editor/src/apps/search/components/filters/filter-options/index.d.ts +0 -7
- package/dist/projects/library-editor/src/apps/search/components/filters/filter-options/range-filter-options/RangeFilterOptionListComponent.d.ts +0 -23
- package/dist/projects/library-editor/src/apps/search/components/filters/filter-options/tag-filter-options/TagFilterOptionsComponent.d.ts +0 -27
- package/dist/projects/library-editor/src/apps/search/components/filters/filter-options/tag-filter-options/TagFilterOptionsListComponent.d.ts +0 -19
- package/dist/projects/library-editor/src/apps/search/components/filters/index.d.ts +0 -3
- package/dist/projects/library-editor/src/apps/search/components/filters/more-filters-button/MoreFiltersButtonComponent.d.ts +0 -42
- package/dist/projects/library-editor/src/apps/search/components/results/SearchResultsComponent.d.ts +0 -22
- package/dist/projects/library-editor/src/apps/search/components/search-header/SearchHeaderComponent.d.ts +0 -11
- package/dist/projects/library-editor/src/apps/search/constants/SearchRadioChannels.d.ts +0 -3
- package/dist/projects/library-editor/src/apps/search/constants/index.d.ts +0 -1
- package/dist/projects/library-editor/src/apps/search/models/Filter.d.ts +0 -8
- package/dist/projects/library-editor/src/apps/search/models/Option.d.ts +0 -4
- package/dist/projects/library-editor/src/apps/search/models/Query.d.ts +0 -3
- package/dist/projects/library-editor/src/apps/search/models/SearchAppVariables.d.ts +0 -7
- package/dist/projects/library-editor/src/apps/search/models/index.d.ts +0 -3
- package/dist/projects/library-editor/src/apps/search/services/SearchDataService.d.ts +0 -12
- package/dist/projects/library-editor/src/apps/search/services/index.d.ts +0 -1
- package/dist/projects/library-editor/src/apps/search/utils/Constants.d.ts +0 -28
- package/dist/projects/library-editor/src/apps/search/utils/Enums.d.ts +0 -23
- package/dist/projects/library-editor/src/apps/search/utils/FilterHelper.d.ts +0 -2
- package/dist/projects/library-editor/src/apps/search/utils/FilterLabelGenerators.d.ts +0 -2
- package/dist/projects/library-editor/src/apps/search/utils/FilterQueryGenerators.d.ts +0 -2
- package/dist/projects/library-editor/src/apps/search/utils/FilterRouteQueryParamGenerators.d.ts +0 -2
- package/dist/projects/library-editor/src/apps/search/utils/SearchHelper.d.ts +0 -11
- package/dist/projects/library-editor/src/apps/search/utils/index.d.ts +0 -4
- package/dist/projects/library-editor/src/apps/search/views/search/SearchView.d.ts +0 -57
- package/dist/projects/library-editor/src/apps/staff-requests/StaffRequestsApplication.d.ts +0 -15
- package/dist/projects/library-editor/src/apps/staff-requests/collections/StaffRequestCollection.d.ts +0 -5
- package/dist/projects/library-editor/src/apps/staff-requests/collections/StaffRequestMessageCollection.d.ts +0 -5
- package/dist/projects/library-editor/src/apps/staff-requests/collections/index.d.ts +0 -2
- package/dist/projects/library-editor/src/apps/staff-requests/components/staff-request-actions/StaffRequestActionsComponent.d.ts +0 -42
- package/dist/projects/library-editor/src/apps/staff-requests/components/staff-request-details/StaffRequestDetailsComponent.d.ts +0 -30
- package/dist/projects/library-editor/src/apps/staff-requests/components/staff-request-list/StaffRequestListComponent.d.ts +0 -29
- package/dist/projects/library-editor/src/apps/staff-requests/enums/StaffRequestStatus.d.ts +0 -5
- package/dist/projects/library-editor/src/apps/staff-requests/enums/index.d.ts +0 -1
- package/dist/projects/library-editor/src/apps/staff-requests/models/StaffRequest.d.ts +0 -18
- package/dist/projects/library-editor/src/apps/staff-requests/models/StaffRequestMessage.d.ts +0 -7
- package/dist/projects/library-editor/src/apps/staff-requests/models/index.d.ts +0 -2
- package/dist/projects/library-editor/src/apps/staff-requests/services/StaffRequestDataService.d.ts +0 -14
- package/dist/projects/library-editor/src/apps/staff-requests/services/index.d.ts +0 -1
- package/dist/projects/library-editor/src/apps/staff-requests/utils/StaffRequestApprovalValidation.d.ts +0 -2
- package/dist/projects/library-editor/src/apps/staff-requests/utils/StaffRequestRejectionValidation.d.ts +0 -2
- package/dist/projects/library-editor/src/apps/staff-requests/utils/index.d.ts +0 -2
- package/dist/projects/library-editor/src/apps/staff-requests/views/approve-staff-request/ApproveStaffRequestView.d.ts +0 -34
- package/dist/projects/library-editor/src/apps/staff-requests/views/reject-staff-request/RejectStaffRequestView.d.ts +0 -34
- package/dist/projects/library-editor/src/apps/staff-requests/views/staff-requests/StaffRequestsView.d.ts +0 -44
- package/dist/projects/library-editor/src/apps/upload/UploadApplication.d.ts +0 -23
- package/dist/projects/library-editor/src/apps/upload/components/index.d.ts +0 -7
- package/dist/projects/library-editor/src/apps/upload/components/processing-progress/ProcessProgressComponentCollection.d.ts +0 -38
- package/dist/projects/library-editor/src/apps/upload/components/progress-info/ProgressInfoComponent.d.ts +0 -10
- package/dist/projects/library-editor/src/apps/upload/components/upload-actions/UploadActionsComponent.d.ts +0 -21
- package/dist/projects/library-editor/src/apps/upload/components/upload-folder-select/UploadFolderSelectComponent.d.ts +0 -35
- package/dist/projects/library-editor/src/apps/upload/components/upload-progress/UploadProgressComponent.d.ts +0 -10
- package/dist/projects/library-editor/src/apps/upload/components/upload-video/UploadVideoComponent.d.ts +0 -48
- package/dist/projects/library-editor/src/apps/upload/components/upload-video/UploadVideoComponentCollection.d.ts +0 -20
- package/dist/projects/library-editor/src/apps/upload/components/upload-video-options/UploadVideoOptionsComponent.d.ts +0 -18
- package/dist/projects/library-editor/src/apps/upload/errors/index.d.ts +0 -1
- package/dist/projects/library-editor/src/apps/upload/errors/no-libraries-upload/NoLibrariesUploadError.d.ts +0 -7
- package/dist/projects/library-editor/src/apps/upload/services/ImageUploadDataService.d.ts +0 -8
- package/dist/projects/library-editor/src/apps/upload/services/PendingItemsService.d.ts +0 -7
- package/dist/projects/library-editor/src/apps/upload/services/VideoUploadDataService.d.ts +0 -17
- package/dist/projects/library-editor/src/apps/upload/services/VideoUploadService.d.ts +0 -8
- package/dist/projects/library-editor/src/apps/upload/services/index.d.ts +0 -5
- package/dist/projects/library-editor/src/apps/upload/views/file-select/FileSelectView.d.ts +0 -25
- package/dist/projects/library-editor/src/apps/upload/views/progress-summary/ProgressSummaryView.d.ts +0 -18
- package/dist/projects/library-editor/src/apps/upload/views/upload-button/UploadButtonView.d.ts +0 -26
- package/dist/projects/library-editor/src/apps/upload/views/upload-complete/UploadCompleteView.d.ts +0 -14
- package/dist/projects/library-editor/src/apps/upload/views/upload-videos/UploadVideosView.d.ts +0 -64
- package/dist/projects/library-editor/src/apps/video-access/VideoAccessApplication.d.ts +0 -12
- package/dist/projects/library-editor/src/apps/video-access/views/restricted-video-list/RestrictedVideoListView.d.ts +0 -34
- package/dist/projects/library-editor/src/polyfills.d.ts +0 -2
- package/dist/projects/library-editor/src/shared/alerts/VideoAlerts.d.ts +0 -9
- package/dist/projects/library-editor/src/shared/alerts/index.d.ts +0 -1
- package/dist/projects/library-editor/src/shared/behaviors/backbone-validation/BackboneValidationBehavior.d.ts +0 -14
- package/dist/projects/library-editor/src/shared/behaviors/image-select-behavior/ImageSelectBehavior.d.ts +0 -23
- package/dist/projects/library-editor/src/shared/behaviors/index.d.ts +0 -6
- package/dist/projects/library-editor/src/shared/behaviors/lazy-load/LazyLoadBehavior.d.ts +0 -31
- package/dist/projects/library-editor/src/shared/behaviors/lock-layout-file-drop/LockLayoutFileDropBehavior.d.ts +0 -7
- package/dist/projects/library-editor/src/shared/behaviors/popup/PopupBehavior.d.ts +0 -65
- package/dist/projects/library-editor/src/shared/behaviors/stickit/StickitBehavior.d.ts +0 -6
- package/dist/projects/library-editor/src/shared/collections/ChannelCollection.d.ts +0 -6
- package/dist/projects/library-editor/src/shared/collections/ChapterCollection.d.ts +0 -7
- package/dist/projects/library-editor/src/shared/collections/DirectorCollection.d.ts +0 -6
- package/dist/projects/library-editor/src/shared/collections/DistributorCollection.d.ts +0 -6
- package/dist/projects/library-editor/src/shared/collections/FieldsCollection.d.ts +0 -5
- package/dist/projects/library-editor/src/shared/collections/FolderCollection.d.ts +0 -7
- package/dist/projects/library-editor/src/shared/collections/InteractivesCollection.d.ts +0 -6
- package/dist/projects/library-editor/src/shared/collections/LibraryCollection.d.ts +0 -7
- package/dist/projects/library-editor/src/shared/collections/LinkCollection.d.ts +0 -6
- package/dist/projects/library-editor/src/shared/collections/LocalCacheDeviceCollection.d.ts +0 -5
- package/dist/projects/library-editor/src/shared/collections/LocalCacheDownloadCollection.d.ts +0 -5
- package/dist/projects/library-editor/src/shared/collections/MetadataCollection.d.ts +0 -4
- package/dist/projects/library-editor/src/shared/collections/ProducerCollection.d.ts +0 -6
- package/dist/projects/library-editor/src/shared/collections/ProductionCompanyCollection.d.ts +0 -6
- package/dist/projects/library-editor/src/shared/collections/RatingCollection.d.ts +0 -4
- package/dist/projects/library-editor/src/shared/collections/ResourceCollection.d.ts +0 -6
- package/dist/projects/library-editor/src/shared/collections/RestrictedObjectCollection.d.ts +0 -5
- package/dist/projects/library-editor/src/shared/collections/RestrictionCollection.d.ts +0 -5
- package/dist/projects/library-editor/src/shared/collections/SeasonCollection.d.ts +0 -6
- package/dist/projects/library-editor/src/shared/collections/SettingsCollection.d.ts +0 -5
- package/dist/projects/library-editor/src/shared/collections/SubtitleCollection.d.ts +0 -6
- package/dist/projects/library-editor/src/shared/collections/TagCollection.d.ts +0 -6
- package/dist/projects/library-editor/src/shared/collections/VideoCollection.d.ts +0 -6
- package/dist/projects/library-editor/src/shared/components/alert/AlertComponentCollection.d.ts +0 -11
- package/dist/projects/library-editor/src/shared/components/alert/AlertItemComponent.d.ts +0 -44
- package/dist/projects/library-editor/src/shared/components/breadcrumbs/BreadcrumbComponentCollection.d.ts +0 -18
- package/dist/projects/library-editor/src/shared/components/breadcrumbs/BreadcrumbsComponent.d.ts +0 -27
- package/dist/projects/library-editor/src/shared/components/bulk-video-actions/BulkVideoActionsComponent.d.ts +0 -26
- package/dist/projects/library-editor/src/shared/components/checkbox/BulkCheckboxComponent.d.ts +0 -27
- package/dist/projects/library-editor/src/shared/components/checkbox/CheckboxComponent.d.ts +0 -25
- package/dist/projects/library-editor/src/shared/components/clear-button/ClearButtonComponent.d.ts +0 -18
- package/dist/projects/library-editor/src/shared/components/date-picker/DatePickerComponent.d.ts +0 -47
- package/dist/projects/library-editor/src/shared/components/dialog/DialogView.d.ts +0 -22
- package/dist/projects/library-editor/src/shared/components/dropdown/DropdownButtonComponent.d.ts +0 -36
- package/dist/projects/library-editor/src/shared/components/dropdown/DropdownComponentCollection.d.ts +0 -38
- package/dist/projects/library-editor/src/shared/components/dropdown/DropdownItemComponent.d.ts +0 -57
- package/dist/projects/library-editor/src/shared/components/edit-video/edit-additional-info/EditAdditionalInfoComponent.d.ts +0 -38
- package/dist/projects/library-editor/src/shared/components/edit-video/edit-basic-info/EditBasicInfoComponent.d.ts +0 -32
- package/dist/projects/library-editor/src/shared/components/edit-video/edit-broadcast/EditBroadcastComponent.d.ts +0 -22
- package/dist/projects/library-editor/src/shared/components/edit-video/edit-broadcast/ToggleBroadcastComponent.d.ts +0 -24
- package/dist/projects/library-editor/src/shared/components/edit-video/edit-production-info/EditProductionInfoComponent.d.ts +0 -61
- package/dist/projects/library-editor/src/shared/components/edit-video/edit-season-info/EditSeasonInfoComponent.d.ts +0 -33
- package/dist/projects/library-editor/src/shared/components/edit-video/extra-info/ExtraInfoComponent.d.ts +0 -16
- package/dist/projects/library-editor/src/shared/components/edit-video/extra-info/ExtraInfoItemComponent.d.ts +0 -17
- package/dist/projects/library-editor/src/shared/components/edit-video/select-rating/SelectRatingCollectionComponent.d.ts +0 -17
- package/dist/projects/library-editor/src/shared/components/edit-video/select-rating/SelectRatingComponent.d.ts +0 -40
- package/dist/projects/library-editor/src/shared/components/edit-video/select-rating/SelectRatingItemComponent.d.ts +0 -20
- package/dist/projects/library-editor/src/shared/components/fields/FieldsComponent.d.ts +0 -9
- package/dist/projects/library-editor/src/shared/components/image-cropper/ImageCropperComponent.d.ts +0 -34
- package/dist/projects/library-editor/src/shared/components/left-nav/LeftNavComponent.d.ts +0 -31
- package/dist/projects/library-editor/src/shared/components/left-nav/LeftNavNodeComponent.d.ts +0 -48
- package/dist/projects/library-editor/src/shared/components/page-footer/PageFooterComponent.d.ts +0 -15
- package/dist/projects/library-editor/src/shared/components/page-header/PageHeaderComponent.d.ts +0 -25
- package/dist/projects/library-editor/src/shared/components/partial-loading/PartialLoadingComponent.d.ts +0 -16
- package/dist/projects/library-editor/src/shared/components/partial-loading/PartialLoadingComponentCollection.d.ts +0 -20
- package/dist/projects/library-editor/src/shared/components/partial-loading/index.d.ts +0 -2
- package/dist/projects/library-editor/src/shared/components/resizing-text-area/ResizingTextAreaComponent.d.ts +0 -23
- package/dist/projects/library-editor/src/shared/components/screenrights-disclaimer/ScreenrightsDisclaimerComponent.d.ts +0 -18
- package/dist/projects/library-editor/src/shared/components/select/SelectComponent.d.ts +0 -54
- package/dist/projects/library-editor/src/shared/components/spinner-button/SpinnerButtonComponent.d.ts +0 -73
- package/dist/projects/library-editor/src/shared/components/tabs/TabsComponent.d.ts +0 -28
- package/dist/projects/library-editor/src/shared/components/top-navigation/TopNavigationComponentCollection.d.ts +0 -29
- package/dist/projects/library-editor/src/shared/components/tree-dropdown/TreeDropdownComponent.d.ts +0 -32
- package/dist/projects/library-editor/src/shared/components/typeahead-input/SearchTypeaheadComponent.d.ts +0 -74
- package/dist/projects/library-editor/src/shared/components/typeahead-input/templates/index.d.ts +0 -4
- package/dist/projects/library-editor/src/shared/components/typeahead-list/TypeaheadListComponent.d.ts +0 -33
- package/dist/projects/library-editor/src/shared/components/user-options-dropdown/UserOptionsDropdownComponent.d.ts +0 -20
- package/dist/projects/library-editor/src/shared/components/video-actions/VideoActionComponentCollection.d.ts +0 -31
- package/dist/projects/library-editor/src/shared/components/video-actions/VideoActionsComponent.d.ts +0 -42
- package/dist/projects/library-editor/src/shared/components/video-basic-info/VideoBasicInfoComponent.d.ts +0 -33
- package/dist/projects/library-editor/src/shared/components/video-description/VideoDescriptionComponent.d.ts +0 -33
- package/dist/projects/library-editor/src/shared/components/video-item/VideoItemComponent.d.ts +0 -58
- package/dist/projects/library-editor/src/shared/components/video-item/index.d.ts +0 -4
- package/dist/projects/library-editor/src/shared/components/video-item/utils/VideoItemBehaviors.d.ts +0 -4
- package/dist/projects/library-editor/src/shared/components/video-item/utils/VideoItemComponentHelper.d.ts +0 -8
- package/dist/projects/library-editor/src/shared/components/video-item/utils/VideoItemComponentTypes.d.ts +0 -16
- package/dist/projects/library-editor/src/shared/components/video-item/utils/VideoItemComponents.d.ts +0 -7
- package/dist/projects/library-editor/src/shared/components/video-item/utils/index.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/components/video-item/video-item-actions/base/VideoItemActionsComponent.d.ts +0 -23
- package/dist/projects/library-editor/src/shared/components/video-item/video-item-actions/index.d.ts +0 -4
- package/dist/projects/library-editor/src/shared/components/video-item/video-item-actions/video-item-processing-actions/VideoItemProcessingActionsComponent.d.ts +0 -25
- package/dist/projects/library-editor/src/shared/components/video-item/video-item-actions/video-item-review-actions/VideoItemReviewActionsComponent.d.ts +0 -26
- package/dist/projects/library-editor/src/shared/components/video-item/video-item-actions/video-item-video-access-actions/VideoItemVideoAccessActionsComponent.d.ts +0 -22
- package/dist/projects/library-editor/src/shared/components/video-item/video-item-metadata/base/VideoItemMetadataComponent.d.ts +0 -24
- package/dist/projects/library-editor/src/shared/components/video-item/video-item-metadata/index.d.ts +0 -9
- package/dist/projects/library-editor/src/shared/components/video-item/video-item-metadata/video-item-awaiting-review-metadata/VideoItemAwaitingReviewMetadataComponent.d.ts +0 -22
- package/dist/projects/library-editor/src/shared/components/video-item/video-item-metadata/video-item-badges/VideoItemBadgesComponent.d.ts +0 -20
- package/dist/projects/library-editor/src/shared/components/video-item/video-item-metadata/video-item-past-releases-metadata/VideoItemPastReleasesMetadataComponent.d.ts +0 -25
- package/dist/projects/library-editor/src/shared/components/video-item/video-item-metadata/video-item-processing-metadata/VideoItemProcessingMetadataComponent.d.ts +0 -19
- package/dist/projects/library-editor/src/shared/components/video-item/video-item-metadata/video-item-search-metadata/VideoItemSearchMetadataComponent.d.ts +0 -22
- package/dist/projects/library-editor/src/shared/components/video-item/video-item-metadata/video-item-series/VideoItemSeriesComponent.d.ts +0 -22
- package/dist/projects/library-editor/src/shared/components/video-item/video-item-metadata/video-item-video-access-metadata/VideoItemVideoAccessMetadataComponent.d.ts +0 -27
- package/dist/projects/library-editor/src/shared/components/video-item/video-item-metadata/video-sources-metadata/VideoSourcesMetadataComponent.d.ts +0 -22
- package/dist/projects/library-editor/src/shared/components/video-item-preview/VideoItemPreviewComponent.d.ts +0 -37
- package/dist/projects/library-editor/src/shared/components/video-list/VideoListComponent.d.ts +0 -44
- package/dist/projects/library-editor/src/shared/components/video-preview/VideoPreviewComponent.d.ts +0 -30
- package/dist/projects/library-editor/src/shared/components/web-player/WebPlayerComponent.d.ts +0 -53
- package/dist/projects/library-editor/src/shared/constants/Actions.d.ts +0 -99
- package/dist/projects/library-editor/src/shared/constants/BootstrapKeys.d.ts +0 -9
- package/dist/projects/library-editor/src/shared/constants/CacheDurations.d.ts +0 -4
- package/dist/projects/library-editor/src/shared/constants/DataPrefixes.d.ts +0 -91
- package/dist/projects/library-editor/src/shared/constants/DataServiceErrors.d.ts +0 -4
- package/dist/projects/library-editor/src/shared/constants/EventNames.d.ts +0 -16
- package/dist/projects/library-editor/src/shared/constants/FolderTreeIds.d.ts +0 -4
- package/dist/projects/library-editor/src/shared/constants/FormattedCustomerSettingNames.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/constants/ImageSizes.d.ts +0 -11
- package/dist/projects/library-editor/src/shared/constants/ImageUrls.d.ts +0 -19
- package/dist/projects/library-editor/src/shared/constants/LayoutRegions.d.ts +0 -16
- package/dist/projects/library-editor/src/shared/constants/Layouts.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/constants/LazyLoadBrowserSupport.d.ts +0 -7
- package/dist/projects/library-editor/src/shared/constants/MarketingSiteArticles.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/constants/Misc.d.ts +0 -5
- package/dist/projects/library-editor/src/shared/constants/OnlineUrls.d.ts +0 -4
- package/dist/projects/library-editor/src/shared/constants/PartialLoadingComponents.d.ts +0 -10
- package/dist/projects/library-editor/src/shared/constants/RadioChannels.d.ts +0 -62
- package/dist/projects/library-editor/src/shared/constants/Search.d.ts +0 -24
- package/dist/projects/library-editor/src/shared/constants/Services.d.ts +0 -62
- package/dist/projects/library-editor/src/shared/constants/SupportArticles.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/constants/Webplayer.d.ts +0 -4
- package/dist/projects/library-editor/src/shared/constants/WithStatements.d.ts +0 -9
- package/dist/projects/library-editor/src/shared/constants/empty-state-components/EmptyStateComponents.d.ts +0 -6
- package/dist/projects/library-editor/src/shared/constants/index.d.ts +0 -25
- package/dist/projects/library-editor/src/shared/enums/CitationType.d.ts +0 -6
- package/dist/projects/library-editor/src/shared/enums/CustomerRegions.d.ts +0 -5
- package/dist/projects/library-editor/src/shared/enums/EmptyStates.d.ts +0 -16
- package/dist/projects/library-editor/src/shared/enums/FileIdType.d.ts +0 -5
- package/dist/projects/library-editor/src/shared/enums/ImageType.d.ts +0 -5
- package/dist/projects/library-editor/src/shared/enums/MasterType.d.ts +0 -4
- package/dist/projects/library-editor/src/shared/enums/PartialLoading.d.ts +0 -38
- package/dist/projects/library-editor/src/shared/enums/RestrictedObjectType.d.ts +0 -4
- package/dist/projects/library-editor/src/shared/enums/SchoolTypes.d.ts +0 -17
- package/dist/projects/library-editor/src/shared/enums/SharedResourcePrivacy.d.ts +0 -5
- package/dist/projects/library-editor/src/shared/enums/SortTypes.d.ts +0 -10
- package/dist/projects/library-editor/src/shared/enums/StaffRequestOption.d.ts +0 -9
- package/dist/projects/library-editor/src/shared/enums/TimeType.d.ts +0 -4
- package/dist/projects/library-editor/src/shared/enums/UserRole.d.ts +0 -10
- package/dist/projects/library-editor/src/shared/enums/YearGroups.d.ts +0 -19
- package/dist/projects/library-editor/src/shared/enums/index.d.ts +0 -15
- package/dist/projects/library-editor/src/shared/errors/authentication/AuthenticationError.d.ts +0 -8
- package/dist/projects/library-editor/src/shared/errors/customer-setting/CustomerSettingError.d.ts +0 -8
- package/dist/projects/library-editor/src/shared/errors/email-not-verified/EmailNotVerifiedError.d.ts +0 -8
- package/dist/projects/library-editor/src/shared/errors/forbidden-access/ForbiddenAccessError.d.ts +0 -11
- package/dist/projects/library-editor/src/shared/errors/index.d.ts +0 -8
- package/dist/projects/library-editor/src/shared/errors/local-cache-device-not-found/LocalCacheDeviceNotFoundError.d.ts +0 -7
- package/dist/projects/library-editor/src/shared/errors/no-beta-access/NoBetaAccessError.d.ts +0 -8
- package/dist/projects/library-editor/src/shared/errors/not-found/NotFoundError.d.ts +0 -5
- package/dist/projects/library-editor/src/shared/errors/old-version/OldVersionError.d.ts +0 -8
- package/dist/projects/library-editor/src/shared/filters/BetaAccessFilter.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/filters/CustomerSettingsFilter.d.ts +0 -8
- package/dist/projects/library-editor/src/shared/filters/RoleFilter.d.ts +0 -4
- package/dist/projects/library-editor/src/shared/filters/VerifiedEmailFilter.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/filters/index.d.ts +0 -4
- package/dist/projects/library-editor/src/shared/index.d.ts +0 -9
- package/dist/projects/library-editor/src/shared/interfaces/LibraryFoldersIdentifier.d.ts +0 -5
- package/dist/projects/library-editor/src/shared/interfaces/RecentVideoCollectionIdentifier.d.ts +0 -20
- package/dist/projects/library-editor/src/shared/interfaces/RecentVideoSubjectCollectionIdentifier.d.ts +0 -16
- package/dist/projects/library-editor/src/shared/interfaces/VideoCollectionIdentifier.d.ts +0 -5
- package/dist/projects/library-editor/src/shared/interfaces/index.d.ts +0 -4
- package/dist/projects/library-editor/src/shared/layouts/index.d.ts +0 -1
- package/dist/projects/library-editor/src/shared/layouts/manage-layout/ManageLayoutView.d.ts +0 -49
- package/dist/projects/library-editor/src/shared/models/Avatar.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/Banner.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/Channel.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/Chapter.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/Company.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/Config.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/Customer.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/Director.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/DisabledSpinnerModel.d.ts +0 -5
- package/dist/projects/library-editor/src/shared/models/Distributor.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/Folder.d.ts +0 -14
- package/dist/projects/library-editor/src/shared/models/Image.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/Interactives.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/LanguageConfig.d.ts +0 -7
- package/dist/projects/library-editor/src/shared/models/Library.d.ts +0 -10
- package/dist/projects/library-editor/src/shared/models/Link.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/LocalCacheDevice.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/LocalCacheDownload.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/Logo.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/Metadata.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/Owner.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/Person.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/Phrases.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/Playlist.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/Producer.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/ProductionCompany.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/Rating.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/Resource.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/RestrictedObject.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/Restriction.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/Season.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/Series.d.ts +0 -7
- package/dist/projects/library-editor/src/shared/models/Setting.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/SharedResource.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/Subtitle.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/Tag.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/Thumbnail.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/User.d.ts +0 -10
- package/dist/projects/library-editor/src/shared/models/Video.d.ts +0 -49
- package/dist/projects/library-editor/src/shared/services/AlertService.d.ts +0 -15
- package/dist/projects/library-editor/src/shared/services/ConfigDataService.d.ts +0 -23
- package/dist/projects/library-editor/src/shared/services/CustomerDataService.d.ts +0 -7
- package/dist/projects/library-editor/src/shared/services/DownloadProxyDataServices.d.ts +0 -8
- package/dist/projects/library-editor/src/shared/services/IntercomService.d.ts +0 -6
- package/dist/projects/library-editor/src/shared/services/LocalCacheDataService.d.ts +0 -12
- package/dist/projects/library-editor/src/shared/services/NavigationLockService.d.ts +0 -16
- package/dist/projects/library-editor/src/shared/services/PageTitleService.d.ts +0 -8
- package/dist/projects/library-editor/src/shared/services/PageVisibilityService.d.ts +0 -14
- package/dist/projects/library-editor/src/shared/services/PartialLoadingService.d.ts +0 -10
- package/dist/projects/library-editor/src/shared/services/RestrictedVideoDataService.d.ts +0 -15
- package/dist/projects/library-editor/src/shared/services/SettingsDataService.d.ts +0 -16
- package/dist/projects/library-editor/src/shared/services/UserDataService.d.ts +0 -20
- package/dist/projects/library-editor/src/shared/services/VideoMixinService.d.ts +0 -18
- package/dist/projects/library-editor/src/shared/utils/BulkCheckboxHelper.d.ts +0 -18
- package/dist/projects/library-editor/src/shared/utils/CancelProcessingHelper.d.ts +0 -4
- package/dist/projects/library-editor/src/shared/utils/CollectionHelper.d.ts +0 -10
- package/dist/projects/library-editor/src/shared/utils/DialogHelper.d.ts +0 -9
- package/dist/projects/library-editor/src/shared/utils/DurationHelper.d.ts +0 -7
- package/dist/projects/library-editor/src/shared/utils/FolderTreeHelpers.d.ts +0 -36
- package/dist/projects/library-editor/src/shared/utils/ImageHelper.d.ts +0 -32
- package/dist/projects/library-editor/src/shared/utils/LazyLoadHelper.d.ts +0 -4
- package/dist/projects/library-editor/src/shared/utils/LocalCacheHelper.d.ts +0 -7
- package/dist/projects/library-editor/src/shared/utils/PartialLoadingHelper.d.ts +0 -6
- package/dist/projects/library-editor/src/shared/utils/PermissionsHelper.d.ts +0 -13
- package/dist/projects/library-editor/src/shared/utils/RadioChannelHelper.d.ts +0 -11
- package/dist/projects/library-editor/src/shared/utils/RatingHelper.d.ts +0 -5
- package/dist/projects/library-editor/src/shared/utils/RestrictedAccessHelper.d.ts +0 -13
- package/dist/projects/library-editor/src/shared/utils/SettingsHelper.d.ts +0 -9
- package/dist/projects/library-editor/src/shared/utils/SortHelper.d.ts +0 -16
- package/dist/projects/library-editor/src/shared/utils/SpinnerHelper.d.ts +0 -19
- package/dist/projects/library-editor/src/shared/utils/SubtitleLanguageValidation.d.ts +0 -6
- package/dist/projects/library-editor/src/shared/utils/TabHelper.d.ts +0 -9
- package/dist/projects/library-editor/src/shared/utils/TextHelper.d.ts +0 -9
- package/dist/projects/library-editor/src/shared/utils/TimeHelper.d.ts +0 -20
- package/dist/projects/library-editor/src/shared/utils/VideoHelper.d.ts +0 -11
- package/dist/projects/library-editor/src/shared/utils/index.d.ts +0 -23
- package/dist/projects/library-editor/src/shared/utils/search/RawSearchHelper.d.ts +0 -25
- package/dist/projects/library-editor/src/shared/utils/search/index.d.ts +0 -1
- package/dist/projects/library-editor/src/shared/utils/search/raw-search-components/add-new/AddNewSuggestion.d.ts +0 -12
- package/dist/projects/library-editor/src/shared/utils/search/raw-search-components/index.d.ts +0 -1
- package/dist/projects/library-editor/src/shared/utils/search/raw-search-templates/index.d.ts +0 -5
- package/dist/projects/library-editor/src/shared/views/download-to-local-cache/DownloadToLocalCacheView.d.ts +0 -28
- package/dist/projects/library-editor/src/shared/views/download-video/DownloadVideoView.d.ts +0 -18
- package/dist/projects/library-editor/src/shared/views/restrict-access/RestrictAccessComponent.d.ts +0 -7
- package/dist/projects/library-editor/src/shared/views/restrict-access/RestrictAccessGroupComponent.d.ts +0 -24
- package/dist/projects/library-editor/src/shared/views/restrict-access/RestrictAccessView.d.ts +0 -67
- package/dist/projects/library-editor/src/shared/views/share/ShareView.d.ts +0 -48
- package/dist/projects/library-editor/src/shared/views/top-navigation/TopNavigationView.d.ts +0 -35
- package/dist/projects/library-editor/src/shared/views/user-options/UserOptionsView.d.ts +0 -18
- package/dist/projects/library-editor/src/startup/ConsoleOutput.d.ts +0 -3
- package/dist/projects/library-editor/src/startup/RegisterAjaxMiddleware.d.ts +0 -3
- package/dist/projects/library-editor/src/startup/RegisterAnalytics.d.ts +0 -3
- package/dist/projects/library-editor/src/startup/RegisterApplicationVariables.d.ts +0 -3
- package/dist/projects/library-editor/src/startup/RegisterApplications.d.ts +0 -3
- package/dist/projects/library-editor/src/startup/RegisterCaches.d.ts +0 -3
- package/dist/projects/library-editor/src/startup/RegisterDataProviders.d.ts +0 -3
- package/dist/projects/library-editor/src/startup/RegisterDataServices.d.ts +0 -3
- package/dist/projects/library-editor/src/startup/RegisterErrorHandlers.d.ts +0 -3
- package/dist/projects/library-editor/src/startup/RegisterHandlebarsHelpers.d.ts +0 -3
- package/dist/projects/library-editor/src/startup/RegisterLayouts.d.ts +0 -3
- package/dist/projects/library-editor/src/startup/RegisterRuntimeEnvironment.d.ts +0 -3
- package/dist/projects/library-editor/src/startup/RegisterServices.d.ts +0 -3
- package/dist/projects/library-editor/src/startup/RegisterViewDataExtensions.d.ts +0 -15
- package/dist/projects/library-editor/src/startup/index.d.ts +0 -14
- package/dist/projects/library-editor/src/styles/index.d.ts +0 -1
- package/dist/projects/library-editor/typings/libs/LazyLoad.d.ts +0 -26
- package/dist/scripts/0-e25d47c666.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-620c685eee.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-3baf058564.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.chunk.js +0 -4091
- package/dist/scripts/11.chunk.js.map +0 -1
- package/dist/scripts/12-b460ad405e.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-89b3a0aebb.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-670309ef33.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-39010184ed.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.chunk.js +0 -1290
- package/dist/scripts/16.chunk.js.map +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.chunk.js +0 -523
- package/dist/scripts/2.chunk.js.map +0 -1
- package/dist/scripts/20-42dc06da39.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-05615559be.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-70b4c18dd2.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-3166dfeef5.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-6fbd14025b.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-3d067b8b9a.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-468305820a.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-d03a99658e.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-f3f43a3001.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-268278d2ac.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.chunk.js +0 -845
- package/dist/scripts/3.chunk.js.map +0 -1
- package/dist/scripts/30-694b0a0d4b.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-4c542c18dc.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.chunk.js +0 -1239
- package/dist/scripts/32.chunk.js.map +0 -1
- package/dist/scripts/33.chunk.js +0 -971
- package/dist/scripts/33.chunk.js.map +0 -1
- package/dist/scripts/34-eb9f6709b3.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-1ff49137e7.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-9e89154ca2.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.chunk.js +0 -236
- package/dist/scripts/37.chunk.js.map +0 -1
- package/dist/scripts/38.chunk.js +0 -315
- package/dist/scripts/38.chunk.js.map +0 -1
- package/dist/scripts/39.chunk.js +0 -107
- package/dist/scripts/39.chunk.js.map +0 -1
- package/dist/scripts/4.chunk.js +0 -335
- package/dist/scripts/4.chunk.js.map +0 -1
- package/dist/scripts/40.chunk.js +0 -2493
- package/dist/scripts/40.chunk.js.map +0 -1
- package/dist/scripts/41.chunk.js +0 -1782
- package/dist/scripts/41.chunk.js.map +0 -1
- package/dist/scripts/42-9f757567db.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.chunk.js +0 -1206
- package/dist/scripts/43.chunk.js.map +0 -1
- package/dist/scripts/44.chunk.js +0 -2245
- package/dist/scripts/44.chunk.js.map +0 -1
- package/dist/scripts/45.chunk.js +0 -1065
- package/dist/scripts/45.chunk.js.map +0 -1
- package/dist/scripts/46.chunk.js +0 -655
- package/dist/scripts/46.chunk.js.map +0 -1
- package/dist/scripts/47.chunk.js +0 -736
- package/dist/scripts/47.chunk.js.map +0 -1
- package/dist/scripts/48.chunk.js +0 -994
- package/dist/scripts/48.chunk.js.map +0 -1
- package/dist/scripts/49-8e3e782ffb.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-b236603e85.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.chunk.js +0 -530
- package/dist/scripts/50.chunk.js.map +0 -1
- package/dist/scripts/51.chunk.js +0 -932
- package/dist/scripts/51.chunk.js.map +0 -1
- package/dist/scripts/52.chunk.js +0 -408
- package/dist/scripts/52.chunk.js.map +0 -1
- package/dist/scripts/53.chunk.js +0 -756
- package/dist/scripts/53.chunk.js.map +0 -1
- package/dist/scripts/54.chunk.js +0 -681
- package/dist/scripts/54.chunk.js.map +0 -1
- package/dist/scripts/55.chunk.js +0 -645
- package/dist/scripts/55.chunk.js.map +0 -1
- package/dist/scripts/56.chunk.js +0 -346
- package/dist/scripts/56.chunk.js.map +0 -1
- package/dist/scripts/57.chunk.js +0 -422
- package/dist/scripts/57.chunk.js.map +0 -1
- package/dist/scripts/58.chunk.js +0 -437
- package/dist/scripts/58.chunk.js.map +0 -1
- package/dist/scripts/59.chunk.js +0 -342
- package/dist/scripts/59.chunk.js.map +0 -1
- package/dist/scripts/6-6fb543aa78.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.chunk.js +0 -254
- package/dist/scripts/60.chunk.js.map +0 -1
- package/dist/scripts/61.chunk.js +0 -408
- package/dist/scripts/61.chunk.js.map +0 -1
- package/dist/scripts/62.chunk.js +0 -142
- package/dist/scripts/62.chunk.js.map +0 -1
- package/dist/scripts/63.chunk.js +0 -147
- package/dist/scripts/63.chunk.js.map +0 -1
- package/dist/scripts/64.chunk.js +0 -439
- package/dist/scripts/64.chunk.js.map +0 -1
- package/dist/scripts/65.chunk.js +0 -582
- package/dist/scripts/65.chunk.js.map +0 -1
- package/dist/scripts/66.chunk.js +0 -442
- package/dist/scripts/66.chunk.js.map +0 -1
- package/dist/scripts/67.chunk.js +0 -295
- package/dist/scripts/67.chunk.js.map +0 -1
- package/dist/scripts/68.chunk.js +0 -165
- package/dist/scripts/68.chunk.js.map +0 -1
- package/dist/scripts/69.chunk.js +0 -248
- package/dist/scripts/69.chunk.js.map +0 -1
- package/dist/scripts/7.chunk.js +0 -309
- package/dist/scripts/7.chunk.js.map +0 -1
- package/dist/scripts/70.chunk.js +0 -207
- package/dist/scripts/70.chunk.js.map +0 -1
- package/dist/scripts/71.chunk.js +0 -237
- package/dist/scripts/71.chunk.js.map +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.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-b8f9ea66c4.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-f28b86bf5b.min.js +0 -8
- package/dist/scripts/bundle.js +0 -67206
- package/dist/scripts/bundle.js.map +0 -1
- package/dist/scripts/polyfills-1d2233ebcc.min.js +0 -1
- package/dist/scripts/polyfills.js +0 -14866
- package/dist/scripts/polyfills.js.map +0 -1
package/dist/scripts/44.chunk.js
DELETED
|
@@ -1,2245 +0,0 @@
|
|
|
1
|
-
(window["webpackJsonp_clickview_library_editor"] = window["webpackJsonp_clickview_library_editor"] || []).push([[44],{
|
|
2
|
-
|
|
3
|
-
/***/ "./src/apps/library-editor/components/edit-thumbnail/EditThumbnail.hbs":
|
|
4
|
-
/*!*****************************************************************************!*\
|
|
5
|
-
!*** ./src/apps/library-editor/components/edit-thumbnail/EditThumbnail.hbs ***!
|
|
6
|
-
\*****************************************************************************/
|
|
7
|
-
/*! no static exports found */
|
|
8
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
9
|
-
|
|
10
|
-
var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
|
|
11
|
-
module.exports = (Handlebars['default'] || Handlebars).template({"1":function(container,depth0,helpers,partials,data) {
|
|
12
|
-
var alias1=container.propertyIsEnumerable;
|
|
13
|
-
|
|
14
|
-
return "<h5>"
|
|
15
|
-
+ container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"label",{"name":"lang","hash":{},"data":data}))
|
|
16
|
-
+ "</h5>\r\n";
|
|
17
|
-
},"3":function(container,depth0,helpers,partials,data) {
|
|
18
|
-
return "my-2";
|
|
19
|
-
},"5":function(container,depth0,helpers,partials,data) {
|
|
20
|
-
var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {}), alias3=container.hooks.helperMissing, alias4=container.escapeExpression;
|
|
21
|
-
|
|
22
|
-
return " <div class=\"text-muted mt-3 mb-1\"><em>"
|
|
23
|
-
+ alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"recommendedSize",{"name":"lang","hash":{"height":((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.dimensions : stack1)) != null ? stack1.height : stack1),"width":((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.dimensions : stack1)) != null ? stack1.width : stack1)},"data":data}))
|
|
24
|
-
+ "</em></div>\r\n <button class=\"upload-thumbnail btn btn-light mb-3 w-100\">"
|
|
25
|
-
+ alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"upload",{"name":"lang","hash":{},"data":data}))
|
|
26
|
-
+ "</button>\r\n";
|
|
27
|
-
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
28
|
-
var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {});
|
|
29
|
-
|
|
30
|
-
return ((stack1 = helpers["if"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.editable : stack1),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
31
|
-
+ "<div class=\"thumbnail-region\"></div>\r\n<div class=\""
|
|
32
|
-
+ ((stack1 = helpers.unless.call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.editable : stack1),{"name":"unless","hash":{},"fn":container.program(3, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
33
|
-
+ "\">\r\n"
|
|
34
|
-
+ ((stack1 = helpers["if"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.editable : stack1),{"name":"if","hash":{},"fn":container.program(5, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
35
|
-
+ "</div>";
|
|
36
|
-
},"useData":true});
|
|
37
|
-
|
|
38
|
-
/***/ }),
|
|
39
|
-
|
|
40
|
-
/***/ "./src/apps/library-editor/components/edit-thumbnail/EditThumbnailComponent.ts":
|
|
41
|
-
/*!*************************************************************************************!*\
|
|
42
|
-
!*** ./src/apps/library-editor/components/edit-thumbnail/EditThumbnailComponent.ts ***!
|
|
43
|
-
\*************************************************************************************/
|
|
44
|
-
/*! exports provided: EditThumbnailComponent */
|
|
45
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
46
|
-
|
|
47
|
-
"use strict";
|
|
48
|
-
__webpack_require__.r(__webpack_exports__);
|
|
49
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EditThumbnailComponent", function() { return EditThumbnailComponent; });
|
|
50
|
-
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
51
|
-
/* harmony import */ var _libs_common_src_backbone_services_ViewModelService__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/services/ViewModelService */ "../../libs/common/src/backbone/services/ViewModelService.ts");
|
|
52
|
-
/* harmony import */ var _libs_shared_src_legacy_components_thumbnail_ThumbnailComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../../../libs/shared/src/legacy/components/thumbnail/ThumbnailComponent */ "../../libs/shared/src/legacy/components/thumbnail/ThumbnailComponent.ts");
|
|
53
|
-
/* harmony import */ var _libs_shared_src_enums_Images__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../libs/shared/src/enums/Images */ "../../libs/shared/src/enums/Images.ts");
|
|
54
|
-
/* harmony import */ var _shared_behaviors__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../shared/behaviors */ "./src/shared/behaviors/index.ts");
|
|
55
|
-
/* harmony import */ var _shared_enums__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../shared/enums */ "./src/shared/enums/index.ts");
|
|
56
|
-
/* harmony import */ var _shared_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../shared/constants */ "./src/shared/constants/index.ts");
|
|
57
|
-
/* harmony import */ var _EditThumbnail_hbs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./EditThumbnail.hbs */ "./src/apps/library-editor/components/edit-thumbnail/EditThumbnail.hbs");
|
|
58
|
-
/* harmony import */ var _EditThumbnail_hbs__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_EditThumbnail_hbs__WEBPACK_IMPORTED_MODULE_7__);
|
|
59
|
-
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); }
|
|
60
|
-
|
|
61
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
62
|
-
|
|
63
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
64
|
-
|
|
65
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
66
|
-
|
|
67
|
-
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); }
|
|
68
|
-
|
|
69
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
70
|
-
|
|
71
|
-
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); }; }
|
|
72
|
-
|
|
73
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
74
|
-
|
|
75
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
76
|
-
|
|
77
|
-
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; } }
|
|
78
|
-
|
|
79
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
var EditThumbnailComponent = /*#__PURE__*/function (_Core$Component) {
|
|
90
|
-
_inherits(EditThumbnailComponent, _Core$Component);
|
|
91
|
-
|
|
92
|
-
var _super = _createSuper(EditThumbnailComponent);
|
|
93
|
-
|
|
94
|
-
function EditThumbnailComponent(options) {
|
|
95
|
-
_classCallCheck(this, EditThumbnailComponent);
|
|
96
|
-
|
|
97
|
-
return _super.call(this, options);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
_createClass(EditThumbnailComponent, [{
|
|
101
|
-
key: "initialize",
|
|
102
|
-
value: function initialize() {
|
|
103
|
-
this.viewModel = _libs_common_src_backbone_services_ViewModelService__WEBPACK_IMPORTED_MODULE_1__["ViewModelService"].get('image:storage');
|
|
104
|
-
}
|
|
105
|
-
}, {
|
|
106
|
-
key: "regions",
|
|
107
|
-
value: function regions() {
|
|
108
|
-
return {
|
|
109
|
-
thumbnail: {
|
|
110
|
-
el: '.thumbnail-region',
|
|
111
|
-
replaceElement: true
|
|
112
|
-
}
|
|
113
|
-
};
|
|
114
|
-
}
|
|
115
|
-
}, {
|
|
116
|
-
key: "viewOptions",
|
|
117
|
-
value: function viewOptions() {
|
|
118
|
-
return {
|
|
119
|
-
editable: this.options.editable,
|
|
120
|
-
dimensions: _shared_constants__WEBPACK_IMPORTED_MODULE_6__["ImageWarnDimensions"][_shared_enums__WEBPACK_IMPORTED_MODULE_5__["ImageType"].Thumbnails]
|
|
121
|
-
};
|
|
122
|
-
}
|
|
123
|
-
}, {
|
|
124
|
-
key: "onRender",
|
|
125
|
-
value: function onRender() {
|
|
126
|
-
this.showChildView('thumbnail', new _libs_shared_src_legacy_components_thumbnail_ThumbnailComponent__WEBPACK_IMPORTED_MODULE_2__["ThumbnailComponent"]({
|
|
127
|
-
model: this.model,
|
|
128
|
-
thumbnailOptions: {
|
|
129
|
-
size: _libs_shared_src_enums_Images__WEBPACK_IMPORTED_MODULE_3__["ImageSize"].Medium
|
|
130
|
-
}
|
|
131
|
-
}));
|
|
132
|
-
}
|
|
133
|
-
}, {
|
|
134
|
-
key: "name",
|
|
135
|
-
get: function get() {
|
|
136
|
-
return 'EditThumbnailComponent';
|
|
137
|
-
}
|
|
138
|
-
}, {
|
|
139
|
-
key: "lang",
|
|
140
|
-
get: function get() {
|
|
141
|
-
return 'libraryEditor.editThumbnail';
|
|
142
|
-
}
|
|
143
|
-
}, {
|
|
144
|
-
key: "template",
|
|
145
|
-
get: function get() {
|
|
146
|
-
return _EditThumbnail_hbs__WEBPACK_IMPORTED_MODULE_7___default.a;
|
|
147
|
-
}
|
|
148
|
-
}, {
|
|
149
|
-
key: "behaviors",
|
|
150
|
-
get: function get() {
|
|
151
|
-
var _this = this;
|
|
152
|
-
|
|
153
|
-
return [{
|
|
154
|
-
behaviorClass: _shared_behaviors__WEBPACK_IMPORTED_MODULE_4__["ImageSelectBehavior"],
|
|
155
|
-
channelName: this.options.channelName,
|
|
156
|
-
buttonSelector: '.upload-thumbnail',
|
|
157
|
-
imageType: _shared_enums__WEBPACK_IMPORTED_MODULE_5__["ImageType"].Thumbnails,
|
|
158
|
-
appLink: {
|
|
159
|
-
application: _shared_constants__WEBPACK_IMPORTED_MODULE_6__["AppChannels"].LIBRARY_EDITOR,
|
|
160
|
-
action: _shared_constants__WEBPACK_IMPORTED_MODULE_6__["Actions"].LibraryEditor.UPLOAD_THUMBNAIL,
|
|
161
|
-
args: [this.options.model.id]
|
|
162
|
-
},
|
|
163
|
-
saveImage: function saveImage(dataUrl) {
|
|
164
|
-
return _this.viewModel.set({
|
|
165
|
-
dataUrl: dataUrl
|
|
166
|
-
});
|
|
167
|
-
}
|
|
168
|
-
}];
|
|
169
|
-
}
|
|
170
|
-
}, {
|
|
171
|
-
key: "defaults",
|
|
172
|
-
get: function get() {
|
|
173
|
-
return {
|
|
174
|
-
editable: true
|
|
175
|
-
};
|
|
176
|
-
}
|
|
177
|
-
}]);
|
|
178
|
-
|
|
179
|
-
return EditThumbnailComponent;
|
|
180
|
-
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].Component);
|
|
181
|
-
|
|
182
|
-
/***/ }),
|
|
183
|
-
|
|
184
|
-
/***/ "./src/apps/library-editor/components/edit-video/EditVideoDetails.hbs":
|
|
185
|
-
/*!****************************************************************************!*\
|
|
186
|
-
!*** ./src/apps/library-editor/components/edit-video/EditVideoDetails.hbs ***!
|
|
187
|
-
\****************************************************************************/
|
|
188
|
-
/*! no static exports found */
|
|
189
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
190
|
-
|
|
191
|
-
var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
|
|
192
|
-
module.exports = (Handlebars['default'] || Handlebars).template({"1":function(container,depth0,helpers,partials,data) {
|
|
193
|
-
return "mb-4";
|
|
194
|
-
},"3":function(container,depth0,helpers,partials,data) {
|
|
195
|
-
var stack1, alias1=container.propertyIsEnumerable;
|
|
196
|
-
|
|
197
|
-
return " <p class=\"mb-2 py-1 px-2 alert alert-info "
|
|
198
|
-
+ container.escapeExpression(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.suggestEdit : stack1), depth0))
|
|
199
|
-
+ "\">\r\n"
|
|
200
|
-
+ ((stack1 = helpers["if"].call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.isExchange : stack1),{"name":"if","hash":{},"fn":container.program(4, data, 0),"inverse":container.program(6, data, 0),"data":data})) != null ? stack1 : "")
|
|
201
|
-
+ " </p>\r\n";
|
|
202
|
-
},"4":function(container,depth0,helpers,partials,data) {
|
|
203
|
-
var stack1, alias1=container.propertyIsEnumerable;
|
|
204
|
-
|
|
205
|
-
return " "
|
|
206
|
-
+ ((stack1 = (helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"suggestEditExchange",{"name":"lang","hash":{"classNames":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.suggestEditClasses : stack1)},"data":data})) != null ? stack1 : "")
|
|
207
|
-
+ "\r\n";
|
|
208
|
-
},"6":function(container,depth0,helpers,partials,data) {
|
|
209
|
-
var stack1, alias1=container.propertyIsEnumerable;
|
|
210
|
-
|
|
211
|
-
return " "
|
|
212
|
-
+ ((stack1 = (helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"suggestEdit",{"name":"lang","hash":{"classNames":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.suggestEditClasses : stack1)},"data":data})) != null ? stack1 : "")
|
|
213
|
-
+ "\r\n";
|
|
214
|
-
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
215
|
-
var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {});
|
|
216
|
-
|
|
217
|
-
return "<div class=\"row\">\r\n <div class=\"left-pane col-4\">\r\n <div class=\"thumbnail-region\"></div>\r\n <div class=\"cv-tags-region "
|
|
218
|
-
+ ((stack1 = helpers.unless.call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.editable : stack1),{"name":"unless","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
219
|
-
+ "\"></div>\r\n <div class=\"customer-tags-region\"></div>\r\n </div>\r\n <div class=\"right-pane col-8\">\r\n"
|
|
220
|
-
+ ((stack1 = helpers.unless.call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.editable : stack1),{"name":"unless","hash":{},"fn":container.program(3, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
221
|
-
+ " <div class=\"top-save-region\"></div>\r\n <div class=\"basic-info-region mb-4\"></div> \r\n <div class=\"additional-details-region mb-4\"></div> \r\n <div class=\"production-info-region mb-4\"></div> \r\n <div class=\"fields-region mb-4\"></div>\r\n <div class=\"bottom-save-region\"></div>\r\n </div>\r\n</div>";
|
|
222
|
-
},"useData":true});
|
|
223
|
-
|
|
224
|
-
/***/ }),
|
|
225
|
-
|
|
226
|
-
/***/ "./src/apps/library-editor/components/edit-video/EditVideoDetailsComponent.ts":
|
|
227
|
-
/*!************************************************************************************!*\
|
|
228
|
-
!*** ./src/apps/library-editor/components/edit-video/EditVideoDetailsComponent.ts ***!
|
|
229
|
-
\************************************************************************************/
|
|
230
|
-
/*! exports provided: EditVideoDetailsComponent */
|
|
231
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
232
|
-
|
|
233
|
-
"use strict";
|
|
234
|
-
__webpack_require__.r(__webpack_exports__);
|
|
235
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EditVideoDetailsComponent", function() { return EditVideoDetailsComponent; });
|
|
236
|
-
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
237
|
-
/* harmony import */ var _shared_components_edit_video_edit_basic_info_EditBasicInfoComponent__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../shared/components/edit-video/edit-basic-info/EditBasicInfoComponent */ "./src/shared/components/edit-video/edit-basic-info/EditBasicInfoComponent.ts");
|
|
238
|
-
/* harmony import */ var _shared_components_edit_video_edit_production_info_EditProductionInfoComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../shared/components/edit-video/edit-production-info/EditProductionInfoComponent */ "./src/shared/components/edit-video/edit-production-info/EditProductionInfoComponent.ts");
|
|
239
|
-
/* harmony import */ var _shared_components_edit_video_edit_additional_info_EditAdditionalInfoComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../shared/components/edit-video/edit-additional-info/EditAdditionalInfoComponent */ "./src/shared/components/edit-video/edit-additional-info/EditAdditionalInfoComponent.ts");
|
|
240
|
-
/* harmony import */ var _shared_components_edit_video_extra_info_ExtraInfoComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../shared/components/edit-video/extra-info/ExtraInfoComponent */ "./src/shared/components/edit-video/extra-info/ExtraInfoComponent.ts");
|
|
241
|
-
/* harmony import */ var _shared_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../shared/constants */ "./src/shared/constants/index.ts");
|
|
242
|
-
/* harmony import */ var _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/services/LanguageService */ "../../libs/common/src/backbone/services/LanguageService.tsx");
|
|
243
|
-
/* harmony import */ var _shared_utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../shared/utils */ "./src/shared/utils/index.ts");
|
|
244
|
-
/* harmony import */ var _libs_shared_src_enums_ObjectOwnerType__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../../../../libs/shared/src/enums/ObjectOwnerType */ "../../libs/shared/src/enums/ObjectOwnerType.ts");
|
|
245
|
-
/* harmony import */ var _tags_TagsComponent__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../tags/TagsComponent */ "./src/apps/library-editor/components/tags/TagsComponent.ts");
|
|
246
|
-
/* harmony import */ var _save_SaveComponent__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../save/SaveComponent */ "./src/apps/library-editor/components/save/SaveComponent.ts");
|
|
247
|
-
/* harmony import */ var _edit_thumbnail_EditThumbnailComponent__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../edit-thumbnail/EditThumbnailComponent */ "./src/apps/library-editor/components/edit-thumbnail/EditThumbnailComponent.ts");
|
|
248
|
-
/* harmony import */ var _enums__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../enums */ "./src/apps/library-editor/enums/index.ts");
|
|
249
|
-
/* harmony import */ var _EditVideoDetails_hbs__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./EditVideoDetails.hbs */ "./src/apps/library-editor/components/edit-video/EditVideoDetails.hbs");
|
|
250
|
-
/* harmony import */ var _EditVideoDetails_hbs__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_EditVideoDetails_hbs__WEBPACK_IMPORTED_MODULE_13__);
|
|
251
|
-
/* harmony import */ var _edit_video_details_scss__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./edit-video-details.scss */ "./src/apps/library-editor/components/edit-video/edit-video-details.scss");
|
|
252
|
-
/* harmony import */ var _edit_video_details_scss__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_edit_video_details_scss__WEBPACK_IMPORTED_MODULE_14__);
|
|
253
|
-
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); }
|
|
254
|
-
|
|
255
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
256
|
-
|
|
257
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
258
|
-
|
|
259
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
260
|
-
|
|
261
|
-
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); }
|
|
262
|
-
|
|
263
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
264
|
-
|
|
265
|
-
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); }; }
|
|
266
|
-
|
|
267
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
268
|
-
|
|
269
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
270
|
-
|
|
271
|
-
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; } }
|
|
272
|
-
|
|
273
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
/**
|
|
292
|
-
* This component exists until we decide on popup/tabbed/own page layout
|
|
293
|
-
*/
|
|
294
|
-
|
|
295
|
-
var EditVideoDetailsComponent = /*#__PURE__*/function (_Core$Component) {
|
|
296
|
-
_inherits(EditVideoDetailsComponent, _Core$Component);
|
|
297
|
-
|
|
298
|
-
var _super = _createSuper(EditVideoDetailsComponent);
|
|
299
|
-
|
|
300
|
-
function EditVideoDetailsComponent(options) {
|
|
301
|
-
_classCallCheck(this, EditVideoDetailsComponent);
|
|
302
|
-
|
|
303
|
-
return _super.call(this, options);
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
_createClass(EditVideoDetailsComponent, [{
|
|
307
|
-
key: "initialize",
|
|
308
|
-
value: function initialize() {
|
|
309
|
-
this.listenTo(this.options.channelName, 'update:tags', this.renderCustomerTags);
|
|
310
|
-
}
|
|
311
|
-
}, {
|
|
312
|
-
key: "regions",
|
|
313
|
-
value: function regions() {
|
|
314
|
-
return {
|
|
315
|
-
topSave: {
|
|
316
|
-
el: '.top-save-region',
|
|
317
|
-
replaceElement: true
|
|
318
|
-
},
|
|
319
|
-
bottomSave: {
|
|
320
|
-
el: '.bottom-save-region',
|
|
321
|
-
replaceElement: true
|
|
322
|
-
},
|
|
323
|
-
thumbnail: {
|
|
324
|
-
el: '.thumbnail-region',
|
|
325
|
-
replaceElement: true
|
|
326
|
-
},
|
|
327
|
-
basicInfo: {
|
|
328
|
-
el: '.basic-info-region',
|
|
329
|
-
replaceElement: true
|
|
330
|
-
},
|
|
331
|
-
additionalInfo: {
|
|
332
|
-
el: '.additional-details-region',
|
|
333
|
-
replaceElement: true
|
|
334
|
-
},
|
|
335
|
-
productionInfo: {
|
|
336
|
-
el: '.production-info-region',
|
|
337
|
-
replaceElement: true
|
|
338
|
-
},
|
|
339
|
-
fields: {
|
|
340
|
-
el: '.fields-region',
|
|
341
|
-
replaceElement: true
|
|
342
|
-
},
|
|
343
|
-
clickViewTags: {
|
|
344
|
-
el: '.cv-tags-region',
|
|
345
|
-
replaceElement: false
|
|
346
|
-
},
|
|
347
|
-
customerTags: {
|
|
348
|
-
el: '.customer-tags-region',
|
|
349
|
-
replaceElement: true
|
|
350
|
-
}
|
|
351
|
-
};
|
|
352
|
-
}
|
|
353
|
-
/**
|
|
354
|
-
* Render methods
|
|
355
|
-
*/
|
|
356
|
-
|
|
357
|
-
}, {
|
|
358
|
-
key: "renderSave",
|
|
359
|
-
value: function renderSave() {
|
|
360
|
-
if (this.options.editable) {
|
|
361
|
-
this.showChildView('topSave', new _save_SaveComponent__WEBPACK_IMPORTED_MODULE_10__["SaveComponent"]({
|
|
362
|
-
channelName: this.options.channelName,
|
|
363
|
-
allowUndo: true,
|
|
364
|
-
isDisabled: this.options.isSaveDisabled,
|
|
365
|
-
hasChanges: this.options.hasChanges,
|
|
366
|
-
extraClasses: 'float-right'
|
|
367
|
-
}));
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
this.showChildView('bottomSave', new _save_SaveComponent__WEBPACK_IMPORTED_MODULE_10__["SaveComponent"]({
|
|
371
|
-
channelName: this.options.channelName,
|
|
372
|
-
allowUndo: true,
|
|
373
|
-
isDisabled: this.options.isSaveDisabled,
|
|
374
|
-
hasChanges: this.options.hasChanges,
|
|
375
|
-
extraClasses: 'float-right'
|
|
376
|
-
}));
|
|
377
|
-
}
|
|
378
|
-
}, {
|
|
379
|
-
key: "renderBasicInfo",
|
|
380
|
-
value: function renderBasicInfo() {
|
|
381
|
-
this.showChildView('basicInfo', new _shared_components_edit_video_edit_basic_info_EditBasicInfoComponent__WEBPACK_IMPORTED_MODULE_1__["EditBasicInfoComponent"]({
|
|
382
|
-
model: this.model,
|
|
383
|
-
ratings: this.options.ratings,
|
|
384
|
-
channelName: this.options.channelName,
|
|
385
|
-
editable: this.options.editable,
|
|
386
|
-
showingSaveButton: this.options.editable,
|
|
387
|
-
showPublisherVideoDetails: this.options.showPublisherVideoDetails
|
|
388
|
-
}));
|
|
389
|
-
}
|
|
390
|
-
}, {
|
|
391
|
-
key: "renderThumbnail",
|
|
392
|
-
value: function renderThumbnail() {
|
|
393
|
-
this.showChildView('thumbnail', new _edit_thumbnail_EditThumbnailComponent__WEBPACK_IMPORTED_MODULE_11__["EditThumbnailComponent"]({
|
|
394
|
-
model: this.model,
|
|
395
|
-
channelName: this.options.channelName,
|
|
396
|
-
editable: this.options.editable
|
|
397
|
-
}));
|
|
398
|
-
}
|
|
399
|
-
}, {
|
|
400
|
-
key: "renderAdditionalInfo",
|
|
401
|
-
value: function renderAdditionalInfo() {
|
|
402
|
-
this.showChildView('additionalInfo', new _shared_components_edit_video_edit_additional_info_EditAdditionalInfoComponent__WEBPACK_IMPORTED_MODULE_3__["EditAdditionalInfoComponent"]({
|
|
403
|
-
model: this.model,
|
|
404
|
-
channelName: this.options.channelName,
|
|
405
|
-
libraries: this.options.libraries,
|
|
406
|
-
hostedLibraries: this.options.hostedLibraries,
|
|
407
|
-
editable: this.options.editable
|
|
408
|
-
}));
|
|
409
|
-
}
|
|
410
|
-
}, {
|
|
411
|
-
key: "renderProductionInfo",
|
|
412
|
-
value: function renderProductionInfo() {
|
|
413
|
-
this.showChildView('productionInfo', new _shared_components_edit_video_edit_production_info_EditProductionInfoComponent__WEBPACK_IMPORTED_MODULE_2__["EditProductionInfoComponent"]({
|
|
414
|
-
model: this.model,
|
|
415
|
-
channelName: this.options.channelName,
|
|
416
|
-
editable: this.options.editable
|
|
417
|
-
}));
|
|
418
|
-
}
|
|
419
|
-
}, {
|
|
420
|
-
key: "renderFields",
|
|
421
|
-
value: function renderFields() {
|
|
422
|
-
this.showChildView('fields', new _shared_components_edit_video_extra_info_ExtraInfoComponent__WEBPACK_IMPORTED_MODULE_4__["ExtraInfoComponent"]({
|
|
423
|
-
model: this.model,
|
|
424
|
-
channelName: this.options.channelName
|
|
425
|
-
}));
|
|
426
|
-
}
|
|
427
|
-
}, {
|
|
428
|
-
key: "renderClickViewTags",
|
|
429
|
-
value: function renderClickViewTags() {
|
|
430
|
-
if (this.options.editable) return;
|
|
431
|
-
var cvTags = _shared_utils__WEBPACK_IMPORTED_MODULE_7__["PermissionsHelper"].filterObjectsByOwnerType(this.model.tags, _libs_shared_src_enums_ObjectOwnerType__WEBPACK_IMPORTED_MODULE_8__["ObjectOwnerType"].ClickView, this.options.currentUser.get('customerId'));
|
|
432
|
-
this.showChildView('clickViewTags', new _tags_TagsComponent__WEBPACK_IMPORTED_MODULE_9__["TagsComponent"]({
|
|
433
|
-
parentId: this.model.get('id'),
|
|
434
|
-
collection: cvTags,
|
|
435
|
-
orientation: _enums__WEBPACK_IMPORTED_MODULE_12__["TagOrientation"].Flex,
|
|
436
|
-
behavior: _enums__WEBPACK_IMPORTED_MODULE_12__["TagBehavior"].Disabled,
|
|
437
|
-
channelName: this.options.channelName,
|
|
438
|
-
headerText: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_6__["LanguageService"].getPhrase(this.lang, 'clickviewTags'),
|
|
439
|
-
emptyStateText: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_6__["LanguageService"].getPhrase(this.lang, 'clickviewTagsEmpty')
|
|
440
|
-
}));
|
|
441
|
-
}
|
|
442
|
-
}, {
|
|
443
|
-
key: "renderCustomerTags",
|
|
444
|
-
value: function renderCustomerTags() {
|
|
445
|
-
var customerTags = _shared_utils__WEBPACK_IMPORTED_MODULE_7__["PermissionsHelper"].filterObjectsByOwnerType(this.model.tags, _libs_shared_src_enums_ObjectOwnerType__WEBPACK_IMPORTED_MODULE_8__["ObjectOwnerType"].Customer, this.options.currentUser.get('customerId'));
|
|
446
|
-
this.showChildView('customerTags', new _tags_TagsComponent__WEBPACK_IMPORTED_MODULE_9__["TagsComponent"]({
|
|
447
|
-
parentId: this.model.get('id'),
|
|
448
|
-
collection: customerTags,
|
|
449
|
-
channelName: this.options.channelName,
|
|
450
|
-
behavior: _enums__WEBPACK_IMPORTED_MODULE_12__["TagBehavior"].Edit,
|
|
451
|
-
headerText: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_6__["LanguageService"].getPhrase(this.lang, 'customerTags'),
|
|
452
|
-
removeEvent: 'remove:tag'
|
|
453
|
-
}));
|
|
454
|
-
}
|
|
455
|
-
}, {
|
|
456
|
-
key: "renderTags",
|
|
457
|
-
value: function renderTags() {
|
|
458
|
-
this.renderClickViewTags();
|
|
459
|
-
this.renderCustomerTags();
|
|
460
|
-
}
|
|
461
|
-
}, {
|
|
462
|
-
key: "viewOptions",
|
|
463
|
-
value: function viewOptions() {
|
|
464
|
-
return {
|
|
465
|
-
styles: _edit_video_details_scss__WEBPACK_IMPORTED_MODULE_14___default.a,
|
|
466
|
-
editable: this.options.editable,
|
|
467
|
-
suggestEditClasses: 'info-link text-underline suggest-edit',
|
|
468
|
-
isExchange: _shared_utils__WEBPACK_IMPORTED_MODULE_7__["VideoHelper"].isExchangeVideo(this.model)
|
|
469
|
-
};
|
|
470
|
-
}
|
|
471
|
-
}, {
|
|
472
|
-
key: "onRender",
|
|
473
|
-
value: function onRender() {
|
|
474
|
-
this.renderSave();
|
|
475
|
-
this.renderBasicInfo();
|
|
476
|
-
this.renderThumbnail();
|
|
477
|
-
this.renderAdditionalInfo();
|
|
478
|
-
this.renderProductionInfo();
|
|
479
|
-
this.renderFields();
|
|
480
|
-
this.renderTags();
|
|
481
|
-
}
|
|
482
|
-
}, {
|
|
483
|
-
key: "name",
|
|
484
|
-
get: function get() {
|
|
485
|
-
return 'EditVideoDetailsComponent';
|
|
486
|
-
}
|
|
487
|
-
}, {
|
|
488
|
-
key: "className",
|
|
489
|
-
get: function get() {
|
|
490
|
-
return 'edit-video-detail py-3';
|
|
491
|
-
}
|
|
492
|
-
}, {
|
|
493
|
-
key: "lang",
|
|
494
|
-
get: function get() {
|
|
495
|
-
return 'libraryEditor.editVideoDetails';
|
|
496
|
-
}
|
|
497
|
-
}, {
|
|
498
|
-
key: "template",
|
|
499
|
-
get: function get() {
|
|
500
|
-
return _EditVideoDetails_hbs__WEBPACK_IMPORTED_MODULE_13___default.a;
|
|
501
|
-
}
|
|
502
|
-
}, {
|
|
503
|
-
key: "appLinks",
|
|
504
|
-
get: function get() {
|
|
505
|
-
return {
|
|
506
|
-
'.suggest-edit': {
|
|
507
|
-
application: _shared_constants__WEBPACK_IMPORTED_MODULE_5__["AppChannels"].LIBRARY_EDITOR,
|
|
508
|
-
action: _shared_constants__WEBPACK_IMPORTED_MODULE_5__["Actions"].LibraryEditor.SUGGEST_AN_EDIT,
|
|
509
|
-
args: [this.model.id]
|
|
510
|
-
}
|
|
511
|
-
};
|
|
512
|
-
}
|
|
513
|
-
}]);
|
|
514
|
-
|
|
515
|
-
return EditVideoDetailsComponent;
|
|
516
|
-
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].Component);
|
|
517
|
-
|
|
518
|
-
/***/ }),
|
|
519
|
-
|
|
520
|
-
/***/ "./src/apps/library-editor/components/edit-video/edit-video-details.scss":
|
|
521
|
-
/*!*******************************************************************************!*\
|
|
522
|
-
!*** ./src/apps/library-editor/components/edit-video/edit-video-details.scss ***!
|
|
523
|
-
\*******************************************************************************/
|
|
524
|
-
/*! no static exports found */
|
|
525
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
526
|
-
|
|
527
|
-
// extracted by mini-css-extract-plugin
|
|
528
|
-
module.exports = {"suggestEdit":"cv--suggestEdit--1X4l5"};
|
|
529
|
-
|
|
530
|
-
/***/ }),
|
|
531
|
-
|
|
532
|
-
/***/ "./src/apps/library-editor/components/save/Save.hbs":
|
|
533
|
-
/*!**********************************************************!*\
|
|
534
|
-
!*** ./src/apps/library-editor/components/save/Save.hbs ***!
|
|
535
|
-
\**********************************************************/
|
|
536
|
-
/*! no static exports found */
|
|
537
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
538
|
-
|
|
539
|
-
var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
|
|
540
|
-
module.exports = (Handlebars['default'] || Handlebars).template({"1":function(container,depth0,helpers,partials,data) {
|
|
541
|
-
var stack1, alias1=container.propertyIsEnumerable, alias2=container.escapeExpression;
|
|
542
|
-
|
|
543
|
-
return "<span class=\"text-muted mx-2 undo "
|
|
544
|
-
+ alias2(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.undo : stack1), depth0))
|
|
545
|
-
+ "\">"
|
|
546
|
-
+ alias2((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"undo",{"name":"lang","hash":{},"data":data}))
|
|
547
|
-
+ "</span>\r\n";
|
|
548
|
-
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
549
|
-
var stack1, alias1=container.propertyIsEnumerable;
|
|
550
|
-
|
|
551
|
-
return ((stack1 = helpers["if"].call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.allowUndo : stack1),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
552
|
-
+ "<div class=\"save-region\"></div>";
|
|
553
|
-
},"useData":true});
|
|
554
|
-
|
|
555
|
-
/***/ }),
|
|
556
|
-
|
|
557
|
-
/***/ "./src/apps/library-editor/components/save/SaveComponent.ts":
|
|
558
|
-
/*!******************************************************************!*\
|
|
559
|
-
!*** ./src/apps/library-editor/components/save/SaveComponent.ts ***!
|
|
560
|
-
\******************************************************************/
|
|
561
|
-
/*! exports provided: SaveComponent */
|
|
562
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
563
|
-
|
|
564
|
-
"use strict";
|
|
565
|
-
__webpack_require__.r(__webpack_exports__);
|
|
566
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SaveComponent", function() { return SaveComponent; });
|
|
567
|
-
/* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! backbone */ "backbone");
|
|
568
|
-
/* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(backbone__WEBPACK_IMPORTED_MODULE_0__);
|
|
569
|
-
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
570
|
-
/* harmony import */ var _shared_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../shared/utils */ "./src/shared/utils/index.ts");
|
|
571
|
-
/* harmony import */ var _shared_components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../shared/components/spinner-button/SpinnerButtonComponent */ "./src/shared/components/spinner-button/SpinnerButtonComponent.ts");
|
|
572
|
-
/* 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");
|
|
573
|
-
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../constants */ "./src/apps/library-editor/constants/index.ts");
|
|
574
|
-
/* harmony import */ var _Save_hbs__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Save.hbs */ "./src/apps/library-editor/components/save/Save.hbs");
|
|
575
|
-
/* harmony import */ var _Save_hbs__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_Save_hbs__WEBPACK_IMPORTED_MODULE_6__);
|
|
576
|
-
/* harmony import */ var _save_scss__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./save.scss */ "./src/apps/library-editor/components/save/save.scss");
|
|
577
|
-
/* harmony import */ var _save_scss__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_save_scss__WEBPACK_IMPORTED_MODULE_7__);
|
|
578
|
-
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); }
|
|
579
|
-
|
|
580
|
-
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; }
|
|
581
|
-
|
|
582
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
583
|
-
|
|
584
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
585
|
-
|
|
586
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
587
|
-
|
|
588
|
-
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); }
|
|
589
|
-
|
|
590
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
591
|
-
|
|
592
|
-
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); }; }
|
|
593
|
-
|
|
594
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
595
|
-
|
|
596
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
597
|
-
|
|
598
|
-
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; } }
|
|
599
|
-
|
|
600
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
var SaveComponent = /*#__PURE__*/function (_Core$Component) {
|
|
611
|
-
_inherits(SaveComponent, _Core$Component);
|
|
612
|
-
|
|
613
|
-
var _super = _createSuper(SaveComponent);
|
|
614
|
-
|
|
615
|
-
function SaveComponent(options) {
|
|
616
|
-
_classCallCheck(this, SaveComponent);
|
|
617
|
-
|
|
618
|
-
return _super.call(this, options);
|
|
619
|
-
}
|
|
620
|
-
|
|
621
|
-
_createClass(SaveComponent, [{
|
|
622
|
-
key: "getParentChannel",
|
|
623
|
-
value: function getParentChannel() {
|
|
624
|
-
return backbone__WEBPACK_IMPORTED_MODULE_0__["Radio"].channel(this.options.channelName);
|
|
625
|
-
}
|
|
626
|
-
}, {
|
|
627
|
-
key: "getSaveChannelName",
|
|
628
|
-
value: function getSaveChannelName() {
|
|
629
|
-
return "".concat(this.name, ":").concat(this.cid);
|
|
630
|
-
}
|
|
631
|
-
}, {
|
|
632
|
-
key: "regions",
|
|
633
|
-
value: function regions() {
|
|
634
|
-
return {
|
|
635
|
-
save: {
|
|
636
|
-
el: '.save-region',
|
|
637
|
-
replaceElement: true
|
|
638
|
-
}
|
|
639
|
-
};
|
|
640
|
-
}
|
|
641
|
-
}, {
|
|
642
|
-
key: "events",
|
|
643
|
-
value: function events() {
|
|
644
|
-
return {
|
|
645
|
-
'click .undo': 'onUndo'
|
|
646
|
-
};
|
|
647
|
-
}
|
|
648
|
-
}, {
|
|
649
|
-
key: "initialize",
|
|
650
|
-
value: function initialize() {
|
|
651
|
-
var _Core$Model;
|
|
652
|
-
|
|
653
|
-
if (!this.model) this.model = new _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__["Core"].Model((_Core$Model = {}, _defineProperty(_Core$Model, _shared_components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_3__["SpinnerButtonModelAttributes"].ShowSpinner, this.options.showSpinner), _defineProperty(_Core$Model, _shared_components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_3__["SpinnerButtonModelAttributes"].Disabled, this.options.isDisabled), _Core$Model));
|
|
654
|
-
var channel = this.options.channelName;
|
|
655
|
-
this.listenTo(channel, _constants__WEBPACK_IMPORTED_MODULE_5__["LibraryEditorActions"].DisableSave, this.onDisableSave);
|
|
656
|
-
this.listenTo(channel, _constants__WEBPACK_IMPORTED_MODULE_5__["LibraryEditorActions"].EnableSave, this.onEnableSave);
|
|
657
|
-
this.listenTo(channel, _constants__WEBPACK_IMPORTED_MODULE_5__["LibraryEditorActions"].CancelSave, this.onCancelSave);
|
|
658
|
-
var saveChannel = backbone__WEBPACK_IMPORTED_MODULE_0__["Radio"].channel(this.getSaveChannelName());
|
|
659
|
-
this.listenTo(saveChannel, _constants__WEBPACK_IMPORTED_MODULE_5__["LibraryEditorActions"].Save, this.onSave);
|
|
660
|
-
|
|
661
|
-
if (this.options.allowUndo) {
|
|
662
|
-
if (this.options.hasChanges) {
|
|
663
|
-
this.model.set('showUndo', true);
|
|
664
|
-
}
|
|
665
|
-
|
|
666
|
-
this.listenTo(this.model, 'change:showUndo', this.render);
|
|
667
|
-
}
|
|
668
|
-
}
|
|
669
|
-
}, {
|
|
670
|
-
key: "onCancelSave",
|
|
671
|
-
value: function onCancelSave() {
|
|
672
|
-
this.model.set(_shared_components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_3__["SpinnerButtonModelAttributes"].ShowSpinner, false);
|
|
673
|
-
}
|
|
674
|
-
}, {
|
|
675
|
-
key: "onEnableSave",
|
|
676
|
-
value: function onEnableSave() {
|
|
677
|
-
this.model.set(_shared_components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_3__["SpinnerButtonModelAttributes"].Disabled, false);
|
|
678
|
-
if (this.options.allowUndo) this.model.set('showUndo', true);
|
|
679
|
-
}
|
|
680
|
-
}, {
|
|
681
|
-
key: "onDisableSave",
|
|
682
|
-
value: function onDisableSave() {
|
|
683
|
-
if (this.model.get(_shared_components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_3__["SpinnerButtonModelAttributes"].ShowSpinner)) this.model.set(_shared_components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_3__["SpinnerButtonModelAttributes"].ShowSpinner, false, {
|
|
684
|
-
silent: true
|
|
685
|
-
});
|
|
686
|
-
this.model.set(_shared_components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_3__["SpinnerButtonModelAttributes"].Disabled, true);
|
|
687
|
-
if (this.options.allowUndo) this.model.set('showUndo', false);
|
|
688
|
-
}
|
|
689
|
-
}, {
|
|
690
|
-
key: "onUndo",
|
|
691
|
-
value: function onUndo(e) {
|
|
692
|
-
e.stopPropagation();
|
|
693
|
-
var channel = this.getParentChannel();
|
|
694
|
-
channel.trigger(_constants__WEBPACK_IMPORTED_MODULE_5__["LibraryEditorActions"].Undo);
|
|
695
|
-
}
|
|
696
|
-
}, {
|
|
697
|
-
key: "onSave",
|
|
698
|
-
value: function onSave() {
|
|
699
|
-
this.model.set(_shared_components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_3__["SpinnerButtonModelAttributes"].ShowSpinner, true);
|
|
700
|
-
var channel = this.getParentChannel();
|
|
701
|
-
channel.trigger(_constants__WEBPACK_IMPORTED_MODULE_5__["LibraryEditorActions"].Save);
|
|
702
|
-
}
|
|
703
|
-
}, {
|
|
704
|
-
key: "viewOptions",
|
|
705
|
-
value: function viewOptions() {
|
|
706
|
-
return {
|
|
707
|
-
allowUndo: this.options.allowUndo && this.model.get('showUndo'),
|
|
708
|
-
styles: _save_scss__WEBPACK_IMPORTED_MODULE_7___default.a
|
|
709
|
-
};
|
|
710
|
-
}
|
|
711
|
-
}, {
|
|
712
|
-
key: "renderSaveButton",
|
|
713
|
-
value: function renderSaveButton() {
|
|
714
|
-
var view = new _shared_components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_3__["SpinnerButtonComponent"]({
|
|
715
|
-
saveEvent: _constants__WEBPACK_IMPORTED_MODULE_5__["LibraryEditorActions"].Save,
|
|
716
|
-
channelName: this.getSaveChannelName(),
|
|
717
|
-
model: this.model,
|
|
718
|
-
buttonText: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(this.lang, 'save'),
|
|
719
|
-
extraButtonClass: "btn-primary ".concat(_save_scss__WEBPACK_IMPORTED_MODULE_7___default.a.saveButton),
|
|
720
|
-
spinnerOptions: {
|
|
721
|
-
size: _shared_utils__WEBPACK_IMPORTED_MODULE_2__["SpinnerSize"].Small,
|
|
722
|
-
type: _shared_utils__WEBPACK_IMPORTED_MODULE_2__["SpinnerType"].Light,
|
|
723
|
-
extraClasses: 'mx-auto'
|
|
724
|
-
}
|
|
725
|
-
});
|
|
726
|
-
this.showChildView('save', view);
|
|
727
|
-
}
|
|
728
|
-
}, {
|
|
729
|
-
key: "onRender",
|
|
730
|
-
value: function onRender() {
|
|
731
|
-
this.renderSaveButton();
|
|
732
|
-
}
|
|
733
|
-
}, {
|
|
734
|
-
key: "name",
|
|
735
|
-
get: function get() {
|
|
736
|
-
return 'SaveComponent';
|
|
737
|
-
}
|
|
738
|
-
}, {
|
|
739
|
-
key: "template",
|
|
740
|
-
get: function get() {
|
|
741
|
-
return _Save_hbs__WEBPACK_IMPORTED_MODULE_6___default.a;
|
|
742
|
-
}
|
|
743
|
-
}, {
|
|
744
|
-
key: "className",
|
|
745
|
-
get: function get() {
|
|
746
|
-
return "save-component ".concat(this.options.extraClasses);
|
|
747
|
-
}
|
|
748
|
-
}, {
|
|
749
|
-
key: "lang",
|
|
750
|
-
get: function get() {
|
|
751
|
-
return 'libraryEditor.save';
|
|
752
|
-
}
|
|
753
|
-
}]);
|
|
754
|
-
|
|
755
|
-
return SaveComponent;
|
|
756
|
-
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__["Core"].Component);
|
|
757
|
-
|
|
758
|
-
/***/ }),
|
|
759
|
-
|
|
760
|
-
/***/ "./src/apps/library-editor/components/save/save.scss":
|
|
761
|
-
/*!***********************************************************!*\
|
|
762
|
-
!*** ./src/apps/library-editor/components/save/save.scss ***!
|
|
763
|
-
\***********************************************************/
|
|
764
|
-
/*! no static exports found */
|
|
765
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
766
|
-
|
|
767
|
-
// extracted by mini-css-extract-plugin
|
|
768
|
-
module.exports = {"saveButton":"cv--saveButton--2FsA6","undo":"cv--undo--v6msX"};
|
|
769
|
-
|
|
770
|
-
/***/ }),
|
|
771
|
-
|
|
772
|
-
/***/ "./src/apps/library-editor/components/tags/Tags.hbs":
|
|
773
|
-
/*!**********************************************************!*\
|
|
774
|
-
!*** ./src/apps/library-editor/components/tags/Tags.hbs ***!
|
|
775
|
-
\**********************************************************/
|
|
776
|
-
/*! no static exports found */
|
|
777
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
778
|
-
|
|
779
|
-
var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
|
|
780
|
-
module.exports = (Handlebars['default'] || Handlebars).template({"1":function(container,depth0,helpers,partials,data) {
|
|
781
|
-
var stack1, alias1=container.propertyIsEnumerable;
|
|
782
|
-
|
|
783
|
-
return "<h5>"
|
|
784
|
-
+ container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.headerText : stack1), depth0))
|
|
785
|
-
+ "</h5>\r\n";
|
|
786
|
-
},"3":function(container,depth0,helpers,partials,data) {
|
|
787
|
-
var stack1, alias1=container.propertyIsEnumerable;
|
|
788
|
-
|
|
789
|
-
return "<p>"
|
|
790
|
-
+ container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.emptyStateText : stack1), depth0))
|
|
791
|
-
+ "</p>\r\n";
|
|
792
|
-
},"5":function(container,depth0,helpers,partials,data) {
|
|
793
|
-
return "<div class=\"tag-selector-region\"></div>\r\n";
|
|
794
|
-
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
795
|
-
var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {});
|
|
796
|
-
|
|
797
|
-
return ((stack1 = helpers["if"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.headerText : stack1),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
798
|
-
+ ((stack1 = helpers["if"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.emptyStateText : stack1),{"name":"if","hash":{},"fn":container.program(3, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
799
|
-
+ ((stack1 = helpers["if"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.editable : stack1),{"name":"if","hash":{},"fn":container.program(5, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
800
|
-
+ "<div class=\"tag-list-region\"></div>";
|
|
801
|
-
},"useData":true});
|
|
802
|
-
|
|
803
|
-
/***/ }),
|
|
804
|
-
|
|
805
|
-
/***/ "./src/apps/library-editor/components/tags/TagsComponent.ts":
|
|
806
|
-
/*!******************************************************************!*\
|
|
807
|
-
!*** ./src/apps/library-editor/components/tags/TagsComponent.ts ***!
|
|
808
|
-
\******************************************************************/
|
|
809
|
-
/*! exports provided: TagsComponent */
|
|
810
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
811
|
-
|
|
812
|
-
"use strict";
|
|
813
|
-
__webpack_require__.r(__webpack_exports__);
|
|
814
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TagsComponent", function() { return TagsComponent; });
|
|
815
|
-
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
816
|
-
/* harmony import */ var _libs_common_src_backbone_errors_DevError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/errors/DevError */ "../../libs/common/src/backbone/errors/DevError.ts");
|
|
817
|
-
/* harmony import */ var _libs_shared_src_apps_search_utils_TypeaheadHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../../../libs/shared/src/apps/search/utils/TypeaheadHelper */ "../../libs/shared/src/apps/search/utils/TypeaheadHelper.ts");
|
|
818
|
-
/* harmony import */ var _shared_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../shared/constants */ "./src/shared/constants/index.ts");
|
|
819
|
-
/* harmony import */ var _shared_utils_search_RawSearchHelper__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../shared/utils/search/RawSearchHelper */ "./src/shared/utils/search/RawSearchHelper.ts");
|
|
820
|
-
/* harmony import */ var _shared_components_typeahead_input_SearchTypeaheadComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../shared/components/typeahead-input/SearchTypeaheadComponent */ "./src/shared/components/typeahead-input/SearchTypeaheadComponent.ts");
|
|
821
|
-
/* harmony import */ var _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/services/LanguageService */ "../../libs/common/src/backbone/services/LanguageService.tsx");
|
|
822
|
-
/* harmony import */ var _tag_list_TagComponentCollection__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../tag-list/TagComponentCollection */ "./src/apps/library-editor/components/tag-list/TagComponentCollection.ts");
|
|
823
|
-
/* harmony import */ var _enums__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../enums */ "./src/apps/library-editor/enums/index.ts");
|
|
824
|
-
/* harmony import */ var _Tags_hbs__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./Tags.hbs */ "./src/apps/library-editor/components/tags/Tags.hbs");
|
|
825
|
-
/* harmony import */ var _Tags_hbs__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_Tags_hbs__WEBPACK_IMPORTED_MODULE_9__);
|
|
826
|
-
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); }
|
|
827
|
-
|
|
828
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
829
|
-
|
|
830
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
831
|
-
|
|
832
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
833
|
-
|
|
834
|
-
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); }
|
|
835
|
-
|
|
836
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
837
|
-
|
|
838
|
-
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); }; }
|
|
839
|
-
|
|
840
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
841
|
-
|
|
842
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
843
|
-
|
|
844
|
-
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; } }
|
|
845
|
-
|
|
846
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
var TagsComponent = /*#__PURE__*/function (_Core$Component) {
|
|
859
|
-
_inherits(TagsComponent, _Core$Component);
|
|
860
|
-
|
|
861
|
-
var _super = _createSuper(TagsComponent);
|
|
862
|
-
|
|
863
|
-
function TagsComponent(options) {
|
|
864
|
-
_classCallCheck(this, TagsComponent);
|
|
865
|
-
|
|
866
|
-
return _super.call(this, options);
|
|
867
|
-
}
|
|
868
|
-
|
|
869
|
-
_createClass(TagsComponent, [{
|
|
870
|
-
key: "regions",
|
|
871
|
-
value: function regions() {
|
|
872
|
-
return {
|
|
873
|
-
tagList: {
|
|
874
|
-
el: '.tag-list-region',
|
|
875
|
-
replaceElement: true
|
|
876
|
-
},
|
|
877
|
-
tagSelector: {
|
|
878
|
-
el: '.tag-selector-region',
|
|
879
|
-
replaceElement: true
|
|
880
|
-
}
|
|
881
|
-
};
|
|
882
|
-
}
|
|
883
|
-
}, {
|
|
884
|
-
key: "initialize",
|
|
885
|
-
value: function initialize() {
|
|
886
|
-
if (this.options.behavior === _enums__WEBPACK_IMPORTED_MODULE_8__["TagBehavior"].Edit && !this.options.parentId) _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].ErrorHelper.throw(new _libs_common_src_backbone_errors_DevError__WEBPACK_IMPORTED_MODULE_1__["DevError"]('parentId is required to edit tags.'));
|
|
887
|
-
}
|
|
888
|
-
}, {
|
|
889
|
-
key: "getTypeaheadConfigs",
|
|
890
|
-
value: function getTypeaheadConfigs() {
|
|
891
|
-
var typeaheadConfig = _shared_utils_search_RawSearchHelper__WEBPACK_IMPORTED_MODULE_4__["RawSearchHelper"].getTypeaheadConfig();
|
|
892
|
-
var bloodhoundConfig = _shared_utils_search_RawSearchHelper__WEBPACK_IMPORTED_MODULE_4__["RawSearchHelper"].getBloodhoundConfig();
|
|
893
|
-
var rawTagOptions = {
|
|
894
|
-
hideEmptyResults: true
|
|
895
|
-
};
|
|
896
|
-
var newTagOptions = {
|
|
897
|
-
newType: _shared_constants__WEBPACK_IMPORTED_MODULE_3__["SearchQueryType"].TagsRaw
|
|
898
|
-
};
|
|
899
|
-
var emptySuggestionOptions = {
|
|
900
|
-
newType: _shared_constants__WEBPACK_IMPORTED_MODULE_3__["SearchQueryType"].TagsRaw,
|
|
901
|
-
footerTemplate: _libs_shared_src_apps_search_utils_TypeaheadHelper__WEBPACK_IMPORTED_MODULE_2__["TypeaheadHelper"].getConfirmSelectionTemplate()
|
|
902
|
-
}; // The order here is important. It reflects how suggestions will be rendered in the typeahead.
|
|
903
|
-
|
|
904
|
-
return [{
|
|
905
|
-
name: _shared_constants__WEBPACK_IMPORTED_MODULE_3__["SearchQueryType"].TagsRaw,
|
|
906
|
-
typeaheadConfig: typeaheadConfig,
|
|
907
|
-
bloodhoundConfig: bloodhoundConfig,
|
|
908
|
-
options: rawTagOptions
|
|
909
|
-
}, {
|
|
910
|
-
name: 'add-new',
|
|
911
|
-
typeaheadConfig: typeaheadConfig,
|
|
912
|
-
bloodhoundConfig: bloodhoundConfig,
|
|
913
|
-
options: newTagOptions
|
|
914
|
-
}, {
|
|
915
|
-
name: 'empty-suggestion',
|
|
916
|
-
typeaheadConfig: typeaheadConfig,
|
|
917
|
-
bloodhoundConfig: bloodhoundConfig,
|
|
918
|
-
options: emptySuggestionOptions
|
|
919
|
-
}];
|
|
920
|
-
}
|
|
921
|
-
}, {
|
|
922
|
-
key: "viewOptions",
|
|
923
|
-
value: function viewOptions() {
|
|
924
|
-
var emptyStateText;
|
|
925
|
-
if (this.showEmptyStateText()) emptyStateText = this.options.emptyStateText;
|
|
926
|
-
return {
|
|
927
|
-
headerText: this.options.headerText,
|
|
928
|
-
editable: this.options.behavior === _enums__WEBPACK_IMPORTED_MODULE_8__["TagBehavior"].Edit,
|
|
929
|
-
emptyStateText: emptyStateText
|
|
930
|
-
};
|
|
931
|
-
}
|
|
932
|
-
}, {
|
|
933
|
-
key: "showEmptyStateText",
|
|
934
|
-
value: function showEmptyStateText() {
|
|
935
|
-
return this.options.behavior !== _enums__WEBPACK_IMPORTED_MODULE_8__["TagBehavior"].Edit && !this.collection.length && !!this.options.emptyStateText;
|
|
936
|
-
}
|
|
937
|
-
}, {
|
|
938
|
-
key: "renderTagSelector",
|
|
939
|
-
value: function renderTagSelector() {
|
|
940
|
-
if (this.options.behavior !== _enums__WEBPACK_IMPORTED_MODULE_8__["TagBehavior"].Edit) return;
|
|
941
|
-
this.showChildView('tagSelector', new _shared_components_typeahead_input_SearchTypeaheadComponent__WEBPACK_IMPORTED_MODULE_5__["SearchTypeaheadComponent"]({
|
|
942
|
-
model: this.model,
|
|
943
|
-
parentChannelName: this.options.channelName,
|
|
944
|
-
inputId: 'tag-select',
|
|
945
|
-
selectEvent: 'add:tag',
|
|
946
|
-
typeaheadConfigs: this.getTypeaheadConfigs(),
|
|
947
|
-
placeholderText: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_6__["LanguageService"].getPhrase(this.lang, 'placeholder'),
|
|
948
|
-
callbacks: {
|
|
949
|
-
onRender: _libs_shared_src_apps_search_utils_TypeaheadHelper__WEBPACK_IMPORTED_MODULE_2__["TypeaheadHelper"].selectFirstResult,
|
|
950
|
-
onBlur: _libs_shared_src_apps_search_utils_TypeaheadHelper__WEBPACK_IMPORTED_MODULE_2__["TypeaheadHelper"].clearInputOnBlur
|
|
951
|
-
},
|
|
952
|
-
typeaheadOptions: {
|
|
953
|
-
hint: false
|
|
954
|
-
},
|
|
955
|
-
actionOptions: {
|
|
956
|
-
clearOnSelect: true
|
|
957
|
-
}
|
|
958
|
-
}));
|
|
959
|
-
}
|
|
960
|
-
}, {
|
|
961
|
-
key: "renderTagList",
|
|
962
|
-
value: function renderTagList() {
|
|
963
|
-
if (this.showEmptyStateText()) return;
|
|
964
|
-
this.showChildView('tagList', new _tag_list_TagComponentCollection__WEBPACK_IMPORTED_MODULE_7__["TagComponentCollection"]({
|
|
965
|
-
collection: this.collection,
|
|
966
|
-
channelName: this.options.channelName,
|
|
967
|
-
behavior: this.options.behavior,
|
|
968
|
-
orientation: this.options.orientation,
|
|
969
|
-
removeEvent: this.options.removeEvent
|
|
970
|
-
}));
|
|
971
|
-
}
|
|
972
|
-
}, {
|
|
973
|
-
key: "onRender",
|
|
974
|
-
value: function onRender() {
|
|
975
|
-
this.renderTagSelector();
|
|
976
|
-
this.renderTagList();
|
|
977
|
-
}
|
|
978
|
-
}, {
|
|
979
|
-
key: "name",
|
|
980
|
-
get: function get() {
|
|
981
|
-
return 'TagsComponent';
|
|
982
|
-
}
|
|
983
|
-
}, {
|
|
984
|
-
key: "template",
|
|
985
|
-
get: function get() {
|
|
986
|
-
return _Tags_hbs__WEBPACK_IMPORTED_MODULE_9___default.a;
|
|
987
|
-
}
|
|
988
|
-
}, {
|
|
989
|
-
key: "lang",
|
|
990
|
-
get: function get() {
|
|
991
|
-
return 'libraryEditor.tags';
|
|
992
|
-
}
|
|
993
|
-
}, {
|
|
994
|
-
key: "defaults",
|
|
995
|
-
get: function get() {
|
|
996
|
-
return {
|
|
997
|
-
headerText: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_6__["LanguageService"].getPhrase(this.lang, 'heading'),
|
|
998
|
-
orientation: _enums__WEBPACK_IMPORTED_MODULE_8__["TagOrientation"].Flex
|
|
999
|
-
};
|
|
1000
|
-
}
|
|
1001
|
-
}]);
|
|
1002
|
-
|
|
1003
|
-
return TagsComponent;
|
|
1004
|
-
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].Component);
|
|
1005
|
-
|
|
1006
|
-
/***/ }),
|
|
1007
|
-
|
|
1008
|
-
/***/ "./src/apps/library-editor/views/edit-video/EditVideo.hbs":
|
|
1009
|
-
/*!****************************************************************!*\
|
|
1010
|
-
!*** ./src/apps/library-editor/views/edit-video/EditVideo.hbs ***!
|
|
1011
|
-
\****************************************************************/
|
|
1012
|
-
/*! no static exports found */
|
|
1013
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1014
|
-
|
|
1015
|
-
var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
|
|
1016
|
-
module.exports = (Handlebars['default'] || Handlebars).template({"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
1017
|
-
return "<div class=\"tab-region\"></div>\r\n<div class=\"edit-content-region\"></div>\r\n<div class=\"dialog-region\"></div>";
|
|
1018
|
-
},"useData":true});
|
|
1019
|
-
|
|
1020
|
-
/***/ }),
|
|
1021
|
-
|
|
1022
|
-
/***/ "./src/apps/library-editor/views/edit-video/EditVideoView.ts":
|
|
1023
|
-
/*!*******************************************************************!*\
|
|
1024
|
-
!*** ./src/apps/library-editor/views/edit-video/EditVideoView.ts ***!
|
|
1025
|
-
\*******************************************************************/
|
|
1026
|
-
/*! exports provided: EditVideoView */
|
|
1027
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1028
|
-
|
|
1029
|
-
"use strict";
|
|
1030
|
-
__webpack_require__.r(__webpack_exports__);
|
|
1031
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EditVideoView", function() { return EditVideoView; });
|
|
1032
|
-
/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! underscore */ "underscore");
|
|
1033
|
-
/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(underscore__WEBPACK_IMPORTED_MODULE_0__);
|
|
1034
|
-
/* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! backbone */ "backbone");
|
|
1035
|
-
/* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(backbone__WEBPACK_IMPORTED_MODULE_1__);
|
|
1036
|
-
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
1037
|
-
/* harmony import */ var _libs_common_src_backbone_errors_DevError__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/errors/DevError */ "../../libs/common/src/backbone/errors/DevError.ts");
|
|
1038
|
-
/* harmony import */ var _libs_common_src_backbone_services_ViewModelService__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/services/ViewModelService */ "../../libs/common/src/backbone/services/ViewModelService.ts");
|
|
1039
|
-
/* harmony import */ var _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/services/LanguageService */ "../../libs/common/src/backbone/services/LanguageService.tsx");
|
|
1040
|
-
/* harmony import */ var _libs_common_src_backbone_constants_CommonChannels__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/constants/CommonChannels */ "../../libs/common/src/backbone/constants/CommonChannels.ts");
|
|
1041
|
-
/* harmony import */ var _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/services/InstanceManager */ "../../libs/common/src/backbone/services/InstanceManager.ts");
|
|
1042
|
-
/* harmony import */ var _libs_common_src_backbone_enums_DataServiceErrorType__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/enums/DataServiceErrorType */ "../../libs/common/src/backbone/enums/DataServiceErrorType.ts");
|
|
1043
|
-
/* harmony import */ var _shared_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../../shared/constants */ "./src/shared/constants/index.ts");
|
|
1044
|
-
/* harmony import */ var _shared_collections_SeasonCollection__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../../shared/collections/SeasonCollection */ "./src/shared/collections/SeasonCollection.ts");
|
|
1045
|
-
/* harmony import */ var _shared_services_UserDataService__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../../shared/services/UserDataService */ "./src/shared/services/UserDataService.ts");
|
|
1046
|
-
/* harmony import */ var _shared_utils__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../../../shared/utils */ "./src/shared/utils/index.ts");
|
|
1047
|
-
/* harmony import */ var _shared_models_Video__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../../../shared/models/Video */ "./src/shared/models/Video.ts");
|
|
1048
|
-
/* harmony import */ var _shared_models_Tag__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../../../shared/models/Tag */ "./src/shared/models/Tag.ts");
|
|
1049
|
-
/* harmony import */ var _shared_alerts__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../../../shared/alerts */ "./src/shared/alerts/index.ts");
|
|
1050
|
-
/* harmony import */ var _shared_enums__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../../../../shared/enums */ "./src/shared/enums/index.ts");
|
|
1051
|
-
/* harmony import */ var _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../../../../../../../libs/analytics/src/interfaces */ "../../libs/analytics/src/interfaces/index.ts");
|
|
1052
|
-
/* harmony import */ var _libs_analytics_src_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../../../../../../../libs/analytics/src/AnalyticsHelper */ "../../libs/analytics/src/AnalyticsHelper.ts");
|
|
1053
|
-
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../../constants */ "./src/apps/library-editor/constants/index.ts");
|
|
1054
|
-
/* harmony import */ var _services_LibraryDataService__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../../services/LibraryDataService */ "./src/apps/library-editor/services/LibraryDataService.ts");
|
|
1055
|
-
/* harmony import */ var _utils_EditVideoHelpers__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../../utils/EditVideoHelpers */ "./src/apps/library-editor/utils/EditVideoHelpers.ts");
|
|
1056
|
-
/* harmony import */ var _components_edit_video_EditVideoDetailsComponent__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../../components/edit-video/EditVideoDetailsComponent */ "./src/apps/library-editor/components/edit-video/EditVideoDetailsComponent.ts");
|
|
1057
|
-
/* harmony import */ var _components_edit_video_tabs_EditVideoTabsComponent__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ../../components/edit-video-tabs/EditVideoTabsComponent */ "./src/apps/library-editor/components/edit-video-tabs/EditVideoTabsComponent.ts");
|
|
1058
|
-
/* harmony import */ var _errors_forbidden_video_ForbiddenVideoError__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ../../errors/forbidden-video/ForbiddenVideoError */ "./src/apps/library-editor/errors/forbidden-video/ForbiddenVideoError.ts");
|
|
1059
|
-
/* harmony import */ var _errors_video_not_found_VideoNotFoundError__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ../../errors/video-not-found/VideoNotFoundError */ "./src/apps/library-editor/errors/video-not-found/VideoNotFoundError.ts");
|
|
1060
|
-
/* harmony import */ var _EditVideo_hbs__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./EditVideo.hbs */ "./src/apps/library-editor/views/edit-video/EditVideo.hbs");
|
|
1061
|
-
/* harmony import */ var _EditVideo_hbs__WEBPACK_IMPORTED_MODULE_26___default = /*#__PURE__*/__webpack_require__.n(_EditVideo_hbs__WEBPACK_IMPORTED_MODULE_26__);
|
|
1062
|
-
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); }
|
|
1063
|
-
|
|
1064
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
1065
|
-
|
|
1066
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
1067
|
-
|
|
1068
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
1069
|
-
|
|
1070
|
-
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); }
|
|
1071
|
-
|
|
1072
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
1073
|
-
|
|
1074
|
-
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); }; }
|
|
1075
|
-
|
|
1076
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
1077
|
-
|
|
1078
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
1079
|
-
|
|
1080
|
-
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; } }
|
|
1081
|
-
|
|
1082
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
// Move to common
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
var EditVideoView = /*#__PURE__*/function (_Core$View) {
|
|
1113
|
-
_inherits(EditVideoView, _Core$View);
|
|
1114
|
-
|
|
1115
|
-
var _super = _createSuper(EditVideoView);
|
|
1116
|
-
|
|
1117
|
-
function EditVideoView(options) {
|
|
1118
|
-
var _this;
|
|
1119
|
-
|
|
1120
|
-
_classCallCheck(this, EditVideoView);
|
|
1121
|
-
|
|
1122
|
-
_this = _super.call(this, options);
|
|
1123
|
-
/**
|
|
1124
|
-
* @description
|
|
1125
|
-
* Editable state is determined based on the library origin
|
|
1126
|
-
* of the video. If the video exists in a non-custom library
|
|
1127
|
-
* (ie. Hosted library or the Exchange) it will not be editable.
|
|
1128
|
-
*/
|
|
1129
|
-
|
|
1130
|
-
_this.editable = false;
|
|
1131
|
-
return _this;
|
|
1132
|
-
}
|
|
1133
|
-
|
|
1134
|
-
_createClass(EditVideoView, [{
|
|
1135
|
-
key: "regions",
|
|
1136
|
-
value: function regions() {
|
|
1137
|
-
return {
|
|
1138
|
-
tabs: {
|
|
1139
|
-
el: '.tab-region',
|
|
1140
|
-
replaceElement: true,
|
|
1141
|
-
partialLoading: _shared_enums__WEBPACK_IMPORTED_MODULE_16__["PartialLoading"].EditVideoTabs
|
|
1142
|
-
},
|
|
1143
|
-
content: {
|
|
1144
|
-
el: '.edit-content-region',
|
|
1145
|
-
replaceElement: true,
|
|
1146
|
-
partialLoading: _shared_enums__WEBPACK_IMPORTED_MODULE_16__["PartialLoading"].EditVideoDetails
|
|
1147
|
-
}
|
|
1148
|
-
};
|
|
1149
|
-
}
|
|
1150
|
-
}, {
|
|
1151
|
-
key: "initialize",
|
|
1152
|
-
value: function initialize() {
|
|
1153
|
-
this.navLock = _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_7__["InstanceManager"].getInstance(_shared_constants__WEBPACK_IMPORTED_MODULE_9__["Services"].NavLock, this);
|
|
1154
|
-
this.initDataListeners();
|
|
1155
|
-
_shared_utils__WEBPACK_IMPORTED_MODULE_12__["TabHelper"].initBackButton();
|
|
1156
|
-
this.initServices();
|
|
1157
|
-
}
|
|
1158
|
-
}, {
|
|
1159
|
-
key: "initServices",
|
|
1160
|
-
value: function initServices() {
|
|
1161
|
-
this.videoDataService = _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_7__["InstanceManager"].getInstance(_shared_constants__WEBPACK_IMPORTED_MODULE_9__["DataServices"].Video, this);
|
|
1162
|
-
this.tagDataService = _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_7__["InstanceManager"].getInstance(_shared_constants__WEBPACK_IMPORTED_MODULE_9__["DataServices"].Tags, this);
|
|
1163
|
-
this.libraryDataService = _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_7__["InstanceManager"].getInstance(_shared_constants__WEBPACK_IMPORTED_MODULE_9__["DataServices"].Library, this);
|
|
1164
|
-
this.seriesDataService = _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_7__["InstanceManager"].getInstance(_shared_constants__WEBPACK_IMPORTED_MODULE_9__["DataServices"].Series, this);
|
|
1165
|
-
this.ratingsDataService = _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_7__["InstanceManager"].getInstance(_shared_constants__WEBPACK_IMPORTED_MODULE_9__["DataServices"].Ratings, this);
|
|
1166
|
-
this.migrationVideoDataService = _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_7__["InstanceManager"].getInstance(_shared_constants__WEBPACK_IMPORTED_MODULE_9__["DataServices"].MigrationVideo, this);
|
|
1167
|
-
this.fieldsDataService = _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_7__["InstanceManager"].getInstance(_shared_constants__WEBPACK_IMPORTED_MODULE_9__["DataServices"].Fields, this);
|
|
1168
|
-
this.alertService = _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_7__["InstanceManager"].getInstance(_shared_constants__WEBPACK_IMPORTED_MODULE_9__["Services"].Alerts, this);
|
|
1169
|
-
this.personDataService = _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_7__["InstanceManager"].getInstance(_shared_constants__WEBPACK_IMPORTED_MODULE_9__["DataServices"].Person, this);
|
|
1170
|
-
this.companyDataService = _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_7__["InstanceManager"].getInstance(_shared_constants__WEBPACK_IMPORTED_MODULE_9__["DataServices"].Company, this);
|
|
1171
|
-
}
|
|
1172
|
-
}, {
|
|
1173
|
-
key: "initDataListeners",
|
|
1174
|
-
value: function initDataListeners() {
|
|
1175
|
-
this.listenTo(_libs_common_src_backbone_constants_CommonChannels__WEBPACK_IMPORTED_MODULE_6__["CommonChannels"].SHELL, _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_2__["Core"].EventNames.NAV_UNLOCKED_BY_USER, this.onNavigateAway);
|
|
1176
|
-
this.listenTo(_shared_constants__WEBPACK_IMPORTED_MODULE_9__["DataChannels"].VIDEO, "videos:".concat(this.options.videoId, ":sync"), this.render);
|
|
1177
|
-
this.listenTo(_shared_constants__WEBPACK_IMPORTED_MODULE_9__["DataChannels"].VIDEO, "videos:".concat(this.options.videoId, ":error"), this.onError);
|
|
1178
|
-
this.listenTo(_shared_constants__WEBPACK_IMPORTED_MODULE_9__["DataChannels"].RATINGS, "".concat(_shared_constants__WEBPACK_IMPORTED_MODULE_9__["DataPrefixes"].RATINGS, ":sync"), this.render);
|
|
1179
|
-
this.listenTo(_shared_constants__WEBPACK_IMPORTED_MODULE_9__["DataChannels"].VIDEO, "".concat(_shared_constants__WEBPACK_IMPORTED_MODULE_9__["DataPrefixes"].UPDATE_VIDEO_THUMBNAIL, ":").concat(this.options.videoId, ":sync"), this.onThumbnailUpdated);
|
|
1180
|
-
this.listenTo(_shared_constants__WEBPACK_IMPORTED_MODULE_9__["DataChannels"].LIBRARY, "hosted:libraries:sync", this.render);
|
|
1181
|
-
/**
|
|
1182
|
-
* Tap into changes occuring within child components
|
|
1183
|
-
*/
|
|
1184
|
-
// Select model events
|
|
1185
|
-
|
|
1186
|
-
this.listenTo(this.channelName, 'select:rating', underscore__WEBPACK_IMPORTED_MODULE_0__["partial"](this.onTypeaheadSelection, underscore__WEBPACK_IMPORTED_MODULE_0__, 'rating'));
|
|
1187
|
-
this.listenTo(this.channelName, 'select:channel', underscore__WEBPACK_IMPORTED_MODULE_0__["partial"](this.onTypeaheadSelection, underscore__WEBPACK_IMPORTED_MODULE_0__, 'channel'));
|
|
1188
|
-
this.listenTo(this.channelName, 'select:series', this.onSelectSeries);
|
|
1189
|
-
this.listenTo(this.channelName, 'add:season', this.onSelectSeason); // Add to collection events
|
|
1190
|
-
|
|
1191
|
-
this.listenTo(this.channelName, 'add:distributors', this.onSelectDistributor);
|
|
1192
|
-
this.listenTo(this.channelName, 'add:productionCompanies', this.onSelectProductionCompany);
|
|
1193
|
-
this.listenTo(this.channelName, 'add:directors', this.onSelectDirector);
|
|
1194
|
-
this.listenTo(this.channelName, 'add:producers', this.onSelectProducer);
|
|
1195
|
-
this.listenTo(this.channelName, 'add:tag', this.onAddTag); // Remove from collection events
|
|
1196
|
-
|
|
1197
|
-
this.listenTo(this.channelName, 'remove:distributors', this.onRemoveDistributor);
|
|
1198
|
-
this.listenTo(this.channelName, 'remove:productionCompanies', this.onRemoveProductionCompany);
|
|
1199
|
-
this.listenTo(this.channelName, 'remove:directors', this.onRemoveDirector);
|
|
1200
|
-
this.listenTo(this.channelName, 'remove:producers', this.onRemoveProducer);
|
|
1201
|
-
this.listenTo(this.channelName, 'remove:tag', this.onRemoveTag);
|
|
1202
|
-
this.listenTo(this.channelName, _constants__WEBPACK_IMPORTED_MODULE_19__["LibraryEditorActions"].Save, this.onSave);
|
|
1203
|
-
this.listenTo(this.channelName, _constants__WEBPACK_IMPORTED_MODULE_19__["LibraryEditorActions"].Undo, this.onUndo);
|
|
1204
|
-
this.listenTo(this.channelName, _constants__WEBPACK_IMPORTED_MODULE_19__["LibraryEditorActions"].DetectInput, this.onTypeaheadInput);
|
|
1205
|
-
this.listenTo(this.channelName, 'image:load', this.onBeforeThumbnailUpload);
|
|
1206
|
-
}
|
|
1207
|
-
}, {
|
|
1208
|
-
key: "onError",
|
|
1209
|
-
value: function onError(error) {
|
|
1210
|
-
switch (error.type) {
|
|
1211
|
-
case _libs_common_src_backbone_enums_DataServiceErrorType__WEBPACK_IMPORTED_MODULE_8__["DataServiceErrorType"].NotFound:
|
|
1212
|
-
_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_2__["Core"].ErrorHelper.throw(new _errors_video_not_found_VideoNotFoundError__WEBPACK_IMPORTED_MODULE_25__["VideoNotFoundError"]());
|
|
1213
|
-
break;
|
|
1214
|
-
|
|
1215
|
-
case _libs_common_src_backbone_enums_DataServiceErrorType__WEBPACK_IMPORTED_MODULE_8__["DataServiceErrorType"].Forbidden:
|
|
1216
|
-
_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_2__["Core"].ErrorHelper.throw(new _errors_forbidden_video_ForbiddenVideoError__WEBPACK_IMPORTED_MODULE_24__["ForbiddenVideoError"]());
|
|
1217
|
-
break;
|
|
1218
|
-
}
|
|
1219
|
-
}
|
|
1220
|
-
/**
|
|
1221
|
-
* Invoked from selecting a typeahead option, which returns the raw JSON of the selected model.
|
|
1222
|
-
* Using the same callback dynamically for different assoc/model type.
|
|
1223
|
-
*/
|
|
1224
|
-
|
|
1225
|
-
}, {
|
|
1226
|
-
key: "onTypeaheadSelection",
|
|
1227
|
-
value: function onTypeaheadSelection(newModelObject, modelType, isCollection) {
|
|
1228
|
-
if (isCollection) {
|
|
1229
|
-
var collection = this.viewModel.get(modelType);
|
|
1230
|
-
var existingModels = collection.filter({
|
|
1231
|
-
name: newModelObject.name
|
|
1232
|
-
});
|
|
1233
|
-
|
|
1234
|
-
underscore__WEBPACK_IMPORTED_MODULE_0__["each"](existingModels, function (existing) {
|
|
1235
|
-
return collection.remove(existing);
|
|
1236
|
-
});
|
|
1237
|
-
|
|
1238
|
-
collection.add(newModelObject);
|
|
1239
|
-
} else {
|
|
1240
|
-
this.viewModel.set(modelType, newModelObject);
|
|
1241
|
-
}
|
|
1242
|
-
|
|
1243
|
-
this.onModelChange(newModelObject, {
|
|
1244
|
-
manualUpdate: true
|
|
1245
|
-
});
|
|
1246
|
-
}
|
|
1247
|
-
/**
|
|
1248
|
-
* Detect when a user has cleared out an existing typeahead option. Where this is the case
|
|
1249
|
-
* we need to clear the existing assoc/model value from our viewModel to ensure we can save.
|
|
1250
|
-
* Using the same callback dynamically for different assoc/model type.
|
|
1251
|
-
*
|
|
1252
|
-
* @param val
|
|
1253
|
-
* @param modelType
|
|
1254
|
-
*/
|
|
1255
|
-
|
|
1256
|
-
}, {
|
|
1257
|
-
key: "onTypeaheadInput",
|
|
1258
|
-
value: function onTypeaheadInput(model, modelType, options) {
|
|
1259
|
-
if (model.get('name')) return;
|
|
1260
|
-
|
|
1261
|
-
if (options && options.isCollection) {
|
|
1262
|
-
this.viewModel.get(modelType).remove(model.get('id'), {
|
|
1263
|
-
silent: true
|
|
1264
|
-
});
|
|
1265
|
-
} else {
|
|
1266
|
-
this.viewModel.get(modelType).clear({
|
|
1267
|
-
silent: true
|
|
1268
|
-
});
|
|
1269
|
-
}
|
|
1270
|
-
|
|
1271
|
-
this.onModelChange(null, {
|
|
1272
|
-
manualUpdate: true
|
|
1273
|
-
}); // As a side effect of series being cleared, season and episode number inputs are locked.
|
|
1274
|
-
|
|
1275
|
-
if (modelType === 'series') {
|
|
1276
|
-
this.validateSeries();
|
|
1277
|
-
backbone__WEBPACK_IMPORTED_MODULE_1__["Radio"].channel(this.channelName).trigger('clear:series');
|
|
1278
|
-
}
|
|
1279
|
-
}
|
|
1280
|
-
}, {
|
|
1281
|
-
key: "onSelectSeries",
|
|
1282
|
-
value: function onSelectSeries(seriesObject) {
|
|
1283
|
-
var _this2 = this;
|
|
1284
|
-
|
|
1285
|
-
// Handle the assoc against an existing series
|
|
1286
|
-
if (seriesObject.id) {
|
|
1287
|
-
// Fetching series here is required to get its associated seasons
|
|
1288
|
-
this.seriesDataService.getSeries(seriesObject.id, function (series) {
|
|
1289
|
-
_this2.viewModel.unset('season');
|
|
1290
|
-
|
|
1291
|
-
_this2.viewModel.set('episodeNumber', null);
|
|
1292
|
-
|
|
1293
|
-
_this2.onTypeaheadSelection(series.toJSON(), 'series');
|
|
1294
|
-
});
|
|
1295
|
-
return;
|
|
1296
|
-
}
|
|
1297
|
-
|
|
1298
|
-
if (!seriesObject.name) return; // Attempt to create a new series
|
|
1299
|
-
|
|
1300
|
-
this.seriesDataService.createSeries(seriesObject.name, function (newSeries) {
|
|
1301
|
-
_this2.viewModel.unset('season');
|
|
1302
|
-
|
|
1303
|
-
_this2.viewModel.set('episodeNumber', null);
|
|
1304
|
-
|
|
1305
|
-
_this2.onTypeaheadSelection({
|
|
1306
|
-
id: newSeries.id
|
|
1307
|
-
}, 'series');
|
|
1308
|
-
});
|
|
1309
|
-
}
|
|
1310
|
-
}, {
|
|
1311
|
-
key: "onSelectSeason",
|
|
1312
|
-
value: function onSelectSeason(season) {
|
|
1313
|
-
var _this3 = this;
|
|
1314
|
-
|
|
1315
|
-
if (underscore__WEBPACK_IMPORTED_MODULE_0__["isNull"](season)) {
|
|
1316
|
-
this.viewModel.get('season').clear({
|
|
1317
|
-
silent: true
|
|
1318
|
-
});
|
|
1319
|
-
this.viewModel.set('episodeNumber', null);
|
|
1320
|
-
_shared_utils__WEBPACK_IMPORTED_MODULE_12__["CollectionHelpers"].deselectAll(this.viewModel.get('series.seasons'));
|
|
1321
|
-
this.onModelChange(null, {
|
|
1322
|
-
manualUpdate: true
|
|
1323
|
-
});
|
|
1324
|
-
return;
|
|
1325
|
-
} // If user select an option from the season dropdown
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
if (season.id) {
|
|
1329
|
-
this.viewModel.set('season', season);
|
|
1330
|
-
_shared_utils__WEBPACK_IMPORTED_MODULE_12__["CollectionHelpers"].setSelected(season.id, this.viewModel.get('series.seasons'));
|
|
1331
|
-
this.onModelChange(season, {
|
|
1332
|
-
manualUpdate: true
|
|
1333
|
-
});
|
|
1334
|
-
return;
|
|
1335
|
-
}
|
|
1336
|
-
|
|
1337
|
-
if (!season.number) return; // Creating a new season
|
|
1338
|
-
|
|
1339
|
-
var seriesId = this.viewModel.get('series.id');
|
|
1340
|
-
this.seriesDataService.createSeason(season, seriesId, function (newSeason) {
|
|
1341
|
-
_this3.viewModel.set('season', newSeason.toJSON());
|
|
1342
|
-
|
|
1343
|
-
!_this3.viewModel.get('series.seasons') && _this3.viewModel.get('series').set('seasons', new _shared_collections_SeasonCollection__WEBPACK_IMPORTED_MODULE_10__["SeasonCollection"]());
|
|
1344
|
-
|
|
1345
|
-
_this3.viewModel.get('series.seasons').add(newSeason.toJSON());
|
|
1346
|
-
|
|
1347
|
-
_shared_utils__WEBPACK_IMPORTED_MODULE_12__["CollectionHelpers"].setSelected(newSeason.id, _this3.viewModel.get('series.seasons'));
|
|
1348
|
-
|
|
1349
|
-
_this3.onModelChange(newSeason.toJSON(), {
|
|
1350
|
-
manualUpdate: true
|
|
1351
|
-
});
|
|
1352
|
-
|
|
1353
|
-
_this3.render();
|
|
1354
|
-
});
|
|
1355
|
-
}
|
|
1356
|
-
}, {
|
|
1357
|
-
key: "onSelectDistributor",
|
|
1358
|
-
value: function onSelectDistributor(distributorObject) {
|
|
1359
|
-
var _this4 = this;
|
|
1360
|
-
|
|
1361
|
-
if (distributorObject.id) {
|
|
1362
|
-
this.onTypeaheadSelection(distributorObject, 'distributors', true);
|
|
1363
|
-
return;
|
|
1364
|
-
}
|
|
1365
|
-
|
|
1366
|
-
if (!distributorObject.name) return;
|
|
1367
|
-
this.companyDataService.createCompany(distributorObject.name, function (newDistributor) {
|
|
1368
|
-
_this4.onTypeaheadSelection(newDistributor.toJSON(), 'distributors', true);
|
|
1369
|
-
});
|
|
1370
|
-
}
|
|
1371
|
-
}, {
|
|
1372
|
-
key: "onSelectProductionCompany",
|
|
1373
|
-
value: function onSelectProductionCompany(productionCompanyObject) {
|
|
1374
|
-
var _this5 = this;
|
|
1375
|
-
|
|
1376
|
-
if (productionCompanyObject.id) {
|
|
1377
|
-
this.onTypeaheadSelection(productionCompanyObject, 'productionCompanies', true);
|
|
1378
|
-
return;
|
|
1379
|
-
}
|
|
1380
|
-
|
|
1381
|
-
if (!productionCompanyObject.name) return;
|
|
1382
|
-
this.companyDataService.createCompany(productionCompanyObject.name, function (newProductionCompany) {
|
|
1383
|
-
_this5.onTypeaheadSelection(newProductionCompany.toJSON(), 'productionCompanies', true);
|
|
1384
|
-
});
|
|
1385
|
-
}
|
|
1386
|
-
}, {
|
|
1387
|
-
key: "onSelectDirector",
|
|
1388
|
-
value: function onSelectDirector(director) {
|
|
1389
|
-
var _this6 = this;
|
|
1390
|
-
|
|
1391
|
-
if (director.id) {
|
|
1392
|
-
this.onTypeaheadSelection(director, 'directors', true);
|
|
1393
|
-
return;
|
|
1394
|
-
}
|
|
1395
|
-
|
|
1396
|
-
if (!director.name) return;
|
|
1397
|
-
this.personDataService.createPerson(director.name, function (newDirector) {
|
|
1398
|
-
_this6.onTypeaheadSelection(newDirector.toJSON(), 'directors', true);
|
|
1399
|
-
});
|
|
1400
|
-
}
|
|
1401
|
-
}, {
|
|
1402
|
-
key: "onSelectProducer",
|
|
1403
|
-
value: function onSelectProducer(producer) {
|
|
1404
|
-
var _this7 = this;
|
|
1405
|
-
|
|
1406
|
-
if (producer.id) {
|
|
1407
|
-
this.onTypeaheadSelection(producer, 'producers', true);
|
|
1408
|
-
return;
|
|
1409
|
-
}
|
|
1410
|
-
|
|
1411
|
-
if (!producer.name) return;
|
|
1412
|
-
this.personDataService.createPerson(producer.name, function (newProducer) {
|
|
1413
|
-
_this7.onTypeaheadSelection(newProducer.toJSON(), 'producers', true);
|
|
1414
|
-
});
|
|
1415
|
-
}
|
|
1416
|
-
}, {
|
|
1417
|
-
key: "onRemoveDistributor",
|
|
1418
|
-
value: function onRemoveDistributor(distributor) {
|
|
1419
|
-
this.removeFromCollection(distributor, 'distributors');
|
|
1420
|
-
}
|
|
1421
|
-
}, {
|
|
1422
|
-
key: "onRemoveProductionCompany",
|
|
1423
|
-
value: function onRemoveProductionCompany(productionCompany) {
|
|
1424
|
-
this.removeFromCollection(productionCompany, 'productionCompanies');
|
|
1425
|
-
}
|
|
1426
|
-
}, {
|
|
1427
|
-
key: "onRemoveDirector",
|
|
1428
|
-
value: function onRemoveDirector(director) {
|
|
1429
|
-
this.removeFromCollection(director, 'directors');
|
|
1430
|
-
}
|
|
1431
|
-
}, {
|
|
1432
|
-
key: "onRemoveProducer",
|
|
1433
|
-
value: function onRemoveProducer(producer) {
|
|
1434
|
-
this.removeFromCollection(producer, 'producers');
|
|
1435
|
-
}
|
|
1436
|
-
}, {
|
|
1437
|
-
key: "removeFromCollection",
|
|
1438
|
-
value: function removeFromCollection(object, modelType) {
|
|
1439
|
-
if (!object || !object.id || !modelType) return;
|
|
1440
|
-
this.viewModel.get(modelType).remove(object.id);
|
|
1441
|
-
this.onModelChange(null, {
|
|
1442
|
-
manualUpdate: true
|
|
1443
|
-
});
|
|
1444
|
-
}
|
|
1445
|
-
/**
|
|
1446
|
-
* Tag management logic
|
|
1447
|
-
*/
|
|
1448
|
-
|
|
1449
|
-
}, {
|
|
1450
|
-
key: "onAddTag",
|
|
1451
|
-
value: function onAddTag(tag) {
|
|
1452
|
-
var _this8 = this;
|
|
1453
|
-
|
|
1454
|
-
if (!tag || !tag.name) return;
|
|
1455
|
-
/**
|
|
1456
|
-
* Tags should always be lowercase. This is also enforced by master.
|
|
1457
|
-
*/
|
|
1458
|
-
|
|
1459
|
-
var tagName = tag.name.trim().toLowerCase();
|
|
1460
|
-
/**
|
|
1461
|
-
* Ensure that no whitespace-only tags get
|
|
1462
|
-
*/
|
|
1463
|
-
|
|
1464
|
-
if (!tagName) return;
|
|
1465
|
-
/**
|
|
1466
|
-
* Don't allow a new tag to be created if it already exists on the video, either
|
|
1467
|
-
* as a ClickView tag or a customer tag.
|
|
1468
|
-
*/
|
|
1469
|
-
|
|
1470
|
-
var existingTag = _shared_utils__WEBPACK_IMPORTED_MODULE_12__["CollectionHelpers"].findModelByName(tagName, this.viewModel.tags);
|
|
1471
|
-
if (existingTag) return;
|
|
1472
|
-
/**
|
|
1473
|
-
* @important
|
|
1474
|
-
* We are relying on core functionality within Domain's create object endpoint to ensure that if a
|
|
1475
|
-
* tag is created with the same name as another tag that belongs to that *specific* customer, it will
|
|
1476
|
-
* return the pre-existing tag.
|
|
1477
|
-
*
|
|
1478
|
-
* This is necessary as the tag typeahead will include both ClickView and Customer tag suggestions
|
|
1479
|
-
* and we *cannot* reliably use the permission object that is passed through the typeahead. It will
|
|
1480
|
-
* also ensure that users will not be able to inadvertently created assocations for CV tags.
|
|
1481
|
-
* - Mike
|
|
1482
|
-
*/
|
|
1483
|
-
|
|
1484
|
-
var newTag = new _shared_models_Tag__WEBPACK_IMPORTED_MODULE_14__["Tag"]({
|
|
1485
|
-
name: tagName
|
|
1486
|
-
});
|
|
1487
|
-
this.viewModel.tags.add(newTag);
|
|
1488
|
-
/**
|
|
1489
|
-
* Once the tag has been created, merge the attributes with the existing model.
|
|
1490
|
-
* We do this as we don't initially have an id for the tag, so technically we cannot
|
|
1491
|
-
* dissoc it yet.
|
|
1492
|
-
*/
|
|
1493
|
-
|
|
1494
|
-
this.tagDataService.createTag(tagName, this.model.get('id'), function (data) {
|
|
1495
|
-
// Override the client-side model with the server-created props
|
|
1496
|
-
newTag.set(data.toJSON());
|
|
1497
|
-
backbone__WEBPACK_IMPORTED_MODULE_1__["Radio"].channel(_this8.channelName).trigger('update:tags');
|
|
1498
|
-
});
|
|
1499
|
-
}
|
|
1500
|
-
}, {
|
|
1501
|
-
key: "onRemoveTag",
|
|
1502
|
-
value: function onRemoveTag(tag) {
|
|
1503
|
-
var _this9 = this;
|
|
1504
|
-
|
|
1505
|
-
if (!(tag instanceof _shared_models_Tag__WEBPACK_IMPORTED_MODULE_14__["Tag"]) || !tag.id) return;
|
|
1506
|
-
this.tagDataService.dissociateTag(tag.id, this.model.get('id'), function () {
|
|
1507
|
-
_this9.viewModel.tags.remove(tag);
|
|
1508
|
-
|
|
1509
|
-
backbone__WEBPACK_IMPORTED_MODULE_1__["Radio"].channel(_this9.channelName).trigger('update:tags');
|
|
1510
|
-
|
|
1511
|
-
_this9.logDissocAction(_this9.model.get('id'), tag, _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_17__["EntityType"].Tag);
|
|
1512
|
-
});
|
|
1513
|
-
}
|
|
1514
|
-
}, {
|
|
1515
|
-
key: "saveFields",
|
|
1516
|
-
value: function saveFields(options, next) {
|
|
1517
|
-
var _this10 = this;
|
|
1518
|
-
|
|
1519
|
-
var doneCount = 0;
|
|
1520
|
-
/**
|
|
1521
|
-
* We need updatedVideo to be set so that this.updateChanges is called in this.afterSave
|
|
1522
|
-
*/
|
|
1523
|
-
|
|
1524
|
-
options.updatedVideo = underscore__WEBPACK_IMPORTED_MODULE_0__["extend"]({}, options.updatedVideo || {});
|
|
1525
|
-
|
|
1526
|
-
var done = function done() {
|
|
1527
|
-
doneCount++;
|
|
1528
|
-
if (doneCount === options.dataChanges.fields.length) next(options);
|
|
1529
|
-
};
|
|
1530
|
-
|
|
1531
|
-
underscore__WEBPACK_IMPORTED_MODULE_0__["each"](options.dataChanges.fields, function (f) {
|
|
1532
|
-
if (f.id && !f.value) {
|
|
1533
|
-
_this10.viewModel.fields.remove(_this10.viewModel.fields.findWhere({
|
|
1534
|
-
id: f.id
|
|
1535
|
-
}));
|
|
1536
|
-
|
|
1537
|
-
_this10.fieldsDataService.deleteField(f.id, done);
|
|
1538
|
-
|
|
1539
|
-
return;
|
|
1540
|
-
}
|
|
1541
|
-
|
|
1542
|
-
if (!f.id || f.id > 0) {
|
|
1543
|
-
_this10.fieldsDataService.updateField(f, done);
|
|
1544
|
-
|
|
1545
|
-
return;
|
|
1546
|
-
}
|
|
1547
|
-
|
|
1548
|
-
_this10.fieldsDataService.addField(_this10.options.videoId, f, function (updatedField) {
|
|
1549
|
-
var oldField = _this10.viewModel.fields.findWhere({
|
|
1550
|
-
id: f.id
|
|
1551
|
-
});
|
|
1552
|
-
|
|
1553
|
-
oldField.set('id', updatedField.id);
|
|
1554
|
-
done();
|
|
1555
|
-
});
|
|
1556
|
-
});
|
|
1557
|
-
}
|
|
1558
|
-
}, {
|
|
1559
|
-
key: "bulkDissoc",
|
|
1560
|
-
value: function bulkDissoc(options, next) {
|
|
1561
|
-
this.videoDataService.bulkDissoc(this.model.id, options.pendingDissocs, function () {
|
|
1562
|
-
next(options);
|
|
1563
|
-
});
|
|
1564
|
-
}
|
|
1565
|
-
}, {
|
|
1566
|
-
key: "saveVideo",
|
|
1567
|
-
value: function saveVideo(options, next) {
|
|
1568
|
-
var _this11 = this;
|
|
1569
|
-
|
|
1570
|
-
var dataChanges = underscore__WEBPACK_IMPORTED_MODULE_0__["omit"](options.dataChanges, 'fields');
|
|
1571
|
-
|
|
1572
|
-
if (underscore__WEBPACK_IMPORTED_MODULE_0__["isEmpty"](dataChanges)) {
|
|
1573
|
-
next(options);
|
|
1574
|
-
return;
|
|
1575
|
-
}
|
|
1576
|
-
|
|
1577
|
-
var data = underscore__WEBPACK_IMPORTED_MODULE_0__["omit"](options.dataChanges, 'fields');
|
|
1578
|
-
|
|
1579
|
-
this.videoDataService.updateVideo(this.model.get('id'), this.folder.get('id'), data, function (updatedVideo) {
|
|
1580
|
-
if (options.dataChanges.series && options.dataChanges.series.id || options.dataChanges.episodeNumber || options.dataChanges.season) _this11.videoDataService.clearVideoCache();
|
|
1581
|
-
options.updatedVideo = underscore__WEBPACK_IMPORTED_MODULE_0__["extend"]({}, options.updatedVideo || {}, updatedVideo);
|
|
1582
|
-
next(options);
|
|
1583
|
-
});
|
|
1584
|
-
}
|
|
1585
|
-
}, {
|
|
1586
|
-
key: "afterSave",
|
|
1587
|
-
value: function afterSave(options) {
|
|
1588
|
-
if (!this.viewModel) return;
|
|
1589
|
-
if (options.updatedVideo) this.updateState(options.updatedVideo);
|
|
1590
|
-
this.unlockNav();
|
|
1591
|
-
this.updateSaveButton(_constants__WEBPACK_IMPORTED_MODULE_19__["LibraryEditorActions"].DisableSave);
|
|
1592
|
-
this.logEditAction(options.dataChanges, _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_17__["WorkflowPhase"].Save);
|
|
1593
|
-
var successHandler = _shared_alerts__WEBPACK_IMPORTED_MODULE_15__["VideoAlerts"].updatedVideoAlert(this.viewModel.get('name'));
|
|
1594
|
-
this.alertService.success(successHandler || 'Video was successfully updated')();
|
|
1595
|
-
}
|
|
1596
|
-
/**
|
|
1597
|
-
* Save logic
|
|
1598
|
-
*/
|
|
1599
|
-
|
|
1600
|
-
}, {
|
|
1601
|
-
key: "onSave",
|
|
1602
|
-
value: function onSave() {
|
|
1603
|
-
this.viewModel.validate();
|
|
1604
|
-
|
|
1605
|
-
if (this.viewModel.isValid() === false) {
|
|
1606
|
-
this.updateSaveButton(_constants__WEBPACK_IMPORTED_MODULE_19__["LibraryEditorActions"].CancelSave);
|
|
1607
|
-
return false;
|
|
1608
|
-
}
|
|
1609
|
-
|
|
1610
|
-
this.validateSeries();
|
|
1611
|
-
var dataChanges = _utils_EditVideoHelpers__WEBPACK_IMPORTED_MODULE_21__["EditVideoHelpers"].getChanges(this.model, this.viewModel);
|
|
1612
|
-
var pendingDissocs = _utils_EditVideoHelpers__WEBPACK_IMPORTED_MODULE_21__["EditVideoHelpers"].getRemovedObjectIds(this.model, this.viewModel);
|
|
1613
|
-
|
|
1614
|
-
if (!dataChanges && !underscore__WEBPACK_IMPORTED_MODULE_0__["keys"](pendingDissocs).length) {
|
|
1615
|
-
this.updateSaveButton(_constants__WEBPACK_IMPORTED_MODULE_19__["LibraryEditorActions"].CancelSave);
|
|
1616
|
-
return false;
|
|
1617
|
-
}
|
|
1618
|
-
|
|
1619
|
-
var middleware = new _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_2__["Core"].Middleware();
|
|
1620
|
-
if (dataChanges && dataChanges.fields) middleware.use(underscore__WEBPACK_IMPORTED_MODULE_0__["bind"](this.saveFields, this));
|
|
1621
|
-
if (pendingDissocs && underscore__WEBPACK_IMPORTED_MODULE_0__["keys"](pendingDissocs).length) middleware.use(underscore__WEBPACK_IMPORTED_MODULE_0__["bind"](this.bulkDissoc, this));
|
|
1622
|
-
if (this.editable) middleware.use(underscore__WEBPACK_IMPORTED_MODULE_0__["bind"](this.saveVideo, this));
|
|
1623
|
-
middleware.use(underscore__WEBPACK_IMPORTED_MODULE_0__["bind"](this.afterSave, this));
|
|
1624
|
-
middleware.go({
|
|
1625
|
-
dataChanges: dataChanges,
|
|
1626
|
-
pendingDissocs: pendingDissocs
|
|
1627
|
-
}, null);
|
|
1628
|
-
return false;
|
|
1629
|
-
}
|
|
1630
|
-
}, {
|
|
1631
|
-
key: "onUndo",
|
|
1632
|
-
value: function onUndo() {
|
|
1633
|
-
var _this12 = this;
|
|
1634
|
-
|
|
1635
|
-
var dialogHelper = new _shared_utils__WEBPACK_IMPORTED_MODULE_12__["DialogHelper"]({
|
|
1636
|
-
title: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_5__["LanguageService"].getPhrase(this.lang, 'undoTitle'),
|
|
1637
|
-
text: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_5__["LanguageService"].getPhrase(this.lang, 'undoBody', {
|
|
1638
|
-
videoName: this.model.get('name')
|
|
1639
|
-
}),
|
|
1640
|
-
buttons: [{
|
|
1641
|
-
text: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_5__["LanguageService"].getPhrase(this.lang, 'undo'),
|
|
1642
|
-
className: 'btn btn-danger',
|
|
1643
|
-
success: true
|
|
1644
|
-
}, {
|
|
1645
|
-
text: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_5__["LanguageService"].getPhrase(this.lang, 'cancel'),
|
|
1646
|
-
className: 'btn btn-secondary',
|
|
1647
|
-
close: true
|
|
1648
|
-
}]
|
|
1649
|
-
});
|
|
1650
|
-
dialogHelper.render().done(function () {
|
|
1651
|
-
_this12.logEditAction({}, _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_17__["WorkflowPhase"].Discard);
|
|
1652
|
-
|
|
1653
|
-
_this12.revertState({
|
|
1654
|
-
undo: true
|
|
1655
|
-
});
|
|
1656
|
-
|
|
1657
|
-
_this12.render();
|
|
1658
|
-
});
|
|
1659
|
-
}
|
|
1660
|
-
/**
|
|
1661
|
-
* After saving the current model, we want to refresh both the
|
|
1662
|
-
* video model and the viewModel.
|
|
1663
|
-
*/
|
|
1664
|
-
|
|
1665
|
-
}, {
|
|
1666
|
-
key: "updateState",
|
|
1667
|
-
value: function updateState(updatedVideo) {
|
|
1668
|
-
// Stop listening to existing view model and clear it
|
|
1669
|
-
this.stopListening(this.viewModel);
|
|
1670
|
-
_utils_EditVideoHelpers__WEBPACK_IMPORTED_MODULE_21__["EditVideoHelpers"].updateModelState(this.model, this.viewModel, updatedVideo);
|
|
1671
|
-
_libs_common_src_backbone_services_ViewModelService__WEBPACK_IMPORTED_MODULE_4__["ViewModelService"].clear(this.viewModelName); // Revert the view model to its initial state and listen for new changes
|
|
1672
|
-
|
|
1673
|
-
this.getViewModel();
|
|
1674
|
-
this.renderContent();
|
|
1675
|
-
}
|
|
1676
|
-
}, {
|
|
1677
|
-
key: "onNavigateAway",
|
|
1678
|
-
value: function onNavigateAway() {
|
|
1679
|
-
this.revertState();
|
|
1680
|
-
}
|
|
1681
|
-
/**
|
|
1682
|
-
* Revert the current viewModel state back to being a copy of the current
|
|
1683
|
-
* video model.
|
|
1684
|
-
*/
|
|
1685
|
-
|
|
1686
|
-
}, {
|
|
1687
|
-
key: "revertState",
|
|
1688
|
-
value: function revertState() {
|
|
1689
|
-
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
1690
|
-
var undo = options.undo; // Stop listening to existing view model and clear it
|
|
1691
|
-
|
|
1692
|
-
this.stopListening(this.viewModel);
|
|
1693
|
-
_libs_common_src_backbone_services_ViewModelService__WEBPACK_IMPORTED_MODULE_4__["ViewModelService"].clear(this.viewModelName);
|
|
1694
|
-
delete this.viewModel;
|
|
1695
|
-
this.unlockNav(); // Only re-init the viewModel if we're undoing changes.
|
|
1696
|
-
|
|
1697
|
-
if (!undo) return; // Revert the view model to its initial state and listen for new changes
|
|
1698
|
-
|
|
1699
|
-
this.getViewModel();
|
|
1700
|
-
}
|
|
1701
|
-
}, {
|
|
1702
|
-
key: "lockNav",
|
|
1703
|
-
value: function lockNav() {
|
|
1704
|
-
this.navLock.lock({
|
|
1705
|
-
title: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_5__["LanguageService"].getPhrase(this.lang, 'navLockHeading'),
|
|
1706
|
-
text: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_5__["LanguageService"].getPhrase(this.lang, 'navLockBody')
|
|
1707
|
-
});
|
|
1708
|
-
}
|
|
1709
|
-
}, {
|
|
1710
|
-
key: "unlockNav",
|
|
1711
|
-
value: function unlockNav() {
|
|
1712
|
-
this.navLock.unlock();
|
|
1713
|
-
}
|
|
1714
|
-
}, {
|
|
1715
|
-
key: "onBeforeThumbnailUpload",
|
|
1716
|
-
value: function onBeforeThumbnailUpload() {
|
|
1717
|
-
if (!this.navLock.isLocked()) return;
|
|
1718
|
-
this.navLock.unlock();
|
|
1719
|
-
var viewModel = _libs_common_src_backbone_services_ViewModelService__WEBPACK_IMPORTED_MODULE_4__["ViewModelService"].get('upload:thumbnail:options');
|
|
1720
|
-
viewModel.set('lockNav', true);
|
|
1721
|
-
}
|
|
1722
|
-
/**
|
|
1723
|
-
* We are mapping against the backbone change event triggered by stickit, as the model itself
|
|
1724
|
-
* has already been updated, we're only concerned with the additional options param.
|
|
1725
|
-
*
|
|
1726
|
-
* @param model
|
|
1727
|
-
* @param options
|
|
1728
|
-
*/
|
|
1729
|
-
|
|
1730
|
-
}, {
|
|
1731
|
-
key: "onModelChange",
|
|
1732
|
-
value: function onModelChange(model) {
|
|
1733
|
-
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
1734
|
-
if (!options.stickitChange && !options.manualUpdate) return;
|
|
1735
|
-
this.viewModel.validate();
|
|
1736
|
-
|
|
1737
|
-
if (this.viewModel.isValid() === false) {
|
|
1738
|
-
this.updateSaveButton(_constants__WEBPACK_IMPORTED_MODULE_19__["LibraryEditorActions"].DisableSave);
|
|
1739
|
-
return;
|
|
1740
|
-
}
|
|
1741
|
-
|
|
1742
|
-
var hasChanges = _utils_EditVideoHelpers__WEBPACK_IMPORTED_MODULE_21__["EditVideoHelpers"].getChanges(this.model, this.viewModel) || underscore__WEBPACK_IMPORTED_MODULE_0__["keys"](_utils_EditVideoHelpers__WEBPACK_IMPORTED_MODULE_21__["EditVideoHelpers"].getRemovedObjectIds(this.model, this.viewModel)).length;
|
|
1743
|
-
|
|
1744
|
-
if (!hasChanges) {
|
|
1745
|
-
this.unlockNav();
|
|
1746
|
-
this.updateSaveButton(_constants__WEBPACK_IMPORTED_MODULE_19__["LibraryEditorActions"].DisableSave);
|
|
1747
|
-
return;
|
|
1748
|
-
}
|
|
1749
|
-
|
|
1750
|
-
this.lockNav();
|
|
1751
|
-
this.updateSaveButton(_constants__WEBPACK_IMPORTED_MODULE_19__["LibraryEditorActions"].EnableSave);
|
|
1752
|
-
}
|
|
1753
|
-
}, {
|
|
1754
|
-
key: "updateSaveButton",
|
|
1755
|
-
value: function updateSaveButton(saveEvent) {
|
|
1756
|
-
var viewEventChannel = backbone__WEBPACK_IMPORTED_MODULE_1__["Radio"].channel(this.channelName);
|
|
1757
|
-
var EnableSave = _constants__WEBPACK_IMPORTED_MODULE_19__["LibraryEditorActions"].EnableSave,
|
|
1758
|
-
DisableSave = _constants__WEBPACK_IMPORTED_MODULE_19__["LibraryEditorActions"].DisableSave,
|
|
1759
|
-
CancelSave = _constants__WEBPACK_IMPORTED_MODULE_19__["LibraryEditorActions"].CancelSave;
|
|
1760
|
-
|
|
1761
|
-
switch (saveEvent) {
|
|
1762
|
-
case EnableSave:
|
|
1763
|
-
viewEventChannel.trigger(EnableSave);
|
|
1764
|
-
return;
|
|
1765
|
-
|
|
1766
|
-
case DisableSave:
|
|
1767
|
-
viewEventChannel.trigger(DisableSave);
|
|
1768
|
-
return;
|
|
1769
|
-
|
|
1770
|
-
case CancelSave:
|
|
1771
|
-
viewEventChannel.trigger(CancelSave);
|
|
1772
|
-
return;
|
|
1773
|
-
}
|
|
1774
|
-
|
|
1775
|
-
_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_2__["Core"].ErrorHelper.throw(new _libs_common_src_backbone_errors_DevError__WEBPACK_IMPORTED_MODULE_3__["DevError"]('Save action type is not valid.'));
|
|
1776
|
-
}
|
|
1777
|
-
}, {
|
|
1778
|
-
key: "onThumbnailUpdated",
|
|
1779
|
-
value: function onThumbnailUpdated() {
|
|
1780
|
-
var _this13 = this;
|
|
1781
|
-
|
|
1782
|
-
this.videoDataService.clearCacheAndGetVideo(this.options.videoId, function (data) {
|
|
1783
|
-
_this13.model = data;
|
|
1784
|
-
|
|
1785
|
-
_this13.viewModel.set('thumbnail', _this13.model.thumbnail.toJSON());
|
|
1786
|
-
});
|
|
1787
|
-
}
|
|
1788
|
-
}, {
|
|
1789
|
-
key: "logEditAction",
|
|
1790
|
-
value: function logEditAction(data, workflowPhase) {
|
|
1791
|
-
var analyticsData = Object.assign({
|
|
1792
|
-
id: this.model.get('id')
|
|
1793
|
-
}, data);
|
|
1794
|
-
_libs_analytics_src_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_18__["AnalyticsHelper"].logUserAction(analyticsData, {
|
|
1795
|
-
actionType: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_17__["UserAction"].Edit,
|
|
1796
|
-
entity: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_17__["EntityType"].Video,
|
|
1797
|
-
location: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_17__["LocationContext"].EditVideoDetails,
|
|
1798
|
-
workflowPhase: workflowPhase
|
|
1799
|
-
});
|
|
1800
|
-
}
|
|
1801
|
-
}, {
|
|
1802
|
-
key: "logDissocAction",
|
|
1803
|
-
value: function logDissocAction(videoId, model, modelType) {
|
|
1804
|
-
var analyticsData = Object.assign({
|
|
1805
|
-
videoId: videoId
|
|
1806
|
-
}, model.pick('id', 'name'));
|
|
1807
|
-
_libs_analytics_src_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_18__["AnalyticsHelper"].logUserAction(analyticsData, {
|
|
1808
|
-
actionType: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_17__["UserAction"].Dissociate,
|
|
1809
|
-
entity: modelType,
|
|
1810
|
-
location: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_17__["LocationContext"].EditVideoDetails
|
|
1811
|
-
});
|
|
1812
|
-
}
|
|
1813
|
-
}, {
|
|
1814
|
-
key: "onValidation",
|
|
1815
|
-
value: function onValidation(isValid) {
|
|
1816
|
-
this.viewModel.set('disabled', !isValid);
|
|
1817
|
-
}
|
|
1818
|
-
}, {
|
|
1819
|
-
key: "getViewModel",
|
|
1820
|
-
value: function getViewModel() {
|
|
1821
|
-
if (!this.model.fields || !this.model.fields.length) this.model.set('fields', Object(_utils_EditVideoHelpers__WEBPACK_IMPORTED_MODULE_21__["GetDefaultFields"])());
|
|
1822
|
-
this.viewModel = _libs_common_src_backbone_services_ViewModelService__WEBPACK_IMPORTED_MODULE_4__["ViewModelService"].get(this.viewModelName, this.model.toJSON(), {
|
|
1823
|
-
ctor: _shared_models_Video__WEBPACK_IMPORTED_MODULE_13__["Video"]
|
|
1824
|
-
}); // Bind our validation
|
|
1825
|
-
|
|
1826
|
-
if (this.editable) {
|
|
1827
|
-
this.viewModel.addValidation(_utils_EditVideoHelpers__WEBPACK_IMPORTED_MODULE_21__["VideoValidation"]);
|
|
1828
|
-
this.viewModel.addValidation(_utils_EditVideoHelpers__WEBPACK_IMPORTED_MODULE_21__["ProductionYearValidation"]);
|
|
1829
|
-
}
|
|
1830
|
-
|
|
1831
|
-
this.viewModel.addValidation(_utils_EditVideoHelpers__WEBPACK_IMPORTED_MODULE_21__["FieldAssocValidation"]);
|
|
1832
|
-
this.listenTo(this.viewModel, 'validated', this.onValidation);
|
|
1833
|
-
this.listenTo(this.viewModel, 'change', this.onModelChange);
|
|
1834
|
-
this.listenTo(this.viewModel, 'change:dateBroadcast', underscore__WEBPACK_IMPORTED_MODULE_0__["partial"](this.onModelChange, underscore__WEBPACK_IMPORTED_MODULE_0__, {
|
|
1835
|
-
manualUpdate: true
|
|
1836
|
-
}));
|
|
1837
|
-
|
|
1838
|
-
if (this.viewModel.fields) {
|
|
1839
|
-
this.viewModel.fields && this.viewModel.fields.each(function (f) {
|
|
1840
|
-
return f.addValidation(_utils_EditVideoHelpers__WEBPACK_IMPORTED_MODULE_21__["FieldValidation"]);
|
|
1841
|
-
});
|
|
1842
|
-
this.listenTo(this.viewModel.fields, 'change', this.onModelChange);
|
|
1843
|
-
}
|
|
1844
|
-
}
|
|
1845
|
-
/**
|
|
1846
|
-
* If the user has deselected a series, we clear the season and episode number.
|
|
1847
|
-
*/
|
|
1848
|
-
|
|
1849
|
-
}, {
|
|
1850
|
-
key: "validateSeries",
|
|
1851
|
-
value: function validateSeries() {
|
|
1852
|
-
if (this.viewModel.get('series.id')) return;
|
|
1853
|
-
this.viewModel.unset('season');
|
|
1854
|
-
this.viewModel.set('episodeNumber', null);
|
|
1855
|
-
}
|
|
1856
|
-
}, {
|
|
1857
|
-
key: "fetchData",
|
|
1858
|
-
value: function fetchData() {
|
|
1859
|
-
var _this14 = this;
|
|
1860
|
-
|
|
1861
|
-
this.model = this.videoDataService.getVideo(this.options.videoId);
|
|
1862
|
-
this.ratings = this.ratingsDataService.getAllRatings();
|
|
1863
|
-
this.hostedLibraries = this.libraryDataService.getHostedLibraries();
|
|
1864
|
-
this.migrationVideoDataService.getCustomerVideoByMasterId(this.options.videoId, function (video) {
|
|
1865
|
-
var triggerRender = !!_this14.publisherVideo;
|
|
1866
|
-
_this14.publisherVideo = video;
|
|
1867
|
-
triggerRender && _this14.isRendered() && _this14.renderContent();
|
|
1868
|
-
});
|
|
1869
|
-
if (!this.model) return;
|
|
1870
|
-
this.editable = _shared_utils__WEBPACK_IMPORTED_MODULE_12__["PermissionsHelper"].canEditVideo(this.model);
|
|
1871
|
-
this.folder = this.model.categories.first();
|
|
1872
|
-
if (!this.ratings || !this.hostedLibraries) return; // If we already have a viewModel instance don't try to re-bind it
|
|
1873
|
-
|
|
1874
|
-
if (this.viewModel instanceof _shared_models_Video__WEBPACK_IMPORTED_MODULE_13__["Video"]) return;
|
|
1875
|
-
this.getViewModel();
|
|
1876
|
-
}
|
|
1877
|
-
}, {
|
|
1878
|
-
key: "onBeforeRender",
|
|
1879
|
-
value: function onBeforeRender() {
|
|
1880
|
-
this.fetchData();
|
|
1881
|
-
return !!this.model && !!this.ratings && !!this.viewModel;
|
|
1882
|
-
}
|
|
1883
|
-
}, {
|
|
1884
|
-
key: "renderContent",
|
|
1885
|
-
value: function renderContent() {
|
|
1886
|
-
var hasChanges = _utils_EditVideoHelpers__WEBPACK_IMPORTED_MODULE_21__["EditVideoHelpers"].getChanges(this.model, this.viewModel) || underscore__WEBPACK_IMPORTED_MODULE_0__["keys"](_utils_EditVideoHelpers__WEBPACK_IMPORTED_MODULE_21__["EditVideoHelpers"].getRemovedObjectIds(this.model, this.viewModel)).length; // Needs to render
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
this.showChildView('content', new _components_edit_video_EditVideoDetailsComponent__WEBPACK_IMPORTED_MODULE_22__["EditVideoDetailsComponent"]({
|
|
1890
|
-
model: this.viewModel,
|
|
1891
|
-
ratings: this.ratings,
|
|
1892
|
-
libraries: this.libraries,
|
|
1893
|
-
hostedLibraries: this.hostedLibraries,
|
|
1894
|
-
channelName: this.channelName,
|
|
1895
|
-
isSaveDisabled: !hasChanges,
|
|
1896
|
-
hasChanges: !!hasChanges,
|
|
1897
|
-
editable: this.editable,
|
|
1898
|
-
currentUser: this.currentUser,
|
|
1899
|
-
showPublisherVideoDetails: !!this.publisherVideo
|
|
1900
|
-
}));
|
|
1901
|
-
}
|
|
1902
|
-
}, {
|
|
1903
|
-
key: "renderTabs",
|
|
1904
|
-
value: function renderTabs() {
|
|
1905
|
-
this.showChildView('tabs', new _components_edit_video_tabs_EditVideoTabsComponent__WEBPACK_IMPORTED_MODULE_23__["EditVideoTabsComponent"]({
|
|
1906
|
-
tabs: _shared_utils__WEBPACK_IMPORTED_MODULE_12__["TabHelper"].getEditVideoTabs(this.options.videoId, {
|
|
1907
|
-
hideChaptersTab: !this.editable
|
|
1908
|
-
}),
|
|
1909
|
-
activeTab: '.edit-video-applink',
|
|
1910
|
-
goBackTab: _shared_utils__WEBPACK_IMPORTED_MODULE_12__["TabHelper"].getBackButton(this.options.videoId)
|
|
1911
|
-
}));
|
|
1912
|
-
}
|
|
1913
|
-
}, {
|
|
1914
|
-
key: "onRender",
|
|
1915
|
-
value: function onRender() {
|
|
1916
|
-
this.renderTabs();
|
|
1917
|
-
this.renderContent();
|
|
1918
|
-
}
|
|
1919
|
-
}, {
|
|
1920
|
-
key: "name",
|
|
1921
|
-
get: function get() {
|
|
1922
|
-
return 'EditVideoView';
|
|
1923
|
-
}
|
|
1924
|
-
}, {
|
|
1925
|
-
key: "title",
|
|
1926
|
-
get: function get() {
|
|
1927
|
-
return this.model && this.model.get('name');
|
|
1928
|
-
}
|
|
1929
|
-
}, {
|
|
1930
|
-
key: "lang",
|
|
1931
|
-
get: function get() {
|
|
1932
|
-
return 'libraryEditor.editVideo';
|
|
1933
|
-
}
|
|
1934
|
-
}, {
|
|
1935
|
-
key: "className",
|
|
1936
|
-
get: function get() {
|
|
1937
|
-
return 'bg-white p-3';
|
|
1938
|
-
}
|
|
1939
|
-
}, {
|
|
1940
|
-
key: "channelName",
|
|
1941
|
-
get: function get() {
|
|
1942
|
-
return "".concat(this.name, ":").concat(this.cid);
|
|
1943
|
-
}
|
|
1944
|
-
}, {
|
|
1945
|
-
key: "viewModelName",
|
|
1946
|
-
get: function get() {
|
|
1947
|
-
return "".concat(this.name, ":").concat(this.options.videoId);
|
|
1948
|
-
}
|
|
1949
|
-
}, {
|
|
1950
|
-
key: "template",
|
|
1951
|
-
get: function get() {
|
|
1952
|
-
return _EditVideo_hbs__WEBPACK_IMPORTED_MODULE_26___default.a;
|
|
1953
|
-
}
|
|
1954
|
-
}, {
|
|
1955
|
-
key: "requiredResources",
|
|
1956
|
-
get: function get() {
|
|
1957
|
-
return {
|
|
1958
|
-
libraries: _services_LibraryDataService__WEBPACK_IMPORTED_MODULE_20__["LibraryDataServiceHelper"].libraries,
|
|
1959
|
-
currentUser: _shared_services_UserDataService__WEBPACK_IMPORTED_MODULE_11__["UserDataServiceHelper"].currentUser
|
|
1960
|
-
};
|
|
1961
|
-
}
|
|
1962
|
-
}]);
|
|
1963
|
-
|
|
1964
|
-
return EditVideoView;
|
|
1965
|
-
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_2__["Core"].View);
|
|
1966
|
-
|
|
1967
|
-
/***/ }),
|
|
1968
|
-
|
|
1969
|
-
/***/ "./src/shared/components/edit-video/extra-info/ExtraInfo.hbs":
|
|
1970
|
-
/*!*******************************************************************!*\
|
|
1971
|
-
!*** ./src/shared/components/edit-video/extra-info/ExtraInfo.hbs ***!
|
|
1972
|
-
\*******************************************************************/
|
|
1973
|
-
/*! no static exports found */
|
|
1974
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1975
|
-
|
|
1976
|
-
var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
|
|
1977
|
-
module.exports = (Handlebars['default'] || Handlebars).template({"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
1978
|
-
return "<h5 class=\"mb-0\">Extra Information</h5>\r\n<div class=\"text-muted mb-3\">This information is only visible to admins and will not be searchable</div>\r\n<div class=\"fields-region\"></div>";
|
|
1979
|
-
},"useData":true});
|
|
1980
|
-
|
|
1981
|
-
/***/ }),
|
|
1982
|
-
|
|
1983
|
-
/***/ "./src/shared/components/edit-video/extra-info/ExtraInfoComponent.ts":
|
|
1984
|
-
/*!***************************************************************************!*\
|
|
1985
|
-
!*** ./src/shared/components/edit-video/extra-info/ExtraInfoComponent.ts ***!
|
|
1986
|
-
\***************************************************************************/
|
|
1987
|
-
/*! exports provided: ExtraInfoComponent */
|
|
1988
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1989
|
-
|
|
1990
|
-
"use strict";
|
|
1991
|
-
__webpack_require__.r(__webpack_exports__);
|
|
1992
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ExtraInfoComponent", function() { return ExtraInfoComponent; });
|
|
1993
|
-
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
1994
|
-
/* harmony import */ var _ExtraInfoItemComponent__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ExtraInfoItemComponent */ "./src/shared/components/edit-video/extra-info/ExtraInfoItemComponent.ts");
|
|
1995
|
-
/* harmony import */ var _ExtraInfo_hbs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./ExtraInfo.hbs */ "./src/shared/components/edit-video/extra-info/ExtraInfo.hbs");
|
|
1996
|
-
/* harmony import */ var _ExtraInfo_hbs__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_ExtraInfo_hbs__WEBPACK_IMPORTED_MODULE_2__);
|
|
1997
|
-
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); }
|
|
1998
|
-
|
|
1999
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
2000
|
-
|
|
2001
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
2002
|
-
|
|
2003
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
2004
|
-
|
|
2005
|
-
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); }
|
|
2006
|
-
|
|
2007
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
2008
|
-
|
|
2009
|
-
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); }; }
|
|
2010
|
-
|
|
2011
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
2012
|
-
|
|
2013
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
2014
|
-
|
|
2015
|
-
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; } }
|
|
2016
|
-
|
|
2017
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
var ExtraInfoComponentCollection = /*#__PURE__*/function (_Core$ComponentCollec) {
|
|
2024
|
-
_inherits(ExtraInfoComponentCollection, _Core$ComponentCollec);
|
|
2025
|
-
|
|
2026
|
-
var _super = _createSuper(ExtraInfoComponentCollection);
|
|
2027
|
-
|
|
2028
|
-
function ExtraInfoComponentCollection(options) {
|
|
2029
|
-
_classCallCheck(this, ExtraInfoComponentCollection);
|
|
2030
|
-
|
|
2031
|
-
return _super.call(this, options);
|
|
2032
|
-
}
|
|
2033
|
-
|
|
2034
|
-
_createClass(ExtraInfoComponentCollection, [{
|
|
2035
|
-
key: "name",
|
|
2036
|
-
get: function get() {
|
|
2037
|
-
return 'ExtraInfoComponentCollection';
|
|
2038
|
-
}
|
|
2039
|
-
}, {
|
|
2040
|
-
key: "childView",
|
|
2041
|
-
get: function get() {
|
|
2042
|
-
return _ExtraInfoItemComponent__WEBPACK_IMPORTED_MODULE_1__["ExtraInfoItemComponent"];
|
|
2043
|
-
}
|
|
2044
|
-
}, {
|
|
2045
|
-
key: "childViewOptions",
|
|
2046
|
-
get: function get() {
|
|
2047
|
-
return {
|
|
2048
|
-
viewModel: this.options.viewModel
|
|
2049
|
-
};
|
|
2050
|
-
}
|
|
2051
|
-
}]);
|
|
2052
|
-
|
|
2053
|
-
return ExtraInfoComponentCollection;
|
|
2054
|
-
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].ComponentCollection);
|
|
2055
|
-
|
|
2056
|
-
var ExtraInfoComponent = /*#__PURE__*/function (_Core$Component) {
|
|
2057
|
-
_inherits(ExtraInfoComponent, _Core$Component);
|
|
2058
|
-
|
|
2059
|
-
var _super2 = _createSuper(ExtraInfoComponent);
|
|
2060
|
-
|
|
2061
|
-
function ExtraInfoComponent(options) {
|
|
2062
|
-
_classCallCheck(this, ExtraInfoComponent);
|
|
2063
|
-
|
|
2064
|
-
return _super2.call(this, options);
|
|
2065
|
-
}
|
|
2066
|
-
|
|
2067
|
-
_createClass(ExtraInfoComponent, [{
|
|
2068
|
-
key: "regions",
|
|
2069
|
-
value: function regions() {
|
|
2070
|
-
return {
|
|
2071
|
-
fields: {
|
|
2072
|
-
el: '.fields-region',
|
|
2073
|
-
replaceElement: true
|
|
2074
|
-
}
|
|
2075
|
-
};
|
|
2076
|
-
}
|
|
2077
|
-
}, {
|
|
2078
|
-
key: "onRender",
|
|
2079
|
-
value: function onRender() {
|
|
2080
|
-
this.showChildView('fields', new ExtraInfoComponentCollection({
|
|
2081
|
-
collection: this.model.fields,
|
|
2082
|
-
viewModel: this.model
|
|
2083
|
-
}));
|
|
2084
|
-
}
|
|
2085
|
-
}, {
|
|
2086
|
-
key: "name",
|
|
2087
|
-
get: function get() {
|
|
2088
|
-
return 'ExtraInfoComponent';
|
|
2089
|
-
}
|
|
2090
|
-
}, {
|
|
2091
|
-
key: "template",
|
|
2092
|
-
get: function get() {
|
|
2093
|
-
return _ExtraInfo_hbs__WEBPACK_IMPORTED_MODULE_2___default.a;
|
|
2094
|
-
}
|
|
2095
|
-
}, {
|
|
2096
|
-
key: "className",
|
|
2097
|
-
get: function get() {
|
|
2098
|
-
return 'border-top pt-3';
|
|
2099
|
-
}
|
|
2100
|
-
}]);
|
|
2101
|
-
|
|
2102
|
-
return ExtraInfoComponent;
|
|
2103
|
-
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].Component);
|
|
2104
|
-
|
|
2105
|
-
/***/ }),
|
|
2106
|
-
|
|
2107
|
-
/***/ "./src/shared/components/edit-video/extra-info/ExtraInfoItem.hbs":
|
|
2108
|
-
/*!***********************************************************************!*\
|
|
2109
|
-
!*** ./src/shared/components/edit-video/extra-info/ExtraInfoItem.hbs ***!
|
|
2110
|
-
\***********************************************************************/
|
|
2111
|
-
/*! no static exports found */
|
|
2112
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2113
|
-
|
|
2114
|
-
var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
|
|
2115
|
-
module.exports = (Handlebars['default'] || Handlebars).template({"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
2116
|
-
var helper, alias1=container.propertyIsEnumerable;
|
|
2117
|
-
|
|
2118
|
-
return "<div class=\"form-group\">\r\n <label for=\"edit-description\">"
|
|
2119
|
-
+ container.escapeExpression(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"name","hash":{},"data":data}) : helper)))
|
|
2120
|
-
+ "</label>\r\n <div class=\"text-area-region\"></div>\r\n <div class=\"form-feedback\"></div>\r\n</div>";
|
|
2121
|
-
},"useData":true});
|
|
2122
|
-
|
|
2123
|
-
/***/ }),
|
|
2124
|
-
|
|
2125
|
-
/***/ "./src/shared/components/edit-video/extra-info/ExtraInfoItemComponent.ts":
|
|
2126
|
-
/*!*******************************************************************************!*\
|
|
2127
|
-
!*** ./src/shared/components/edit-video/extra-info/ExtraInfoItemComponent.ts ***!
|
|
2128
|
-
\*******************************************************************************/
|
|
2129
|
-
/*! exports provided: ExtraInfoItemComponent */
|
|
2130
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2131
|
-
|
|
2132
|
-
"use strict";
|
|
2133
|
-
__webpack_require__.r(__webpack_exports__);
|
|
2134
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ExtraInfoItemComponent", function() { return ExtraInfoItemComponent; });
|
|
2135
|
-
/* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! backbone */ "backbone");
|
|
2136
|
-
/* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(backbone__WEBPACK_IMPORTED_MODULE_0__);
|
|
2137
|
-
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
2138
|
-
/* harmony import */ var _resizing_text_area_ResizingTextAreaComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../resizing-text-area/ResizingTextAreaComponent */ "./src/shared/components/resizing-text-area/ResizingTextAreaComponent.ts");
|
|
2139
|
-
/* harmony import */ var _ExtraInfoItem_hbs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ExtraInfoItem.hbs */ "./src/shared/components/edit-video/extra-info/ExtraInfoItem.hbs");
|
|
2140
|
-
/* harmony import */ var _ExtraInfoItem_hbs__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_ExtraInfoItem_hbs__WEBPACK_IMPORTED_MODULE_3__);
|
|
2141
|
-
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); }
|
|
2142
|
-
|
|
2143
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
2144
|
-
|
|
2145
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
2146
|
-
|
|
2147
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
2148
|
-
|
|
2149
|
-
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); }
|
|
2150
|
-
|
|
2151
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
2152
|
-
|
|
2153
|
-
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); }; }
|
|
2154
|
-
|
|
2155
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
2156
|
-
|
|
2157
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
2158
|
-
|
|
2159
|
-
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; } }
|
|
2160
|
-
|
|
2161
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
var ExtraInfoItemComponent = /*#__PURE__*/function (_Core$Component) {
|
|
2168
|
-
_inherits(ExtraInfoItemComponent, _Core$Component);
|
|
2169
|
-
|
|
2170
|
-
var _super = _createSuper(ExtraInfoItemComponent);
|
|
2171
|
-
|
|
2172
|
-
function ExtraInfoItemComponent(options) {
|
|
2173
|
-
_classCallCheck(this, ExtraInfoItemComponent);
|
|
2174
|
-
|
|
2175
|
-
return _super.call(this, options);
|
|
2176
|
-
}
|
|
2177
|
-
|
|
2178
|
-
_createClass(ExtraInfoItemComponent, [{
|
|
2179
|
-
key: "initialize",
|
|
2180
|
-
value: function initialize() {
|
|
2181
|
-
var _this = this;
|
|
2182
|
-
|
|
2183
|
-
this.listenTo(this.model, 'change', function () {
|
|
2184
|
-
return _this.options.viewModel.validate();
|
|
2185
|
-
});
|
|
2186
|
-
}
|
|
2187
|
-
}, {
|
|
2188
|
-
key: "regions",
|
|
2189
|
-
value: function regions() {
|
|
2190
|
-
return {
|
|
2191
|
-
textArea: {
|
|
2192
|
-
el: '.text-area-region',
|
|
2193
|
-
replaceElement: true
|
|
2194
|
-
}
|
|
2195
|
-
};
|
|
2196
|
-
}
|
|
2197
|
-
}, {
|
|
2198
|
-
key: "onRender",
|
|
2199
|
-
value: function onRender() {
|
|
2200
|
-
this.showChildView('textArea', new _resizing_text_area_ResizingTextAreaComponent__WEBPACK_IMPORTED_MODULE_2__["ResizingTextAreaComponent"]({
|
|
2201
|
-
name: 'value',
|
|
2202
|
-
class: 'form-control',
|
|
2203
|
-
placeholder: this.model.get('placeholder'),
|
|
2204
|
-
id: 'admin-notes'
|
|
2205
|
-
}));
|
|
2206
|
-
this.stickit();
|
|
2207
|
-
backbone__WEBPACK_IMPORTED_MODULE_0__["Validation"].bind(this);
|
|
2208
|
-
}
|
|
2209
|
-
}, {
|
|
2210
|
-
key: "onDestroy",
|
|
2211
|
-
value: function onDestroy() {
|
|
2212
|
-
this.unstickit();
|
|
2213
|
-
backbone__WEBPACK_IMPORTED_MODULE_0__["Validation"].unbind(this);
|
|
2214
|
-
}
|
|
2215
|
-
}, {
|
|
2216
|
-
key: "template",
|
|
2217
|
-
get: function get() {
|
|
2218
|
-
return _ExtraInfoItem_hbs__WEBPACK_IMPORTED_MODULE_3___default.a;
|
|
2219
|
-
}
|
|
2220
|
-
}, {
|
|
2221
|
-
key: "name",
|
|
2222
|
-
get: function get() {
|
|
2223
|
-
return 'ExtraInfoItemComponent';
|
|
2224
|
-
}
|
|
2225
|
-
}, {
|
|
2226
|
-
key: "bindings",
|
|
2227
|
-
get: function get() {
|
|
2228
|
-
return {
|
|
2229
|
-
'[name=value]': {
|
|
2230
|
-
observe: 'value',
|
|
2231
|
-
setOptions: {
|
|
2232
|
-
validate: true
|
|
2233
|
-
}
|
|
2234
|
-
}
|
|
2235
|
-
};
|
|
2236
|
-
}
|
|
2237
|
-
}]);
|
|
2238
|
-
|
|
2239
|
-
return ExtraInfoItemComponent;
|
|
2240
|
-
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__["Core"].Component);
|
|
2241
|
-
|
|
2242
|
-
/***/ })
|
|
2243
|
-
|
|
2244
|
-
}]);
|
|
2245
|
-
//# sourceMappingURL=44.chunk.js.map
|