@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
|
@@ -6,6 +6,6 @@ export interface BaseLayoutViewOptions extends BaseViewOptions {
|
|
|
6
6
|
export declare class BaseLayoutView extends BaseView {
|
|
7
7
|
protected options: BaseLayoutViewOptions;
|
|
8
8
|
constructor(options: BaseLayoutViewOptions);
|
|
9
|
-
static getCacheKey(options
|
|
9
|
+
static getCacheKey(options?: BaseLayoutViewOptions): string;
|
|
10
10
|
unmountRegion(regionName: string): void;
|
|
11
11
|
}
|
|
@@ -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: (...args: any) => any): 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 | ObjectHash, 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: (...args: any) => any): 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: (...args: any) => any | 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: (...args: any) => any): 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: (...args: any) => any): 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: (...args: any) => any, originalListenTo: (...args: any) => any): 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: (...args: any) => any): this;
|
|
78
78
|
}
|
|
79
79
|
export {};
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { ObjectHash } from 'backbone';
|
|
2
|
+
import { HashObject } from "../../react/interfaces";
|
|
2
3
|
export interface BaseCollectionIdentifierOptions<T> {
|
|
3
4
|
collectionPrefix?: string;
|
|
4
5
|
id?: string;
|
|
5
6
|
sort?: T;
|
|
6
7
|
cursor?: string;
|
|
7
8
|
}
|
|
8
|
-
export declare class BaseCollectionIdentifier<T =
|
|
9
|
+
export declare class BaseCollectionIdentifier<T = HashObject> {
|
|
9
10
|
id: string;
|
|
10
11
|
sort: T;
|
|
11
12
|
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
|
|
12
|
+
read(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="bootstrap" />
|
|
5
4
|
/// <reference types="dropzone" />
|
|
5
|
+
/// <reference types="bootstrap" />
|
|
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): (phraseKey: string, options?: LanguageInterpolationOptions) => string;
|
|
20
20
|
}
|
|
21
21
|
export declare const LanguageService: StaticLanguageService;
|
|
22
22
|
export {};
|
|
@@ -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
|
|
29
|
+
parseError(jqXHR: JQuery.jqXHR): 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
|
|
40
|
+
read(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(
|
|
43
|
+
parseError(): 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 (...args: any) => any>(fn: T, wait: number, immediate?: boolean): T & _.Cancelable;
|
|
4
|
+
throttle<T_1 extends (...args: any) => any>(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 = (...args: any) => any>(fn: T_3, hashFn?: (...args: any[]) => string): T_3;
|
|
8
8
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './RequestStatus';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { RequestStatus } from '../enums';
|
|
2
|
+
import { Request } from './Request';
|
|
3
|
+
import { HashObject } from "../../interfaces/HashObject";
|
|
4
|
+
export interface FlightState {
|
|
5
|
+
readonly entities: NormalizedEntities;
|
|
6
|
+
readonly resources: Resources;
|
|
7
|
+
}
|
|
8
|
+
export interface NormalizedEntities {
|
|
9
|
+
readonly [key: string]: object;
|
|
10
|
+
}
|
|
11
|
+
export interface Resource {
|
|
12
|
+
readonly request: Request;
|
|
13
|
+
readonly status: RequestStatus;
|
|
14
|
+
readonly response?: string | string[] | HashObject | HashObject[];
|
|
15
|
+
readonly errorResponse?: any;
|
|
16
|
+
readonly timestamp?: number;
|
|
17
|
+
readonly statusCode?: number;
|
|
18
|
+
readonly entityIds?: string[];
|
|
19
|
+
}
|
|
20
|
+
export interface Resources {
|
|
21
|
+
readonly [key: string]: Resource;
|
|
22
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { HttpVerbs } from "../../../backbone/enums/HttpVerbs";
|
|
2
|
+
import { HashObject } from "../../interfaces/HashObject";
|
|
3
|
+
import { Xhr, SimulatedXhr } from "../../../backbone/interfaces/Xhr";
|
|
4
|
+
import { NormalizeOptions } from './NormalizeOptions';
|
|
5
|
+
import { Resources } from './FlightState';
|
|
6
|
+
import { UpdateStateOptions } from './UpdateStateOptions';
|
|
7
|
+
export interface Request {
|
|
8
|
+
key: string;
|
|
9
|
+
url: string;
|
|
10
|
+
type?: HttpVerbs;
|
|
11
|
+
expiryTime?: number;
|
|
12
|
+
data?: HashObject | HashObject[];
|
|
13
|
+
normalize?: boolean;
|
|
14
|
+
normalizeOptions?: NormalizeOptions;
|
|
15
|
+
formatData?: (data: HashObject | HashObject[]) => HashObject | HashObject[];
|
|
16
|
+
bootstrapName?: string;
|
|
17
|
+
invalidationKeys?: string | string[];
|
|
18
|
+
updateState?: UpdateStateOptions | UpdateStateOptions[];
|
|
19
|
+
success?: (data: HashObject | HashObject[] | number) => void;
|
|
20
|
+
error?: (Xhr: Xhr) => void;
|
|
21
|
+
always?: () => void;
|
|
22
|
+
maintainState?: (resources: Resources) => Resources;
|
|
23
|
+
}
|
|
24
|
+
export interface SimulatedRequest extends Request {
|
|
25
|
+
successResponse?: () => (HashObject | HashObject[]);
|
|
26
|
+
errorResponse?: () => SimulatedXhr;
|
|
27
|
+
timeout?: number;
|
|
28
|
+
noResponse?: boolean;
|
|
29
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { HashObject } from "../../interfaces/HashObject";
|
|
2
|
+
export interface UpdateStateOptions {
|
|
3
|
+
keys: string | string[];
|
|
4
|
+
/**
|
|
5
|
+
* updateData takes a hash where the keys are keys for resources
|
|
6
|
+
* from the application state that match the keys above.
|
|
7
|
+
* The value is the denormalized (where applicable) data corresponding
|
|
8
|
+
* to that resource.
|
|
9
|
+
*/
|
|
10
|
+
updateData: (data: {
|
|
11
|
+
[key: string]: HashObject;
|
|
12
|
+
}) => {
|
|
13
|
+
[key: string]: HashObject;
|
|
14
|
+
};
|
|
15
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ApplicationData } from "./ApplicationData";
|
|
2
|
+
import { FlightState } from "../flight/interfaces/FlightState";
|
|
3
|
+
import { HashObject } from "./HashObject";
|
|
4
|
+
export interface ApplicationState {
|
|
5
|
+
readonly flightData: FlightState;
|
|
6
|
+
readonly applicationData: ApplicationData;
|
|
7
|
+
readonly viewModelData: HashObject;
|
|
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[]
|
|
12
|
-
processVideoResult(collection: any[]
|
|
13
|
-
processTagsResult(collection: any[]
|
|
14
|
-
processSeriesResult(collection: any[]
|
|
15
|
-
processFolderResult(collection: 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[];
|
|
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: (...args: any) => any, 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
|
|
45
|
+
selectFirstResult(e: JQueryEventObject, suggestions: any[], async: boolean): 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): (...args: any) => any;
|
|
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): (...args: any) => any;
|
|
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): (...args: any) => any;
|
|
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);
|
|
12
12
|
get name(): string;
|
|
13
13
|
get lang(): string;
|
|
14
14
|
get dialogOptions(): DialogOptions;
|
|
@@ -19,4 +19,6 @@ 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
|
-
|
|
22
|
+
import Download from './download.svg';
|
|
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 };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Interface for a file uploaded
|
|
3
|
+
* to FileApi
|
|
4
|
+
*/
|
|
5
|
+
export interface FileUpload {
|
|
6
|
+
id: string;
|
|
7
|
+
file: {
|
|
8
|
+
cvUpload: {
|
|
9
|
+
uploadId: string;
|
|
10
|
+
ingestUrl: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
fileInfo: {
|
|
14
|
+
id: string;
|
|
15
|
+
name: string;
|
|
16
|
+
extension: string;
|
|
17
|
+
size: number;
|
|
18
|
+
url: string;
|
|
19
|
+
};
|
|
20
|
+
}
|
|
@@ -1,9 +1,17 @@
|
|
|
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';
|
|
2
6
|
interface ResourceMatadata {
|
|
3
|
-
type:
|
|
7
|
+
type: FileType;
|
|
8
|
+
resourceType?: ResourceType;
|
|
4
9
|
}
|
|
5
10
|
export interface Resource extends BaseObject {
|
|
6
11
|
url: string;
|
|
7
12
|
metadata: ResourceMatadata;
|
|
13
|
+
fileId: string;
|
|
14
|
+
thumbnail: Thumbnail;
|
|
15
|
+
pdf?: Pdf;
|
|
8
16
|
}
|
|
9
17
|
export {};
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
+
import { UpdateObjectRating, UpdateObjectChannel, Thumbnail } from "./..";
|
|
1
2
|
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;
|
|
5
9
|
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { CurrentUser } from "./..";
|
|
2
|
+
import { HashObject } from "../../../../common/src/react/interfaces";
|
|
2
3
|
export interface BaseUserDataService {
|
|
3
4
|
getCurrentUser(success?: (user: CurrentUser) => void, error?: () => void): void;
|
|
5
|
+
getWorkspace(success?: (workspace: HashObject) => void, error?: () => void): void;
|
|
4
6
|
}
|