@clickview/library-editor 1.1.26-rc.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.map +1 -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.map +1 -0
- package/dist/libs/common/src/react/flight/enums/RequestStatus.d.ts +6 -0
- package/dist/libs/common/src/react/flight/enums/index.d.ts +1 -0
- package/dist/libs/common/src/react/flight/interfaces/FlightState.d.ts +22 -0
- package/dist/libs/common/src/react/flight/interfaces/NormalizeOptions.d.ts +4 -0
- package/dist/libs/common/src/react/flight/interfaces/Request.d.ts +29 -0
- package/dist/libs/common/src/react/flight/interfaces/UpdateStateOptions.d.ts +15 -0
- package/dist/libs/common/src/react/interfaces/ApplicationData.d.ts +3 -0
- package/dist/libs/common/src/react/interfaces/ApplicationState.d.ts +8 -0
- package/dist/libs/common/src/react/interfaces/BaseReducerActions.d.ts +4 -0
- package/dist/libs/common/src/react/interfaces/index.d.ts +4 -0
- package/dist/libs/shared/src/enums/MasterObjectTypes.d.ts +8 -0
- package/dist/libs/shared/src/enums/ObjectOwnerType.d.ts +4 -0
- package/dist/libs/shared/src/enums/UploadInteractionType.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/collections/SubtitleCollection.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/models/FileUpload.d.ts +20 -0
- package/dist/libs/shared/src/interfaces/models/Language.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/models/Pdf.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/models/Subtitle.d.ts +7 -0
- package/dist/libs/shared/src/interfaces/requests/UpdateObjectChannel.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/requests/UpdateObjectRating.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/requests/UpdateResourceRequest.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/services/BaseConfigDataService.d.ts +5 -0
- package/dist/libs/shared/src/legacy/behaviors/file-drop/FileDropBehavior.d.ts +19 -0
- package/dist/libs/shared/src/legacy/behaviors/file-drop/FileDropHelper.d.ts +4 -0
- package/dist/libs/shared/src/legacy/behaviors/file-drop/FileDropMaskBehavior.d.ts +19 -0
- package/dist/libs/shared/src/legacy/behaviors/file-select/FileSelectBehavior.d.ts +16 -0
- package/dist/libs/shared/src/legacy/components/file-select/FileSelectComponent.d.ts +29 -0
- package/dist/libs/shared/src/legacy/components/file-uploads/FileUploadComponent.d.ts +15 -0
- package/dist/libs/shared/src/legacy/components/resource-item/ResourceItemComponent.d.ts +22 -0
- package/dist/libs/shared/src/legacy/components/subtitle-item/SubtitleItemComponent.d.ts +17 -0
- package/dist/libs/shared/src/legacy/errors/too-many-files/TooManyFilesError.d.ts +7 -0
- package/dist/libs/shared/src/legacy/errors/too-many-resources/TooManyResourcesError.d.ts +8 -0
- package/dist/libs/shared/src/legacy/errors/too-many-subtitles/TooManySubtitlesError.d.ts +8 -0
- package/dist/libs/shared/src/utils/SubtitleHelper.d.ts +9 -0
- package/dist/libs/shared/src/utils/VideoDetailsHelper.d.ts +21 -0
- package/dist/scripts/0-1c2bb7e28a.chunk.js +1 -0
- package/dist/scripts/0-1dbc79e4e7.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-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-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-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-07999b80e0.chunk.js +1 -0
- package/dist/scripts/12-24bd360be0.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-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-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-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-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-140fec014b.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-0c5fba8b60.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-4d88ede0e0.chunk.js +1 -0
- package/dist/scripts/20-732a7a549d.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-0b84d33cef.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-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-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-74ab289589.chunk.js +1 -0
- package/dist/scripts/24-7aa9b43511.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-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-d166e3c313.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-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-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-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-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-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-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-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-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-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-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-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-3f3a603b60.chunk.js +1 -0
- package/dist/scripts/37-6fa4b8fc60.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-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-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-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-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-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-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-2fe5b1c9cc.chunk.js +1 -0
- package/dist/scripts/43-49f13dab14.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-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-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-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-1e3d829757.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-877e9e02b8.chunk.js +1 -0
- package/dist/scripts/48-e05ab3ecac.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-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-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-0741587a02.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-a5f1309ada.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-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-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-7cdbdcebf9.chunk.js +1 -0
- package/dist/scripts/54-d1bc70c7b5.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-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-36d54fa08f.chunk.js +1 -0
- package/dist/scripts/56-370078d597.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-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-17706ccb46.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-0a7bdc86b0.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-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-0d8896555f.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-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-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-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-9c88ee6161.chunk.js +1 -0
- package/dist/scripts/64-e177d4c971.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-93567fe088.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-c84a3a3c3f.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-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-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-3d2063cd0f.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-3151397d74.chunk.js +1 -0
- package/dist/scripts/7-aac8c84ccb.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-27e9e5792a.chunk.js +1 -0
- package/dist/scripts/70-39dc936989.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-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-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-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-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-8862b095c0.min.js → bundle-203920eb14.min.js} +1 -1
- 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-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 +2 -2
- /package/dist/scripts/{0-1deffb42bf.chunk.js → 0-8b75adf540.chunk.js} +0 -0
- /package/dist/scripts/{1-a4065968c1.chunk.js → 1-22a3bd404f.chunk.js} +0 -0
- /package/dist/scripts/{10-0adc529f9b.chunk.js → 10-31317a2d02.chunk.js} +0 -0
- /package/dist/scripts/{12-18ae0dfa89.chunk.js → 12-6ecdd79b85.chunk.js} +0 -0
- /package/dist/scripts/{13-a9ed73e93d.chunk.js → 13-282f8add17.chunk.js} +0 -0
- /package/dist/scripts/{14-e0828acdfa.chunk.js → 14-5e443cb402.chunk.js} +0 -0
- /package/dist/scripts/{15-c67caabb0a.chunk.js → 15-1f779dd0d3.chunk.js} +0 -0
- /package/dist/scripts/{16-31fefb2cac.chunk.js → 16-427a8933c8.chunk.js} +0 -0
- /package/dist/scripts/{17-b9c5bbda43.chunk.js → 17-7093f50dff.chunk.js} +0 -0
- /package/dist/scripts/{20-2bca62d1c0.chunk.js → 20-a84733c89f.chunk.js} +0 -0
- /package/dist/scripts/{21-c70d40dc61.chunk.js → 21-9b28a13702.chunk.js} +0 -0
- /package/dist/scripts/{22-0e9dca307f.chunk.js → 22-082c94a39c.chunk.js} +0 -0
- /package/dist/scripts/{23-b4a5ffb3a6.chunk.js → 23-2b00ff99bf.chunk.js} +0 -0
- /package/dist/scripts/{24-88056bc5c9.chunk.js → 24-c94049500e.chunk.js} +0 -0
- /package/dist/scripts/{25-ec294abf37.chunk.js → 25-34c0406f50.chunk.js} +0 -0
- /package/dist/scripts/{26-2a038b6df5.chunk.js → 26-d19e3f755c.chunk.js} +0 -0
- /package/dist/scripts/{27-9f06d5bb5d.chunk.js → 27-3aa629dd67.chunk.js} +0 -0
- /package/dist/scripts/{28-4e62071464.chunk.js → 28-738b88c816.chunk.js} +0 -0
- /package/dist/scripts/{29-5ab940b23f.chunk.js → 29-3faa153e38.chunk.js} +0 -0
- /package/dist/scripts/{3-dbf1f0bdbc.chunk.js → 3-42e8af9f39.chunk.js} +0 -0
- /package/dist/scripts/{30-87ec7ee868.chunk.js → 30-109f8ddd5c.chunk.js} +0 -0
- /package/dist/scripts/{31-24f9dc350e.chunk.js → 31-639090fee3.chunk.js} +0 -0
- /package/dist/scripts/{32-a06209da52.chunk.js → 32-3de9c7454b.chunk.js} +0 -0
- /package/dist/scripts/{33-c33020ec6f.chunk.js → 33-675467f07d.chunk.js} +0 -0
- /package/dist/scripts/{34-116a50814d.chunk.js → 34-0a7f3b55fe.chunk.js} +0 -0
- /package/dist/scripts/{35-33ea39c18e.chunk.js → 35-4254e160f0.chunk.js} +0 -0
- /package/dist/scripts/{36-ccb493b3f6.chunk.js → 36-1fde696d6a.chunk.js} +0 -0
- /package/dist/scripts/{37-bb5a5bdad3.chunk.js → 37-97b84a8be5.chunk.js} +0 -0
- /package/dist/scripts/{38-64d5f34871.chunk.js → 38-0cf8029bec.chunk.js} +0 -0
- /package/dist/scripts/{39-14259bc6fe.chunk.js → 39-748eb61732.chunk.js} +0 -0
- /package/dist/scripts/{4-dbbff4289b.chunk.js → 4-5c50e71b83.chunk.js} +0 -0
- /package/dist/scripts/{40-ea678bbe5b.chunk.js → 40-2691dfbd5a.chunk.js} +0 -0
- /package/dist/scripts/{41-2d35060d0e.chunk.js → 41-1df587ee3a.chunk.js} +0 -0
- /package/dist/scripts/{42-898076e213.chunk.js → 42-3480033857.chunk.js} +0 -0
- /package/dist/scripts/{43-0616177a42.chunk.js → 43-72d1bc0ae2.chunk.js} +0 -0
- /package/dist/scripts/{44-861ac46f36.chunk.js → 44-756fd6622b.chunk.js} +0 -0
- /package/dist/scripts/{45-7446535f17.chunk.js → 45-610d098194.chunk.js} +0 -0
- /package/dist/scripts/{46-26620d2a5f.chunk.js → 46-cadf3f46ee.chunk.js} +0 -0
- /package/dist/scripts/{47-a4034122c9.chunk.js → 47-22a83e5974.chunk.js} +0 -0
- /package/dist/scripts/{48-76b2c74863.chunk.js → 48-e577124476.chunk.js} +0 -0
- /package/dist/scripts/{49-505e968070.chunk.js → 49-0f9a6a1782.chunk.js} +0 -0
- /package/dist/scripts/{5-2051149282.chunk.js → 5-06b97501c3.chunk.js} +0 -0
- /package/dist/scripts/{50-5fc4da3bc5.chunk.js → 50-0d5aed7730.chunk.js} +0 -0
- /package/dist/scripts/{51-fc0310c5cd.chunk.js → 51-cd37c8efa2.chunk.js} +0 -0
- /package/dist/scripts/{52-bf7eecfbac.chunk.js → 52-8b53a5c0b1.chunk.js} +0 -0
- /package/dist/scripts/{53-ec51fba164.chunk.js → 53-54b0df474f.chunk.js} +0 -0
- /package/dist/scripts/{54-d3990092dd.chunk.js → 54-dd4d101665.chunk.js} +0 -0
- /package/dist/scripts/{55-e4665da63e.chunk.js → 55-078bb9b0ea.chunk.js} +0 -0
- /package/dist/scripts/{56-21b33b42c3.chunk.js → 56-7a6c662f14.chunk.js} +0 -0
- /package/dist/scripts/{57-07deff9444.chunk.js → 57-0e126120b9.chunk.js} +0 -0
- /package/dist/scripts/{58-68ca09ffdf.chunk.js → 58-5729cbaa5c.chunk.js} +0 -0
- /package/dist/scripts/{59-c7705e6551.chunk.js → 59-333f38ee3b.chunk.js} +0 -0
- /package/dist/scripts/{6-9bc788ce4c.chunk.js → 6-1045293de4.chunk.js} +0 -0
- /package/dist/scripts/{60-319578f49a.chunk.js → 60-b17c6609cd.chunk.js} +0 -0
- /package/dist/scripts/{61-25fcfd00c9.chunk.js → 61-57fa6b5248.chunk.js} +0 -0
- /package/dist/scripts/{62-d07ddf14ff.chunk.js → 62-67458b7fb4.chunk.js} +0 -0
- /package/dist/scripts/{63-08c93c2e53.chunk.js → 63-420b10f5f2.chunk.js} +0 -0
- /package/dist/scripts/{64-ffead99364.chunk.js → 64-e6598113a7.chunk.js} +0 -0
- /package/dist/scripts/{65-86eee87750.chunk.js → 65-a7e499ceee.chunk.js} +0 -0
- /package/dist/scripts/{66-79a4d8629a.chunk.js → 66-f00f29ccae.chunk.js} +0 -0
- /package/dist/scripts/{67-bc34473155.chunk.js → 67-1ebaab7a2d.chunk.js} +0 -0
- /package/dist/scripts/{68-c3fe0c028e.chunk.js → 68-38a6d7fb50.chunk.js} +0 -0
- /package/dist/scripts/{69-f4f1f07045.chunk.js → 69-870856c6fb.chunk.js} +0 -0
- /package/dist/scripts/{7-74c0fcd6fe.chunk.js → 7-d41d3bf60c.chunk.js} +0 -0
- /package/dist/scripts/{70-4681989887.chunk.js → 70-6ef72cd9b6.chunk.js} +0 -0
- /package/dist/scripts/{71-8ae59fd304.chunk.js → 71-4e4a47d601.chunk.js} +0 -0
- /package/dist/scripts/{72-8615720ce0.chunk.js → 72-0a6c88f9fe.chunk.js} +0 -0
- /package/dist/scripts/{8-039e714b81.chunk.js → 8-7278f3247c.chunk.js} +0 -0
- /package/dist/scripts/{9-e76ba48df5.chunk.js → 9-576592d419.chunk.js} +0 -0
- /package/dist/scripts/{polyfills-57fccaae30.min.js → polyfills-5a81b67408.min.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/migration-wizard/utils/FolderHelper.ts","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/migration-wizard/views/current-section-header/CurrentSectionHeader.hbs","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/migration-wizard/views/current-section-header/CurrentSectionHeaderView.ts","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/migration-wizard/views/smart-migration/SmartMigration.hbs","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/migration-wizard/views/smart-migration/SmartMigrationView.ts","webpack://@clickview/library-editor/./src/apps/migration-wizard/views/smart-migration/left-nav.scss?3c5a","webpack://@clickview/library-editor/./src/apps/migration-wizard/views/smart-migration/smart-migration.scss?8858"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAEA;AAGA,IAAM,YAAY,GAAG;AACnB,qBADmB,+BACC,cADD,EACiC,YADjC,EACqD;AACtE,QAAM,iBAAiB,GAAG,wDAAW,CAAC,2BAAZ,CAAwC,cAAxC,CAA1B;;AADsE,+CAG1C,iBAAiB,CAAC,OAAlB,EAH0C;AAAA;;AAAA;AAGtE,0DAAyD;AAAA,YAA9C,aAA8C;AACvD,YAAI,aAAa,CAAC,GAAd,CAAkB,UAAlB,MAAkC,YAAtC,EACE,OAAO,aAAa,CAAC,GAAd,CAAkB,OAAlB,CAAP;AACH;AANqE;AAAA;AAAA;AAAA;AAAA;;AAQtE,WAAO,CAAP;AACD,GAVkB;AAYnB,YAZmB,sBAYR,OAZQ,EAYmB,QAZnB,EAYmC;AACpD,QAAI,CAAC,OAAL,EACE;AAEF,QAAI,KAAJ;AAEA,WAAO,CAAC,OAAR,CAAgB,gBAAM,EAAG;AACvB,UAAI,MAAM,CAAC,GAAP,CAAW,cAAX,MAA+B,QAAnC,EAA6C;AAC3C,aAAK,GAAG,MAAR;AACD,OAFD,MAEO;AACL,YAAM,WAAW,GAAG,YAAY,CAAC,UAAb,CAAwB,MAAM,CAAC,GAAP,CAAW,UAAX,CAAxB,EAAgD,QAAhD,CAApB;AAEA,YAAI,WAAJ,EACE,KAAK,GAAG,WAAR;AACH;AACF,KATD;AAWA,WAAO,KAAP;AACD;AA9BkB,CAArB;;;;;;;;;;;;ACLA,iBAAiB,mBAAO,CAAC,8BAAY;AACrC,iEAAiE;AACj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CH;AAAA;AAAA,wBA0CiB;AACb,aAAO,gCAAP;AACD;AA5CH;AAAA;AAAA,wBA8C0B;AACtB,uBAAU,KAAK,IAAf;AACD;AAhDH;AAAA;AAAA,wBAkDwB;AACpB,uBAAU,KAAK,IAAf,cAAuB,KAAK,GAA5B;AACD;AApDH;AAAA;AAAA,wBAsDqB;AACjB,aAAO,0DAAP;AACD;AAxDH;AAAA;AAAA,wBA0DsB;AAClB,4CAA+B,4DAAM,CAAC,KAAtC;AACD;AA5DH;AAAA;AAAA,wBA6a8B;AAC1B,aAAO;AACL,cAAM,EAAE,2FAAuB,CAAC;AAD3B,OAAP;AAGD;AAjbH;;AAAA;AAAA,EAAwC,8DAAI,CAAC,IAA7C,E;;;;;;;;;;;AC/CA;AACA,kBAAkB,kJ;;;;;;;;;;;ACDlB;AACA,kBAAkB,2D","file":"scripts/51.chunk.js","sourcesContent":["import { Folder } from 'shared/models/Folder';\r\nimport { FolderCollection } from 'shared/collections/FolderCollection';\r\nimport { VideoHelper } from 'apps/migration-wizard/utils/VideoHelper';\r\nimport { SelectedVideos } from 'apps/migration-wizard/interfaces/SelectedVideos';\r\n\r\nconst FolderHelper = {\r\n getSelectedInFolder(selectedVideos: SelectedVideos, categoryName: string): number {\r\n const selectedAsFolders = VideoHelper.getSelectedVideosCollection(selectedVideos);\r\n\r\n for (const selectedVideo of selectedAsFolders.toArray()) {\r\n if (selectedVideo.get('category') === categoryName)\r\n return selectedVideo.get('count');\r\n }\r\n\r\n return 0;\r\n },\r\n\r\n findFolder(folders: FolderCollection, folderId: string): Folder {\r\n if (!folders)\r\n return;\r\n\r\n let found;\r\n\r\n folders.forEach(folder => {\r\n if (folder.get('categoryGuid') === folderId) {\r\n found = folder;\r\n } else {\r\n const foundFolder = FolderHelper.findFolder(folder.get('children'), folderId);\r\n\r\n if (foundFolder)\r\n found = foundFolder;\r\n }\r\n });\r\n\r\n return found;\r\n }\r\n\r\n};\r\n\r\nexport { FolderHelper };","var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression;\n\n return \" <a class=\\\"applink-goback \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.back : stack1), depth0))\n + \"\\\">\\r\\n <span class=\\\"align-middle d-inline-block \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.backSvgContainer : stack1), depth0))\n + \"\\\">\"\n + ((stack1 = alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.backSvg : stack1), depth0)) != null ? stack1 : \"\")\n + \"</span>\\r\\n </a>\\r\\n\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return \" \"\n + ((stack1 = (helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"resultsFor\",{\"name\":\"lang\",\"hash\":{\"searchTerm\":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.searchTerm : stack1),\"smartCount\":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.results : stack1)},\"data\":data})) != null ? stack1 : \"\")\n + \"\\r\\n\";\n},\"5\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return \" \"\n + container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.name : stack1), depth0))\n + \"\\r\\n\";\n},\"7\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression, alias4=depth0 != null ? depth0 : (container.nullContext || {});\n\n return \"<div class=\\\"col-4 text-right py-2 \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.subheader : stack1), depth0))\n + \"\\\">\\r\\n <div class=\\\"cursor-pointer toggle-migrated h-100\\\">\\r\\n <span class=\\\"\"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.svg : stack1), depth0))\n + \"\\\">\"\n + ((stack1 = alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.svg : stack1), depth0)) != null ? stack1 : \"\")\n + \"</span>\\r\\n <span>\"\n + ((stack1 = helpers[\"if\"].call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.hidden : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(8, data, 0),\"inverse\":container.program(10, data, 0),\"data\":data})) != null ? stack1 : \"\")\n + \" \"\n + alias3((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(alias4,\"migrated\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</span>\\r\\n </div>\\r\\n</div>\\r\\n\";\n},\"8\":function(container,depth0,helpers,partials,data) {\n var alias1=container.propertyIsEnumerable;\n\n return container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"show\",{\"name\":\"lang\",\"hash\":{},\"data\":data}));\n},\"10\":function(container,depth0,helpers,partials,data) {\n var alias1=container.propertyIsEnumerable;\n\n return container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"hide\",{\"name\":\"lang\",\"hash\":{},\"data\":data}));\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {});\n\n return \"<div class=\\\"col-8\\\">\\r\\n\"\n + ((stack1 = helpers[\"if\"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.goBack : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \" <h4 class=\\\"\"\n + container.escapeExpression(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.header : stack1), depth0))\n + \" py-2\\\">\\r\\n\"\n + ((stack1 = helpers[\"if\"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.searchTerm : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.program(5, data, 0),\"data\":data})) != null ? stack1 : \"\")\n + \" </h4>\\r\\n</div>\\r\\n\\r\\n\"\n + ((stack1 = helpers[\"if\"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.showMigrationToggle : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(7, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"useData\":true});","import * as _ from 'underscore';\r\nimport { ObjectHash, Radio } from 'backbone';\r\n\r\nimport { Core } from 'libs/common/core';\r\nimport { InstanceManager } from 'libs/common/backbone/services/InstanceManager';\r\nimport { SvgHelper, cvSvgLibrary } from 'libs/shared/utils/SvgHelper';\r\n\r\nimport * as styles from './current-section-header.scss';\r\nimport CurrentSectionHeaderTemplate from './CurrentSectionHeader.hbs';\r\nimport { LocalOption } from 'apps/migration-wizard/enums';\r\nimport { DataChannels, AppChannels } from 'shared/constants/RadioChannels';\r\nimport { Actions, EventNames, DataServices, Services } from 'shared/constants';\r\nimport { LocalOptionsService } from 'apps/migration-wizard/services/LocalOptionsService';\r\nimport { MigrationVideoDataService } from 'apps/migration-wizard/services/MigrationVideoDataService';\r\n\r\ninterface CurrentSectionHeaderViewOptions extends Core.ViewOptions {\r\n searchTerm?: string;\r\n initialMigration: boolean;\r\n}\r\n\r\nexport class CurrentSectionHeaderView extends Core.View {\r\n protected options: CurrentSectionHeaderViewOptions;\r\n\r\n private migratedHidden: boolean;\r\n private localOptionsService: LocalOptionsService;\r\n private migrationVideoDataService: MigrationVideoDataService;\r\n\r\n constructor(options: CurrentSectionHeaderViewOptions) {\r\n super(options);\r\n }\r\n\r\n public initialize(): void {\r\n this.localOptionsService = InstanceManager.getInstance(Services.LocalOptions, this);\r\n this.migrationVideoDataService = InstanceManager.getInstance(DataServices.MigrationVideo, this);\r\n\r\n const migratedHidden = this.localOptionsService.getOption(LocalOption.MigratedHidden) as boolean;\r\n\r\n if (_.isUndefined(migratedHidden)) {\r\n this.setMigrationHiddenOption(false);\r\n this.migratedHidden = false;\r\n } else {\r\n this.migratedHidden = migratedHidden;\r\n }\r\n }\r\n\r\n public get name(): string {\r\n return 'CurrentSectionHeaderView';\r\n }\r\n\r\n public get title(): boolean {\r\n return false;\r\n }\r\n\r\n public get lang(): string {\r\n return 'migrationWizard.currentSectionHeader';\r\n }\r\n\r\n public get className(): string {\r\n return `row px-2 ${styles.currentHeader}`;\r\n }\r\n\r\n public get template(): any {\r\n return CurrentSectionHeaderTemplate;\r\n }\r\n\r\n public get elements(): ObjectHash {\r\n return {\r\n toggleMigrated: '.toggle-migrated',\r\n };\r\n }\r\n\r\n public events(): ObjectHash {\r\n return {\r\n 'click @ui.toggleMigrated': 'toggleMigrated',\r\n };\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n return {\r\n styles,\r\n name: this.options.searchTerm || (this.model && this.model.get('name')),\r\n hidden: this.migratedHidden,\r\n svg: SvgHelper.getSvg(this.migratedHidden ? cvSvgLibrary.VisibleOn : cvSvgLibrary.VisibleOff),\r\n goBack: this.options.searchTerm,\r\n showMigrationToggle: !this.options.initialMigration,\r\n backSvg: SvgHelper.getSvg('arrow-left', { prefix: 'fas' }),\r\n searchTerm: this.options.searchTerm,\r\n results: 10\r\n };\r\n }\r\n\r\n public get appLinks(): ObjectHash {\r\n return {\r\n '.applink-goback': {\r\n application: AppChannels.MIGRATION_WIZARD,\r\n action: this.options.initialMigration ? Actions.MigrationWizard.SMART : Actions.MigrationWizard.HOME\r\n }\r\n };\r\n }\r\n\r\n public onBeforeRender(): boolean {\r\n if (this.model || this.options.searchTerm) return true;\r\n\r\n this.migrationVideoDataService.getSelected((model: Core.Model) => {\r\n if (model) {\r\n this.model = model;\r\n this.triggerToggle();\r\n this.render();\r\n }\r\n });\r\n\r\n return !!this.model;\r\n }\r\n\r\n private toggleMigrated(): void {\r\n this.migratedHidden = !this.migratedHidden;\r\n this.setMigrationHiddenOption(this.migratedHidden);\r\n this.triggerToggle();\r\n this.render();\r\n }\r\n\r\n private triggerToggle(): void {\r\n const migrationDataChannel = Radio.channel(DataChannels.MIGRATION);\r\n migrationDataChannel.trigger(EventNames.MigrationWizard.TOGGLE_MIGRATED, this.migratedHidden);\r\n }\r\n\r\n private setMigrationHiddenOption(migrationHidden: boolean): void {\r\n this.localOptionsService.setOption(LocalOption.MigratedHidden, migrationHidden);\r\n }\r\n}","var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return \"<div class=\\\"selected-banner-region\\\"></div>\\r\\n<div class=\\\"search-region\\\"></div>\\r\\n<div class=\\\"banner-region\\\"></div>\\r\\n<div class=\\\"col-4 \"\n + container.escapeExpression(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.leftNav : stack1), depth0))\n + \"\\\">\\r\\n <div class=\\\"left-nav-region\\\"></div>\\r\\n</div>\\r\\n<div class=\\\"col\\\">\\r\\n <div class=\\\"header-region\\\"></div>\\r\\n <div class=\\\"video-list-region\\\"></div>\\r\\n</div>\\r\\n<div class=\\\"footer-region\\\"></div>\";\n},\"useData\":true});","import { ObjectHash } from 'backbone';\r\n\r\nimport { Core } from 'libs/common/core';\r\nimport { LanguageService } from 'libs/common/backbone/services/LanguageService';\r\nimport { AlertType } from 'libs/common/backbone/services/BaseAlertService';\r\nimport { StorageType } from 'libs/common/backbone/utils/LocalStorageHelper';\r\n\r\nimport styles from './smart-migration.scss';\r\nimport leftNavStyles from './left-nav.scss';\r\nimport SmartMigrationTemplate from './SmartMigration.hbs';\r\nimport { PartialLoading } from 'shared/enums';\r\nimport { Video } from 'shared/models/Video';\r\nimport { Folder } from 'shared/models/Folder';\r\nimport { Config } from 'shared/models/Config';\r\nimport { LeftNavComponent } from 'shared/components/left-nav/LeftNavComponent';\r\nimport { VideoCollection } from 'shared/collections/VideoCollection';\r\nimport { VideoHelper } from 'apps/migration-wizard/utils/VideoHelper';\r\nimport { CurrentSectionHeaderView } from 'apps/migration-wizard/views/current-section-header/CurrentSectionHeaderView';\r\nimport { FolderHelper } from 'apps/migration-wizard/utils/FolderHelper';\r\nimport { MigrationHelper } from 'apps/migration-wizard/utils/MigrationHelper';\r\nimport { SelectedVideos } from 'apps/migration-wizard/interfaces/SelectedVideos';\r\nimport { FolderCacheService } from 'apps/migration-wizard/services/FolderCacheService';\r\nimport { SelectedVideoService } from 'apps/migration-wizard/services/SelectedVideoService';\r\nimport { HomeFolder, CustomerMetadata, MigrationOptions, VideoCount } from 'apps/migration-wizard/models';\r\nimport { HomeFolderCollection } from 'apps/migration-wizard/collections/HomeFolderCollection';\r\nimport { MigrationVideoDataService } from 'apps/migration-wizard/services/MigrationVideoDataService';\r\nimport { InstanceManager } from 'libs/common/backbone/services/InstanceManager';\r\nimport { ViewModelService } from 'libs/common/backbone/services/ViewModelService';\r\nimport { ConfigDataServiceHelper } from 'shared/services/ConfigDataService';\r\nimport { AlertService } from 'shared/services/AlertService';\r\nimport { Actions, DataServices, EventNames, Services, DataChannels, AppChannels, DataPrefixes } from 'shared/constants';\r\nimport {\r\n SearchBarComponent,\r\n BannerComponent,\r\n StatusBarComponent,\r\n EmptyVideoListComponent,\r\n VideoListCollection,\r\n} from 'apps/migration-wizard/components';\r\nimport { FolderTreeHelpers, DialogHelper, BulkCheckboxHelper } from 'shared/utils';\r\nimport { FolderTreeIds } from 'shared/constants/FolderTreeIds';\r\nimport { CheckboxTypes } from 'apps/library-editor/constants';\r\n\r\ninterface SmartMigrationViewOptions extends Core.ViewOptions {\r\n folderChord?: string;\r\n searchTerm?: string;\r\n}\r\n\r\nexport class SmartMigrationView extends Core.View {\r\n public options: SmartMigrationViewOptions;\r\n public viewModel: MigrationOptions;\r\n private config: Config;\r\n private videos: VideoCollection;\r\n private videoCount: VideoCount;\r\n private folders: HomeFolderCollection;\r\n private customerMetadata: CustomerMetadata;\r\n private errorCount: Core.Model;\r\n private selectedFolder: Folder;\r\n private folderCacheService: FolderCacheService;\r\n private selectedVideoService: SelectedVideoService;\r\n private migrationVideoDataService: MigrationVideoDataService;\r\n private alertService: AlertService;\r\n\r\n private isRendering: boolean;\r\n\r\n constructor(options: SmartMigrationViewOptions) {\r\n super(options);\r\n }\r\n\r\n public initialize(): void {\r\n this.viewModel = ViewModelService.get<MigrationOptions>(this.viewModelName, { bannerShown: true }, {\r\n ctor: MigrationOptions,\r\n storage: {\r\n type: StorageType.LocalStorage,\r\n persistProps: ['bannerShown']\r\n }\r\n });\r\n\r\n this.bindListeners();\r\n this.initializeServices();\r\n }\r\n\r\n public get name(): string {\r\n return 'SmartMigrationView';\r\n }\r\n\r\n public get title(): string {\r\n return LanguageService.getPhrase(this.lang, 'title');\r\n }\r\n\r\n public get lang(): string {\r\n return 'migrationWizard.smartMigration';\r\n }\r\n\r\n public get viewModelName(): string {\r\n return `${this.name}:viewmodel`;\r\n }\r\n\r\n public get channelName(): string {\r\n return `${this.name}:${this.cid}`;\r\n }\r\n\r\n public get template(): any {\r\n return SmartMigrationTemplate;\r\n }\r\n\r\n public get className(): string {\r\n return `row no-gutters w-100 ${styles.smart}`;\r\n }\r\n\r\n public regions(): ObjectHash {\r\n return {\r\n selectedBanner: {\r\n replaceElement: true,\r\n el: '.selected-banner-region',\r\n },\r\n search: {\r\n replaceElement: true,\r\n el: '.search-region',\r\n partialLoading: PartialLoading.PublisherArchiveSearchBar\r\n },\r\n banner: {\r\n replaceElement: true,\r\n el: '.banner-region'\r\n },\r\n leftNav: {\r\n replaceElement: true,\r\n el: '.left-nav-region',\r\n partialLoading: PartialLoading.PublisherArchiveLeftNav\r\n },\r\n header: {\r\n replaceElement: true,\r\n el: '.header-region',\r\n partialLoading: PartialLoading.PublisherArchiveSectionHeader\r\n },\r\n videoList: {\r\n replaceElement: true,\r\n el: '.video-list-region',\r\n partialLoading: PartialLoading.PublisherArchiveVideoList\r\n },\r\n footer: {\r\n replaceElement: true,\r\n el: '.footer-region',\r\n partialLoading: PartialLoading.PublisherArchiveStatusBar\r\n },\r\n };\r\n }\r\n\r\n private initializeServices(): void {\r\n this.folderCacheService = InstanceManager.getInstance(Services.FolderCache, this);\r\n this.selectedVideoService = InstanceManager.getInstance(Services.SelectedVideo, this);\r\n this.migrationVideoDataService = InstanceManager.getInstance(DataServices.MigrationVideo, this);\r\n this.alertService = InstanceManager.getInstance(Services.Alerts);\r\n }\r\n\r\n private bindListeners(): void {\r\n this.listenTo(DataChannels.MIGRATION, EventNames.MigrationWizard.SELECTED_CHANGED, this.setSelectedVideos);\r\n this.listenTo(DataChannels.MIGRATION, 'manual:review:video:count:sync', this.render);\r\n this.listenTo(DataChannels.MIGRATION, `${DataPrefixes.CUSTOMER_VIDEO}:count:sync`, this.render);\r\n this.listenTo(DataChannels.MIGRATION, `${DataPrefixes.CUSTOMER_METADATA}:sync`, this.render);\r\n\r\n // TODO: this is really slow, need to fix it\r\n // this.listenTo(migrationDataChannel, EventNames.MigrationWizard.SELECTED_CHANGED, this.renderLeftNav);\r\n\r\n this.listenTo(AppChannels.MIGRATION_WIZARD, EventNames.MigrationWizard.CLOSE_BANNER, this.closeSelectionBanner);\r\n\r\n this.listenTo(this.channelName, 'add:selected', this.addSelected);\r\n this.listenTo(this.channelName, 'remove:selected', this.removeSelected);\r\n\r\n this.listenTo(this.viewModel, 'change:selectedVideoCount', this.renderStatusBar);\r\n }\r\n\r\n private fetchVideos(): void {\r\n if (this.videos || !this.options.folderChord) return;\r\n\r\n this.migrationVideoDataService.getCustomerVideos(this.options.folderChord, (data: VideoCollection) => {\r\n if (this.videos) return;\r\n\r\n this.videos = VideoHelper.toggleMigrated(data, true);\r\n\r\n this.setSelectedVideos();\r\n\r\n if (!this.isRendering)\r\n this.render();\r\n });\r\n }\r\n\r\n private fetchFolders(): void {\r\n if (this.folders) return;\r\n\r\n this.migrationVideoDataService.getCustomerFolders((data: HomeFolderCollection) => {\r\n if (this.folders)\r\n return;\r\n\r\n this.folders = data;\r\n\r\n if (this.options.folderChord) {\r\n const folder = this.folderCacheService.getFolderByChord(this.options.folderChord, data);\r\n FolderTreeHelpers.setSelected(FolderTreeIds.MIGRATION_WIZARD, folder, this.folders);\r\n this.selectedFolder = FolderTreeHelpers.getSelected(FolderTreeIds.MIGRATION_WIZARD, data);\r\n } else {\r\n const firstFolder = this.folders.first();\r\n if (firstFolder) {\r\n Core.AppLinkHelper.trigger({\r\n application: AppChannels.MIGRATION_WIZARD,\r\n action: Actions.MigrationWizard.HOME,\r\n params: { folder: firstFolder.get('chord') },\r\n }, { replace: true });\r\n return;\r\n }\r\n }\r\n\r\n if (!this.isRendering)\r\n this.render();\r\n });\r\n }\r\n\r\n private setFolderText(folder: HomeFolder, selectedVideos: SelectedVideos): void {\r\n const chord = folder.get('chord');\r\n const name = folder.get('name');\r\n\r\n const folderCache = this.folderCacheService.getFolderCache();\r\n\r\n // The currently selected folder\r\n const { folderChord } = this.options;\r\n\r\n // A folder isn't selected\r\n if (!folderChord) {\r\n folder.set('text', name);\r\n return;\r\n }\r\n\r\n let videosInFolder;\r\n const selectedInFolder = FolderHelper.getSelectedInFolder(selectedVideos, name);\r\n\r\n // Haven't selected folder before, but selecting it currently\r\n if (chord === folderChord) {\r\n const folderVideos = this.migrationVideoDataService.getCustomerVideos(chord);\r\n\r\n if (!this.selectedFolder)\r\n return;\r\n\r\n if (folderVideos)\r\n folderCache[folderChord] = folderVideos.length;\r\n\r\n videosInFolder = folderCache[folderChord];\r\n }\r\n\r\n // Folder is in the cache\r\n if (folderCache[chord])\r\n videosInFolder = folderCache[chord];\r\n\r\n if (selectedInFolder && videosInFolder)\r\n folder.set('text', `${name} (${selectedInFolder}/${videosInFolder})`);\r\n else\r\n folder.set('text', name);\r\n\r\n folder.children.forEach((child: HomeFolder) => this.setFolderText(child, selectedVideos));\r\n }\r\n\r\n private closeSelectionBanner(): void {\r\n const selectedBannerRegion = this.getRegion('selectedBanner');\r\n\r\n if (selectedBannerRegion) {\r\n this.viewModel.set('bannerShown', false);\r\n selectedBannerRegion.destroy();\r\n }\r\n }\r\n\r\n private setSelectedVideos(): void {\r\n const selectedVideos = this.selectedVideoService.getSelectedVideoIds();\r\n\r\n this.videos && this.videos.forEach(v =>\r\n VideoHelper.setChecked(v, selectedVideos, this.isInitialMigration())\r\n );\r\n\r\n if (selectedVideos)\r\n this.viewModel.set('selectedVideoCount', selectedVideos.length);\r\n }\r\n\r\n private addSelected(videos: Video[], folderChord: string): void {\r\n this.selectedVideoService.addSelectedVideos(videos, folderChord);\r\n }\r\n\r\n private removeSelected(videos: Video[], folderChord: string): void {\r\n this.selectedVideoService.removeSelectedVideos(videos, folderChord);\r\n }\r\n\r\n private isInitialMigration(): boolean {\r\n return MigrationHelper.isInitialMigration(this.customerMetadata);\r\n }\r\n\r\n private onClickBack(): void {\r\n const dialog = new DialogHelper({\r\n title: LanguageService.getPhrase(this.lang, 'backHeading'),\r\n text: LanguageService.getPhrase(this.lang, 'backBody'),\r\n buttons: [{\r\n text: LanguageService.getPhrase(this.lang, 'discard'),\r\n className: 'btn btn-danger',\r\n success: true,\r\n }, {\r\n text: LanguageService.getPhrase(this.lang, 'cancel'),\r\n className: 'btn btn-secondary',\r\n close: true,\r\n }]\r\n });\r\n\r\n dialog.render()\r\n .done(() => {\r\n this.selectedVideoService.removeAllSelectedVideos();\r\n this.viewModel.set('alertShown', false);\r\n Core.AppLinkHelper.trigger({\r\n application: AppChannels.MIGRATION_WIZARD,\r\n action: Actions.MigrationWizard.START_MIGRATION,\r\n });\r\n });\r\n }\r\n\r\n private centerSelectedItem(): void {\r\n /** $el is the scrolling left nav window */\r\n const $el = this.$el.find(`.${styles.leftNav}`);\r\n\r\n /** Active is the currently selected item */\r\n const $active = $el.find(`.${leftNavStyles.selected}`);\r\n\r\n if (!$active.length)\r\n return;\r\n\r\n /** If the active item is in view, do nothing */\r\n if (($active.offset().top - $el.offset().top + $active.height()) < $el.height())\r\n return;\r\n\r\n const halfRatio = 0.5;\r\n\r\n /** Distance the active item is from the top of the frame */\r\n const top = $el.scrollTop() + ($active.offset().top - $el.offset().top);\r\n\r\n /** Distance we need to scroll to get the active item in the middle */\r\n const distance = $el.height() * halfRatio + $active.height() * halfRatio;\r\n $el.scrollTop(top - distance);\r\n }\r\n\r\n private renderEmptyMessage(): void {\r\n this.showChildView('videoList', new EmptyVideoListComponent({\r\n text: 'No folder selected',\r\n }));\r\n }\r\n\r\n private renderSelectedBanner(): void {\r\n if (!this.isInitialMigration() || this.viewModel.get('alertShown'))\r\n return;\r\n\r\n this.viewModel.set('alertShown', true);\r\n const alert = {\r\n heading: LanguageService.getPhrase(this.lang, 'smartSelected'),\r\n message: LanguageService.getPhrase(this.lang, 'last3Years'),\r\n type: AlertType.Success\r\n };\r\n this.alertService.createAlert(alert);\r\n }\r\n\r\n private renderLeftNav(): void {\r\n const leftNavComponent = new LeftNavComponent({\r\n styles: leftNavStyles,\r\n appLink: {\r\n action: Actions.MigrationWizard.HOME,\r\n application: AppChannels.MIGRATION_WIZARD\r\n },\r\n linkParams: (model: HomeFolder) => ({ folder: model.get('chord') }),\r\n collection: this.folders,\r\n channelName: `${this.cid}`,\r\n childrenProperty: 'children',\r\n textProperty: 'name',\r\n extraClass: 'p-0',\r\n folderTreeId: FolderTreeIds.MIGRATION_WIZARD\r\n });\r\n\r\n this.showChildView('leftNav', leftNavComponent);\r\n\r\n /**\r\n * This will ensure centerSelected item runs after\r\n * the LeftNavComponent has been rendered into the DOM\r\n */\r\n window.requestAnimationFrame(() => {\r\n window.requestAnimationFrame(() => {\r\n this.centerSelectedItem();\r\n });\r\n });\r\n }\r\n\r\n private renderSearchBar(): void {\r\n this.showChildView('search', new SearchBarComponent({\r\n selected: this.errorCount.get('count') ? 'publisher-archive' : 'none'\r\n }));\r\n }\r\n\r\n private renderStatusBar(): void {\r\n if (!this.videoCount)\r\n return;\r\n\r\n const nextAppLink: Core.AppLink = {\r\n application: AppChannels.MIGRATION_WIZARD,\r\n action: Actions.MigrationWizard.SELECTED,\r\n args: [this.options.folderChord],\r\n };\r\n\r\n const numberAvailable = this.videoCount.get('successCount');\r\n\r\n const selected = this.selectedVideoService.getNumberSelected();\r\n\r\n const statusBar = new StatusBarComponent({\r\n nextAppLink,\r\n showSelected: true,\r\n nextDisabled: selected === 0,\r\n showBackButton: this.isInitialMigration(),\r\n text: this.isInitialMigration()\r\n ? LanguageService.getPhrase(this.lang, 'next')\r\n : LanguageService.getPhrase(this.lang, 'addToLibrary'),\r\n numberSelected: selected,\r\n numberAvailable,\r\n onClickBack: () => this.onClickBack()\r\n });\r\n\r\n this.showChildView('footer', statusBar);\r\n }\r\n\r\n private renderVideoList(): void {\r\n const { folderChord, searchTerm } = this.options;\r\n\r\n if (!this.videos && (folderChord || searchTerm)) {\r\n this.renderPartialLoading('videoList');\r\n return;\r\n }\r\n\r\n if (!this.selectedFolder) {\r\n this.renderEmptyMessage();\r\n return;\r\n }\r\n\r\n this.showChildView('videoList', new VideoListCollection({\r\n model: this.selectedFolder,\r\n initialMigration: this.isInitialMigration(),\r\n folderChord, searchTerm,\r\n collection: this.videos,\r\n channelName: this.channelName,\r\n supportSiteUrl: this.config.get('supportSiteUrl')\r\n }));\r\n\r\n /**\r\n * After we render the VideoListCollection\r\n * because all of the CheckboxComponents in the list will have manipulated\r\n * the BulkCheckboxHelper ViewModel silently, we need to trigger\r\n * a change event so that the check all checkbox can update it's state\r\n * accordingly\r\n * \r\n * Note - Previously the CheckboxComponents did not update silently, but\r\n * this turned out to be a performance issue\r\n */\r\n const checkboxKey = searchTerm || folderChord;\r\n const checkBoxViewModel = BulkCheckboxHelper.GetViewModel(checkboxKey, CheckboxTypes.MIGRATION_VIDEO_LIST);\r\n checkBoxViewModel.trigger('change');\r\n }\r\n\r\n private renderCurrentSection(): void {\r\n this.showChildView('header', new CurrentSectionHeaderView({\r\n searchTerm: this.options.searchTerm,\r\n initialMigration: this.isInitialMigration(),\r\n }));\r\n }\r\n\r\n private renderBanner(): void {\r\n if (this.isInitialMigration())\r\n this.showChildView('banner', new BannerComponent({\r\n config: this.config,\r\n }));\r\n }\r\n\r\n public get requiredResources(): Core.RequiredResourceHash {\r\n return {\r\n config: ConfigDataServiceHelper.config\r\n };\r\n }\r\n\r\n public onBeforeRender(): boolean {\r\n this.isRendering = true;\r\n\r\n this.fetchVideos();\r\n this.fetchFolders();\r\n\r\n this.customerMetadata = this.migrationVideoDataService.getCustomerMetadata();\r\n this.errorCount = this.migrationVideoDataService.getManualReviewVideoCount();\r\n this.videoCount = this.migrationVideoDataService.getCustomerVideoCountCached();\r\n\r\n const shouldRender = !!this.customerMetadata\r\n && !!this.folders\r\n && !!this.videoCount\r\n && !!this.errorCount;\r\n\r\n if (!shouldRender)\r\n this.isRendering = false;\r\n\r\n return shouldRender;\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n return {\r\n styles,\r\n };\r\n }\r\n\r\n public onRender(): void {\r\n this.renderSelectedBanner();\r\n this.renderLeftNav();\r\n this.renderSearchBar();\r\n this.renderStatusBar();\r\n this.renderBanner();\r\n\r\n if (!this.videos) {\r\n this.renderPartialLoading('header');\r\n this.renderPartialLoading('videoList');\r\n this.isRendering = false;\r\n return;\r\n }\r\n\r\n if (this.options.folderChord || this.options.searchTerm) {\r\n this.renderVideoList();\r\n this.renderCurrentSection();\r\n } else {\r\n this.renderEmptyMessage();\r\n }\r\n\r\n this.isRendering = false;\r\n }\r\n}","// extracted by mini-css-extract-plugin\nmodule.exports = {\"item\":\"cv--item--13Gu_\",\"text\":\"cv--text--2mbEb\",\"folderTree\":\"cv--folderTree--2NhVk\",\"node\":\"cv--node--1dMK1\",\"selected\":\"cv--selected--1AACi\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"smart\":\"cv--smart--1dRs0\",\"leftNav\":\"cv--leftNav--3dpUO\"};"],"sourceRoot":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[52],{1109:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return m}));var r,o=n(6),i=n(2),a=n(1149),u=n.n(a),c=n(1110),l=n.n(c);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=d(e);if(t){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return g(this,n)}}function g(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}!function(e){e.ClickCrop="click:crop",e.CropImage="crop:image",e.ImageCropped="image:cropped"}(r||(r={}));var m=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(c,e);var t,n,i,a=h(c);function c(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),a.call(this,e)}return t=c,(n=[{key:"initialize",value:function(){this.listenTo(this.options.channelName,r.CropImage,this.crop)}},{key:"getMinCropBoxWidth",value:function(){return this.options.minWidth*this.getViewportToImageRatio()}},{key:"getMinCropBoxHeight",value:function(){return this.options.minHeight*this.getViewportToImageRatio()}},{key:"getViewportToImageRatio",value:function(){return this.options.getCropRegionWidth()/this.model.get("width")}},{key:"crop",value:function(){var e=this.cropper.getCroppedCanvas().toDataURL(this.getImageMimeType());o.Radio.channel(this.options.channelName).trigger(r.ImageCropped,e)}},{key:"getImageMimeType",value:function(){var e=this.model.get("dataUrl").match(/data:([a-zA-Z0-9]+\/[a-zA-Z0-9-.+]+).*,.*/);if(e)return e[1]}},{key:"renderCropper",value:function(){this.getMinCropBoxWidth();var e=this.getUI("image").get(0);this.cropper=new u.a(e,{viewMode:1,aspectRatio:this.options.minWidth/this.options.minHeight,minCropBoxWidth:this.getMinCropBoxWidth(),minCropBoxHeight:this.getMinCropBoxHeight(),autoCropArea:1})}},{key:"onRender",value:function(){this.renderCropper()}},{key:"onBeforeDestroy",value:function(){this.cropper.destroy()}},{key:"name",get:function(){return"ImageCropperComponent"}},{key:"template",get:function(){return l.a}},{key:"className",get:function(){return"text-center"}},{key:"elements",get:function(){return{image:".img"}}}])&&p(t.prototype,n),i&&p(t,i),c}(i.a.Component)},1110:function(e,t,n){var r=n(10);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return'<img src="'+e.escapeExpression("function"==typeof(i=null!=(i=n.dataUrl||(null!=t?t.dataUrl:t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"dataUrl",hash:{},data:o}):i)+'" class="img img-fluid" />'},useData:!0})},1291:function(e,t,n){var r=n(10);e.exports=(r.default||r).template({1:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return(null!=(i=e.lambda(null!=(i=null!=t?t.options:t)?i.spinnerEl:i,t))?i:"")+"\r\n"},3:function(e,t,n,r,o){return'<div class="cropper-region"></div>\r\n'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return null!=(i=n.unless.call(null!=t?t:e.nullContext||{},null!=(i=null!=t?t.options:t)?i.dataFetched:i,{name:"unless",hash:{},fn:e.program(1,o,0),inverse:e.program(3,o,0),data:o}))?i:""},useData:!0})},1424:function(e,t,n){"use strict";n.r(t),n.d(t,"BannerUploadView",(function(){return E}));var r=n(1),o=n(6),i=n(5),a=n(2),u=n(30),c=n(19),l=n(293),s=n(0),p=n(8),f=n(283),h=n(13),g=n(1109),d=n(246),m=n(3),y=n(1291),v=n.n(y);function b(e){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function w(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function k(e,t){return(k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function C(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=R(e);if(t){var o=R(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return I(this,n)}}function I(e,t){return!t||"object"!==b(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function R(e){return(R=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var E=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k(e,t)}(I,e);var t,n,y,b=C(I);function I(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,I),b.call(this,e)}return t=I,(n=[{key:"initialize",value:function(){this.libraryDataService=i.a.getInstance(s.g.Library,this),this.imageUploadDataService=i.a.getInstance(s.g.ImageUpload,this),this.viewModel=u.a.get("image:storage"),this.bindListeners(),this.initImageEl()}},{key:"regions",value:function(){return{cropper:{el:".cropper-region",replaceElement:!0}}}},{key:"events",value:function(){return{"shown.bs.modal":"renderCropper"}}},{key:"bindListeners",value:function(){var e=this;this.listenTo(this.channelName,g.a.ImageCropped,this.onImageCropped),this.listenTo(s.e.VIDEO,"".concat(s.f.FOLDER,":").concat(this.options.folderId,":sync"),this.render),this.listenTo(s.e.VIDEO,"".concat(s.f.UPDATE_FOLDER_BANNER,":").concat(this.options.folderId,":sync"),(function(){return e.triggerMethod("hide")}))}},{key:"initImageEl",value:function(){this.viewModel.get("dataUrl")||a.a.ErrorHelper.throw(new c.a("DataUrl must be set on the image:storage ViewModel")),this.imageEl=new Image,this.imageEl.src=this.viewModel.get("dataUrl"),this.viewModel.unset("dataUrl")}},{key:"getCropRegionWidth",value:function(){return this.$el.find(".modal-body").width()}},{key:"onClickCrop",value:function(){o.Radio.channel(this.channelName).trigger(g.a.CropImage),o.Radio.channel(this.channelName).trigger(d.b.ShowSpinner)}},{key:"onImageCropped",value:function(e){var t=this;this.imageUploadDataService.uploadBase64Image(e,p.f.Banners,(function(e){return t.onImageUploaded(e)}))}},{key:"onImageUploaded",value:function(e){var t=this,n={folderId:this.options.folderId,imageModel:e,currentImageId:this.model.banner&&this.model.banner.id};this.libraryDataService.addOrUpdateBanner(n,(function(){return t.triggerMethod("hide")}))}},{key:"renderCropper",value:function(){var e=new l.a({dataUrl:this.imageEl.src,width:this.imageEl.width,height:this.imageEl.height});this.showChildView("cropper",new g.b({model:e,channelName:this.channelName,imageType:p.f.Banners,minWidth:s.k[p.f.Banners].width,minHeight:s.k[p.f.Banners].height,getCropRegionWidth:r.bind(this.getCropRegionWidth,this)}))}},{key:"onBeforeRender",value:function(){this.model=this.libraryDataService.getFolder(this.options.folderId)}},{key:"viewOptions",value:function(){return{dataFetched:!!this.model,spinnerEl:h.q.getSpinner({size:h.r.Large,extraClasses:"mx-auto"})}}},{key:"name",get:function(){return"BannerUploadView"}},{key:"title",get:function(){return m.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"libraryEditor.bannerUpload"}},{key:"template",get:function(){return v.a}},{key:"channelName",get:function(){return h.k.generateUniqueChannelName(this)}},{key:"behaviors",get:function(){var e=this;return[{behaviorClass:f.f,title:m.a.getPhrase(this.lang,"resizeAndCrop"),size:"modal-lg",spinnerButtonOptions:{channelName:this.channelName,buttonText:m.a.getPhrase(this.lang,"crop"),onClick:function(){return e.onClickCrop()}}}]}}])&&w(t.prototype,n),y&&w(t,y),I}(a.a.View)}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[52],{1114:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return m}));var r,o=n(6),i=n(2),a=n(1154),u=n.n(a),c=n(1115),l=n.n(c);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=d(e);if(t){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return g(this,n)}}function g(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}!function(e){e.ClickCrop="click:crop",e.CropImage="crop:image",e.ImageCropped="image:cropped"}(r||(r={}));var m=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(c,e);var t,n,i,a=h(c);function c(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),a.call(this,e)}return t=c,(n=[{key:"initialize",value:function(){this.listenTo(this.options.channelName,r.CropImage,this.crop)}},{key:"getMinCropBoxWidth",value:function(){return this.options.minWidth*this.getViewportToImageRatio()}},{key:"getMinCropBoxHeight",value:function(){return this.options.minHeight*this.getViewportToImageRatio()}},{key:"getViewportToImageRatio",value:function(){return this.options.getCropRegionWidth()/this.model.get("width")}},{key:"crop",value:function(){var e=this.cropper.getCroppedCanvas().toDataURL(this.getImageMimeType());o.Radio.channel(this.options.channelName).trigger(r.ImageCropped,e)}},{key:"getImageMimeType",value:function(){var e=this.model.get("dataUrl").match(/data:([a-zA-Z0-9]+\/[a-zA-Z0-9-.+]+).*,.*/);if(e)return e[1]}},{key:"renderCropper",value:function(){this.getMinCropBoxWidth();var e=this.getUI("image").get(0);this.cropper=new u.a(e,{viewMode:1,aspectRatio:this.options.minWidth/this.options.minHeight,minCropBoxWidth:this.getMinCropBoxWidth(),minCropBoxHeight:this.getMinCropBoxHeight(),autoCropArea:1})}},{key:"onRender",value:function(){this.renderCropper()}},{key:"onBeforeDestroy",value:function(){this.cropper.destroy()}},{key:"name",get:function(){return"ImageCropperComponent"}},{key:"template",get:function(){return l.a}},{key:"className",get:function(){return"text-center"}},{key:"elements",get:function(){return{image:".img"}}}])&&p(t.prototype,n),i&&p(t,i),c}(i.a.Component)},1115:function(e,t,n){var r=n(10);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return'<img src="'+e.escapeExpression("function"==typeof(i=null!=(i=n.dataUrl||(null!=t?t.dataUrl:t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"dataUrl",hash:{},data:o}):i)+'" class="img img-fluid" />'},useData:!0})},1298:function(e,t,n){var r=n(10);e.exports=(r.default||r).template({1:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return(null!=(i=e.lambda(null!=(i=null!=t?t.options:t)?i.spinnerEl:i,t))?i:"")+"\r\n"},3:function(e,t,n,r,o){return'<div class="cropper-region"></div>\r\n'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return null!=(i=n.unless.call(null!=t?t:e.nullContext||{},null!=(i=null!=t?t.options:t)?i.dataFetched:i,{name:"unless",hash:{},fn:e.program(1,o,0),inverse:e.program(3,o,0),data:o}))?i:""},useData:!0})},1431:function(e,t,n){"use strict";n.r(t),n.d(t,"BannerUploadView",(function(){return E}));var r=n(1),o=n(6),i=n(5),a=n(2),u=n(30),c=n(19),l=n(293),s=n(0),p=n(8),f=n(283),h=n(13),g=n(1114),d=n(246),m=n(3),y=n(1298),v=n.n(y);function b(e){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function w(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function k(e,t){return(k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function C(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=R(e);if(t){var o=R(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return I(this,n)}}function I(e,t){return!t||"object"!==b(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function R(e){return(R=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var E=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k(e,t)}(I,e);var t,n,y,b=C(I);function I(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,I),b.call(this,e)}return t=I,(n=[{key:"initialize",value:function(){this.libraryDataService=i.a.getInstance(s.g.Library,this),this.imageUploadDataService=i.a.getInstance(s.g.ImageUpload,this),this.viewModel=u.a.get("image:storage"),this.bindListeners(),this.initImageEl()}},{key:"regions",value:function(){return{cropper:{el:".cropper-region",replaceElement:!0}}}},{key:"events",value:function(){return{"shown.bs.modal":"renderCropper"}}},{key:"bindListeners",value:function(){var e=this;this.listenTo(this.channelName,g.a.ImageCropped,this.onImageCropped),this.listenTo(s.e.VIDEO,"".concat(s.f.FOLDER,":").concat(this.options.folderId,":sync"),this.render),this.listenTo(s.e.VIDEO,"".concat(s.f.UPDATE_FOLDER_BANNER,":").concat(this.options.folderId,":sync"),(function(){return e.triggerMethod("hide")}))}},{key:"initImageEl",value:function(){this.viewModel.get("dataUrl")||a.a.ErrorHelper.throw(new c.a("DataUrl must be set on the image:storage ViewModel")),this.imageEl=new Image,this.imageEl.src=this.viewModel.get("dataUrl"),this.viewModel.unset("dataUrl")}},{key:"getCropRegionWidth",value:function(){return this.$el.find(".modal-body").width()}},{key:"onClickCrop",value:function(){o.Radio.channel(this.channelName).trigger(g.a.CropImage),o.Radio.channel(this.channelName).trigger(d.b.ShowSpinner)}},{key:"onImageCropped",value:function(e){var t=this;this.imageUploadDataService.uploadBase64Image(e,p.f.Banners,(function(e){return t.onImageUploaded(e)}))}},{key:"onImageUploaded",value:function(e){var t=this,n={folderId:this.options.folderId,imageModel:e,currentImageId:this.model.banner&&this.model.banner.id};this.libraryDataService.addOrUpdateBanner(n,(function(){return t.triggerMethod("hide")}))}},{key:"renderCropper",value:function(){var e=new l.a({dataUrl:this.imageEl.src,width:this.imageEl.width,height:this.imageEl.height});this.showChildView("cropper",new g.b({model:e,channelName:this.channelName,imageType:p.f.Banners,minWidth:s.k[p.f.Banners].width,minHeight:s.k[p.f.Banners].height,getCropRegionWidth:r.bind(this.getCropRegionWidth,this)}))}},{key:"onBeforeRender",value:function(){this.model=this.libraryDataService.getFolder(this.options.folderId)}},{key:"viewOptions",value:function(){return{dataFetched:!!this.model,spinnerEl:h.q.getSpinner({size:h.r.Large,extraClasses:"mx-auto"})}}},{key:"name",get:function(){return"BannerUploadView"}},{key:"title",get:function(){return m.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"libraryEditor.bannerUpload"}},{key:"template",get:function(){return v.a}},{key:"channelName",get:function(){return h.k.generateUniqueChannelName(this)}},{key:"behaviors",get:function(){var e=this;return[{behaviorClass:f.f,title:m.a.getPhrase(this.lang,"resizeAndCrop"),size:"modal-lg",spinnerButtonOptions:{channelName:this.channelName,buttonText:m.a.getPhrase(this.lang,"crop"),onClick:function(){return e.onClickCrop()}}}]}}])&&w(t.prototype,n),y&&w(t,y),I}(a.a.View)}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[52],{1113:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return m}));var r,o=n(6),i=n(2),a=n(1153),u=n.n(a),c=n(1114),l=n.n(c);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=d(e);if(t){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return g(this,n)}}function g(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}!function(e){e.ClickCrop="click:crop",e.CropImage="crop:image",e.ImageCropped="image:cropped"}(r||(r={}));var m=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(c,e);var t,n,i,a=h(c);function c(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),a.call(this,e)}return t=c,(n=[{key:"initialize",value:function(){this.listenTo(this.options.channelName,r.CropImage,this.crop)}},{key:"getMinCropBoxWidth",value:function(){return this.options.minWidth*this.getViewportToImageRatio()}},{key:"getMinCropBoxHeight",value:function(){return this.options.minHeight*this.getViewportToImageRatio()}},{key:"getViewportToImageRatio",value:function(){return this.options.getCropRegionWidth()/this.model.get("width")}},{key:"crop",value:function(){var e=this.cropper.getCroppedCanvas().toDataURL(this.getImageMimeType());o.Radio.channel(this.options.channelName).trigger(r.ImageCropped,e)}},{key:"getImageMimeType",value:function(){var e=this.model.get("dataUrl").match(/data:([a-zA-Z0-9]+\/[a-zA-Z0-9-.+]+).*,.*/);if(e)return e[1]}},{key:"renderCropper",value:function(){this.getMinCropBoxWidth();var e=this.getUI("image").get(0);this.cropper=new u.a(e,{viewMode:1,aspectRatio:this.options.minWidth/this.options.minHeight,minCropBoxWidth:this.getMinCropBoxWidth(),minCropBoxHeight:this.getMinCropBoxHeight(),autoCropArea:1})}},{key:"onRender",value:function(){this.renderCropper()}},{key:"onBeforeDestroy",value:function(){this.cropper.destroy()}},{key:"name",get:function(){return"ImageCropperComponent"}},{key:"template",get:function(){return l.a}},{key:"className",get:function(){return"text-center"}},{key:"elements",get:function(){return{image:".img"}}}])&&p(t.prototype,n),i&&p(t,i),c}(i.a.Component)},1114:function(e,t,n){var r=n(10);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return'<img src="'+e.escapeExpression("function"==typeof(i=null!=(i=n.dataUrl||(null!=t?t.dataUrl:t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"dataUrl",hash:{},data:o}):i)+'" class="img img-fluid" />'},useData:!0})},1297:function(e,t,n){var r=n(10);e.exports=(r.default||r).template({1:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return(null!=(i=e.lambda(null!=(i=null!=t?t.options:t)?i.spinnerEl:i,t))?i:"")+"\r\n"},3:function(e,t,n,r,o){return'<div class="cropper-region"></div>\r\n'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return null!=(i=n.unless.call(null!=t?t:e.nullContext||{},null!=(i=null!=t?t.options:t)?i.dataFetched:i,{name:"unless",hash:{},fn:e.program(1,o,0),inverse:e.program(3,o,0),data:o}))?i:""},useData:!0})},1430:function(e,t,n){"use strict";n.r(t),n.d(t,"BannerUploadView",(function(){return E}));var r=n(1),o=n(6),i=n(5),a=n(2),u=n(30),c=n(19),l=n(293),s=n(0),p=n(8),f=n(283),h=n(13),g=n(1113),d=n(246),m=n(3),y=n(1297),v=n.n(y);function b(e){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function w(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function k(e,t){return(k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function C(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=R(e);if(t){var o=R(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return I(this,n)}}function I(e,t){return!t||"object"!==b(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function R(e){return(R=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var E=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k(e,t)}(I,e);var t,n,y,b=C(I);function I(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,I),b.call(this,e)}return t=I,(n=[{key:"initialize",value:function(){this.libraryDataService=i.a.getInstance(s.g.Library,this),this.imageUploadDataService=i.a.getInstance(s.g.ImageUpload,this),this.viewModel=u.a.get("image:storage"),this.bindListeners(),this.initImageEl()}},{key:"regions",value:function(){return{cropper:{el:".cropper-region",replaceElement:!0}}}},{key:"events",value:function(){return{"shown.bs.modal":"renderCropper"}}},{key:"bindListeners",value:function(){var e=this;this.listenTo(this.channelName,g.a.ImageCropped,this.onImageCropped),this.listenTo(s.e.VIDEO,"".concat(s.f.FOLDER,":").concat(this.options.folderId,":sync"),this.render),this.listenTo(s.e.VIDEO,"".concat(s.f.UPDATE_FOLDER_BANNER,":").concat(this.options.folderId,":sync"),(function(){return e.triggerMethod("hide")}))}},{key:"initImageEl",value:function(){this.viewModel.get("dataUrl")||a.a.ErrorHelper.throw(new c.a("DataUrl must be set on the image:storage ViewModel")),this.imageEl=new Image,this.imageEl.src=this.viewModel.get("dataUrl"),this.viewModel.unset("dataUrl")}},{key:"getCropRegionWidth",value:function(){return this.$el.find(".modal-body").width()}},{key:"onClickCrop",value:function(){o.Radio.channel(this.channelName).trigger(g.a.CropImage),o.Radio.channel(this.channelName).trigger(d.b.ShowSpinner)}},{key:"onImageCropped",value:function(e){var t=this;this.imageUploadDataService.uploadBase64Image(e,p.f.Banners,(function(e){return t.onImageUploaded(e)}))}},{key:"onImageUploaded",value:function(e){var t=this,n={folderId:this.options.folderId,imageModel:e,currentImageId:this.model.banner&&this.model.banner.id};this.libraryDataService.addOrUpdateBanner(n,(function(){return t.triggerMethod("hide")}))}},{key:"renderCropper",value:function(){var e=new l.a({dataUrl:this.imageEl.src,width:this.imageEl.width,height:this.imageEl.height});this.showChildView("cropper",new g.b({model:e,channelName:this.channelName,imageType:p.f.Banners,minWidth:s.k[p.f.Banners].width,minHeight:s.k[p.f.Banners].height,getCropRegionWidth:r.bind(this.getCropRegionWidth,this)}))}},{key:"onBeforeRender",value:function(){this.model=this.libraryDataService.getFolder(this.options.folderId)}},{key:"viewOptions",value:function(){return{dataFetched:!!this.model,spinnerEl:h.q.getSpinner({size:h.r.Large,extraClasses:"mx-auto"})}}},{key:"name",get:function(){return"BannerUploadView"}},{key:"title",get:function(){return m.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"libraryEditor.bannerUpload"}},{key:"template",get:function(){return v.a}},{key:"channelName",get:function(){return h.k.generateUniqueChannelName(this)}},{key:"behaviors",get:function(){var e=this;return[{behaviorClass:f.f,title:m.a.getPhrase(this.lang,"resizeAndCrop"),size:"modal-lg",spinnerButtonOptions:{channelName:this.channelName,buttonText:m.a.getPhrase(this.lang,"crop"),onClick:function(){return e.onClickCrop()}}}]}}])&&w(t.prototype,n),y&&w(t,y),I}(a.a.View)}}]);
|
|
@@ -0,0 +1,408 @@
|
|
|
1
|
+
(window["webpackJsonp_clickview_library_editor"] = window["webpackJsonp_clickview_library_editor"] || []).push([[52],{
|
|
2
|
+
|
|
3
|
+
/***/ "./src/apps/migration-wizard/components/progress-circle/ProgressCircle.hbs":
|
|
4
|
+
/*!*********************************************************************************!*\
|
|
5
|
+
!*** ./src/apps/migration-wizard/components/progress-circle/ProgressCircle.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, alias2=container.lambda, alias3=container.escapeExpression;
|
|
13
|
+
|
|
14
|
+
return " <span class=\""
|
|
15
|
+
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.extraText : stack1), depth0))
|
|
16
|
+
+ "\">"
|
|
17
|
+
+ alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.text : stack1), depth0))
|
|
18
|
+
+ "</span>\r\n";
|
|
19
|
+
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
20
|
+
var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression, alias4=depth0 != null ? depth0 : (container.nullContext || {});
|
|
21
|
+
|
|
22
|
+
return "<div class=\""
|
|
23
|
+
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.circle : stack1), depth0))
|
|
24
|
+
+ " "
|
|
25
|
+
+ alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1["class"] : stack1), depth0))
|
|
26
|
+
+ "\">\r\n <span>\r\n <span class=\"progress-circle-text\">"
|
|
27
|
+
+ alias3((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(alias4,"progress",{"name":"lang","hash":{"percentage":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.percentage : stack1)},"data":data}))
|
|
28
|
+
+ "</span>\r\n"
|
|
29
|
+
+ ((stack1 = helpers["if"].call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.text : stack1),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
30
|
+
+ " </span>\r\n\r\n <svg class=\""
|
|
31
|
+
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.progressCircleContainer : stack1), depth0))
|
|
32
|
+
+ "\">\r\n <circle class=\"progress-circle "
|
|
33
|
+
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.progressCircle : stack1), depth0))
|
|
34
|
+
+ "\" transform='rotate(270 160 0)' stroke-width=\"28\" fill=\"transparent\" r=\"150\">\r\n </svg>\r\n</div>";
|
|
35
|
+
},"useData":true});
|
|
36
|
+
|
|
37
|
+
/***/ }),
|
|
38
|
+
|
|
39
|
+
/***/ "./src/apps/migration-wizard/components/progress-circle/ProgressCircleComponent.ts":
|
|
40
|
+
/*!*****************************************************************************************!*\
|
|
41
|
+
!*** ./src/apps/migration-wizard/components/progress-circle/ProgressCircleComponent.ts ***!
|
|
42
|
+
\*****************************************************************************************/
|
|
43
|
+
/*! exports provided: ProgressCircleComponent */
|
|
44
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
45
|
+
|
|
46
|
+
"use strict";
|
|
47
|
+
__webpack_require__.r(__webpack_exports__);
|
|
48
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ProgressCircleComponent", function() { return ProgressCircleComponent; });
|
|
49
|
+
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
50
|
+
/* harmony import */ var _progress_circle_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./progress-circle.scss */ "./src/apps/migration-wizard/components/progress-circle/progress-circle.scss");
|
|
51
|
+
/* harmony import */ var _progress_circle_scss__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_progress_circle_scss__WEBPACK_IMPORTED_MODULE_1__);
|
|
52
|
+
/* harmony import */ var _ProgressCircle_hbs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./ProgressCircle.hbs */ "./src/apps/migration-wizard/components/progress-circle/ProgressCircle.hbs");
|
|
53
|
+
/* harmony import */ var _ProgressCircle_hbs__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_ProgressCircle_hbs__WEBPACK_IMPORTED_MODULE_2__);
|
|
54
|
+
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); }
|
|
55
|
+
|
|
56
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
57
|
+
|
|
58
|
+
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); } }
|
|
59
|
+
|
|
60
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
61
|
+
|
|
62
|
+
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); }
|
|
63
|
+
|
|
64
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
65
|
+
|
|
66
|
+
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); }; }
|
|
67
|
+
|
|
68
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
69
|
+
|
|
70
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
71
|
+
|
|
72
|
+
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; } }
|
|
73
|
+
|
|
74
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
var ProgressCircleComponent = /*#__PURE__*/function (_Core$Component) {
|
|
80
|
+
_inherits(ProgressCircleComponent, _Core$Component);
|
|
81
|
+
|
|
82
|
+
var _super = _createSuper(ProgressCircleComponent);
|
|
83
|
+
|
|
84
|
+
function ProgressCircleComponent(options) {
|
|
85
|
+
_classCallCheck(this, ProgressCircleComponent);
|
|
86
|
+
|
|
87
|
+
return _super.call(this, options);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
_createClass(ProgressCircleComponent, [{
|
|
91
|
+
key: "initialize",
|
|
92
|
+
value: function initialize() {
|
|
93
|
+
this.listenTo(this.model, 'change:percentage', this.update);
|
|
94
|
+
}
|
|
95
|
+
}, {
|
|
96
|
+
key: "viewOptions",
|
|
97
|
+
value: function viewOptions() {
|
|
98
|
+
return {
|
|
99
|
+
styles: _progress_circle_scss__WEBPACK_IMPORTED_MODULE_1___default.a,
|
|
100
|
+
text: this.options.text,
|
|
101
|
+
class: this.options.class,
|
|
102
|
+
percentage: this.options.percentage
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
}, {
|
|
106
|
+
key: "onRender",
|
|
107
|
+
value: function onRender() {
|
|
108
|
+
this.update();
|
|
109
|
+
}
|
|
110
|
+
}, {
|
|
111
|
+
key: "update",
|
|
112
|
+
value: function update() {
|
|
113
|
+
var percentage = this.model.get('percentage') || 0;
|
|
114
|
+
var circle = this.getUI('circle').get(0);
|
|
115
|
+
var radius = circle.r.baseVal.value;
|
|
116
|
+
var circumference = radius * 2 * Math.PI;
|
|
117
|
+
circle.style.strokeDasharray = "".concat(circumference, " ").concat(circumference);
|
|
118
|
+
circle.style.strokeDashoffset = circumference;
|
|
119
|
+
var offset = circumference - percentage / 100 * circumference;
|
|
120
|
+
circle.style.strokeDashoffset = offset;
|
|
121
|
+
var text = this.getUI('text');
|
|
122
|
+
if (text) text.text("".concat(percentage, "%"));
|
|
123
|
+
}
|
|
124
|
+
}, {
|
|
125
|
+
key: "name",
|
|
126
|
+
get: function get() {
|
|
127
|
+
return 'ProgressCircleComponent';
|
|
128
|
+
}
|
|
129
|
+
}, {
|
|
130
|
+
key: "template",
|
|
131
|
+
get: function get() {
|
|
132
|
+
return _ProgressCircle_hbs__WEBPACK_IMPORTED_MODULE_2___default.a;
|
|
133
|
+
}
|
|
134
|
+
}, {
|
|
135
|
+
key: "lang",
|
|
136
|
+
get: function get() {
|
|
137
|
+
return 'migrationWizard.progressCircle';
|
|
138
|
+
}
|
|
139
|
+
}, {
|
|
140
|
+
key: "elements",
|
|
141
|
+
get: function get() {
|
|
142
|
+
return {
|
|
143
|
+
circle: '.progress-circle',
|
|
144
|
+
text: '.progress-circle-text'
|
|
145
|
+
};
|
|
146
|
+
}
|
|
147
|
+
}]);
|
|
148
|
+
|
|
149
|
+
return ProgressCircleComponent;
|
|
150
|
+
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].Component);
|
|
151
|
+
|
|
152
|
+
/***/ }),
|
|
153
|
+
|
|
154
|
+
/***/ "./src/apps/migration-wizard/components/progress-circle/progress-circle.scss":
|
|
155
|
+
/*!***********************************************************************************!*\
|
|
156
|
+
!*** ./src/apps/migration-wizard/components/progress-circle/progress-circle.scss ***!
|
|
157
|
+
\***********************************************************************************/
|
|
158
|
+
/*! no static exports found */
|
|
159
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
160
|
+
|
|
161
|
+
// extracted by mini-css-extract-plugin
|
|
162
|
+
module.exports = {"circle":"cv--circle--3iX0l","extraText":"cv--extraText--1nYnx","progressCircleContainer":"cv--progressCircleContainer--2l1Al","progressCircle":"cv--progressCircle--1RbA5"};
|
|
163
|
+
|
|
164
|
+
/***/ }),
|
|
165
|
+
|
|
166
|
+
/***/ "./src/apps/migration-wizard/views/publisher-backup-progress/PublisherBackupProgress.hbs":
|
|
167
|
+
/*!***********************************************************************************************!*\
|
|
168
|
+
!*** ./src/apps/migration-wizard/views/publisher-backup-progress/PublisherBackupProgress.hbs ***!
|
|
169
|
+
\***********************************************************************************************/
|
|
170
|
+
/*! no static exports found */
|
|
171
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
172
|
+
|
|
173
|
+
var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
|
|
174
|
+
module.exports = (Handlebars['default'] || Handlebars).template({"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
175
|
+
var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {}), alias3=container.hooks.helperMissing, alias4=container.escapeExpression;
|
|
176
|
+
|
|
177
|
+
return "<h4 class=\"pb-4\">"
|
|
178
|
+
+ alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"heading",{"name":"lang","hash":{},"data":data}))
|
|
179
|
+
+ "</h4>\r\n<div class=\"progress-circle-region\"></div>\r\n<p class=\""
|
|
180
|
+
+ alias4(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.info : stack1), depth0))
|
|
181
|
+
+ " pt-4\">\r\n "
|
|
182
|
+
+ ((stack1 = (helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"info",{"name":"lang","hash":{},"data":data})) != null ? stack1 : "")
|
|
183
|
+
+ "\r\n</p>";
|
|
184
|
+
},"useData":true});
|
|
185
|
+
|
|
186
|
+
/***/ }),
|
|
187
|
+
|
|
188
|
+
/***/ "./src/apps/migration-wizard/views/publisher-backup-progress/PublisherBackupProgressView.ts":
|
|
189
|
+
/*!**************************************************************************************************!*\
|
|
190
|
+
!*** ./src/apps/migration-wizard/views/publisher-backup-progress/PublisherBackupProgressView.ts ***!
|
|
191
|
+
\**************************************************************************************************/
|
|
192
|
+
/*! exports provided: PublisherBackupProgressView */
|
|
193
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
194
|
+
|
|
195
|
+
"use strict";
|
|
196
|
+
__webpack_require__.r(__webpack_exports__);
|
|
197
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PublisherBackupProgressView", function() { return PublisherBackupProgressView; });
|
|
198
|
+
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
199
|
+
/* harmony import */ var _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/services/InstanceManager */ "../../libs/common/src/backbone/services/InstanceManager.ts");
|
|
200
|
+
/* 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");
|
|
201
|
+
/* harmony import */ var _publisher_backup_progress_scss__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./publisher-backup-progress.scss */ "./src/apps/migration-wizard/views/publisher-backup-progress/publisher-backup-progress.scss");
|
|
202
|
+
/* harmony import */ var _publisher_backup_progress_scss__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_publisher_backup_progress_scss__WEBPACK_IMPORTED_MODULE_3__);
|
|
203
|
+
/* harmony import */ var _PublisherBackupProgress_hbs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./PublisherBackupProgress.hbs */ "./src/apps/migration-wizard/views/publisher-backup-progress/PublisherBackupProgress.hbs");
|
|
204
|
+
/* harmony import */ var _PublisherBackupProgress_hbs__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_PublisherBackupProgress_hbs__WEBPACK_IMPORTED_MODULE_4__);
|
|
205
|
+
/* harmony import */ var _errors__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../errors */ "./src/apps/migration-wizard/errors/index.ts");
|
|
206
|
+
/* harmony import */ var _shared_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../shared/constants */ "./src/shared/constants/index.ts");
|
|
207
|
+
/* 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");
|
|
208
|
+
/* harmony import */ var _components_progress_circle_ProgressCircleComponent__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../components/progress-circle/ProgressCircleComponent */ "./src/apps/migration-wizard/components/progress-circle/ProgressCircleComponent.ts");
|
|
209
|
+
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); }
|
|
210
|
+
|
|
211
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
212
|
+
|
|
213
|
+
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); } }
|
|
214
|
+
|
|
215
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
216
|
+
|
|
217
|
+
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); }
|
|
218
|
+
|
|
219
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
220
|
+
|
|
221
|
+
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); }; }
|
|
222
|
+
|
|
223
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
224
|
+
|
|
225
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
226
|
+
|
|
227
|
+
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; } }
|
|
228
|
+
|
|
229
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* Interval in ms to poll
|
|
242
|
+
*/
|
|
243
|
+
|
|
244
|
+
var pollingInterval = 5000;
|
|
245
|
+
var PublisherBackupProgressView = /*#__PURE__*/function (_Core$View) {
|
|
246
|
+
_inherits(PublisherBackupProgressView, _Core$View);
|
|
247
|
+
|
|
248
|
+
var _super = _createSuper(PublisherBackupProgressView);
|
|
249
|
+
|
|
250
|
+
function PublisherBackupProgressView() {
|
|
251
|
+
_classCallCheck(this, PublisherBackupProgressView);
|
|
252
|
+
|
|
253
|
+
return _super.apply(this, arguments);
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
_createClass(PublisherBackupProgressView, [{
|
|
257
|
+
key: "initialize",
|
|
258
|
+
value: function initialize() {
|
|
259
|
+
this.viewModel = _libs_common_src_backbone_services_ViewModelService__WEBPACK_IMPORTED_MODULE_2__["ViewModelService"].get('backup:progress', {
|
|
260
|
+
percentage: 0
|
|
261
|
+
});
|
|
262
|
+
this.migrationVideoDataService = _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_1__["InstanceManager"].getInstance(_shared_constants__WEBPACK_IMPORTED_MODULE_6__["DataServices"].MigrationVideo, this);
|
|
263
|
+
this.bindMigrationDataListeners();
|
|
264
|
+
}
|
|
265
|
+
}, {
|
|
266
|
+
key: "regions",
|
|
267
|
+
value: function regions() {
|
|
268
|
+
return {
|
|
269
|
+
progressCircle: {
|
|
270
|
+
replaceElement: true,
|
|
271
|
+
el: '.progress-circle-region'
|
|
272
|
+
}
|
|
273
|
+
};
|
|
274
|
+
}
|
|
275
|
+
}, {
|
|
276
|
+
key: "bindMigrationDataListeners",
|
|
277
|
+
value: function bindMigrationDataListeners() {
|
|
278
|
+
this.listenTo(_shared_constants__WEBPACK_IMPORTED_MODULE_6__["DataChannels"].MIGRATION, "".concat(_shared_constants__WEBPACK_IMPORTED_MODULE_6__["DataPrefixes"].CUSTOMER_METADATA, ":sync"), this.render);
|
|
279
|
+
this.listenTo(_shared_constants__WEBPACK_IMPORTED_MODULE_6__["DataChannels"].MIGRATION, "".concat(_shared_constants__WEBPACK_IMPORTED_MODULE_6__["DataPrefixes"].CUSTOMER_VIDEO, ":count:error"), this.onError);
|
|
280
|
+
}
|
|
281
|
+
}, {
|
|
282
|
+
key: "onError",
|
|
283
|
+
value: function onError() {
|
|
284
|
+
_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].ErrorHelper.throw(new _errors__WEBPACK_IMPORTED_MODULE_5__["BackupProgressError"]());
|
|
285
|
+
}
|
|
286
|
+
}, {
|
|
287
|
+
key: "poll",
|
|
288
|
+
value: function poll() {
|
|
289
|
+
var _this = this;
|
|
290
|
+
|
|
291
|
+
this.migrationVideoDataService.getCustomerVideoCount(function (videoCount) {
|
|
292
|
+
/**
|
|
293
|
+
* This prevents the polling from returning and redirecting back to this view
|
|
294
|
+
* if the user has already been directed to backup_complete and is trying
|
|
295
|
+
* to progress onto the start view
|
|
296
|
+
*/
|
|
297
|
+
if (_this.isDestroyed()) return;
|
|
298
|
+
_this.videoCount = videoCount;
|
|
299
|
+
|
|
300
|
+
_this.setPercentage();
|
|
301
|
+
|
|
302
|
+
if (_this.viewModel.get('percentage') >= 100) {
|
|
303
|
+
_this.migrationVideoDataService.clearCacheAndGetCustomerMetadata(function () {
|
|
304
|
+
_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].AppLinkHelper.trigger({
|
|
305
|
+
application: _shared_constants__WEBPACK_IMPORTED_MODULE_6__["AppChannels"].MIGRATION_WIZARD,
|
|
306
|
+
action: _shared_constants__WEBPACK_IMPORTED_MODULE_6__["Actions"].MigrationWizard.BACKUP_COMPLETE
|
|
307
|
+
});
|
|
308
|
+
});
|
|
309
|
+
|
|
310
|
+
return;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
setTimeout(function () {
|
|
314
|
+
return _this.poll();
|
|
315
|
+
}, pollingInterval);
|
|
316
|
+
|
|
317
|
+
_this.render();
|
|
318
|
+
});
|
|
319
|
+
}
|
|
320
|
+
}, {
|
|
321
|
+
key: "setPercentage",
|
|
322
|
+
value: function setPercentage() {
|
|
323
|
+
if (!this.videoCount) return;
|
|
324
|
+
var percentage = this.videoCount.get('progressPercentage') * 100;
|
|
325
|
+
if (percentage > 100) percentage = 100;
|
|
326
|
+
this.viewModel.set({
|
|
327
|
+
percentage: Math.round(percentage)
|
|
328
|
+
});
|
|
329
|
+
}
|
|
330
|
+
}, {
|
|
331
|
+
key: "renderProgressCircle",
|
|
332
|
+
value: function renderProgressCircle() {
|
|
333
|
+
this.showChildView('progressCircle', new _components_progress_circle_ProgressCircleComponent__WEBPACK_IMPORTED_MODULE_8__["ProgressCircleComponent"]({
|
|
334
|
+
model: this.viewModel,
|
|
335
|
+
text: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_7__["LanguageService"].getPhrase(this.lang, 'hasBeenBackedUp'),
|
|
336
|
+
class: _publisher_backup_progress_scss__WEBPACK_IMPORTED_MODULE_3___default.a.progress
|
|
337
|
+
}));
|
|
338
|
+
}
|
|
339
|
+
}, {
|
|
340
|
+
key: "onBeforeRender",
|
|
341
|
+
value: function onBeforeRender() {
|
|
342
|
+
this.customerMetadata = this.migrationVideoDataService.getCustomerMetadata();
|
|
343
|
+
return !!this.customerMetadata;
|
|
344
|
+
}
|
|
345
|
+
}, {
|
|
346
|
+
key: "viewOptions",
|
|
347
|
+
value: function viewOptions() {
|
|
348
|
+
return {
|
|
349
|
+
styles: _publisher_backup_progress_scss__WEBPACK_IMPORTED_MODULE_3___default.a,
|
|
350
|
+
timeRemaining: '30 minutes'
|
|
351
|
+
};
|
|
352
|
+
}
|
|
353
|
+
}, {
|
|
354
|
+
key: "onRender",
|
|
355
|
+
value: function onRender() {
|
|
356
|
+
if (!this.pollingStarted) {
|
|
357
|
+
this.poll();
|
|
358
|
+
this.pollingStarted = true;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
this.renderProgressCircle();
|
|
362
|
+
}
|
|
363
|
+
}, {
|
|
364
|
+
key: "name",
|
|
365
|
+
get: function get() {
|
|
366
|
+
return 'PublisherBackupProgressView';
|
|
367
|
+
}
|
|
368
|
+
}, {
|
|
369
|
+
key: "title",
|
|
370
|
+
get: function get() {
|
|
371
|
+
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_7__["LanguageService"].getPhrase(this.lang, 'title');
|
|
372
|
+
}
|
|
373
|
+
}, {
|
|
374
|
+
key: "lang",
|
|
375
|
+
get: function get() {
|
|
376
|
+
return 'migrationWizard.publisherBackupProgress';
|
|
377
|
+
}
|
|
378
|
+
}, {
|
|
379
|
+
key: "className",
|
|
380
|
+
get: function get() {
|
|
381
|
+
return "container text-center p-5 bg-white ".concat(_publisher_backup_progress_scss__WEBPACK_IMPORTED_MODULE_3___default.a.migrationBackupContainer, " ").concat(_publisher_backup_progress_scss__WEBPACK_IMPORTED_MODULE_3___default.a.backupProgress);
|
|
382
|
+
}
|
|
383
|
+
}, {
|
|
384
|
+
key: "template",
|
|
385
|
+
get: function get() {
|
|
386
|
+
return _PublisherBackupProgress_hbs__WEBPACK_IMPORTED_MODULE_4___default.a;
|
|
387
|
+
}
|
|
388
|
+
}]);
|
|
389
|
+
|
|
390
|
+
return PublisherBackupProgressView;
|
|
391
|
+
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].View);
|
|
392
|
+
|
|
393
|
+
/***/ }),
|
|
394
|
+
|
|
395
|
+
/***/ "./src/apps/migration-wizard/views/publisher-backup-progress/publisher-backup-progress.scss":
|
|
396
|
+
/*!**************************************************************************************************!*\
|
|
397
|
+
!*** ./src/apps/migration-wizard/views/publisher-backup-progress/publisher-backup-progress.scss ***!
|
|
398
|
+
\**************************************************************************************************/
|
|
399
|
+
/*! no static exports found */
|
|
400
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
401
|
+
|
|
402
|
+
// extracted by mini-css-extract-plugin
|
|
403
|
+
module.exports = {"backupProgress":"cv--backupProgress--15jUh","info":"cv--info--1NjZL","progress":"cv--progress--fp9FZ","migrationBackupContainer":"cv--migrationBackupContainer--28z_5"};
|
|
404
|
+
|
|
405
|
+
/***/ })
|
|
406
|
+
|
|
407
|
+
}]);
|
|
408
|
+
//# sourceMappingURL=52.chunk.js.map
|