@clickview/library-editor 1.1.22 → 1.1.23-dev.1
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/20.chunk.css +8 -0
- package/dist/css/21.chunk.css +10 -8
- package/dist/css/21.chunk.css.map +1 -0
- package/dist/css/22.chunk.css +14 -8
- package/dist/css/22.chunk.css.map +1 -0
- package/dist/css/23.chunk.css +9 -9
- package/dist/css/23.chunk.css.map +1 -0
- package/dist/css/24.chunk.css +11 -7
- package/dist/css/25.chunk.css +7 -7
- package/dist/css/25.chunk.css.map +1 -0
- package/dist/css/26.chunk.css +9 -5
- package/dist/css/26.chunk.css.map +1 -0
- package/dist/css/27.chunk.css +5 -5
- package/dist/css/28.chunk.css +6 -4
- package/dist/css/28.chunk.css.map +1 -0
- package/dist/css/29.chunk.css +4 -4
- package/dist/css/29.chunk.css.map +1 -0
- package/dist/css/3.chunk.css.map +1 -0
- package/dist/css/30.chunk.css +4 -4
- package/dist/css/30.chunk.css.map +1 -0
- package/dist/css/31.chunk.css +5 -3
- package/dist/css/31.chunk.css.map +1 -0
- package/dist/css/32.chunk.css +2 -0
- package/dist/css/32.chunk.css.map +1 -0
- package/dist/css/33.chunk.css +4 -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 +12 -2
- package/dist/css/36.chunk.css.map +1 -0
- package/dist/css/37.chunk.css +2 -2
- package/dist/css/37.chunk.css.map +1 -0
- package/dist/css/38.chunk.css +3 -1
- package/dist/css/38.chunk.css.map +1 -0
- package/dist/css/40.chunk.css +1 -3
- package/dist/css/40.chunk.css.map +1 -0
- package/dist/css/41.chunk.css +2 -2
- package/dist/css/41.chunk.css.map +1 -0
- package/dist/css/42.chunk.css +3 -1
- package/dist/css/42.chunk.css.map +1 -0
- package/dist/css/43.chunk.css +1 -1
- package/dist/css/43.chunk.css.map +1 -0
- package/dist/css/44.chunk.css +1 -1
- package/dist/css/44.chunk.css.map +1 -0
- package/dist/css/45.chunk.css +1 -1
- package/dist/css/45.chunk.css.map +1 -0
- package/dist/css/46.chunk.css +1 -1
- package/dist/css/46.chunk.css.map +1 -0
- package/dist/css/47.chunk.css +1 -1
- package/dist/css/47.chunk.css.map +1 -0
- package/dist/css/48.chunk.css +2 -0
- package/dist/css/48.chunk.css.map +1 -0
- package/dist/css/49.chunk.css +34 -1
- package/dist/css/49.chunk.css.map +1 -0
- package/dist/css/50.chunk.css +1 -1
- package/dist/css/50.chunk.css.map +1 -0
- package/dist/css/51.chunk.css +2 -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/54.chunk.css +1 -1
- package/dist/css/55.chunk.css +1 -1
- package/dist/css/55.chunk.css.map +1 -0
- package/dist/css/56.chunk.css +1 -1
- package/dist/css/56.chunk.css.map +1 -0
- package/dist/css/57.chunk.css +1 -1
- package/dist/css/58.chunk.css +1 -1
- package/dist/css/58.chunk.css.map +1 -0
- package/dist/css/59.chunk.css +2 -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 +17 -1
- package/dist/css/60.chunk.css.map +1 -0
- package/dist/css/61.chunk.css +1 -1
- package/dist/css/62.chunk.css +2 -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/analytics/src/clients/CollectionApiClient.d.ts +3 -1
- package/dist/libs/analytics/src/interfaces/AnalyticsTypes.d.ts +5 -6
- package/dist/libs/analytics/src/interfaces/User.d.ts +11 -0
- package/dist/libs/analytics/src/models/CollectionEvent.d.ts +6 -0
- package/dist/libs/analytics/src/utils/CollectionApiClientHelper.d.ts +1 -1
- package/dist/libs/analytics/src/utils/UrlHelper.d.ts +3 -0
- package/dist/libs/analytics/src/utils/VideoAnalyticsTracker.d.ts +2 -1
- package/dist/libs/common/src/backbone/services/data-providers/SignalRDataProvider.d.ts +3 -3
- package/dist/libs/common/src/backbone/utils/UrlHelper.d.ts +1 -0
- package/dist/libs/shared/src/enums/PlaylistPrivacy.d.ts +5 -0
- package/dist/libs/shared/src/enums/PresentationType.d.ts +4 -0
- package/dist/libs/shared/src/enums/SettingKind.d.ts +4 -0
- package/dist/libs/shared/src/enums/SettingName.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/collections/VideoHistoryCollection.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/collections/index.d.ts +1 -0
- package/dist/libs/shared/src/interfaces/models/EntitySetting.d.ts +9 -0
- package/dist/libs/shared/src/interfaces/models/Library.d.ts +2 -0
- package/dist/libs/shared/src/interfaces/models/Playlist.d.ts +4 -1
- package/dist/libs/shared/src/interfaces/models/Presentation.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/models/Video.d.ts +4 -2
- package/dist/libs/shared/src/interfaces/models/VideoHistory.d.ts +9 -0
- package/dist/libs/shared/src/interfaces/models/Widget.d.ts +2 -1
- package/dist/libs/shared/src/interfaces/models/index.d.ts +3 -1
- package/dist/projects/library-editor/src/app.d.ts +0 -2
- package/dist/projects/library-editor/src/polyfills.d.ts +2 -0
- package/dist/scripts/0-09e1e33a5c.chunk.js +1 -0
- package/dist/scripts/0.chunk.js +1034 -0
- package/dist/scripts/0.chunk.js.map +1 -0
- package/dist/scripts/{1-2de58388ac.chunk.js → 1-a66bb44471.chunk.js} +1 -1
- package/dist/scripts/1.chunk.js +442 -0
- package/dist/scripts/1.chunk.js.map +1 -0
- package/dist/scripts/10-6c79d8c6f9.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-7e6fa27e09.chunk.js → 11-6eef9e160e.chunk.js} +1 -1
- package/dist/scripts/11.chunk.js +4091 -0
- package/dist/scripts/11.chunk.js.map +1 -0
- package/dist/scripts/12-dbffa50a92.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-37e5cfab3e.chunk.js +1 -0
- package/dist/scripts/13.chunk.js +373 -0
- package/dist/scripts/13.chunk.js.map +1 -0
- package/dist/scripts/14-b524fbd295.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-bfba4ec28c.chunk.js → 15-1ff1252d1a.chunk.js} +1 -1
- package/dist/scripts/15.chunk.js +314 -0
- package/dist/scripts/15.chunk.js.map +1 -0
- package/dist/scripts/16-b27142fe98.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-c3bbe50816.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-4e0702e404.chunk.js → 2-2cc3988222.chunk.js} +1 -1
- package/dist/scripts/2.chunk.js +523 -0
- package/dist/scripts/2.chunk.js.map +1 -0
- package/dist/scripts/20-6d9086f5db.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-2f10553302.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-59ae44b448.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-11e008ee63.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-7f21e384d2.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-f0f7fa16a4.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-e65533bd94.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-9dc0f5a4df.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-26e5c371c7.chunk.js +1 -0
- package/dist/scripts/28.chunk.js +3173 -0
- package/dist/scripts/28.chunk.js.map +1 -0
- package/dist/scripts/29-61415c2af0.chunk.js +1 -0
- package/dist/scripts/29.chunk.js +3088 -0
- package/dist/scripts/29.chunk.js.map +1 -0
- package/dist/scripts/{3-e5c7b6f664.chunk.js → 3-5eff8c9df5.chunk.js} +1 -1
- package/dist/scripts/3.chunk.js +833 -0
- package/dist/scripts/3.chunk.js.map +1 -0
- package/dist/scripts/30-6075c28972.chunk.js +1 -0
- package/dist/scripts/30.chunk.js +1852 -0
- package/dist/scripts/30.chunk.js.map +1 -0
- package/dist/scripts/31-e35ae4e153.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-d5a50a7592.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-5ae90ed7d7.chunk.js +1 -0
- package/dist/scripts/33.chunk.js +792 -0
- package/dist/scripts/33.chunk.js.map +1 -0
- package/dist/scripts/{33-fc12af4a2f.chunk.js → 34-50402c1835.chunk.js} +1 -1
- package/dist/scripts/34.chunk.js +990 -0
- package/dist/scripts/34.chunk.js.map +1 -0
- package/dist/scripts/{34-132c087a52.chunk.js → 35-ec8c190357.chunk.js} +1 -1
- package/dist/scripts/35.chunk.js +518 -0
- package/dist/scripts/35.chunk.js.map +1 -0
- package/dist/scripts/{35-bdb5443e62.chunk.js → 36-4d467bc42e.chunk.js} +1 -1
- package/dist/scripts/36.chunk.js +335 -0
- package/dist/scripts/36.chunk.js.map +1 -0
- package/dist/scripts/37-37e8965783.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-3dc24b8867.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-350ff66a2b.chunk.js +1 -0
- package/dist/scripts/39.chunk.js +116 -0
- package/dist/scripts/39.chunk.js.map +1 -0
- package/dist/scripts/4-b3f3c7c71c.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-3443f99cb2.chunk.js +1 -0
- package/dist/scripts/40.chunk.js +2493 -0
- package/dist/scripts/40.chunk.js.map +1 -0
- package/dist/scripts/{40-376ad7e86e.chunk.js → 41-b5dfd35e9e.chunk.js} +1 -1
- package/dist/scripts/41.chunk.js +1782 -0
- package/dist/scripts/41.chunk.js.map +1 -0
- package/dist/scripts/42-103fecb7b6.chunk.js +1 -0
- package/dist/scripts/42.chunk.js +2116 -0
- package/dist/scripts/42.chunk.js.map +1 -0
- package/dist/scripts/{42-e1b7e51fda.chunk.js → 43-57b07579f7.chunk.js} +1 -1
- package/dist/scripts/43.chunk.js +2243 -0
- package/dist/scripts/43.chunk.js.map +1 -0
- package/dist/scripts/{43-e6c65d0b16.chunk.js → 44-210d64dffe.chunk.js} +1 -1
- package/dist/scripts/44.chunk.js +1024 -0
- package/dist/scripts/44.chunk.js.map +1 -0
- package/dist/scripts/{44-23032fea5c.chunk.js → 45-632b07e926.chunk.js} +1 -1
- package/dist/scripts/45.chunk.js +1065 -0
- package/dist/scripts/45.chunk.js.map +1 -0
- package/dist/scripts/46-82cce63cbf.chunk.js +1 -0
- package/dist/scripts/46.chunk.js +656 -0
- package/dist/scripts/46.chunk.js.map +1 -0
- package/dist/scripts/47-595b4aae87.chunk.js +1 -0
- package/dist/scripts/47.chunk.js +735 -0
- package/dist/scripts/47.chunk.js.map +1 -0
- package/dist/scripts/48-fcf6378889.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-d8a4899eb1.chunk.js +1 -0
- package/dist/scripts/49.chunk.js +759 -0
- package/dist/scripts/49.chunk.js.map +1 -0
- package/dist/scripts/{5-31fd5b5c13.chunk.js → 5-06bc197b1e.chunk.js} +1 -1
- package/dist/scripts/5.chunk.js +15 -0
- package/dist/scripts/5.chunk.js.map +1 -0
- package/dist/scripts/50-11b1a49916.chunk.js +1 -0
- package/dist/scripts/50.chunk.js +528 -0
- package/dist/scripts/50.chunk.js.map +1 -0
- package/dist/scripts/51-72a75e0265.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-195f73bcd6.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-bb4f37ee25.chunk.js +1 -0
- package/dist/scripts/53.chunk.js +754 -0
- package/dist/scripts/53.chunk.js.map +1 -0
- package/dist/scripts/54-7a201d8285.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-be3d7b8805.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-6aeece1bf1.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-59ee15161b.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-8ff58b194a.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-3d33954fcb.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-a469872b10.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-f092baa91c.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-bd9ef62ccd.chunk.js +1 -0
- package/dist/scripts/61.chunk.js +409 -0
- package/dist/scripts/61.chunk.js.map +1 -0
- package/dist/scripts/62-f15b3bf74c.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-92757f75e7.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-c5a1c55521.chunk.js +1 -0
- package/dist/scripts/64.chunk.js +439 -0
- package/dist/scripts/64.chunk.js.map +1 -0
- package/dist/scripts/{64-2f0dd2389f.chunk.js → 65-6bb10ae23b.chunk.js} +1 -1
- package/dist/scripts/65.chunk.js +582 -0
- package/dist/scripts/65.chunk.js.map +1 -0
- package/dist/scripts/66-f047027f7d.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-2e1a011200.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-d5c0ab3fc1.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-fc8325afc9.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-58dd909fa3.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-ceda95013e.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-6e8fc95beb.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-53fe3338bf.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-6974afed28.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-8e055aeb59.chunk.js → 9-9279038caa.chunk.js} +1 -1
- 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-06dc1f4908.min.js +8 -0
- package/dist/scripts/bundle.js +66631 -0
- package/dist/scripts/bundle.js.map +1 -0
- package/dist/scripts/bundles.json +2 -1
- package/dist/scripts/polyfills-efb4d7caa3.min.js +1 -0
- package/dist/scripts/polyfills.js +14866 -0
- package/dist/scripts/polyfills.js.map +1 -0
- package/package.json +4 -4
- package/dist/css/19.chunk.css +0 -34
- package/dist/css/53.chunk.css +0 -2
- package/dist/libs/shared/src/interfaces/models/VideoWithRestrictions.d.ts +0 -5
- package/dist/scripts/0-239b1b4c4f.chunk.js +0 -1
- package/dist/scripts/10-7495996e1b.chunk.js +0 -1
- package/dist/scripts/12-c614c326e8.chunk.js +0 -1
- package/dist/scripts/13-c59b7a1080.chunk.js +0 -1
- package/dist/scripts/14-11b2ecd293.chunk.js +0 -1
- package/dist/scripts/16-671e43ff10.chunk.js +0 -1
- package/dist/scripts/17-91db50901e.chunk.js +0 -1
- package/dist/scripts/19-9c1bab42e0.chunk.js +0 -1
- package/dist/scripts/20-16dc42eda6.chunk.js +0 -1
- package/dist/scripts/21-83635f45bd.chunk.js +0 -1
- package/dist/scripts/22-d1631d6f68.chunk.js +0 -1
- package/dist/scripts/23-ee9435b786.chunk.js +0 -1
- package/dist/scripts/24-9fe9688c10.chunk.js +0 -1
- package/dist/scripts/25-3fe9899044.chunk.js +0 -1
- package/dist/scripts/26-9a55e7c4c6.chunk.js +0 -1
- package/dist/scripts/27-62a6a557d0.chunk.js +0 -1
- package/dist/scripts/28-44c3f79737.chunk.js +0 -1
- package/dist/scripts/29-a9859b26ac.chunk.js +0 -1
- package/dist/scripts/30-e3a45015ad.chunk.js +0 -1
- package/dist/scripts/31-81d688b2d0.chunk.js +0 -1
- package/dist/scripts/32-6856552e24.chunk.js +0 -1
- package/dist/scripts/36-6a0bc972bb.chunk.js +0 -1
- package/dist/scripts/37-e50a9b9593.chunk.js +0 -1
- package/dist/scripts/38-1b320ac069.chunk.js +0 -1
- package/dist/scripts/39-dd59ad46c4.chunk.js +0 -1
- package/dist/scripts/4-93604b7a67.chunk.js +0 -1
- package/dist/scripts/41-de00f2381c.chunk.js +0 -1
- package/dist/scripts/45-a737a50524.chunk.js +0 -1
- package/dist/scripts/46-1daa477ba1.chunk.js +0 -1
- package/dist/scripts/47-b6f2874a9b.chunk.js +0 -1
- package/dist/scripts/48-1f5b41db07.chunk.js +0 -1
- package/dist/scripts/49-d94156f6d5.chunk.js +0 -1
- package/dist/scripts/50-0b91864cf6.chunk.js +0 -1
- package/dist/scripts/51-b469206180.chunk.js +0 -1
- package/dist/scripts/52-ed0e96f469.chunk.js +0 -1
- package/dist/scripts/53-f9b9090787.chunk.js +0 -1
- package/dist/scripts/54-3b1f6ff5fb.chunk.js +0 -1
- package/dist/scripts/55-00cdc60d5f.chunk.js +0 -1
- package/dist/scripts/56-926bcd1442.chunk.js +0 -1
- package/dist/scripts/57-cd9da1e70e.chunk.js +0 -1
- package/dist/scripts/58-7983444a26.chunk.js +0 -1
- package/dist/scripts/59-659211dccc.chunk.js +0 -1
- package/dist/scripts/6-e13c1f1b07.chunk.js +0 -1
- package/dist/scripts/60-486f90f64b.chunk.js +0 -1
- package/dist/scripts/61-2608315d61.chunk.js +0 -1
- package/dist/scripts/62-3bbb85072e.chunk.js +0 -1
- package/dist/scripts/63-fdaa23d553.chunk.js +0 -1
- package/dist/scripts/65-9db56b2dcb.chunk.js +0 -1
- package/dist/scripts/66-f9036265fa.chunk.js +0 -1
- package/dist/scripts/67-2518858e70.chunk.js +0 -1
- package/dist/scripts/68-5c6e608ca7.chunk.js +0 -1
- package/dist/scripts/69-521dbc644d.chunk.js +0 -1
- package/dist/scripts/7-888cdbea89.chunk.js +0 -1
- package/dist/scripts/70-f57eb7cd7c.chunk.js +0 -1
- package/dist/scripts/71-f9d6b5174f.chunk.js +0 -1
- package/dist/scripts/8-23bc582e02.chunk.js +0 -1
- package/dist/scripts/bundle-d3fae9effe.min.js +0 -1
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
(window["webpackJsonp_clickview_library_editor"] = window["webpackJsonp_clickview_library_editor"] || []).push([[71],{
|
|
2
|
+
|
|
3
|
+
/***/ "./src/apps/migration-wizard/views/publisher-backup/PublisherBackup.hbs":
|
|
4
|
+
/*!******************************************************************************!*\
|
|
5
|
+
!*** ./src/apps/migration-wizard/views/publisher-backup/PublisherBackup.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({"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
12
|
+
var stack1, helper, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {}), alias3=container.hooks.helperMissing, alias4=container.escapeExpression, alias5=container.lambda;
|
|
13
|
+
|
|
14
|
+
return "<div class=\"row mb-2\">\r\n <h4 class=\"col-12\">"
|
|
15
|
+
+ alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"heading",{"name":"lang","hash":{},"data":data}))
|
|
16
|
+
+ "</h4>\r\n</div>\r\n\r\n<div class=\"row\">\r\n <div class=\"col-12\">\r\n <p>\r\n "
|
|
17
|
+
+ alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"toSucceed",{"name":"lang","hash":{},"data":data}))
|
|
18
|
+
+ "\r\n </p>\r\n </div>\r\n</div>\r\n\r\n<div class=\"row mt-3 d-block p-3 "
|
|
19
|
+
+ alias4(alias5(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.question : stack1), depth0))
|
|
20
|
+
+ "\">\r\n <p class=\"text-center text-white\">"
|
|
21
|
+
+ alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"check",{"name":"lang","hash":{},"data":data}))
|
|
22
|
+
+ "</p>\r\n\r\n <div id=\"accordion\">\r\n <button type=\"button\" class=\"btn bg-white btn-block "
|
|
23
|
+
+ alias4(alias5(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.button : stack1), depth0))
|
|
24
|
+
+ " mb-2 mt-2\" data-toggle=\"collapse\" data-target=\"#collapseYes\" aria-expanded=\"true\" aria-controls=\"collapseYes\">"
|
|
25
|
+
+ alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"checkConfirm",{"name":"lang","hash":{},"data":data}))
|
|
26
|
+
+ "</button>\r\n <div id=\"collapseYes\" class=\"collapse mb-2 mt-2 pl-3 pr-3 pb-3 pt-1 "
|
|
27
|
+
+ alias4(alias5(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.collapse : stack1), depth0))
|
|
28
|
+
+ "\" aria-labelledby=\"collapseYes\" data-parent=\"#accordion\">\r\n <hr>\r\n <div class=\"text-center "
|
|
29
|
+
+ alias4(alias5(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.collapseContents : stack1), depth0))
|
|
30
|
+
+ "\">\r\n <p class=\""
|
|
31
|
+
+ alias4(alias5(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.bolder : stack1), depth0))
|
|
32
|
+
+ "\">\r\n "
|
|
33
|
+
+ alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"downloadAndRun",{"name":"lang","hash":{},"data":data}))
|
|
34
|
+
+ "\r\n <br>\r\n ("
|
|
35
|
+
+ alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"contactAdmin",{"name":"lang","hash":{},"data":data}))
|
|
36
|
+
+ ")\r\n </p>\r\n <a class=\"text-white text-center btn btn-primary\" target=\"_blank\" href="
|
|
37
|
+
+ alias4(((helper = (helper = helpers.downloadUrl || (depth0 != null ? depth0.downloadUrl : depth0)) != null ? helper : alias3),(typeof helper === "function" ? helper.call(alias2,{"name":"downloadUrl","hash":{},"data":data}) : helper)))
|
|
38
|
+
+ ">"
|
|
39
|
+
+ alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"download",{"name":"lang","hash":{},"data":data}))
|
|
40
|
+
+ "</a>\r\n </div>\r\n </div>\r\n\r\n <button type=\"button\" class=\"btn bg-white btn-block "
|
|
41
|
+
+ alias4(alias5(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.button : stack1), depth0))
|
|
42
|
+
+ " mb-2 mt-2\" data-toggle=\"collapse\" data-target=\"#collapseNo\" aria-expanded=\"true\" aria-controls=\"collapseNo\">"
|
|
43
|
+
+ alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"checkDecline",{"name":"lang","hash":{},"data":data}))
|
|
44
|
+
+ "</button>\r\n <div id=\"collapseNo\" class=\"collapse mb-2 mt-2 pl-3 pr-3 pb-3 pt-1 "
|
|
45
|
+
+ alias4(alias5(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.collapse : stack1), depth0))
|
|
46
|
+
+ "\" aria-labelledby=\"collapseNo\" data-parent=\"#accordion\">\r\n <hr>\r\n <div class=\"text-center "
|
|
47
|
+
+ alias4(alias5(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.collapseContents : stack1), depth0))
|
|
48
|
+
+ "\">\r\n <p class=\""
|
|
49
|
+
+ alias4(alias5(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.bolder : stack1), depth0))
|
|
50
|
+
+ "\">\r\n "
|
|
51
|
+
+ alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"toComplete",{"name":"lang","hash":{},"data":data}))
|
|
52
|
+
+ "<a class=\"info-link\" target=\"_blank\" href=\""
|
|
53
|
+
+ alias4(alias5(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.supportUrl : stack1), depth0))
|
|
54
|
+
+ "\">"
|
|
55
|
+
+ alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"helpArticle",{"name":"lang","hash":{},"data":data}))
|
|
56
|
+
+ "</a>.\r\n <br>\r\n "
|
|
57
|
+
+ alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"contactAdmin",{"name":"lang","hash":{},"data":data}))
|
|
58
|
+
+ "\r\n </p>\r\n <p class=\""
|
|
59
|
+
+ alias4(alias5(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.bolder : stack1), depth0))
|
|
60
|
+
+ "\">\r\n "
|
|
61
|
+
+ ((stack1 = (helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"bookAppointment",{"name":"lang","hash":{"appointmentUrl":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.appointmentUrl : stack1),"className":"info-link"},"data":data})) != null ? stack1 : "")
|
|
62
|
+
+ "\r\n </p>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n</div>";
|
|
63
|
+
},"useData":true});
|
|
64
|
+
|
|
65
|
+
/***/ }),
|
|
66
|
+
|
|
67
|
+
/***/ "./src/apps/migration-wizard/views/publisher-backup/PublisherBackupView.ts":
|
|
68
|
+
/*!*********************************************************************************!*\
|
|
69
|
+
!*** ./src/apps/migration-wizard/views/publisher-backup/PublisherBackupView.ts ***!
|
|
70
|
+
\*********************************************************************************/
|
|
71
|
+
/*! exports provided: PublisherBackupView */
|
|
72
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
73
|
+
|
|
74
|
+
"use strict";
|
|
75
|
+
__webpack_require__.r(__webpack_exports__);
|
|
76
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PublisherBackupView", function() { return PublisherBackupView; });
|
|
77
|
+
/* harmony import */ var _libs_common_src_backbone_utils_UrlHelper__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/utils/UrlHelper */ "../../libs/common/src/backbone/utils/UrlHelper.ts");
|
|
78
|
+
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
79
|
+
/* harmony import */ var _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/services/InstanceManager */ "../../libs/common/src/backbone/services/InstanceManager.ts");
|
|
80
|
+
/* harmony import */ var _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/services/LanguageService */ "../../libs/common/src/backbone/services/LanguageService.tsx");
|
|
81
|
+
/* harmony import */ var _publisher_backup_scss__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./publisher-backup.scss */ "./src/apps/migration-wizard/views/publisher-backup/publisher-backup.scss");
|
|
82
|
+
/* harmony import */ var _publisher_backup_scss__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_publisher_backup_scss__WEBPACK_IMPORTED_MODULE_4__);
|
|
83
|
+
/* harmony import */ var _PublisherBackup_hbs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./PublisherBackup.hbs */ "./src/apps/migration-wizard/views/publisher-backup/PublisherBackup.hbs");
|
|
84
|
+
/* harmony import */ var _PublisherBackup_hbs__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_PublisherBackup_hbs__WEBPACK_IMPORTED_MODULE_5__);
|
|
85
|
+
/* harmony import */ var _utils_MigrationHelper__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../utils/MigrationHelper */ "./src/apps/migration-wizard/utils/MigrationHelper.ts");
|
|
86
|
+
/* harmony import */ var _shared_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../shared/constants */ "./src/shared/constants/index.ts");
|
|
87
|
+
/* harmony import */ var _shared_services_ConfigDataService__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../shared/services/ConfigDataService */ "./src/shared/services/ConfigDataService.ts");
|
|
88
|
+
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); }
|
|
89
|
+
|
|
90
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
91
|
+
|
|
92
|
+
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); } }
|
|
93
|
+
|
|
94
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
95
|
+
|
|
96
|
+
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); }
|
|
97
|
+
|
|
98
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
99
|
+
|
|
100
|
+
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); }; }
|
|
101
|
+
|
|
102
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
103
|
+
|
|
104
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
105
|
+
|
|
106
|
+
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; } }
|
|
107
|
+
|
|
108
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
var PublisherBackupView = /*#__PURE__*/function (_Core$View) {
|
|
120
|
+
_inherits(PublisherBackupView, _Core$View);
|
|
121
|
+
|
|
122
|
+
var _super = _createSuper(PublisherBackupView);
|
|
123
|
+
|
|
124
|
+
function PublisherBackupView() {
|
|
125
|
+
_classCallCheck(this, PublisherBackupView);
|
|
126
|
+
|
|
127
|
+
return _super.apply(this, arguments);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
_createClass(PublisherBackupView, [{
|
|
131
|
+
key: "initialize",
|
|
132
|
+
value: function initialize() {
|
|
133
|
+
this.migrationVideoDataService = _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_2__["InstanceManager"].getInstance(_shared_constants__WEBPACK_IMPORTED_MODULE_7__["DataServices"].MigrationVideo, this);
|
|
134
|
+
this.listenTo(_shared_constants__WEBPACK_IMPORTED_MODULE_7__["DataChannels"].MIGRATION, "".concat(_shared_constants__WEBPACK_IMPORTED_MODULE_7__["DataPrefixes"].BACKUP_TOOL, ":sync"), this.render);
|
|
135
|
+
}
|
|
136
|
+
}, {
|
|
137
|
+
key: "pollCloudSyncStatus",
|
|
138
|
+
value: function pollCloudSyncStatus() {
|
|
139
|
+
var _this = this;
|
|
140
|
+
|
|
141
|
+
this.migrationVideoDataService.clearCacheAndGetCustomerMetadata(function (metadata) {
|
|
142
|
+
if (_utils_MigrationHelper__WEBPACK_IMPORTED_MODULE_6__["MigrationHelper"].backupProcessing(metadata)) {
|
|
143
|
+
_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__["Core"].AppLinkHelper.trigger({
|
|
144
|
+
application: _shared_constants__WEBPACK_IMPORTED_MODULE_7__["AppChannels"].MIGRATION_WIZARD,
|
|
145
|
+
action: _shared_constants__WEBPACK_IMPORTED_MODULE_7__["Actions"].MigrationWizard.BACKUP_PROGRESS
|
|
146
|
+
});
|
|
147
|
+
return;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
if (_utils_MigrationHelper__WEBPACK_IMPORTED_MODULE_6__["MigrationHelper"].backupComplete(metadata)) {
|
|
151
|
+
_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__["Core"].AppLinkHelper.trigger({
|
|
152
|
+
application: _shared_constants__WEBPACK_IMPORTED_MODULE_7__["AppChannels"].MIGRATION_WIZARD,
|
|
153
|
+
action: _shared_constants__WEBPACK_IMPORTED_MODULE_7__["Actions"].MigrationWizard.BACKUP_COMPLETE
|
|
154
|
+
});
|
|
155
|
+
return;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
setTimeout(function () {
|
|
159
|
+
return _this.pollCloudSyncStatus();
|
|
160
|
+
}, 30000);
|
|
161
|
+
});
|
|
162
|
+
}
|
|
163
|
+
}, {
|
|
164
|
+
key: "onBeforeRender",
|
|
165
|
+
value: function onBeforeRender() {
|
|
166
|
+
this.model = this.migrationVideoDataService.getBackupTool(this.config.get('pbtDownloadChannel'));
|
|
167
|
+
return !!this.model;
|
|
168
|
+
}
|
|
169
|
+
}, {
|
|
170
|
+
key: "viewOptions",
|
|
171
|
+
value: function viewOptions() {
|
|
172
|
+
return {
|
|
173
|
+
styles: _publisher_backup_scss__WEBPACK_IMPORTED_MODULE_4___default.a,
|
|
174
|
+
supportUrl: _libs_common_src_backbone_utils_UrlHelper__WEBPACK_IMPORTED_MODULE_0__["UrlHelper"].safeUrlConcat(this.config.get('supportSiteUrl'), _shared_constants__WEBPACK_IMPORTED_MODULE_7__["SupportArticles"].PUBLISHER_SERVER),
|
|
175
|
+
appointmentUrl: "".concat(_libs_common_src_backbone_utils_UrlHelper__WEBPACK_IMPORTED_MODULE_0__["UrlHelper"].safeUrlConcat(this.config.get('marketingSiteUrl'), '/library-editor/book-appointment'))
|
|
176
|
+
};
|
|
177
|
+
}
|
|
178
|
+
}, {
|
|
179
|
+
key: "onRender",
|
|
180
|
+
value: function onRender() {
|
|
181
|
+
if (this.pollingStarted) return;
|
|
182
|
+
this.pollCloudSyncStatus();
|
|
183
|
+
this.pollingStarted = true;
|
|
184
|
+
}
|
|
185
|
+
}, {
|
|
186
|
+
key: "name",
|
|
187
|
+
get: function get() {
|
|
188
|
+
return 'PublisherBackupView';
|
|
189
|
+
}
|
|
190
|
+
}, {
|
|
191
|
+
key: "title",
|
|
192
|
+
get: function get() {
|
|
193
|
+
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_3__["LanguageService"].getPhrase(this.lang, 'title');
|
|
194
|
+
}
|
|
195
|
+
}, {
|
|
196
|
+
key: "lang",
|
|
197
|
+
get: function get() {
|
|
198
|
+
return 'migrationWizard.publisherBackup';
|
|
199
|
+
}
|
|
200
|
+
}, {
|
|
201
|
+
key: "className",
|
|
202
|
+
get: function get() {
|
|
203
|
+
return "container p-4 bg-white ".concat(_publisher_backup_scss__WEBPACK_IMPORTED_MODULE_4___default.a.migrationBackupContainer, " ").concat(_publisher_backup_scss__WEBPACK_IMPORTED_MODULE_4___default.a.info);
|
|
204
|
+
}
|
|
205
|
+
}, {
|
|
206
|
+
key: "template",
|
|
207
|
+
get: function get() {
|
|
208
|
+
return _PublisherBackup_hbs__WEBPACK_IMPORTED_MODULE_5___default.a;
|
|
209
|
+
}
|
|
210
|
+
}, {
|
|
211
|
+
key: "requiredResources",
|
|
212
|
+
get: function get() {
|
|
213
|
+
return {
|
|
214
|
+
config: _shared_services_ConfigDataService__WEBPACK_IMPORTED_MODULE_8__["ConfigDataServiceHelper"].config
|
|
215
|
+
};
|
|
216
|
+
}
|
|
217
|
+
}]);
|
|
218
|
+
|
|
219
|
+
return PublisherBackupView;
|
|
220
|
+
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__["Core"].View);
|
|
221
|
+
|
|
222
|
+
/***/ }),
|
|
223
|
+
|
|
224
|
+
/***/ "./src/apps/migration-wizard/views/publisher-backup/publisher-backup.scss":
|
|
225
|
+
/*!********************************************************************************!*\
|
|
226
|
+
!*** ./src/apps/migration-wizard/views/publisher-backup/publisher-backup.scss ***!
|
|
227
|
+
\********************************************************************************/
|
|
228
|
+
/*! no static exports found */
|
|
229
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
230
|
+
|
|
231
|
+
// extracted by mini-css-extract-plugin
|
|
232
|
+
module.exports = {"backupImage":"cv--backupImage--10r2k","info":"cv--info--1O7-y","button":"cv--button--1cN_3","bolder":"cv--bolder--bxulh","question":"cv--question--2OYs-","collapse":"cv--collapse--1dD-L","collapseContents":"cv--collapseContents--2sqEn","migrationBackupContainer":"cv--migrationBackupContainer--2Hcov"};
|
|
233
|
+
|
|
234
|
+
/***/ })
|
|
235
|
+
|
|
236
|
+
}]);
|
|
237
|
+
//# sourceMappingURL=71.chunk.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/migration-wizard/views/publisher-backup/PublisherBackup.hbs","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/migration-wizard/views/publisher-backup/PublisherBackupView.ts","webpack://@clickview/library-editor/./src/apps/migration-wizard/views/publisher-backup/publisher-backup.scss?db05"],"names":[],"mappings":";;;;;;;;;AAAA,iBAAiB,mBAAO,CAAC,8BAAY;AACrC,iEAAiE;AACjE,4HAA4H;;AAE5H;AACA,oFAAoF,uBAAuB,aAAa;AACxH;AACA,sFAAsF,uBAAuB,aAAa;AAC1H;AACA;AACA;AACA,kFAAkF,uBAAuB,aAAa;AACtH;AACA;AACA;AACA,yFAAyF,uBAAuB,aAAa;AAC7H;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2FAA2F,uBAAuB,aAAa;AAC/H;AACA,yFAAyF,uBAAuB,aAAa;AAC7H;AACA,wLAAwL,8BAA8B,aAAa;AACnO;AACA,qFAAqF,uBAAuB,aAAa;AACzH;AACA;AACA;AACA,yFAAyF,uBAAuB,aAAa;AAC7H;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uFAAuF,uBAAuB,aAAa;AAC3H;AACA;AACA;AACA,wFAAwF,uBAAuB,aAAa;AAC5H;AACA,yFAAyF,uBAAuB,aAAa;AAC7H;AACA;AACA;AACA,gGAAgG,sBAAsB,0IAA0I,aAAa;AAC7Q;AACA,CAAC,gBAAgB,E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACnDjB;AACA;AACA;AACA;AAEA;AACA;AAGA;AACA;AACA;AAIO,IAAM,mBAAb;AAAA;;AAAA;;AAAA;AAAA;;AAAA;AAAA;;AAAA;AAAA;AAAA,iCAKmB;AACf,WAAK,yBAAL,GAAiC,kGAAe,CAAC,WAAhB,CAA4B,8DAAY,CAAC,cAAzC,EAAyD,IAAzD,CAAjC;AAEA,WAAK,QAAL,CAAc,8DAAY,CAAC,SAA3B,YAAyC,8DAAY,CAAC,WAAtD,YAA0E,KAAK,MAA/E;AACD;AATH;AAAA;AAAA,0CA+B6B;AAAA;;AACzB,WAAK,yBAAL,CAA+B,gCAA/B,CAAgE,UAAC,QAAD,EAA+B;AAC7F,YAAI,sEAAe,CAAC,gBAAhB,CAAiC,QAAjC,CAAJ,EAAgD;AAC9C,wEAAI,CAAC,aAAL,CAAmB,OAAnB,CAA2B;AACzB,uBAAW,EAAE,6DAAW,CAAC,gBADA;AAEzB,kBAAM,EAAE,yDAAO,CAAC,eAAR,CAAwB;AAFP,WAA3B;AAIA;AACD;;AAED,YAAI,sEAAe,CAAC,cAAhB,CAA+B,QAA/B,CAAJ,EAA8C;AAC5C,wEAAI,CAAC,aAAL,CAAmB,OAAnB,CAA2B;AACzB,uBAAW,EAAE,6DAAW,CAAC,gBADA;AAEzB,kBAAM,EAAE,yDAAO,CAAC,eAAR,CAAwB;AAFP,WAA3B;AAIA;AACD;;AAED,kBAAU,CAAC;AAAA,iBAAM,KAAI,CAAC,mBAAL,EAAN;AAAA,SAAD,EAAmC,KAAnC,CAAV;AACD,OAlBD;AAmBD;AAnDH;AAAA;AAAA,qCA2DuB;AACnB,WAAK,KAAL,GAAa,KAAK,yBAAL,CAA+B,aAA/B,CAA6C,KAAK,MAAL,CAAY,GAAZ,CAAgB,oBAAhB,CAA7C,CAAb;AAEA,aAAO,CAAC,CAAC,KAAK,KAAd;AACD;AA/DH;AAAA;AAAA,kCAiEoB;AAChB,aAAO;AACL,cAAM,EAAN,6DADK;AAEL,kBAAU,EAAE,mFAAS,CAAC,aAAV,CAAwB,KAAK,MAAL,CAAY,GAAZ,CAAgB,gBAAhB,CAAxB,EAA2D,iEAAe,CAAC,gBAA3E,CAFP;AAGL,sBAAc,YAAK,mFAAS,CAAC,aAAV,CAAwB,KAAK,MAAL,CAAY,GAAZ,CAAgB,kBAAhB,CAAxB,EAA6D,kCAA7D,CAAL;AAHT,OAAP;AAKD;AAvEH;AAAA;AAAA,+BAyEiB;AACb,UAAI,KAAK,cAAT,EAAyB;AAEzB,WAAK,mBAAL;AACA,WAAK,cAAL,GAAsB,IAAtB;AACD;AA9EH;AAAA;AAAA,wBAWiB;AACb,aAAO,qBAAP;AACD;AAbH;AAAA;AAAA,wBAekB;AACd,aAAO,kGAAe,CAAC,SAAhB,CAA0B,KAAK,IAA/B,EAAqC,OAArC,CAAP;AACD;AAjBH;AAAA;AAAA,wBAmBiB;AACb,aAAO,iCAAP;AACD;AArBH;AAAA;AAAA,wBAuBsB;AAClB,8CAAiC,6DAAM,CAAC,wBAAxC,cAAoE,6DAAM,CAAC,IAA3E;AACD;AAzBH;AAAA;AAAA,wBA2BqB;AACjB,aAAO,2DAAP;AACD;AA7BH;AAAA;AAAA,wBAqD8B;AAC1B,aAAO;AACL,cAAM,EAAE,0FAAuB,CAAC;AAD3B,OAAP;AAGD;AAzDH;;AAAA;AAAA,EAAyC,8DAAI,CAAC,IAA9C,E;;;;;;;;;;;ACjBA;AACA,kBAAkB,+S","file":"scripts/71.chunk.js","sourcesContent":["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, helper, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {}), alias3=container.hooks.helperMissing, alias4=container.escapeExpression, alias5=container.lambda;\n\n return \"<div class=\\\"row mb-2\\\">\\r\\n <h4 class=\\\"col-12\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"heading\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</h4>\\r\\n</div>\\r\\n\\r\\n<div class=\\\"row\\\">\\r\\n <div class=\\\"col-12\\\">\\r\\n <p>\\r\\n \"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"toSucceed\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"\\r\\n </p>\\r\\n </div>\\r\\n</div>\\r\\n\\r\\n<div class=\\\"row mt-3 d-block p-3 \"\n + alias4(alias5(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.question : stack1), depth0))\n + \"\\\">\\r\\n <p class=\\\"text-center text-white\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"check\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</p>\\r\\n\\r\\n <div id=\\\"accordion\\\">\\r\\n <button type=\\\"button\\\" class=\\\"btn bg-white btn-block \"\n + alias4(alias5(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.button : stack1), depth0))\n + \" mb-2 mt-2\\\" data-toggle=\\\"collapse\\\" data-target=\\\"#collapseYes\\\" aria-expanded=\\\"true\\\" aria-controls=\\\"collapseYes\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"checkConfirm\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</button>\\r\\n <div id=\\\"collapseYes\\\" class=\\\"collapse mb-2 mt-2 pl-3 pr-3 pb-3 pt-1 \"\n + alias4(alias5(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.collapse : stack1), depth0))\n + \"\\\" aria-labelledby=\\\"collapseYes\\\" data-parent=\\\"#accordion\\\">\\r\\n <hr>\\r\\n <div class=\\\"text-center \"\n + alias4(alias5(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.collapseContents : stack1), depth0))\n + \"\\\">\\r\\n <p class=\\\"\"\n + alias4(alias5(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.bolder : stack1), depth0))\n + \"\\\">\\r\\n \"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"downloadAndRun\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"\\r\\n <br>\\r\\n (\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"contactAdmin\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \")\\r\\n </p>\\r\\n <a class=\\\"text-white text-center btn btn-primary\\\" target=\\\"_blank\\\" href=\"\n + alias4(((helper = (helper = helpers.downloadUrl || (depth0 != null ? depth0.downloadUrl : depth0)) != null ? helper : alias3),(typeof helper === \"function\" ? helper.call(alias2,{\"name\":\"downloadUrl\",\"hash\":{},\"data\":data}) : helper)))\n + \">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"download\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</a>\\r\\n </div>\\r\\n </div>\\r\\n\\r\\n <button type=\\\"button\\\" class=\\\"btn bg-white btn-block \"\n + alias4(alias5(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.button : stack1), depth0))\n + \" mb-2 mt-2\\\" data-toggle=\\\"collapse\\\" data-target=\\\"#collapseNo\\\" aria-expanded=\\\"true\\\" aria-controls=\\\"collapseNo\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"checkDecline\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</button>\\r\\n <div id=\\\"collapseNo\\\" class=\\\"collapse mb-2 mt-2 pl-3 pr-3 pb-3 pt-1 \"\n + alias4(alias5(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.collapse : stack1), depth0))\n + \"\\\" aria-labelledby=\\\"collapseNo\\\" data-parent=\\\"#accordion\\\">\\r\\n <hr>\\r\\n <div class=\\\"text-center \"\n + alias4(alias5(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.collapseContents : stack1), depth0))\n + \"\\\">\\r\\n <p class=\\\"\"\n + alias4(alias5(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.bolder : stack1), depth0))\n + \"\\\">\\r\\n \"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"toComplete\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"<a class=\\\"info-link\\\" target=\\\"_blank\\\" href=\\\"\"\n + alias4(alias5(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.supportUrl : stack1), depth0))\n + \"\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"helpArticle\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</a>.\\r\\n <br>\\r\\n \"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"contactAdmin\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"\\r\\n </p>\\r\\n <p class=\\\"\"\n + alias4(alias5(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.bolder : stack1), depth0))\n + \"\\\">\\r\\n \"\n + ((stack1 = (helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"bookAppointment\",{\"name\":\"lang\",\"hash\":{\"appointmentUrl\":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.appointmentUrl : stack1),\"className\":\"info-link\"},\"data\":data})) != null ? stack1 : \"\")\n + \"\\r\\n </p>\\r\\n </div>\\r\\n </div>\\r\\n </div>\\r\\n\\r\\n</div>\";\n},\"useData\":true});","import { ObjectHash } from 'backbone';\r\n\r\nimport { UrlHelper } from 'libs/common/backbone/utils/UrlHelper';\r\nimport { Core } from 'libs/common/core';\r\nimport { InstanceManager } from 'libs/common/backbone/services/InstanceManager';\r\nimport { LanguageService } from 'libs/common/backbone/services/LanguageService';\r\n\r\nimport styles from './publisher-backup.scss';\r\nimport PublisherBackupTemplate from './PublisherBackup.hbs';\r\nimport { BackupToolBuild } from 'apps/migration-wizard/models';\r\nimport { CustomerMetadata } from 'apps/migration-wizard/models';\r\nimport { MigrationHelper } from 'apps/migration-wizard/utils/MigrationHelper';\r\nimport { DataServices, DataPrefixes, Actions, DataChannels, AppChannels, SupportArticles } from 'shared/constants';\r\nimport { ConfigDataServiceHelper } from 'shared/services/ConfigDataService';\r\nimport { MigrationVideoDataService } from 'apps/migration-wizard/services/MigrationVideoDataService';\r\nimport { Config } from 'shared/models/Config';\r\n\r\nexport class PublisherBackupView extends Core.View<BackupToolBuild> {\r\n private migrationVideoDataService: MigrationVideoDataService;\r\n private pollingStarted: boolean;\r\n private config: Config;\r\n\r\n public initialize(): void {\r\n this.migrationVideoDataService = InstanceManager.getInstance(DataServices.MigrationVideo, this);\r\n\r\n this.listenTo(DataChannels.MIGRATION, `${DataPrefixes.BACKUP_TOOL}:sync`, this.render);\r\n }\r\n\r\n public get name(): string {\r\n return 'PublisherBackupView';\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.publisherBackup';\r\n }\r\n\r\n public get className(): string {\r\n return `container p-4 bg-white ${styles.migrationBackupContainer} ${styles.info}`;\r\n }\r\n\r\n public get template(): any {\r\n return PublisherBackupTemplate;\r\n }\r\n\r\n private pollCloudSyncStatus(): void {\r\n this.migrationVideoDataService.clearCacheAndGetCustomerMetadata((metadata: CustomerMetadata) => {\r\n if (MigrationHelper.backupProcessing(metadata)) {\r\n Core.AppLinkHelper.trigger({\r\n application: AppChannels.MIGRATION_WIZARD,\r\n action: Actions.MigrationWizard.BACKUP_PROGRESS,\r\n });\r\n return;\r\n }\r\n\r\n if (MigrationHelper.backupComplete(metadata)) {\r\n Core.AppLinkHelper.trigger({\r\n application: AppChannels.MIGRATION_WIZARD,\r\n action: Actions.MigrationWizard.BACKUP_COMPLETE,\r\n });\r\n return;\r\n }\r\n\r\n setTimeout(() => this.pollCloudSyncStatus(), 30000);\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.model = this.migrationVideoDataService.getBackupTool(this.config.get('pbtDownloadChannel'));\r\n\r\n return !!this.model;\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n return {\r\n styles,\r\n supportUrl: UrlHelper.safeUrlConcat(this.config.get('supportSiteUrl'), SupportArticles.PUBLISHER_SERVER),\r\n appointmentUrl: `${UrlHelper.safeUrlConcat(this.config.get('marketingSiteUrl'), '/library-editor/book-appointment')}`\r\n };\r\n }\r\n\r\n public onRender(): void {\r\n if (this.pollingStarted) return;\r\n\r\n this.pollCloudSyncStatus();\r\n this.pollingStarted = true;\r\n }\r\n}","// extracted by mini-css-extract-plugin\nmodule.exports = {\"backupImage\":\"cv--backupImage--10r2k\",\"info\":\"cv--info--1O7-y\",\"button\":\"cv--button--1cN_3\",\"bolder\":\"cv--bolder--bxulh\",\"question\":\"cv--question--2OYs-\",\"collapse\":\"cv--collapse--1dD-L\",\"collapseContents\":\"cv--collapseContents--2sqEn\",\"migrationBackupContainer\":\"cv--migrationBackupContainer--2Hcov\"};"],"sourceRoot":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[72],{1191:function(t,e,n){var r=n(10);t.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){return'<div class="no-library-region"></div>'},useData:!0})},1402:function(t,e,n){"use strict";n.r(e),n.d(e,"NoLibraryView",(function(){return v}));var r=n(2),o=n(3),i=n(15),u=n(283),c=n(6),a=n(0),f=n(1191),l=n.n(f);function p(t){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function b(t,e){return(b=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function g(t){var e=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(t){return!1}}();return function(){var n,r=m(t);if(e){var o=m(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return h(this,n)}}function h(t,e){return!e||"object"!==p(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function m(t){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var v=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&b(t,e)}(p,t);var e,n,r,f=g(p);function p(){return s(this,p),f.apply(this,arguments)}return e=p,(n=[{key:"regions",value:function(){return{emptyState:{el:".no-library-region",replaceElement:!0}}}},{key:"name",get:function(){return"NoLibraryView"}},{key:"title",get:function(){return o.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"libraryEditor.noLibrary"}},{key:"template",get:function(){return l.a}},{key:"behaviors",get:function(){return[{behaviorClass:u.a,region:"emptyState",type:c.c.LibraryEditor,shouldRender:function(){return!0},componentOptions:{plusSvg:i.a.getSvg(i.b.Plus),heading:o.a.getPhrase(this.lang,"emptyStateHeading"),btnText:o.a.getPhrase(this.lang,"emptyStateDescription")},emptyStateComponents:a.h}]}}])&&y(e.prototype,n),r&&y(e,r),p}(r.a.View)}}]);
|
|
@@ -0,0 +1,331 @@
|
|
|
1
|
+
(window["webpackJsonp_clickview_library_editor"] = window["webpackJsonp_clickview_library_editor"] || []).push([[72],{
|
|
2
|
+
|
|
3
|
+
/***/ "./src/apps/migration-wizard/views/selected-videos/SelectedVideos.hbs":
|
|
4
|
+
/*!****************************************************************************!*\
|
|
5
|
+
!*** ./src/apps/migration-wizard/views/selected-videos/SelectedVideos.hbs ***!
|
|
6
|
+
\****************************************************************************/
|
|
7
|
+
/*! no static exports found */
|
|
8
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
9
|
+
|
|
10
|
+
var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
|
|
11
|
+
module.exports = (Handlebars['default'] || Handlebars).template({"1":function(container,depth0,helpers,partials,data) {
|
|
12
|
+
var stack1, alias1=container.propertyIsEnumerable;
|
|
13
|
+
|
|
14
|
+
return " "
|
|
15
|
+
+ container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"videosSelected",{"name":"lang","hash":{"smartCount":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.selected : stack1)},"data":data}))
|
|
16
|
+
+ "\r\n";
|
|
17
|
+
},"3":function(container,depth0,helpers,partials,data) {
|
|
18
|
+
var alias1=container.propertyIsEnumerable;
|
|
19
|
+
|
|
20
|
+
return " "
|
|
21
|
+
+ container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"noVideosSelected",{"name":"lang","hash":{},"data":data}))
|
|
22
|
+
+ "\r\n";
|
|
23
|
+
},"5":function(container,depth0,helpers,partials,data) {
|
|
24
|
+
return "disabled";
|
|
25
|
+
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
26
|
+
var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression, alias4=depth0 != null ? depth0 : (container.nullContext || {}), alias5=container.hooks.helperMissing;
|
|
27
|
+
|
|
28
|
+
return "<div class=\"p-3 w-100 "
|
|
29
|
+
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.header : stack1), depth0))
|
|
30
|
+
+ "\">\r\n <span class=\"d-inline-block\">"
|
|
31
|
+
+ alias3((helpers.lang||(depth0 && depth0.lang)||alias5).call(alias4,"addVideos",{"name":"lang","hash":{},"data":data}))
|
|
32
|
+
+ "</span>\r\n</div>\r\n<div class=\"p-3 w-100\">\r\n <h6 class=\"mt-1 mb-1\">\r\n"
|
|
33
|
+
+ ((stack1 = helpers["if"].call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.selected : stack1),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(3, data, 0),"data":data})) != null ? stack1 : "")
|
|
34
|
+
+ " </h6>\r\n <div class=\"selected-video-list-region\"></div>\r\n</div>\r\n<div class=\"py-2 px-3 w-100 "
|
|
35
|
+
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.footer : stack1), depth0))
|
|
36
|
+
+ "\">\r\n <div class=\"row\">\r\n <div class=\"col-4\">\r\n <button class=\"applink-back btn btn-secondary "
|
|
37
|
+
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.button : stack1), depth0))
|
|
38
|
+
+ "\">\r\n "
|
|
39
|
+
+ alias3((helpers.lang||(depth0 && depth0.lang)||alias5).call(alias4,"back",{"name":"lang","hash":{},"data":data}))
|
|
40
|
+
+ "\r\n </button>\r\n </div>\r\n <div class=\"col-2 offset-6 text-right spinner-region\">\r\n <button class=\"applink-next btn btn-primary "
|
|
41
|
+
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.button : stack1), depth0))
|
|
42
|
+
+ "\" "
|
|
43
|
+
+ ((stack1 = helpers["if"].call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.nextDisabled : stack1),{"name":"if","hash":{},"fn":container.program(5, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
44
|
+
+ ">\r\n "
|
|
45
|
+
+ alias3((helpers.lang||(depth0 && depth0.lang)||alias5).call(alias4,"addTitles",{"name":"lang","hash":{"smartCount":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.selected : stack1)},"data":data}))
|
|
46
|
+
+ "\r\n </button>\r\n </div>\r\n </div>\r\n</div>";
|
|
47
|
+
},"useData":true});
|
|
48
|
+
|
|
49
|
+
/***/ }),
|
|
50
|
+
|
|
51
|
+
/***/ "./src/apps/migration-wizard/views/selected-videos/SelectedVideosView.ts":
|
|
52
|
+
/*!*******************************************************************************!*\
|
|
53
|
+
!*** ./src/apps/migration-wizard/views/selected-videos/SelectedVideosView.ts ***!
|
|
54
|
+
\*******************************************************************************/
|
|
55
|
+
/*! exports provided: SelectedVideosView */
|
|
56
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
57
|
+
|
|
58
|
+
"use strict";
|
|
59
|
+
__webpack_require__.r(__webpack_exports__);
|
|
60
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SelectedVideosView", function() { return SelectedVideosView; });
|
|
61
|
+
/* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! backbone */ "backbone");
|
|
62
|
+
/* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(backbone__WEBPACK_IMPORTED_MODULE_0__);
|
|
63
|
+
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
64
|
+
/* harmony import */ var _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/services/InstanceManager */ "../../libs/common/src/backbone/services/InstanceManager.ts");
|
|
65
|
+
/* harmony import */ var _shared_components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../shared/components/spinner-button/SpinnerButtonComponent */ "./src/shared/components/spinner-button/SpinnerButtonComponent.ts");
|
|
66
|
+
/* harmony import */ var _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/services/LanguageService */ "../../libs/common/src/backbone/services/LanguageService.tsx");
|
|
67
|
+
/* harmony import */ var _shared_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../shared/constants */ "./src/shared/constants/index.ts");
|
|
68
|
+
/* harmony import */ var _shared_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../shared/utils */ "./src/shared/utils/index.ts");
|
|
69
|
+
/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../components */ "./src/apps/migration-wizard/components/index.ts");
|
|
70
|
+
/* harmony import */ var _services_MigrationVideoDataService__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../services/MigrationVideoDataService */ "./src/apps/migration-wizard/services/MigrationVideoDataService.ts");
|
|
71
|
+
/* harmony import */ var _utils_VideoHelper__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../utils/VideoHelper */ "./src/apps/migration-wizard/utils/VideoHelper.ts");
|
|
72
|
+
/* harmony import */ var _errors__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../errors */ "./src/apps/migration-wizard/errors/index.ts");
|
|
73
|
+
/* harmony import */ var _enums__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../enums */ "./src/apps/migration-wizard/enums/index.ts");
|
|
74
|
+
/* harmony import */ var _utils_MigrationHelper__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../utils/MigrationHelper */ "./src/apps/migration-wizard/utils/MigrationHelper.ts");
|
|
75
|
+
/* harmony import */ var _selected_videos_scss__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./selected-videos.scss */ "./src/apps/migration-wizard/views/selected-videos/selected-videos.scss");
|
|
76
|
+
/* harmony import */ var _selected_videos_scss__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_selected_videos_scss__WEBPACK_IMPORTED_MODULE_13__);
|
|
77
|
+
/* harmony import */ var _SelectedVideos_hbs__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./SelectedVideos.hbs */ "./src/apps/migration-wizard/views/selected-videos/SelectedVideos.hbs");
|
|
78
|
+
/* harmony import */ var _SelectedVideos_hbs__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_SelectedVideos_hbs__WEBPACK_IMPORTED_MODULE_14__);
|
|
79
|
+
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); }
|
|
80
|
+
|
|
81
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
82
|
+
|
|
83
|
+
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); } }
|
|
84
|
+
|
|
85
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
86
|
+
|
|
87
|
+
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); }
|
|
88
|
+
|
|
89
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
90
|
+
|
|
91
|
+
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); }; }
|
|
92
|
+
|
|
93
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
94
|
+
|
|
95
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
96
|
+
|
|
97
|
+
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; } }
|
|
98
|
+
|
|
99
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
var SelectedVideoComponentCollection = /*#__PURE__*/function (_Core$ComponentCollec) {
|
|
118
|
+
_inherits(SelectedVideoComponentCollection, _Core$ComponentCollec);
|
|
119
|
+
|
|
120
|
+
var _super = _createSuper(SelectedVideoComponentCollection);
|
|
121
|
+
|
|
122
|
+
function SelectedVideoComponentCollection() {
|
|
123
|
+
_classCallCheck(this, SelectedVideoComponentCollection);
|
|
124
|
+
|
|
125
|
+
return _super.apply(this, arguments);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
_createClass(SelectedVideoComponentCollection, [{
|
|
129
|
+
key: "name",
|
|
130
|
+
get: function get() {
|
|
131
|
+
return 'SelectedVideoComponentCollection';
|
|
132
|
+
}
|
|
133
|
+
}, {
|
|
134
|
+
key: "childView",
|
|
135
|
+
get: function get() {
|
|
136
|
+
return _components__WEBPACK_IMPORTED_MODULE_7__["SelectedVideoItemComponent"];
|
|
137
|
+
}
|
|
138
|
+
}]);
|
|
139
|
+
|
|
140
|
+
return SelectedVideoComponentCollection;
|
|
141
|
+
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__["Core"].ComponentCollection);
|
|
142
|
+
|
|
143
|
+
var SelectedVideosView = /*#__PURE__*/function (_Core$View) {
|
|
144
|
+
_inherits(SelectedVideosView, _Core$View);
|
|
145
|
+
|
|
146
|
+
var _super2 = _createSuper(SelectedVideosView);
|
|
147
|
+
|
|
148
|
+
function SelectedVideosView(options) {
|
|
149
|
+
_classCallCheck(this, SelectedVideosView);
|
|
150
|
+
|
|
151
|
+
return _super2.call(this, options);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
_createClass(SelectedVideosView, [{
|
|
155
|
+
key: "initialize",
|
|
156
|
+
value: function initialize() {
|
|
157
|
+
this.selectedVideoService = _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_2__["InstanceManager"].getInstance(_shared_constants__WEBPACK_IMPORTED_MODULE_5__["Services"].SelectedVideo, this);
|
|
158
|
+
this.migrationVideoDataService = _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_2__["InstanceManager"].getInstance(_shared_constants__WEBPACK_IMPORTED_MODULE_5__["DataServices"].MigrationVideo, this);
|
|
159
|
+
this.videoDataService = _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_2__["InstanceManager"].getInstance(_shared_constants__WEBPACK_IMPORTED_MODULE_5__["DataServices"].Video, this);
|
|
160
|
+
this.listenTo(this.channelName, 'add', this.onClickAdd);
|
|
161
|
+
}
|
|
162
|
+
}, {
|
|
163
|
+
key: "regions",
|
|
164
|
+
value: function regions() {
|
|
165
|
+
return {
|
|
166
|
+
selectedVideoListRegion: {
|
|
167
|
+
replaceElement: true,
|
|
168
|
+
el: '.selected-video-list-region'
|
|
169
|
+
},
|
|
170
|
+
spinner: '.spinner-region'
|
|
171
|
+
};
|
|
172
|
+
}
|
|
173
|
+
}, {
|
|
174
|
+
key: "onClickAdd",
|
|
175
|
+
value: function onClickAdd() {
|
|
176
|
+
var _this = this;
|
|
177
|
+
|
|
178
|
+
this.listenTo(_shared_constants__WEBPACK_IMPORTED_MODULE_5__["DataChannels"].MIGRATION, "".concat(_shared_constants__WEBPACK_IMPORTED_MODULE_5__["DataPrefixes"].CUSTOMER_VIDEOS, ":finalise:error"), this.onError);
|
|
179
|
+
backbone__WEBPACK_IMPORTED_MODULE_0__["Radio"].channel(this.channelName).trigger(_shared_components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_3__["SpinnerButtonEvents"].ShowSpinner);
|
|
180
|
+
var params = {};
|
|
181
|
+
|
|
182
|
+
if (_utils_MigrationHelper__WEBPACK_IMPORTED_MODULE_12__["MigrationHelper"].isInitialMigration(this.customerMetaData)) {
|
|
183
|
+
params.initialMigration = true;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
this.migrationVideoDataService.updateCustomerMigrationOption(_enums__WEBPACK_IMPORTED_MODULE_11__["MigrationOption"].Smart, function () {
|
|
187
|
+
_this.migrationVideoDataService.finaliseCustomerVideos(_this.groupedVideos, false, function (finalisationTask) {
|
|
188
|
+
_this.selectedVideoService.removeAllSelectedVideos();
|
|
189
|
+
|
|
190
|
+
_this.migrationVideoDataService.clearVideoCache();
|
|
191
|
+
|
|
192
|
+
_this.videoDataService.clearVideoCache();
|
|
193
|
+
|
|
194
|
+
_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__["Core"].AppLinkHelper.trigger({
|
|
195
|
+
application: _shared_constants__WEBPACK_IMPORTED_MODULE_5__["AppChannels"].MIGRATION_WIZARD,
|
|
196
|
+
action: _shared_constants__WEBPACK_IMPORTED_MODULE_5__["Actions"].MigrationWizard.PROGRESS,
|
|
197
|
+
args: [finalisationTask.id],
|
|
198
|
+
params: params
|
|
199
|
+
});
|
|
200
|
+
});
|
|
201
|
+
});
|
|
202
|
+
}
|
|
203
|
+
}, {
|
|
204
|
+
key: "onError",
|
|
205
|
+
value: function onError() {
|
|
206
|
+
_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__["Core"].ErrorHelper.throw(new _errors__WEBPACK_IMPORTED_MODULE_10__["MigrationFinalisationError"]());
|
|
207
|
+
}
|
|
208
|
+
}, {
|
|
209
|
+
key: "getGroupedVideos",
|
|
210
|
+
value: function getGroupedVideos() {
|
|
211
|
+
var selectedVideos = this.selectedVideoService.getSelectedVideos();
|
|
212
|
+
this.groupedVideos = new _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__["Core"].Collection(_utils_VideoHelper__WEBPACK_IMPORTED_MODULE_9__["VideoHelper"].getSelectedVideosCollection(selectedVideos).sortBy('folderChord'));
|
|
213
|
+
}
|
|
214
|
+
}, {
|
|
215
|
+
key: "renderSelectedVideoList",
|
|
216
|
+
value: function renderSelectedVideoList() {
|
|
217
|
+
this.showChildView('selectedVideoListRegion', new SelectedVideoComponentCollection({
|
|
218
|
+
collection: this.groupedVideos
|
|
219
|
+
}));
|
|
220
|
+
}
|
|
221
|
+
}, {
|
|
222
|
+
key: "renderSpinner",
|
|
223
|
+
value: function renderSpinner() {
|
|
224
|
+
var selected = this.selectedVideoService.getNumberSelected();
|
|
225
|
+
var spinner = new _shared_components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_3__["SpinnerButtonComponent"]({
|
|
226
|
+
buttonText: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(this.lang, 'buttonText', {
|
|
227
|
+
smartCount: selected
|
|
228
|
+
}),
|
|
229
|
+
extraButtonClass: 'btn-primary',
|
|
230
|
+
model: new _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__["Core"].Model({
|
|
231
|
+
disabled: selected === 0
|
|
232
|
+
}),
|
|
233
|
+
spinnerOptions: {
|
|
234
|
+
size: _shared_utils__WEBPACK_IMPORTED_MODULE_6__["SpinnerSize"].Small,
|
|
235
|
+
type: _shared_utils__WEBPACK_IMPORTED_MODULE_6__["SpinnerType"].Light,
|
|
236
|
+
extraClasses: 'mx-auto'
|
|
237
|
+
},
|
|
238
|
+
saveEvent: 'add',
|
|
239
|
+
channelName: this.channelName
|
|
240
|
+
});
|
|
241
|
+
this.showChildView('spinner', spinner);
|
|
242
|
+
}
|
|
243
|
+
}, {
|
|
244
|
+
key: "viewOptions",
|
|
245
|
+
value: function viewOptions() {
|
|
246
|
+
var selected = this.selectedVideoService.getNumberSelected();
|
|
247
|
+
return {
|
|
248
|
+
styles: _selected_videos_scss__WEBPACK_IMPORTED_MODULE_13___default.a,
|
|
249
|
+
selected: selected,
|
|
250
|
+
multipleSelected: selected > 1,
|
|
251
|
+
nextDisabled: selected === 0
|
|
252
|
+
};
|
|
253
|
+
}
|
|
254
|
+
}, {
|
|
255
|
+
key: "onRender",
|
|
256
|
+
value: function onRender() {
|
|
257
|
+
this.getGroupedVideos();
|
|
258
|
+
this.renderSelectedVideoList();
|
|
259
|
+
this.renderSpinner();
|
|
260
|
+
}
|
|
261
|
+
}, {
|
|
262
|
+
key: "name",
|
|
263
|
+
get: function get() {
|
|
264
|
+
return 'SelectedVideosView';
|
|
265
|
+
}
|
|
266
|
+
}, {
|
|
267
|
+
key: "title",
|
|
268
|
+
get: function get() {
|
|
269
|
+
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(this.lang, 'title');
|
|
270
|
+
}
|
|
271
|
+
}, {
|
|
272
|
+
key: "lang",
|
|
273
|
+
get: function get() {
|
|
274
|
+
return 'migrationWizard.selectedVideos';
|
|
275
|
+
}
|
|
276
|
+
}, {
|
|
277
|
+
key: "template",
|
|
278
|
+
get: function get() {
|
|
279
|
+
return _SelectedVideos_hbs__WEBPACK_IMPORTED_MODULE_14___default.a;
|
|
280
|
+
}
|
|
281
|
+
}, {
|
|
282
|
+
key: "className",
|
|
283
|
+
get: function get() {
|
|
284
|
+
return "row mt-2 container-region ".concat(_selected_videos_scss__WEBPACK_IMPORTED_MODULE_13___default.a.container);
|
|
285
|
+
}
|
|
286
|
+
}, {
|
|
287
|
+
key: "channelName",
|
|
288
|
+
get: function get() {
|
|
289
|
+
return "".concat(this.name).concat(this.cid);
|
|
290
|
+
}
|
|
291
|
+
}, {
|
|
292
|
+
key: "appLinks",
|
|
293
|
+
get: function get() {
|
|
294
|
+
return {
|
|
295
|
+
'.applink-back': {
|
|
296
|
+
application: _shared_constants__WEBPACK_IMPORTED_MODULE_5__["AppChannels"].MIGRATION_WIZARD,
|
|
297
|
+
action: _shared_constants__WEBPACK_IMPORTED_MODULE_5__["Actions"].MigrationWizard.HOME,
|
|
298
|
+
params: {
|
|
299
|
+
folder: this.options.previousFolderChord
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
};
|
|
303
|
+
}
|
|
304
|
+
}, {
|
|
305
|
+
key: "requiredResources",
|
|
306
|
+
get: function get() {
|
|
307
|
+
return {
|
|
308
|
+
customerMetaData: _services_MigrationVideoDataService__WEBPACK_IMPORTED_MODULE_8__["MigrationVideoDataServiceHelper"].customerMetaData
|
|
309
|
+
};
|
|
310
|
+
}
|
|
311
|
+
}]);
|
|
312
|
+
|
|
313
|
+
return SelectedVideosView;
|
|
314
|
+
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__["Core"].View);
|
|
315
|
+
|
|
316
|
+
/***/ }),
|
|
317
|
+
|
|
318
|
+
/***/ "./src/apps/migration-wizard/views/selected-videos/selected-videos.scss":
|
|
319
|
+
/*!******************************************************************************!*\
|
|
320
|
+
!*** ./src/apps/migration-wizard/views/selected-videos/selected-videos.scss ***!
|
|
321
|
+
\******************************************************************************/
|
|
322
|
+
/*! no static exports found */
|
|
323
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
324
|
+
|
|
325
|
+
// extracted by mini-css-extract-plugin
|
|
326
|
+
module.exports = {"container":"cv--container--2SvL3","header":"cv--header--2KEEa","footer":"cv--footer--wCMJb"};
|
|
327
|
+
|
|
328
|
+
/***/ })
|
|
329
|
+
|
|
330
|
+
}]);
|
|
331
|
+
//# sourceMappingURL=72.chunk.js.map
|