@clickview/library-editor 1.1.26-dev.0 → 1.1.26
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/1.chunk.css.map +1 -0
- package/dist/css/10.chunk.css.map +1 -0
- package/dist/css/11.chunk.css +137 -0
- package/dist/css/11.chunk.css.map +1 -0
- package/dist/css/12.chunk.css.map +1 -0
- package/dist/css/13.chunk.css.map +1 -0
- package/dist/css/14.chunk.css.map +1 -0
- package/dist/css/16.chunk.css.map +1 -0
- package/dist/css/17.chunk.css.map +1 -0
- package/dist/css/18.chunk.css +20 -0
- package/dist/css/18.chunk.css.map +1 -0
- package/dist/css/2.chunk.css +145 -0
- package/dist/css/2.chunk.css.map +1 -0
- package/dist/css/21.chunk.css.map +1 -0
- package/dist/css/22.chunk.css.map +1 -0
- package/dist/css/23.chunk.css +5 -3
- package/dist/css/23.chunk.css.map +1 -0
- package/dist/css/25.chunk.css +2 -0
- package/dist/css/25.chunk.css.map +1 -0
- package/dist/css/26.chunk.css.map +1 -0
- package/dist/css/28.chunk.css.map +1 -0
- package/dist/css/29.chunk.css.map +1 -0
- package/dist/css/3.chunk.css.map +1 -0
- package/dist/css/30.chunk.css.map +1 -0
- package/dist/css/31.chunk.css.map +1 -0
- package/dist/css/32.chunk.css.map +1 -0
- package/dist/css/33.chunk.css.map +1 -0
- package/dist/css/34.chunk.css +21 -0
- package/dist/css/34.chunk.css.map +1 -0
- package/dist/css/35.chunk.css +20 -0
- package/dist/css/35.chunk.css.map +1 -0
- package/dist/css/36.chunk.css +14 -0
- package/dist/css/36.chunk.css.map +1 -0
- package/dist/css/37.chunk.css.map +1 -0
- package/dist/css/38.chunk.css.map +1 -0
- package/dist/css/40.chunk.css.map +1 -0
- package/dist/css/41.chunk.css.map +1 -0
- package/dist/css/42.chunk.css.map +1 -0
- package/dist/css/43.chunk.css.map +1 -0
- package/dist/css/44.chunk.css.map +1 -0
- package/dist/css/45.chunk.css.map +1 -0
- package/dist/css/46.chunk.css.map +1 -0
- package/dist/css/47.chunk.css.map +1 -0
- package/dist/css/48.chunk.css.map +1 -0
- package/dist/css/49.chunk.css +35 -0
- package/dist/css/49.chunk.css.map +1 -0
- package/dist/css/50.chunk.css.map +1 -0
- package/dist/css/51.chunk.css.map +1 -0
- package/dist/css/52.chunk.css +66 -0
- package/dist/css/52.chunk.css.map +1 -0
- package/dist/css/55.chunk.css.map +1 -0
- package/dist/css/56.chunk.css.map +1 -0
- package/dist/css/58.chunk.css.map +1 -0
- package/dist/css/59.chunk.css.map +1 -0
- package/dist/css/6.chunk.css.map +1 -0
- package/dist/css/60.chunk.css +18 -0
- package/dist/css/60.chunk.css.map +1 -0
- package/dist/css/62.chunk.css.map +1 -0
- package/dist/css/63.chunk.css +170 -0
- package/dist/css/63.chunk.css.map +1 -0
- package/dist/css/67.chunk.css +78 -0
- package/dist/css/67.chunk.css.map +1 -0
- package/dist/css/68.chunk.css +17 -0
- package/dist/css/68.chunk.css.map +1 -0
- package/dist/css/69.chunk.css +17 -0
- package/dist/css/69.chunk.css.map +1 -0
- package/dist/css/7.chunk.css.map +1 -0
- package/dist/css/70.chunk.css +23 -0
- package/dist/css/70.chunk.css.map +1 -0
- package/dist/css/71.chunk.css +40 -0
- package/dist/css/71.chunk.css.map +1 -0
- package/dist/css/72.chunk.css +16 -0
- package/dist/css/72.chunk.css.map +1 -0
- package/dist/css/73.chunk.css +37 -0
- package/dist/css/73.chunk.css.map +1 -0
- package/dist/css/74.chunk.css +29 -0
- package/dist/css/74.chunk.css.map +1 -0
- package/dist/css/75.chunk.css +6 -0
- package/dist/css/75.chunk.css.map +1 -0
- package/dist/css/76.chunk.css +6 -0
- package/dist/css/76.chunk.css.map +1 -0
- package/dist/css/8.chunk.css.map +1 -0
- package/dist/css/library-editor-app.css +2 -2
- package/dist/css/library-editor-app.css.map +1 -0
- 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/projects/library-editor/src/apps/library-editor/components/file-select/FileSelectComponent.d.ts +30 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/file-uploads/FileUploadComponent.d.ts +15 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/file-uploads/FileUploadsComponentCollection.d.ts +1 -1
- package/dist/projects/library-editor/src/apps/library-editor/components/language-select/LanguageSelectTypeaheadHelper.d.ts +2 -1
- package/dist/projects/library-editor/src/apps/library-editor/components/video-resources/ResourceItemComponent.d.ts +22 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/video-resources/VideoResourcesComponent.d.ts +1 -3
- package/dist/projects/library-editor/src/apps/library-editor/components/video-subtitles/SubtitleItemComponent.d.ts +18 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/video-subtitles/VideoSubtitlesComponent.d.ts +1 -4
- package/dist/projects/library-editor/src/apps/library-editor/enums/ObjectOwnerType.d.ts +4 -0
- 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/projects/library-editor/src/shared/behaviors/file-drop/FileDropBehavior.d.ts +19 -0
- package/dist/projects/library-editor/src/shared/behaviors/file-drop/FileDropHelper.d.ts +4 -0
- package/dist/projects/library-editor/src/shared/behaviors/file-drop/FileDropMaskBehavior.d.ts +19 -0
- package/dist/projects/library-editor/src/shared/behaviors/file-select/FileSelectBehavior.d.ts +16 -0
- package/dist/projects/library-editor/src/shared/behaviors/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/MasterObjectTypes.d.ts +8 -0
- package/dist/projects/library-editor/src/shared/enums/UploadInteractionType.d.ts +4 -0
- 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-1c2bb7e28a.chunk.js} +1 -1
- package/dist/scripts/0-1dbc79e4e7.chunk.js +1 -0
- package/dist/scripts/0-8b75adf540.chunk.js +1 -0
- package/dist/scripts/0-93276429bf.chunk.js +1 -0
- package/dist/scripts/0.chunk.js +1039 -0
- package/dist/scripts/0.chunk.js.map +1 -0
- package/dist/scripts/1-22a3bd404f.chunk.js +1 -0
- package/dist/scripts/1-480e5932a6.chunk.js +1 -0
- package/dist/scripts/1-6051b28de6.chunk.js +1 -0
- package/dist/scripts/1-b85c11fc30.chunk.js +1 -0
- package/dist/scripts/1.chunk.js +442 -0
- package/dist/scripts/1.chunk.js.map +1 -0
- package/dist/scripts/{10-75e622dc44.chunk.js → 10-31317a2d02.chunk.js} +1 -1
- package/dist/scripts/10-3ff370d548.chunk.js +1 -0
- package/dist/scripts/10-923c4b075a.chunk.js +1 -0
- package/dist/scripts/10-e2fea45a6c.chunk.js +1 -0
- package/dist/scripts/10.chunk.js +820 -0
- package/dist/scripts/10.chunk.js.map +1 -0
- package/dist/scripts/{11-9f5f0c25dc.chunk.js → 11-039959db6c.chunk.js} +1 -1
- package/dist/scripts/11-3dec7d2c7e.chunk.js +11 -0
- package/dist/scripts/11-74bc3f2d9f.chunk.js +11 -0
- package/dist/scripts/11.chunk.js +4091 -0
- package/dist/scripts/11.chunk.js.map +1 -0
- package/dist/scripts/{12-e5d7fe24d9.chunk.js → 12-07999b80e0.chunk.js} +1 -1
- package/dist/scripts/12-24bd360be0.chunk.js +1 -0
- package/dist/scripts/12-6ecdd79b85.chunk.js +1 -0
- package/dist/scripts/12-e522e64a94.chunk.js +1 -0
- package/dist/scripts/12.chunk.js +555 -0
- package/dist/scripts/12.chunk.js.map +1 -0
- package/dist/scripts/13-081c0e5887.chunk.js +1 -0
- package/dist/scripts/13-282f8add17.chunk.js +1 -0
- package/dist/scripts/13-54fe4fe53b.chunk.js +1 -0
- package/dist/scripts/13-958a8fd026.chunk.js +1 -0
- package/dist/scripts/13.chunk.js +380 -0
- package/dist/scripts/13.chunk.js.map +1 -0
- package/dist/scripts/14-16f84b2721.chunk.js +1 -0
- package/dist/scripts/14-45cd4dc6ef.chunk.js +1 -0
- package/dist/scripts/14-5e443cb402.chunk.js +1 -0
- package/dist/scripts/14-68c85d6674.chunk.js +1 -0
- package/dist/scripts/14.chunk.js +2386 -0
- package/dist/scripts/14.chunk.js.map +1 -0
- package/dist/scripts/15-12fa4c3471.chunk.js +1 -0
- package/dist/scripts/15-1f779dd0d3.chunk.js +1 -0
- package/dist/scripts/15-5544e6bde6.chunk.js +1 -0
- package/dist/scripts/15-8c96c3288e.chunk.js +1 -0
- package/dist/scripts/15.chunk.js +314 -0
- package/dist/scripts/15.chunk.js.map +1 -0
- package/dist/scripts/{16-0ebecead61.chunk.js → 16-427a8933c8.chunk.js} +1 -1
- package/dist/scripts/16-670c43d26f.chunk.js +1 -0
- package/dist/scripts/16-742a776f88.chunk.js +1 -0
- package/dist/scripts/16-7bcffb06e7.chunk.js +1 -0
- package/dist/scripts/16.chunk.js +1290 -0
- package/dist/scripts/16.chunk.js.map +1 -0
- package/dist/scripts/{17-9a2f82453a.chunk.js → 17-140fec014b.chunk.js} +1 -1
- package/dist/scripts/17-7093f50dff.chunk.js +1 -0
- package/dist/scripts/17-b5e44e8b17.chunk.js +1 -0
- package/dist/scripts/17-f6b0159da3.chunk.js +1 -0
- package/dist/scripts/17.chunk.js +381 -0
- package/dist/scripts/17.chunk.js.map +1 -0
- package/dist/scripts/18.chunk.js +393 -0
- package/dist/scripts/18.chunk.js.map +1 -0
- package/dist/scripts/19.chunk.js +364 -0
- package/dist/scripts/19.chunk.js.map +1 -0
- package/dist/scripts/{2-cd7f1d10b5.chunk.js → 2-0c5fba8b60.chunk.js} +1 -1
- package/dist/scripts/2-5fd33f5359.chunk.js +1 -0
- package/dist/scripts/2-7cc9176e8a.chunk.js +1 -0
- package/dist/scripts/2.chunk.js +523 -0
- package/dist/scripts/2.chunk.js.map +1 -0
- package/dist/scripts/{20-8cabdf4ccb.chunk.js → 20-4d88ede0e0.chunk.js} +1 -1
- package/dist/scripts/20-732a7a549d.chunk.js +1 -0
- package/dist/scripts/20-a84733c89f.chunk.js +1 -0
- package/dist/scripts/20-df9f6f7661.chunk.js +1 -0
- package/dist/scripts/20.chunk.js +317 -0
- package/dist/scripts/20.chunk.js.map +1 -0
- package/dist/scripts/{21-9dfc314143.chunk.js → 21-0b84d33cef.chunk.js} +1 -1
- package/dist/scripts/21-9b28a13702.chunk.js +1 -0
- package/dist/scripts/21-c9983ca8ad.chunk.js +1 -0
- package/dist/scripts/21-ee85b6d208.chunk.js +1 -0
- package/dist/scripts/21.chunk.js +531 -0
- package/dist/scripts/21.chunk.js.map +1 -0
- package/dist/scripts/{22-ea1736d37f.chunk.js → 22-082c94a39c.chunk.js} +1 -1
- package/dist/scripts/22-151cf38018.chunk.js +1 -0
- package/dist/scripts/22-3b2207c8f6.chunk.js +1 -0
- package/dist/scripts/22-6e6ed9f607.chunk.js +1 -0
- package/dist/scripts/22.chunk.js +354 -0
- package/dist/scripts/22.chunk.js.map +1 -0
- package/dist/scripts/23-1af21bf234.chunk.js +1 -0
- package/dist/scripts/23-2b00ff99bf.chunk.js +1 -0
- package/dist/scripts/23-94f9fe4222.chunk.js +1 -0
- package/dist/scripts/23-ab8f73ee87.chunk.js +1 -0
- package/dist/scripts/23.chunk.js +604 -0
- package/dist/scripts/23.chunk.js.map +1 -0
- package/dist/scripts/{24-d6b7d3f374.chunk.js → 24-74ab289589.chunk.js} +1 -1
- package/dist/scripts/24-7aa9b43511.chunk.js +1 -0
- package/dist/scripts/24-c94049500e.chunk.js +1 -0
- package/dist/scripts/24-d1ffdd4755.chunk.js +1 -0
- package/dist/scripts/24.chunk.js +318 -0
- package/dist/scripts/24.chunk.js.map +1 -0
- package/dist/scripts/25-34c0406f50.chunk.js +1 -0
- package/dist/scripts/25-5a38ce3533.chunk.js +1 -0
- package/dist/scripts/25-76d9011eea.chunk.js +1 -0
- package/dist/scripts/25-866cfc0ef5.chunk.js +1 -0
- package/dist/scripts/25.chunk.js +365 -0
- package/dist/scripts/25.chunk.js.map +1 -0
- package/dist/scripts/{26-b3a2e6bca1.chunk.js → 26-d166e3c313.chunk.js} +1 -1
- package/dist/scripts/26-d19e3f755c.chunk.js +1 -0
- package/dist/scripts/26-e53ba8e00f.chunk.js +1 -0
- package/dist/scripts/26-ea028a6276.chunk.js +1 -0
- package/dist/scripts/26.chunk.js +442 -0
- package/dist/scripts/26.chunk.js.map +1 -0
- package/dist/scripts/27-2109d41afa.chunk.js +1 -0
- package/dist/scripts/27-3aa629dd67.chunk.js +1 -0
- package/dist/scripts/27-c1241fcd84.chunk.js +1 -0
- package/dist/scripts/27-ee88c84482.chunk.js +1 -0
- package/dist/scripts/27.chunk.js +3630 -0
- package/dist/scripts/27.chunk.js.map +1 -0
- package/dist/scripts/28-5c540e74cc.chunk.js +1 -0
- package/dist/scripts/{28-cef433c779.chunk.js → 28-738b88c816.chunk.js} +1 -1
- package/dist/scripts/28-76b9766891.chunk.js +1 -0
- package/dist/scripts/28-e490147f6b.chunk.js +1 -0
- package/dist/scripts/28.chunk.js +3172 -0
- package/dist/scripts/28.chunk.js.map +1 -0
- package/dist/scripts/29-2da59b1589.chunk.js +1 -0
- package/dist/scripts/29-3faa153e38.chunk.js +1 -0
- package/dist/scripts/29-69389908f8.chunk.js +1 -0
- package/dist/scripts/29-bb7e39304b.chunk.js +1 -0
- package/dist/scripts/29.chunk.js +3090 -0
- package/dist/scripts/29.chunk.js.map +1 -0
- package/dist/scripts/{3-02a37512e4.chunk.js → 3-42e8af9f39.chunk.js} +1 -1
- package/dist/scripts/3-6e67dd4b74.chunk.js +1 -0
- package/dist/scripts/3-81b501ac1e.chunk.js +1 -0
- package/dist/scripts/3-c69e4454ce.chunk.js +1 -0
- package/dist/scripts/3.chunk.js +845 -0
- package/dist/scripts/3.chunk.js.map +1 -0
- package/dist/scripts/{30-cc04703754.chunk.js → 30-109f8ddd5c.chunk.js} +1 -1
- package/dist/scripts/30-9d32d88d76.chunk.js +1 -0
- package/dist/scripts/30-a1df3e37da.chunk.js +1 -0
- package/dist/scripts/30-fa390c35f6.chunk.js +1 -0
- package/dist/scripts/30.chunk.js +1851 -0
- package/dist/scripts/30.chunk.js.map +1 -0
- package/dist/scripts/{31-92c7d2494b.chunk.js → 31-639090fee3.chunk.js} +1 -1
- package/dist/scripts/31-ce31250e42.chunk.js +1 -0
- package/dist/scripts/31-f15802825c.chunk.js +1 -0
- package/dist/scripts/31-fc63c4629d.chunk.js +1 -0
- package/dist/scripts/31.chunk.js +958 -0
- package/dist/scripts/31.chunk.js.map +1 -0
- package/dist/scripts/32-1ad8193581.chunk.js +1 -0
- package/dist/scripts/32-3de9c7454b.chunk.js +1 -0
- package/dist/scripts/32-4173874dbe.chunk.js +1 -0
- package/dist/scripts/32-9bca57f408.chunk.js +1 -0
- package/dist/scripts/32.chunk.js +1235 -0
- package/dist/scripts/32.chunk.js.map +1 -0
- package/dist/scripts/33-20ac0ab4a1.chunk.js +1 -0
- package/dist/scripts/33-350334db4c.chunk.js +1 -0
- package/dist/scripts/33-675467f07d.chunk.js +1 -0
- package/dist/scripts/33-7efae85b8b.chunk.js +1 -0
- package/dist/scripts/33.chunk.js +958 -0
- package/dist/scripts/33.chunk.js.map +1 -0
- package/dist/scripts/34-0a7f3b55fe.chunk.js +1 -0
- package/dist/scripts/34-3adf309726.chunk.js +1 -0
- package/dist/scripts/34-c4f0495750.chunk.js +1 -0
- package/dist/scripts/34-f6eea83a09.chunk.js +1 -0
- package/dist/scripts/34.chunk.js +990 -0
- package/dist/scripts/34.chunk.js.map +1 -0
- package/dist/scripts/35-17b30890a5.chunk.js +1 -0
- package/dist/scripts/35-4254e160f0.chunk.js +1 -0
- package/dist/scripts/35-7f90628b77.chunk.js +1 -0
- package/dist/scripts/35-9c3899dfbd.chunk.js +1 -0
- package/dist/scripts/35.chunk.js +518 -0
- package/dist/scripts/35.chunk.js.map +1 -0
- package/dist/scripts/36-1fde696d6a.chunk.js +1 -0
- package/dist/scripts/36-2ec95df618.chunk.js +1 -0
- package/dist/scripts/36-b5ad543fba.chunk.js +1 -0
- package/dist/scripts/36-cdbe95bd06.chunk.js +1 -0
- package/dist/scripts/36.chunk.js +335 -0
- package/dist/scripts/36.chunk.js.map +1 -0
- package/dist/scripts/{37-3b6bf13818.chunk.js → 37-3f3a603b60.chunk.js} +1 -1
- package/dist/scripts/37-6fa4b8fc60.chunk.js +1 -0
- package/dist/scripts/37-97b84a8be5.chunk.js +1 -0
- package/dist/scripts/37-c649a307d4.chunk.js +1 -0
- package/dist/scripts/37.chunk.js +236 -0
- package/dist/scripts/37.chunk.js.map +1 -0
- package/dist/scripts/38-0cf8029bec.chunk.js +1 -0
- package/dist/scripts/38-1c98f19489.chunk.js +1 -0
- package/dist/scripts/38-6fc346f964.chunk.js +1 -0
- package/dist/scripts/38-7ffe535b0d.chunk.js +1 -0
- package/dist/scripts/38.chunk.js +315 -0
- package/dist/scripts/38.chunk.js.map +1 -0
- package/dist/scripts/39-13d6669c3f.chunk.js +1 -0
- package/dist/scripts/39-71c4bb46b2.chunk.js +1 -0
- package/dist/scripts/{39-01d58327ca.chunk.js → 39-748eb61732.chunk.js} +1 -1
- package/dist/scripts/39-e5983a5d53.chunk.js +1 -0
- package/dist/scripts/39.chunk.js +107 -0
- package/dist/scripts/39.chunk.js.map +1 -0
- package/dist/scripts/4-435484d217.chunk.js +1 -0
- package/dist/scripts/4-5c50e71b83.chunk.js +1 -0
- package/dist/scripts/4-7274621693.chunk.js +1 -0
- package/dist/scripts/4-85ba8523ad.chunk.js +1 -0
- package/dist/scripts/4.chunk.js +335 -0
- package/dist/scripts/4.chunk.js.map +1 -0
- package/dist/scripts/{40-60f5d582c8.chunk.js → 40-2691dfbd5a.chunk.js} +1 -1
- package/dist/scripts/40-2ecbd41570.chunk.js +1 -0
- package/dist/scripts/40-a691a401ff.chunk.js +1 -0
- package/dist/scripts/40-f1d72b1049.chunk.js +1 -0
- package/dist/scripts/40.chunk.js +2493 -0
- package/dist/scripts/40.chunk.js.map +1 -0
- package/dist/scripts/41-0368ba16dc.chunk.js +1 -0
- package/dist/scripts/41-1df587ee3a.chunk.js +1 -0
- package/dist/scripts/41-85fcb15184.chunk.js +1 -0
- package/dist/scripts/41-bb9aef24f7.chunk.js +1 -0
- package/dist/scripts/41.chunk.js +1782 -0
- package/dist/scripts/41.chunk.js.map +1 -0
- package/dist/scripts/{42-390bbda5c5.chunk.js → 42-3480033857.chunk.js} +1 -1
- package/dist/scripts/42-389acb6e55.chunk.js +1 -0
- package/dist/scripts/42-3ef41f40f5.chunk.js +1 -0
- package/dist/scripts/42-61a626d7f4.chunk.js +1 -0
- package/dist/scripts/42.chunk.js +2327 -0
- package/dist/scripts/42.chunk.js.map +1 -0
- package/dist/scripts/{43-acc9eadde2.chunk.js → 43-2fe5b1c9cc.chunk.js} +1 -1
- package/dist/scripts/43-49f13dab14.chunk.js +1 -0
- package/dist/scripts/43-72d1bc0ae2.chunk.js +1 -0
- package/dist/scripts/43-a5b882d502.chunk.js +1 -0
- package/dist/scripts/43.chunk.js +1206 -0
- package/dist/scripts/43.chunk.js.map +1 -0
- package/dist/scripts/44-0703eb0ad8.chunk.js +1 -0
- package/dist/scripts/44-756fd6622b.chunk.js +1 -0
- package/dist/scripts/44-de22428999.chunk.js +1 -0
- package/dist/scripts/44-ee6a740a16.chunk.js +1 -0
- package/dist/scripts/44.chunk.js +2245 -0
- package/dist/scripts/44.chunk.js.map +1 -0
- package/dist/scripts/45-610d098194.chunk.js +1 -0
- package/dist/scripts/45-806dd5b78c.chunk.js +1 -0
- package/dist/scripts/45-da34a8b6b2.chunk.js +1 -0
- package/dist/scripts/45-e4a92a40fd.chunk.js +1 -0
- package/dist/scripts/45.chunk.js +1065 -0
- package/dist/scripts/45.chunk.js.map +1 -0
- package/dist/scripts/46-4aa05464fe.chunk.js +1 -0
- package/dist/scripts/46-cadf3f46ee.chunk.js +1 -0
- package/dist/scripts/46-cccef3e874.chunk.js +1 -0
- package/dist/scripts/46-ebf8eee4ac.chunk.js +1 -0
- package/dist/scripts/46.chunk.js +655 -0
- package/dist/scripts/46.chunk.js.map +1 -0
- package/dist/scripts/{47-7c5a3685a5.chunk.js → 47-1e3d829757.chunk.js} +1 -1
- package/dist/scripts/47-22a83e5974.chunk.js +1 -0
- package/dist/scripts/47-56d22af6ba.chunk.js +1 -0
- package/dist/scripts/47-c61fa52c53.chunk.js +1 -0
- package/dist/scripts/47.chunk.js +736 -0
- package/dist/scripts/47.chunk.js.map +1 -0
- package/dist/scripts/{48-469dfae9ba.chunk.js → 48-877e9e02b8.chunk.js} +1 -1
- package/dist/scripts/48-e05ab3ecac.chunk.js +1 -0
- package/dist/scripts/48-e577124476.chunk.js +1 -0
- package/dist/scripts/48-fc96b968fc.chunk.js +1 -0
- package/dist/scripts/48.chunk.js +994 -0
- package/dist/scripts/48.chunk.js.map +1 -0
- package/dist/scripts/{49-06756becaf.chunk.js → 49-0f9a6a1782.chunk.js} +1 -1
- package/dist/scripts/49-13c5f8e87d.chunk.js +1 -0
- package/dist/scripts/49-4a6c119f58.chunk.js +1 -0
- package/dist/scripts/49-f9151c7e06.chunk.js +1 -0
- package/dist/scripts/49.chunk.js +761 -0
- package/dist/scripts/49.chunk.js.map +1 -0
- package/dist/scripts/5-06b97501c3.chunk.js +1 -0
- package/dist/scripts/5-1ba89c4774.chunk.js +1 -0
- package/dist/scripts/5-515b264fbc.chunk.js +1 -0
- package/dist/scripts/5-d6a7d71167.chunk.js +1 -0
- package/dist/scripts/5.chunk.js +15 -0
- package/dist/scripts/5.chunk.js.map +1 -0
- package/dist/scripts/{50-49475581af.chunk.js → 50-0741587a02.chunk.js} +1 -1
- package/dist/scripts/50-0d5aed7730.chunk.js +1 -0
- package/dist/scripts/50-3924907655.chunk.js +1 -0
- package/dist/scripts/50-4de0b758d5.chunk.js +1 -0
- package/dist/scripts/50.chunk.js +530 -0
- package/dist/scripts/50.chunk.js.map +1 -0
- package/dist/scripts/{51-4adcf4ff0a.chunk.js → 51-a5f1309ada.chunk.js} +1 -1
- package/dist/scripts/51-cd37c8efa2.chunk.js +1 -0
- package/dist/scripts/51-dca2a9cc86.chunk.js +1 -0
- package/dist/scripts/51-ea33746146.chunk.js +1 -0
- package/dist/scripts/51.chunk.js +932 -0
- package/dist/scripts/51.chunk.js.map +1 -0
- package/dist/scripts/52-50230b48c8.chunk.js +1 -0
- package/dist/scripts/{52-57782063fd.chunk.js → 52-8b53a5c0b1.chunk.js} +1 -1
- package/dist/scripts/52-a3c8ed29ca.chunk.js +1 -0
- package/dist/scripts/52-bc48f1f9e8.chunk.js +1 -0
- package/dist/scripts/52.chunk.js +408 -0
- package/dist/scripts/52.chunk.js.map +1 -0
- package/dist/scripts/53-0e253f9f3e.chunk.js +1 -0
- package/dist/scripts/53-36007500cf.chunk.js +1 -0
- package/dist/scripts/{53-6f14b50628.chunk.js → 53-54b0df474f.chunk.js} +1 -1
- package/dist/scripts/53-d8f0dea552.chunk.js +1 -0
- package/dist/scripts/53.chunk.js +756 -0
- package/dist/scripts/53.chunk.js.map +1 -0
- package/dist/scripts/{54-78c19a2ad8.chunk.js → 54-7cdbdcebf9.chunk.js} +1 -1
- package/dist/scripts/54-d1bc70c7b5.chunk.js +1 -0
- package/dist/scripts/54-dd4d101665.chunk.js +1 -0
- package/dist/scripts/54-ead54d0b34.chunk.js +1 -0
- package/dist/scripts/54.chunk.js +681 -0
- package/dist/scripts/54.chunk.js.map +1 -0
- package/dist/scripts/{55-dceece7f6e.chunk.js → 55-078bb9b0ea.chunk.js} +1 -1
- package/dist/scripts/55-3c60601030.chunk.js +1 -0
- package/dist/scripts/55-a5fa20b497.chunk.js +1 -0
- package/dist/scripts/55-e29d6a6ba9.chunk.js +1 -0
- package/dist/scripts/55.chunk.js +645 -0
- package/dist/scripts/55.chunk.js.map +1 -0
- package/dist/scripts/{56-791cbec86d.chunk.js → 56-36d54fa08f.chunk.js} +1 -1
- package/dist/scripts/56-370078d597.chunk.js +1 -0
- package/dist/scripts/56-7a6c662f14.chunk.js +1 -0
- package/dist/scripts/56-df0a32000b.chunk.js +1 -0
- package/dist/scripts/56.chunk.js +346 -0
- package/dist/scripts/56.chunk.js.map +1 -0
- package/dist/scripts/{57-b80d1bf344.chunk.js → 57-0e126120b9.chunk.js} +1 -1
- package/dist/scripts/57-6e622c6480.chunk.js +1 -0
- package/dist/scripts/57-a4f4d6fe41.chunk.js +1 -0
- package/dist/scripts/57-c1faec8b32.chunk.js +1 -0
- package/dist/scripts/57.chunk.js +422 -0
- package/dist/scripts/57.chunk.js.map +1 -0
- package/dist/scripts/{58-74a2cc409b.chunk.js → 58-17706ccb46.chunk.js} +1 -1
- package/dist/scripts/58-5729cbaa5c.chunk.js +1 -0
- package/dist/scripts/58-a0fe201826.chunk.js +1 -0
- package/dist/scripts/58-e996405f2b.chunk.js +1 -0
- package/dist/scripts/58.chunk.js +437 -0
- package/dist/scripts/58.chunk.js.map +1 -0
- package/dist/scripts/{59-a05072e424.chunk.js → 59-0a7bdc86b0.chunk.js} +1 -1
- package/dist/scripts/59-333f38ee3b.chunk.js +1 -0
- package/dist/scripts/59-381a49ed7f.chunk.js +1 -0
- package/dist/scripts/59-4f2fcb6412.chunk.js +1 -0
- package/dist/scripts/59.chunk.js +342 -0
- package/dist/scripts/59.chunk.js.map +1 -0
- package/dist/scripts/{6-9a7ab29bcf.chunk.js → 6-1045293de4.chunk.js} +1 -1
- package/dist/scripts/6-40c8ba5007.chunk.js +1 -0
- package/dist/scripts/6-51a379e066.chunk.js +1 -0
- package/dist/scripts/6-b3d36065dc.chunk.js +1 -0
- package/dist/scripts/6.chunk.js +484 -0
- package/dist/scripts/6.chunk.js.map +1 -0
- package/dist/scripts/{60-3ea0df7910.chunk.js → 60-0d8896555f.chunk.js} +1 -1
- package/dist/scripts/60-b17c6609cd.chunk.js +1 -0
- package/dist/scripts/60-b4a91c86fa.chunk.js +1 -0
- package/dist/scripts/60-c57f161f18.chunk.js +1 -0
- package/dist/scripts/60.chunk.js +254 -0
- package/dist/scripts/60.chunk.js.map +1 -0
- package/dist/scripts/{61-49a9fb2c98.chunk.js → 61-57fa6b5248.chunk.js} +1 -1
- package/dist/scripts/61-5d6e59d408.chunk.js +1 -0
- package/dist/scripts/61-7d81d27c31.chunk.js +1 -0
- package/dist/scripts/61-a342a0d501.chunk.js +1 -0
- package/dist/scripts/61.chunk.js +408 -0
- package/dist/scripts/61.chunk.js.map +1 -0
- package/dist/scripts/{62-afa39e4cc9.chunk.js → 62-67458b7fb4.chunk.js} +1 -1
- package/dist/scripts/62-758f5e505b.chunk.js +1 -0
- package/dist/scripts/62-b572d8b80d.chunk.js +1 -0
- package/dist/scripts/62-f5fd35fdc0.chunk.js +1 -0
- package/dist/scripts/62.chunk.js +142 -0
- package/dist/scripts/62.chunk.js.map +1 -0
- package/dist/scripts/{63-348b096dca.chunk.js → 63-420b10f5f2.chunk.js} +1 -1
- package/dist/scripts/63-568008965e.chunk.js +1 -0
- package/dist/scripts/63-6700b4d00a.chunk.js +1 -0
- package/dist/scripts/63-c88b9860e9.chunk.js +1 -0
- package/dist/scripts/63.chunk.js +147 -0
- package/dist/scripts/63.chunk.js.map +1 -0
- package/dist/scripts/{64-6f7edb1451.chunk.js → 64-9c88ee6161.chunk.js} +1 -1
- package/dist/scripts/64-e177d4c971.chunk.js +1 -0
- package/dist/scripts/64-e6598113a7.chunk.js +1 -0
- package/dist/scripts/64-fa2facacbb.chunk.js +1 -0
- package/dist/scripts/64.chunk.js +439 -0
- package/dist/scripts/64.chunk.js.map +1 -0
- package/dist/scripts/{65-1a6aecc0e3.chunk.js → 65-93567fe088.chunk.js} +1 -1
- package/dist/scripts/65-a7e499ceee.chunk.js +1 -0
- package/dist/scripts/65-e4568d1f06.chunk.js +1 -0
- package/dist/scripts/65-f750573f69.chunk.js +1 -0
- package/dist/scripts/65.chunk.js +582 -0
- package/dist/scripts/65.chunk.js.map +1 -0
- package/dist/scripts/{66-fe5934023f.chunk.js → 66-c84a3a3c3f.chunk.js} +1 -1
- package/dist/scripts/66-f00f29ccae.chunk.js +1 -0
- package/dist/scripts/66-f325ff3187.chunk.js +1 -0
- package/dist/scripts/66-f6d213b33c.chunk.js +1 -0
- package/dist/scripts/66.chunk.js +442 -0
- package/dist/scripts/66.chunk.js.map +1 -0
- package/dist/scripts/67-1ebaab7a2d.chunk.js +1 -0
- package/dist/scripts/67-3c9628d296.chunk.js +1 -0
- package/dist/scripts/67-97c694c3d5.chunk.js +1 -0
- package/dist/scripts/67-c5af18680c.chunk.js +1 -0
- package/dist/scripts/67.chunk.js +295 -0
- package/dist/scripts/67.chunk.js.map +1 -0
- package/dist/scripts/{68-54be8dbe28.chunk.js → 68-38a6d7fb50.chunk.js} +1 -1
- package/dist/scripts/68-488cd1552f.chunk.js +1 -0
- package/dist/scripts/68-7b1d5e8e75.chunk.js +1 -0
- package/dist/scripts/68-eb8700aeb1.chunk.js +1 -0
- package/dist/scripts/68.chunk.js +165 -0
- package/dist/scripts/68.chunk.js.map +1 -0
- package/dist/scripts/{69-2dbcfa995c.chunk.js → 69-3d2063cd0f.chunk.js} +1 -1
- package/dist/scripts/69-870856c6fb.chunk.js +1 -0
- package/dist/scripts/69-b0ea71d7c5.chunk.js +1 -0
- package/dist/scripts/69-be2be90b7c.chunk.js +1 -0
- package/dist/scripts/69.chunk.js +248 -0
- package/dist/scripts/69.chunk.js.map +1 -0
- package/dist/scripts/{7-e9fd5a70f5.chunk.js → 7-3151397d74.chunk.js} +1 -1
- package/dist/scripts/7-aac8c84ccb.chunk.js +1 -0
- package/dist/scripts/7-d41d3bf60c.chunk.js +1 -0
- package/dist/scripts/7-dfddb8ffa8.chunk.js +1 -0
- package/dist/scripts/7.chunk.js +309 -0
- package/dist/scripts/7.chunk.js.map +1 -0
- package/dist/scripts/{70-145a5802f1.chunk.js → 70-27e9e5792a.chunk.js} +1 -1
- package/dist/scripts/70-39dc936989.chunk.js +1 -0
- package/dist/scripts/70-6ef72cd9b6.chunk.js +1 -0
- package/dist/scripts/70-e6ebb44667.chunk.js +1 -0
- package/dist/scripts/70.chunk.js +207 -0
- package/dist/scripts/70.chunk.js.map +1 -0
- package/dist/scripts/{71-2ea1363d8f.chunk.js → 71-4e4a47d601.chunk.js} +1 -1
- package/dist/scripts/71-8e3682a7d7.chunk.js +1 -0
- package/dist/scripts/71-a80858069c.chunk.js +1 -0
- package/dist/scripts/71-c5923e2d2d.chunk.js +1 -0
- package/dist/scripts/71.chunk.js +237 -0
- package/dist/scripts/71.chunk.js.map +1 -0
- package/dist/scripts/{72-3d94c9900f.chunk.js → 72-0a6c88f9fe.chunk.js} +1 -1
- package/dist/scripts/72-245f28bf97.chunk.js +1 -0
- package/dist/scripts/72-550438db4e.chunk.js +1 -0
- package/dist/scripts/72-65364adff1.chunk.js +1 -0
- package/dist/scripts/72.chunk.js +331 -0
- package/dist/scripts/72.chunk.js.map +1 -0
- package/dist/scripts/73.chunk.js +404 -0
- package/dist/scripts/73.chunk.js.map +1 -0
- package/dist/scripts/74.chunk.js +301 -0
- package/dist/scripts/74.chunk.js.map +1 -0
- package/dist/scripts/75.chunk.js +231 -0
- package/dist/scripts/75.chunk.js.map +1 -0
- package/dist/scripts/76.chunk.js +157 -0
- package/dist/scripts/76.chunk.js.map +1 -0
- package/dist/scripts/77.chunk.js +307 -0
- package/dist/scripts/77.chunk.js.map +1 -0
- package/dist/scripts/78.chunk.js +249 -0
- package/dist/scripts/78.chunk.js.map +1 -0
- package/dist/scripts/79.chunk.js +282 -0
- package/dist/scripts/79.chunk.js.map +1 -0
- package/dist/scripts/{8-3db468b0ad.chunk.js → 8-7278f3247c.chunk.js} +1 -1
- package/dist/scripts/8-c4955c2009.chunk.js +1 -0
- package/dist/scripts/8-d46f48d03c.chunk.js +1 -0
- package/dist/scripts/8-e5d19252c8.chunk.js +1 -0
- package/dist/scripts/8.chunk.js +307 -0
- package/dist/scripts/8.chunk.js.map +1 -0
- package/dist/scripts/80.chunk.js +308 -0
- package/dist/scripts/80.chunk.js.map +1 -0
- package/dist/scripts/81.chunk.js +366 -0
- package/dist/scripts/81.chunk.js.map +1 -0
- package/dist/scripts/82.chunk.js +314 -0
- package/dist/scripts/82.chunk.js.map +1 -0
- package/dist/scripts/83.chunk.js +328 -0
- package/dist/scripts/83.chunk.js.map +1 -0
- package/dist/scripts/84.chunk.js +313 -0
- package/dist/scripts/84.chunk.js.map +1 -0
- package/dist/scripts/85.chunk.js +291 -0
- package/dist/scripts/85.chunk.js.map +1 -0
- package/dist/scripts/86.chunk.js +119 -0
- package/dist/scripts/86.chunk.js.map +1 -0
- package/dist/scripts/87.chunk.js +219 -0
- package/dist/scripts/87.chunk.js.map +1 -0
- package/dist/scripts/88.chunk.js +194 -0
- package/dist/scripts/88.chunk.js.map +1 -0
- package/dist/scripts/89.chunk.js +522 -0
- package/dist/scripts/89.chunk.js.map +1 -0
- package/dist/scripts/9-4589726554.chunk.js +1 -0
- package/dist/scripts/9-576592d419.chunk.js +1 -0
- package/dist/scripts/9-66021549bd.chunk.js +1 -0
- package/dist/scripts/9-df99ba6ce1.chunk.js +1 -0
- package/dist/scripts/9.chunk.js +222 -0
- package/dist/scripts/9.chunk.js.map +1 -0
- package/dist/scripts/90.chunk.js +337 -0
- package/dist/scripts/90.chunk.js.map +1 -0
- package/dist/scripts/91.chunk.js +131 -0
- package/dist/scripts/91.chunk.js.map +1 -0
- package/dist/scripts/92.chunk.js +266 -0
- package/dist/scripts/92.chunk.js.map +1 -0
- package/dist/scripts/bundle-1b984e2fd9.min.js +8 -0
- package/dist/scripts/bundle-203920eb14.min.js +8 -0
- package/dist/scripts/bundle-7d13ba933b.min.js +8 -0
- package/dist/scripts/bundle-d5b23160b1.min.js +8 -0
- package/dist/scripts/bundle.js +67100 -0
- package/dist/scripts/bundle.js.map +1 -0
- package/dist/scripts/bundles.json +2 -2
- package/dist/scripts/polyfills-5a81b67408.min.js +1 -0
- package/dist/scripts/polyfills-9b0be1bd72.min.js +1 -0
- package/dist/scripts/polyfills-cd3d0a9f6d.min.js +1 -0
- package/dist/scripts/polyfills-d891a77823.min.js +1 -0
- package/dist/scripts/polyfills.js +14866 -0
- package/dist/scripts/polyfills.js.map +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/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
|
@@ -0,0 +1,1065 @@
|
|
|
1
|
+
(window["webpackJsonp_clickview_library_editor"] = window["webpackJsonp_clickview_library_editor"] || []).push([[45],{
|
|
2
|
+
|
|
3
|
+
/***/ "./src/apps/library-editor/components/edit-image/EditImage.hbs":
|
|
4
|
+
/*!*********************************************************************!*\
|
|
5
|
+
!*** ./src/apps/library-editor/components/edit-image/EditImage.hbs ***!
|
|
6
|
+
\*********************************************************************/
|
|
7
|
+
/*! no static exports found */
|
|
8
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
9
|
+
|
|
10
|
+
var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
|
|
11
|
+
module.exports = (Handlebars['default'] || Handlebars).template({"1":function(container,depth0,helpers,partials,data) {
|
|
12
|
+
var stack1, alias1=container.propertyIsEnumerable;
|
|
13
|
+
|
|
14
|
+
return " "
|
|
15
|
+
+ container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"minimumRecommended",{"name":"lang","hash":{"height":((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.recommendedDimensions : stack1)) != null ? stack1.height : stack1),"width":((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.recommendedDimensions : stack1)) != null ? stack1.width : stack1)},"data":data}))
|
|
16
|
+
+ "\r\n";
|
|
17
|
+
},"3":function(container,depth0,helpers,partials,data) {
|
|
18
|
+
var stack1, alias1=container.propertyIsEnumerable;
|
|
19
|
+
|
|
20
|
+
return " "
|
|
21
|
+
+ container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"minimumActual",{"name":"lang","hash":{"height":((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.dimensions : stack1)) != null ? stack1.height : stack1),"width":((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.dimensions : stack1)) != null ? stack1.width : stack1)},"data":data}))
|
|
22
|
+
+ "\r\n";
|
|
23
|
+
},"5":function(container,depth0,helpers,partials,data) {
|
|
24
|
+
var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression;
|
|
25
|
+
|
|
26
|
+
return "<button class=\""
|
|
27
|
+
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.removeImage : stack1), depth0))
|
|
28
|
+
+ "\">"
|
|
29
|
+
+ alias3((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"remove",{"name":"lang","hash":{},"data":data}))
|
|
30
|
+
+ " "
|
|
31
|
+
+ alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.imageTypeText : stack1), depth0))
|
|
32
|
+
+ "</button>\r\n";
|
|
33
|
+
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
34
|
+
var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {}), alias3=container.hooks.helperMissing, alias4=container.escapeExpression, alias5=container.lambda;
|
|
35
|
+
|
|
36
|
+
return "<h6 class=\"mb-0\">"
|
|
37
|
+
+ alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"edit",{"name":"lang","hash":{},"data":data}))
|
|
38
|
+
+ " "
|
|
39
|
+
+ alias4(alias5(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.imageTypeText : stack1), depth0))
|
|
40
|
+
+ "</h6>\r\n<div class=\"text-muted mb-1\">\r\n <em>\r\n"
|
|
41
|
+
+ ((stack1 = helpers["if"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.recommendedDimensions : stack1),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(3, data, 0),"data":data})) != null ? stack1 : "")
|
|
42
|
+
+ " </em>\r\n</div>\r\n<div class=\"my-1 "
|
|
43
|
+
+ alias4(alias5(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.imageContainer : stack1), depth0))
|
|
44
|
+
+ "\">\r\n <div class=\""
|
|
45
|
+
+ alias4(alias5(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.imageElement : stack1), depth0))
|
|
46
|
+
+ "\" style=\"background-image: url('"
|
|
47
|
+
+ alias4(alias5(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.imageUrl : stack1), depth0))
|
|
48
|
+
+ "')\"></div>\r\n</div>\r\n<button class=\"btn btn-light my-1\">"
|
|
49
|
+
+ alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"upload",{"name":"lang","hash":{},"data":data}))
|
|
50
|
+
+ " "
|
|
51
|
+
+ alias4(alias5(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.imageTypeText : stack1), depth0))
|
|
52
|
+
+ "</button>\r\n"
|
|
53
|
+
+ ((stack1 = helpers["if"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.hasImage : stack1),{"name":"if","hash":{},"fn":container.program(5, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "");
|
|
54
|
+
},"useData":true});
|
|
55
|
+
|
|
56
|
+
/***/ }),
|
|
57
|
+
|
|
58
|
+
/***/ "./src/apps/library-editor/components/edit-image/EditImageComponent.ts":
|
|
59
|
+
/*!*****************************************************************************!*\
|
|
60
|
+
!*** ./src/apps/library-editor/components/edit-image/EditImageComponent.ts ***!
|
|
61
|
+
\*****************************************************************************/
|
|
62
|
+
/*! exports provided: EditImageComponent */
|
|
63
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
64
|
+
|
|
65
|
+
"use strict";
|
|
66
|
+
__webpack_require__.r(__webpack_exports__);
|
|
67
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EditImageComponent", function() { return EditImageComponent; });
|
|
68
|
+
/* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! backbone */ "backbone");
|
|
69
|
+
/* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(backbone__WEBPACK_IMPORTED_MODULE_0__);
|
|
70
|
+
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
71
|
+
/* harmony import */ var _libs_common_src_backbone_services_ViewModelService__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/services/ViewModelService */ "../../libs/common/src/backbone/services/ViewModelService.ts");
|
|
72
|
+
/* harmony import */ var _shared_enums__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../shared/enums */ "./src/shared/enums/index.ts");
|
|
73
|
+
/* harmony import */ var _shared_behaviors__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../shared/behaviors */ "./src/shared/behaviors/index.ts");
|
|
74
|
+
/* harmony import */ var _shared_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../shared/utils */ "./src/shared/utils/index.ts");
|
|
75
|
+
/* harmony import */ var _shared_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../shared/constants */ "./src/shared/constants/index.ts");
|
|
76
|
+
/* harmony import */ var _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/services/LanguageService */ "../../libs/common/src/backbone/services/LanguageService.tsx");
|
|
77
|
+
/* harmony import */ var _EditImage_hbs__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./EditImage.hbs */ "./src/apps/library-editor/components/edit-image/EditImage.hbs");
|
|
78
|
+
/* harmony import */ var _EditImage_hbs__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_EditImage_hbs__WEBPACK_IMPORTED_MODULE_8__);
|
|
79
|
+
/* harmony import */ var _edit_image_scss__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./edit-image.scss */ "./src/apps/library-editor/components/edit-image/edit-image.scss");
|
|
80
|
+
/* harmony import */ var _edit_image_scss__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_edit_image_scss__WEBPACK_IMPORTED_MODULE_9__);
|
|
81
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
82
|
+
|
|
83
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
84
|
+
|
|
85
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
86
|
+
|
|
87
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
88
|
+
|
|
89
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
90
|
+
|
|
91
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
92
|
+
|
|
93
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
94
|
+
|
|
95
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
96
|
+
|
|
97
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
98
|
+
|
|
99
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
100
|
+
|
|
101
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
102
|
+
|
|
103
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
var EditImageComponent = /*#__PURE__*/function (_Core$Component) {
|
|
116
|
+
_inherits(EditImageComponent, _Core$Component);
|
|
117
|
+
|
|
118
|
+
var _super = _createSuper(EditImageComponent);
|
|
119
|
+
|
|
120
|
+
function EditImageComponent(options) {
|
|
121
|
+
_classCallCheck(this, EditImageComponent);
|
|
122
|
+
|
|
123
|
+
return _super.call(this, options);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
_createClass(EditImageComponent, [{
|
|
127
|
+
key: "initialize",
|
|
128
|
+
value: function initialize() {
|
|
129
|
+
this.viewModel = _libs_common_src_backbone_services_ViewModelService__WEBPACK_IMPORTED_MODULE_2__["ViewModelService"].get('edit:folder:images');
|
|
130
|
+
}
|
|
131
|
+
}, {
|
|
132
|
+
key: "events",
|
|
133
|
+
value: function events() {
|
|
134
|
+
return _defineProperty({}, "click .".concat(_edit_image_scss__WEBPACK_IMPORTED_MODULE_9___default.a.removeImage), 'onClickRemoveImage');
|
|
135
|
+
}
|
|
136
|
+
}, {
|
|
137
|
+
key: "onClickRemoveImage",
|
|
138
|
+
value: function onClickRemoveImage() {
|
|
139
|
+
backbone__WEBPACK_IMPORTED_MODULE_0__["Radio"].channel(this.options.channelName).trigger('show:dialog', this.options.imageType);
|
|
140
|
+
}
|
|
141
|
+
}, {
|
|
142
|
+
key: "getImageUrl",
|
|
143
|
+
value: function getImageUrl() {
|
|
144
|
+
var methodName = this.options.imageType === _shared_enums__WEBPACK_IMPORTED_MODULE_3__["ImageType"].Banners ? 'createBannerUrl' : 'createFolderThumbnailUrl';
|
|
145
|
+
return _shared_utils__WEBPACK_IMPORTED_MODULE_5__["ImageHelper"][methodName](this.options.originalImage, {
|
|
146
|
+
fallbackBaseUrl: this.options.imageCdnUrl,
|
|
147
|
+
fallbackCategoryName: this.options.folderName,
|
|
148
|
+
type: this.options.imageType
|
|
149
|
+
});
|
|
150
|
+
}
|
|
151
|
+
}, {
|
|
152
|
+
key: "getImageTypeText",
|
|
153
|
+
value: function getImageTypeText() {
|
|
154
|
+
switch (this.options.imageType) {
|
|
155
|
+
case _shared_enums__WEBPACK_IMPORTED_MODULE_3__["ImageType"].Banners:
|
|
156
|
+
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_7__["LanguageService"].getPhrase(this.lang, 'banner');
|
|
157
|
+
|
|
158
|
+
case _shared_enums__WEBPACK_IMPORTED_MODULE_3__["ImageType"].Thumbnails:
|
|
159
|
+
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_7__["LanguageService"].getPhrase(this.lang, 'thumbnail');
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
}, {
|
|
163
|
+
key: "viewOptions",
|
|
164
|
+
value: function viewOptions() {
|
|
165
|
+
return {
|
|
166
|
+
styles: _edit_image_scss__WEBPACK_IMPORTED_MODULE_9___default.a,
|
|
167
|
+
imageUrl: this.getImageUrl(),
|
|
168
|
+
hasImage: this.options.originalImage && this.options.originalImage.get('id'),
|
|
169
|
+
imageTypeText: this.getImageTypeText(),
|
|
170
|
+
dimensions: _shared_constants__WEBPACK_IMPORTED_MODULE_6__["ImageMinDimensions"][this.options.imageType],
|
|
171
|
+
recommendedDimensions: _shared_constants__WEBPACK_IMPORTED_MODULE_6__["ImageWarnDimensions"][this.options.imageType]
|
|
172
|
+
};
|
|
173
|
+
}
|
|
174
|
+
}, {
|
|
175
|
+
key: "name",
|
|
176
|
+
get: function get() {
|
|
177
|
+
return 'EditImageComponent';
|
|
178
|
+
}
|
|
179
|
+
}, {
|
|
180
|
+
key: "template",
|
|
181
|
+
get: function get() {
|
|
182
|
+
return _EditImage_hbs__WEBPACK_IMPORTED_MODULE_8___default.a;
|
|
183
|
+
}
|
|
184
|
+
}, {
|
|
185
|
+
key: "lang",
|
|
186
|
+
get: function get() {
|
|
187
|
+
return 'libraryEditor.editImage';
|
|
188
|
+
}
|
|
189
|
+
}, {
|
|
190
|
+
key: "className",
|
|
191
|
+
get: function get() {
|
|
192
|
+
return this.options.imageType === _shared_enums__WEBPACK_IMPORTED_MODULE_3__["ImageType"].Thumbnails ? "".concat(_edit_image_scss__WEBPACK_IMPORTED_MODULE_9___default.a.thumbnail, " mb-2") : "".concat(_edit_image_scss__WEBPACK_IMPORTED_MODULE_9___default.a.banner, " mt-2");
|
|
193
|
+
}
|
|
194
|
+
}, {
|
|
195
|
+
key: "behaviors",
|
|
196
|
+
get: function get() {
|
|
197
|
+
var _this = this;
|
|
198
|
+
|
|
199
|
+
return [{
|
|
200
|
+
behaviorClass: _shared_behaviors__WEBPACK_IMPORTED_MODULE_4__["ImageSelectBehavior"],
|
|
201
|
+
channelName: this.options.channelName,
|
|
202
|
+
buttonSelector: '.btn-light',
|
|
203
|
+
imageType: this.options.imageType,
|
|
204
|
+
saveImage: function saveImage(dataUrl, warningShown) {
|
|
205
|
+
if (!warningShown) {
|
|
206
|
+
backbone__WEBPACK_IMPORTED_MODULE_0__["Radio"].channel(_this.options.channelName).trigger('select:image', dataUrl, _this.options.imageType);
|
|
207
|
+
return;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
_this.viewModel.set({
|
|
211
|
+
dataUrl: dataUrl,
|
|
212
|
+
type: _this.options.imageType
|
|
213
|
+
});
|
|
214
|
+
|
|
215
|
+
_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__["Core"].AppLinkHelper.trigger({
|
|
216
|
+
application: _shared_constants__WEBPACK_IMPORTED_MODULE_6__["AppChannels"].LIBRARY_EDITOR,
|
|
217
|
+
action: _shared_constants__WEBPACK_IMPORTED_MODULE_6__["Actions"].LibraryEditor.EDIT_FOLDER_IMAGES,
|
|
218
|
+
args: [_this.options.folderId]
|
|
219
|
+
});
|
|
220
|
+
}
|
|
221
|
+
}];
|
|
222
|
+
}
|
|
223
|
+
}]);
|
|
224
|
+
|
|
225
|
+
return EditImageComponent;
|
|
226
|
+
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__["Core"].Component);
|
|
227
|
+
|
|
228
|
+
/***/ }),
|
|
229
|
+
|
|
230
|
+
/***/ "./src/apps/library-editor/components/edit-image/edit-image.scss":
|
|
231
|
+
/*!***********************************************************************!*\
|
|
232
|
+
!*** ./src/apps/library-editor/components/edit-image/edit-image.scss ***!
|
|
233
|
+
\***********************************************************************/
|
|
234
|
+
/*! no static exports found */
|
|
235
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
236
|
+
|
|
237
|
+
// extracted by mini-css-extract-plugin
|
|
238
|
+
module.exports = {"removeImage":"cv--removeImage--3OmsX","imageElement":"cv--imageElement--3kJ8m","banner":"cv--banner--uFWnL","thumbnail":"cv--thumbnail--3_b6l","imageContainer":"cv--imageContainer--1mYjS"};
|
|
239
|
+
|
|
240
|
+
/***/ }),
|
|
241
|
+
|
|
242
|
+
/***/ "./src/apps/library-editor/components/edit-images-wrapper/EditImagesWrapper.hbs":
|
|
243
|
+
/*!**************************************************************************************!*\
|
|
244
|
+
!*** ./src/apps/library-editor/components/edit-images-wrapper/EditImagesWrapper.hbs ***!
|
|
245
|
+
\**************************************************************************************/
|
|
246
|
+
/*! no static exports found */
|
|
247
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
248
|
+
|
|
249
|
+
var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
|
|
250
|
+
module.exports = (Handlebars['default'] || Handlebars).template({"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
251
|
+
return "<div class=\"thumbnail-region\"></div>\r\n<div class=\"dropdown-divider\"></div>\r\n<div class=\"banner-region\"></div>";
|
|
252
|
+
},"useData":true});
|
|
253
|
+
|
|
254
|
+
/***/ }),
|
|
255
|
+
|
|
256
|
+
/***/ "./src/apps/library-editor/components/edit-images-wrapper/EditImagesWrapperComponent.ts":
|
|
257
|
+
/*!**********************************************************************************************!*\
|
|
258
|
+
!*** ./src/apps/library-editor/components/edit-images-wrapper/EditImagesWrapperComponent.ts ***!
|
|
259
|
+
\**********************************************************************************************/
|
|
260
|
+
/*! exports provided: EditImagesWrapperComponent */
|
|
261
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
262
|
+
|
|
263
|
+
"use strict";
|
|
264
|
+
__webpack_require__.r(__webpack_exports__);
|
|
265
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EditImagesWrapperComponent", function() { return EditImagesWrapperComponent; });
|
|
266
|
+
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
267
|
+
/* harmony import */ var _shared_enums__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../shared/enums */ "./src/shared/enums/index.ts");
|
|
268
|
+
/* harmony import */ var _edit_image_EditImageComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../edit-image/EditImageComponent */ "./src/apps/library-editor/components/edit-image/EditImageComponent.ts");
|
|
269
|
+
/* harmony import */ var _EditImagesWrapper_hbs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./EditImagesWrapper.hbs */ "./src/apps/library-editor/components/edit-images-wrapper/EditImagesWrapper.hbs");
|
|
270
|
+
/* harmony import */ var _EditImagesWrapper_hbs__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_EditImagesWrapper_hbs__WEBPACK_IMPORTED_MODULE_3__);
|
|
271
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
272
|
+
|
|
273
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
274
|
+
|
|
275
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
276
|
+
|
|
277
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
278
|
+
|
|
279
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
280
|
+
|
|
281
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
282
|
+
|
|
283
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
284
|
+
|
|
285
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
286
|
+
|
|
287
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
288
|
+
|
|
289
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
290
|
+
|
|
291
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
var EditImagesWrapperComponent = /*#__PURE__*/function (_Core$Component) {
|
|
298
|
+
_inherits(EditImagesWrapperComponent, _Core$Component);
|
|
299
|
+
|
|
300
|
+
var _super = _createSuper(EditImagesWrapperComponent);
|
|
301
|
+
|
|
302
|
+
function EditImagesWrapperComponent(options) {
|
|
303
|
+
_classCallCheck(this, EditImagesWrapperComponent);
|
|
304
|
+
|
|
305
|
+
return _super.call(this, options);
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
_createClass(EditImagesWrapperComponent, [{
|
|
309
|
+
key: "regions",
|
|
310
|
+
value: function regions() {
|
|
311
|
+
return {
|
|
312
|
+
banner: {
|
|
313
|
+
el: '.banner-region',
|
|
314
|
+
replaceElement: true
|
|
315
|
+
},
|
|
316
|
+
thumbnail: {
|
|
317
|
+
el: '.thumbnail-region',
|
|
318
|
+
replaceElement: true
|
|
319
|
+
}
|
|
320
|
+
};
|
|
321
|
+
}
|
|
322
|
+
}, {
|
|
323
|
+
key: "renderBanner",
|
|
324
|
+
value: function renderBanner() {
|
|
325
|
+
this.showChildView('banner', new _edit_image_EditImageComponent__WEBPACK_IMPORTED_MODULE_2__["EditImageComponent"]({
|
|
326
|
+
channelName: this.options.bannerChannel,
|
|
327
|
+
imageCdnUrl: this.options.imageCdnUrl,
|
|
328
|
+
imageType: _shared_enums__WEBPACK_IMPORTED_MODULE_1__["ImageType"].Banners,
|
|
329
|
+
folderName: this.options.folderName,
|
|
330
|
+
originalImage: this.options.bannerImage,
|
|
331
|
+
folderId: this.options.folderId
|
|
332
|
+
}));
|
|
333
|
+
}
|
|
334
|
+
}, {
|
|
335
|
+
key: "renderThumbnail",
|
|
336
|
+
value: function renderThumbnail() {
|
|
337
|
+
this.showChildView('thumbnail', new _edit_image_EditImageComponent__WEBPACK_IMPORTED_MODULE_2__["EditImageComponent"]({
|
|
338
|
+
channelName: this.options.thumbnailChannel,
|
|
339
|
+
imageCdnUrl: this.options.imageCdnUrl,
|
|
340
|
+
imageType: _shared_enums__WEBPACK_IMPORTED_MODULE_1__["ImageType"].Thumbnails,
|
|
341
|
+
folderName: this.options.folderName,
|
|
342
|
+
originalImage: this.options.thumbnailImage,
|
|
343
|
+
folderId: this.options.folderId
|
|
344
|
+
}));
|
|
345
|
+
}
|
|
346
|
+
}, {
|
|
347
|
+
key: "onRender",
|
|
348
|
+
value: function onRender() {
|
|
349
|
+
this.renderBanner();
|
|
350
|
+
this.renderThumbnail();
|
|
351
|
+
}
|
|
352
|
+
}, {
|
|
353
|
+
key: "name",
|
|
354
|
+
get: function get() {
|
|
355
|
+
return 'EditImagesWrapperComponent';
|
|
356
|
+
}
|
|
357
|
+
}, {
|
|
358
|
+
key: "template",
|
|
359
|
+
get: function get() {
|
|
360
|
+
return _EditImagesWrapper_hbs__WEBPACK_IMPORTED_MODULE_3___default.a;
|
|
361
|
+
}
|
|
362
|
+
}]);
|
|
363
|
+
|
|
364
|
+
return EditImagesWrapperComponent;
|
|
365
|
+
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].Component);
|
|
366
|
+
|
|
367
|
+
/***/ }),
|
|
368
|
+
|
|
369
|
+
/***/ "./src/apps/library-editor/views/edit-folder-images/EditFolderImages.hbs":
|
|
370
|
+
/*!*******************************************************************************!*\
|
|
371
|
+
!*** ./src/apps/library-editor/views/edit-folder-images/EditFolderImages.hbs ***!
|
|
372
|
+
\*******************************************************************************/
|
|
373
|
+
/*! no static exports found */
|
|
374
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
375
|
+
|
|
376
|
+
var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
|
|
377
|
+
module.exports = (Handlebars['default'] || Handlebars).template({"1":function(container,depth0,helpers,partials,data) {
|
|
378
|
+
return "<div class=\"content-region\"></div>\r\n";
|
|
379
|
+
},"3":function(container,depth0,helpers,partials,data) {
|
|
380
|
+
var stack1, alias1=container.propertyIsEnumerable;
|
|
381
|
+
|
|
382
|
+
return ((stack1 = container.lambda(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.spinnerEl : stack1), depth0)) != null ? stack1 : "")
|
|
383
|
+
+ "\r\n";
|
|
384
|
+
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
385
|
+
var stack1, alias1=container.propertyIsEnumerable;
|
|
386
|
+
|
|
387
|
+
return ((stack1 = helpers["if"].call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.dataFetched : stack1),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(3, data, 0),"data":data})) != null ? stack1 : "");
|
|
388
|
+
},"useData":true});
|
|
389
|
+
|
|
390
|
+
/***/ }),
|
|
391
|
+
|
|
392
|
+
/***/ "./src/apps/library-editor/views/edit-folder-images/EditFolderImagesView.ts":
|
|
393
|
+
/*!**********************************************************************************!*\
|
|
394
|
+
!*** ./src/apps/library-editor/views/edit-folder-images/EditFolderImagesView.ts ***!
|
|
395
|
+
\**********************************************************************************/
|
|
396
|
+
/*! exports provided: EditFolderImagesView */
|
|
397
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
398
|
+
|
|
399
|
+
"use strict";
|
|
400
|
+
__webpack_require__.r(__webpack_exports__);
|
|
401
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EditFolderImagesView", function() { return EditFolderImagesView; });
|
|
402
|
+
/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! underscore */ "underscore");
|
|
403
|
+
/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(underscore__WEBPACK_IMPORTED_MODULE_0__);
|
|
404
|
+
/* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! backbone */ "backbone");
|
|
405
|
+
/* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(backbone__WEBPACK_IMPORTED_MODULE_1__);
|
|
406
|
+
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
407
|
+
/* harmony import */ var _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/services/InstanceManager */ "../../libs/common/src/backbone/services/InstanceManager.ts");
|
|
408
|
+
/* harmony import */ var _libs_common_src_backbone_services_ViewModelService__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/services/ViewModelService */ "../../libs/common/src/backbone/services/ViewModelService.ts");
|
|
409
|
+
/* harmony import */ var _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../../../../libs/analytics/src/interfaces */ "../../libs/analytics/src/interfaces/index.ts");
|
|
410
|
+
/* harmony import */ var _libs_analytics_src_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../../../../libs/analytics/src/AnalyticsHelper */ "../../libs/analytics/src/AnalyticsHelper.ts");
|
|
411
|
+
/* harmony import */ var _shared_behaviors__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../shared/behaviors */ "./src/shared/behaviors/index.ts");
|
|
412
|
+
/* harmony import */ var _shared_models_Image__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../shared/models/Image */ "./src/shared/models/Image.ts");
|
|
413
|
+
/* harmony import */ var _shared_models_DisabledSpinnerModel__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../../shared/models/DisabledSpinnerModel */ "./src/shared/models/DisabledSpinnerModel.ts");
|
|
414
|
+
/* harmony import */ var _shared_utils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../../shared/utils */ "./src/shared/utils/index.ts");
|
|
415
|
+
/* harmony import */ var _shared_constants__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../../shared/constants */ "./src/shared/constants/index.ts");
|
|
416
|
+
/* harmony import */ var _shared_enums__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../../../shared/enums */ "./src/shared/enums/index.ts");
|
|
417
|
+
/* harmony import */ var _shared_components_image_cropper_ImageCropperComponent__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../../../shared/components/image-cropper/ImageCropperComponent */ "./src/shared/components/image-cropper/ImageCropperComponent.ts");
|
|
418
|
+
/* harmony import */ var _shared_components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../../../shared/components/spinner-button/SpinnerButtonComponent */ "./src/shared/components/spinner-button/SpinnerButtonComponent.ts");
|
|
419
|
+
/* harmony import */ var _shared_services_ConfigDataService__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../../../shared/services/ConfigDataService */ "./src/shared/services/ConfigDataService.ts");
|
|
420
|
+
/* harmony import */ var _components_edit_images_wrapper_EditImagesWrapperComponent__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../../components/edit-images-wrapper/EditImagesWrapperComponent */ "./src/apps/library-editor/components/edit-images-wrapper/EditImagesWrapperComponent.ts");
|
|
421
|
+
/* harmony import */ var _edit_folder_images_scss__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./edit-folder-images.scss */ "./src/apps/library-editor/views/edit-folder-images/edit-folder-images.scss");
|
|
422
|
+
/* harmony import */ var _edit_folder_images_scss__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(_edit_folder_images_scss__WEBPACK_IMPORTED_MODULE_17__);
|
|
423
|
+
/* harmony import */ var _EditFolderImages_hbs__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./EditFolderImages.hbs */ "./src/apps/library-editor/views/edit-folder-images/EditFolderImages.hbs");
|
|
424
|
+
/* harmony import */ var _EditFolderImages_hbs__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(_EditFolderImages_hbs__WEBPACK_IMPORTED_MODULE_18__);
|
|
425
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
426
|
+
|
|
427
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
428
|
+
|
|
429
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
430
|
+
|
|
431
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
432
|
+
|
|
433
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
434
|
+
|
|
435
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
436
|
+
|
|
437
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
438
|
+
|
|
439
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
440
|
+
|
|
441
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
442
|
+
|
|
443
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
444
|
+
|
|
445
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
446
|
+
|
|
447
|
+
|
|
448
|
+
|
|
449
|
+
|
|
450
|
+
|
|
451
|
+
|
|
452
|
+
|
|
453
|
+
|
|
454
|
+
|
|
455
|
+
|
|
456
|
+
|
|
457
|
+
|
|
458
|
+
|
|
459
|
+
|
|
460
|
+
|
|
461
|
+
|
|
462
|
+
|
|
463
|
+
|
|
464
|
+
|
|
465
|
+
|
|
466
|
+
var PopupContentType;
|
|
467
|
+
|
|
468
|
+
(function (PopupContentType) {
|
|
469
|
+
PopupContentType[PopupContentType["Upload"] = 0] = "Upload";
|
|
470
|
+
PopupContentType[PopupContentType["Crop"] = 1] = "Crop";
|
|
471
|
+
})(PopupContentType || (PopupContentType = {}));
|
|
472
|
+
|
|
473
|
+
var EditFolderImagesView = /*#__PURE__*/function (_Core$View) {
|
|
474
|
+
_inherits(EditFolderImagesView, _Core$View);
|
|
475
|
+
|
|
476
|
+
var _super = _createSuper(EditFolderImagesView);
|
|
477
|
+
|
|
478
|
+
function EditFolderImagesView(options) {
|
|
479
|
+
_classCallCheck(this, EditFolderImagesView);
|
|
480
|
+
|
|
481
|
+
return _super.call(this, options);
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
_createClass(EditFolderImagesView, [{
|
|
485
|
+
key: "initialize",
|
|
486
|
+
value: function initialize() {
|
|
487
|
+
this.popupContentState = PopupContentType.Upload;
|
|
488
|
+
this.viewModel = _libs_common_src_backbone_services_ViewModelService__WEBPACK_IMPORTED_MODULE_4__["ViewModelService"].get('edit:folder:images');
|
|
489
|
+
|
|
490
|
+
if (this.viewModel.get('dataUrl')) {
|
|
491
|
+
this.selectedImageType = this.viewModel.get('type');
|
|
492
|
+
this.newImageEl = new Image();
|
|
493
|
+
this.newImageEl.src = this.viewModel.get('dataUrl');
|
|
494
|
+
this.spinnerModel.set(_shared_components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_14__["SpinnerButtonModelAttributes"].Disabled, false);
|
|
495
|
+
this.popupContentState = PopupContentType.Crop;
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
this.libraryDataService = _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_3__["InstanceManager"].getInstance(_shared_constants__WEBPACK_IMPORTED_MODULE_11__["DataServices"].Library, this);
|
|
499
|
+
this.imageUploadDataService = _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_3__["InstanceManager"].getInstance(_shared_constants__WEBPACK_IMPORTED_MODULE_11__["DataServices"].ImageUpload, this);
|
|
500
|
+
this.bindListeners();
|
|
501
|
+
}
|
|
502
|
+
}, {
|
|
503
|
+
key: "regions",
|
|
504
|
+
value: function regions() {
|
|
505
|
+
return {
|
|
506
|
+
content: {
|
|
507
|
+
el: '.content-region',
|
|
508
|
+
replaceElement: true
|
|
509
|
+
}
|
|
510
|
+
};
|
|
511
|
+
}
|
|
512
|
+
}, {
|
|
513
|
+
key: "events",
|
|
514
|
+
value: function events() {
|
|
515
|
+
return {
|
|
516
|
+
'click .back-btn': 'onClickBackButton',
|
|
517
|
+
'shown.bs.modal': 'renderCropper'
|
|
518
|
+
};
|
|
519
|
+
}
|
|
520
|
+
}, {
|
|
521
|
+
key: "bindListeners",
|
|
522
|
+
value: function bindListeners() {
|
|
523
|
+
var _this = this;
|
|
524
|
+
|
|
525
|
+
this.listenTo(_shared_constants__WEBPACK_IMPORTED_MODULE_11__["DataChannels"].LIBRARY, "".concat(_shared_constants__WEBPACK_IMPORTED_MODULE_11__["DataPrefixes"].FOLDER, ":").concat(this.options.folderId, ":sync"), this.render);
|
|
526
|
+
var bannerChannel = "".concat(this.channelName, ":").concat(_shared_enums__WEBPACK_IMPORTED_MODULE_12__["ImageType"].Banners);
|
|
527
|
+
var thumbnailChannel = "".concat(this.channelName, ":").concat(_shared_enums__WEBPACK_IMPORTED_MODULE_12__["ImageType"].Thumbnails);
|
|
528
|
+
this.listenTo(bannerChannel, 'select:image', function (dataUrl) {
|
|
529
|
+
return _this.onSelectImage(dataUrl, _shared_enums__WEBPACK_IMPORTED_MODULE_12__["ImageType"].Banners);
|
|
530
|
+
});
|
|
531
|
+
this.listenTo(thumbnailChannel, 'select:image', function (dataUrl) {
|
|
532
|
+
return _this.onSelectImage(dataUrl, _shared_enums__WEBPACK_IMPORTED_MODULE_12__["ImageType"].Thumbnails);
|
|
533
|
+
});
|
|
534
|
+
this.listenTo(bannerChannel, 'show:dialog', function () {
|
|
535
|
+
return _this.onShowDialog(_shared_enums__WEBPACK_IMPORTED_MODULE_12__["ImageType"].Banners);
|
|
536
|
+
});
|
|
537
|
+
this.listenTo(thumbnailChannel, 'show:dialog', function () {
|
|
538
|
+
return _this.onShowDialog(_shared_enums__WEBPACK_IMPORTED_MODULE_12__["ImageType"].Thumbnails);
|
|
539
|
+
});
|
|
540
|
+
this.listenTo(bannerChannel, 'image:error', function () {
|
|
541
|
+
return _this.triggerMethod('hide');
|
|
542
|
+
});
|
|
543
|
+
this.listenTo(thumbnailChannel, 'image:error', function () {
|
|
544
|
+
return _this.triggerMethod('hide');
|
|
545
|
+
});
|
|
546
|
+
this.listenTo(this.channelName, _shared_components_image_cropper_ImageCropperComponent__WEBPACK_IMPORTED_MODULE_13__["CropEventNames"].ImageCropped, this.onImageCropped);
|
|
547
|
+
}
|
|
548
|
+
}, {
|
|
549
|
+
key: "onClickBackButton",
|
|
550
|
+
value: function onClickBackButton() {
|
|
551
|
+
if (this.popupContentState === PopupContentType.Upload) return;
|
|
552
|
+
this.popupContentState = PopupContentType.Upload;
|
|
553
|
+
this.selectedImageType = null;
|
|
554
|
+
this.newImageEl = null;
|
|
555
|
+
this.spinnerModel.set(_shared_components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_14__["SpinnerButtonModelAttributes"].Disabled, true);
|
|
556
|
+
this.renderContent();
|
|
557
|
+
}
|
|
558
|
+
}, {
|
|
559
|
+
key: "onClickCrop",
|
|
560
|
+
value: function onClickCrop() {
|
|
561
|
+
backbone__WEBPACK_IMPORTED_MODULE_1__["Radio"].channel(this.channelName).trigger(_shared_components_image_cropper_ImageCropperComponent__WEBPACK_IMPORTED_MODULE_13__["CropEventNames"].CropImage).trigger(_shared_components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_14__["SpinnerButtonEvents"].ShowSpinner);
|
|
562
|
+
}
|
|
563
|
+
}, {
|
|
564
|
+
key: "onSelectImage",
|
|
565
|
+
value: function onSelectImage(dataUrl, imageType) {
|
|
566
|
+
this.selectedImageType = imageType;
|
|
567
|
+
this.newImageEl = new Image();
|
|
568
|
+
this.newImageEl.src = dataUrl;
|
|
569
|
+
this.popupContentState = PopupContentType.Crop;
|
|
570
|
+
this.spinnerModel.set(_shared_components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_14__["SpinnerButtonModelAttributes"].Disabled, false);
|
|
571
|
+
this.renderCropper();
|
|
572
|
+
}
|
|
573
|
+
}, {
|
|
574
|
+
key: "onImageCropped",
|
|
575
|
+
value: function onImageCropped(dataUrl) {
|
|
576
|
+
var _this2 = this;
|
|
577
|
+
|
|
578
|
+
this.imageUploadDataService.uploadBase64Image(dataUrl, this.selectedImageType, function (data) {
|
|
579
|
+
return _this2.onImageUploaded(data);
|
|
580
|
+
});
|
|
581
|
+
}
|
|
582
|
+
}, {
|
|
583
|
+
key: "onImageUploaded",
|
|
584
|
+
value: function onImageUploaded(imageModel) {
|
|
585
|
+
var _this3 = this;
|
|
586
|
+
|
|
587
|
+
this.triggerMethod('hide');
|
|
588
|
+
var data = {
|
|
589
|
+
libraryId: this.libraryId,
|
|
590
|
+
folderId: this.options.folderId,
|
|
591
|
+
currentImageId: this.getCurrentImageId(),
|
|
592
|
+
imageModel: imageModel
|
|
593
|
+
};
|
|
594
|
+
var entity = this.selectedImageType === _shared_enums__WEBPACK_IMPORTED_MODULE_12__["ImageType"].Banners ? _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_5__["EntityType"].Banner : _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_5__["EntityType"].Thumbnail;
|
|
595
|
+
var dataServiceMethod = this.selectedImageType === _shared_enums__WEBPACK_IMPORTED_MODULE_12__["ImageType"].Banners ? 'addOrUpdateBanner' : 'addOrUpdateThumbnail';
|
|
596
|
+
this.libraryDataService[dataServiceMethod](data, function (returnModel) {
|
|
597
|
+
_libs_analytics_src_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_6__["AnalyticsHelper"].logUserAction({
|
|
598
|
+
libraryId: _this3.libraryId,
|
|
599
|
+
folderId: _this3.options.folderId,
|
|
600
|
+
id: returnModel.get('id')
|
|
601
|
+
}, {
|
|
602
|
+
actionType: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_5__["UserAction"].Upload,
|
|
603
|
+
entity: entity,
|
|
604
|
+
workflowPhase: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_5__["WorkflowPhase"].Complete,
|
|
605
|
+
location: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_5__["LocationContext"].Popup
|
|
606
|
+
});
|
|
607
|
+
|
|
608
|
+
_this3.reloadPage();
|
|
609
|
+
});
|
|
610
|
+
}
|
|
611
|
+
}, {
|
|
612
|
+
key: "onShowDialog",
|
|
613
|
+
value: function onShowDialog(imageType) {
|
|
614
|
+
var _this4 = this;
|
|
615
|
+
|
|
616
|
+
var dialog = new _shared_utils__WEBPACK_IMPORTED_MODULE_10__["DialogHelper"]({
|
|
617
|
+
title: 'Remove image?',
|
|
618
|
+
text: 'Are you sure you want to remove this image?',
|
|
619
|
+
buttons: [{
|
|
620
|
+
text: 'Remove',
|
|
621
|
+
className: 'btn btn-danger',
|
|
622
|
+
success: true
|
|
623
|
+
}, {
|
|
624
|
+
text: 'Cancel',
|
|
625
|
+
className: 'btn btn-secondary',
|
|
626
|
+
close: true
|
|
627
|
+
}],
|
|
628
|
+
channelName: this.options.channelName
|
|
629
|
+
});
|
|
630
|
+
setTimeout(function () {
|
|
631
|
+
return dialog.render().done(function () {
|
|
632
|
+
return _this4.removeImage(imageType);
|
|
633
|
+
});
|
|
634
|
+
}, 200);
|
|
635
|
+
this.triggerMethod('hide');
|
|
636
|
+
}
|
|
637
|
+
}, {
|
|
638
|
+
key: "removeImage",
|
|
639
|
+
value: function removeImage(imageType) {
|
|
640
|
+
var _this5 = this;
|
|
641
|
+
|
|
642
|
+
var dataServiceMethod = imageType === _shared_enums__WEBPACK_IMPORTED_MODULE_12__["ImageType"].Banners ? 'deleteBanner' : 'deleteThumbnail';
|
|
643
|
+
var imageModel = imageType === _shared_enums__WEBPACK_IMPORTED_MODULE_12__["ImageType"].Banners ? this.currentBanner : this.currentThumbnail;
|
|
644
|
+
var data = {
|
|
645
|
+
libraryId: this.libraryId,
|
|
646
|
+
folderId: this.model.get('id'),
|
|
647
|
+
imageId: imageModel.get('id')
|
|
648
|
+
};
|
|
649
|
+
var entity = imageType === _shared_enums__WEBPACK_IMPORTED_MODULE_12__["ImageType"].Banners ? _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_5__["EntityType"].Banner : _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_5__["EntityType"].Thumbnail;
|
|
650
|
+
this.libraryDataService[dataServiceMethod](data, function () {
|
|
651
|
+
_libs_analytics_src_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_6__["AnalyticsHelper"].logUserAction({
|
|
652
|
+
libraryId: _this5.libraryId,
|
|
653
|
+
folderId: _this5.model.get('id'),
|
|
654
|
+
id: imageModel.get('id')
|
|
655
|
+
}, {
|
|
656
|
+
actionType: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_5__["UserAction"].Delete,
|
|
657
|
+
entity: entity,
|
|
658
|
+
workflowPhase: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_5__["WorkflowPhase"].Complete,
|
|
659
|
+
location: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_5__["LocationContext"].Popup
|
|
660
|
+
});
|
|
661
|
+
|
|
662
|
+
_this5.reloadPage();
|
|
663
|
+
});
|
|
664
|
+
}
|
|
665
|
+
}, {
|
|
666
|
+
key: "reloadPage",
|
|
667
|
+
value: function reloadPage() {
|
|
668
|
+
var _this6 = this;
|
|
669
|
+
|
|
670
|
+
var inFolder = _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_2__["Core"].LocationUtils.GetCurrentPath().includes('folders');
|
|
671
|
+
setTimeout(function () {
|
|
672
|
+
return _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_2__["Core"].AppLinkHelper.trigger({
|
|
673
|
+
application: _shared_constants__WEBPACK_IMPORTED_MODULE_11__["AppChannels"].LIBRARY_EDITOR,
|
|
674
|
+
action: inFolder ? _shared_constants__WEBPACK_IMPORTED_MODULE_11__["Actions"].LibraryEditor.FOLDER : _shared_constants__WEBPACK_IMPORTED_MODULE_11__["Actions"].LibraryEditor.HOME,
|
|
675
|
+
args: inFolder ? [_this6.options.folderId] : undefined
|
|
676
|
+
});
|
|
677
|
+
}, 0);
|
|
678
|
+
}
|
|
679
|
+
}, {
|
|
680
|
+
key: "getCurrentImageId",
|
|
681
|
+
value: function getCurrentImageId() {
|
|
682
|
+
if (this.selectedImageType === _shared_enums__WEBPACK_IMPORTED_MODULE_12__["ImageType"].Banners && this.currentBanner) return this.currentBanner.get('id');
|
|
683
|
+
if (this.selectedImageType === _shared_enums__WEBPACK_IMPORTED_MODULE_12__["ImageType"].Thumbnails && this.currentThumbnail) return this.currentThumbnail.get('id');
|
|
684
|
+
}
|
|
685
|
+
}, {
|
|
686
|
+
key: "getCropRegionWidth",
|
|
687
|
+
value: function getCropRegionWidth() {
|
|
688
|
+
return this.$el.find('.modal-body').width();
|
|
689
|
+
}
|
|
690
|
+
}, {
|
|
691
|
+
key: "getImageModel",
|
|
692
|
+
value: function getImageModel() {
|
|
693
|
+
return new _shared_models_Image__WEBPACK_IMPORTED_MODULE_8__["Image"]({
|
|
694
|
+
dataUrl: this.newImageEl.src,
|
|
695
|
+
width: this.newImageEl.width,
|
|
696
|
+
height: this.newImageEl.height
|
|
697
|
+
});
|
|
698
|
+
}
|
|
699
|
+
}, {
|
|
700
|
+
key: "renderContent",
|
|
701
|
+
value: function renderContent() {
|
|
702
|
+
if (this.popupContentState !== PopupContentType.Upload) return;
|
|
703
|
+
this.getUI('backBtn').addClass(_edit_folder_images_scss__WEBPACK_IMPORTED_MODULE_17___default.a.hide);
|
|
704
|
+
this.showChildView('content', new _components_edit_images_wrapper_EditImagesWrapperComponent__WEBPACK_IMPORTED_MODULE_16__["EditImagesWrapperComponent"]({
|
|
705
|
+
imageCdnUrl: this.config.get('imageCdnUrl'),
|
|
706
|
+
folderName: this.model.get('name'),
|
|
707
|
+
bannerImage: this.currentBanner,
|
|
708
|
+
thumbnailImage: this.currentThumbnail,
|
|
709
|
+
bannerChannel: "".concat(this.channelName, ":").concat(_shared_enums__WEBPACK_IMPORTED_MODULE_12__["ImageType"].Banners),
|
|
710
|
+
thumbnailChannel: "".concat(this.channelName, ":").concat(_shared_enums__WEBPACK_IMPORTED_MODULE_12__["ImageType"].Thumbnails),
|
|
711
|
+
folderId: this.options.folderId
|
|
712
|
+
}));
|
|
713
|
+
}
|
|
714
|
+
}, {
|
|
715
|
+
key: "renderCropper",
|
|
716
|
+
value: function renderCropper() {
|
|
717
|
+
if (this.popupContentState !== PopupContentType.Crop) return;
|
|
718
|
+
this.getUI('backBtn').removeClass(_edit_folder_images_scss__WEBPACK_IMPORTED_MODULE_17___default.a.hide);
|
|
719
|
+
this.showChildView('content', new _shared_components_image_cropper_ImageCropperComponent__WEBPACK_IMPORTED_MODULE_13__["ImageCropperComponent"]({
|
|
720
|
+
model: this.getImageModel(),
|
|
721
|
+
channelName: this.channelName,
|
|
722
|
+
imageType: this.selectedImageType,
|
|
723
|
+
minWidth: _shared_constants__WEBPACK_IMPORTED_MODULE_11__["ImageMinDimensions"][this.selectedImageType].width,
|
|
724
|
+
minHeight: _shared_constants__WEBPACK_IMPORTED_MODULE_11__["ImageMinDimensions"][this.selectedImageType].height,
|
|
725
|
+
getCropRegionWidth: underscore__WEBPACK_IMPORTED_MODULE_0__["bind"](this.getCropRegionWidth, this)
|
|
726
|
+
}));
|
|
727
|
+
}
|
|
728
|
+
}, {
|
|
729
|
+
key: "viewOptions",
|
|
730
|
+
value: function viewOptions() {
|
|
731
|
+
return {
|
|
732
|
+
dataFetched: !!this.model && !!this.libraryId,
|
|
733
|
+
spinnerEl: _shared_utils__WEBPACK_IMPORTED_MODULE_10__["SpinnerHelper"].getSpinner({
|
|
734
|
+
size: _shared_utils__WEBPACK_IMPORTED_MODULE_10__["SpinnerSize"].Large,
|
|
735
|
+
extraClasses: 'mx-auto'
|
|
736
|
+
})
|
|
737
|
+
};
|
|
738
|
+
}
|
|
739
|
+
}, {
|
|
740
|
+
key: "onBeforeRender",
|
|
741
|
+
value: function onBeforeRender() {
|
|
742
|
+
var _this7 = this;
|
|
743
|
+
|
|
744
|
+
if (!this.model || !this.libraryId) {
|
|
745
|
+
this.model = this.libraryDataService.getFolder(this.options.folderId);
|
|
746
|
+
this.libraryDataService.getLibraries(function (data) {
|
|
747
|
+
return _this7.libraryId = data.first().id;
|
|
748
|
+
});
|
|
749
|
+
}
|
|
750
|
+
}
|
|
751
|
+
}, {
|
|
752
|
+
key: "onRender",
|
|
753
|
+
value: function onRender() {
|
|
754
|
+
if (!this.model || !this.libraryId) return;
|
|
755
|
+
this.currentBanner = this.model.get('banner');
|
|
756
|
+
this.currentThumbnail = this.model.get('thumbnail');
|
|
757
|
+
this.renderContent();
|
|
758
|
+
}
|
|
759
|
+
}, {
|
|
760
|
+
key: "onBeforeDestroy",
|
|
761
|
+
value: function onBeforeDestroy() {
|
|
762
|
+
this.viewModel.clear();
|
|
763
|
+
}
|
|
764
|
+
}, {
|
|
765
|
+
key: "name",
|
|
766
|
+
get: function get() {
|
|
767
|
+
return 'EditFolderImagesView';
|
|
768
|
+
}
|
|
769
|
+
}, {
|
|
770
|
+
key: "title",
|
|
771
|
+
get: function get() {
|
|
772
|
+
return 'Edit Folder Images';
|
|
773
|
+
}
|
|
774
|
+
}, {
|
|
775
|
+
key: "template",
|
|
776
|
+
get: function get() {
|
|
777
|
+
return _EditFolderImages_hbs__WEBPACK_IMPORTED_MODULE_18___default.a;
|
|
778
|
+
}
|
|
779
|
+
}, {
|
|
780
|
+
key: "channelName",
|
|
781
|
+
get: function get() {
|
|
782
|
+
return _shared_utils__WEBPACK_IMPORTED_MODULE_10__["RadioChannelHelper"].generateUniqueChannelName(this);
|
|
783
|
+
}
|
|
784
|
+
}, {
|
|
785
|
+
key: "elements",
|
|
786
|
+
get: function get() {
|
|
787
|
+
return {
|
|
788
|
+
backBtn: '.back-btn'
|
|
789
|
+
};
|
|
790
|
+
}
|
|
791
|
+
}, {
|
|
792
|
+
key: "behaviors",
|
|
793
|
+
get: function get() {
|
|
794
|
+
return [{
|
|
795
|
+
title: 'Edit folder images',
|
|
796
|
+
behaviorClass: _shared_behaviors__WEBPACK_IMPORTED_MODULE_7__["PopupBehavior"],
|
|
797
|
+
size: 'modal-lg',
|
|
798
|
+
buttons: [{
|
|
799
|
+
text: 'Back',
|
|
800
|
+
className: "btn btn-light back-btn ".concat(_edit_folder_images_scss__WEBPACK_IMPORTED_MODULE_17___default.a.hide)
|
|
801
|
+
}],
|
|
802
|
+
spinnerButtonOptions: {
|
|
803
|
+
model: this.spinnerModel = new _shared_models_DisabledSpinnerModel__WEBPACK_IMPORTED_MODULE_9__["DisabledSpinnerModel"](),
|
|
804
|
+
channelName: this.channelName,
|
|
805
|
+
buttonText: 'Continue',
|
|
806
|
+
onClick: this.onClickCrop
|
|
807
|
+
}
|
|
808
|
+
}];
|
|
809
|
+
}
|
|
810
|
+
}, {
|
|
811
|
+
key: "requiredResources",
|
|
812
|
+
get: function get() {
|
|
813
|
+
return {
|
|
814
|
+
config: _shared_services_ConfigDataService__WEBPACK_IMPORTED_MODULE_15__["ConfigDataServiceHelper"].config
|
|
815
|
+
};
|
|
816
|
+
}
|
|
817
|
+
}]);
|
|
818
|
+
|
|
819
|
+
return EditFolderImagesView;
|
|
820
|
+
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_2__["Core"].View);
|
|
821
|
+
|
|
822
|
+
/***/ }),
|
|
823
|
+
|
|
824
|
+
/***/ "./src/apps/library-editor/views/edit-folder-images/edit-folder-images.scss":
|
|
825
|
+
/*!**********************************************************************************!*\
|
|
826
|
+
!*** ./src/apps/library-editor/views/edit-folder-images/edit-folder-images.scss ***!
|
|
827
|
+
\**********************************************************************************/
|
|
828
|
+
/*! no static exports found */
|
|
829
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
830
|
+
|
|
831
|
+
// extracted by mini-css-extract-plugin
|
|
832
|
+
module.exports = {"hide":"cv--hide--5hYaK"};
|
|
833
|
+
|
|
834
|
+
/***/ }),
|
|
835
|
+
|
|
836
|
+
/***/ "./src/shared/components/image-cropper/ImageCropper.hbs":
|
|
837
|
+
/*!**************************************************************!*\
|
|
838
|
+
!*** ./src/shared/components/image-cropper/ImageCropper.hbs ***!
|
|
839
|
+
\**************************************************************/
|
|
840
|
+
/*! no static exports found */
|
|
841
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
842
|
+
|
|
843
|
+
var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
|
|
844
|
+
module.exports = (Handlebars['default'] || Handlebars).template({"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
845
|
+
var helper, alias1=container.propertyIsEnumerable;
|
|
846
|
+
|
|
847
|
+
return "<img src=\""
|
|
848
|
+
+ container.escapeExpression(((helper = (helper = helpers.dataUrl || (depth0 != null ? depth0.dataUrl : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"dataUrl","hash":{},"data":data}) : helper)))
|
|
849
|
+
+ "\" class=\"img img-fluid\" />";
|
|
850
|
+
},"useData":true});
|
|
851
|
+
|
|
852
|
+
/***/ }),
|
|
853
|
+
|
|
854
|
+
/***/ "./src/shared/components/image-cropper/ImageCropperComponent.ts":
|
|
855
|
+
/*!**********************************************************************!*\
|
|
856
|
+
!*** ./src/shared/components/image-cropper/ImageCropperComponent.ts ***!
|
|
857
|
+
\**********************************************************************/
|
|
858
|
+
/*! exports provided: CropEventNames, ImageCropperComponent */
|
|
859
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
860
|
+
|
|
861
|
+
"use strict";
|
|
862
|
+
__webpack_require__.r(__webpack_exports__);
|
|
863
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CropEventNames", function() { return CropEventNames; });
|
|
864
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ImageCropperComponent", function() { return ImageCropperComponent; });
|
|
865
|
+
/* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! backbone */ "backbone");
|
|
866
|
+
/* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(backbone__WEBPACK_IMPORTED_MODULE_0__);
|
|
867
|
+
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
868
|
+
/* harmony import */ var cropperjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! cropperjs */ "../../../node_modules/cropperjs/dist/cropper.js");
|
|
869
|
+
/* harmony import */ var cropperjs__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(cropperjs__WEBPACK_IMPORTED_MODULE_2__);
|
|
870
|
+
/* harmony import */ var _ImageCropper_hbs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ImageCropper.hbs */ "./src/shared/components/image-cropper/ImageCropper.hbs");
|
|
871
|
+
/* harmony import */ var _ImageCropper_hbs__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_ImageCropper_hbs__WEBPACK_IMPORTED_MODULE_3__);
|
|
872
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
873
|
+
|
|
874
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
875
|
+
|
|
876
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
877
|
+
|
|
878
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
879
|
+
|
|
880
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
881
|
+
|
|
882
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
883
|
+
|
|
884
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
885
|
+
|
|
886
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
887
|
+
|
|
888
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
889
|
+
|
|
890
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
891
|
+
|
|
892
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
893
|
+
|
|
894
|
+
|
|
895
|
+
|
|
896
|
+
|
|
897
|
+
|
|
898
|
+
var CropEventNames;
|
|
899
|
+
|
|
900
|
+
(function (CropEventNames) {
|
|
901
|
+
CropEventNames["ClickCrop"] = "click:crop";
|
|
902
|
+
CropEventNames["CropImage"] = "crop:image";
|
|
903
|
+
CropEventNames["ImageCropped"] = "image:cropped";
|
|
904
|
+
})(CropEventNames || (CropEventNames = {}));
|
|
905
|
+
|
|
906
|
+
var ImageCropperComponent = /*#__PURE__*/function (_Core$Component) {
|
|
907
|
+
_inherits(ImageCropperComponent, _Core$Component);
|
|
908
|
+
|
|
909
|
+
var _super = _createSuper(ImageCropperComponent);
|
|
910
|
+
|
|
911
|
+
function ImageCropperComponent(options) {
|
|
912
|
+
_classCallCheck(this, ImageCropperComponent);
|
|
913
|
+
|
|
914
|
+
return _super.call(this, options);
|
|
915
|
+
}
|
|
916
|
+
|
|
917
|
+
_createClass(ImageCropperComponent, [{
|
|
918
|
+
key: "initialize",
|
|
919
|
+
value: function initialize() {
|
|
920
|
+
this.listenTo(this.options.channelName, CropEventNames.CropImage, this.crop);
|
|
921
|
+
}
|
|
922
|
+
}, {
|
|
923
|
+
key: "getMinCropBoxWidth",
|
|
924
|
+
value: function getMinCropBoxWidth() {
|
|
925
|
+
return this.options.minWidth * this.getViewportToImageRatio();
|
|
926
|
+
}
|
|
927
|
+
}, {
|
|
928
|
+
key: "getMinCropBoxHeight",
|
|
929
|
+
value: function getMinCropBoxHeight() {
|
|
930
|
+
return this.options.minHeight * this.getViewportToImageRatio();
|
|
931
|
+
}
|
|
932
|
+
}, {
|
|
933
|
+
key: "getViewportToImageRatio",
|
|
934
|
+
value: function getViewportToImageRatio() {
|
|
935
|
+
return this.options.getCropRegionWidth() / this.model.get('width');
|
|
936
|
+
}
|
|
937
|
+
}, {
|
|
938
|
+
key: "crop",
|
|
939
|
+
value: function crop() {
|
|
940
|
+
var dataUrl = this.cropper.getCroppedCanvas().toDataURL(this.getImageMimeType());
|
|
941
|
+
backbone__WEBPACK_IMPORTED_MODULE_0__["Radio"].channel(this.options.channelName).trigger(CropEventNames.ImageCropped, dataUrl);
|
|
942
|
+
}
|
|
943
|
+
}, {
|
|
944
|
+
key: "getImageMimeType",
|
|
945
|
+
value: function getImageMimeType() {
|
|
946
|
+
var dataUrl = this.model.get('dataUrl');
|
|
947
|
+
var mime = dataUrl.match(/data:([a-zA-Z0-9]+\/[a-zA-Z0-9-.+]+).*,.*/);
|
|
948
|
+
if (!mime) return;
|
|
949
|
+
return mime[1];
|
|
950
|
+
}
|
|
951
|
+
}, {
|
|
952
|
+
key: "renderCropper",
|
|
953
|
+
value: function renderCropper() {
|
|
954
|
+
this.getMinCropBoxWidth();
|
|
955
|
+
var image = this.getUI('image').get(0);
|
|
956
|
+
this.cropper = new cropperjs__WEBPACK_IMPORTED_MODULE_2___default.a(image, {
|
|
957
|
+
viewMode: 1,
|
|
958
|
+
aspectRatio: this.options.minWidth / this.options.minHeight,
|
|
959
|
+
minCropBoxWidth: this.getMinCropBoxWidth(),
|
|
960
|
+
minCropBoxHeight: this.getMinCropBoxHeight(),
|
|
961
|
+
autoCropArea: 1
|
|
962
|
+
});
|
|
963
|
+
}
|
|
964
|
+
}, {
|
|
965
|
+
key: "onRender",
|
|
966
|
+
value: function onRender() {
|
|
967
|
+
this.renderCropper();
|
|
968
|
+
}
|
|
969
|
+
}, {
|
|
970
|
+
key: "onBeforeDestroy",
|
|
971
|
+
value: function onBeforeDestroy() {
|
|
972
|
+
this.cropper.destroy();
|
|
973
|
+
}
|
|
974
|
+
}, {
|
|
975
|
+
key: "name",
|
|
976
|
+
get: function get() {
|
|
977
|
+
return 'ImageCropperComponent';
|
|
978
|
+
}
|
|
979
|
+
}, {
|
|
980
|
+
key: "template",
|
|
981
|
+
get: function get() {
|
|
982
|
+
return _ImageCropper_hbs__WEBPACK_IMPORTED_MODULE_3___default.a;
|
|
983
|
+
}
|
|
984
|
+
}, {
|
|
985
|
+
key: "className",
|
|
986
|
+
get: function get() {
|
|
987
|
+
return 'text-center';
|
|
988
|
+
}
|
|
989
|
+
}, {
|
|
990
|
+
key: "elements",
|
|
991
|
+
get: function get() {
|
|
992
|
+
return {
|
|
993
|
+
image: '.img'
|
|
994
|
+
};
|
|
995
|
+
}
|
|
996
|
+
}]);
|
|
997
|
+
|
|
998
|
+
return ImageCropperComponent;
|
|
999
|
+
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__["Core"].Component);
|
|
1000
|
+
|
|
1001
|
+
/***/ }),
|
|
1002
|
+
|
|
1003
|
+
/***/ "./src/shared/models/DisabledSpinnerModel.ts":
|
|
1004
|
+
/*!***************************************************!*\
|
|
1005
|
+
!*** ./src/shared/models/DisabledSpinnerModel.ts ***!
|
|
1006
|
+
\***************************************************/
|
|
1007
|
+
/*! exports provided: DisabledSpinnerModel */
|
|
1008
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1009
|
+
|
|
1010
|
+
"use strict";
|
|
1011
|
+
__webpack_require__.r(__webpack_exports__);
|
|
1012
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DisabledSpinnerModel", function() { return DisabledSpinnerModel; });
|
|
1013
|
+
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
1014
|
+
/* harmony import */ var _components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../components/spinner-button/SpinnerButtonComponent */ "./src/shared/components/spinner-button/SpinnerButtonComponent.ts");
|
|
1015
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
1016
|
+
|
|
1017
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
1018
|
+
|
|
1019
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
1020
|
+
|
|
1021
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
1022
|
+
|
|
1023
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
1024
|
+
|
|
1025
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
1026
|
+
|
|
1027
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
1028
|
+
|
|
1029
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
1030
|
+
|
|
1031
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
1032
|
+
|
|
1033
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
1034
|
+
|
|
1035
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
1036
|
+
|
|
1037
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
1038
|
+
|
|
1039
|
+
|
|
1040
|
+
|
|
1041
|
+
var DisabledSpinnerModel = /*#__PURE__*/function (_Core$Model) {
|
|
1042
|
+
_inherits(DisabledSpinnerModel, _Core$Model);
|
|
1043
|
+
|
|
1044
|
+
var _super = _createSuper(DisabledSpinnerModel);
|
|
1045
|
+
|
|
1046
|
+
function DisabledSpinnerModel() {
|
|
1047
|
+
_classCallCheck(this, DisabledSpinnerModel);
|
|
1048
|
+
|
|
1049
|
+
return _super.apply(this, arguments);
|
|
1050
|
+
}
|
|
1051
|
+
|
|
1052
|
+
_createClass(DisabledSpinnerModel, [{
|
|
1053
|
+
key: "defaults",
|
|
1054
|
+
value: function defaults() {
|
|
1055
|
+
return _defineProperty({}, _components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_1__["SpinnerButtonModelAttributes"].Disabled, true);
|
|
1056
|
+
}
|
|
1057
|
+
}]);
|
|
1058
|
+
|
|
1059
|
+
return DisabledSpinnerModel;
|
|
1060
|
+
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].Model);
|
|
1061
|
+
|
|
1062
|
+
/***/ })
|
|
1063
|
+
|
|
1064
|
+
}]);
|
|
1065
|
+
//# sourceMappingURL=45.chunk.js.map
|