@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,2111 @@
|
|
|
1
|
+
(window["webpackJsonp_clickview_library_editor"] = window["webpackJsonp_clickview_library_editor"] || []).push([[42],{
|
|
2
|
+
|
|
3
|
+
/***/ "./src/apps/library-editor/components/add-links/AddLinks.hbs":
|
|
4
|
+
/*!*******************************************************************!*\
|
|
5
|
+
!*** ./src/apps/library-editor/components/add-links/AddLinks.hbs ***!
|
|
6
|
+
\*******************************************************************/
|
|
7
|
+
/*! no static exports found */
|
|
8
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
9
|
+
|
|
10
|
+
var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
|
|
11
|
+
module.exports = (Handlebars['default'] || Handlebars).template({"1":function(container,depth0,helpers,partials,data) {
|
|
12
|
+
var stack1, alias1=container.propertyIsEnumerable;
|
|
13
|
+
|
|
14
|
+
return "<p class=\"alert alert-warning col-8\">"
|
|
15
|
+
+ container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"limit",{"name":"lang","hash":{"limit":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.limit : stack1)},"data":data}))
|
|
16
|
+
+ "</p>\r\n";
|
|
17
|
+
},"3":function(container,depth0,helpers,partials,data) {
|
|
18
|
+
var alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {}), alias3=container.hooks.helperMissing, alias4=container.escapeExpression;
|
|
19
|
+
|
|
20
|
+
return "<p>"
|
|
21
|
+
+ alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"subheading",{"name":"lang","hash":{},"data":data}))
|
|
22
|
+
+ "</p>\r\n<div class=\"form-group mb-1\">\r\n <label for=\"url\">"
|
|
23
|
+
+ alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"urlLabel",{"name":"lang","hash":{},"data":data}))
|
|
24
|
+
+ "</label>\r\n <input name=\"url\" id=\"url\" class=\"form-control\" type=\"text\" placeholder=\""
|
|
25
|
+
+ alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"urlPlaceholder",{"name":"lang","hash":{},"data":data}))
|
|
26
|
+
+ "\">\r\n <div class=\"form-feedback\"></div>\r\n</div>\r\n<div class=\"form-group mb-1\" id=\"name-container\" style=\"display: none;\">\r\n <input type=\"text\" class=\"form-control\" name=\"name\" placeholder=\""
|
|
27
|
+
+ alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"namePlaceholder",{"name":"lang","hash":{},"data":data}))
|
|
28
|
+
+ "\">\r\n <div class=\"form-feedback\"></div>\r\n</div>\r\n<div class=\"attach-btn-region\"></div>\r\n";
|
|
29
|
+
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
30
|
+
var stack1, alias1=container.propertyIsEnumerable;
|
|
31
|
+
|
|
32
|
+
return "<h5 class=\"pt-2\">Resource Links</h5>\r\n"
|
|
33
|
+
+ ((stack1 = helpers["if"].call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.hide : stack1),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(3, data, 0),"data":data})) != null ? stack1 : "");
|
|
34
|
+
},"useData":true});
|
|
35
|
+
|
|
36
|
+
/***/ }),
|
|
37
|
+
|
|
38
|
+
/***/ "./src/apps/library-editor/components/add-links/AddLinksComponent.ts":
|
|
39
|
+
/*!***************************************************************************!*\
|
|
40
|
+
!*** ./src/apps/library-editor/components/add-links/AddLinksComponent.ts ***!
|
|
41
|
+
\***************************************************************************/
|
|
42
|
+
/*! exports provided: AddLinksComponent */
|
|
43
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
44
|
+
|
|
45
|
+
"use strict";
|
|
46
|
+
__webpack_require__.r(__webpack_exports__);
|
|
47
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AddLinksComponent", function() { return AddLinksComponent; });
|
|
48
|
+
/* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! backbone */ "backbone");
|
|
49
|
+
/* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(backbone__WEBPACK_IMPORTED_MODULE_0__);
|
|
50
|
+
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__ = __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_2__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/services/ViewModelService */ "../../libs/common/src/backbone/services/ViewModelService.ts");
|
|
52
|
+
/* 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");
|
|
53
|
+
/* harmony import */ var _shared_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../shared/utils */ "./src/shared/utils/index.ts");
|
|
54
|
+
/* harmony import */ var _shared_behaviors__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../shared/behaviors */ "./src/shared/behaviors/index.ts");
|
|
55
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../utils */ "./src/apps/library-editor/utils/index.ts");
|
|
56
|
+
/* harmony import */ var _AddLinks_hbs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./AddLinks.hbs */ "./src/apps/library-editor/components/add-links/AddLinks.hbs");
|
|
57
|
+
/* harmony import */ var _AddLinks_hbs__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_AddLinks_hbs__WEBPACK_IMPORTED_MODULE_7__);
|
|
58
|
+
/* harmony import */ var _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/services/LanguageService */ "../../libs/common/src/backbone/services/LanguageService.tsx");
|
|
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
|
+
|
|
90
|
+
var AddLinksComponent = /*#__PURE__*/function (_Core$Component) {
|
|
91
|
+
_inherits(AddLinksComponent, _Core$Component);
|
|
92
|
+
|
|
93
|
+
var _super = _createSuper(AddLinksComponent);
|
|
94
|
+
|
|
95
|
+
function AddLinksComponent(options) {
|
|
96
|
+
var _this;
|
|
97
|
+
|
|
98
|
+
_classCallCheck(this, AddLinksComponent);
|
|
99
|
+
|
|
100
|
+
_this = _super.call(this, options);
|
|
101
|
+
_this.showNameField = false;
|
|
102
|
+
_this.disableBtn = true;
|
|
103
|
+
return _this;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
_createClass(AddLinksComponent, [{
|
|
107
|
+
key: "initialize",
|
|
108
|
+
value: function initialize() {
|
|
109
|
+
this.model = _libs_common_src_backbone_services_ViewModelService__WEBPACK_IMPORTED_MODULE_2__["ViewModelService"].get(this.viewModelName);
|
|
110
|
+
this.model.addValidation(_utils__WEBPACK_IMPORTED_MODULE_6__["ResourceLinkValidation"]);
|
|
111
|
+
this.bindListeners();
|
|
112
|
+
}
|
|
113
|
+
}, {
|
|
114
|
+
key: "regions",
|
|
115
|
+
value: function regions() {
|
|
116
|
+
return {
|
|
117
|
+
attachBtn: '.attach-btn-region'
|
|
118
|
+
};
|
|
119
|
+
}
|
|
120
|
+
}, {
|
|
121
|
+
key: "bindListeners",
|
|
122
|
+
value: function bindListeners() {
|
|
123
|
+
this.listenTo(this.model, 'change:url', this.onChangeUrl);
|
|
124
|
+
this.listenTo(this.model, 'change:name', this.onChangeName);
|
|
125
|
+
this.listenTo(this.options.channelName, 'attach:link', this.onClickAttach);
|
|
126
|
+
}
|
|
127
|
+
}, {
|
|
128
|
+
key: "onChangeUrl",
|
|
129
|
+
value: function onChangeUrl() {
|
|
130
|
+
if (this.showNameField && !this.model.isValid('url')) {
|
|
131
|
+
this.getUI('nameField').hide();
|
|
132
|
+
this.model.set('name', '');
|
|
133
|
+
this.showNameField = false;
|
|
134
|
+
} else if (!this.showNameField && this.model.isValid('url')) {
|
|
135
|
+
this.getUI('nameField').show();
|
|
136
|
+
this.showNameField = true;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}, {
|
|
140
|
+
key: "onChangeName",
|
|
141
|
+
value: function onChangeName() {
|
|
142
|
+
this.model.validate('name');
|
|
143
|
+
this.disableBtn = !this.model.isValid();
|
|
144
|
+
this.renderAttachButton();
|
|
145
|
+
}
|
|
146
|
+
}, {
|
|
147
|
+
key: "onClickAttach",
|
|
148
|
+
value: function onClickAttach() {
|
|
149
|
+
var link = this.model.toJSON();
|
|
150
|
+
this.model.clear();
|
|
151
|
+
backbone__WEBPACK_IMPORTED_MODULE_0__["Radio"].channel(this.options.channelName).trigger('add:link', link);
|
|
152
|
+
this.render();
|
|
153
|
+
}
|
|
154
|
+
}, {
|
|
155
|
+
key: "renderAttachButton",
|
|
156
|
+
value: function renderAttachButton() {
|
|
157
|
+
if (this.options.hide) return;
|
|
158
|
+
this.showChildView('attachBtn', new _shared_components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_3__["SpinnerButtonComponent"]({
|
|
159
|
+
saveEvent: 'attach:link',
|
|
160
|
+
channelName: this.options.channelName,
|
|
161
|
+
buttonText: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_8__["LanguageService"].getPhrase(this.lang, 'attach'),
|
|
162
|
+
extraButtonClass: "btn-secondary attach",
|
|
163
|
+
disabled: this.disableBtn,
|
|
164
|
+
buttonType: 'submit',
|
|
165
|
+
spinnerOptions: {
|
|
166
|
+
size: _shared_utils__WEBPACK_IMPORTED_MODULE_4__["SpinnerSize"].Medium,
|
|
167
|
+
type: _shared_utils__WEBPACK_IMPORTED_MODULE_4__["SpinnerType"].Light,
|
|
168
|
+
extraClasses: 'mx-auto'
|
|
169
|
+
}
|
|
170
|
+
}));
|
|
171
|
+
}
|
|
172
|
+
}, {
|
|
173
|
+
key: "viewOptions",
|
|
174
|
+
value: function viewOptions() {
|
|
175
|
+
return {
|
|
176
|
+
limit: this.options.limit,
|
|
177
|
+
hide: this.options.hide
|
|
178
|
+
};
|
|
179
|
+
}
|
|
180
|
+
}, {
|
|
181
|
+
key: "onRender",
|
|
182
|
+
value: function onRender() {
|
|
183
|
+
this.renderAttachButton();
|
|
184
|
+
this.stickit();
|
|
185
|
+
backbone__WEBPACK_IMPORTED_MODULE_0__["Validation"].bind(this);
|
|
186
|
+
}
|
|
187
|
+
}, {
|
|
188
|
+
key: "onClose",
|
|
189
|
+
value: function onClose() {
|
|
190
|
+
this.unstickit();
|
|
191
|
+
backbone__WEBPACK_IMPORTED_MODULE_0__["Validation"].unbind(this);
|
|
192
|
+
}
|
|
193
|
+
}, {
|
|
194
|
+
key: "name",
|
|
195
|
+
get: function get() {
|
|
196
|
+
return 'AddLinksComponent';
|
|
197
|
+
}
|
|
198
|
+
}, {
|
|
199
|
+
key: "template",
|
|
200
|
+
get: function get() {
|
|
201
|
+
return _AddLinks_hbs__WEBPACK_IMPORTED_MODULE_7___default.a;
|
|
202
|
+
}
|
|
203
|
+
}, {
|
|
204
|
+
key: "lang",
|
|
205
|
+
get: function get() {
|
|
206
|
+
return 'libraryEditor.addLinks';
|
|
207
|
+
}
|
|
208
|
+
}, {
|
|
209
|
+
key: "tagName",
|
|
210
|
+
get: function get() {
|
|
211
|
+
return 'form';
|
|
212
|
+
}
|
|
213
|
+
}, {
|
|
214
|
+
key: "bindings",
|
|
215
|
+
get: function get() {
|
|
216
|
+
return {
|
|
217
|
+
'[name=url]': {
|
|
218
|
+
observe: 'url',
|
|
219
|
+
setOptions: {
|
|
220
|
+
validate: true
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
'[name=name]': {
|
|
224
|
+
observe: 'name',
|
|
225
|
+
setOptions: {
|
|
226
|
+
validate: true
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
};
|
|
230
|
+
}
|
|
231
|
+
}, {
|
|
232
|
+
key: "behaviors",
|
|
233
|
+
get: function get() {
|
|
234
|
+
return [{
|
|
235
|
+
behaviorClass: _shared_behaviors__WEBPACK_IMPORTED_MODULE_5__["StickitBehavior"]
|
|
236
|
+
}, {
|
|
237
|
+
behaviorClass: _shared_behaviors__WEBPACK_IMPORTED_MODULE_5__["BackboneValidationBehavior"]
|
|
238
|
+
}];
|
|
239
|
+
}
|
|
240
|
+
}, {
|
|
241
|
+
key: "elements",
|
|
242
|
+
get: function get() {
|
|
243
|
+
return {
|
|
244
|
+
nameField: '#name-container'
|
|
245
|
+
};
|
|
246
|
+
}
|
|
247
|
+
}, {
|
|
248
|
+
key: "viewModelName",
|
|
249
|
+
get: function get() {
|
|
250
|
+
return "".concat(this.name, ":").concat(this.cid);
|
|
251
|
+
}
|
|
252
|
+
}]);
|
|
253
|
+
|
|
254
|
+
return AddLinksComponent;
|
|
255
|
+
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__["Core"].Component);
|
|
256
|
+
|
|
257
|
+
/***/ }),
|
|
258
|
+
|
|
259
|
+
/***/ "./src/apps/library-editor/components/file-select/FileSelect.hbs":
|
|
260
|
+
/*!***********************************************************************!*\
|
|
261
|
+
!*** ./src/apps/library-editor/components/file-select/FileSelect.hbs ***!
|
|
262
|
+
\***********************************************************************/
|
|
263
|
+
/*! no static exports found */
|
|
264
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
265
|
+
|
|
266
|
+
var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
|
|
267
|
+
module.exports = (Handlebars['default'] || Handlebars).template({"1":function(container,depth0,helpers,partials,data) {
|
|
268
|
+
var stack1, alias1=container.propertyIsEnumerable;
|
|
269
|
+
|
|
270
|
+
return "<p class=\"alert alert-warning col-8 mb-0\">"
|
|
271
|
+
+ container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.limitText : stack1), depth0))
|
|
272
|
+
+ "</p>\r\n";
|
|
273
|
+
},"3":function(container,depth0,helpers,partials,data) {
|
|
274
|
+
var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression, alias4=depth0 != null ? depth0 : (container.nullContext || {});
|
|
275
|
+
|
|
276
|
+
return "<div class=\"file-drop "
|
|
277
|
+
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.fileDrop : stack1), depth0))
|
|
278
|
+
+ " p-2"
|
|
279
|
+
+ ((stack1 = helpers["if"].call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.limitText : stack1),{"name":"if","hash":{},"fn":container.program(4, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
280
|
+
+ "\">\r\n <button class=\"browse btn btn-secondary mr-2\">"
|
|
281
|
+
+ alias3((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(alias4,"browse",{"name":"lang","hash":{},"data":data}))
|
|
282
|
+
+ "</button>\r\n <span class=\"text-muted align-middle\">"
|
|
283
|
+
+ alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.alternateText : stack1), depth0))
|
|
284
|
+
+ "</span>\r\n</div>\r\n";
|
|
285
|
+
},"4":function(container,depth0,helpers,partials,data) {
|
|
286
|
+
return " col-6 ";
|
|
287
|
+
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
288
|
+
var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression;
|
|
289
|
+
|
|
290
|
+
return "<h5>"
|
|
291
|
+
+ alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.title : stack1), depth0))
|
|
292
|
+
+ "</h5>\r\n<p>"
|
|
293
|
+
+ alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.description : stack1), depth0))
|
|
294
|
+
+ "</p>\r\n"
|
|
295
|
+
+ ((stack1 = helpers["if"].call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.limitText : stack1),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(3, data, 0),"data":data})) != null ? stack1 : "");
|
|
296
|
+
},"useData":true});
|
|
297
|
+
|
|
298
|
+
/***/ }),
|
|
299
|
+
|
|
300
|
+
/***/ "./src/apps/library-editor/components/file-select/FileSelectComponent.ts":
|
|
301
|
+
/*!*******************************************************************************!*\
|
|
302
|
+
!*** ./src/apps/library-editor/components/file-select/FileSelectComponent.ts ***!
|
|
303
|
+
\*******************************************************************************/
|
|
304
|
+
/*! exports provided: FileSelectComponent */
|
|
305
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
306
|
+
|
|
307
|
+
"use strict";
|
|
308
|
+
__webpack_require__.r(__webpack_exports__);
|
|
309
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FileSelectComponent", function() { return FileSelectComponent; });
|
|
310
|
+
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
311
|
+
/* harmony import */ var _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/services/LanguageService */ "../../libs/common/src/backbone/services/LanguageService.tsx");
|
|
312
|
+
/* harmony import */ var _shared_behaviors_file_select_FileSelectBehavior__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../shared/behaviors/file-select/FileSelectBehavior */ "./src/shared/behaviors/file-select/FileSelectBehavior.ts");
|
|
313
|
+
/* harmony import */ var _shared_behaviors_file_drop_FileDropBehavior__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../shared/behaviors/file-drop/FileDropBehavior */ "./src/shared/behaviors/file-drop/FileDropBehavior.ts");
|
|
314
|
+
/* harmony import */ var _file_select_scss__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./file-select.scss */ "./src/apps/library-editor/components/file-select/file-select.scss");
|
|
315
|
+
/* harmony import */ var _file_select_scss__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_file_select_scss__WEBPACK_IMPORTED_MODULE_4__);
|
|
316
|
+
/* harmony import */ var _FileSelectDropMask_hbs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./FileSelectDropMask.hbs */ "./src/apps/library-editor/components/file-select/FileSelectDropMask.hbs");
|
|
317
|
+
/* harmony import */ var _FileSelectDropMask_hbs__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_FileSelectDropMask_hbs__WEBPACK_IMPORTED_MODULE_5__);
|
|
318
|
+
/* harmony import */ var _FileSelect_hbs__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./FileSelect.hbs */ "./src/apps/library-editor/components/file-select/FileSelect.hbs");
|
|
319
|
+
/* harmony import */ var _FileSelect_hbs__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_FileSelect_hbs__WEBPACK_IMPORTED_MODULE_6__);
|
|
320
|
+
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); }
|
|
321
|
+
|
|
322
|
+
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; }
|
|
323
|
+
|
|
324
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
325
|
+
|
|
326
|
+
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); } }
|
|
327
|
+
|
|
328
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
329
|
+
|
|
330
|
+
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); }
|
|
331
|
+
|
|
332
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
333
|
+
|
|
334
|
+
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); }; }
|
|
335
|
+
|
|
336
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
337
|
+
|
|
338
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
339
|
+
|
|
340
|
+
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; } }
|
|
341
|
+
|
|
342
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
var FileSelectComponent = /*#__PURE__*/function (_Core$Component) {
|
|
352
|
+
_inherits(FileSelectComponent, _Core$Component);
|
|
353
|
+
|
|
354
|
+
var _super = _createSuper(FileSelectComponent);
|
|
355
|
+
|
|
356
|
+
function FileSelectComponent(options) {
|
|
357
|
+
_classCallCheck(this, FileSelectComponent);
|
|
358
|
+
|
|
359
|
+
return _super.call(this, options);
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
_createClass(FileSelectComponent, [{
|
|
363
|
+
key: "events",
|
|
364
|
+
value: function events() {
|
|
365
|
+
var dragLeave = "dragleave .".concat(_file_select_scss__WEBPACK_IMPORTED_MODULE_4___default.a.dropMask);
|
|
366
|
+
return _defineProperty({
|
|
367
|
+
'drop .file-drop': 'onDrop',
|
|
368
|
+
'dragover .file-drop': 'onDragOver'
|
|
369
|
+
}, dragLeave, 'onDragLeave');
|
|
370
|
+
}
|
|
371
|
+
}, {
|
|
372
|
+
key: "onDrop",
|
|
373
|
+
value: function onDrop() {
|
|
374
|
+
this.$el.removeClass(_file_select_scss__WEBPACK_IMPORTED_MODULE_4___default.a.dragOver);
|
|
375
|
+
}
|
|
376
|
+
}, {
|
|
377
|
+
key: "onDragOver",
|
|
378
|
+
value: function onDragOver(event) {
|
|
379
|
+
this.$el.addClass(_file_select_scss__WEBPACK_IMPORTED_MODULE_4___default.a.dragOver);
|
|
380
|
+
event.preventDefault();
|
|
381
|
+
}
|
|
382
|
+
}, {
|
|
383
|
+
key: "onDragLeave",
|
|
384
|
+
value: function onDragLeave() {
|
|
385
|
+
this.$el.removeClass(_file_select_scss__WEBPACK_IMPORTED_MODULE_4___default.a.dragOver);
|
|
386
|
+
}
|
|
387
|
+
}, {
|
|
388
|
+
key: "viewOptions",
|
|
389
|
+
value: function viewOptions() {
|
|
390
|
+
return Object.assign(Object.assign({}, this.options), {
|
|
391
|
+
styles: _file_select_scss__WEBPACK_IMPORTED_MODULE_4___default.a,
|
|
392
|
+
limitText: this.options.limitText,
|
|
393
|
+
isClickViewContent: this.options.isClickViewContent
|
|
394
|
+
});
|
|
395
|
+
}
|
|
396
|
+
}, {
|
|
397
|
+
key: "onRender",
|
|
398
|
+
value: function onRender() {
|
|
399
|
+
this.getUI('dropArea').append(_FileSelectDropMask_hbs__WEBPACK_IMPORTED_MODULE_5___default()({
|
|
400
|
+
dropMask: _file_select_scss__WEBPACK_IMPORTED_MODULE_4___default.a.dropMask,
|
|
401
|
+
fileDropText: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_1__["LanguageService"].getPhrase(this.lang, 'drop')
|
|
402
|
+
}));
|
|
403
|
+
}
|
|
404
|
+
}, {
|
|
405
|
+
key: "name",
|
|
406
|
+
get: function get() {
|
|
407
|
+
return 'FileSelectComponent';
|
|
408
|
+
}
|
|
409
|
+
}, {
|
|
410
|
+
key: "template",
|
|
411
|
+
get: function get() {
|
|
412
|
+
return _FileSelect_hbs__WEBPACK_IMPORTED_MODULE_6___default.a;
|
|
413
|
+
}
|
|
414
|
+
}, {
|
|
415
|
+
key: "lang",
|
|
416
|
+
get: function get() {
|
|
417
|
+
return 'libraryEditor.fileSelect';
|
|
418
|
+
}
|
|
419
|
+
}, {
|
|
420
|
+
key: "className",
|
|
421
|
+
get: function get() {
|
|
422
|
+
var classNames = 'mt-3';
|
|
423
|
+
if (!this.options.limitText) classNames += ' mb-2';
|
|
424
|
+
return classNames;
|
|
425
|
+
}
|
|
426
|
+
}, {
|
|
427
|
+
key: "elements",
|
|
428
|
+
get: function get() {
|
|
429
|
+
return {
|
|
430
|
+
dropArea: '.file-drop'
|
|
431
|
+
};
|
|
432
|
+
}
|
|
433
|
+
}, {
|
|
434
|
+
key: "defaults",
|
|
435
|
+
get: function get() {
|
|
436
|
+
return {
|
|
437
|
+
acceptMultiple: true
|
|
438
|
+
};
|
|
439
|
+
}
|
|
440
|
+
}, {
|
|
441
|
+
key: "behaviors",
|
|
442
|
+
get: function get() {
|
|
443
|
+
return [{
|
|
444
|
+
behaviorClass: _shared_behaviors_file_select_FileSelectBehavior__WEBPACK_IMPORTED_MODULE_2__["FileSelectBehavior"],
|
|
445
|
+
buttonSelector: '.browse',
|
|
446
|
+
channelName: this.options.channelName,
|
|
447
|
+
acceptMultiple: this.options.acceptMultiple,
|
|
448
|
+
mimeType: this.options.mimeType
|
|
449
|
+
}, {
|
|
450
|
+
behaviorClass: _shared_behaviors_file_drop_FileDropBehavior__WEBPACK_IMPORTED_MODULE_3__["FileDropBehavior"],
|
|
451
|
+
channelName: this.options.channelName,
|
|
452
|
+
acceptMultiple: this.options.acceptMultiple
|
|
453
|
+
}];
|
|
454
|
+
}
|
|
455
|
+
}]);
|
|
456
|
+
|
|
457
|
+
return FileSelectComponent;
|
|
458
|
+
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].Component);
|
|
459
|
+
|
|
460
|
+
/***/ }),
|
|
461
|
+
|
|
462
|
+
/***/ "./src/apps/library-editor/components/file-select/FileSelectDropMask.hbs":
|
|
463
|
+
/*!*******************************************************************************!*\
|
|
464
|
+
!*** ./src/apps/library-editor/components/file-select/FileSelectDropMask.hbs ***!
|
|
465
|
+
\*******************************************************************************/
|
|
466
|
+
/*! no static exports found */
|
|
467
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
468
|
+
|
|
469
|
+
var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
|
|
470
|
+
module.exports = (Handlebars['default'] || Handlebars).template({"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
471
|
+
var stack1, helper, alias1=container.propertyIsEnumerable, alias2=container.escapeExpression;
|
|
472
|
+
|
|
473
|
+
return "<div class=\""
|
|
474
|
+
+ alias2(((helper = (helper = helpers.dropMask || (depth0 != null ? depth0.dropMask : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"dropMask","hash":{},"data":data}) : helper)))
|
|
475
|
+
+ "\">\r\n <h3>"
|
|
476
|
+
+ alias2(container.lambda(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.fileDropText : stack1), depth0))
|
|
477
|
+
+ "</h3>\r\n</div>";
|
|
478
|
+
},"useData":true});
|
|
479
|
+
|
|
480
|
+
/***/ }),
|
|
481
|
+
|
|
482
|
+
/***/ "./src/apps/library-editor/components/file-select/file-select.scss":
|
|
483
|
+
/*!*************************************************************************!*\
|
|
484
|
+
!*** ./src/apps/library-editor/components/file-select/file-select.scss ***!
|
|
485
|
+
\*************************************************************************/
|
|
486
|
+
/*! no static exports found */
|
|
487
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
488
|
+
|
|
489
|
+
// extracted by mini-css-extract-plugin
|
|
490
|
+
module.exports = {"fileDrop":"cv--fileDrop--l2vGK","dropMask":"cv--dropMask--yNe5b","dragOver":"cv--dragOver--3sZ1T"};
|
|
491
|
+
|
|
492
|
+
/***/ }),
|
|
493
|
+
|
|
494
|
+
/***/ "./src/apps/library-editor/components/file-uploads/FileUpload.hbs":
|
|
495
|
+
/*!************************************************************************!*\
|
|
496
|
+
!*** ./src/apps/library-editor/components/file-uploads/FileUpload.hbs ***!
|
|
497
|
+
\************************************************************************/
|
|
498
|
+
/*! no static exports found */
|
|
499
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
500
|
+
|
|
501
|
+
var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
|
|
502
|
+
module.exports = (Handlebars['default'] || Handlebars).template({"1":function(container,depth0,helpers,partials,data) {
|
|
503
|
+
var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda;
|
|
504
|
+
|
|
505
|
+
return "<span class=\"d-inline-block align-middle mr-2 "
|
|
506
|
+
+ container.escapeExpression(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.svgContainer : stack1), depth0))
|
|
507
|
+
+ " float-right text-success\">"
|
|
508
|
+
+ ((stack1 = alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.tickSvg : stack1), depth0)) != null ? stack1 : "")
|
|
509
|
+
+ "</span>\r\n";
|
|
510
|
+
},"3":function(container,depth0,helpers,partials,data) {
|
|
511
|
+
var stack1, alias1=container.propertyIsEnumerable;
|
|
512
|
+
|
|
513
|
+
return "<span class=\"d-inline-block align-middle mr-2 "
|
|
514
|
+
+ container.escapeExpression(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.svgContainer : stack1), depth0))
|
|
515
|
+
+ " close float-right\">×</span>\r\n";
|
|
516
|
+
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
517
|
+
var stack1, helper, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression, alias4=depth0 != null ? depth0 : (container.nullContext || {}), alias5=container.hooks.helperMissing, alias6="function";
|
|
518
|
+
|
|
519
|
+
return "<span class=\"d-inline-block align-middle mr-2 "
|
|
520
|
+
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.svgContainer : stack1), depth0))
|
|
521
|
+
+ "\">"
|
|
522
|
+
+ ((stack1 = alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.svg : stack1), depth0)) != null ? stack1 : "")
|
|
523
|
+
+ "</span>\r\n<span class=\"align-middle\">\r\n "
|
|
524
|
+
+ alias3(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : alias5),(typeof helper === alias6 ? helper.call(alias4,{"name":"name","hash":{},"data":data}) : helper)))
|
|
525
|
+
+ "\r\n</span>\r\n"
|
|
526
|
+
+ ((stack1 = helpers["if"].call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.finished : stack1),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(3, data, 0),"data":data})) != null ? stack1 : "")
|
|
527
|
+
+ "\r\n<div class=\"progress my-2 "
|
|
528
|
+
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.progress : stack1), depth0))
|
|
529
|
+
+ " mt-2\">\r\n <div class=\"progress-bar bg-info\" style=\"width: "
|
|
530
|
+
+ alias3(((helper = (helper = helpers.progress || (depth0 != null ? depth0.progress : depth0)) != null ? helper : alias5),(typeof helper === alias6 ? helper.call(alias4,{"name":"progress","hash":{},"data":data}) : helper)))
|
|
531
|
+
+ "%\" aria-valuenow=\""
|
|
532
|
+
+ alias3(((helper = (helper = helpers.progress || (depth0 != null ? depth0.progress : depth0)) != null ? helper : alias5),(typeof helper === alias6 ? helper.call(alias4,{"name":"progress","hash":{},"data":data}) : helper)))
|
|
533
|
+
+ "\" aria-valuemin=\"0\" aria-valuemax=\"100\"></div>\r\n</div>";
|
|
534
|
+
},"useData":true});
|
|
535
|
+
|
|
536
|
+
/***/ }),
|
|
537
|
+
|
|
538
|
+
/***/ "./src/apps/library-editor/components/file-uploads/FileUploadComponent.ts":
|
|
539
|
+
/*!********************************************************************************!*\
|
|
540
|
+
!*** ./src/apps/library-editor/components/file-uploads/FileUploadComponent.ts ***!
|
|
541
|
+
\********************************************************************************/
|
|
542
|
+
/*! exports provided: FileUploadComponent */
|
|
543
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
544
|
+
|
|
545
|
+
"use strict";
|
|
546
|
+
__webpack_require__.r(__webpack_exports__);
|
|
547
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FileUploadComponent", function() { return FileUploadComponent; });
|
|
548
|
+
/* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! backbone */ "backbone");
|
|
549
|
+
/* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(backbone__WEBPACK_IMPORTED_MODULE_0__);
|
|
550
|
+
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
551
|
+
/* harmony import */ var _libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../../../libs/shared/src/utils/SvgHelper */ "../../libs/shared/src/utils/SvgHelper.ts");
|
|
552
|
+
/* harmony import */ var _FileUpload_hbs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./FileUpload.hbs */ "./src/apps/library-editor/components/file-uploads/FileUpload.hbs");
|
|
553
|
+
/* harmony import */ var _FileUpload_hbs__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_FileUpload_hbs__WEBPACK_IMPORTED_MODULE_3__);
|
|
554
|
+
/* harmony import */ var _file_upload_scss__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./file-upload.scss */ "./src/apps/library-editor/components/file-uploads/file-upload.scss");
|
|
555
|
+
/* harmony import */ var _file_upload_scss__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_file_upload_scss__WEBPACK_IMPORTED_MODULE_4__);
|
|
556
|
+
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); }
|
|
557
|
+
|
|
558
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
559
|
+
|
|
560
|
+
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); } }
|
|
561
|
+
|
|
562
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
563
|
+
|
|
564
|
+
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); }
|
|
565
|
+
|
|
566
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
567
|
+
|
|
568
|
+
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); }; }
|
|
569
|
+
|
|
570
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
571
|
+
|
|
572
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
573
|
+
|
|
574
|
+
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; } }
|
|
575
|
+
|
|
576
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
577
|
+
|
|
578
|
+
|
|
579
|
+
|
|
580
|
+
|
|
581
|
+
|
|
582
|
+
|
|
583
|
+
var FileUploadComponent = /*#__PURE__*/function (_Core$Component) {
|
|
584
|
+
_inherits(FileUploadComponent, _Core$Component);
|
|
585
|
+
|
|
586
|
+
var _super = _createSuper(FileUploadComponent);
|
|
587
|
+
|
|
588
|
+
function FileUploadComponent(options) {
|
|
589
|
+
_classCallCheck(this, FileUploadComponent);
|
|
590
|
+
|
|
591
|
+
return _super.call(this, options);
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
_createClass(FileUploadComponent, [{
|
|
595
|
+
key: "initialize",
|
|
596
|
+
value: function initialize() {
|
|
597
|
+
this.listenTo(this.model, 'change:progress', this.render);
|
|
598
|
+
}
|
|
599
|
+
}, {
|
|
600
|
+
key: "events",
|
|
601
|
+
value: function events() {
|
|
602
|
+
return {
|
|
603
|
+
'click .cancel-upload': 'onClickCancelUpload'
|
|
604
|
+
};
|
|
605
|
+
}
|
|
606
|
+
}, {
|
|
607
|
+
key: "onClickCancelUpload",
|
|
608
|
+
value: function onClickCancelUpload() {
|
|
609
|
+
var channel = backbone__WEBPACK_IMPORTED_MODULE_0__["Radio"].channel(this.options.channelName);
|
|
610
|
+
channel.trigger('cancel:upload', this.model.get('id'));
|
|
611
|
+
}
|
|
612
|
+
}, {
|
|
613
|
+
key: "viewOptions",
|
|
614
|
+
value: function viewOptions() {
|
|
615
|
+
return {
|
|
616
|
+
styles: _file_upload_scss__WEBPACK_IMPORTED_MODULE_4___default.a,
|
|
617
|
+
svg: _libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_2__["SvgHelper"].getSvg(_libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_2__["cvSvgLibrary"].Folder),
|
|
618
|
+
tickSvg: _libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_2__["SvgHelper"].getSvg(_libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_2__["cvSvgLibrary"].Check),
|
|
619
|
+
finished: this.model.get('progress') >= 100
|
|
620
|
+
};
|
|
621
|
+
}
|
|
622
|
+
}, {
|
|
623
|
+
key: "name",
|
|
624
|
+
get: function get() {
|
|
625
|
+
return 'FileUploadComponent';
|
|
626
|
+
}
|
|
627
|
+
}, {
|
|
628
|
+
key: "template",
|
|
629
|
+
get: function get() {
|
|
630
|
+
return _FileUpload_hbs__WEBPACK_IMPORTED_MODULE_3___default.a;
|
|
631
|
+
}
|
|
632
|
+
}]);
|
|
633
|
+
|
|
634
|
+
return FileUploadComponent;
|
|
635
|
+
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__["Core"].Component);
|
|
636
|
+
|
|
637
|
+
/***/ }),
|
|
638
|
+
|
|
639
|
+
/***/ "./src/apps/library-editor/components/file-uploads/FileUploadsComponentCollection.ts":
|
|
640
|
+
/*!*******************************************************************************************!*\
|
|
641
|
+
!*** ./src/apps/library-editor/components/file-uploads/FileUploadsComponentCollection.ts ***!
|
|
642
|
+
\*******************************************************************************************/
|
|
643
|
+
/*! exports provided: FileUploadsComponentCollection */
|
|
644
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
645
|
+
|
|
646
|
+
"use strict";
|
|
647
|
+
__webpack_require__.r(__webpack_exports__);
|
|
648
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FileUploadsComponentCollection", function() { return FileUploadsComponentCollection; });
|
|
649
|
+
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
650
|
+
/* harmony import */ var _FileUploadComponent__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./FileUploadComponent */ "./src/apps/library-editor/components/file-uploads/FileUploadComponent.ts");
|
|
651
|
+
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); }
|
|
652
|
+
|
|
653
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
654
|
+
|
|
655
|
+
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); } }
|
|
656
|
+
|
|
657
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
658
|
+
|
|
659
|
+
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); }
|
|
660
|
+
|
|
661
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
662
|
+
|
|
663
|
+
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); }; }
|
|
664
|
+
|
|
665
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
666
|
+
|
|
667
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
668
|
+
|
|
669
|
+
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; } }
|
|
670
|
+
|
|
671
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
672
|
+
|
|
673
|
+
|
|
674
|
+
|
|
675
|
+
var FileUploadsComponentCollection = /*#__PURE__*/function (_Core$ComponentCollec) {
|
|
676
|
+
_inherits(FileUploadsComponentCollection, _Core$ComponentCollec);
|
|
677
|
+
|
|
678
|
+
var _super = _createSuper(FileUploadsComponentCollection);
|
|
679
|
+
|
|
680
|
+
function FileUploadsComponentCollection(options) {
|
|
681
|
+
_classCallCheck(this, FileUploadsComponentCollection);
|
|
682
|
+
|
|
683
|
+
return _super.call(this, options);
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
_createClass(FileUploadsComponentCollection, [{
|
|
687
|
+
key: "name",
|
|
688
|
+
get: function get() {
|
|
689
|
+
return 'FileUploadsComponentCollection';
|
|
690
|
+
}
|
|
691
|
+
}, {
|
|
692
|
+
key: "childView",
|
|
693
|
+
get: function get() {
|
|
694
|
+
return _FileUploadComponent__WEBPACK_IMPORTED_MODULE_1__["FileUploadComponent"];
|
|
695
|
+
}
|
|
696
|
+
}, {
|
|
697
|
+
key: "childViewOptions",
|
|
698
|
+
get: function get() {
|
|
699
|
+
return {
|
|
700
|
+
channelName: this.options.channelName
|
|
701
|
+
};
|
|
702
|
+
}
|
|
703
|
+
}]);
|
|
704
|
+
|
|
705
|
+
return FileUploadsComponentCollection;
|
|
706
|
+
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].ComponentCollection);
|
|
707
|
+
|
|
708
|
+
/***/ }),
|
|
709
|
+
|
|
710
|
+
/***/ "./src/apps/library-editor/components/file-uploads/file-upload.scss":
|
|
711
|
+
/*!**************************************************************************!*\
|
|
712
|
+
!*** ./src/apps/library-editor/components/file-uploads/file-upload.scss ***!
|
|
713
|
+
\**************************************************************************/
|
|
714
|
+
/*! no static exports found */
|
|
715
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
716
|
+
|
|
717
|
+
// extracted by mini-css-extract-plugin
|
|
718
|
+
module.exports = {"svgContainer":"cv--svgContainer--3LHs_","progress":"cv--progress--30D9s"};
|
|
719
|
+
|
|
720
|
+
/***/ }),
|
|
721
|
+
|
|
722
|
+
/***/ "./src/apps/library-editor/components/language-select/LanguageSelect.hbs":
|
|
723
|
+
/*!*******************************************************************************!*\
|
|
724
|
+
!*** ./src/apps/library-editor/components/language-select/LanguageSelect.hbs ***!
|
|
725
|
+
\*******************************************************************************/
|
|
726
|
+
/*! no static exports found */
|
|
727
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
728
|
+
|
|
729
|
+
var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
|
|
730
|
+
module.exports = (Handlebars['default'] || Handlebars).template({"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
731
|
+
var alias1=container.propertyIsEnumerable;
|
|
732
|
+
|
|
733
|
+
return "<form>\r\n <div class=\"form-group\">\r\n <label for=\"language\">"
|
|
734
|
+
+ container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"label",{"name":"lang","hash":{},"data":data}))
|
|
735
|
+
+ "</label>\r\n <div class=\"typahead-region\"></div>\r\n </div>\r\n</form>";
|
|
736
|
+
},"useData":true});
|
|
737
|
+
|
|
738
|
+
/***/ }),
|
|
739
|
+
|
|
740
|
+
/***/ "./src/apps/library-editor/components/language-select/LanguageSelectComponent.ts":
|
|
741
|
+
/*!***************************************************************************************!*\
|
|
742
|
+
!*** ./src/apps/library-editor/components/language-select/LanguageSelectComponent.ts ***!
|
|
743
|
+
\***************************************************************************************/
|
|
744
|
+
/*! exports provided: LanguageSelectComponent */
|
|
745
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
746
|
+
|
|
747
|
+
"use strict";
|
|
748
|
+
__webpack_require__.r(__webpack_exports__);
|
|
749
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LanguageSelectComponent", function() { return LanguageSelectComponent; });
|
|
750
|
+
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
751
|
+
/* 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");
|
|
752
|
+
/* harmony import */ var _shared_behaviors__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../shared/behaviors */ "./src/shared/behaviors/index.ts");
|
|
753
|
+
/* harmony import */ var _shared_components_typeahead_input_SearchTypeaheadComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../shared/components/typeahead-input/SearchTypeaheadComponent */ "./src/shared/components/typeahead-input/SearchTypeaheadComponent.ts");
|
|
754
|
+
/* 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");
|
|
755
|
+
/* harmony import */ var _shared_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../shared/utils */ "./src/shared/utils/index.ts");
|
|
756
|
+
/* harmony import */ var _LanguageSelectTypeaheadHelper__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./LanguageSelectTypeaheadHelper */ "./src/apps/library-editor/components/language-select/LanguageSelectTypeaheadHelper.ts");
|
|
757
|
+
/* harmony import */ var _LanguageSelect_hbs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./LanguageSelect.hbs */ "./src/apps/library-editor/components/language-select/LanguageSelect.hbs");
|
|
758
|
+
/* harmony import */ var _LanguageSelect_hbs__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_LanguageSelect_hbs__WEBPACK_IMPORTED_MODULE_7__);
|
|
759
|
+
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); }
|
|
760
|
+
|
|
761
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
762
|
+
|
|
763
|
+
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); } }
|
|
764
|
+
|
|
765
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
766
|
+
|
|
767
|
+
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); }
|
|
768
|
+
|
|
769
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
770
|
+
|
|
771
|
+
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); }; }
|
|
772
|
+
|
|
773
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
774
|
+
|
|
775
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
776
|
+
|
|
777
|
+
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; } }
|
|
778
|
+
|
|
779
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
780
|
+
|
|
781
|
+
|
|
782
|
+
|
|
783
|
+
|
|
784
|
+
|
|
785
|
+
|
|
786
|
+
|
|
787
|
+
|
|
788
|
+
|
|
789
|
+
var LanguageSelectComponent = /*#__PURE__*/function (_Core$Component) {
|
|
790
|
+
_inherits(LanguageSelectComponent, _Core$Component);
|
|
791
|
+
|
|
792
|
+
var _super = _createSuper(LanguageSelectComponent);
|
|
793
|
+
|
|
794
|
+
function LanguageSelectComponent(options) {
|
|
795
|
+
_classCallCheck(this, LanguageSelectComponent);
|
|
796
|
+
|
|
797
|
+
return _super.call(this, options);
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
_createClass(LanguageSelectComponent, [{
|
|
801
|
+
key: "initialize",
|
|
802
|
+
value: function initialize(options) {
|
|
803
|
+
this.model = _libs_common_src_backbone_services_ViewModelService__WEBPACK_IMPORTED_MODULE_1__["ViewModelService"].get('subtitle:language', options.defaultLanguage);
|
|
804
|
+
this.model.addValidation(_shared_utils__WEBPACK_IMPORTED_MODULE_5__["SubtitleLanguageValidation"]);
|
|
805
|
+
this.listenTo(this.channelName, 'select:language', this.onLanguageSelected);
|
|
806
|
+
}
|
|
807
|
+
}, {
|
|
808
|
+
key: "events",
|
|
809
|
+
value: function events() {
|
|
810
|
+
return {
|
|
811
|
+
'click .submit': 'onClickSubmit',
|
|
812
|
+
'submit': 'onClickSubmit'
|
|
813
|
+
};
|
|
814
|
+
}
|
|
815
|
+
}, {
|
|
816
|
+
key: "regions",
|
|
817
|
+
value: function regions() {
|
|
818
|
+
return {
|
|
819
|
+
typeahead: '.typahead-region'
|
|
820
|
+
};
|
|
821
|
+
}
|
|
822
|
+
}, {
|
|
823
|
+
key: "getTypeaheadConfigs",
|
|
824
|
+
value: function getTypeaheadConfigs() {
|
|
825
|
+
var typeaheadConfig = _LanguageSelectTypeaheadHelper__WEBPACK_IMPORTED_MODULE_6__["LangugageSelectTypeaheadHelper"].getTypeaheadConfig();
|
|
826
|
+
return [{
|
|
827
|
+
name: 'languages',
|
|
828
|
+
typeaheadConfig: typeaheadConfig
|
|
829
|
+
}];
|
|
830
|
+
}
|
|
831
|
+
}, {
|
|
832
|
+
key: "renderTypeahead",
|
|
833
|
+
value: function renderTypeahead() {
|
|
834
|
+
this.showChildView('typeahead', new _shared_components_typeahead_input_SearchTypeaheadComponent__WEBPACK_IMPORTED_MODULE_3__["SearchTypeaheadComponent"]({
|
|
835
|
+
model: this.model,
|
|
836
|
+
parentChannelName: this.channelName,
|
|
837
|
+
inputId: 'language',
|
|
838
|
+
selectEvent: 'select:language',
|
|
839
|
+
typeaheadConfigs: this.getTypeaheadConfigs()
|
|
840
|
+
}));
|
|
841
|
+
}
|
|
842
|
+
}, {
|
|
843
|
+
key: "onLanguageSelected",
|
|
844
|
+
value: function onLanguageSelected(selected) {
|
|
845
|
+
this.model.set('code', selected.key);
|
|
846
|
+
}
|
|
847
|
+
}, {
|
|
848
|
+
key: "onClickSubmit",
|
|
849
|
+
value: function onClickSubmit() {
|
|
850
|
+
this.model.validate();
|
|
851
|
+
if (!this.model.isValid()) return;
|
|
852
|
+
this.options.promise.resolve(this.model.toJSON());
|
|
853
|
+
this.triggerMethod('hide');
|
|
854
|
+
}
|
|
855
|
+
}, {
|
|
856
|
+
key: "onBeforeDestroy",
|
|
857
|
+
value: function onBeforeDestroy() {
|
|
858
|
+
if (this.options.promise.state() === 'pending') this.options.promise.reject();
|
|
859
|
+
}
|
|
860
|
+
}, {
|
|
861
|
+
key: "onRender",
|
|
862
|
+
value: function onRender() {
|
|
863
|
+
this.renderTypeahead();
|
|
864
|
+
}
|
|
865
|
+
}, {
|
|
866
|
+
key: "template",
|
|
867
|
+
get: function get() {
|
|
868
|
+
return _LanguageSelect_hbs__WEBPACK_IMPORTED_MODULE_7___default.a;
|
|
869
|
+
}
|
|
870
|
+
}, {
|
|
871
|
+
key: "name",
|
|
872
|
+
get: function get() {
|
|
873
|
+
return 'LanguageSelectComponent';
|
|
874
|
+
}
|
|
875
|
+
}, {
|
|
876
|
+
key: "lang",
|
|
877
|
+
get: function get() {
|
|
878
|
+
return 'libraryEditor.languageSelect';
|
|
879
|
+
}
|
|
880
|
+
}, {
|
|
881
|
+
key: "behaviors",
|
|
882
|
+
get: function get() {
|
|
883
|
+
return [{
|
|
884
|
+
behaviorClass: _shared_behaviors__WEBPACK_IMPORTED_MODULE_2__["PopupBehavior"],
|
|
885
|
+
title: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(this.lang, 'heading'),
|
|
886
|
+
buttons: [{
|
|
887
|
+
text: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(this.lang, 'submit'),
|
|
888
|
+
type: 'submit',
|
|
889
|
+
className: 'btn btn-primary submit'
|
|
890
|
+
}]
|
|
891
|
+
}, {
|
|
892
|
+
behaviorClass: _shared_behaviors__WEBPACK_IMPORTED_MODULE_2__["BackboneValidationBehavior"]
|
|
893
|
+
}];
|
|
894
|
+
}
|
|
895
|
+
}, {
|
|
896
|
+
key: "channelName",
|
|
897
|
+
get: function get() {
|
|
898
|
+
return "".concat(this.name).concat(this.cid);
|
|
899
|
+
}
|
|
900
|
+
}]);
|
|
901
|
+
|
|
902
|
+
return LanguageSelectComponent;
|
|
903
|
+
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].Component);
|
|
904
|
+
|
|
905
|
+
/***/ }),
|
|
906
|
+
|
|
907
|
+
/***/ "./src/apps/library-editor/components/language-select/LanguageSelectTypeaheadHelper.ts":
|
|
908
|
+
/*!*********************************************************************************************!*\
|
|
909
|
+
!*** ./src/apps/library-editor/components/language-select/LanguageSelectTypeaheadHelper.ts ***!
|
|
910
|
+
\*********************************************************************************************/
|
|
911
|
+
/*! exports provided: LangugageSelectTypeaheadHelper */
|
|
912
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
913
|
+
|
|
914
|
+
"use strict";
|
|
915
|
+
__webpack_require__.r(__webpack_exports__);
|
|
916
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LangugageSelectTypeaheadHelper", function() { return LangugageSelectTypeaheadHelper; });
|
|
917
|
+
/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! underscore */ "underscore");
|
|
918
|
+
/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(underscore__WEBPACK_IMPORTED_MODULE_0__);
|
|
919
|
+
/* harmony import */ var _shared_utils_search_raw_search_templates__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../shared/utils/search/raw-search-templates */ "./src/shared/utils/search/raw-search-templates/index.ts");
|
|
920
|
+
|
|
921
|
+
|
|
922
|
+
var LangugageSelectTypeaheadHelper = {
|
|
923
|
+
handleQuery: function handleQuery(dataSource, options) {
|
|
924
|
+
return function (query, syncResults, asyncResults) {
|
|
925
|
+
var matches = [];
|
|
926
|
+
|
|
927
|
+
if (!query) {
|
|
928
|
+
syncResults();
|
|
929
|
+
return;
|
|
930
|
+
}
|
|
931
|
+
|
|
932
|
+
var lanByStr = CVLanguages.getEnglishNameContains(query); // do not show already selected languages
|
|
933
|
+
|
|
934
|
+
underscore__WEBPACK_IMPORTED_MODULE_0__["each"](lanByStr, function (ls, key) {
|
|
935
|
+
matches.push({
|
|
936
|
+
key: key,
|
|
937
|
+
name: ls.englishName
|
|
938
|
+
});
|
|
939
|
+
});
|
|
940
|
+
|
|
941
|
+
return syncResults(matches);
|
|
942
|
+
};
|
|
943
|
+
},
|
|
944
|
+
getTypeaheadConfig: function getTypeaheadConfig() {
|
|
945
|
+
return function (source, index) {
|
|
946
|
+
return {
|
|
947
|
+
name: 'languages',
|
|
948
|
+
source: LangugageSelectTypeaheadHelper.handleQuery(),
|
|
949
|
+
limit: 5,
|
|
950
|
+
display: function display(d) {
|
|
951
|
+
return d.name;
|
|
952
|
+
},
|
|
953
|
+
templates: {
|
|
954
|
+
suggestion: _shared_utils_search_raw_search_templates__WEBPACK_IMPORTED_MODULE_1__["ResultSuggestion"],
|
|
955
|
+
pending: _shared_utils_search_raw_search_templates__WEBPACK_IMPORTED_MODULE_1__["Loading"],
|
|
956
|
+
notFound: _shared_utils_search_raw_search_templates__WEBPACK_IMPORTED_MODULE_1__["NotFound"]
|
|
957
|
+
}
|
|
958
|
+
};
|
|
959
|
+
};
|
|
960
|
+
}
|
|
961
|
+
};
|
|
962
|
+
|
|
963
|
+
/***/ }),
|
|
964
|
+
|
|
965
|
+
/***/ "./src/apps/library-editor/components/video-subtitles/Subtitle.hbs":
|
|
966
|
+
/*!*************************************************************************!*\
|
|
967
|
+
!*** ./src/apps/library-editor/components/video-subtitles/Subtitle.hbs ***!
|
|
968
|
+
\*************************************************************************/
|
|
969
|
+
/*! no static exports found */
|
|
970
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
971
|
+
|
|
972
|
+
var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
|
|
973
|
+
module.exports = (Handlebars['default'] || Handlebars).template({"1":function(container,depth0,helpers,partials,data) {
|
|
974
|
+
var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression;
|
|
975
|
+
|
|
976
|
+
return "<a class=\"float-right "
|
|
977
|
+
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.svgContainer : stack1), depth0))
|
|
978
|
+
+ " "
|
|
979
|
+
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.actionSvg : stack1), depth0))
|
|
980
|
+
+ " text-muted delete\">"
|
|
981
|
+
+ ((stack1 = alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.trashSvg : stack1), depth0)) != null ? stack1 : "")
|
|
982
|
+
+ "</a>\r\n";
|
|
983
|
+
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
984
|
+
var stack1, helper, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression, alias4=depth0 != null ? depth0 : (container.nullContext || {});
|
|
985
|
+
|
|
986
|
+
return "<span class=\"d-inline-block align-middle mr-2 "
|
|
987
|
+
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.svgContainer : stack1), depth0))
|
|
988
|
+
+ "\">"
|
|
989
|
+
+ ((stack1 = alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.svg : stack1), depth0)) != null ? stack1 : "")
|
|
990
|
+
+ "</span>\r\n<a href=\""
|
|
991
|
+
+ alias3(((helper = (helper = helpers.url || (depth0 != null ? depth0.url : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === "function" ? helper.call(alias4,{"name":"url","hash":{},"data":data}) : helper)))
|
|
992
|
+
+ "?name="
|
|
993
|
+
+ alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.name : stack1), depth0))
|
|
994
|
+
+ "\" class=\"align-middle\">\r\n "
|
|
995
|
+
+ alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.name : stack1), depth0))
|
|
996
|
+
+ "\r\n</a>\r\n"
|
|
997
|
+
+ ((stack1 = helpers.unless.call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.isClickViewContent : stack1),{"name":"unless","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "");
|
|
998
|
+
},"useData":true});
|
|
999
|
+
|
|
1000
|
+
/***/ }),
|
|
1001
|
+
|
|
1002
|
+
/***/ "./src/apps/library-editor/components/video-subtitles/SubtitleItemComponent.ts":
|
|
1003
|
+
/*!*************************************************************************************!*\
|
|
1004
|
+
!*** ./src/apps/library-editor/components/video-subtitles/SubtitleItemComponent.ts ***!
|
|
1005
|
+
\*************************************************************************************/
|
|
1006
|
+
/*! exports provided: SubtitleItemComponent */
|
|
1007
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1008
|
+
|
|
1009
|
+
"use strict";
|
|
1010
|
+
__webpack_require__.r(__webpack_exports__);
|
|
1011
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SubtitleItemComponent", function() { return SubtitleItemComponent; });
|
|
1012
|
+
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
1013
|
+
/* harmony import */ var _libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../../libs/shared/src/utils/SvgHelper */ "../../libs/shared/src/utils/SvgHelper.ts");
|
|
1014
|
+
/* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! backbone */ "backbone");
|
|
1015
|
+
/* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(backbone__WEBPACK_IMPORTED_MODULE_2__);
|
|
1016
|
+
/* harmony import */ var _shared_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../shared/utils */ "./src/shared/utils/index.ts");
|
|
1017
|
+
/* 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");
|
|
1018
|
+
/* harmony import */ var _utils_VideoDetailsHelper__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/VideoDetailsHelper */ "./src/apps/library-editor/utils/VideoDetailsHelper.ts");
|
|
1019
|
+
/* harmony import */ var _Subtitle_hbs__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Subtitle.hbs */ "./src/apps/library-editor/components/video-subtitles/Subtitle.hbs");
|
|
1020
|
+
/* harmony import */ var _Subtitle_hbs__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_Subtitle_hbs__WEBPACK_IMPORTED_MODULE_6__);
|
|
1021
|
+
/* harmony import */ var _subtitle_scss__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./subtitle.scss */ "./src/apps/library-editor/components/video-subtitles/subtitle.scss");
|
|
1022
|
+
/* harmony import */ var _subtitle_scss__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_subtitle_scss__WEBPACK_IMPORTED_MODULE_7__);
|
|
1023
|
+
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); }
|
|
1024
|
+
|
|
1025
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
1026
|
+
|
|
1027
|
+
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); } }
|
|
1028
|
+
|
|
1029
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
1030
|
+
|
|
1031
|
+
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); }
|
|
1032
|
+
|
|
1033
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
1034
|
+
|
|
1035
|
+
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); }; }
|
|
1036
|
+
|
|
1037
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
1038
|
+
|
|
1039
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
1040
|
+
|
|
1041
|
+
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; } }
|
|
1042
|
+
|
|
1043
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
1044
|
+
|
|
1045
|
+
|
|
1046
|
+
|
|
1047
|
+
|
|
1048
|
+
|
|
1049
|
+
|
|
1050
|
+
|
|
1051
|
+
|
|
1052
|
+
|
|
1053
|
+
var SubtitleItemComponent = /*#__PURE__*/function (_Core$Component) {
|
|
1054
|
+
_inherits(SubtitleItemComponent, _Core$Component);
|
|
1055
|
+
|
|
1056
|
+
var _super = _createSuper(SubtitleItemComponent);
|
|
1057
|
+
|
|
1058
|
+
function SubtitleItemComponent(options) {
|
|
1059
|
+
_classCallCheck(this, SubtitleItemComponent);
|
|
1060
|
+
|
|
1061
|
+
return _super.call(this, options);
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1064
|
+
_createClass(SubtitleItemComponent, [{
|
|
1065
|
+
key: "events",
|
|
1066
|
+
value: function events() {
|
|
1067
|
+
return {
|
|
1068
|
+
'click .delete': 'onClickDelete'
|
|
1069
|
+
};
|
|
1070
|
+
}
|
|
1071
|
+
}, {
|
|
1072
|
+
key: "getEnglishName",
|
|
1073
|
+
value: function getEnglishName() {
|
|
1074
|
+
var language = this.model.get('language');
|
|
1075
|
+
var differentNames = this.model.collection.filter(function (subtitle) {
|
|
1076
|
+
return subtitle.get('language') !== language;
|
|
1077
|
+
});
|
|
1078
|
+
if (differentNames.length > 0) return CVLanguages.getFullEnglishName(language);
|
|
1079
|
+
return CVLanguages.getEnglishName(language);
|
|
1080
|
+
}
|
|
1081
|
+
}, {
|
|
1082
|
+
key: "onClickDelete",
|
|
1083
|
+
value: function onClickDelete() {
|
|
1084
|
+
var _this = this;
|
|
1085
|
+
|
|
1086
|
+
if (this.options.isClickViewContent) return;
|
|
1087
|
+
var dialogHelper = new _shared_utils__WEBPACK_IMPORTED_MODULE_3__["DialogHelper"]({
|
|
1088
|
+
title: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(this.lang, 'removeHeading'),
|
|
1089
|
+
text: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(this.lang, 'removeBody', {
|
|
1090
|
+
language: this.getEnglishName()
|
|
1091
|
+
}),
|
|
1092
|
+
buttons: [{
|
|
1093
|
+
text: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(this.lang, 'remove'),
|
|
1094
|
+
className: 'btn btn-danger',
|
|
1095
|
+
success: true
|
|
1096
|
+
}, {
|
|
1097
|
+
text: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(this.lang, 'cancel'),
|
|
1098
|
+
className: 'btn btn-secondary',
|
|
1099
|
+
close: true
|
|
1100
|
+
}],
|
|
1101
|
+
channelName: "".concat(this.name).concat(this.cid)
|
|
1102
|
+
});
|
|
1103
|
+
dialogHelper.render().done(function () {
|
|
1104
|
+
var channel = backbone__WEBPACK_IMPORTED_MODULE_2__["Radio"].channel(_this.options.channelName);
|
|
1105
|
+
channel.trigger('delete:subtitle', _this.model.get('id'));
|
|
1106
|
+
});
|
|
1107
|
+
}
|
|
1108
|
+
}, {
|
|
1109
|
+
key: "viewOptions",
|
|
1110
|
+
value: function viewOptions() {
|
|
1111
|
+
return {
|
|
1112
|
+
styles: _subtitle_scss__WEBPACK_IMPORTED_MODULE_7___default.a,
|
|
1113
|
+
svg: _utils_VideoDetailsHelper__WEBPACK_IMPORTED_MODULE_5__["VideoDetailsHelper"].mapTypeToSvg('subtitle'),
|
|
1114
|
+
trashSvg: _libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_1__["SvgHelper"].getSvg(_libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_1__["cvSvgLibrary"].Delete),
|
|
1115
|
+
name: this.getEnglishName(),
|
|
1116
|
+
isClickViewContent: this.options.isClickViewContent
|
|
1117
|
+
};
|
|
1118
|
+
}
|
|
1119
|
+
}, {
|
|
1120
|
+
key: "name",
|
|
1121
|
+
get: function get() {
|
|
1122
|
+
return 'SubtitleItemComponent';
|
|
1123
|
+
}
|
|
1124
|
+
}, {
|
|
1125
|
+
key: "template",
|
|
1126
|
+
get: function get() {
|
|
1127
|
+
return _Subtitle_hbs__WEBPACK_IMPORTED_MODULE_6___default.a;
|
|
1128
|
+
}
|
|
1129
|
+
}, {
|
|
1130
|
+
key: "lang",
|
|
1131
|
+
get: function get() {
|
|
1132
|
+
return 'libraryEditor.videoSubtitles';
|
|
1133
|
+
}
|
|
1134
|
+
}, {
|
|
1135
|
+
key: "className",
|
|
1136
|
+
get: function get() {
|
|
1137
|
+
return 'mb-2';
|
|
1138
|
+
}
|
|
1139
|
+
}]);
|
|
1140
|
+
|
|
1141
|
+
return SubtitleItemComponent;
|
|
1142
|
+
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].Component);
|
|
1143
|
+
|
|
1144
|
+
/***/ }),
|
|
1145
|
+
|
|
1146
|
+
/***/ "./src/apps/library-editor/components/video-subtitles/VideoSubtitles.hbs":
|
|
1147
|
+
/*!*******************************************************************************!*\
|
|
1148
|
+
!*** ./src/apps/library-editor/components/video-subtitles/VideoSubtitles.hbs ***!
|
|
1149
|
+
\*******************************************************************************/
|
|
1150
|
+
/*! no static exports found */
|
|
1151
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1152
|
+
|
|
1153
|
+
var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
|
|
1154
|
+
module.exports = (Handlebars['default'] || Handlebars).template({"1":function(container,depth0,helpers,partials,data) {
|
|
1155
|
+
var stack1, alias1=container.propertyIsEnumerable;
|
|
1156
|
+
|
|
1157
|
+
return container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.emptyStateText : stack1), depth0));
|
|
1158
|
+
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
1159
|
+
var stack1, alias1=container.propertyIsEnumerable;
|
|
1160
|
+
|
|
1161
|
+
return "<h5>"
|
|
1162
|
+
+ container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.headerText : stack1), depth0))
|
|
1163
|
+
+ "</h5>\r\n"
|
|
1164
|
+
+ ((stack1 = helpers["if"].call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.emptyStateText : stack1),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
1165
|
+
+ "\r\n<div class=\"subtitles-list-region\"></div>";
|
|
1166
|
+
},"useData":true});
|
|
1167
|
+
|
|
1168
|
+
/***/ }),
|
|
1169
|
+
|
|
1170
|
+
/***/ "./src/apps/library-editor/components/video-subtitles/VideoSubtitlesComponent.ts":
|
|
1171
|
+
/*!***************************************************************************************!*\
|
|
1172
|
+
!*** ./src/apps/library-editor/components/video-subtitles/VideoSubtitlesComponent.ts ***!
|
|
1173
|
+
\***************************************************************************************/
|
|
1174
|
+
/*! exports provided: VideoSubtitlesComponent, VideoSubtitlesComponentCollection */
|
|
1175
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1176
|
+
|
|
1177
|
+
"use strict";
|
|
1178
|
+
__webpack_require__.r(__webpack_exports__);
|
|
1179
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VideoSubtitlesComponent", function() { return VideoSubtitlesComponent; });
|
|
1180
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VideoSubtitlesComponentCollection", function() { return VideoSubtitlesComponentCollection; });
|
|
1181
|
+
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
1182
|
+
/* harmony import */ var _SubtitleItemComponent__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./SubtitleItemComponent */ "./src/apps/library-editor/components/video-subtitles/SubtitleItemComponent.ts");
|
|
1183
|
+
/* harmony import */ var _VideoSubtitles_hbs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./VideoSubtitles.hbs */ "./src/apps/library-editor/components/video-subtitles/VideoSubtitles.hbs");
|
|
1184
|
+
/* harmony import */ var _VideoSubtitles_hbs__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_VideoSubtitles_hbs__WEBPACK_IMPORTED_MODULE_2__);
|
|
1185
|
+
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); }
|
|
1186
|
+
|
|
1187
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
1188
|
+
|
|
1189
|
+
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); } }
|
|
1190
|
+
|
|
1191
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
1192
|
+
|
|
1193
|
+
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); }
|
|
1194
|
+
|
|
1195
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
1196
|
+
|
|
1197
|
+
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); }; }
|
|
1198
|
+
|
|
1199
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
1200
|
+
|
|
1201
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
1202
|
+
|
|
1203
|
+
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; } }
|
|
1204
|
+
|
|
1205
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
1206
|
+
|
|
1207
|
+
|
|
1208
|
+
|
|
1209
|
+
|
|
1210
|
+
var VideoSubtitlesComponent = /*#__PURE__*/function (_Core$Component) {
|
|
1211
|
+
_inherits(VideoSubtitlesComponent, _Core$Component);
|
|
1212
|
+
|
|
1213
|
+
var _super = _createSuper(VideoSubtitlesComponent);
|
|
1214
|
+
|
|
1215
|
+
function VideoSubtitlesComponent(options) {
|
|
1216
|
+
_classCallCheck(this, VideoSubtitlesComponent);
|
|
1217
|
+
|
|
1218
|
+
return _super.call(this, options);
|
|
1219
|
+
}
|
|
1220
|
+
|
|
1221
|
+
_createClass(VideoSubtitlesComponent, [{
|
|
1222
|
+
key: "regions",
|
|
1223
|
+
value: function regions() {
|
|
1224
|
+
return {
|
|
1225
|
+
subtitles: {
|
|
1226
|
+
el: '.subtitles-list-region',
|
|
1227
|
+
replaceElement: true
|
|
1228
|
+
}
|
|
1229
|
+
};
|
|
1230
|
+
}
|
|
1231
|
+
}, {
|
|
1232
|
+
key: "viewOptions",
|
|
1233
|
+
value: function viewOptions() {
|
|
1234
|
+
return {
|
|
1235
|
+
headerText: this.options.headerText,
|
|
1236
|
+
emptyStateText: this.options.emptyStateText
|
|
1237
|
+
};
|
|
1238
|
+
}
|
|
1239
|
+
}, {
|
|
1240
|
+
key: "onRender",
|
|
1241
|
+
value: function onRender() {
|
|
1242
|
+
this.showChildView('subtitles', new VideoSubtitlesComponentCollection({
|
|
1243
|
+
collection: this.collection,
|
|
1244
|
+
channelName: this.options.channelName,
|
|
1245
|
+
isClickViewContent: this.options.isClickViewContent
|
|
1246
|
+
}));
|
|
1247
|
+
}
|
|
1248
|
+
}, {
|
|
1249
|
+
key: "name",
|
|
1250
|
+
get: function get() {
|
|
1251
|
+
return 'VideoSubtitlesComponent';
|
|
1252
|
+
}
|
|
1253
|
+
}, {
|
|
1254
|
+
key: "template",
|
|
1255
|
+
get: function get() {
|
|
1256
|
+
return _VideoSubtitles_hbs__WEBPACK_IMPORTED_MODULE_2___default.a;
|
|
1257
|
+
}
|
|
1258
|
+
}]);
|
|
1259
|
+
|
|
1260
|
+
return VideoSubtitlesComponent;
|
|
1261
|
+
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].Component);
|
|
1262
|
+
var VideoSubtitlesComponentCollection = /*#__PURE__*/function (_Core$ComponentCollec) {
|
|
1263
|
+
_inherits(VideoSubtitlesComponentCollection, _Core$ComponentCollec);
|
|
1264
|
+
|
|
1265
|
+
var _super2 = _createSuper(VideoSubtitlesComponentCollection);
|
|
1266
|
+
|
|
1267
|
+
function VideoSubtitlesComponentCollection(options) {
|
|
1268
|
+
_classCallCheck(this, VideoSubtitlesComponentCollection);
|
|
1269
|
+
|
|
1270
|
+
return _super2.call(this, options);
|
|
1271
|
+
}
|
|
1272
|
+
|
|
1273
|
+
_createClass(VideoSubtitlesComponentCollection, [{
|
|
1274
|
+
key: "name",
|
|
1275
|
+
get: function get() {
|
|
1276
|
+
return 'VideoSubtitlesComponentCollection';
|
|
1277
|
+
}
|
|
1278
|
+
}, {
|
|
1279
|
+
key: "childView",
|
|
1280
|
+
get: function get() {
|
|
1281
|
+
return _SubtitleItemComponent__WEBPACK_IMPORTED_MODULE_1__["SubtitleItemComponent"];
|
|
1282
|
+
}
|
|
1283
|
+
}, {
|
|
1284
|
+
key: "childViewOptions",
|
|
1285
|
+
get: function get() {
|
|
1286
|
+
return {
|
|
1287
|
+
channelName: this.options.channelName,
|
|
1288
|
+
isClickViewContent: this.options.isClickViewContent
|
|
1289
|
+
};
|
|
1290
|
+
}
|
|
1291
|
+
}]);
|
|
1292
|
+
|
|
1293
|
+
return VideoSubtitlesComponentCollection;
|
|
1294
|
+
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].ComponentCollection);
|
|
1295
|
+
|
|
1296
|
+
/***/ }),
|
|
1297
|
+
|
|
1298
|
+
/***/ "./src/apps/library-editor/components/video-subtitles/subtitle.scss":
|
|
1299
|
+
/*!**************************************************************************!*\
|
|
1300
|
+
!*** ./src/apps/library-editor/components/video-subtitles/subtitle.scss ***!
|
|
1301
|
+
\**************************************************************************/
|
|
1302
|
+
/*! no static exports found */
|
|
1303
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1304
|
+
|
|
1305
|
+
// extracted by mini-css-extract-plugin
|
|
1306
|
+
module.exports = {"svgContainer":"cv--svgContainer--1VUhp","actionSvg":"cv--actionSvg--3cODR"};
|
|
1307
|
+
|
|
1308
|
+
/***/ }),
|
|
1309
|
+
|
|
1310
|
+
/***/ "./src/apps/library-editor/views/edit-resources/EditResources.hbs":
|
|
1311
|
+
/*!************************************************************************!*\
|
|
1312
|
+
!*** ./src/apps/library-editor/views/edit-resources/EditResources.hbs ***!
|
|
1313
|
+
\************************************************************************/
|
|
1314
|
+
/*! no static exports found */
|
|
1315
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1316
|
+
|
|
1317
|
+
var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
|
|
1318
|
+
module.exports = (Handlebars['default'] || Handlebars).template({"1":function(container,depth0,helpers,partials,data) {
|
|
1319
|
+
return "col-5 py-3";
|
|
1320
|
+
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
1321
|
+
var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {});
|
|
1322
|
+
|
|
1323
|
+
return "<div class=\"tab-region\"></div>\r\n\r\n<div class=\"row pb-2\">\r\n <div class=\""
|
|
1324
|
+
+ ((stack1 = helpers["if"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.isClickViewContent : stack1),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
1325
|
+
+ "\">\r\n <div class=\"clickview-subtitles-list-region\"></div>\r\n </div>\r\n <div class=\"col-7\">\r\n <div class=\"subtitles-upload-region\"></div>\r\n <div class=\"subtitles-upload-list-region p-0 col-8\"></div>\r\n <div class=\"customer-subtitles-list-region p-0 col-8\"></div>\r\n </div>\r\n</div>\r\n\r\n<div class=\"row border-top pt-1\">\r\n <div class=\""
|
|
1326
|
+
+ ((stack1 = helpers["if"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.isClickViewContent : stack1),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
1327
|
+
+ "\">\r\n <div class=\"clickview-resources-list-region\"></div>\r\n </div>\r\n <div class=\"col-7\">\r\n <div class=\"resources-upload-region\"></div>\r\n <div class=\"resources-upload-list-region p-0 col-8\"></div>\r\n <div class=\"customer-resources-list-region p-0 col-8\"></div>\r\n </div>\r\n</div>\r\n\r\n<div class=\"row border-top pt-3\">\r\n <div class=\""
|
|
1328
|
+
+ ((stack1 = helpers["if"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.isClickViewContent : stack1),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
1329
|
+
+ "\">\r\n <div class=\"clickview-link-list-region\"></div>\r\n </div>\r\n <div class=\"col-7\">\r\n <div class=\"add-links-region mb-2\"></div>\r\n <div class=\"customer-link-list-region p-0 col-8\"></div>\r\n </div>\r\n</div>";
|
|
1330
|
+
},"useData":true});
|
|
1331
|
+
|
|
1332
|
+
/***/ }),
|
|
1333
|
+
|
|
1334
|
+
/***/ "./src/apps/library-editor/views/edit-resources/EditResourcesView.ts":
|
|
1335
|
+
/*!***************************************************************************!*\
|
|
1336
|
+
!*** ./src/apps/library-editor/views/edit-resources/EditResourcesView.ts ***!
|
|
1337
|
+
\***************************************************************************/
|
|
1338
|
+
/*! exports provided: EditResourcesView */
|
|
1339
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1340
|
+
|
|
1341
|
+
"use strict";
|
|
1342
|
+
__webpack_require__.r(__webpack_exports__);
|
|
1343
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EditResourcesView", function() { return EditResourcesView; });
|
|
1344
|
+
/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! underscore */ "underscore");
|
|
1345
|
+
/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(underscore__WEBPACK_IMPORTED_MODULE_0__);
|
|
1346
|
+
/* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! backbone */ "backbone");
|
|
1347
|
+
/* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(backbone__WEBPACK_IMPORTED_MODULE_1__);
|
|
1348
|
+
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
1349
|
+
/* harmony import */ var _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/services/InstanceManager */ "../../libs/common/src/backbone/services/InstanceManager.ts");
|
|
1350
|
+
/* 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");
|
|
1351
|
+
/* harmony import */ var _libs_common_src_backbone_constants_CommonChannels__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/constants/CommonChannels */ "../../libs/common/src/backbone/constants/CommonChannels.ts");
|
|
1352
|
+
/* harmony import */ var _libs_common_src_backbone_enums_DataServiceErrorType__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/enums/DataServiceErrorType */ "../../libs/common/src/backbone/enums/DataServiceErrorType.ts");
|
|
1353
|
+
/* harmony import */ var _libs_shared_src_apps_upload_services_UploadService__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../../../../libs/shared/src/apps/upload/services/UploadService */ "../../libs/shared/src/apps/upload/services/UploadService.ts");
|
|
1354
|
+
/* harmony import */ var _libs_shared_src_apps_upload_constants_UploadConstants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../../../../libs/shared/src/apps/upload/constants/UploadConstants */ "../../libs/shared/src/apps/upload/constants/UploadConstants.ts");
|
|
1355
|
+
/* harmony import */ var _libs_shared_src_apps_upload_utils_FileExtensionsHelper__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../../../../../libs/shared/src/apps/upload/utils/FileExtensionsHelper */ "../../libs/shared/src/apps/upload/utils/FileExtensionsHelper.ts");
|
|
1356
|
+
/* harmony import */ var _shared_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../../shared/constants */ "./src/shared/constants/index.ts");
|
|
1357
|
+
/* harmony import */ var _shared_utils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../../shared/utils */ "./src/shared/utils/index.ts");
|
|
1358
|
+
/* harmony import */ var _shared_models_Resource__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../../../shared/models/Resource */ "./src/shared/models/Resource.ts");
|
|
1359
|
+
/* harmony import */ var _shared_enums__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../../../shared/enums */ "./src/shared/enums/index.ts");
|
|
1360
|
+
/* harmony import */ var _shared_behaviors__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../../../shared/behaviors */ "./src/shared/behaviors/index.ts");
|
|
1361
|
+
/* harmony import */ var _shared_services_UserDataService__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../../../shared/services/UserDataService */ "./src/shared/services/UserDataService.ts");
|
|
1362
|
+
/* harmony import */ var _components_file_select_FileSelectComponent__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../../components/file-select/FileSelectComponent */ "./src/apps/library-editor/components/file-select/FileSelectComponent.ts");
|
|
1363
|
+
/* harmony import */ var _components_video_resources_VideoResourcesComponent__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../../components/video-resources/VideoResourcesComponent */ "./src/apps/library-editor/components/video-resources/VideoResourcesComponent.ts");
|
|
1364
|
+
/* harmony import */ var _components_concatenate_request_ConcatenateRequestComponent__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../../components/concatenate-request/ConcatenateRequestComponent */ "./src/apps/library-editor/components/concatenate-request/ConcatenateRequestComponent.ts");
|
|
1365
|
+
/* harmony import */ var _components_file_uploads_FileUploadsComponentCollection__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../../components/file-uploads/FileUploadsComponentCollection */ "./src/apps/library-editor/components/file-uploads/FileUploadsComponentCollection.ts");
|
|
1366
|
+
/* harmony import */ var _components_language_select_LanguageSelectComponent__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../../components/language-select/LanguageSelectComponent */ "./src/apps/library-editor/components/language-select/LanguageSelectComponent.ts");
|
|
1367
|
+
/* harmony import */ var _components_edit_video_tabs_EditVideoTabsComponent__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../../components/edit-video-tabs/EditVideoTabsComponent */ "./src/apps/library-editor/components/edit-video-tabs/EditVideoTabsComponent.ts");
|
|
1368
|
+
/* harmony import */ var _components_video_subtitles_VideoSubtitlesComponent__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../../components/video-subtitles/VideoSubtitlesComponent */ "./src/apps/library-editor/components/video-subtitles/VideoSubtitlesComponent.ts");
|
|
1369
|
+
/* harmony import */ var _components_add_links_AddLinksComponent__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ../../components/add-links/AddLinksComponent */ "./src/apps/library-editor/components/add-links/AddLinksComponent.ts");
|
|
1370
|
+
/* harmony import */ var _components_edit_links_VideoLinksComponent__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ../../components/edit-links/VideoLinksComponent */ "./src/apps/library-editor/components/edit-links/VideoLinksComponent.ts");
|
|
1371
|
+
/* harmony import */ var _errors__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ../../errors */ "./src/apps/library-editor/errors/index.ts");
|
|
1372
|
+
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ../../constants */ "./src/apps/library-editor/constants/index.ts");
|
|
1373
|
+
/* harmony import */ var _enums__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ../../enums */ "./src/apps/library-editor/enums/index.ts");
|
|
1374
|
+
/* harmony import */ var _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ../../../../../../../libs/analytics/src/interfaces */ "../../libs/analytics/src/interfaces/index.ts");
|
|
1375
|
+
/* harmony import */ var _libs_analytics_src_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ../../../../../../../libs/analytics/src/AnalyticsHelper */ "../../libs/analytics/src/AnalyticsHelper.ts");
|
|
1376
|
+
/* harmony import */ var _EditResources_hbs__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./EditResources.hbs */ "./src/apps/library-editor/views/edit-resources/EditResources.hbs");
|
|
1377
|
+
/* harmony import */ var _EditResources_hbs__WEBPACK_IMPORTED_MODULE_30___default = /*#__PURE__*/__webpack_require__.n(_EditResources_hbs__WEBPACK_IMPORTED_MODULE_30__);
|
|
1378
|
+
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); }
|
|
1379
|
+
|
|
1380
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
1381
|
+
|
|
1382
|
+
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); } }
|
|
1383
|
+
|
|
1384
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
1385
|
+
|
|
1386
|
+
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); }
|
|
1387
|
+
|
|
1388
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
1389
|
+
|
|
1390
|
+
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); }; }
|
|
1391
|
+
|
|
1392
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
1393
|
+
|
|
1394
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
1395
|
+
|
|
1396
|
+
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; } }
|
|
1397
|
+
|
|
1398
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
1399
|
+
|
|
1400
|
+
|
|
1401
|
+
|
|
1402
|
+
|
|
1403
|
+
|
|
1404
|
+
|
|
1405
|
+
|
|
1406
|
+
|
|
1407
|
+
|
|
1408
|
+
|
|
1409
|
+
|
|
1410
|
+
|
|
1411
|
+
|
|
1412
|
+
|
|
1413
|
+
|
|
1414
|
+
|
|
1415
|
+
|
|
1416
|
+
|
|
1417
|
+
|
|
1418
|
+
|
|
1419
|
+
|
|
1420
|
+
|
|
1421
|
+
|
|
1422
|
+
|
|
1423
|
+
|
|
1424
|
+
|
|
1425
|
+
|
|
1426
|
+
|
|
1427
|
+
|
|
1428
|
+
|
|
1429
|
+
|
|
1430
|
+
|
|
1431
|
+
|
|
1432
|
+
var SUBTITLE_LIMIT = 5;
|
|
1433
|
+
var RESOURCE_LIMIT = 25;
|
|
1434
|
+
var LINK_LIMIT = 25;
|
|
1435
|
+
var EditResourcesView = /*#__PURE__*/function (_Core$View) {
|
|
1436
|
+
_inherits(EditResourcesView, _Core$View);
|
|
1437
|
+
|
|
1438
|
+
var _super = _createSuper(EditResourcesView);
|
|
1439
|
+
|
|
1440
|
+
function EditResourcesView(options) {
|
|
1441
|
+
_classCallCheck(this, EditResourcesView);
|
|
1442
|
+
|
|
1443
|
+
return _super.call(this, options);
|
|
1444
|
+
}
|
|
1445
|
+
|
|
1446
|
+
_createClass(EditResourcesView, [{
|
|
1447
|
+
key: "initialize",
|
|
1448
|
+
value: function initialize() {
|
|
1449
|
+
this.initializeUploadServices();
|
|
1450
|
+
this.bindDataListeners();
|
|
1451
|
+
this.bindViewListeners();
|
|
1452
|
+
this.bindFileSelectListeners();
|
|
1453
|
+
_shared_utils__WEBPACK_IMPORTED_MODULE_11__["TabHelper"].initBackButton();
|
|
1454
|
+
this.chapterDataService = _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_3__["InstanceManager"].getInstance(_shared_constants__WEBPACK_IMPORTED_MODULE_10__["DataServices"].Chapter, this);
|
|
1455
|
+
this.videoDataService = _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_3__["InstanceManager"].getInstance(_shared_constants__WEBPACK_IMPORTED_MODULE_10__["DataServices"].Video, this);
|
|
1456
|
+
this.linkDataService = _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_3__["InstanceManager"].getInstance(_shared_constants__WEBPACK_IMPORTED_MODULE_10__["DataServices"].Link, this);
|
|
1457
|
+
this.resourceDataService = _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_3__["InstanceManager"].getInstance(_shared_constants__WEBPACK_IMPORTED_MODULE_10__["DataServices"].Resource, this);
|
|
1458
|
+
this.subtitleDataService = _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_3__["InstanceManager"].getInstance(_shared_constants__WEBPACK_IMPORTED_MODULE_10__["DataServices"].Subtitle, this);
|
|
1459
|
+
this.resourceUploads = [];
|
|
1460
|
+
this.resourceUploadCount = 0;
|
|
1461
|
+
}
|
|
1462
|
+
}, {
|
|
1463
|
+
key: "initializeUploadServices",
|
|
1464
|
+
value: function initializeUploadServices() {
|
|
1465
|
+
this.resourceUploadService = new _libs_shared_src_apps_upload_services_UploadService__WEBPACK_IMPORTED_MODULE_7__["LearningResourceUploadService"]();
|
|
1466
|
+
this.listenTo(_shared_constants__WEBPACK_IMPORTED_MODULE_10__["ServiceChannels"].RESOURCE_UPLOAD, _libs_shared_src_apps_upload_constants_UploadConstants__WEBPACK_IMPORTED_MODULE_8__["UploadEventNames"].UPLOAD_COMPLETE, this.onResourceUploadComplete);
|
|
1467
|
+
this.subtitleUploadService = new _libs_shared_src_apps_upload_services_UploadService__WEBPACK_IMPORTED_MODULE_7__["SubtitleUploadService"]();
|
|
1468
|
+
this.listenTo(_shared_constants__WEBPACK_IMPORTED_MODULE_10__["ServiceChannels"].SUBTITLE_UPLOAD, _libs_shared_src_apps_upload_constants_UploadConstants__WEBPACK_IMPORTED_MODULE_8__["UploadEventNames"].UPLOAD_COMPLETE, this.onSubtitleUploadComplete);
|
|
1469
|
+
}
|
|
1470
|
+
}, {
|
|
1471
|
+
key: "bindDataListeners",
|
|
1472
|
+
value: function bindDataListeners() {
|
|
1473
|
+
this.listenTo(_shared_constants__WEBPACK_IMPORTED_MODULE_10__["DataChannels"].VIDEO, "".concat(_shared_constants__WEBPACK_IMPORTED_MODULE_10__["DataPrefixes"].VIDEOS, ":").concat(this.options.videoId, ":sync"), this.render);
|
|
1474
|
+
this.listenTo(_shared_constants__WEBPACK_IMPORTED_MODULE_10__["DataChannels"].VIDEO, "".concat(_shared_constants__WEBPACK_IMPORTED_MODULE_10__["DataPrefixes"].VIDEOS, ":").concat(this.options.videoId, ":error"), this.onVideoDataError);
|
|
1475
|
+
this.listenTo(_shared_constants__WEBPACK_IMPORTED_MODULE_10__["DataChannels"].VIDEO, "".concat(_shared_constants__WEBPACK_IMPORTED_MODULE_10__["DataPrefixes"].VIDEO_HAS_PHYSICAL_CHAPTERS, ":").concat(this.options.videoId, ":sync"), this.render);
|
|
1476
|
+
this.listenTo(_shared_constants__WEBPACK_IMPORTED_MODULE_10__["DataChannels"].CHAPTER, "".concat(_shared_constants__WEBPACK_IMPORTED_MODULE_10__["DataPrefixes"].CONCATENATE_STATUS, ":").concat(this.options.videoId, ":error"), this.onConcatenateDataError);
|
|
1477
|
+
}
|
|
1478
|
+
}, {
|
|
1479
|
+
key: "bindViewListeners",
|
|
1480
|
+
value: function bindViewListeners() {
|
|
1481
|
+
this.listenTo(this.channelName, 'add:link', this.onAddLink);
|
|
1482
|
+
this.listenTo(this.channelName, 'delete:subtitle', this.onDeleteSubtitle);
|
|
1483
|
+
this.listenTo(this.channelName, 'delete:resource', this.onDeleteResource);
|
|
1484
|
+
this.listenTo(this.channelName, 'delete:link', this.onDeleteLink);
|
|
1485
|
+
this.listenTo(this.channelName, 'cancel:upload', this.onCancelUpload);
|
|
1486
|
+
this.listenTo(this.channelName, _constants__WEBPACK_IMPORTED_MODULE_26__["LibraryEditorActions"].MergeChapters, this.onMergeChapters);
|
|
1487
|
+
}
|
|
1488
|
+
}, {
|
|
1489
|
+
key: "bindFileSelectListeners",
|
|
1490
|
+
value: function bindFileSelectListeners() {
|
|
1491
|
+
this.listenTo(this.getSubtitleSelectChannelName(), _libs_shared_src_apps_upload_constants_UploadConstants__WEBPACK_IMPORTED_MODULE_8__["UploadEventNames"].FILES_SELECTED, this.onSubtitleFilesAdded);
|
|
1492
|
+
this.listenTo(this.getResourceSelectChannelName(), _libs_shared_src_apps_upload_constants_UploadConstants__WEBPACK_IMPORTED_MODULE_8__["UploadEventNames"].FILES_SELECTED, this.onResourceFilesAdded);
|
|
1493
|
+
}
|
|
1494
|
+
}, {
|
|
1495
|
+
key: "getSubtitleSelectChannelName",
|
|
1496
|
+
value: function getSubtitleSelectChannelName() {
|
|
1497
|
+
return "".concat(this.name).concat(this.cid, "subtitles");
|
|
1498
|
+
}
|
|
1499
|
+
}, {
|
|
1500
|
+
key: "getResourceSelectChannelName",
|
|
1501
|
+
value: function getResourceSelectChannelName() {
|
|
1502
|
+
return "".concat(this.name).concat(this.cid, "resources");
|
|
1503
|
+
}
|
|
1504
|
+
}, {
|
|
1505
|
+
key: "onVideoDataError",
|
|
1506
|
+
value: function onVideoDataError(error) {
|
|
1507
|
+
switch (error.type) {
|
|
1508
|
+
case _libs_common_src_backbone_enums_DataServiceErrorType__WEBPACK_IMPORTED_MODULE_6__["DataServiceErrorType"].NotFound:
|
|
1509
|
+
_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_2__["Core"].ErrorHelper.throw(new _errors__WEBPACK_IMPORTED_MODULE_25__["VideoNotFoundError"]());
|
|
1510
|
+
break;
|
|
1511
|
+
|
|
1512
|
+
case _libs_common_src_backbone_enums_DataServiceErrorType__WEBPACK_IMPORTED_MODULE_6__["DataServiceErrorType"].Forbidden:
|
|
1513
|
+
_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_2__["Core"].ErrorHelper.throw(new _errors__WEBPACK_IMPORTED_MODULE_25__["ForbiddenVideoError"]());
|
|
1514
|
+
break;
|
|
1515
|
+
}
|
|
1516
|
+
}
|
|
1517
|
+
}, {
|
|
1518
|
+
key: "onConcatenateDataError",
|
|
1519
|
+
value: function onConcatenateDataError(error) {
|
|
1520
|
+
if (error.type !== _libs_common_src_backbone_enums_DataServiceErrorType__WEBPACK_IMPORTED_MODULE_6__["DataServiceErrorType"].NotFound) return;
|
|
1521
|
+
this.concatenateRequestNotFound = true;
|
|
1522
|
+
this.render();
|
|
1523
|
+
}
|
|
1524
|
+
}, {
|
|
1525
|
+
key: "onSubtitleFilesAdded",
|
|
1526
|
+
value: function onSubtitleFilesAdded(files, type) {
|
|
1527
|
+
if (files.length > SUBTITLE_LIMIT - this.model.subtitles.length) {
|
|
1528
|
+
_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_2__["Core"].ErrorHelper.throw(new _errors__WEBPACK_IMPORTED_MODULE_25__["TooManySubtitlesError"](SUBTITLE_LIMIT));
|
|
1529
|
+
return;
|
|
1530
|
+
}
|
|
1531
|
+
|
|
1532
|
+
if (type) this.interactionType = type;
|
|
1533
|
+
this.subtitleUploadService.addFiles(files);
|
|
1534
|
+
}
|
|
1535
|
+
}, {
|
|
1536
|
+
key: "onResourceFilesAdded",
|
|
1537
|
+
value: function onResourceFilesAdded(files, type) {
|
|
1538
|
+
if (files.length > RESOURCE_LIMIT - this.model.resources.length) {
|
|
1539
|
+
_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_2__["Core"].ErrorHelper.throw(new _errors__WEBPACK_IMPORTED_MODULE_25__["TooManyResourcesError"](RESOURCE_LIMIT));
|
|
1540
|
+
return;
|
|
1541
|
+
}
|
|
1542
|
+
|
|
1543
|
+
this.resourceUploadCount += files.length;
|
|
1544
|
+
if (type) this.interactionType = type;
|
|
1545
|
+
this.resourceUploadService.addFiles(files);
|
|
1546
|
+
}
|
|
1547
|
+
}, {
|
|
1548
|
+
key: "onAddLink",
|
|
1549
|
+
value: function onAddLink(link) {
|
|
1550
|
+
var _this = this;
|
|
1551
|
+
|
|
1552
|
+
if (this.model.links.length === LINK_LIMIT) return; // If they are about to reach the limit, immediately hide the link form.
|
|
1553
|
+
|
|
1554
|
+
if (this.model.links.length + 1 === LINK_LIMIT) this.renderAddLinks(true);
|
|
1555
|
+
this.linkDataService.addLink(this.model.get('id'), link, function (newLink) {
|
|
1556
|
+
_this.model.links.add(newLink);
|
|
1557
|
+
|
|
1558
|
+
_this.render();
|
|
1559
|
+
});
|
|
1560
|
+
}
|
|
1561
|
+
}, {
|
|
1562
|
+
key: "regions",
|
|
1563
|
+
value: function regions() {
|
|
1564
|
+
return {
|
|
1565
|
+
tabs: {
|
|
1566
|
+
el: '.tab-region',
|
|
1567
|
+
partialLoading: _shared_enums__WEBPACK_IMPORTED_MODULE_13__["PartialLoading"].EditVideoTabs
|
|
1568
|
+
},
|
|
1569
|
+
subtitlesUpload: {
|
|
1570
|
+
el: '.subtitles-upload-region',
|
|
1571
|
+
partialLoading: _shared_enums__WEBPACK_IMPORTED_MODULE_13__["PartialLoading"].EditVideoUploadArea
|
|
1572
|
+
},
|
|
1573
|
+
subtitlesUploadList: '.subtitles-upload-list-region',
|
|
1574
|
+
customerSubtitlesList: '.customer-subtitles-list-region',
|
|
1575
|
+
clickViewSubtitlesList: '.clickview-subtitles-list-region',
|
|
1576
|
+
resourcesUpload: {
|
|
1577
|
+
el: '.resources-upload-region',
|
|
1578
|
+
partialLoading: _shared_enums__WEBPACK_IMPORTED_MODULE_13__["PartialLoading"].EditVideoUploadArea
|
|
1579
|
+
},
|
|
1580
|
+
resourcesUploadList: '.resources-upload-list-region',
|
|
1581
|
+
customerResourcesList: '.customer-resources-list-region',
|
|
1582
|
+
clickViewResourcesList: '.clickview-resources-list-region',
|
|
1583
|
+
addLinks: {
|
|
1584
|
+
el: '.add-links-region',
|
|
1585
|
+
partialLoading: _shared_enums__WEBPACK_IMPORTED_MODULE_13__["PartialLoading"].EditVideoUploadArea
|
|
1586
|
+
},
|
|
1587
|
+
customerLinkList: '.customer-link-list-region',
|
|
1588
|
+
clickViewLinkList: '.clickview-link-list-region'
|
|
1589
|
+
};
|
|
1590
|
+
}
|
|
1591
|
+
/**
|
|
1592
|
+
* We call this function in onRender to not start polling if we don't have a concatenateRequest
|
|
1593
|
+
* or if the concatenate request isn't currently concatenating.
|
|
1594
|
+
*/
|
|
1595
|
+
|
|
1596
|
+
}, {
|
|
1597
|
+
key: "startPollingConcatenation",
|
|
1598
|
+
value: function startPollingConcatenation() {
|
|
1599
|
+
if (!this.concatenateRequest) return;
|
|
1600
|
+
var ignoreStatuses = [_enums__WEBPACK_IMPORTED_MODULE_27__["MediaConcatenateStatus"].SingleFile, _enums__WEBPACK_IMPORTED_MODULE_27__["MediaConcatenateStatus"].ConcatenationFailed];
|
|
1601
|
+
if (underscore__WEBPACK_IMPORTED_MODULE_0__["contains"](ignoreStatuses, this.concatenateRequest.get('status'))) return;
|
|
1602
|
+
this.pollConcatenation();
|
|
1603
|
+
}
|
|
1604
|
+
/**
|
|
1605
|
+
* This function exists seperately from startPollingConcatenation() so that
|
|
1606
|
+
* we can force the polling to start when this.concatenateRequest is null
|
|
1607
|
+
*
|
|
1608
|
+
* This is done when the merge chapter button is clicked to request concatenation
|
|
1609
|
+
*/
|
|
1610
|
+
|
|
1611
|
+
}, {
|
|
1612
|
+
key: "pollConcatenation",
|
|
1613
|
+
value: function pollConcatenation() {
|
|
1614
|
+
var _this2 = this;
|
|
1615
|
+
|
|
1616
|
+
if (this.isDestroyed()) return;
|
|
1617
|
+
this.chapterDataService.getConcatenateRequest(this.options.videoId, function (data) {
|
|
1618
|
+
_this2.concatenateRequest = data;
|
|
1619
|
+
|
|
1620
|
+
if (_this2.concatenateRequest.get('status') !== _enums__WEBPACK_IMPORTED_MODULE_27__["MediaConcatenateStatus"].SingleFile) {
|
|
1621
|
+
setTimeout(function () {
|
|
1622
|
+
return _this2.pollConcatenation();
|
|
1623
|
+
}, 5000);
|
|
1624
|
+
|
|
1625
|
+
_this2.renderConcatenationRequest();
|
|
1626
|
+
|
|
1627
|
+
return;
|
|
1628
|
+
}
|
|
1629
|
+
|
|
1630
|
+
_this2.videoDataService.clearPhysicialChaptersCache();
|
|
1631
|
+
|
|
1632
|
+
_this2.videoDataService.hasPhysicalChapters(_this2.options.videoId, function (model) {
|
|
1633
|
+
_this2.hasPhysicalChapters = model;
|
|
1634
|
+
|
|
1635
|
+
_this2.renderSubtitleFileSelect();
|
|
1636
|
+
});
|
|
1637
|
+
});
|
|
1638
|
+
}
|
|
1639
|
+
}, {
|
|
1640
|
+
key: "onDeleteResource",
|
|
1641
|
+
value: function onDeleteResource(resourceId) {
|
|
1642
|
+
var _this3 = this;
|
|
1643
|
+
|
|
1644
|
+
this.resourceDataService.deleteResource(this.options.videoId, resourceId, function () {
|
|
1645
|
+
_this3.logDeleteAction(_libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_28__["EntityType"].Resource, resourceId);
|
|
1646
|
+
|
|
1647
|
+
_this3.render();
|
|
1648
|
+
});
|
|
1649
|
+
}
|
|
1650
|
+
}, {
|
|
1651
|
+
key: "onDeleteSubtitle",
|
|
1652
|
+
value: function onDeleteSubtitle(subtitleId) {
|
|
1653
|
+
var _this4 = this;
|
|
1654
|
+
|
|
1655
|
+
this.subtitleDataService.deleteSubtitle(this.options.videoId, subtitleId, function () {
|
|
1656
|
+
_this4.logDeleteAction(_libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_28__["EntityType"].Subtitle, subtitleId);
|
|
1657
|
+
|
|
1658
|
+
_this4.render();
|
|
1659
|
+
});
|
|
1660
|
+
}
|
|
1661
|
+
}, {
|
|
1662
|
+
key: "onDeleteLink",
|
|
1663
|
+
value: function onDeleteLink(linkId) {
|
|
1664
|
+
var _this5 = this;
|
|
1665
|
+
|
|
1666
|
+
this.linkDataService.deleteLink(this.options.videoId, linkId, function () {
|
|
1667
|
+
_this5.logDeleteAction(_libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_28__["EntityType"].Link, linkId);
|
|
1668
|
+
|
|
1669
|
+
_this5.render();
|
|
1670
|
+
});
|
|
1671
|
+
}
|
|
1672
|
+
}, {
|
|
1673
|
+
key: "onCancelUpload",
|
|
1674
|
+
value: function onCancelUpload(uploadId) {
|
|
1675
|
+
/**
|
|
1676
|
+
* We don't know if it was a subtitle upload or resource upload
|
|
1677
|
+
* that was cancelled. But we do know that the uploadId will be unique
|
|
1678
|
+
* so we jsut blindly cancel it in both services.
|
|
1679
|
+
*
|
|
1680
|
+
* Bit hacky... sue me - Sha
|
|
1681
|
+
*/
|
|
1682
|
+
this.resourceUploadService.cancelUpload(uploadId);
|
|
1683
|
+
this.subtitleUploadService.cancelUpload(uploadId);
|
|
1684
|
+
}
|
|
1685
|
+
}, {
|
|
1686
|
+
key: "onResourceUploadComplete",
|
|
1687
|
+
value: function onResourceUploadComplete(upload) {
|
|
1688
|
+
var _this6 = this;
|
|
1689
|
+
|
|
1690
|
+
var uploadData = upload.toJSON();
|
|
1691
|
+
var data = {
|
|
1692
|
+
fileId: uploadData.fileInfo.id,
|
|
1693
|
+
uploadId: uploadData.file.cvUpload.uploadId,
|
|
1694
|
+
name: uploadData.fileInfo.name,
|
|
1695
|
+
type: _libs_shared_src_apps_upload_utils_FileExtensionsHelper__WEBPACK_IMPORTED_MODULE_9__["FileExtensionHelper"].getResourceType(uploadData.fileInfo.extension),
|
|
1696
|
+
extension: uploadData.fileInfo.extension,
|
|
1697
|
+
fileSize: uploadData.fileInfo.size,
|
|
1698
|
+
fileUrl: uploadData.fileInfo.url,
|
|
1699
|
+
ingestUrl: uploadData.file.cvUpload.ingestUrl,
|
|
1700
|
+
metaData: {
|
|
1701
|
+
type: _libs_shared_src_apps_upload_utils_FileExtensionsHelper__WEBPACK_IMPORTED_MODULE_9__["FileExtensionHelper"].getResourceType(uploadData.fileInfo.extension)
|
|
1702
|
+
},
|
|
1703
|
+
contribution: false,
|
|
1704
|
+
url: uploadData.fileInfo.url,
|
|
1705
|
+
fileIdType: 2 // FileApiv1
|
|
1706
|
+
|
|
1707
|
+
};
|
|
1708
|
+
this.resourceUploads.push(data);
|
|
1709
|
+
this.resourceUploadCount--;
|
|
1710
|
+
if (this.resourceUploadCount > 0) return; // This is only run once all resources have been uploaded.
|
|
1711
|
+
|
|
1712
|
+
this.resourceDataService.addResource(this.options.videoId, this.resourceUploads, function (resource) {
|
|
1713
|
+
_this6.model.resources.add(resource);
|
|
1714
|
+
|
|
1715
|
+
var uploadedResource = _this6.resourceUploadService.getCollection().filter(function (uploaded) {
|
|
1716
|
+
return uploaded.get('fileInfo').id === resource.get('fileId');
|
|
1717
|
+
});
|
|
1718
|
+
|
|
1719
|
+
_this6.resourceUploadService.getCollection().remove(uploadedResource);
|
|
1720
|
+
|
|
1721
|
+
_this6.logUploadAction(resource);
|
|
1722
|
+
|
|
1723
|
+
_this6.render();
|
|
1724
|
+
});
|
|
1725
|
+
this.resourceUploads = [];
|
|
1726
|
+
}
|
|
1727
|
+
}, {
|
|
1728
|
+
key: "onSubtitleUploadComplete",
|
|
1729
|
+
value: function onSubtitleUploadComplete(upload) {
|
|
1730
|
+
var _this7 = this;
|
|
1731
|
+
|
|
1732
|
+
var promise = $.Deferred();
|
|
1733
|
+
var languageSelector = new _components_language_select_LanguageSelectComponent__WEBPACK_IMPORTED_MODULE_20__["LanguageSelectComponent"]({
|
|
1734
|
+
/**
|
|
1735
|
+
* TODO: Pull the default language from the user's country.
|
|
1736
|
+
*/
|
|
1737
|
+
defaultLanguage: {
|
|
1738
|
+
code: 'en',
|
|
1739
|
+
name: 'English'
|
|
1740
|
+
},
|
|
1741
|
+
promise: promise
|
|
1742
|
+
});
|
|
1743
|
+
promise.done(function (language) {
|
|
1744
|
+
var uploadData = upload.toJSON();
|
|
1745
|
+
var data = {
|
|
1746
|
+
fileId: uploadData.fileInfo.id,
|
|
1747
|
+
name: language.name,
|
|
1748
|
+
language: language.code,
|
|
1749
|
+
type: _libs_shared_src_apps_upload_utils_FileExtensionsHelper__WEBPACK_IMPORTED_MODULE_9__["FileExtensionHelper"].getResourceType(uploadData.fileInfo.extension),
|
|
1750
|
+
fileIdType: 2 // FileApiv1
|
|
1751
|
+
|
|
1752
|
+
};
|
|
1753
|
+
|
|
1754
|
+
_this7.subtitleDataService.addSubtitle(_this7.options.videoId, data, function (subtitle) {
|
|
1755
|
+
_this7.model.subtitles.add(subtitle);
|
|
1756
|
+
|
|
1757
|
+
_this7.subtitleUploadService.getCollection().remove(upload);
|
|
1758
|
+
|
|
1759
|
+
_this7.logUploadAction(subtitle);
|
|
1760
|
+
|
|
1761
|
+
_this7.render();
|
|
1762
|
+
});
|
|
1763
|
+
}).fail(function () {
|
|
1764
|
+
_this7.subtitleUploadService.cancelUpload(upload.get('id'));
|
|
1765
|
+
});
|
|
1766
|
+
var channel = backbone__WEBPACK_IMPORTED_MODULE_1__["Radio"].channel(_libs_common_src_backbone_constants_CommonChannels__WEBPACK_IMPORTED_MODULE_5__["CommonChannels"].POPUP);
|
|
1767
|
+
channel.trigger(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_2__["Core"].EventNames.SHOW_POPUP, languageSelector);
|
|
1768
|
+
}
|
|
1769
|
+
}, {
|
|
1770
|
+
key: "logUploadAction",
|
|
1771
|
+
value: function logUploadAction(item) {
|
|
1772
|
+
var entity = item instanceof _shared_models_Resource__WEBPACK_IMPORTED_MODULE_12__["Resource"] ? _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_28__["EntityType"].Resource : _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_28__["EntityType"].Subtitle;
|
|
1773
|
+
var descriptor = _libs_analytics_src_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_29__["AnalyticsHelper"].mapInteractionType(this.interactionType);
|
|
1774
|
+
var analyticsOptions = {
|
|
1775
|
+
location: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_28__["LocationContext"].EditVideoResources,
|
|
1776
|
+
actionType: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_28__["UserAction"].Upload,
|
|
1777
|
+
entity: entity,
|
|
1778
|
+
descriptor: descriptor
|
|
1779
|
+
};
|
|
1780
|
+
_libs_analytics_src_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_29__["AnalyticsHelper"].logUserAction(item, analyticsOptions);
|
|
1781
|
+
}
|
|
1782
|
+
}, {
|
|
1783
|
+
key: "logDeleteAction",
|
|
1784
|
+
value: function logDeleteAction(entity, id) {
|
|
1785
|
+
var analyticsOptions = {
|
|
1786
|
+
location: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_28__["LocationContext"].EditVideoResources,
|
|
1787
|
+
actionType: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_28__["UserAction"].Delete,
|
|
1788
|
+
entity: entity
|
|
1789
|
+
};
|
|
1790
|
+
var data = {
|
|
1791
|
+
id: id,
|
|
1792
|
+
parentId: +this.options.videoId
|
|
1793
|
+
};
|
|
1794
|
+
_libs_analytics_src_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_29__["AnalyticsHelper"].logUserAction(data, analyticsOptions);
|
|
1795
|
+
}
|
|
1796
|
+
}, {
|
|
1797
|
+
key: "onMergeChapters",
|
|
1798
|
+
value: function onMergeChapters() {
|
|
1799
|
+
var _this8 = this;
|
|
1800
|
+
|
|
1801
|
+
this.chapterDataService.addConcatenateRequest(this.options.videoId, function () {
|
|
1802
|
+
_this8.pollConcatenation();
|
|
1803
|
+
});
|
|
1804
|
+
}
|
|
1805
|
+
}, {
|
|
1806
|
+
key: "renderTabs",
|
|
1807
|
+
value: function renderTabs() {
|
|
1808
|
+
var hideChaptersTab = !_shared_utils__WEBPACK_IMPORTED_MODULE_11__["PermissionsHelper"].canEditVideo(this.model);
|
|
1809
|
+
this.showChildView('tabs', new _components_edit_video_tabs_EditVideoTabsComponent__WEBPACK_IMPORTED_MODULE_21__["EditVideoTabsComponent"]({
|
|
1810
|
+
tabs: _shared_utils__WEBPACK_IMPORTED_MODULE_11__["TabHelper"].getEditVideoTabs(this.options.videoId, {
|
|
1811
|
+
hideChaptersTab: hideChaptersTab
|
|
1812
|
+
}),
|
|
1813
|
+
activeTab: '.edit-resources-subtitles-applink',
|
|
1814
|
+
goBackTab: _shared_utils__WEBPACK_IMPORTED_MODULE_11__["TabHelper"].getBackButton(this.options.videoId)
|
|
1815
|
+
}));
|
|
1816
|
+
}
|
|
1817
|
+
}, {
|
|
1818
|
+
key: "renderSubtitleFileSelect",
|
|
1819
|
+
value: function renderSubtitleFileSelect() {
|
|
1820
|
+
if (this.hasPhysicalChapters.get('value')) {
|
|
1821
|
+
this.renderConcatenationRequest();
|
|
1822
|
+
return;
|
|
1823
|
+
}
|
|
1824
|
+
|
|
1825
|
+
var limitText = _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(this.lang, 'subtitlesLimit', {
|
|
1826
|
+
limit: SUBTITLE_LIMIT
|
|
1827
|
+
});
|
|
1828
|
+
this.showChildView('subtitlesUpload', new _components_file_select_FileSelectComponent__WEBPACK_IMPORTED_MODULE_16__["FileSelectComponent"]({
|
|
1829
|
+
title: this.isClickViewContent ? _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(this.lang, 'customerSubtitles') : _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(this.lang, 'subtitles'),
|
|
1830
|
+
description: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(this.lang, 'subtitlesInfo'),
|
|
1831
|
+
alternateText: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(this.lang, 'subtitlesAlternative'),
|
|
1832
|
+
mimeType: _libs_shared_src_apps_upload_utils_FileExtensionsHelper__WEBPACK_IMPORTED_MODULE_9__["FileExtensions"].SUBTITLES,
|
|
1833
|
+
channelName: this.getSubtitleSelectChannelName(),
|
|
1834
|
+
acceptMultiple: false,
|
|
1835
|
+
limitText: this.model.subtitles.length >= SUBTITLE_LIMIT ? limitText : null,
|
|
1836
|
+
isClickViewContent: this.isClickViewContent
|
|
1837
|
+
}));
|
|
1838
|
+
}
|
|
1839
|
+
}, {
|
|
1840
|
+
key: "renderSubtitleUploadList",
|
|
1841
|
+
value: function renderSubtitleUploadList() {
|
|
1842
|
+
var collection = this.subtitleUploadService.getCollection();
|
|
1843
|
+
this.showChildView('subtitlesUploadList', new _components_file_uploads_FileUploadsComponentCollection__WEBPACK_IMPORTED_MODULE_19__["FileUploadsComponentCollection"]({
|
|
1844
|
+
collection: collection,
|
|
1845
|
+
channelName: this.channelName
|
|
1846
|
+
}));
|
|
1847
|
+
}
|
|
1848
|
+
}, {
|
|
1849
|
+
key: "renderSubtitlesLists",
|
|
1850
|
+
value: function renderSubtitlesLists() {
|
|
1851
|
+
this.renderClickViewSubtitlesList();
|
|
1852
|
+
this.renderCustomerSubtitlesList();
|
|
1853
|
+
}
|
|
1854
|
+
}, {
|
|
1855
|
+
key: "renderClickViewSubtitlesList",
|
|
1856
|
+
value: function renderClickViewSubtitlesList() {
|
|
1857
|
+
if (!this.isClickViewContent) return;
|
|
1858
|
+
var subtitles = _shared_utils__WEBPACK_IMPORTED_MODULE_11__["PermissionsHelper"].filterObjectsByOwnerType(this.model.subtitles, _enums__WEBPACK_IMPORTED_MODULE_27__["ObjectOwnerType"].ClickView);
|
|
1859
|
+
this.showChildView('clickViewSubtitlesList', new _components_video_subtitles_VideoSubtitlesComponent__WEBPACK_IMPORTED_MODULE_22__["VideoSubtitlesComponent"]({
|
|
1860
|
+
collection: subtitles,
|
|
1861
|
+
channelName: this.channelName,
|
|
1862
|
+
isClickViewContent: true,
|
|
1863
|
+
headerText: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(this.lang, 'clickViewSubtitles'),
|
|
1864
|
+
emptyStateText: subtitles.models.length ? '' : _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(this.lang, 'clickViewSubtitlesEmpty')
|
|
1865
|
+
}));
|
|
1866
|
+
}
|
|
1867
|
+
}, {
|
|
1868
|
+
key: "renderCustomerSubtitlesList",
|
|
1869
|
+
value: function renderCustomerSubtitlesList() {
|
|
1870
|
+
this.showChildView('customerSubtitlesList', new _components_video_subtitles_VideoSubtitlesComponent__WEBPACK_IMPORTED_MODULE_22__["VideoSubtitlesComponent"]({
|
|
1871
|
+
collection: _shared_utils__WEBPACK_IMPORTED_MODULE_11__["PermissionsHelper"].filterObjectsByOwnerType(this.model.subtitles, _enums__WEBPACK_IMPORTED_MODULE_27__["ObjectOwnerType"].Customer, this.currentUser.get('customerId')),
|
|
1872
|
+
channelName: this.channelName
|
|
1873
|
+
}));
|
|
1874
|
+
}
|
|
1875
|
+
}, {
|
|
1876
|
+
key: "renderConcatenationRequest",
|
|
1877
|
+
value: function renderConcatenationRequest() {
|
|
1878
|
+
if (!this.isRendered()) return;
|
|
1879
|
+
this.showChildView('subtitlesUpload', new _components_concatenate_request_ConcatenateRequestComponent__WEBPACK_IMPORTED_MODULE_18__["ConcatenateRequestComponent"]({
|
|
1880
|
+
type: this.isClickViewContent ? 'clickViewSubtitles' : 'subtitles',
|
|
1881
|
+
channelName: this.channelName,
|
|
1882
|
+
model: this.concatenateRequest
|
|
1883
|
+
}));
|
|
1884
|
+
}
|
|
1885
|
+
}, {
|
|
1886
|
+
key: "renderResourcesFileSelect",
|
|
1887
|
+
value: function renderResourcesFileSelect() {
|
|
1888
|
+
var limitText = _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(this.lang, 'resourcesLimit', {
|
|
1889
|
+
limit: RESOURCE_LIMIT
|
|
1890
|
+
});
|
|
1891
|
+
this.showChildView('resourcesUpload', new _components_file_select_FileSelectComponent__WEBPACK_IMPORTED_MODULE_16__["FileSelectComponent"]({
|
|
1892
|
+
title: this.isClickViewContent ? _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(this.lang, 'customerResources') : _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(this.lang, 'resources'),
|
|
1893
|
+
description: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(this.lang, 'resourcesDescription'),
|
|
1894
|
+
alternateText: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(this.lang, 'resourcesAlternative'),
|
|
1895
|
+
mimeType: _libs_shared_src_apps_upload_utils_FileExtensionsHelper__WEBPACK_IMPORTED_MODULE_9__["FileExtensions"].RESOURCES,
|
|
1896
|
+
channelName: this.getResourceSelectChannelName(),
|
|
1897
|
+
limitText: this.model.resources.length >= RESOURCE_LIMIT ? limitText : null,
|
|
1898
|
+
isClickViewContent: this.isClickViewContent
|
|
1899
|
+
}));
|
|
1900
|
+
}
|
|
1901
|
+
}, {
|
|
1902
|
+
key: "renderResourcesUploadList",
|
|
1903
|
+
value: function renderResourcesUploadList() {
|
|
1904
|
+
var collection = this.resourceUploadService.getCollection();
|
|
1905
|
+
this.showChildView('resourcesUploadList', new _components_file_uploads_FileUploadsComponentCollection__WEBPACK_IMPORTED_MODULE_19__["FileUploadsComponentCollection"]({
|
|
1906
|
+
collection: collection,
|
|
1907
|
+
channelName: this.channelName
|
|
1908
|
+
}));
|
|
1909
|
+
}
|
|
1910
|
+
}, {
|
|
1911
|
+
key: "renderResourcesLists",
|
|
1912
|
+
value: function renderResourcesLists() {
|
|
1913
|
+
this.renderClickViewResourcesList();
|
|
1914
|
+
this.renderCustomerResourcesList();
|
|
1915
|
+
}
|
|
1916
|
+
}, {
|
|
1917
|
+
key: "renderClickViewResourcesList",
|
|
1918
|
+
value: function renderClickViewResourcesList() {
|
|
1919
|
+
if (!this.isClickViewContent) return;
|
|
1920
|
+
var resources = _shared_utils__WEBPACK_IMPORTED_MODULE_11__["PermissionsHelper"].filterObjectsByOwnerType(this.model.resources, _enums__WEBPACK_IMPORTED_MODULE_27__["ObjectOwnerType"].ClickView);
|
|
1921
|
+
this.showChildView('clickViewResourcesList', new _components_video_resources_VideoResourcesComponent__WEBPACK_IMPORTED_MODULE_17__["VideoResourcesComponent"]({
|
|
1922
|
+
model: this.model,
|
|
1923
|
+
customCollection: resources,
|
|
1924
|
+
editable: false,
|
|
1925
|
+
videoId: this.options.videoId,
|
|
1926
|
+
parentChannelName: this.channelName,
|
|
1927
|
+
headerText: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(this.lang, 'clickViewResources'),
|
|
1928
|
+
emptyStateText: resources.models.length ? '' : _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(this.lang, 'clickViewResourcesEmpty'),
|
|
1929
|
+
analyticsOptions: {
|
|
1930
|
+
location: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_28__["LocationContext"].EditVideoResources
|
|
1931
|
+
}
|
|
1932
|
+
}));
|
|
1933
|
+
}
|
|
1934
|
+
}, {
|
|
1935
|
+
key: "renderCustomerResourcesList",
|
|
1936
|
+
value: function renderCustomerResourcesList() {
|
|
1937
|
+
this.showChildView('customerResourcesList', new _components_video_resources_VideoResourcesComponent__WEBPACK_IMPORTED_MODULE_17__["VideoResourcesComponentCollection"]({
|
|
1938
|
+
collection: _shared_utils__WEBPACK_IMPORTED_MODULE_11__["PermissionsHelper"].filterObjectsByOwnerType(this.model.resources, _enums__WEBPACK_IMPORTED_MODULE_27__["ObjectOwnerType"].Customer, this.currentUser.get('customerId')),
|
|
1939
|
+
editable: true,
|
|
1940
|
+
videoId: this.options.videoId,
|
|
1941
|
+
channelName: this.channelName,
|
|
1942
|
+
analyticsOptions: {
|
|
1943
|
+
location: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_28__["LocationContext"].EditVideoResources
|
|
1944
|
+
}
|
|
1945
|
+
}));
|
|
1946
|
+
}
|
|
1947
|
+
}, {
|
|
1948
|
+
key: "renderAddLinks",
|
|
1949
|
+
value: function renderAddLinks(hide) {
|
|
1950
|
+
this.showChildView('addLinks', new _components_add_links_AddLinksComponent__WEBPACK_IMPORTED_MODULE_23__["AddLinksComponent"]({
|
|
1951
|
+
collection: this.model.get('links'),
|
|
1952
|
+
channelName: this.channelName,
|
|
1953
|
+
hide: hide || this.model.get('links').length === LINK_LIMIT,
|
|
1954
|
+
limit: LINK_LIMIT
|
|
1955
|
+
}));
|
|
1956
|
+
}
|
|
1957
|
+
}, {
|
|
1958
|
+
key: "renderLinkLists",
|
|
1959
|
+
value: function renderLinkLists() {
|
|
1960
|
+
var sharedComponentOptions = {
|
|
1961
|
+
channelName: this.channelName,
|
|
1962
|
+
analyticsOptions: {
|
|
1963
|
+
location: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_28__["LocationContext"].EditVideoResources
|
|
1964
|
+
},
|
|
1965
|
+
videoId: this.options.videoId
|
|
1966
|
+
};
|
|
1967
|
+
this.renderClickViewLinkList(sharedComponentOptions);
|
|
1968
|
+
this.renderCustomerLinkList(sharedComponentOptions);
|
|
1969
|
+
}
|
|
1970
|
+
}, {
|
|
1971
|
+
key: "renderClickViewLinkList",
|
|
1972
|
+
value: function renderClickViewLinkList(options) {
|
|
1973
|
+
if (!this.isClickViewContent) return;
|
|
1974
|
+
var links = _shared_utils__WEBPACK_IMPORTED_MODULE_11__["PermissionsHelper"].filterObjectsByOwnerType(this.model.links, _enums__WEBPACK_IMPORTED_MODULE_27__["ObjectOwnerType"].ClickView);
|
|
1975
|
+
this.showChildView('clickViewLinkList', new _components_edit_links_VideoLinksComponent__WEBPACK_IMPORTED_MODULE_24__["VideoLinksComponent"](Object.assign(Object.assign({}, options), {
|
|
1976
|
+
headingText: 'Resource Links by ClickView',
|
|
1977
|
+
emptyStateText: links.models.length ? '' : 'There are no ClickView links for this video',
|
|
1978
|
+
customCollection: links,
|
|
1979
|
+
editable: false
|
|
1980
|
+
})));
|
|
1981
|
+
}
|
|
1982
|
+
}, {
|
|
1983
|
+
key: "renderCustomerLinkList",
|
|
1984
|
+
value: function renderCustomerLinkList(options) {
|
|
1985
|
+
this.showChildView('customerLinkList', new _components_edit_links_VideoLinksComponent__WEBPACK_IMPORTED_MODULE_24__["VideoLinksComponent"](Object.assign(Object.assign({}, options), {
|
|
1986
|
+
customCollection: _shared_utils__WEBPACK_IMPORTED_MODULE_11__["PermissionsHelper"].filterObjectsByOwnerType(this.model.links, _enums__WEBPACK_IMPORTED_MODULE_27__["ObjectOwnerType"].Customer, this.currentUser.get('customerId')),
|
|
1987
|
+
editable: true
|
|
1988
|
+
})));
|
|
1989
|
+
}
|
|
1990
|
+
}, {
|
|
1991
|
+
key: "fetchData",
|
|
1992
|
+
value: function fetchData() {
|
|
1993
|
+
var _this9 = this;
|
|
1994
|
+
|
|
1995
|
+
this.model = this.videoDataService.getVideo(this.options.videoId);
|
|
1996
|
+
this.hasPhysicalChapters = this.videoDataService.hasPhysicalChapters(this.options.videoId);
|
|
1997
|
+
this.isClickViewContent = this.model && !_shared_utils__WEBPACK_IMPORTED_MODULE_11__["PermissionsHelper"].canEditVideo(this.model);
|
|
1998
|
+
/**
|
|
1999
|
+
* If this.hasPhysicalChapters.get('value') is false, we don't need to fetch the concatenate request.
|
|
2000
|
+
* Alternatively, if we have already sent a request to fetch the concatenate request, we don't need
|
|
2001
|
+
* to fetch it again.
|
|
2002
|
+
* A flag, getConcatenateRequestSent, is used as ChapterDataService.getConcatenateRequest() will
|
|
2003
|
+
* return null if a concatenate request hasn't been created.
|
|
2004
|
+
*/
|
|
2005
|
+
|
|
2006
|
+
if (!this.hasPhysicalChapters || !this.hasPhysicalChapters.get('value') || this.getConcatenateRequestSent) return;
|
|
2007
|
+
this.chapterDataService.getConcatenateRequest(this.options.videoId, function (data) {
|
|
2008
|
+
_this9.concatenateRequest = data;
|
|
2009
|
+
|
|
2010
|
+
_this9.render();
|
|
2011
|
+
});
|
|
2012
|
+
this.getConcatenateRequestSent = true;
|
|
2013
|
+
}
|
|
2014
|
+
}, {
|
|
2015
|
+
key: "shouldRender",
|
|
2016
|
+
value: function shouldRender() {
|
|
2017
|
+
if (!this.model || !this.hasPhysicalChapters) return false;
|
|
2018
|
+
if (this.hasPhysicalChapters.get('value') && !this.concatenateRequest && !this.concatenateRequestNotFound) return false;
|
|
2019
|
+
return true;
|
|
2020
|
+
}
|
|
2021
|
+
}, {
|
|
2022
|
+
key: "onBeforeRender",
|
|
2023
|
+
value: function onBeforeRender() {
|
|
2024
|
+
this.fetchData();
|
|
2025
|
+
return this.shouldRender();
|
|
2026
|
+
}
|
|
2027
|
+
}, {
|
|
2028
|
+
key: "viewOptions",
|
|
2029
|
+
value: function viewOptions() {
|
|
2030
|
+
return {
|
|
2031
|
+
isClickViewContent: this.isClickViewContent
|
|
2032
|
+
};
|
|
2033
|
+
}
|
|
2034
|
+
}, {
|
|
2035
|
+
key: "onRender",
|
|
2036
|
+
value: function onRender() {
|
|
2037
|
+
this.renderTabs();
|
|
2038
|
+
this.renderSubtitleFileSelect();
|
|
2039
|
+
this.renderSubtitleUploadList();
|
|
2040
|
+
this.renderSubtitlesLists();
|
|
2041
|
+
this.renderResourcesFileSelect();
|
|
2042
|
+
this.renderResourcesUploadList();
|
|
2043
|
+
this.renderResourcesLists();
|
|
2044
|
+
this.renderAddLinks();
|
|
2045
|
+
this.renderLinkLists();
|
|
2046
|
+
this.startPollingConcatenation();
|
|
2047
|
+
}
|
|
2048
|
+
}, {
|
|
2049
|
+
key: "onDestroy",
|
|
2050
|
+
value: function onDestroy() {
|
|
2051
|
+
this.subtitleUploadService.destroy();
|
|
2052
|
+
this.resourceUploadService.destroy();
|
|
2053
|
+
}
|
|
2054
|
+
}, {
|
|
2055
|
+
key: "name",
|
|
2056
|
+
get: function get() {
|
|
2057
|
+
return 'EditResourcesView';
|
|
2058
|
+
}
|
|
2059
|
+
}, {
|
|
2060
|
+
key: "lang",
|
|
2061
|
+
get: function get() {
|
|
2062
|
+
return 'libraryEditor.editResources';
|
|
2063
|
+
}
|
|
2064
|
+
}, {
|
|
2065
|
+
key: "title",
|
|
2066
|
+
get: function get() {
|
|
2067
|
+
return this.model && this.model.get('name') || 'Edit Resources';
|
|
2068
|
+
}
|
|
2069
|
+
}, {
|
|
2070
|
+
key: "template",
|
|
2071
|
+
get: function get() {
|
|
2072
|
+
return _EditResources_hbs__WEBPACK_IMPORTED_MODULE_30___default.a;
|
|
2073
|
+
}
|
|
2074
|
+
}, {
|
|
2075
|
+
key: "props",
|
|
2076
|
+
get: function get() {
|
|
2077
|
+
return ['videoDataService'];
|
|
2078
|
+
}
|
|
2079
|
+
}, {
|
|
2080
|
+
key: "className",
|
|
2081
|
+
get: function get() {
|
|
2082
|
+
return 'bg-white p-3';
|
|
2083
|
+
}
|
|
2084
|
+
}, {
|
|
2085
|
+
key: "channelName",
|
|
2086
|
+
get: function get() {
|
|
2087
|
+
return _shared_utils__WEBPACK_IMPORTED_MODULE_11__["RadioChannelHelper"].generateUniqueChannelName(this);
|
|
2088
|
+
}
|
|
2089
|
+
}, {
|
|
2090
|
+
key: "behaviors",
|
|
2091
|
+
get: function get() {
|
|
2092
|
+
return [{
|
|
2093
|
+
behaviorClass: _shared_behaviors__WEBPACK_IMPORTED_MODULE_14__["LockLayoutFileDropBehavior"]
|
|
2094
|
+
}];
|
|
2095
|
+
}
|
|
2096
|
+
}, {
|
|
2097
|
+
key: "requiredResources",
|
|
2098
|
+
get: function get() {
|
|
2099
|
+
return {
|
|
2100
|
+
currentUser: _shared_services_UserDataService__WEBPACK_IMPORTED_MODULE_15__["UserDataServiceHelper"].currentUser
|
|
2101
|
+
};
|
|
2102
|
+
}
|
|
2103
|
+
}]);
|
|
2104
|
+
|
|
2105
|
+
return EditResourcesView;
|
|
2106
|
+
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_2__["Core"].View);
|
|
2107
|
+
|
|
2108
|
+
/***/ })
|
|
2109
|
+
|
|
2110
|
+
}]);
|
|
2111
|
+
//# sourceMappingURL=42.chunk.js.map
|