@clickview/library-editor 1.1.25 → 1.1.26-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.json +3 -0
- package/dist/css/23.chunk.css +3 -5
- package/dist/css/25.chunk.css +0 -2
- package/dist/css/library-editor-app.css +2 -2
- package/dist/en.json +1 -1
- package/dist/libs/analytics/src/clients/CollectionApiClient.d.ts +1 -3
- package/dist/libs/analytics/src/enrichers/BaseAnalyticsEnricher.d.ts +1 -1
- package/dist/libs/analytics/src/enrichers/UserDataEnricher.d.ts +1 -1
- package/dist/libs/analytics/src/interfaces/AnalyticsTypes.d.ts +4 -1
- package/dist/libs/analytics/src/utils/TypeHelper.d.ts +1 -1
- package/dist/libs/analytics/src/utils/VideoDataFormatHelper.d.ts +5 -5
- package/dist/libs/common/src/backbone/constants/CommonServices.d.ts +0 -1
- package/dist/libs/common/src/backbone/core/BaseAppRouter.d.ts +1 -1
- package/dist/libs/common/src/backbone/core/BaseApplication.d.ts +1 -1
- package/dist/libs/common/src/backbone/core/BaseBehavior.d.ts +1 -1
- package/dist/libs/common/src/backbone/core/BaseCollection.d.ts +1 -1
- package/dist/libs/common/src/backbone/core/BaseCollectionView.d.ts +1 -1
- package/dist/libs/common/src/backbone/core/BaseLayoutView.d.ts +1 -1
- package/dist/libs/common/src/backbone/core/BaseModel.d.ts +1 -1
- package/dist/libs/common/src/backbone/core/BaseNestedModel.d.ts +1 -1
- package/dist/libs/common/src/backbone/core/BaseService.d.ts +1 -1
- package/dist/libs/common/src/backbone/core/BaseView.d.ts +2 -2
- package/dist/libs/common/src/backbone/core/LayoutService.d.ts +1 -1
- package/dist/libs/common/src/backbone/core/ListenToRadio.d.ts +1 -1
- package/dist/libs/common/src/backbone/core/Shell.d.ts +1 -1
- package/dist/libs/common/src/backbone/interfaces/BaseCollectionIdentifier.d.ts +2 -1
- package/dist/libs/common/src/backbone/interfaces/DataProvider.d.ts +1 -1
- package/dist/libs/common/src/backbone/interfaces/StickitBinding.d.ts +1 -1
- package/dist/libs/common/src/backbone/services/LanguageService.d.ts +1 -1
- package/dist/libs/common/src/backbone/services/data-providers/AjaxDataProvider.d.ts +1 -1
- package/dist/libs/common/src/backbone/services/data-providers/SignalRDataProvider.d.ts +2 -2
- package/dist/libs/common/src/backbone/utils/FunctionHelper.d.ts +3 -3
- package/dist/libs/common/src/react/flight/enums/RequestStatus.d.ts +6 -0
- package/dist/libs/common/src/react/flight/enums/index.d.ts +1 -0
- package/dist/libs/common/src/react/flight/interfaces/FlightState.d.ts +22 -0
- package/dist/libs/common/src/react/flight/interfaces/NormalizeOptions.d.ts +4 -0
- package/dist/libs/common/src/react/flight/interfaces/Request.d.ts +29 -0
- package/dist/libs/common/src/react/flight/interfaces/UpdateStateOptions.d.ts +15 -0
- package/dist/libs/common/src/react/interfaces/ApplicationData.d.ts +3 -0
- package/dist/libs/common/src/react/interfaces/ApplicationState.d.ts +8 -0
- package/dist/libs/common/src/react/interfaces/BaseReducerActions.d.ts +4 -0
- package/dist/libs/common/src/react/interfaces/index.d.ts +4 -0
- package/dist/libs/common/src/react/utils/FetchHelper.d.ts +1 -1
- package/dist/libs/shared/src/apps/notifications/views/popover/NotificationsPopoverView.d.ts +2 -2
- package/dist/libs/shared/src/apps/search/utils/InstantSearchHelper.d.ts +5 -5
- package/dist/libs/shared/src/apps/search/utils/TypeaheadHelper.d.ts +24 -24
- package/dist/libs/shared/src/apps/search/views/search-bar/SearchBarView.d.ts +5 -5
- package/dist/libs/shared/src/apps/upload/errors/file-type/FileTypeError.d.ts +1 -1
- package/dist/libs/shared/src/constants/BootstrapKeys.d.ts +1 -0
- package/dist/libs/shared/src/enums/WidgetContents.d.ts +2 -1
- package/dist/libs/shared/src/images/svg/ImportedSvgs.d.ts +3 -1
- package/dist/libs/shared/src/images/svg/actions/index.d.ts +3 -1
- package/dist/libs/shared/src/interfaces/collections/SubtitleCollection.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/collections/index.d.ts +1 -0
- package/dist/libs/shared/src/interfaces/models/Config.d.ts +1 -0
- package/dist/libs/shared/src/interfaces/models/FileUpload.d.ts +20 -0
- package/dist/libs/shared/src/interfaces/models/Language.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/models/Link.d.ts +1 -0
- package/dist/libs/shared/src/interfaces/models/Pdf.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/models/Resource.d.ts +9 -1
- package/dist/libs/shared/src/interfaces/models/Subtitle.d.ts +7 -0
- package/dist/libs/shared/src/interfaces/models/Thumbnail.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/models/index.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/requests/UpdateObjectChannel.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/requests/UpdateObjectRating.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/requests/UpdateResourceRequest.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/requests/UpdateVideoRequest.d.ts +5 -1
- package/dist/libs/shared/src/interfaces/requests/index.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/services/BaseConfigDataService.d.ts +5 -0
- package/dist/libs/shared/src/interfaces/services/BaseUserDataService.d.ts +2 -0
- package/dist/libs/shared/src/interfaces/services/index.d.ts +1 -0
- package/dist/{projects/library-editor/src/shared → libs/shared/src/legacy}/behaviors/file-drop/FileDropBehavior.d.ts +1 -1
- package/dist/{projects/library-editor/src/shared → libs/shared/src/legacy}/behaviors/file-drop/FileDropMaskBehavior.d.ts +1 -1
- package/dist/{projects/library-editor/src/shared → libs/shared/src/legacy}/behaviors/file-select/FileSelectBehavior.d.ts +1 -1
- package/dist/{projects/library-editor/src/apps/library-editor → libs/shared/src/legacy}/components/file-select/FileSelectComponent.d.ts +1 -2
- package/dist/{projects/library-editor/src/apps/library-editor → libs/shared/src/legacy}/components/file-uploads/FileUploadComponent.d.ts +2 -2
- package/dist/{projects/library-editor/src/apps/library-editor/components/video-resources → libs/shared/src/legacy/components/resource-item}/ResourceItemComponent.d.ts +4 -4
- package/dist/{projects/library-editor/src/apps/library-editor/components/video-subtitles → libs/shared/src/legacy/components/subtitle-item}/SubtitleItemComponent.d.ts +2 -3
- package/dist/libs/shared/src/legacy/components/thumbnail/ThumbnailComponent.d.ts +1 -1
- package/dist/libs/shared/src/legacy/errors/too-many-files/TooManyFilesError.d.ts +7 -0
- package/dist/libs/shared/src/legacy/errors/too-many-resources/TooManyResourcesError.d.ts +8 -0
- package/dist/libs/shared/src/legacy/errors/too-many-subtitles/TooManySubtitlesError.d.ts +8 -0
- package/dist/libs/shared/src/utils/ImageHelper.d.ts +3 -3
- package/dist/libs/shared/src/utils/MaskHelper.d.ts +1 -1
- package/dist/libs/shared/src/utils/SubtitleHelper.d.ts +9 -0
- package/dist/libs/shared/src/utils/SvgHelper.d.ts +0 -1
- package/dist/libs/shared/src/utils/VideoDetailsHelper.d.ts +21 -0
- package/dist/projects/library-editor/src/app.d.ts +20 -5
- package/dist/projects/library-editor/src/apps/content-updates/utils/ContentUpdatesHelper.d.ts +1 -1
- package/dist/projects/library-editor/src/apps/library-editor/LibraryEditorApplication.d.ts +3 -3
- package/dist/projects/library-editor/src/apps/library-editor/components/file-uploads/FileUploadsComponentCollection.d.ts +1 -1
- package/dist/projects/library-editor/src/apps/library-editor/components/language-select/LanguageSelectTypeaheadHelper.d.ts +1 -2
- package/dist/projects/library-editor/src/apps/library-editor/components/video-resources/VideoResourcesComponent.d.ts +3 -1
- package/dist/projects/library-editor/src/apps/library-editor/components/video-subtitles/VideoSubtitlesComponent.d.ts +4 -1
- package/dist/projects/library-editor/src/apps/library-editor/enums/index.d.ts +0 -1
- package/dist/projects/library-editor/src/apps/library-editor/errors/index.d.ts +0 -2
- package/dist/projects/library-editor/src/apps/library-editor/services/VideoDataService.d.ts +2 -2
- package/dist/projects/library-editor/src/apps/library-editor/utils/EditVideoHelpers.d.ts +2 -2
- package/dist/projects/library-editor/src/apps/library-editor/utils/VideoDetailsHelper.d.ts +1 -1
- package/dist/projects/library-editor/src/apps/library-editor/views/edit-resources/EditResourcesView.d.ts +3 -3
- package/dist/projects/library-editor/src/apps/migration-wizard/components/status-bar/StatusBarComponent.d.ts +2 -2
- package/dist/projects/library-editor/src/apps/upload/UploadApplication.d.ts +1 -1
- package/dist/projects/library-editor/src/shared/behaviors/index.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/behaviors/popup/PopupBehavior.d.ts +3 -3
- package/dist/projects/library-editor/src/shared/components/date-picker/DatePickerComponent.d.ts +2 -2
- package/dist/projects/library-editor/src/shared/components/dropdown/DropdownButtonComponent.d.ts +4 -4
- package/dist/projects/library-editor/src/shared/components/edit-video/edit-additional-info/EditAdditionalInfoComponent.d.ts +1 -1
- package/dist/projects/library-editor/src/shared/components/edit-video/select-rating/SelectRatingItemComponent.d.ts +1 -1
- package/dist/projects/library-editor/src/shared/components/image-cropper/ImageCropperComponent.d.ts +1 -1
- package/dist/projects/library-editor/src/shared/components/select/SelectComponent.d.ts +1 -1
- package/dist/projects/library-editor/src/shared/components/spinner-button/SpinnerButtonComponent.d.ts +1 -1
- package/dist/projects/library-editor/src/shared/components/tabs/TabsComponent.d.ts +1 -1
- package/dist/projects/library-editor/src/shared/components/typeahead-input/SearchTypeaheadComponent.d.ts +4 -4
- package/dist/projects/library-editor/src/shared/components/video-item/utils/VideoItemComponents.d.ts +1 -1
- package/dist/projects/library-editor/src/shared/enums/index.d.ts +0 -2
- package/dist/projects/library-editor/src/shared/errors/index.d.ts +0 -1
- package/dist/projects/library-editor/src/shared/layouts/manage-layout/ManageLayoutView.d.ts +2 -0
- package/dist/projects/library-editor/src/shared/utils/PermissionsHelper.d.ts +1 -1
- package/dist/projects/library-editor/src/shared/utils/RatingHelper.d.ts +1 -2
- package/dist/projects/library-editor/src/shared/utils/VideoHelper.d.ts +1 -1
- package/dist/projects/library-editor/src/shared/utils/search/RawSearchHelper.d.ts +1 -1
- package/dist/projects/library-editor/src/shared/utils/search/raw-search-components/add-new/AddNewSuggestion.d.ts +1 -1
- package/dist/projects/library-editor/src/shared/views/download-video/DownloadVideoView.d.ts +0 -1
- package/dist/projects/library-editor/src/startup/RegisterAnalytics.d.ts +1 -1
- package/dist/projects/library-editor/src/startup/RegisterApplicationVariables.d.ts +1 -1
- package/dist/projects/library-editor/src/startup/RegisterApplications.d.ts +1 -1
- package/dist/projects/library-editor/src/startup/RegisterCaches.d.ts +1 -1
- package/dist/projects/library-editor/src/startup/RegisterDataProviders.d.ts +1 -1
- package/dist/projects/library-editor/src/startup/RegisterDataServices.d.ts +1 -1
- package/dist/projects/library-editor/src/startup/RegisterErrorHandlers.d.ts +1 -1
- package/dist/projects/library-editor/src/startup/RegisterHandlebarsHelpers.d.ts +1 -1
- package/dist/projects/library-editor/src/startup/RegisterLayouts.d.ts +1 -1
- package/dist/projects/library-editor/src/startup/RegisterServices.d.ts +1 -1
- package/dist/projects/library-editor/src/startup/RegisterViewDataExtensions.d.ts +1 -1
- package/dist/projects/library-editor/typings/libs/LazyLoad.d.ts +1 -1
- package/dist/scripts/{0-1c2bb7e28a.chunk.js → 0-65b134af4f.chunk.js} +1 -1
- package/dist/scripts/1-42cd7dafc9.chunk.js +1 -0
- package/dist/scripts/{10-923c4b075a.chunk.js → 10-75e622dc44.chunk.js} +1 -1
- package/dist/scripts/{11-3dec7d2c7e.chunk.js → 11-9f5f0c25dc.chunk.js} +1 -1
- package/dist/scripts/{12-07999b80e0.chunk.js → 12-e5d7fe24d9.chunk.js} +1 -1
- package/dist/scripts/13-2247b585ba.chunk.js +1 -0
- package/dist/scripts/14-76f0d1344e.chunk.js +1 -0
- package/dist/scripts/15-044f3ce266.chunk.js +1 -0
- package/dist/scripts/{16-742a776f88.chunk.js → 16-0ebecead61.chunk.js} +1 -1
- package/dist/scripts/{17-b5e44e8b17.chunk.js → 17-9a2f82453a.chunk.js} +1 -1
- package/dist/scripts/{2-0c5fba8b60.chunk.js → 2-cd7f1d10b5.chunk.js} +1 -1
- package/dist/scripts/{20-732a7a549d.chunk.js → 20-8cabdf4ccb.chunk.js} +1 -1
- package/dist/scripts/{21-0b84d33cef.chunk.js → 21-9dfc314143.chunk.js} +1 -1
- package/dist/scripts/{22-3b2207c8f6.chunk.js → 22-ea1736d37f.chunk.js} +1 -1
- package/dist/scripts/23-c5137083a9.chunk.js +1 -0
- package/dist/scripts/{24-c94049500e.chunk.js → 24-d6b7d3f374.chunk.js} +1 -1
- package/dist/scripts/25-4f3f34d140.chunk.js +1 -0
- package/dist/scripts/{26-e53ba8e00f.chunk.js → 26-b3a2e6bca1.chunk.js} +1 -1
- package/dist/scripts/27-0dd00d8e76.chunk.js +1 -0
- package/dist/scripts/{28-738b88c816.chunk.js → 28-cef433c779.chunk.js} +1 -1
- package/dist/scripts/29-cf9581eef8.chunk.js +1 -0
- package/dist/scripts/{3-6e67dd4b74.chunk.js → 3-02a37512e4.chunk.js} +1 -1
- package/dist/scripts/{30-a1df3e37da.chunk.js → 30-cc04703754.chunk.js} +1 -1
- package/dist/scripts/{31-ce31250e42.chunk.js → 31-92c7d2494b.chunk.js} +1 -1
- package/dist/scripts/32-b8ea5b8dea.chunk.js +1 -0
- package/dist/scripts/33-6da26969d0.chunk.js +1 -0
- package/dist/scripts/34-5469e12196.chunk.js +1 -0
- package/dist/scripts/35-9aae492c3e.chunk.js +1 -0
- package/dist/scripts/36-8849ade3c7.chunk.js +1 -0
- package/dist/scripts/{37-6fa4b8fc60.chunk.js → 37-3b6bf13818.chunk.js} +1 -1
- package/dist/scripts/38-f8f1eeba1f.chunk.js +1 -0
- package/dist/scripts/{39-748eb61732.chunk.js → 39-01d58327ca.chunk.js} +1 -1
- package/dist/scripts/4-eaa7ec4468.chunk.js +1 -0
- package/dist/scripts/{40-2ecbd41570.chunk.js → 40-60f5d582c8.chunk.js} +1 -1
- package/dist/scripts/41-9d3182f53c.chunk.js +1 -0
- package/dist/scripts/{42-3ef41f40f5.chunk.js → 42-390bbda5c5.chunk.js} +1 -1
- package/dist/scripts/{43-49f13dab14.chunk.js → 43-acc9eadde2.chunk.js} +1 -1
- package/dist/scripts/44-8f053335a7.chunk.js +1 -0
- package/dist/scripts/45-a4f9646555.chunk.js +1 -0
- package/dist/scripts/46-6b9fc8453b.chunk.js +1 -0
- package/dist/scripts/{47-56d22af6ba.chunk.js → 47-7c5a3685a5.chunk.js} +1 -1
- package/dist/scripts/{48-e05ab3ecac.chunk.js → 48-469dfae9ba.chunk.js} +1 -1
- package/dist/scripts/{49-4a6c119f58.chunk.js → 49-06756becaf.chunk.js} +1 -1
- package/dist/scripts/5-674db7af1b.chunk.js +1 -0
- package/dist/scripts/{50-3924907655.chunk.js → 50-49475581af.chunk.js} +1 -1
- package/dist/scripts/{51-dca2a9cc86.chunk.js → 51-4adcf4ff0a.chunk.js} +1 -1
- package/dist/scripts/{52-a3c8ed29ca.chunk.js → 52-57782063fd.chunk.js} +1 -1
- package/dist/scripts/{53-d8f0dea552.chunk.js → 53-6f14b50628.chunk.js} +1 -1
- package/dist/scripts/{54-7cdbdcebf9.chunk.js → 54-78c19a2ad8.chunk.js} +1 -1
- package/dist/scripts/{55-a5fa20b497.chunk.js → 55-dceece7f6e.chunk.js} +1 -1
- package/dist/scripts/{56-370078d597.chunk.js → 56-791cbec86d.chunk.js} +1 -1
- package/dist/scripts/{57-0e126120b9.chunk.js → 57-b80d1bf344.chunk.js} +1 -1
- package/dist/scripts/{58-17706ccb46.chunk.js → 58-74a2cc409b.chunk.js} +1 -1
- package/dist/scripts/{59-381a49ed7f.chunk.js → 59-a05072e424.chunk.js} +1 -1
- package/dist/scripts/{6-40c8ba5007.chunk.js → 6-9a7ab29bcf.chunk.js} +1 -1
- package/dist/scripts/{60-b4a91c86fa.chunk.js → 60-3ea0df7910.chunk.js} +1 -1
- package/dist/scripts/{61-7d81d27c31.chunk.js → 61-49a9fb2c98.chunk.js} +1 -1
- package/dist/scripts/{62-758f5e505b.chunk.js → 62-afa39e4cc9.chunk.js} +1 -1
- package/dist/scripts/{63-6700b4d00a.chunk.js → 63-348b096dca.chunk.js} +1 -1
- package/dist/scripts/{64-9c88ee6161.chunk.js → 64-6f7edb1451.chunk.js} +1 -1
- package/dist/scripts/{65-a7e499ceee.chunk.js → 65-1a6aecc0e3.chunk.js} +1 -1
- package/dist/scripts/{66-f00f29ccae.chunk.js → 66-fe5934023f.chunk.js} +1 -1
- package/dist/scripts/67-69b25bd800.chunk.js +1 -0
- package/dist/scripts/{68-38a6d7fb50.chunk.js → 68-54be8dbe28.chunk.js} +1 -1
- package/dist/scripts/{69-870856c6fb.chunk.js → 69-2dbcfa995c.chunk.js} +1 -1
- package/dist/scripts/{7-aac8c84ccb.chunk.js → 7-e9fd5a70f5.chunk.js} +1 -1
- package/dist/scripts/{70-39dc936989.chunk.js → 70-145a5802f1.chunk.js} +1 -1
- package/dist/scripts/{71-8e3682a7d7.chunk.js → 71-2ea1363d8f.chunk.js} +1 -1
- package/dist/scripts/{72-550438db4e.chunk.js → 72-3d94c9900f.chunk.js} +1 -1
- package/dist/scripts/{8-d46f48d03c.chunk.js → 8-3db468b0ad.chunk.js} +1 -1
- package/dist/scripts/9-c8b248951d.chunk.js +1 -0
- package/dist/scripts/bundle-c736d7845b.min.js +8 -0
- package/dist/scripts/bundles.json +2 -2
- package/dist/scripts/polyfills-d24f8f2432.min.js +1 -0
- package/dist/sw.js +3 -0
- package/package.json +100 -99
- package/typings/libs/CVEvents.d.ts +1 -1
- package/typings/libs/LazyLoad.ts +2 -1
- package/typings/libs/Trackers.d.ts +1 -1
- package/dist/libs/common/src/backbone/services/ScrollService.d.ts +0 -19
- package/dist/projects/library-editor/src/apps/library-editor/errors/too-many-resources/TooManyResourcesError.d.ts +0 -8
- package/dist/projects/library-editor/src/apps/library-editor/errors/too-many-subtitles/TooManySubtitlesError.d.ts +0 -8
- package/dist/projects/library-editor/src/shared/errors/too-many-files/TooManyFilesError.d.ts +0 -7
- package/dist/scripts/0-1dbc79e4e7.chunk.js +0 -1
- package/dist/scripts/0-8b75adf540.chunk.js +0 -1
- package/dist/scripts/1-480e5932a6.chunk.js +0 -1
- package/dist/scripts/1-6051b28de6.chunk.js +0 -1
- package/dist/scripts/1-b85c11fc30.chunk.js +0 -1
- package/dist/scripts/10-31317a2d02.chunk.js +0 -1
- package/dist/scripts/10-e2fea45a6c.chunk.js +0 -1
- package/dist/scripts/11-039959db6c.chunk.js +0 -11
- package/dist/scripts/11-74bc3f2d9f.chunk.js +0 -11
- package/dist/scripts/12-24bd360be0.chunk.js +0 -1
- package/dist/scripts/12-6ecdd79b85.chunk.js +0 -1
- package/dist/scripts/13-081c0e5887.chunk.js +0 -1
- package/dist/scripts/13-54fe4fe53b.chunk.js +0 -1
- package/dist/scripts/13-958a8fd026.chunk.js +0 -1
- package/dist/scripts/14-16f84b2721.chunk.js +0 -1
- package/dist/scripts/14-45cd4dc6ef.chunk.js +0 -1
- package/dist/scripts/14-5e443cb402.chunk.js +0 -1
- package/dist/scripts/15-12fa4c3471.chunk.js +0 -1
- package/dist/scripts/15-5544e6bde6.chunk.js +0 -1
- package/dist/scripts/15-8c96c3288e.chunk.js +0 -1
- package/dist/scripts/16-670c43d26f.chunk.js +0 -1
- package/dist/scripts/16-7bcffb06e7.chunk.js +0 -1
- package/dist/scripts/17-140fec014b.chunk.js +0 -1
- package/dist/scripts/17-f6b0159da3.chunk.js +0 -1
- package/dist/scripts/2-5fd33f5359.chunk.js +0 -1
- package/dist/scripts/2-7cc9176e8a.chunk.js +0 -1
- package/dist/scripts/20-4d88ede0e0.chunk.js +0 -1
- package/dist/scripts/20-a84733c89f.chunk.js +0 -1
- package/dist/scripts/21-c9983ca8ad.chunk.js +0 -1
- package/dist/scripts/21-ee85b6d208.chunk.js +0 -1
- package/dist/scripts/22-151cf38018.chunk.js +0 -1
- package/dist/scripts/22-6e6ed9f607.chunk.js +0 -1
- package/dist/scripts/23-1af21bf234.chunk.js +0 -1
- package/dist/scripts/23-2b00ff99bf.chunk.js +0 -1
- package/dist/scripts/23-94f9fe4222.chunk.js +0 -1
- package/dist/scripts/24-74ab289589.chunk.js +0 -1
- package/dist/scripts/24-7aa9b43511.chunk.js +0 -1
- package/dist/scripts/25-34c0406f50.chunk.js +0 -1
- package/dist/scripts/25-5a38ce3533.chunk.js +0 -1
- package/dist/scripts/25-76d9011eea.chunk.js +0 -1
- package/dist/scripts/26-d166e3c313.chunk.js +0 -1
- package/dist/scripts/26-ea028a6276.chunk.js +0 -1
- package/dist/scripts/27-2109d41afa.chunk.js +0 -1
- package/dist/scripts/27-3aa629dd67.chunk.js +0 -1
- package/dist/scripts/27-c1241fcd84.chunk.js +0 -1
- package/dist/scripts/28-5c540e74cc.chunk.js +0 -1
- package/dist/scripts/28-e490147f6b.chunk.js +0 -1
- package/dist/scripts/29-2da59b1589.chunk.js +0 -1
- package/dist/scripts/29-69389908f8.chunk.js +0 -1
- package/dist/scripts/29-bb7e39304b.chunk.js +0 -1
- package/dist/scripts/3-42e8af9f39.chunk.js +0 -1
- package/dist/scripts/3-81b501ac1e.chunk.js +0 -1
- package/dist/scripts/30-9d32d88d76.chunk.js +0 -1
- package/dist/scripts/30-fa390c35f6.chunk.js +0 -1
- package/dist/scripts/31-639090fee3.chunk.js +0 -1
- package/dist/scripts/31-f15802825c.chunk.js +0 -1
- package/dist/scripts/32-1ad8193581.chunk.js +0 -1
- package/dist/scripts/32-4173874dbe.chunk.js +0 -1
- package/dist/scripts/32-9bca57f408.chunk.js +0 -1
- package/dist/scripts/33-20ac0ab4a1.chunk.js +0 -1
- package/dist/scripts/33-350334db4c.chunk.js +0 -1
- package/dist/scripts/33-7efae85b8b.chunk.js +0 -1
- package/dist/scripts/34-0a7f3b55fe.chunk.js +0 -1
- package/dist/scripts/34-c4f0495750.chunk.js +0 -1
- package/dist/scripts/34-f6eea83a09.chunk.js +0 -1
- package/dist/scripts/35-17b30890a5.chunk.js +0 -1
- package/dist/scripts/35-4254e160f0.chunk.js +0 -1
- package/dist/scripts/35-9c3899dfbd.chunk.js +0 -1
- package/dist/scripts/36-2ec95df618.chunk.js +0 -1
- package/dist/scripts/36-b5ad543fba.chunk.js +0 -1
- package/dist/scripts/36-cdbe95bd06.chunk.js +0 -1
- package/dist/scripts/37-3f3a603b60.chunk.js +0 -1
- package/dist/scripts/37-97b84a8be5.chunk.js +0 -1
- package/dist/scripts/38-1c98f19489.chunk.js +0 -1
- package/dist/scripts/38-6fc346f964.chunk.js +0 -1
- package/dist/scripts/38-7ffe535b0d.chunk.js +0 -1
- package/dist/scripts/39-13d6669c3f.chunk.js +0 -1
- package/dist/scripts/39-71c4bb46b2.chunk.js +0 -1
- package/dist/scripts/4-435484d217.chunk.js +0 -1
- package/dist/scripts/4-7274621693.chunk.js +0 -1
- package/dist/scripts/4-85ba8523ad.chunk.js +0 -1
- package/dist/scripts/40-a691a401ff.chunk.js +0 -1
- package/dist/scripts/40-f1d72b1049.chunk.js +0 -1
- package/dist/scripts/41-0368ba16dc.chunk.js +0 -1
- package/dist/scripts/41-85fcb15184.chunk.js +0 -1
- package/dist/scripts/41-bb9aef24f7.chunk.js +0 -1
- package/dist/scripts/42-389acb6e55.chunk.js +0 -1
- package/dist/scripts/42-61a626d7f4.chunk.js +0 -1
- package/dist/scripts/43-2fe5b1c9cc.chunk.js +0 -1
- package/dist/scripts/43-a5b882d502.chunk.js +0 -1
- package/dist/scripts/44-0703eb0ad8.chunk.js +0 -1
- package/dist/scripts/44-de22428999.chunk.js +0 -1
- package/dist/scripts/44-ee6a740a16.chunk.js +0 -1
- package/dist/scripts/45-806dd5b78c.chunk.js +0 -1
- package/dist/scripts/45-da34a8b6b2.chunk.js +0 -1
- package/dist/scripts/45-e4a92a40fd.chunk.js +0 -1
- package/dist/scripts/46-4aa05464fe.chunk.js +0 -1
- package/dist/scripts/46-cccef3e874.chunk.js +0 -1
- package/dist/scripts/46-ebf8eee4ac.chunk.js +0 -1
- package/dist/scripts/47-1e3d829757.chunk.js +0 -1
- package/dist/scripts/47-c61fa52c53.chunk.js +0 -1
- package/dist/scripts/48-877e9e02b8.chunk.js +0 -1
- package/dist/scripts/48-e577124476.chunk.js +0 -1
- package/dist/scripts/49-0f9a6a1782.chunk.js +0 -1
- package/dist/scripts/49-f9151c7e06.chunk.js +0 -1
- package/dist/scripts/5-06b97501c3.chunk.js +0 -1
- package/dist/scripts/5-1ba89c4774.chunk.js +0 -1
- package/dist/scripts/5-515b264fbc.chunk.js +0 -1
- package/dist/scripts/50-0741587a02.chunk.js +0 -1
- package/dist/scripts/50-4de0b758d5.chunk.js +0 -1
- package/dist/scripts/51-a5f1309ada.chunk.js +0 -1
- package/dist/scripts/51-ea33746146.chunk.js +0 -1
- package/dist/scripts/52-50230b48c8.chunk.js +0 -1
- package/dist/scripts/52-bc48f1f9e8.chunk.js +0 -1
- package/dist/scripts/53-0e253f9f3e.chunk.js +0 -1
- package/dist/scripts/53-36007500cf.chunk.js +0 -1
- package/dist/scripts/54-d1bc70c7b5.chunk.js +0 -1
- package/dist/scripts/54-dd4d101665.chunk.js +0 -1
- package/dist/scripts/55-3c60601030.chunk.js +0 -1
- package/dist/scripts/55-e29d6a6ba9.chunk.js +0 -1
- package/dist/scripts/56-36d54fa08f.chunk.js +0 -1
- package/dist/scripts/56-7a6c662f14.chunk.js +0 -1
- package/dist/scripts/57-a4f4d6fe41.chunk.js +0 -1
- package/dist/scripts/57-c1faec8b32.chunk.js +0 -1
- package/dist/scripts/58-a0fe201826.chunk.js +0 -1
- package/dist/scripts/58-e996405f2b.chunk.js +0 -1
- package/dist/scripts/59-0a7bdc86b0.chunk.js +0 -1
- package/dist/scripts/59-4f2fcb6412.chunk.js +0 -1
- package/dist/scripts/6-51a379e066.chunk.js +0 -1
- package/dist/scripts/6-b3d36065dc.chunk.js +0 -1
- package/dist/scripts/60-0d8896555f.chunk.js +0 -1
- package/dist/scripts/60-c57f161f18.chunk.js +0 -1
- package/dist/scripts/61-5d6e59d408.chunk.js +0 -1
- package/dist/scripts/61-a342a0d501.chunk.js +0 -1
- package/dist/scripts/62-67458b7fb4.chunk.js +0 -1
- package/dist/scripts/62-f5fd35fdc0.chunk.js +0 -1
- package/dist/scripts/63-420b10f5f2.chunk.js +0 -1
- package/dist/scripts/63-c88b9860e9.chunk.js +0 -1
- package/dist/scripts/64-e177d4c971.chunk.js +0 -1
- package/dist/scripts/64-e6598113a7.chunk.js +0 -1
- package/dist/scripts/65-93567fe088.chunk.js +0 -1
- package/dist/scripts/65-f750573f69.chunk.js +0 -1
- package/dist/scripts/66-c84a3a3c3f.chunk.js +0 -1
- package/dist/scripts/66-f6d213b33c.chunk.js +0 -1
- package/dist/scripts/67-1ebaab7a2d.chunk.js +0 -1
- package/dist/scripts/67-97c694c3d5.chunk.js +0 -1
- package/dist/scripts/67-c5af18680c.chunk.js +0 -1
- package/dist/scripts/68-7b1d5e8e75.chunk.js +0 -1
- package/dist/scripts/68-eb8700aeb1.chunk.js +0 -1
- package/dist/scripts/69-3d2063cd0f.chunk.js +0 -1
- package/dist/scripts/69-b0ea71d7c5.chunk.js +0 -1
- package/dist/scripts/7-3151397d74.chunk.js +0 -1
- package/dist/scripts/7-d41d3bf60c.chunk.js +0 -1
- package/dist/scripts/70-27e9e5792a.chunk.js +0 -1
- package/dist/scripts/70-6ef72cd9b6.chunk.js +0 -1
- package/dist/scripts/71-a80858069c.chunk.js +0 -1
- package/dist/scripts/71-c5923e2d2d.chunk.js +0 -1
- package/dist/scripts/72-245f28bf97.chunk.js +0 -1
- package/dist/scripts/72-65364adff1.chunk.js +0 -1
- package/dist/scripts/8-c4955c2009.chunk.js +0 -1
- package/dist/scripts/8-e5d19252c8.chunk.js +0 -1
- package/dist/scripts/9-4589726554.chunk.js +0 -1
- package/dist/scripts/9-576592d419.chunk.js +0 -1
- package/dist/scripts/9-df99ba6ce1.chunk.js +0 -1
- package/dist/scripts/bundle-1b984e2fd9.min.js +0 -8
- package/dist/scripts/bundle-7d13ba933b.min.js +0 -8
- package/dist/scripts/bundle-d5b23160b1.min.js +0 -8
- package/dist/scripts/polyfills-9b0be1bd72.min.js +0 -1
- package/dist/scripts/polyfills-cd3d0a9f6d.min.js +0 -1
- package/dist/scripts/polyfills-d891a77823.min.js +0 -1
- /package/dist/{projects/library-editor/src/shared → libs/shared/src}/enums/MasterObjectTypes.d.ts +0 -0
- /package/dist/{projects/library-editor/src/apps/library-editor → libs/shared/src}/enums/ObjectOwnerType.d.ts +0 -0
- /package/dist/{projects/library-editor/src/shared → libs/shared/src}/enums/UploadInteractionType.d.ts +0 -0
- /package/dist/{projects/library-editor/src/shared → libs/shared/src/legacy}/behaviors/file-drop/FileDropHelper.d.ts +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ObjectHash } from 'backbone';
|
|
2
|
-
import { Core } from "
|
|
2
|
+
import { Core } from "../../../../../common/src/backbone";
|
|
3
3
|
interface FileSelectComponentOptions extends Core.ComponentOptions {
|
|
4
4
|
title: string;
|
|
5
5
|
description: string;
|
|
@@ -16,7 +16,6 @@ export declare class FileSelectComponent extends Core.Component {
|
|
|
16
16
|
get name(): string;
|
|
17
17
|
get template(): any;
|
|
18
18
|
get lang(): string;
|
|
19
|
-
get className(): string;
|
|
20
19
|
get elements(): ObjectHash;
|
|
21
20
|
get defaults(): ObjectHash;
|
|
22
21
|
get behaviors(): any[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ObjectHash } from 'backbone';
|
|
2
|
-
import { Core } from "
|
|
2
|
+
import { Core } from "../../../../../common/src/backbone";
|
|
3
3
|
export interface FileUploadComponentOptions extends Core.ComponentOptions {
|
|
4
|
-
|
|
4
|
+
onClickCancelUpload: (id: string) => void;
|
|
5
5
|
}
|
|
6
6
|
export declare class FileUploadComponent extends Core.Component {
|
|
7
7
|
options: FileUploadComponentOptions;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { Core } from "../../../../../../../libs/common/src/backbone";
|
|
2
1
|
import { ObjectHash } from 'backbone';
|
|
3
|
-
import {
|
|
2
|
+
import { Core } from "../../../../../common/src/backbone";
|
|
3
|
+
import { AnalyticsOptions } from "../../../../../analytics/src/interfaces";
|
|
4
4
|
export interface ResourceItemComponentOptions extends Core.ComponentOptions {
|
|
5
5
|
editable: boolean;
|
|
6
6
|
videoId: string;
|
|
7
|
-
|
|
7
|
+
getEditAppLink: (resourceId: string) => Core.AppLink;
|
|
8
|
+
onClickDelete: (resource: Core.Model) => void;
|
|
8
9
|
analyticsOptions?: AnalyticsOptions;
|
|
9
10
|
}
|
|
10
11
|
export declare class ResourceItemComponent extends Core.Component {
|
|
@@ -13,7 +14,6 @@ export declare class ResourceItemComponent extends Core.Component {
|
|
|
13
14
|
get name(): string;
|
|
14
15
|
get template(): any;
|
|
15
16
|
get className(): string;
|
|
16
|
-
get lang(): string;
|
|
17
17
|
events(): ObjectHash;
|
|
18
18
|
get appLinks(): Core.AppLinkHash;
|
|
19
19
|
private onClickEdit;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Core } from "
|
|
1
|
+
import { Core } from "../../../../../common/src/backbone";
|
|
2
2
|
import { ObjectHash } from 'backbone';
|
|
3
3
|
export interface SubtitleItemComponentOptions extends Core.ComponentOptions {
|
|
4
|
-
|
|
4
|
+
onClickDelete: (resource: Core.Model) => void;
|
|
5
5
|
isClickViewContent?: boolean;
|
|
6
6
|
}
|
|
7
7
|
export declare class SubtitleItemComponent extends Core.Component {
|
|
@@ -9,7 +9,6 @@ export declare class SubtitleItemComponent extends Core.Component {
|
|
|
9
9
|
constructor(options: SubtitleItemComponentOptions);
|
|
10
10
|
get name(): string;
|
|
11
11
|
get template(): any;
|
|
12
|
-
get lang(): string;
|
|
13
12
|
get className(): string;
|
|
14
13
|
events(): ObjectHash;
|
|
15
14
|
private getEnglishName;
|
|
@@ -3,7 +3,7 @@ import { Core } from "../../../../../common/src/backbone";
|
|
|
3
3
|
import { ImageOptions } from "../../../utils/ImageHelper";
|
|
4
4
|
export interface ThumbnailComponentOptions extends Core.ComponentOptions {
|
|
5
5
|
model: Core.Model;
|
|
6
|
-
onClickHandler?:
|
|
6
|
+
onClickHandler?: (...args: any) => any;
|
|
7
7
|
thumbnailOptions?: ImageOptions;
|
|
8
8
|
playIcon?: boolean;
|
|
9
9
|
lazyload?: boolean;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { DialogError } from "../../../errors/primitives/DialogError";
|
|
2
|
+
import { DialogOptions } from "../../../interfaces";
|
|
3
|
+
export declare class TooManyFilesError extends DialogError {
|
|
4
|
+
constructor();
|
|
5
|
+
get name(): string;
|
|
6
|
+
get dialogOptions(): DialogOptions;
|
|
7
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DialogError } from "../../../errors/primitives/DialogError";
|
|
2
|
+
import { DialogOptions } from "../../../interfaces/DialogOptions";
|
|
3
|
+
export declare class TooManyResourcesError extends DialogError {
|
|
4
|
+
resourceLimit: number;
|
|
5
|
+
constructor(resourceLimit: number);
|
|
6
|
+
get name(): string;
|
|
7
|
+
get dialogOptions(): DialogOptions;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DialogError } from "../../../errors/primitives/DialogError";
|
|
2
|
+
import { DialogOptions } from "../../../interfaces/DialogOptions";
|
|
3
|
+
export declare class TooManySubtitlesError extends DialogError {
|
|
4
|
+
subtileLimit: number;
|
|
5
|
+
constructor(subtitleLimit: number);
|
|
6
|
+
get name(): string;
|
|
7
|
+
get dialogOptions(): DialogOptions;
|
|
8
|
+
}
|
|
@@ -21,9 +21,9 @@ export declare const ImageHelper: {
|
|
|
21
21
|
createUrl(baseUrl: string, options?: ImageOptions): string;
|
|
22
22
|
createBannerUrl(banner: Banner, mappingOptions?: CategoryMapperImageOptions, imageOptions?: ImageOptions): string;
|
|
23
23
|
/**
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
* Ensures that strings are properly escaped before using them
|
|
25
|
+
* within a URL.
|
|
26
|
+
*/
|
|
27
27
|
Rfc3986EncodeURIComponent(str: string): string;
|
|
28
28
|
_createCategoryMappedUrl(mappingOptions: CategoryMapperImageOptions, options?: ImageOptions): string;
|
|
29
29
|
_createUrl(baseUrl: string, options?: ImageOptions): string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="jquery" />
|
|
2
2
|
/// <reference types="jqueryui" />
|
|
3
3
|
/// <reference types="typeahead" />
|
|
4
|
-
/// <reference types="bootstrap" />
|
|
5
4
|
/// <reference types="dropzone" />
|
|
5
|
+
/// <reference types="bootstrap" />
|
|
6
6
|
export interface MaskHelperOptions {
|
|
7
7
|
targetSelector?: string;
|
|
8
8
|
additionalClasses?: string;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Subtitle } from "../interfaces";
|
|
2
|
+
export declare const SubtitleHelper: {
|
|
3
|
+
/**
|
|
4
|
+
*
|
|
5
|
+
* @param subtitle - the subtitle to get the English name for.
|
|
6
|
+
* @param allVideoSubtitles - the full list of subtitles on the video.
|
|
7
|
+
*/
|
|
8
|
+
getEnglishName(subtitle: Subtitle, allVideoSubtitles?: Subtitle[]): string;
|
|
9
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Library, Video } from "../interfaces";
|
|
2
|
+
import { MasterObjectTypes } from "../enums/MasterObjectTypes";
|
|
3
|
+
export declare enum FileType {
|
|
4
|
+
Pdf = "pdf",
|
|
5
|
+
Image = "image",
|
|
6
|
+
PowerPoint = "powerpoint",
|
|
7
|
+
Document = "document",
|
|
8
|
+
Excel = "excel",
|
|
9
|
+
Zip = "archive",
|
|
10
|
+
File = "text"
|
|
11
|
+
}
|
|
12
|
+
export declare const VideoDetailsHelper: {
|
|
13
|
+
mapRatingToClass(ratingValue: number): string;
|
|
14
|
+
mapSourceToDisplayName(library: Library): string;
|
|
15
|
+
mapSourceToClass(sourceType: MasterObjectTypes): string;
|
|
16
|
+
isInteractive(video: Video): boolean;
|
|
17
|
+
mapTypeToSvg(type: string): any;
|
|
18
|
+
mapTypeToClass(type: string): any;
|
|
19
|
+
mapTypeToExtension(type: string): string;
|
|
20
|
+
mapTypeToName(type: string): string;
|
|
21
|
+
};
|
|
@@ -26,7 +26,6 @@ import './apps/library-editor/components/edit-links/edit-links.lang.json';
|
|
|
26
26
|
import './apps/library-editor/components/edit-thumbnail/edit-thumbnail.lang.json';
|
|
27
27
|
import './apps/library-editor/components/edit-video/edit-video.lang.json';
|
|
28
28
|
import './apps/library-editor/components/expandable-tag-list/expandable-tag-list.lang.json';
|
|
29
|
-
import './apps/library-editor/components/file-select/file-select.lang.json';
|
|
30
29
|
import './apps/library-editor/components/folder-actions/folder-actions-dropdown.lang.json';
|
|
31
30
|
import './apps/library-editor/components/folder-details/folder-details.lang.json';
|
|
32
31
|
import './apps/library-editor/components/folder-select/folder-select.lang.json';
|
|
@@ -50,8 +49,6 @@ import './apps/library-editor/errors/library-has-subscribers/library-has-subscri
|
|
|
50
49
|
import './apps/library-editor/errors/library-not-empty/library-not-empty.lang.json';
|
|
51
50
|
import './apps/library-editor/errors/max-custom-libraries/max-custom-libraries.lang.json';
|
|
52
51
|
import './apps/library-editor/errors/series-not-found/series-not-found.lang.json';
|
|
53
|
-
import './apps/library-editor/errors/too-many-resources/too-many-resources.lang.json';
|
|
54
|
-
import './apps/library-editor/errors/too-many-subtitles/too-many-subtitles.lang.json';
|
|
55
52
|
import './apps/library-editor/errors/video-not-found/video-not-found.lang.json';
|
|
56
53
|
import './apps/library-editor/errors/video-write-permission/video-write-permission.lang.json';
|
|
57
54
|
import './apps/library-editor/services/library-editor-services.lang.json';
|
|
@@ -147,7 +144,6 @@ import './apps/upload/views/upload-complete/upload-complete.lang.json';
|
|
|
147
144
|
import './apps/upload/views/upload-videos/upload-videos.lang.json';
|
|
148
145
|
import './apps/video-access/views/restricted-video-list/restricted-video-list.lang.json';
|
|
149
146
|
import './shared/alerts/alerts.lang.json';
|
|
150
|
-
import './shared/behaviors/file-drop/file-drop.lang.json';
|
|
151
147
|
import './shared/components/bulk-video-actions/bulk-video-actions.lang.json';
|
|
152
148
|
import './shared/components/date-picker/date-picker.lang.json';
|
|
153
149
|
import './shared/components/edit-video/edit-additional-info/edit-additional-info.lang.json';
|
|
@@ -182,7 +178,6 @@ import './shared/errors/local-cache-device-not-found/local-cache-device-not-foun
|
|
|
182
178
|
import './shared/errors/no-beta-access/no-beta-access.lang.json';
|
|
183
179
|
import './shared/errors/not-found/not-found.lang.json';
|
|
184
180
|
import './shared/errors/old-version/old-version.lang.json';
|
|
185
|
-
import './shared/errors/too-many-files/too-many-files.lang.json';
|
|
186
181
|
import './shared/services/shared-services.lang.json';
|
|
187
182
|
import './shared/utils/search/raw-search-components/add-new/add-new.lang.json';
|
|
188
183
|
import './shared/utils/shared-utils.lang.json';
|
|
@@ -211,11 +206,21 @@ import '../../../libs/shared/src/apps/upload/errors/internet-connectivity/intern
|
|
|
211
206
|
import '../../../libs/shared/src/apps/upload/utils/upload-utils.lang.json';
|
|
212
207
|
import '../../../libs/shared/src/components/back-button/back-button.lang.json';
|
|
213
208
|
import '../../../libs/shared/src/components/badges/badge.lang.json';
|
|
209
|
+
import '../../../libs/shared/src/components/channel-form-field/channel-form-field.lang.json';
|
|
210
|
+
import '../../../libs/shared/src/components/confirmation-popup/confirmation-popup.lang.json';
|
|
214
211
|
import '../../../libs/shared/src/components/curriculum-links/curriculum-links.lang.json';
|
|
212
|
+
import '../../../libs/shared/src/components/edit-link/edit-link.lang.json';
|
|
213
|
+
import '../../../libs/shared/src/components/edit-resource/edit-resource.lang.json';
|
|
215
214
|
import '../../../libs/shared/src/components/edit-video-details/edit-video-details.lang.json';
|
|
215
|
+
import '../../../libs/shared/src/components/edit-video-links/edit-video-links.lang.json';
|
|
216
|
+
import '../../../libs/shared/src/components/edit-video-resources/edit-video-resources.lang.json';
|
|
217
|
+
import '../../../libs/shared/src/components/edit-video-subtitles/edit-video-subtitles.lang.json';
|
|
216
218
|
import '../../../libs/shared/src/components/favourite-button/favourite-button.lang.json';
|
|
217
219
|
import '../../../libs/shared/src/components/forms/form-buttons/form-buttons.lang.json';
|
|
220
|
+
import '../../../libs/shared/src/components/image-select/image-select.lang.json';
|
|
221
|
+
import '../../../libs/shared/src/components/language-select/language-select.lang.json';
|
|
218
222
|
import '../../../libs/shared/src/components/pagination/pagination.lang.json';
|
|
223
|
+
import '../../../libs/shared/src/components/rating-select/rating-select.lang.json';
|
|
219
224
|
import '../../../libs/shared/src/components/search-bar/search-bar.lang.json';
|
|
220
225
|
import '../../../libs/shared/src/components/video-list/components/video-item-description/video-item-description.lang.json';
|
|
221
226
|
import '../../../libs/shared/src/components/widgets/dynamic-widget/dynamic-widget.lang.json';
|
|
@@ -223,7 +228,17 @@ import '../../../libs/shared/src/components/widgets/fixed-widget/fixed-widget.la
|
|
|
223
228
|
import '../../../libs/shared/src/components/widgets/greeting-widget/greeting.lang.json';
|
|
224
229
|
import '../../../libs/shared/src/components/widgets/items/interactive-widget-item/interactive-widget-item.lang.json';
|
|
225
230
|
import '../../../libs/shared/src/components/widgets/items/subject-widget-item/subject-widget-item.lang.json';
|
|
231
|
+
import '../../../libs/shared/src/legacy/behaviors/file-drop/file-drop.lang.json';
|
|
232
|
+
import '../../../libs/shared/src/legacy/components/file-select/file-select.lang.json';
|
|
226
233
|
import '../../../libs/shared/src/legacy/components/pagination/pagination.lang.json';
|
|
234
|
+
import '../../../libs/shared/src/legacy/errors/too-many-files/too-many-files.lang.json';
|
|
235
|
+
import '../../../libs/shared/src/legacy/errors/too-many-resources/too-many-resources.lang.json';
|
|
236
|
+
import '../../../libs/shared/src/legacy/errors/too-many-subtitles/too-many-subtitles.lang.json';
|
|
227
237
|
import '../../../libs/shared/src/utils/shared-utils.lang.json';
|
|
228
238
|
import '../../../libs/shared/src/utils/video-actions/video-actions-helper.lang.json';
|
|
239
|
+
import '../../../libs/shared/src/views/delete-link/delete-link-view.lang.json';
|
|
240
|
+
import '../../../libs/shared/src/views/delete-resource/delete-resource-view.lang.json';
|
|
241
|
+
import '../../../libs/shared/src/views/delete-subtitle/delete-subtitle-view.lang.json';
|
|
242
|
+
import '../../../libs/shared/src/views/edit-link/edit-link-view.lang.json';
|
|
243
|
+
import '../../../libs/shared/src/views/edit-resource/edit-resource-view.lang.json';
|
|
229
244
|
import './styles';
|
package/dist/projects/library-editor/src/apps/content-updates/utils/ContentUpdatesHelper.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VideoCollection } from "../../../shared/collections/VideoCollection";
|
|
2
2
|
import { VideoGroupCollection } from "../collections";
|
|
3
|
-
import { MasterObjectTypes } from "
|
|
3
|
+
import { MasterObjectTypes } from "../../../../../../libs/shared/src/enums/MasterObjectTypes";
|
|
4
4
|
export declare const ContentUpdatesHelper: {
|
|
5
5
|
groupVideosByHostedLibrary(videoCollection: VideoCollection): VideoGroupCollection;
|
|
6
6
|
groupVideosByLibrary(videoCollection: VideoCollection, type: MasterObjectTypes, fallback: boolean): VideoGroupCollection;
|
|
@@ -14,13 +14,13 @@ export declare class LibraryEditorApplication extends Core.Application {
|
|
|
14
14
|
folder(id: string, params: ObjectHash): void;
|
|
15
15
|
renameFolder(id: string): void;
|
|
16
16
|
moveFolder(id: string): void;
|
|
17
|
-
newFolder(libraryId: string
|
|
18
|
-
newSubFolder(folderId: string
|
|
17
|
+
newFolder(libraryId: string): void;
|
|
18
|
+
newSubFolder(folderId: string): void;
|
|
19
19
|
deleteFolder(id: string): void;
|
|
20
20
|
series(id: string, params: ObjectHash): void;
|
|
21
21
|
moveVideos(ids: string, folderId: string): void;
|
|
22
22
|
deleteVideos(folderId: string, videoIds: string, params: ObjectHash): void;
|
|
23
|
-
videoDetails(videoId: string
|
|
23
|
+
videoDetails(videoId: string): void;
|
|
24
24
|
shareVideo(videoId: string): void;
|
|
25
25
|
manageVideoAccess(videoId: string): void;
|
|
26
26
|
editVideo(videoId?: string): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Core } from "../../../../../../../libs/common/src/backbone";
|
|
2
|
-
import { FileUploadComponent, FileUploadComponentOptions } from "
|
|
2
|
+
import { FileUploadComponent, FileUploadComponentOptions } from "../../../../../../../libs/shared/src/legacy/components/file-uploads/FileUploadComponent";
|
|
3
3
|
interface FileUploadsComponentCollectionOptions extends Core.ComponentCollectionOptions {
|
|
4
4
|
channelName: string;
|
|
5
5
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { ObjectHash } from 'backbone';
|
|
2
1
|
import { TypeaheadDataSource } from "../../../../../../../libs/shared/src/apps/search/interfaces";
|
|
3
2
|
import { Tag } from "../../../../shared/models/Tag";
|
|
4
3
|
export declare const LangugageSelectTypeaheadHelper: {
|
|
5
|
-
handleQuery(
|
|
4
|
+
handleQuery(): TypeaheadDataSource<Tag>;
|
|
6
5
|
getTypeaheadConfig(): any;
|
|
7
6
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Core } from "../../../../../../../libs/common/src/backbone";
|
|
2
2
|
import { ObjectHash } from 'backbone';
|
|
3
3
|
import { Video } from "../../../../shared/models/Video";
|
|
4
|
-
import { ResourceItemComponent, ResourceItemComponentOptions } from
|
|
4
|
+
import { ResourceItemComponent, ResourceItemComponentOptions } from "../../../../../../../libs/shared/src/legacy/components/resource-item/ResourceItemComponent";
|
|
5
5
|
import { AnalyticsOptions } from "../../../../../../../libs/analytics/src/interfaces";
|
|
6
6
|
interface VideoResourcesComponentCollectionOptions extends Core.ComponentCollectionOptions {
|
|
7
7
|
editable: boolean;
|
|
@@ -15,8 +15,10 @@ export declare class VideoResourcesComponentCollection extends Core.ComponentCol
|
|
|
15
15
|
constructor(options: VideoResourcesComponentCollectionOptions);
|
|
16
16
|
get name(): string;
|
|
17
17
|
get className(): string;
|
|
18
|
+
get lang(): string;
|
|
18
19
|
get childView(): typeof ResourceItemComponent;
|
|
19
20
|
get childViewOptions(): ResourceItemComponentOptions;
|
|
21
|
+
private onClickDelete;
|
|
20
22
|
}
|
|
21
23
|
interface VideoResourcesComponentOptions extends Core.ComponentOptions<Video> {
|
|
22
24
|
model: Video;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ObjectHash } from 'backbone';
|
|
2
2
|
import { Core } from "../../../../../../../libs/common/src/backbone";
|
|
3
|
-
import { SubtitleItemComponentOptions, SubtitleItemComponent } from
|
|
3
|
+
import { SubtitleItemComponentOptions, SubtitleItemComponent } from "../../../../../../../libs/shared/src/legacy/components/subtitle-item/SubtitleItemComponent";
|
|
4
4
|
interface VideoSubtitlesComponentCollectionOptions extends Core.ComponentCollectionOptions {
|
|
5
5
|
channelName: string;
|
|
6
6
|
isClickViewContent?: boolean;
|
|
@@ -20,7 +20,10 @@ export declare class VideoSubtitlesComponentCollection extends Core.ComponentCol
|
|
|
20
20
|
options: VideoSubtitlesComponentCollectionOptions;
|
|
21
21
|
constructor(options: VideoSubtitlesComponentCollectionOptions);
|
|
22
22
|
get name(): string;
|
|
23
|
+
get lang(): string;
|
|
23
24
|
get childView(): typeof SubtitleItemComponent;
|
|
24
25
|
get childViewOptions(): SubtitleItemComponentOptions;
|
|
26
|
+
private onClickDelete;
|
|
27
|
+
private getEnglishName;
|
|
25
28
|
}
|
|
26
29
|
export {};
|
|
@@ -6,8 +6,6 @@ export * from './forbidden-folder/ForbiddenFolderError';
|
|
|
6
6
|
export * from './forbidden-video/ForbiddenVideoError';
|
|
7
7
|
export * from './image-dimensions-too-small/ImageDimensionsTooSmallError';
|
|
8
8
|
export * from './series-not-found/SeriesNotFoundError';
|
|
9
|
-
export * from './too-many-resources/TooManyResourcesError';
|
|
10
|
-
export * from './too-many-subtitles/TooManySubtitlesError';
|
|
11
9
|
export * from './video-not-found/VideoNotFoundError';
|
|
12
10
|
export * from './video-write-permission/VideoWritePermissionError';
|
|
13
11
|
export * from './library-has-subscribers/LibraryHasSubscribersError';
|
|
@@ -27,12 +27,12 @@ export declare class VideoDataService extends BaseDataService implements BaseVid
|
|
|
27
27
|
clearCacheAndGetVideo(id: string, callback: (video: Video) => void, errorHandler?: ((...args: any[]) => any) | boolean): void;
|
|
28
28
|
getVideos(ids: string[], callback?: (video: VideoCollection) => void): VideoCollection;
|
|
29
29
|
hasPhysicalChapters(id: string, callback?: (response: Core.Model) => void): Core.Model;
|
|
30
|
-
updateVideo(videoId: string, collectionId: string, data: ObjectHash, callback?: any
|
|
30
|
+
updateVideo(videoId: string, collectionId: string, data: ObjectHash, callback?: any): void;
|
|
31
31
|
addOrUpdateThumbnail(videoId: string, newThumbnail: Image, currentThumbnailId?: string, callback?: (data: any) => void): void;
|
|
32
32
|
moveVideos(videoIds: string[], newParentId: string, oldParentId: string, callback: () => void, successAlert?: Alert): void;
|
|
33
33
|
deleteVideosFromLibrary(libraryId: string, folderId: string, videoIds: string[], callback?: () => void): void;
|
|
34
34
|
getSharedResource(id: string, privacy?: SharedResourcePrivacy, callback?: (data: SharedResource) => void): void;
|
|
35
|
-
addVideoToCustomLibrary(data:
|
|
35
|
+
addVideoToCustomLibrary(data: ObjectHash, video: Video, folder: Folder, callback?: () => void): void;
|
|
36
36
|
bulkDissoc(videoId: string, dissocs: ObjectHash, callback: () => void): void;
|
|
37
37
|
copyVideo(videoId: string, libraryId: string, categoryId: string, callback?: () => void): void;
|
|
38
38
|
getLibraries(videoId: string, callback?: (libs: LibraryCollection) => void): void;
|
|
@@ -24,7 +24,7 @@ declare const EditVideoHelpers: {
|
|
|
24
24
|
};
|
|
25
25
|
declare const VideoValidation: ObjectHash;
|
|
26
26
|
declare const ProductionYearValidation: {
|
|
27
|
-
productionYear(value: number
|
|
27
|
+
productionYear(value: number): string;
|
|
28
28
|
};
|
|
29
29
|
declare const ResourceValidation: ObjectHash;
|
|
30
30
|
declare const SuggestEditValidation: {
|
|
@@ -48,7 +48,7 @@ declare const SuggestEditValidation: {
|
|
|
48
48
|
})[];
|
|
49
49
|
};
|
|
50
50
|
declare const SeasonValidation: {
|
|
51
|
-
number(value: string
|
|
51
|
+
number(value: string): string;
|
|
52
52
|
};
|
|
53
53
|
declare const SuggestEditRatingValidation: {
|
|
54
54
|
empty: () => string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Video } from "../../../shared/models/Video";
|
|
2
2
|
import { Library } from "../../../shared/models/Library";
|
|
3
3
|
import { MetadataCollection } from "../../../shared/collections/MetadataCollection";
|
|
4
|
-
import { MasterObjectTypes } from "
|
|
4
|
+
import { MasterObjectTypes } from "../../../../../../libs/shared/src/enums/MasterObjectTypes";
|
|
5
5
|
declare const VideoDetailsHelper: {
|
|
6
6
|
mapRatingToClass(ratingValue: number): string;
|
|
7
7
|
mapSourceToDisplayName(library: Library): string;
|
|
@@ -46,9 +46,9 @@ export declare class EditResourcesView extends Core.View<Video> {
|
|
|
46
46
|
private onAddLink;
|
|
47
47
|
regions(): ObjectHash;
|
|
48
48
|
/**
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
49
|
+
* We call this function in onRender to not start polling if we don't have a concatenateRequest
|
|
50
|
+
* or if the concatenate request isn't currently concatenating.
|
|
51
|
+
*/
|
|
52
52
|
private startPollingConcatenation;
|
|
53
53
|
/**
|
|
54
54
|
* This function exists seperately from startPollingConcatenation() so that
|
|
@@ -9,8 +9,8 @@ interface StatusBarOptions extends Core.ComponentOptions {
|
|
|
9
9
|
numberSelected?: number;
|
|
10
10
|
numberAvailable?: number;
|
|
11
11
|
backAppLink?: Core.AppLink;
|
|
12
|
-
onClickNext?:
|
|
13
|
-
onClickBack?:
|
|
12
|
+
onClickNext?: (...args: any) => any;
|
|
13
|
+
onClickBack?: (...args: any) => any;
|
|
14
14
|
}
|
|
15
15
|
export declare class StatusBarComponent extends Core.Component {
|
|
16
16
|
protected options: StatusBarOptions;
|
|
@@ -17,7 +17,7 @@ export declare class UploadApplication extends Core.Application {
|
|
|
17
17
|
fileSelection(): void;
|
|
18
18
|
uploadDetails(params: ObjectHash): void;
|
|
19
19
|
uploadComplete(): void;
|
|
20
|
-
newFolder(libraryId: string
|
|
20
|
+
newFolder(libraryId: string): void;
|
|
21
21
|
makeLibraryAvailable(): void;
|
|
22
22
|
}
|
|
23
23
|
export {};
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
export * from './file-drop/FileDropBehavior';
|
|
2
|
-
export * from './file-drop/FileDropMaskBehavior';
|
|
3
|
-
export * from './file-select/FileSelectBehavior';
|
|
4
1
|
export * from './image-select-behavior/ImageSelectBehavior';
|
|
5
2
|
export * from './lock-layout-file-drop/LockLayoutFileDropBehavior';
|
|
6
3
|
export * from './backbone-validation/BackboneValidationBehavior';
|
|
@@ -6,16 +6,16 @@ interface Button {
|
|
|
6
6
|
text: string;
|
|
7
7
|
type?: string;
|
|
8
8
|
className?: string;
|
|
9
|
-
getClassName?:
|
|
9
|
+
getClassName?: (...args: any) => any;
|
|
10
10
|
close?: boolean;
|
|
11
11
|
}
|
|
12
12
|
export interface PopupSpinnerButtonOptions extends Partial<SpinnerButtonComponentOptions> {
|
|
13
13
|
saveEvent?: string;
|
|
14
14
|
channelName: string;
|
|
15
|
-
onClick:
|
|
15
|
+
onClick: (...args: any) => any;
|
|
16
16
|
}
|
|
17
17
|
interface PopupBehaviorOptions {
|
|
18
|
-
title: string |
|
|
18
|
+
title: string | ((...args: any) => any);
|
|
19
19
|
closeOnRoute?: boolean;
|
|
20
20
|
size?: string;
|
|
21
21
|
modalOptions?: ModalOption;
|
package/dist/projects/library-editor/src/shared/components/date-picker/DatePickerComponent.d.ts
CHANGED
|
@@ -5,8 +5,8 @@ interface DatePickerComponentOptions extends Core.ComponentOptions {
|
|
|
5
5
|
label?: string;
|
|
6
6
|
displayedTimeFormat: TimeType;
|
|
7
7
|
savedTimeFormat?: TimeType;
|
|
8
|
-
formatDisplayDate?:
|
|
9
|
-
formatSavedDate?:
|
|
8
|
+
formatDisplayDate?: (...args: any) => any;
|
|
9
|
+
formatSavedDate?: (...args: any) => any;
|
|
10
10
|
modelAttr: string;
|
|
11
11
|
placeholderText?: string;
|
|
12
12
|
allowTextInput?: boolean;
|
package/dist/projects/library-editor/src/shared/components/dropdown/DropdownButtonComponent.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ObjectHash } from 'backbone';
|
|
2
2
|
import { Core } from "../../../../../../libs/common/src/backbone";
|
|
3
3
|
import { DropdownDisplayOptions, DropdownAnalyticsHelper } from "./DropdownComponentCollection";
|
|
4
|
-
export interface DropdownButtonComponentOptions
|
|
4
|
+
export interface DropdownButtonComponentOptions extends Core.ComponentOptions {
|
|
5
5
|
titleProperty: string;
|
|
6
6
|
eventName: string;
|
|
7
7
|
displayOptions?: DropdownDisplayOptions;
|
|
@@ -20,9 +20,9 @@ export interface DropdownButtonComponentOptions<TModel> extends Core.ComponentOp
|
|
|
20
20
|
* already exists in your parent it will introduce additional rendering overhead if your parent already has other
|
|
21
21
|
* complex UI logic (with stickit, validation, etc) - which will be executed again with each select.
|
|
22
22
|
*/
|
|
23
|
-
export declare class DropdownButtonComponent
|
|
24
|
-
options: DropdownButtonComponentOptions
|
|
25
|
-
constructor(options?: DropdownButtonComponentOptions
|
|
23
|
+
export declare class DropdownButtonComponent extends Core.Component {
|
|
24
|
+
options: DropdownButtonComponentOptions;
|
|
25
|
+
constructor(options?: DropdownButtonComponentOptions);
|
|
26
26
|
initialize(): void;
|
|
27
27
|
get name(): string;
|
|
28
28
|
get template(): any;
|
package/dist/projects/library-editor/src/shared/components/image-cropper/ImageCropperComponent.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export interface ImageCropperComponentOptions extends Core.ComponentOptions {
|
|
|
12
12
|
imageType: ImageType;
|
|
13
13
|
minHeight: number;
|
|
14
14
|
minWidth: number;
|
|
15
|
-
getCropRegionWidth:
|
|
15
|
+
getCropRegionWidth: (...args: any) => any;
|
|
16
16
|
}
|
|
17
17
|
export declare class ImageCropperComponent extends Core.Component<Image> {
|
|
18
18
|
options: ImageCropperComponentOptions;
|
|
@@ -8,7 +8,7 @@ export interface SelectChildOptions {
|
|
|
8
8
|
extraClasses?: string;
|
|
9
9
|
prefixHandler?: () => string;
|
|
10
10
|
currentSelectedMessage?: string;
|
|
11
|
-
isDisabled?: (model: Core.Model) => boolean;
|
|
11
|
+
isDisabled?: (model: Core.Model, ...args: any) => boolean;
|
|
12
12
|
truncateOptionNames?: boolean;
|
|
13
13
|
}
|
|
14
14
|
export interface SelectComponentOptions extends Core.ComponentCollectionOptions {
|
|
@@ -19,7 +19,7 @@ export interface SpinnerButtonComponentOptions extends Core.ViewOptions {
|
|
|
19
19
|
channelName?: string;
|
|
20
20
|
showSpinner?: boolean;
|
|
21
21
|
extraButtonClass?: string;
|
|
22
|
-
buttonText?: string |
|
|
22
|
+
buttonText?: string | ((...args: any) => any);
|
|
23
23
|
buttonType?: 'submit' | 'reset' | 'button';
|
|
24
24
|
detectWidth?: boolean;
|
|
25
25
|
detectHeight?: true;
|
|
@@ -3,9 +3,9 @@ import { ObjectHash } from 'backbone';
|
|
|
3
3
|
import { Core } from "../../../../../../libs/common/src/backbone";
|
|
4
4
|
import { TypeaheadConfigHandler, TypeaheadSourceItem } from "../../../../../../libs/shared/src/apps/search/interfaces";
|
|
5
5
|
interface TypeaheadCallbacks {
|
|
6
|
-
onRender?:
|
|
7
|
-
onInput?:
|
|
8
|
-
onBlur?:
|
|
6
|
+
onRender?: (...args: any) => any;
|
|
7
|
+
onInput?: (...args: any) => any;
|
|
8
|
+
onBlur?: (...args: any) => any;
|
|
9
9
|
}
|
|
10
10
|
interface TypeaheadActionOptions {
|
|
11
11
|
clearOnSelect?: boolean;
|
|
@@ -45,7 +45,7 @@ export declare class SearchTypeaheadComponent<TSearchType> extends Core.Componen
|
|
|
45
45
|
/**
|
|
46
46
|
* TODO: Add submit on enter support
|
|
47
47
|
*/
|
|
48
|
-
protected onTypeaheadSelect(event: any, suggestion: string | ObjectHash
|
|
48
|
+
protected onTypeaheadSelect(event: any, suggestion: string | ObjectHash): void;
|
|
49
49
|
private onSubmit;
|
|
50
50
|
private onClickRemove;
|
|
51
51
|
protected getSources(): TypeaheadConfigHandler<TSearchType>[] | Twitter.Typeahead.Dataset<TSearchType>[];
|