@clickview/library-editor 1.1.26-dev.0 → 1.1.26-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/23.chunk.css +5 -3
- package/dist/css/25.chunk.css +2 -0
- package/dist/css/library-editor-app.css +2 -2
- package/dist/en.json +1 -1
- package/dist/libs/analytics/src/clients/CollectionApiClient.d.ts +3 -1
- 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 +1 -4
- 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 +1 -0
- 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 +1 -2
- 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/ScrollService.d.ts +19 -0
- package/dist/libs/common/src/backbone/services/data-providers/AjaxDataProvider.d.ts +1 -1
- package/dist/libs/common/src/backbone/services/data-providers/SignalRDataProvider.d.ts +2 -2
- package/dist/libs/common/src/backbone/utils/FunctionHelper.d.ts +3 -3
- package/dist/libs/common/src/react/utils/FetchHelper.d.ts +1 -1
- package/dist/libs/shared/src/apps/notifications/views/popover/NotificationsPopoverView.d.ts +2 -2
- package/dist/libs/shared/src/apps/search/utils/InstantSearchHelper.d.ts +5 -5
- package/dist/libs/shared/src/apps/search/utils/TypeaheadHelper.d.ts +24 -24
- package/dist/libs/shared/src/apps/search/views/search-bar/SearchBarView.d.ts +5 -5
- package/dist/libs/shared/src/apps/upload/errors/file-type/FileTypeError.d.ts +1 -1
- package/dist/libs/shared/src/constants/BootstrapKeys.d.ts +0 -1
- package/dist/libs/shared/src/enums/WidgetContents.d.ts +1 -2
- package/dist/libs/shared/src/images/svg/ImportedSvgs.d.ts +1 -3
- package/dist/libs/shared/src/images/svg/actions/index.d.ts +1 -3
- package/dist/libs/shared/src/interfaces/collections/index.d.ts +0 -1
- package/dist/libs/shared/src/interfaces/models/Config.d.ts +0 -1
- package/dist/libs/shared/src/interfaces/models/Link.d.ts +0 -1
- package/dist/libs/shared/src/interfaces/models/Resource.d.ts +1 -9
- package/dist/libs/shared/src/interfaces/models/Thumbnail.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/index.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/requests/UpdateVideoRequest.d.ts +1 -5
- package/dist/libs/shared/src/interfaces/requests/index.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/services/BaseUserDataService.d.ts +0 -2
- package/dist/libs/shared/src/interfaces/services/index.d.ts +0 -1
- package/dist/libs/shared/src/legacy/components/thumbnail/ThumbnailComponent.d.ts +1 -1
- 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/SvgHelper.d.ts +1 -0
- package/dist/projects/library-editor/src/app.d.ts +5 -20
- 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/{libs/shared/src/legacy → projects/library-editor/src/apps/library-editor}/components/file-select/FileSelectComponent.d.ts +2 -1
- package/dist/{libs/shared/src/legacy → projects/library-editor/src/apps/library-editor}/components/file-uploads/FileUploadComponent.d.ts +2 -2
- 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 +2 -1
- package/dist/{libs/shared/src/legacy/components/resource-item → projects/library-editor/src/apps/library-editor/components/video-resources}/ResourceItemComponent.d.ts +4 -4
- package/dist/projects/library-editor/src/apps/library-editor/components/video-resources/VideoResourcesComponent.d.ts +1 -3
- package/dist/{libs/shared/src/legacy/components/subtitle-item → projects/library-editor/src/apps/library-editor/components/video-subtitles}/SubtitleItemComponent.d.ts +3 -2
- package/dist/projects/library-editor/src/apps/library-editor/components/video-subtitles/VideoSubtitlesComponent.d.ts +1 -4
- package/dist/projects/library-editor/src/apps/library-editor/enums/index.d.ts +1 -0
- package/dist/projects/library-editor/src/apps/library-editor/errors/index.d.ts +2 -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/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/{libs/shared/src/legacy → projects/library-editor/src/shared}/behaviors/file-drop/FileDropBehavior.d.ts +1 -1
- package/dist/{libs/shared/src/legacy → projects/library-editor/src/shared}/behaviors/file-drop/FileDropMaskBehavior.d.ts +1 -1
- package/dist/{libs/shared/src/legacy → projects/library-editor/src/shared}/behaviors/file-select/FileSelectBehavior.d.ts +1 -1
- package/dist/projects/library-editor/src/shared/behaviors/index.d.ts +3 -0
- 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 +2 -0
- package/dist/projects/library-editor/src/shared/errors/index.d.ts +1 -0
- package/dist/projects/library-editor/src/shared/errors/too-many-files/TooManyFilesError.d.ts +7 -0
- package/dist/projects/library-editor/src/shared/layouts/manage-layout/ManageLayoutView.d.ts +0 -2
- package/dist/projects/library-editor/src/shared/utils/PermissionsHelper.d.ts +1 -1
- package/dist/projects/library-editor/src/shared/utils/RatingHelper.d.ts +2 -1
- 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 +1 -0
- 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-65b134af4f.chunk.js → 0-1deffb42bf.chunk.js} +1 -1
- package/dist/scripts/1-a4065968c1.chunk.js +1 -0
- package/dist/scripts/{10-75e622dc44.chunk.js → 10-0adc529f9b.chunk.js} +1 -1
- package/dist/scripts/{11-9f5f0c25dc.chunk.js → 11-039959db6c.chunk.js} +1 -1
- package/dist/scripts/{12-e5d7fe24d9.chunk.js → 12-18ae0dfa89.chunk.js} +1 -1
- package/dist/scripts/13-a9ed73e93d.chunk.js +1 -0
- package/dist/scripts/14-e0828acdfa.chunk.js +1 -0
- package/dist/scripts/15-c67caabb0a.chunk.js +1 -0
- package/dist/scripts/{16-0ebecead61.chunk.js → 16-31fefb2cac.chunk.js} +1 -1
- package/dist/scripts/{17-9a2f82453a.chunk.js → 17-b9c5bbda43.chunk.js} +1 -1
- package/dist/scripts/{2-cd7f1d10b5.chunk.js → 2-5fd33f5359.chunk.js} +1 -1
- package/dist/scripts/{20-8cabdf4ccb.chunk.js → 20-2bca62d1c0.chunk.js} +1 -1
- package/dist/scripts/{21-9dfc314143.chunk.js → 21-c70d40dc61.chunk.js} +1 -1
- package/dist/scripts/{22-ea1736d37f.chunk.js → 22-0e9dca307f.chunk.js} +1 -1
- package/dist/scripts/23-b4a5ffb3a6.chunk.js +1 -0
- package/dist/scripts/{24-d6b7d3f374.chunk.js → 24-88056bc5c9.chunk.js} +1 -1
- package/dist/scripts/25-ec294abf37.chunk.js +1 -0
- package/dist/scripts/{26-b3a2e6bca1.chunk.js → 26-2a038b6df5.chunk.js} +1 -1
- package/dist/scripts/27-9f06d5bb5d.chunk.js +1 -0
- package/dist/scripts/{28-cef433c779.chunk.js → 28-4e62071464.chunk.js} +1 -1
- package/dist/scripts/29-5ab940b23f.chunk.js +1 -0
- package/dist/scripts/{3-02a37512e4.chunk.js → 3-dbf1f0bdbc.chunk.js} +1 -1
- package/dist/scripts/{30-cc04703754.chunk.js → 30-87ec7ee868.chunk.js} +1 -1
- package/dist/scripts/{31-92c7d2494b.chunk.js → 31-24f9dc350e.chunk.js} +1 -1
- package/dist/scripts/32-a06209da52.chunk.js +1 -0
- package/dist/scripts/33-c33020ec6f.chunk.js +1 -0
- package/dist/scripts/34-116a50814d.chunk.js +1 -0
- package/dist/scripts/35-33ea39c18e.chunk.js +1 -0
- package/dist/scripts/36-ccb493b3f6.chunk.js +1 -0
- package/dist/scripts/{37-3b6bf13818.chunk.js → 37-bb5a5bdad3.chunk.js} +1 -1
- package/dist/scripts/38-64d5f34871.chunk.js +1 -0
- package/dist/scripts/{39-01d58327ca.chunk.js → 39-14259bc6fe.chunk.js} +1 -1
- package/dist/scripts/4-dbbff4289b.chunk.js +1 -0
- package/dist/scripts/{40-60f5d582c8.chunk.js → 40-ea678bbe5b.chunk.js} +1 -1
- package/dist/scripts/41-2d35060d0e.chunk.js +1 -0
- package/dist/scripts/{42-390bbda5c5.chunk.js → 42-898076e213.chunk.js} +1 -1
- package/dist/scripts/{43-acc9eadde2.chunk.js → 43-0616177a42.chunk.js} +1 -1
- package/dist/scripts/44-861ac46f36.chunk.js +1 -0
- package/dist/scripts/45-7446535f17.chunk.js +1 -0
- package/dist/scripts/46-26620d2a5f.chunk.js +1 -0
- package/dist/scripts/{47-7c5a3685a5.chunk.js → 47-a4034122c9.chunk.js} +1 -1
- package/dist/scripts/{48-469dfae9ba.chunk.js → 48-76b2c74863.chunk.js} +1 -1
- package/dist/scripts/{49-06756becaf.chunk.js → 49-505e968070.chunk.js} +1 -1
- package/dist/scripts/5-2051149282.chunk.js +1 -0
- package/dist/scripts/{50-49475581af.chunk.js → 50-5fc4da3bc5.chunk.js} +1 -1
- package/dist/scripts/{51-4adcf4ff0a.chunk.js → 51-fc0310c5cd.chunk.js} +1 -1
- package/dist/scripts/{52-57782063fd.chunk.js → 52-bf7eecfbac.chunk.js} +1 -1
- package/dist/scripts/{53-6f14b50628.chunk.js → 53-ec51fba164.chunk.js} +1 -1
- package/dist/scripts/{54-78c19a2ad8.chunk.js → 54-d3990092dd.chunk.js} +1 -1
- package/dist/scripts/{55-dceece7f6e.chunk.js → 55-e4665da63e.chunk.js} +1 -1
- package/dist/scripts/{56-791cbec86d.chunk.js → 56-21b33b42c3.chunk.js} +1 -1
- package/dist/scripts/{57-b80d1bf344.chunk.js → 57-07deff9444.chunk.js} +1 -1
- package/dist/scripts/{58-74a2cc409b.chunk.js → 58-68ca09ffdf.chunk.js} +1 -1
- package/dist/scripts/{59-a05072e424.chunk.js → 59-c7705e6551.chunk.js} +1 -1
- package/dist/scripts/{6-9a7ab29bcf.chunk.js → 6-9bc788ce4c.chunk.js} +1 -1
- package/dist/scripts/{60-3ea0df7910.chunk.js → 60-319578f49a.chunk.js} +1 -1
- package/dist/scripts/{61-49a9fb2c98.chunk.js → 61-25fcfd00c9.chunk.js} +1 -1
- package/dist/scripts/{62-afa39e4cc9.chunk.js → 62-d07ddf14ff.chunk.js} +1 -1
- package/dist/scripts/{63-348b096dca.chunk.js → 63-08c93c2e53.chunk.js} +1 -1
- package/dist/scripts/{64-6f7edb1451.chunk.js → 64-ffead99364.chunk.js} +1 -1
- package/dist/scripts/{65-1a6aecc0e3.chunk.js → 65-86eee87750.chunk.js} +1 -1
- package/dist/scripts/{66-fe5934023f.chunk.js → 66-79a4d8629a.chunk.js} +1 -1
- package/dist/scripts/67-bc34473155.chunk.js +1 -0
- package/dist/scripts/{68-54be8dbe28.chunk.js → 68-c3fe0c028e.chunk.js} +1 -1
- package/dist/scripts/{69-2dbcfa995c.chunk.js → 69-f4f1f07045.chunk.js} +1 -1
- package/dist/scripts/{7-e9fd5a70f5.chunk.js → 7-74c0fcd6fe.chunk.js} +1 -1
- package/dist/scripts/{70-145a5802f1.chunk.js → 70-4681989887.chunk.js} +1 -1
- package/dist/scripts/{71-2ea1363d8f.chunk.js → 71-8ae59fd304.chunk.js} +1 -1
- package/dist/scripts/{72-3d94c9900f.chunk.js → 72-8615720ce0.chunk.js} +1 -1
- package/dist/scripts/{8-3db468b0ad.chunk.js → 8-039e714b81.chunk.js} +1 -1
- package/dist/scripts/9-e76ba48df5.chunk.js +1 -0
- package/dist/scripts/bundle-8862b095c0.min.js +8 -0
- package/dist/scripts/bundles.json +2 -2
- package/dist/scripts/polyfills-57fccaae30.min.js +1 -0
- package/package.json +99 -100
- package/typings/libs/CVEvents.d.ts +1 -1
- package/typings/libs/LazyLoad.ts +1 -2
- package/typings/libs/Trackers.d.ts +1 -1
- package/.eslintrc.json +0 -3
- package/dist/libs/common/src/react/flight/enums/RequestStatus.d.ts +0 -6
- package/dist/libs/common/src/react/flight/enums/index.d.ts +0 -1
- package/dist/libs/common/src/react/flight/interfaces/FlightState.d.ts +0 -22
- package/dist/libs/common/src/react/flight/interfaces/NormalizeOptions.d.ts +0 -4
- package/dist/libs/common/src/react/flight/interfaces/Request.d.ts +0 -29
- package/dist/libs/common/src/react/flight/interfaces/UpdateStateOptions.d.ts +0 -15
- package/dist/libs/common/src/react/interfaces/ApplicationData.d.ts +0 -3
- package/dist/libs/common/src/react/interfaces/ApplicationState.d.ts +0 -8
- package/dist/libs/common/src/react/interfaces/BaseReducerActions.d.ts +0 -4
- package/dist/libs/common/src/react/interfaces/index.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/SubtitleCollection.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/FileUpload.d.ts +0 -20
- package/dist/libs/shared/src/interfaces/models/Language.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/models/Pdf.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/models/Subtitle.d.ts +0 -7
- package/dist/libs/shared/src/interfaces/requests/UpdateObjectChannel.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/requests/UpdateObjectRating.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/requests/UpdateResourceRequest.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/services/BaseConfigDataService.d.ts +0 -5
- package/dist/libs/shared/src/legacy/errors/too-many-files/TooManyFilesError.d.ts +0 -7
- package/dist/libs/shared/src/legacy/errors/too-many-resources/TooManyResourcesError.d.ts +0 -8
- package/dist/libs/shared/src/legacy/errors/too-many-subtitles/TooManySubtitlesError.d.ts +0 -8
- package/dist/libs/shared/src/utils/SubtitleHelper.d.ts +0 -9
- package/dist/libs/shared/src/utils/VideoDetailsHelper.d.ts +0 -21
- package/dist/scripts/1-42cd7dafc9.chunk.js +0 -1
- package/dist/scripts/13-2247b585ba.chunk.js +0 -1
- package/dist/scripts/14-76f0d1344e.chunk.js +0 -1
- package/dist/scripts/15-044f3ce266.chunk.js +0 -1
- package/dist/scripts/23-c5137083a9.chunk.js +0 -1
- package/dist/scripts/25-4f3f34d140.chunk.js +0 -1
- package/dist/scripts/27-0dd00d8e76.chunk.js +0 -1
- package/dist/scripts/29-cf9581eef8.chunk.js +0 -1
- package/dist/scripts/32-b8ea5b8dea.chunk.js +0 -1
- package/dist/scripts/33-6da26969d0.chunk.js +0 -1
- package/dist/scripts/34-5469e12196.chunk.js +0 -1
- package/dist/scripts/35-9aae492c3e.chunk.js +0 -1
- package/dist/scripts/36-8849ade3c7.chunk.js +0 -1
- package/dist/scripts/38-f8f1eeba1f.chunk.js +0 -1
- package/dist/scripts/4-eaa7ec4468.chunk.js +0 -1
- package/dist/scripts/41-9d3182f53c.chunk.js +0 -1
- package/dist/scripts/44-8f053335a7.chunk.js +0 -1
- package/dist/scripts/45-a4f9646555.chunk.js +0 -1
- package/dist/scripts/46-6b9fc8453b.chunk.js +0 -1
- package/dist/scripts/5-674db7af1b.chunk.js +0 -1
- package/dist/scripts/67-69b25bd800.chunk.js +0 -1
- package/dist/scripts/9-c8b248951d.chunk.js +0 -1
- package/dist/scripts/bundle-c736d7845b.min.js +0 -8
- package/dist/scripts/polyfills-d24f8f2432.min.js +0 -1
- package/dist/sw.js +0 -3
- /package/dist/{libs/shared/src → projects/library-editor/src/apps/library-editor}/enums/ObjectOwnerType.d.ts +0 -0
- /package/dist/{libs/shared/src/legacy → projects/library-editor/src/shared}/behaviors/file-drop/FileDropHelper.d.ts +0 -0
- /package/dist/{libs/shared/src → projects/library-editor/src/shared}/enums/MasterObjectTypes.d.ts +0 -0
- /package/dist/{libs/shared/src → projects/library-editor/src/shared}/enums/UploadInteractionType.d.ts +0 -0
|
@@ -23,5 +23,5 @@ export declare class BaseModel extends Backbone.Model {
|
|
|
23
23
|
preValidate: (attr: any, value: any) => any;
|
|
24
24
|
validate(attributes?: any, options?: any): any;
|
|
25
25
|
listenTo(object: any, eventMap: Backbone.EventMap): this;
|
|
26
|
-
listenTo(obj: string | Backbone.Events, events: string, callback:
|
|
26
|
+
listenTo(obj: string | Backbone.Events, events: string, callback: Function): this;
|
|
27
27
|
}
|
|
@@ -12,7 +12,7 @@ export declare class BaseNestedModel extends BaseModel {
|
|
|
12
12
|
protected associations: {
|
|
13
13
|
[name: string]: Association;
|
|
14
14
|
};
|
|
15
|
-
set(key: string |
|
|
15
|
+
set(key: string | object, value?: any | ModelSetOptions, options?: BaseNestedModelOptions): BaseNestedModel;
|
|
16
16
|
get(attributeName: string): any;
|
|
17
17
|
setAssociation(key: string, value: any, options: BaseNestedModelOptions): BaseModel | BaseCollection<BaseModel>;
|
|
18
18
|
toJSON(...args: any[]): ObjectHash;
|
|
@@ -6,5 +6,5 @@ export declare class BaseService extends Marionette.Object {
|
|
|
6
6
|
name: string;
|
|
7
7
|
constructor(options?: BaseServiceOptions);
|
|
8
8
|
listenTo(object: any, eventMap: Backbone.EventMap): this;
|
|
9
|
-
listenTo(obj: string | Backbone.Events, events: string, callback:
|
|
9
|
+
listenTo(obj: string | Backbone.Events, events: string, callback: Function): this;
|
|
10
10
|
}
|
|
@@ -74,7 +74,7 @@ export declare class CoreView<TModel extends BaseModel = BaseModel> extends Mari
|
|
|
74
74
|
constructor(options?: BaseViewOptions<TModel>);
|
|
75
75
|
appLinks: AppLinkHash;
|
|
76
76
|
normalizeUIKeys: (hash: UIHash) => UIHash;
|
|
77
|
-
static AddViewDataExtension(ext:
|
|
77
|
+
static AddViewDataExtension(ext: Function | Backbone.ObjectHash): void;
|
|
78
78
|
serializeModel(): any;
|
|
79
79
|
serializeCollection(): any[];
|
|
80
80
|
/**
|
|
@@ -99,7 +99,7 @@ export declare class CoreView<TModel extends BaseModel = BaseModel> extends Mari
|
|
|
99
99
|
private hasPartialLoadingRegions;
|
|
100
100
|
protected renderPartialLoading(region?: string): void;
|
|
101
101
|
listenTo(object: any, eventMap: Backbone.EventMap): this;
|
|
102
|
-
listenTo(obj: string | Backbone.Events, events: string, callback:
|
|
102
|
+
listenTo(obj: string | Backbone.Events, events: string, callback: Function): this;
|
|
103
103
|
render(): CoreView<TModel>;
|
|
104
104
|
/** backbone.stickit stuff that is mixed in at run time.
|
|
105
105
|
*
|
|
@@ -27,5 +27,5 @@ export declare class LayoutService extends Marionette.Object {
|
|
|
27
27
|
*/
|
|
28
28
|
private checkRequiredRegions;
|
|
29
29
|
listenTo(object: any, eventMap: Backbone.EventMap): this;
|
|
30
|
-
listenTo(obj: string | Backbone.Events, events: string, callback:
|
|
30
|
+
listenTo(obj: string | Backbone.Events, events: string, callback: Function): this;
|
|
31
31
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="backbone" />
|
|
2
|
-
declare function ListenToRadio(obj: string | Backbone.Events, events: string, callback:
|
|
2
|
+
declare function ListenToRadio(obj: string | Backbone.Events, events: string, callback: Function, originalListenTo: Function): any;
|
|
3
3
|
export { ListenToRadio };
|
|
@@ -74,6 +74,6 @@ export declare class Shell extends Marionette.Application {
|
|
|
74
74
|
store: Store;
|
|
75
75
|
registerStore(store: Store): void;
|
|
76
76
|
listenTo(object: any, eventMap: Backbone.EventMap): this;
|
|
77
|
-
listenTo(obj: string | Backbone.Events, events: string, callback:
|
|
77
|
+
listenTo(obj: string | Backbone.Events, events: string, callback: Function): this;
|
|
78
78
|
}
|
|
79
79
|
export {};
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { ObjectHash } from 'backbone';
|
|
2
|
-
import { HashObject } from "../../react/interfaces";
|
|
3
2
|
export interface BaseCollectionIdentifierOptions<T> {
|
|
4
3
|
collectionPrefix?: string;
|
|
5
4
|
id?: string;
|
|
6
5
|
sort?: T;
|
|
7
6
|
cursor?: string;
|
|
8
7
|
}
|
|
9
|
-
export declare class BaseCollectionIdentifier<T =
|
|
8
|
+
export declare class BaseCollectionIdentifier<T = {}> {
|
|
10
9
|
id: string;
|
|
11
10
|
sort: T;
|
|
12
11
|
cursor: string;
|
|
@@ -9,7 +9,7 @@ export interface DataProviderResponseOptions {
|
|
|
9
9
|
export interface DataProvider extends Marionette.Object {
|
|
10
10
|
parseError(...args: any[]): DataServiceError;
|
|
11
11
|
create<T>(resource: string, obj: T, options: DataProviderResponseOptions): void;
|
|
12
|
-
read(resource: string, options: DataProviderResponseOptions): void;
|
|
12
|
+
read<T>(resource: string, options: DataProviderResponseOptions): void;
|
|
13
13
|
update<T>(resource: string, obj: T, options: DataProviderResponseOptions): void;
|
|
14
14
|
delete(resource: string, options: DataProviderResponseOptions): void;
|
|
15
15
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="jquery" />
|
|
2
2
|
/// <reference types="jqueryui" />
|
|
3
3
|
/// <reference types="typeahead" />
|
|
4
|
-
/// <reference types="dropzone" />
|
|
5
4
|
/// <reference types="bootstrap" />
|
|
5
|
+
/// <reference types="dropzone" />
|
|
6
6
|
import { BaseModel } from '../core/BaseModel';
|
|
7
7
|
export interface StickitBinding {
|
|
8
8
|
observe: string;
|
|
@@ -16,7 +16,7 @@ declare class StaticLanguageService extends BaseService {
|
|
|
16
16
|
get name(): string;
|
|
17
17
|
setConfig(config: LanguageConfig): void;
|
|
18
18
|
getPhrase(namespace: string, phraseKey: string, options?: LanguageInterpolationOptions): string;
|
|
19
|
-
encloseNamespace(namespace: string):
|
|
19
|
+
encloseNamespace(namespace: string): Function;
|
|
20
20
|
}
|
|
21
21
|
export declare const LanguageService: StaticLanguageService;
|
|
22
22
|
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { BaseService } from "../core/BaseService";
|
|
2
|
+
export declare class ScrollService extends BaseService {
|
|
3
|
+
private preventScroll;
|
|
4
|
+
initialize(): void;
|
|
5
|
+
get name(): string;
|
|
6
|
+
/**
|
|
7
|
+
* In places of the application where we would not
|
|
8
|
+
* like an appLink to scroll to the top, call this
|
|
9
|
+
* method. This will typically be done in an `onBeforeRender`
|
|
10
|
+
* or 'onClick' handler.
|
|
11
|
+
*/
|
|
12
|
+
cancelScrollTop(): void;
|
|
13
|
+
/**
|
|
14
|
+
* Once the route change has completed, we check to see
|
|
15
|
+
* if the page should scroll to the top based on the check
|
|
16
|
+
* done by validateAppLink
|
|
17
|
+
*/
|
|
18
|
+
scrollTop(): void;
|
|
19
|
+
}
|
|
@@ -26,6 +26,6 @@ export declare class AjaxDataProvider extends Marionette.Object implements DataP
|
|
|
26
26
|
delete(resource: string, options: DataProviderResponseOptions): void;
|
|
27
27
|
useMiddleware(name: string, callback: MiddlewareCallback): void;
|
|
28
28
|
useErrorMiddleware(name: string, callback: MiddlewareCallback): void;
|
|
29
|
-
parseError(jqXHR: JQuery.jqXHR): DataServiceError;
|
|
29
|
+
parseError(jqXHR: JQuery.jqXHR, textStatus: string, errorThrown: any): DataServiceError;
|
|
30
30
|
}
|
|
31
31
|
export {};
|
|
@@ -37,10 +37,10 @@ export declare abstract class SignalRDataProvider extends Marionette.Object impl
|
|
|
37
37
|
private setConnectionState;
|
|
38
38
|
private isConnectedOrConnecting;
|
|
39
39
|
create<T>(resource: string, obj: T, options: DataProviderResponseOptions): void;
|
|
40
|
-
read(resource: string, options: DataProviderResponseOptions): void;
|
|
40
|
+
read<T>(resource: string, options: DataProviderResponseOptions): void;
|
|
41
41
|
update<T>(resource: string, obj: T, options: DataProviderResponseOptions): void;
|
|
42
42
|
delete(resource: string, options: DataProviderResponseOptions): void;
|
|
43
|
-
parseError(): DataServiceError;
|
|
43
|
+
parseError(...args: any[]): DataServiceError;
|
|
44
44
|
private rpc;
|
|
45
45
|
private subscribe;
|
|
46
46
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as _ from 'underscore';
|
|
2
2
|
export declare const FunctionHelper: {
|
|
3
|
-
debounce<T extends
|
|
4
|
-
throttle<T_1 extends
|
|
3
|
+
debounce<T extends Function>(fn: T, wait: number, immediate?: boolean): T & _.Cancelable;
|
|
4
|
+
throttle<T_1 extends Function>(fn: T_1, wait: number, options?: _.ThrottleSettings): T_1 & _.Cancelable;
|
|
5
5
|
isFunction(object: any): object is Function;
|
|
6
6
|
useIdentity<T_2>(): (...args: any[]) => T_2;
|
|
7
|
-
memoize<T_3 =
|
|
7
|
+
memoize<T_3 = Function>(fn: T_3, hashFn?: (...args: any[]) => string): T_3;
|
|
8
8
|
};
|
|
@@ -25,8 +25,8 @@ export declare class NotificationsPopoverView extends Core.View {
|
|
|
25
25
|
private getCollectionIdentifier;
|
|
26
26
|
private renderNotificationList;
|
|
27
27
|
/**
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
* Only trigger the notification seen event once the collection has been loaded.
|
|
29
|
+
*/
|
|
30
30
|
private triggerSeen;
|
|
31
31
|
onBeforeRender(): boolean;
|
|
32
32
|
viewOptions(): ObjectHash;
|
|
@@ -8,11 +8,11 @@ export declare const InstantSearchHelper: {
|
|
|
8
8
|
prepareQuery: (query: string, settings: JQueryAjaxSettings, options?: ObjectHash) => string;
|
|
9
9
|
bloodhoundConfig(source: string, options: ObjectHash): RemoteSearch<any>;
|
|
10
10
|
handleResult(data: ObjectHash, item: any, options?: ObjectHash): any[];
|
|
11
|
-
processSubjectResult(collection: any[]): any[];
|
|
12
|
-
processVideoResult(collection: any[]): any[];
|
|
13
|
-
processTagsResult(collection: any[]): any[];
|
|
14
|
-
processSeriesResult(collection: any[]): any[];
|
|
15
|
-
processFolderResult(collection: any[]): any[];
|
|
11
|
+
processSubjectResult(collection: any[], item: any, options: ObjectHash): any[];
|
|
12
|
+
processVideoResult(collection: any[], item: any, options: ObjectHash): any[];
|
|
13
|
+
processTagsResult(collection: any[], item: any, options: ObjectHash): any[];
|
|
14
|
+
processSeriesResult(collection: any[], item: any, options: ObjectHash): any[];
|
|
15
|
+
processFolderResult(collection: any[], item: any, options?: ObjectHash): any[];
|
|
16
16
|
/**
|
|
17
17
|
* Manipulate
|
|
18
18
|
* @param collection
|
|
@@ -21,7 +21,7 @@ export declare const TypeaheadHelper: {
|
|
|
21
21
|
* It must also return <any> as the typeahead typings are shit.
|
|
22
22
|
* - Mike
|
|
23
23
|
*/
|
|
24
|
-
getTemplate(template:
|
|
24
|
+
getTemplate(template: Function, options?: ObjectHash): any;
|
|
25
25
|
/**
|
|
26
26
|
* Provides mechanism to map a single search query against multiple bloodhound sources.
|
|
27
27
|
* Sources may be remote endpoints or local in-memory collections.
|
|
@@ -42,34 +42,34 @@ export declare const TypeaheadHelper: {
|
|
|
42
42
|
* Note: With multiple suggestion sets, the render event will also be called multiple times
|
|
43
43
|
* along with this callback.
|
|
44
44
|
*/
|
|
45
|
-
selectFirstResult(e: JQueryEventObject, suggestions: any[], async: boolean): void;
|
|
45
|
+
selectFirstResult(e: JQueryEventObject, suggestions: any[], async: boolean, dataset: string): void;
|
|
46
46
|
/**
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
emitEventOnInput(channelName: string, eventName: string, type: string, wrapperOptions?: ObjectHash):
|
|
47
|
+
* Callback is designed to be attached to the stickit bindings for the typeahead form
|
|
48
|
+
* and emit events when a change is detected on the bound model. We do this to be
|
|
49
|
+
* able to detect whether an input has cleared from a previous selection,
|
|
50
|
+
*
|
|
51
|
+
* @param channelName
|
|
52
|
+
* @param event
|
|
53
|
+
*/
|
|
54
|
+
emitEventOnInput(channelName: string, eventName: string, type: string, wrapperOptions?: ObjectHash): Function;
|
|
55
55
|
/**
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
resetAssociationOnBlur(data: ObjectHash):
|
|
56
|
+
* I hate this.
|
|
57
|
+
*
|
|
58
|
+
* Basically what this function does is curry a callback with the original association's
|
|
59
|
+
* data. Then, depending on the user's interaction with the typeahead input, it will restore that
|
|
60
|
+
* data when a blur event is triggered.
|
|
61
|
+
*
|
|
62
|
+
* @param data raw clone of original assoc model
|
|
63
|
+
*
|
|
64
|
+
* Curried callback
|
|
65
|
+
* @param channelName
|
|
66
|
+
* @param propertyName
|
|
67
|
+
*/
|
|
68
|
+
resetAssociationOnBlur(data: ObjectHash): Function;
|
|
69
69
|
/**
|
|
70
70
|
* Create and render ConfirmSelection component for use as a
|
|
71
71
|
* @param options
|
|
72
72
|
*/
|
|
73
|
-
getConfirmSelectionTemplate(options?: ObjectHash):
|
|
73
|
+
getConfirmSelectionTemplate(options?: ObjectHash): Function;
|
|
74
74
|
clearInputOnBlur(channelName: string): void;
|
|
75
75
|
};
|
|
@@ -58,11 +58,11 @@ export declare class SearchBarView extends Core.View {
|
|
|
58
58
|
private updateInitialQuery;
|
|
59
59
|
private logSearch;
|
|
60
60
|
/**
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
61
|
+
* When the user clicks away from the typeahead, the close event will be fired, unbinding the delete
|
|
62
|
+
* event for recent search. Re-selecting the typehead will open it BUT it won't re-fetch the results and
|
|
63
|
+
* render event won't be fired. We need to manually re-bind the click handlers to ensure the delete
|
|
64
|
+
* functionality is retained.
|
|
65
|
+
*/
|
|
66
66
|
private onTypeaheadOpen;
|
|
67
67
|
private onBeforeTypeaheadClose;
|
|
68
68
|
private onTypeaheadClose;
|
|
@@ -8,7 +8,7 @@ import { DialogOptions } from "../../../../interfaces";
|
|
|
8
8
|
* https://www.iana.org/assignments/media-types/media-types.xhtml
|
|
9
9
|
*/
|
|
10
10
|
export declare class FileTypeError extends DialogError {
|
|
11
|
-
constructor(message: string);
|
|
11
|
+
constructor(message: string, files: File[], acceptedFiles: string);
|
|
12
12
|
get name(): string;
|
|
13
13
|
get lang(): string;
|
|
14
14
|
get dialogOptions(): DialogOptions;
|
|
@@ -19,6 +19,4 @@ import VisibleOn from './visible-on.svg';
|
|
|
19
19
|
import NoEdit from './no-edit.svg';
|
|
20
20
|
import EditClickView from './edit-clickview.svg';
|
|
21
21
|
import Share2 from './share2.svg';
|
|
22
|
-
|
|
23
|
-
import Print from './print.svg';
|
|
24
|
-
export { AddToPlaylist, Close, Delete, Edit, Expand, Minus, More, NewWindow, Plus, Preview, Search, Share, Upload, Down, Right, UpDown, VisibleOff, VisibleOn, NoEdit, EditClickView, Share2, Download, Print };
|
|
22
|
+
export { AddToPlaylist, Close, Delete, Edit, Expand, Minus, More, NewWindow, Plus, Preview, Search, Share, Upload, Down, Right, UpDown, VisibleOff, VisibleOn, NoEdit, EditClickView, Share2 };
|
|
@@ -1,17 +1,9 @@
|
|
|
1
1
|
import { BaseObject } from './primitives';
|
|
2
|
-
import { Thumbnail } from './Thumbnail';
|
|
3
|
-
import { FileType } from "../../utils/VideoDetailsHelper";
|
|
4
|
-
import { Pdf } from './Pdf';
|
|
5
|
-
export declare type ResourceType = 'teacher-pack' | 'student-activity' | 'additional-materials' | 'atom-guide';
|
|
6
2
|
interface ResourceMatadata {
|
|
7
|
-
type:
|
|
8
|
-
resourceType?: ResourceType;
|
|
3
|
+
type: string;
|
|
9
4
|
}
|
|
10
5
|
export interface Resource extends BaseObject {
|
|
11
6
|
url: string;
|
|
12
7
|
metadata: ResourceMatadata;
|
|
13
|
-
fileId: string;
|
|
14
|
-
thumbnail: Thumbnail;
|
|
15
|
-
pdf?: Pdf;
|
|
16
8
|
}
|
|
17
9
|
export {};
|
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
import { UpdateObjectRating, UpdateObjectChannel, Thumbnail } from "./..";
|
|
2
1
|
export interface UpdateVideoRequest {
|
|
2
|
+
id: string;
|
|
3
3
|
name: string;
|
|
4
4
|
description?: string;
|
|
5
|
-
rating: UpdateObjectRating;
|
|
6
|
-
dateBroadcast?: string;
|
|
7
|
-
channel?: UpdateObjectChannel;
|
|
8
|
-
thumbnail?: Thumbnail;
|
|
9
5
|
}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { CurrentUser } from "./..";
|
|
2
|
-
import { HashObject } from "../../../../common/src/react/interfaces";
|
|
3
2
|
export interface BaseUserDataService {
|
|
4
3
|
getCurrentUser(success?: (user: CurrentUser) => void, error?: () => void): void;
|
|
5
|
-
getWorkspace(success?: (workspace: HashObject) => void, error?: () => void): void;
|
|
6
4
|
}
|
|
@@ -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?: Function;
|
|
7
7
|
thumbnailOptions?: ImageOptions;
|
|
8
8
|
playIcon?: boolean;
|
|
9
9
|
lazyload?: boolean;
|
|
@@ -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="dropzone" />
|
|
5
4
|
/// <reference types="bootstrap" />
|
|
5
|
+
/// <reference types="dropzone" />
|
|
6
6
|
export interface MaskHelperOptions {
|
|
7
7
|
targetSelector?: string;
|
|
8
8
|
additionalClasses?: string;
|
|
@@ -26,6 +26,7 @@ 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';
|
|
29
30
|
import './apps/library-editor/components/folder-actions/folder-actions-dropdown.lang.json';
|
|
30
31
|
import './apps/library-editor/components/folder-details/folder-details.lang.json';
|
|
31
32
|
import './apps/library-editor/components/folder-select/folder-select.lang.json';
|
|
@@ -49,6 +50,8 @@ import './apps/library-editor/errors/library-has-subscribers/library-has-subscri
|
|
|
49
50
|
import './apps/library-editor/errors/library-not-empty/library-not-empty.lang.json';
|
|
50
51
|
import './apps/library-editor/errors/max-custom-libraries/max-custom-libraries.lang.json';
|
|
51
52
|
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';
|
|
52
55
|
import './apps/library-editor/errors/video-not-found/video-not-found.lang.json';
|
|
53
56
|
import './apps/library-editor/errors/video-write-permission/video-write-permission.lang.json';
|
|
54
57
|
import './apps/library-editor/services/library-editor-services.lang.json';
|
|
@@ -144,6 +147,7 @@ import './apps/upload/views/upload-complete/upload-complete.lang.json';
|
|
|
144
147
|
import './apps/upload/views/upload-videos/upload-videos.lang.json';
|
|
145
148
|
import './apps/video-access/views/restricted-video-list/restricted-video-list.lang.json';
|
|
146
149
|
import './shared/alerts/alerts.lang.json';
|
|
150
|
+
import './shared/behaviors/file-drop/file-drop.lang.json';
|
|
147
151
|
import './shared/components/bulk-video-actions/bulk-video-actions.lang.json';
|
|
148
152
|
import './shared/components/date-picker/date-picker.lang.json';
|
|
149
153
|
import './shared/components/edit-video/edit-additional-info/edit-additional-info.lang.json';
|
|
@@ -178,6 +182,7 @@ import './shared/errors/local-cache-device-not-found/local-cache-device-not-foun
|
|
|
178
182
|
import './shared/errors/no-beta-access/no-beta-access.lang.json';
|
|
179
183
|
import './shared/errors/not-found/not-found.lang.json';
|
|
180
184
|
import './shared/errors/old-version/old-version.lang.json';
|
|
185
|
+
import './shared/errors/too-many-files/too-many-files.lang.json';
|
|
181
186
|
import './shared/services/shared-services.lang.json';
|
|
182
187
|
import './shared/utils/search/raw-search-components/add-new/add-new.lang.json';
|
|
183
188
|
import './shared/utils/shared-utils.lang.json';
|
|
@@ -206,21 +211,11 @@ import '../../../libs/shared/src/apps/upload/errors/internet-connectivity/intern
|
|
|
206
211
|
import '../../../libs/shared/src/apps/upload/utils/upload-utils.lang.json';
|
|
207
212
|
import '../../../libs/shared/src/components/back-button/back-button.lang.json';
|
|
208
213
|
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';
|
|
211
214
|
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';
|
|
214
215
|
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';
|
|
218
216
|
import '../../../libs/shared/src/components/favourite-button/favourite-button.lang.json';
|
|
219
217
|
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';
|
|
222
218
|
import '../../../libs/shared/src/components/pagination/pagination.lang.json';
|
|
223
|
-
import '../../../libs/shared/src/components/rating-select/rating-select.lang.json';
|
|
224
219
|
import '../../../libs/shared/src/components/search-bar/search-bar.lang.json';
|
|
225
220
|
import '../../../libs/shared/src/components/video-list/components/video-item-description/video-item-description.lang.json';
|
|
226
221
|
import '../../../libs/shared/src/components/widgets/dynamic-widget/dynamic-widget.lang.json';
|
|
@@ -228,17 +223,7 @@ import '../../../libs/shared/src/components/widgets/fixed-widget/fixed-widget.la
|
|
|
228
223
|
import '../../../libs/shared/src/components/widgets/greeting-widget/greeting.lang.json';
|
|
229
224
|
import '../../../libs/shared/src/components/widgets/items/interactive-widget-item/interactive-widget-item.lang.json';
|
|
230
225
|
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';
|
|
233
226
|
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';
|
|
237
227
|
import '../../../libs/shared/src/utils/shared-utils.lang.json';
|
|
238
228
|
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';
|
|
244
229
|
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 "../../../shared/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): void;
|
|
18
|
-
newSubFolder(folderId: string): void;
|
|
17
|
+
newFolder(libraryId: string, params: ObjectHash): void;
|
|
18
|
+
newSubFolder(folderId: string, params: ObjectHash): 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): void;
|
|
23
|
+
videoDetails(videoId: string, params?: ObjectHash): 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 { ObjectHash } from 'backbone';
|
|
2
|
-
import { Core } from "
|
|
2
|
+
import { Core } from "../../../../../../../libs/common/src/backbone";
|
|
3
3
|
interface FileSelectComponentOptions extends Core.ComponentOptions {
|
|
4
4
|
title: string;
|
|
5
5
|
description: string;
|
|
@@ -16,6 +16,7 @@ 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;
|
|
19
20
|
get elements(): ObjectHash;
|
|
20
21
|
get defaults(): ObjectHash;
|
|
21
22
|
get behaviors(): any[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ObjectHash } from 'backbone';
|
|
2
|
-
import { Core } from "
|
|
2
|
+
import { Core } from "../../../../../../../libs/common/src/backbone";
|
|
3
3
|
export interface FileUploadComponentOptions extends Core.ComponentOptions {
|
|
4
|
-
|
|
4
|
+
channelName: string;
|
|
5
5
|
}
|
|
6
6
|
export declare class FileUploadComponent extends Core.Component {
|
|
7
7
|
options: FileUploadComponentOptions;
|