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