@clickview/library-editor 1.1.20 → 1.1.21-rc.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/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 +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.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 +2 -0
- package/dist/css/48.chunk.css.map +1 -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 +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/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 +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.map +1 -0
- 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/en.json +1 -1
- package/dist/projects/library-editor/src/polyfills.d.ts +2 -0
- package/dist/scripts/0-ca679202dc.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-e99f6a4b40.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-db266215e5.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-51ab13cf04.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-a8ad430f3a.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-107ba2526f.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-4ba74c2937.chunk.js +1 -0
- package/dist/scripts/14-d19ac2872e.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-979015a718.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-2a8bfb08cb.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-b7d5d41f7e.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-affb19e639.chunk.js → 19-fdfbfb15d9.chunk.js} +1 -1
- package/dist/scripts/19.chunk.js +364 -0
- package/dist/scripts/19.chunk.js.map +1 -0
- package/dist/scripts/2-4e0702e404.chunk.js +1 -0
- package/dist/scripts/2.chunk.js +519 -0
- package/dist/scripts/2.chunk.js.map +1 -0
- package/dist/scripts/{20-5dcf516232.chunk.js → 20-2a3852f248.chunk.js} +1 -1
- package/dist/scripts/20-3c3507043d.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-e1b652cbbd.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-6ff4c8acc9.chunk.js +1 -0
- package/dist/scripts/{22-77a9f00273.chunk.js → 22-fe55249d75.chunk.js} +1 -1
- package/dist/scripts/22.chunk.js +354 -0
- package/dist/scripts/22.chunk.js.map +1 -0
- package/dist/scripts/23-84f6d42051.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-71d0e5af84.chunk.js +1 -0
- package/dist/scripts/24-d315d1f63e.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-63e55b94d1.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-03148e2beb.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-4c1566e168.chunk.js +1 -0
- package/dist/scripts/27.chunk.js +3565 -0
- package/dist/scripts/27.chunk.js.map +1 -0
- package/dist/scripts/28-8b6147f186.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-ab744bc76f.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-948dad23b7.chunk.js +1 -0
- package/dist/scripts/3.chunk.js +833 -0
- package/dist/scripts/3.chunk.js.map +1 -0
- package/dist/scripts/30-ca11897c8c.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-c52013832c.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-800ff7a3d2.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-a78c3eebd5.chunk.js +1 -0
- package/dist/scripts/33.chunk.js +792 -0
- package/dist/scripts/33.chunk.js.map +1 -0
- package/dist/scripts/34-3c4c65d69b.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-8f001c740f.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-3aeb2db7b1.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-f837b37da6.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-96a70abc7e.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-2c91ed5792.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-47a1458dff.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-f3651a4572.chunk.js +1 -0
- package/dist/scripts/40.chunk.js +1782 -0
- package/dist/scripts/40.chunk.js.map +1 -0
- package/dist/scripts/41-908d353ede.chunk.js +1 -0
- package/dist/scripts/41.chunk.js +2347 -0
- package/dist/scripts/41.chunk.js.map +1 -0
- package/dist/scripts/42-7de5d85207.chunk.js +1 -0
- package/dist/scripts/42.chunk.js +2116 -0
- package/dist/scripts/42.chunk.js.map +1 -0
- package/dist/scripts/43-f1361f956d.chunk.js +1 -0
- package/dist/scripts/43.chunk.js +2243 -0
- package/dist/scripts/43.chunk.js.map +1 -0
- package/dist/scripts/44-50769e406b.chunk.js +1 -0
- package/dist/scripts/44.chunk.js +1024 -0
- package/dist/scripts/44.chunk.js.map +1 -0
- package/dist/scripts/45-9a434a5bd6.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-a9ca193eb7.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-a919e008e6.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-8b8ad444c6.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-1060332c94.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-cbac37484e.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-421fc85bef.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-7677f7ff70.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-d4c61c1996.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-8ae575251b.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-6068a4d6c5.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-989847d37e.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-1215f5b596.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-862310acde.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-15786678f5.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-0eaa35b612.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-c9648df42d.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-fd82862934.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-51fca2bf0e.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-2a372f4810.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-3efa945b24.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-eafdec6ee2.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-7de035024e.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-b42ac9bb08.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-07f4863ec4.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-6c49662638.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-30f7b9bd2b.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-06de2dc87e.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-9a7afc7f7c.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-8b092d42ed.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-f1b9669186.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-7a1c9219fe.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-5bc6861938.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-11b849726e.min.js → bundle-59190acd1d.min.js} +1 -1
- package/dist/scripts/bundle-d83d171bc0.min.js +1 -0
- package/dist/scripts/bundle.js +60670 -0
- package/dist/scripts/bundle.js.map +1 -0
- package/dist/scripts/bundles.json +1 -1
- package/dist/scripts/polyfills-cf8a15183c.min.js +1 -0
- package/dist/scripts/polyfills.js +14844 -0
- package/dist/scripts/polyfills.js.map +1 -0
- package/package.json +1 -1
- package/dist/scripts/14-1c1b7086df.chunk.js +0 -1
- package/dist/scripts/24-5ca282f342.chunk.js +0 -1
- package/dist/scripts/bundle-185116e7ce.min.js +0 -1
- package/dist/scripts/bundle-4e8076626a.min.js +0 -1
- package/dist/scripts/bundle-ce2fb238f9.min.js +0 -1
- /package/dist/scripts/{0-2be1201a7f.chunk.js → 0-5cfd81c5b7.chunk.js} +0 -0
- /package/dist/scripts/{1-d3c96b4670.chunk.js → 1-02900e91c8.chunk.js} +0 -0
- /package/dist/scripts/{10-2cebec08a5.chunk.js → 10-2558a4f6a6.chunk.js} +0 -0
- /package/dist/scripts/{12-b168953b47.chunk.js → 12-b3c8af1fb7.chunk.js} +0 -0
- /package/dist/scripts/{13-8e3a8d1629.chunk.js → 13-8fd33f0d33.chunk.js} +0 -0
- /package/dist/scripts/{15-6df8e05fe9.chunk.js → 15-3fb1369b8b.chunk.js} +0 -0
- /package/dist/scripts/{16-19085b3dd0.chunk.js → 16-5f7d89367f.chunk.js} +0 -0
- /package/dist/scripts/{17-b7c4c476aa.chunk.js → 17-63ee1b2529.chunk.js} +0 -0
- /package/dist/scripts/{21-782b1e8947.chunk.js → 21-748e54dbc1.chunk.js} +0 -0
- /package/dist/scripts/{23-c380087827.chunk.js → 23-1b0f859ba9.chunk.js} +0 -0
- /package/dist/scripts/{25-a595940248.chunk.js → 25-50bf24f2e7.chunk.js} +0 -0
- /package/dist/scripts/{26-52d8ede81f.chunk.js → 26-9209dc4006.chunk.js} +0 -0
- /package/dist/scripts/{27-00d6b5a4bd.chunk.js → 27-cfaaee855b.chunk.js} +0 -0
- /package/dist/scripts/{28-58cc01c876.chunk.js → 28-92c8346c07.chunk.js} +0 -0
- /package/dist/scripts/{29-552493a7ad.chunk.js → 29-d28a7e6dd4.chunk.js} +0 -0
- /package/dist/scripts/{3-a32cc1fdf4.chunk.js → 3-4a530a333c.chunk.js} +0 -0
- /package/dist/scripts/{30-3b0ed0fdaa.chunk.js → 30-fbad88a9f4.chunk.js} +0 -0
- /package/dist/scripts/{31-d46eb161fa.chunk.js → 31-d20a063f74.chunk.js} +0 -0
- /package/dist/scripts/{32-728cc1e053.chunk.js → 32-83c288277a.chunk.js} +0 -0
- /package/dist/scripts/{33-9f130fa663.chunk.js → 33-d18ea4d876.chunk.js} +0 -0
- /package/dist/scripts/{34-45ad8a1808.chunk.js → 34-091c786dce.chunk.js} +0 -0
- /package/dist/scripts/{35-38b73094a5.chunk.js → 35-0c6586952b.chunk.js} +0 -0
- /package/dist/scripts/{36-6cc9b2e1f9.chunk.js → 36-1ccd0972c3.chunk.js} +0 -0
- /package/dist/scripts/{37-18f74bd058.chunk.js → 37-8f42bceb45.chunk.js} +0 -0
- /package/dist/scripts/{38-ca9a95b14a.chunk.js → 38-d7d62322f5.chunk.js} +0 -0
- /package/dist/scripts/{39-21e6ce932e.chunk.js → 39-bb9b360909.chunk.js} +0 -0
- /package/dist/scripts/{4-7f5573ad9d.chunk.js → 4-8113cd5e5f.chunk.js} +0 -0
- /package/dist/scripts/{40-040a76d3cb.chunk.js → 40-3a2bc3efb5.chunk.js} +0 -0
- /package/dist/scripts/{41-ea0bd0118f.chunk.js → 41-ed440ed238.chunk.js} +0 -0
- /package/dist/scripts/{42-ede0513e1c.chunk.js → 42-ebc7055bff.chunk.js} +0 -0
- /package/dist/scripts/{43-512f52a709.chunk.js → 43-e51537033a.chunk.js} +0 -0
- /package/dist/scripts/{44-2b494ad559.chunk.js → 44-6723137d3c.chunk.js} +0 -0
- /package/dist/scripts/{45-74c1071058.chunk.js → 45-3facb92251.chunk.js} +0 -0
- /package/dist/scripts/{46-fa6537374c.chunk.js → 46-3c1d18537f.chunk.js} +0 -0
- /package/dist/scripts/{47-4fbd9bf958.chunk.js → 47-e0da14a863.chunk.js} +0 -0
- /package/dist/scripts/{48-de58133c08.chunk.js → 48-b85bc015f4.chunk.js} +0 -0
- /package/dist/scripts/{49-4035147a3b.chunk.js → 49-b483eef74a.chunk.js} +0 -0
- /package/dist/scripts/{5-08ffe0918e.chunk.js → 5-60fc8800ea.chunk.js} +0 -0
- /package/dist/scripts/{50-c2be46fa7e.chunk.js → 50-b6cc483c00.chunk.js} +0 -0
- /package/dist/scripts/{51-beb5c51318.chunk.js → 51-4f6a060651.chunk.js} +0 -0
- /package/dist/scripts/{52-773e36d3f9.chunk.js → 52-b230866888.chunk.js} +0 -0
- /package/dist/scripts/{53-a5d949340b.chunk.js → 53-75167bdab5.chunk.js} +0 -0
- /package/dist/scripts/{54-4083e51a52.chunk.js → 54-271ff9bc1f.chunk.js} +0 -0
- /package/dist/scripts/{55-622f7871d6.chunk.js → 55-28eb6e9490.chunk.js} +0 -0
- /package/dist/scripts/{56-b48e08b8ef.chunk.js → 56-ad15cf3a24.chunk.js} +0 -0
- /package/dist/scripts/{57-1feff40a08.chunk.js → 57-4ee38f6dfb.chunk.js} +0 -0
- /package/dist/scripts/{58-46d9ab3567.chunk.js → 58-db8bd0b196.chunk.js} +0 -0
- /package/dist/scripts/{59-4f532af025.chunk.js → 59-06fe04a841.chunk.js} +0 -0
- /package/dist/scripts/{6-0aba54255e.chunk.js → 6-034525045d.chunk.js} +0 -0
- /package/dist/scripts/{60-b977e9f98a.chunk.js → 60-65b9e3c4cc.chunk.js} +0 -0
- /package/dist/scripts/{61-a08050a033.chunk.js → 61-04a4402586.chunk.js} +0 -0
- /package/dist/scripts/{62-2d7c9575cd.chunk.js → 62-ecf68acb5b.chunk.js} +0 -0
- /package/dist/scripts/{63-1b5541b59d.chunk.js → 63-40f1a00059.chunk.js} +0 -0
- /package/dist/scripts/{64-5802c4c4a1.chunk.js → 64-10490dd130.chunk.js} +0 -0
- /package/dist/scripts/{65-a5583b77b5.chunk.js → 65-e21cf6afee.chunk.js} +0 -0
- /package/dist/scripts/{66-e6cbf6eff1.chunk.js → 66-48ec3bc2f0.chunk.js} +0 -0
- /package/dist/scripts/{67-147f6e38b8.chunk.js → 67-710816f12f.chunk.js} +0 -0
- /package/dist/scripts/{68-09d43f4bf6.chunk.js → 68-1492219d83.chunk.js} +0 -0
- /package/dist/scripts/{69-730a9f6e1b.chunk.js → 69-124ee4f3d9.chunk.js} +0 -0
- /package/dist/scripts/{7-3a6b348c77.chunk.js → 7-a85b66b657.chunk.js} +0 -0
- /package/dist/scripts/{70-99fa48a87e.chunk.js → 70-b92e3565a7.chunk.js} +0 -0
- /package/dist/scripts/{71-e6e4debb3b.chunk.js → 71-31882a2ab7.chunk.js} +0 -0
- /package/dist/scripts/{8-e6e81f44e1.chunk.js → 8-5470e85f17.chunk.js} +0 -0
- /package/dist/scripts/{9-350230f5b4.chunk.js → 9-3b8d8fb294.chunk.js} +0 -0
|
@@ -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/front-end/clickview/packages/projects/library-editor/src/apps/migration-wizard/views/publisher-backup/PublisherBackup.hbs","file://C:/ClickView/front-end/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?b8bb"],"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],{1177:function(t,e,n){var r=n(9);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})},1387: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(14),u=n(275),c=n(6),a=n(0),f=n(1177),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
|