@clickview/library-editor 1.1.22-dev.0 → 1.1.22-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +16 -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 +6 -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 +39 -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 +5 -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 +6 -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 +0 -1
- package/dist/libs/analytics/src/interfaces/AnalyticsTypes.d.ts +6 -5
- package/dist/libs/analytics/src/interfaces/User.d.ts +0 -11
- package/dist/libs/analytics/src/models/CollectionEvent.d.ts +0 -6
- package/dist/libs/analytics/src/utils/CollectionApiClientHelper.d.ts +1 -1
- package/dist/libs/shared/src/interfaces/models/Library.d.ts +0 -2
- package/dist/libs/shared/src/interfaces/models/Video.d.ts +2 -1
- package/dist/libs/shared/src/interfaces/models/Widget.d.ts +1 -2
- package/dist/scripts/{0-eaef5ecde2.chunk.js → 0-ca7f09e08e.chunk.js} +1 -1
- package/dist/scripts/0.chunk.js +1034 -0
- package/dist/scripts/0.chunk.js.map +1 -0
- package/dist/scripts/1.chunk.js +442 -0
- package/dist/scripts/1.chunk.js.map +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-1b54171e80.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.chunk.js +555 -0
- package/dist/scripts/12.chunk.js.map +1 -0
- package/dist/scripts/13.chunk.js +373 -0
- package/dist/scripts/13.chunk.js.map +1 -0
- package/dist/scripts/{14-51c280e35b.chunk.js → 14-cef35ea210.chunk.js} +1 -1
- package/dist/scripts/14.chunk.js +2386 -0
- package/dist/scripts/14.chunk.js.map +1 -0
- package/dist/scripts/15.chunk.js +314 -0
- package/dist/scripts/15.chunk.js.map +1 -0
- package/dist/scripts/16.chunk.js +1290 -0
- package/dist/scripts/16.chunk.js.map +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-60a460d45c.chunk.js → 19-5f4fce6026.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.chunk.js +523 -0
- package/dist/scripts/2.chunk.js.map +1 -0
- package/dist/scripts/{20-9d2f42988d.chunk.js → 20-d540a58c1f.chunk.js} +1 -1
- package/dist/scripts/20.chunk.js +317 -0
- package/dist/scripts/20.chunk.js.map +1 -0
- package/dist/scripts/21.chunk.js +531 -0
- package/dist/scripts/21.chunk.js.map +1 -0
- package/dist/scripts/{22-34d9e08c4f.chunk.js → 22-648e1f017c.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.chunk.js +604 -0
- package/dist/scripts/23.chunk.js.map +1 -0
- package/dist/scripts/{24-016a5633a1.chunk.js → 24-5a4074f0f1.chunk.js} +1 -1
- package/dist/scripts/24.chunk.js +318 -0
- package/dist/scripts/24.chunk.js.map +1 -0
- package/dist/scripts/25.chunk.js +365 -0
- package/dist/scripts/25.chunk.js.map +1 -0
- package/dist/scripts/26.chunk.js +442 -0
- package/dist/scripts/26.chunk.js.map +1 -0
- package/dist/scripts/27.chunk.js +3565 -0
- package/dist/scripts/27.chunk.js.map +1 -0
- package/dist/scripts/28.chunk.js +3173 -0
- package/dist/scripts/28.chunk.js.map +1 -0
- package/dist/scripts/29.chunk.js +3088 -0
- package/dist/scripts/29.chunk.js.map +1 -0
- package/dist/scripts/3.chunk.js +852 -0
- package/dist/scripts/3.chunk.js.map +1 -0
- package/dist/scripts/30.chunk.js +1852 -0
- package/dist/scripts/30.chunk.js.map +1 -0
- package/dist/scripts/31.chunk.js +958 -0
- package/dist/scripts/31.chunk.js.map +1 -0
- package/dist/scripts/32.chunk.js +1235 -0
- package/dist/scripts/32.chunk.js.map +1 -0
- package/dist/scripts/33.chunk.js +792 -0
- package/dist/scripts/33.chunk.js.map +1 -0
- package/dist/scripts/34.chunk.js +990 -0
- package/dist/scripts/34.chunk.js.map +1 -0
- package/dist/scripts/35.chunk.js +518 -0
- package/dist/scripts/35.chunk.js.map +1 -0
- package/dist/scripts/36.chunk.js +335 -0
- package/dist/scripts/36.chunk.js.map +1 -0
- package/dist/scripts/37.chunk.js +236 -0
- package/dist/scripts/37.chunk.js.map +1 -0
- package/dist/scripts/38.chunk.js +315 -0
- package/dist/scripts/38.chunk.js.map +1 -0
- package/dist/scripts/39.chunk.js +116 -0
- package/dist/scripts/39.chunk.js.map +1 -0
- package/dist/scripts/4.chunk.js +335 -0
- package/dist/scripts/4.chunk.js.map +1 -0
- package/dist/scripts/40.chunk.js +1782 -0
- package/dist/scripts/40.chunk.js.map +1 -0
- package/dist/scripts/41.chunk.js +2347 -0
- package/dist/scripts/41.chunk.js.map +1 -0
- package/dist/scripts/42.chunk.js +2116 -0
- package/dist/scripts/42.chunk.js.map +1 -0
- package/dist/scripts/43.chunk.js +2243 -0
- package/dist/scripts/43.chunk.js.map +1 -0
- package/dist/scripts/44.chunk.js +1024 -0
- package/dist/scripts/44.chunk.js.map +1 -0
- package/dist/scripts/45.chunk.js +1065 -0
- package/dist/scripts/45.chunk.js.map +1 -0
- package/dist/scripts/46.chunk.js +656 -0
- package/dist/scripts/46.chunk.js.map +1 -0
- package/dist/scripts/47.chunk.js +735 -0
- package/dist/scripts/47.chunk.js.map +1 -0
- package/dist/scripts/48.chunk.js +994 -0
- package/dist/scripts/48.chunk.js.map +1 -0
- package/dist/scripts/49.chunk.js +759 -0
- package/dist/scripts/49.chunk.js.map +1 -0
- package/dist/scripts/5.chunk.js +40 -0
- package/dist/scripts/5.chunk.js.map +1 -0
- package/dist/scripts/50.chunk.js +528 -0
- package/dist/scripts/50.chunk.js.map +1 -0
- package/dist/scripts/51.chunk.js +932 -0
- package/dist/scripts/51.chunk.js.map +1 -0
- package/dist/scripts/52.chunk.js +408 -0
- package/dist/scripts/52.chunk.js.map +1 -0
- package/dist/scripts/53.chunk.js +754 -0
- package/dist/scripts/53.chunk.js.map +1 -0
- package/dist/scripts/54.chunk.js +681 -0
- package/dist/scripts/54.chunk.js.map +1 -0
- package/dist/scripts/55.chunk.js +645 -0
- package/dist/scripts/55.chunk.js.map +1 -0
- package/dist/scripts/56.chunk.js +346 -0
- package/dist/scripts/56.chunk.js.map +1 -0
- package/dist/scripts/57.chunk.js +422 -0
- package/dist/scripts/57.chunk.js.map +1 -0
- package/dist/scripts/58.chunk.js +437 -0
- package/dist/scripts/58.chunk.js.map +1 -0
- package/dist/scripts/59.chunk.js +342 -0
- package/dist/scripts/59.chunk.js.map +1 -0
- package/dist/scripts/6.chunk.js +484 -0
- package/dist/scripts/6.chunk.js.map +1 -0
- package/dist/scripts/60.chunk.js +254 -0
- package/dist/scripts/60.chunk.js.map +1 -0
- package/dist/scripts/61.chunk.js +409 -0
- package/dist/scripts/61.chunk.js.map +1 -0
- package/dist/scripts/62.chunk.js +142 -0
- package/dist/scripts/62.chunk.js.map +1 -0
- package/dist/scripts/63.chunk.js +147 -0
- package/dist/scripts/63.chunk.js.map +1 -0
- package/dist/scripts/64.chunk.js +439 -0
- package/dist/scripts/64.chunk.js.map +1 -0
- package/dist/scripts/65.chunk.js +582 -0
- package/dist/scripts/65.chunk.js.map +1 -0
- package/dist/scripts/66.chunk.js +442 -0
- package/dist/scripts/66.chunk.js.map +1 -0
- package/dist/scripts/67.chunk.js +295 -0
- package/dist/scripts/67.chunk.js.map +1 -0
- package/dist/scripts/68.chunk.js +165 -0
- package/dist/scripts/68.chunk.js.map +1 -0
- package/dist/scripts/69.chunk.js +248 -0
- package/dist/scripts/69.chunk.js.map +1 -0
- package/dist/scripts/7.chunk.js +309 -0
- package/dist/scripts/7.chunk.js.map +1 -0
- package/dist/scripts/70.chunk.js +207 -0
- package/dist/scripts/70.chunk.js.map +1 -0
- package/dist/scripts/71.chunk.js +237 -0
- package/dist/scripts/71.chunk.js.map +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.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.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-50de308570.min.js +1 -0
- package/dist/scripts/bundle.js +75409 -0
- package/dist/scripts/bundle.js.map +1 -0
- package/dist/scripts/bundles.json +1 -1
- package/package.json +3 -3
- package/dist/libs/analytics/src/utils/UrlHelper.d.ts +0 -3
- package/dist/scripts/0-2be1201a7f.chunk.js +0 -1
- package/dist/scripts/1-a5cc718d87.chunk.js +0 -1
- package/dist/scripts/10-45965d4b35.chunk.js +0 -1
- package/dist/scripts/11-f6440b4817.chunk.js +0 -11
- package/dist/scripts/12-e20e65ba66.chunk.js +0 -1
- package/dist/scripts/13-478d36874e.chunk.js +0 -1
- package/dist/scripts/14-1c1b7086df.chunk.js +0 -1
- package/dist/scripts/15-3ea90c7f2b.chunk.js +0 -1
- package/dist/scripts/16-acc86eb68f.chunk.js +0 -1
- package/dist/scripts/17-d554b22431.chunk.js +0 -1
- package/dist/scripts/19-affb19e639.chunk.js +0 -1
- package/dist/scripts/2-4e0702e404.chunk.js +0 -1
- package/dist/scripts/20-5dcf516232.chunk.js +0 -1
- package/dist/scripts/21-96943e8e2e.chunk.js +0 -1
- package/dist/scripts/22-77a9f00273.chunk.js +0 -1
- package/dist/scripts/23-705015690e.chunk.js +0 -1
- package/dist/scripts/24-5ca282f342.chunk.js +0 -1
- package/dist/scripts/25-8deddd129b.chunk.js +0 -1
- package/dist/scripts/26-0c6978ddaf.chunk.js +0 -1
- package/dist/scripts/27-f5f6a3e034.chunk.js +0 -1
- package/dist/scripts/28-296a176732.chunk.js +0 -1
- package/dist/scripts/29-22f2e2ea2c.chunk.js +0 -1
- package/dist/scripts/3-0aaf52b509.chunk.js +0 -1
- package/dist/scripts/30-46c8fc5298.chunk.js +0 -1
- package/dist/scripts/31-e0664489be.chunk.js +0 -1
- package/dist/scripts/32-4b63dcbb7b.chunk.js +0 -1
- package/dist/scripts/33-025aeeb20f.chunk.js +0 -1
- package/dist/scripts/34-9cca9a84da.chunk.js +0 -1
- package/dist/scripts/35-3e8c61da4b.chunk.js +0 -1
- package/dist/scripts/36-1a21f0d45e.chunk.js +0 -1
- package/dist/scripts/37-f001683671.chunk.js +0 -1
- package/dist/scripts/38-56c874ffd9.chunk.js +0 -1
- package/dist/scripts/39-c430057f22.chunk.js +0 -1
- package/dist/scripts/4-a3bea5bc2e.chunk.js +0 -1
- package/dist/scripts/40-a71e96f832.chunk.js +0 -1
- package/dist/scripts/41-81291dc01d.chunk.js +0 -1
- package/dist/scripts/42-b3026bbe85.chunk.js +0 -1
- package/dist/scripts/43-14717ab10e.chunk.js +0 -1
- package/dist/scripts/44-9f58eac7fb.chunk.js +0 -1
- package/dist/scripts/45-bd9ab3768c.chunk.js +0 -1
- package/dist/scripts/46-9305853433.chunk.js +0 -1
- package/dist/scripts/47-0c4ea5056f.chunk.js +0 -1
- package/dist/scripts/48-02221786f6.chunk.js +0 -1
- package/dist/scripts/49-6ed5d129bd.chunk.js +0 -1
- package/dist/scripts/5-7fb8c45175.chunk.js +0 -1
- package/dist/scripts/50-d14590ec16.chunk.js +0 -1
- package/dist/scripts/51-af703467b7.chunk.js +0 -1
- package/dist/scripts/52-b8ea343218.chunk.js +0 -1
- package/dist/scripts/53-230b22e150.chunk.js +0 -1
- package/dist/scripts/54-c4b9fb8e7e.chunk.js +0 -1
- package/dist/scripts/55-69d94319fd.chunk.js +0 -1
- package/dist/scripts/56-dc4d1d329f.chunk.js +0 -1
- package/dist/scripts/57-a3f0d38fb6.chunk.js +0 -1
- package/dist/scripts/58-b77ed961f9.chunk.js +0 -1
- package/dist/scripts/59-aea2d5149b.chunk.js +0 -1
- package/dist/scripts/6-681dddbd4a.chunk.js +0 -1
- package/dist/scripts/60-e178e4a011.chunk.js +0 -1
- package/dist/scripts/61-6dd78115a3.chunk.js +0 -1
- package/dist/scripts/62-46f52df0e8.chunk.js +0 -1
- package/dist/scripts/63-5286529228.chunk.js +0 -1
- package/dist/scripts/64-32fd208e3a.chunk.js +0 -1
- package/dist/scripts/65-15f41200fe.chunk.js +0 -1
- package/dist/scripts/66-11c7d6d497.chunk.js +0 -1
- package/dist/scripts/67-cb84f57192.chunk.js +0 -1
- package/dist/scripts/68-7e889f9ef0.chunk.js +0 -1
- package/dist/scripts/69-9f4c6359af.chunk.js +0 -1
- package/dist/scripts/7-f7da2c5773.chunk.js +0 -1
- package/dist/scripts/70-f68e1880cd.chunk.js +0 -1
- package/dist/scripts/71-4d61a602c4.chunk.js +0 -1
- package/dist/scripts/8-d868d1dd39.chunk.js +0 -1
- package/dist/scripts/9-b80fd716f7.chunk.js +0 -1
- package/dist/scripts/bundle-0b5195c368.min.js +0 -1
- package/dist/scripts/bundle-11b849726e.min.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/{1-d3c96b4670.chunk.js → 1-d9620ef762.chunk.js} +0 -0
- /package/dist/scripts/{10-2cebec08a5.chunk.js → 10-a1c7069607.chunk.js} +0 -0
- /package/dist/scripts/{12-b168953b47.chunk.js → 12-a3e5f1e280.chunk.js} +0 -0
- /package/dist/scripts/{13-8e3a8d1629.chunk.js → 13-52245beebb.chunk.js} +0 -0
- /package/dist/scripts/{15-6df8e05fe9.chunk.js → 15-ee0cab114c.chunk.js} +0 -0
- /package/dist/scripts/{16-19085b3dd0.chunk.js → 16-5fddd22f7d.chunk.js} +0 -0
- /package/dist/scripts/{17-b7c4c476aa.chunk.js → 17-b5d97fb4dd.chunk.js} +0 -0
- /package/dist/scripts/{21-782b1e8947.chunk.js → 21-6f86c283b4.chunk.js} +0 -0
- /package/dist/scripts/{23-c380087827.chunk.js → 23-2113eeb854.chunk.js} +0 -0
- /package/dist/scripts/{25-a595940248.chunk.js → 25-b45876801c.chunk.js} +0 -0
- /package/dist/scripts/{26-52d8ede81f.chunk.js → 26-bbe969d1a3.chunk.js} +0 -0
- /package/dist/scripts/{27-00d6b5a4bd.chunk.js → 27-eeb897a7a5.chunk.js} +0 -0
- /package/dist/scripts/{28-58cc01c876.chunk.js → 28-2d69a65731.chunk.js} +0 -0
- /package/dist/scripts/{29-552493a7ad.chunk.js → 29-eeaac071fc.chunk.js} +0 -0
- /package/dist/scripts/{3-a32cc1fdf4.chunk.js → 3-93b74b7366.chunk.js} +0 -0
- /package/dist/scripts/{30-3b0ed0fdaa.chunk.js → 30-dea1697d07.chunk.js} +0 -0
- /package/dist/scripts/{31-d46eb161fa.chunk.js → 31-af82844bc0.chunk.js} +0 -0
- /package/dist/scripts/{32-728cc1e053.chunk.js → 32-7c6503668b.chunk.js} +0 -0
- /package/dist/scripts/{33-9f130fa663.chunk.js → 33-03635bbb7b.chunk.js} +0 -0
- /package/dist/scripts/{34-45ad8a1808.chunk.js → 34-daddc694a1.chunk.js} +0 -0
- /package/dist/scripts/{35-38b73094a5.chunk.js → 35-fd15607048.chunk.js} +0 -0
- /package/dist/scripts/{36-6cc9b2e1f9.chunk.js → 36-541f0ca2b5.chunk.js} +0 -0
- /package/dist/scripts/{37-18f74bd058.chunk.js → 37-185d42d6a8.chunk.js} +0 -0
- /package/dist/scripts/{38-ca9a95b14a.chunk.js → 38-e6a036e506.chunk.js} +0 -0
- /package/dist/scripts/{39-21e6ce932e.chunk.js → 39-2f85f9a6ae.chunk.js} +0 -0
- /package/dist/scripts/{4-7f5573ad9d.chunk.js → 4-89c4938328.chunk.js} +0 -0
- /package/dist/scripts/{40-040a76d3cb.chunk.js → 40-176a8a0ae0.chunk.js} +0 -0
- /package/dist/scripts/{41-ea0bd0118f.chunk.js → 41-f9ac40ad12.chunk.js} +0 -0
- /package/dist/scripts/{42-ede0513e1c.chunk.js → 42-49f22ffe17.chunk.js} +0 -0
- /package/dist/scripts/{43-512f52a709.chunk.js → 43-d79514b07d.chunk.js} +0 -0
- /package/dist/scripts/{44-2b494ad559.chunk.js → 44-d667358455.chunk.js} +0 -0
- /package/dist/scripts/{45-74c1071058.chunk.js → 45-584e00f551.chunk.js} +0 -0
- /package/dist/scripts/{46-fa6537374c.chunk.js → 46-0a345195cb.chunk.js} +0 -0
- /package/dist/scripts/{47-4fbd9bf958.chunk.js → 47-796c3370d9.chunk.js} +0 -0
- /package/dist/scripts/{48-de58133c08.chunk.js → 48-8c15455e0a.chunk.js} +0 -0
- /package/dist/scripts/{49-4035147a3b.chunk.js → 49-0e526f5150.chunk.js} +0 -0
- /package/dist/scripts/{5-08ffe0918e.chunk.js → 5-ae7056b666.chunk.js} +0 -0
- /package/dist/scripts/{50-c2be46fa7e.chunk.js → 50-6d83730d97.chunk.js} +0 -0
- /package/dist/scripts/{51-beb5c51318.chunk.js → 51-525f824f4c.chunk.js} +0 -0
- /package/dist/scripts/{52-773e36d3f9.chunk.js → 52-ab80c61a4d.chunk.js} +0 -0
- /package/dist/scripts/{53-a5d949340b.chunk.js → 53-d843e342ef.chunk.js} +0 -0
- /package/dist/scripts/{54-4083e51a52.chunk.js → 54-c3d3057bd7.chunk.js} +0 -0
- /package/dist/scripts/{55-622f7871d6.chunk.js → 55-c54b03b81b.chunk.js} +0 -0
- /package/dist/scripts/{56-b48e08b8ef.chunk.js → 56-bc025759b2.chunk.js} +0 -0
- /package/dist/scripts/{57-1feff40a08.chunk.js → 57-95a5d6859c.chunk.js} +0 -0
- /package/dist/scripts/{58-46d9ab3567.chunk.js → 58-732d90217c.chunk.js} +0 -0
- /package/dist/scripts/{59-4f532af025.chunk.js → 59-76ab29c8c8.chunk.js} +0 -0
- /package/dist/scripts/{6-0aba54255e.chunk.js → 6-801bd57e05.chunk.js} +0 -0
- /package/dist/scripts/{60-b977e9f98a.chunk.js → 60-95fae33313.chunk.js} +0 -0
- /package/dist/scripts/{61-a08050a033.chunk.js → 61-55401912e6.chunk.js} +0 -0
- /package/dist/scripts/{62-2d7c9575cd.chunk.js → 62-2757493071.chunk.js} +0 -0
- /package/dist/scripts/{63-1b5541b59d.chunk.js → 63-dd81c3f320.chunk.js} +0 -0
- /package/dist/scripts/{64-5802c4c4a1.chunk.js → 64-fc97648f09.chunk.js} +0 -0
- /package/dist/scripts/{65-a5583b77b5.chunk.js → 65-194a37aee3.chunk.js} +0 -0
- /package/dist/scripts/{66-e6cbf6eff1.chunk.js → 66-0685310e61.chunk.js} +0 -0
- /package/dist/scripts/{67-147f6e38b8.chunk.js → 67-0e7d822f3d.chunk.js} +0 -0
- /package/dist/scripts/{68-09d43f4bf6.chunk.js → 68-392c3d0356.chunk.js} +0 -0
- /package/dist/scripts/{69-730a9f6e1b.chunk.js → 69-d02aa75baf.chunk.js} +0 -0
- /package/dist/scripts/{7-3a6b348c77.chunk.js → 7-8789256487.chunk.js} +0 -0
- /package/dist/scripts/{70-99fa48a87e.chunk.js → 70-8198bb73b0.chunk.js} +0 -0
- /package/dist/scripts/{71-e6e4debb3b.chunk.js → 71-d00b31ee4a.chunk.js} +0 -0
- /package/dist/scripts/{8-e6e81f44e1.chunk.js → 8-b27222f499.chunk.js} +0 -0
- /package/dist/scripts/{9-350230f5b4.chunk.js → 9-efab000ebb.chunk.js} +0 -0
|
@@ -0,0 +1,301 @@
|
|
|
1
|
+
(window["webpackJsonp_clickview_library_editor"] = window["webpackJsonp_clickview_library_editor"] || []).push([[74],{
|
|
2
|
+
|
|
3
|
+
/***/ "./src/apps/migration-wizard/views/videos-added/VideosAdded.hbs":
|
|
4
|
+
/*!**********************************************************************!*\
|
|
5
|
+
!*** ./src/apps/migration-wizard/views/videos-added/VideosAdded.hbs ***!
|
|
6
|
+
\**********************************************************************/
|
|
7
|
+
/*! no static exports found */
|
|
8
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
9
|
+
|
|
10
|
+
var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
|
|
11
|
+
module.exports = (Handlebars['default'] || Handlebars).template({"1":function(container,depth0,helpers,partials,data) {
|
|
12
|
+
var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression, alias4=depth0 != null ? depth0 : (container.nullContext || {}), alias5=container.hooks.helperMissing;
|
|
13
|
+
|
|
14
|
+
return " <img src=\"/images/added.png\" class=\""
|
|
15
|
+
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.image : stack1), depth0))
|
|
16
|
+
+ " d-block p-3\">\r\n <h4>"
|
|
17
|
+
+ alias3((helpers.lang||(depth0 && depth0.lang)||alias5).call(alias4,"heading",{"name":"lang","hash":{},"data":data}))
|
|
18
|
+
+ "</h4>\r\n <span class=\"p-2 d-block "
|
|
19
|
+
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.info : stack1), depth0))
|
|
20
|
+
+ "\">\r\n"
|
|
21
|
+
+ ((stack1 = helpers["if"].call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.firstTime : stack1),{"name":"if","hash":{},"fn":container.program(2, data, 0),"inverse":container.program(4, data, 0),"data":data})) != null ? stack1 : "")
|
|
22
|
+
+ " "
|
|
23
|
+
+ alias3((helpers.lang||(depth0 && depth0.lang)||alias5).call(alias4,"tip1",{"name":"lang","hash":{},"data":data}))
|
|
24
|
+
+ "\r\n <span class=\""
|
|
25
|
+
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.publisherLink : stack1), depth0))
|
|
26
|
+
+ "\">\r\n <span class=\"d-inline-block align-middle "
|
|
27
|
+
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.icon : stack1), depth0))
|
|
28
|
+
+ "\">"
|
|
29
|
+
+ ((stack1 = alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.publisherIcon : stack1), depth0)) != null ? stack1 : "")
|
|
30
|
+
+ "</span>\r\n "
|
|
31
|
+
+ alias3((helpers.lang||(depth0 && depth0.lang)||alias5).call(alias4,"tip2",{"name":"lang","hash":{},"data":data}))
|
|
32
|
+
+ "\r\n </span>\r\n </span>\r\n <a class=\"btn btn-primary m-2 applink-start "
|
|
33
|
+
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.info : stack1), depth0))
|
|
34
|
+
+ "\">\r\n"
|
|
35
|
+
+ ((stack1 = helpers["if"].call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.firstTime : stack1),{"name":"if","hash":{},"fn":container.program(6, data, 0),"inverse":container.program(8, data, 0),"data":data})) != null ? stack1 : "")
|
|
36
|
+
+ " </a>\r\n";
|
|
37
|
+
},"2":function(container,depth0,helpers,partials,data) {
|
|
38
|
+
var alias1=container.propertyIsEnumerable;
|
|
39
|
+
|
|
40
|
+
return " "
|
|
41
|
+
+ container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"firstTime",{"name":"lang","hash":{},"data":data}))
|
|
42
|
+
+ "\r\n";
|
|
43
|
+
},"4":function(container,depth0,helpers,partials,data) {
|
|
44
|
+
var alias1=container.propertyIsEnumerable;
|
|
45
|
+
|
|
46
|
+
return " "
|
|
47
|
+
+ container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"notFirstTime",{"name":"lang","hash":{},"data":data}))
|
|
48
|
+
+ "\r\n";
|
|
49
|
+
},"6":function(container,depth0,helpers,partials,data) {
|
|
50
|
+
var alias1=container.propertyIsEnumerable;
|
|
51
|
+
|
|
52
|
+
return " "
|
|
53
|
+
+ container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"start",{"name":"lang","hash":{},"data":data}))
|
|
54
|
+
+ "\r\n";
|
|
55
|
+
},"8":function(container,depth0,helpers,partials,data) {
|
|
56
|
+
var alias1=container.propertyIsEnumerable;
|
|
57
|
+
|
|
58
|
+
return " "
|
|
59
|
+
+ container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"continue",{"name":"lang","hash":{},"data":data}))
|
|
60
|
+
+ " \r\n";
|
|
61
|
+
},"10":function(container,depth0,helpers,partials,data) {
|
|
62
|
+
var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression, alias4=depth0 != null ? depth0 : (container.nullContext || {}), alias5=container.hooks.helperMissing;
|
|
63
|
+
|
|
64
|
+
return " <img src=\"/images/added-warning.png\" class=\""
|
|
65
|
+
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.image : stack1), depth0))
|
|
66
|
+
+ " d-block p-3\">\r\n <h4>"
|
|
67
|
+
+ alias3((helpers.lang||(depth0 && depth0.lang)||alias5).call(alias4,"warningHeading",{"name":"lang","hash":{},"data":data}))
|
|
68
|
+
+ "</h4>\r\n <span class=\"p-2 d-block "
|
|
69
|
+
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.info : stack1), depth0))
|
|
70
|
+
+ "\">\r\n "
|
|
71
|
+
+ ((stack1 = (helpers.lang||(depth0 && depth0.lang)||alias5).call(alias4,"issues",{"name":"lang","hash":{},"data":data})) != null ? stack1 : "")
|
|
72
|
+
+ " \r\n <span class=\""
|
|
73
|
+
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.publisherLink : stack1), depth0))
|
|
74
|
+
+ "\">\r\n <span class=\"d-inline-block align-middle "
|
|
75
|
+
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.icon : stack1), depth0))
|
|
76
|
+
+ "\">"
|
|
77
|
+
+ ((stack1 = alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.publisherIcon : stack1), depth0)) != null ? stack1 : "")
|
|
78
|
+
+ "</span>\r\n </span>\r\n "
|
|
79
|
+
+ alias3((helpers.lang||(depth0 && depth0.lang)||alias5).call(alias4,"tip2",{"name":"lang","hash":{},"data":data}))
|
|
80
|
+
+ "\r\n </span>\r\n"
|
|
81
|
+
+ ((stack1 = helpers["if"].call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.firstTime : stack1),{"name":"if","hash":{},"fn":container.program(11, data, 0),"inverse":container.program(13, data, 0),"data":data})) != null ? stack1 : "");
|
|
82
|
+
},"11":function(container,depth0,helpers,partials,data) {
|
|
83
|
+
var stack1, alias1=container.propertyIsEnumerable;
|
|
84
|
+
|
|
85
|
+
return " "
|
|
86
|
+
+ ((stack1 = (helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"startOrReview",{"name":"lang","hash":{"reviewClasses":"applink-migration-warnings text-underline","startClasses":"btn btn-primary m-2 applink-start {{options.styles.info}}"},"data":data})) != null ? stack1 : "")
|
|
87
|
+
+ "\r\n";
|
|
88
|
+
},"13":function(container,depth0,helpers,partials,data) {
|
|
89
|
+
var stack1, alias1=container.propertyIsEnumerable;
|
|
90
|
+
|
|
91
|
+
return " "
|
|
92
|
+
+ ((stack1 = (helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"continueOrReview",{"name":"lang","hash":{"reviewClasses":"applink-migration-warnings text-underline","continueClasses":"btn btn-primary m-2 applink-start {{options.styles.info}}"},"data":data})) != null ? stack1 : "")
|
|
93
|
+
+ "\r\n";
|
|
94
|
+
},"15":function(container,depth0,helpers,partials,data) {
|
|
95
|
+
var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression, alias4=depth0 != null ? depth0 : (container.nullContext || {}), alias5=container.hooks.helperMissing;
|
|
96
|
+
|
|
97
|
+
return " <img src=\"/images/added-error.png\" class=\""
|
|
98
|
+
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.image : stack1), depth0))
|
|
99
|
+
+ " d-block p-3\">\r\n <h4>"
|
|
100
|
+
+ alias3((helpers.lang||(depth0 && depth0.lang)||alias5).call(alias4,"errorsHeading",{"name":"lang","hash":{},"data":data}))
|
|
101
|
+
+ "</h4>\r\n <span class=\"p-2 d-block "
|
|
102
|
+
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.info : stack1), depth0))
|
|
103
|
+
+ "\">\r\n"
|
|
104
|
+
+ ((stack1 = helpers["if"].call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.successes : stack1),{"name":"if","hash":{},"fn":container.program(16, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
105
|
+
+ " "
|
|
106
|
+
+ ((stack1 = (helpers.lang||(depth0 && depth0.lang)||alias5).call(alias4,"reviews",{"name":"lang","hash":{"smartCount":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.warnings : stack1)},"data":data})) != null ? stack1 : "")
|
|
107
|
+
+ "\r\n </span>\r\n <button class=\"btn btn-primary m-2 applink-migration-warnings "
|
|
108
|
+
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.info : stack1), depth0))
|
|
109
|
+
+ "\">\r\n "
|
|
110
|
+
+ alias3((helpers.lang||(depth0 && depth0.lang)||alias5).call(alias4,"goToReview",{"name":"lang","hash":{},"data":data}))
|
|
111
|
+
+ "\r\n </button>\r\n";
|
|
112
|
+
},"16":function(container,depth0,helpers,partials,data) {
|
|
113
|
+
var stack1, alias1=container.propertyIsEnumerable;
|
|
114
|
+
|
|
115
|
+
return " "
|
|
116
|
+
+ ((stack1 = (helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"successes",{"name":"lang","hash":{"smartCount":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.successes : stack1)},"data":data})) != null ? stack1 : "")
|
|
117
|
+
+ " \r\n";
|
|
118
|
+
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
119
|
+
var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {});
|
|
120
|
+
|
|
121
|
+
return ((stack1 = helpers["if"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.showSuccess : stack1),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
122
|
+
+ ((stack1 = helpers["if"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.showWarning : stack1),{"name":"if","hash":{},"fn":container.program(10, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
123
|
+
+ ((stack1 = helpers["if"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.showError : stack1),{"name":"if","hash":{},"fn":container.program(15, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "");
|
|
124
|
+
},"useData":true});
|
|
125
|
+
|
|
126
|
+
/***/ }),
|
|
127
|
+
|
|
128
|
+
/***/ "./src/apps/migration-wizard/views/videos-added/VideosAddedView.ts":
|
|
129
|
+
/*!*************************************************************************!*\
|
|
130
|
+
!*** ./src/apps/migration-wizard/views/videos-added/VideosAddedView.ts ***!
|
|
131
|
+
\*************************************************************************/
|
|
132
|
+
/*! exports provided: VideosAddedView */
|
|
133
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
134
|
+
|
|
135
|
+
"use strict";
|
|
136
|
+
__webpack_require__.r(__webpack_exports__);
|
|
137
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VideosAddedView", function() { return VideosAddedView; });
|
|
138
|
+
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
139
|
+
/* harmony import */ var _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/services/InstanceManager */ "../../libs/common/src/backbone/services/InstanceManager.ts");
|
|
140
|
+
/* harmony import */ var _libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../../../libs/shared/src/utils/SvgHelper */ "../../libs/shared/src/utils/SvgHelper.ts");
|
|
141
|
+
/* harmony import */ var _shared_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../shared/constants */ "./src/shared/constants/index.ts");
|
|
142
|
+
/* 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");
|
|
143
|
+
/* harmony import */ var _videos_added_scss__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./videos-added.scss */ "./src/apps/migration-wizard/views/videos-added/videos-added.scss");
|
|
144
|
+
/* harmony import */ var _videos_added_scss__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_videos_added_scss__WEBPACK_IMPORTED_MODULE_5__);
|
|
145
|
+
/* harmony import */ var _VideosAdded_hbs__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./VideosAdded.hbs */ "./src/apps/migration-wizard/views/videos-added/VideosAdded.hbs");
|
|
146
|
+
/* harmony import */ var _VideosAdded_hbs__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_VideosAdded_hbs__WEBPACK_IMPORTED_MODULE_6__);
|
|
147
|
+
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); }
|
|
148
|
+
|
|
149
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
150
|
+
|
|
151
|
+
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); } }
|
|
152
|
+
|
|
153
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
154
|
+
|
|
155
|
+
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); }
|
|
156
|
+
|
|
157
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
158
|
+
|
|
159
|
+
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); }; }
|
|
160
|
+
|
|
161
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
162
|
+
|
|
163
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
164
|
+
|
|
165
|
+
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; } }
|
|
166
|
+
|
|
167
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
var VideosAddedView = /*#__PURE__*/function (_Core$View) {
|
|
177
|
+
_inherits(VideosAddedView, _Core$View);
|
|
178
|
+
|
|
179
|
+
var _super = _createSuper(VideosAddedView);
|
|
180
|
+
|
|
181
|
+
function VideosAddedView(options) {
|
|
182
|
+
_classCallCheck(this, VideosAddedView);
|
|
183
|
+
|
|
184
|
+
return _super.call(this, options);
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
_createClass(VideosAddedView, [{
|
|
188
|
+
key: "initialize",
|
|
189
|
+
value: function initialize() {
|
|
190
|
+
this.migrationVideoDataService = _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_1__["InstanceManager"].getInstance(_shared_constants__WEBPACK_IMPORTED_MODULE_3__["DataServices"].MigrationVideo, this);
|
|
191
|
+
this.listenTo(_shared_constants__WEBPACK_IMPORTED_MODULE_3__["DataChannels"].MIGRATION, "".concat(_shared_constants__WEBPACK_IMPORTED_MODULE_3__["DataPrefixes"].FINALISATION, ":").concat(this.options.finalisationTaskId, ":sync"), this.render);
|
|
192
|
+
}
|
|
193
|
+
}, {
|
|
194
|
+
key: "showError",
|
|
195
|
+
value: function showError() {
|
|
196
|
+
if (this.options.firstTime) return false;
|
|
197
|
+
return this.model.get('videosWithWarning');
|
|
198
|
+
}
|
|
199
|
+
}, {
|
|
200
|
+
key: "showWarning",
|
|
201
|
+
value: function showWarning() {
|
|
202
|
+
if (this.options.firstTime && this.model.get('videosWithWarning')) return true;
|
|
203
|
+
return false;
|
|
204
|
+
}
|
|
205
|
+
}, {
|
|
206
|
+
key: "showSuccess",
|
|
207
|
+
value: function showSuccess() {
|
|
208
|
+
return !this.model.get('videosWithWarning');
|
|
209
|
+
}
|
|
210
|
+
}, {
|
|
211
|
+
key: "viewOptions",
|
|
212
|
+
value: function viewOptions() {
|
|
213
|
+
return {
|
|
214
|
+
styles: _videos_added_scss__WEBPACK_IMPORTED_MODULE_5___default.a,
|
|
215
|
+
publisherIcon: _libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_2__["SvgHelper"].getSvg(_libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_2__["cvSvgLibrary"].PublisherArchive),
|
|
216
|
+
firstTime: this.options.firstTime,
|
|
217
|
+
showSuccess: this.showSuccess(),
|
|
218
|
+
showWarning: this.showWarning(),
|
|
219
|
+
showError: this.showError(),
|
|
220
|
+
successes: this.model.get('successfullyProcessed'),
|
|
221
|
+
warnings: this.model.get('videosWithWarning')
|
|
222
|
+
};
|
|
223
|
+
}
|
|
224
|
+
}, {
|
|
225
|
+
key: "onBeforeRender",
|
|
226
|
+
value: function onBeforeRender() {
|
|
227
|
+
var _this = this;
|
|
228
|
+
|
|
229
|
+
if (this.model) return true;
|
|
230
|
+
/**
|
|
231
|
+
* When a migration finishes, we need to see if there are any migration errors
|
|
232
|
+
*/
|
|
233
|
+
|
|
234
|
+
this.migrationVideoDataService.clearCacheAndGetManualReviewVideoCount();
|
|
235
|
+
this.migrationVideoDataService.getFinalisationTask(this.options.finalisationTaskId, function (task) {
|
|
236
|
+
_this.model = task;
|
|
237
|
+
|
|
238
|
+
_this.render();
|
|
239
|
+
});
|
|
240
|
+
return false;
|
|
241
|
+
}
|
|
242
|
+
}, {
|
|
243
|
+
key: "name",
|
|
244
|
+
get: function get() {
|
|
245
|
+
return 'VideosAddedView';
|
|
246
|
+
}
|
|
247
|
+
}, {
|
|
248
|
+
key: "title",
|
|
249
|
+
get: function get() {
|
|
250
|
+
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__["LanguageService"].getPhrase(this.lang, 'title');
|
|
251
|
+
}
|
|
252
|
+
}, {
|
|
253
|
+
key: "lang",
|
|
254
|
+
get: function get() {
|
|
255
|
+
return 'migrationWizard.videosAdded';
|
|
256
|
+
}
|
|
257
|
+
}, {
|
|
258
|
+
key: "template",
|
|
259
|
+
get: function get() {
|
|
260
|
+
return _VideosAdded_hbs__WEBPACK_IMPORTED_MODULE_6___default.a;
|
|
261
|
+
}
|
|
262
|
+
}, {
|
|
263
|
+
key: "className",
|
|
264
|
+
get: function get() {
|
|
265
|
+
return "".concat(_videos_added_scss__WEBPACK_IMPORTED_MODULE_5___default.a.migrationContainer, " text-center p-3 bg-white ").concat(_videos_added_scss__WEBPACK_IMPORTED_MODULE_5___default.a.videosAdded);
|
|
266
|
+
}
|
|
267
|
+
}, {
|
|
268
|
+
key: "appLinks",
|
|
269
|
+
get: function get() {
|
|
270
|
+
return {
|
|
271
|
+
'.applink-start': {
|
|
272
|
+
application: _shared_constants__WEBPACK_IMPORTED_MODULE_3__["AppChannels"].LIBRARY_EDITOR,
|
|
273
|
+
action: _shared_constants__WEBPACK_IMPORTED_MODULE_3__["Actions"].LibraryEditor.HOME
|
|
274
|
+
},
|
|
275
|
+
'.applink-migration-warnings': {
|
|
276
|
+
application: _shared_constants__WEBPACK_IMPORTED_MODULE_3__["AppChannels"].MIGRATION_WIZARD,
|
|
277
|
+
action: _shared_constants__WEBPACK_IMPORTED_MODULE_3__["Actions"].MigrationWizard.MIGRATION_ERRORS
|
|
278
|
+
}
|
|
279
|
+
};
|
|
280
|
+
}
|
|
281
|
+
}]);
|
|
282
|
+
|
|
283
|
+
return VideosAddedView;
|
|
284
|
+
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].View);
|
|
285
|
+
|
|
286
|
+
/***/ }),
|
|
287
|
+
|
|
288
|
+
/***/ "./src/apps/migration-wizard/views/videos-added/videos-added.scss":
|
|
289
|
+
/*!************************************************************************!*\
|
|
290
|
+
!*** ./src/apps/migration-wizard/views/videos-added/videos-added.scss ***!
|
|
291
|
+
\************************************************************************/
|
|
292
|
+
/*! no static exports found */
|
|
293
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
294
|
+
|
|
295
|
+
// extracted by mini-css-extract-plugin
|
|
296
|
+
module.exports = {"videosAdded":"cv--videosAdded--2mvcb","migrationContainer":"cv--migrationContainer--_kJhb","info":"cv--info--wszk6","image":"cv--image--1HF1l","publisherLink":"cv--publisherLink--2SXoK","icon":"cv--icon--2wZJN"};
|
|
297
|
+
|
|
298
|
+
/***/ })
|
|
299
|
+
|
|
300
|
+
}]);
|
|
301
|
+
//# sourceMappingURL=74.chunk.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/migration-wizard/views/videos-added/VideosAdded.hbs","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/migration-wizard/views/videos-added/VideosAddedView.ts","webpack://@clickview/library-editor/./src/apps/migration-wizard/views/videos-added/videos-added.scss?7163"],"names":[],"mappings":"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","file":"scripts/74.chunk.js","sourcesContent":["var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression, alias4=depth0 != null ? depth0 : (container.nullContext || {}), alias5=container.hooks.helperMissing;\n\n return \" <img src=\\\"/images/added.png\\\" class=\\\"\"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.image : stack1), depth0))\n + \" d-block p-3\\\">\\r\\n <h4>\"\n + alias3((helpers.lang||(depth0 && depth0.lang)||alias5).call(alias4,\"heading\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</h4>\\r\\n <span class=\\\"p-2 d-block \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.info : stack1), depth0))\n + \"\\\">\\r\\n\"\n + ((stack1 = helpers[\"if\"].call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.firstTime : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(2, data, 0),\"inverse\":container.program(4, data, 0),\"data\":data})) != null ? stack1 : \"\")\n + \" \"\n + alias3((helpers.lang||(depth0 && depth0.lang)||alias5).call(alias4,\"tip1\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"\\r\\n <span class=\\\"\"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.publisherLink : stack1), depth0))\n + \"\\\">\\r\\n <span class=\\\"d-inline-block align-middle \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.icon : stack1), depth0))\n + \"\\\">\"\n + ((stack1 = alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.publisherIcon : stack1), depth0)) != null ? stack1 : \"\")\n + \"</span>\\r\\n \"\n + alias3((helpers.lang||(depth0 && depth0.lang)||alias5).call(alias4,\"tip2\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"\\r\\n </span>\\r\\n </span>\\r\\n <a class=\\\"btn btn-primary m-2 applink-start \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.info : stack1), depth0))\n + \"\\\">\\r\\n\"\n + ((stack1 = helpers[\"if\"].call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.firstTime : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(6, data, 0),\"inverse\":container.program(8, data, 0),\"data\":data})) != null ? stack1 : \"\")\n + \" </a>\\r\\n\";\n},\"2\":function(container,depth0,helpers,partials,data) {\n var alias1=container.propertyIsEnumerable;\n\n return \" \"\n + container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"firstTime\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"\\r\\n\";\n},\"4\":function(container,depth0,helpers,partials,data) {\n var alias1=container.propertyIsEnumerable;\n\n return \" \"\n + container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"notFirstTime\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"\\r\\n\";\n},\"6\":function(container,depth0,helpers,partials,data) {\n var alias1=container.propertyIsEnumerable;\n\n return \" \"\n + container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"start\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"\\r\\n\";\n},\"8\":function(container,depth0,helpers,partials,data) {\n var alias1=container.propertyIsEnumerable;\n\n return \" \"\n + container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"continue\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \" \\r\\n\";\n},\"10\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression, alias4=depth0 != null ? depth0 : (container.nullContext || {}), alias5=container.hooks.helperMissing;\n\n return \" <img src=\\\"/images/added-warning.png\\\" class=\\\"\"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.image : stack1), depth0))\n + \" d-block p-3\\\">\\r\\n <h4>\"\n + alias3((helpers.lang||(depth0 && depth0.lang)||alias5).call(alias4,\"warningHeading\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</h4>\\r\\n <span class=\\\"p-2 d-block \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.info : stack1), depth0))\n + \"\\\">\\r\\n \"\n + ((stack1 = (helpers.lang||(depth0 && depth0.lang)||alias5).call(alias4,\"issues\",{\"name\":\"lang\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n + \" \\r\\n <span class=\\\"\"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.publisherLink : stack1), depth0))\n + \"\\\">\\r\\n <span class=\\\"d-inline-block align-middle \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.icon : stack1), depth0))\n + \"\\\">\"\n + ((stack1 = alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.publisherIcon : stack1), depth0)) != null ? stack1 : \"\")\n + \"</span>\\r\\n </span>\\r\\n \"\n + alias3((helpers.lang||(depth0 && depth0.lang)||alias5).call(alias4,\"tip2\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"\\r\\n </span>\\r\\n\"\n + ((stack1 = helpers[\"if\"].call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.firstTime : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(11, data, 0),\"inverse\":container.program(13, data, 0),\"data\":data})) != null ? stack1 : \"\");\n},\"11\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return \" \"\n + ((stack1 = (helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"startOrReview\",{\"name\":\"lang\",\"hash\":{\"reviewClasses\":\"applink-migration-warnings text-underline\",\"startClasses\":\"btn btn-primary m-2 applink-start {{options.styles.info}}\"},\"data\":data})) != null ? stack1 : \"\")\n + \"\\r\\n\";\n},\"13\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return \" \"\n + ((stack1 = (helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"continueOrReview\",{\"name\":\"lang\",\"hash\":{\"reviewClasses\":\"applink-migration-warnings text-underline\",\"continueClasses\":\"btn btn-primary m-2 applink-start {{options.styles.info}}\"},\"data\":data})) != null ? stack1 : \"\")\n + \"\\r\\n\";\n},\"15\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression, alias4=depth0 != null ? depth0 : (container.nullContext || {}), alias5=container.hooks.helperMissing;\n\n return \" <img src=\\\"/images/added-error.png\\\" class=\\\"\"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.image : stack1), depth0))\n + \" d-block p-3\\\">\\r\\n <h4>\"\n + alias3((helpers.lang||(depth0 && depth0.lang)||alias5).call(alias4,\"errorsHeading\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</h4>\\r\\n <span class=\\\"p-2 d-block \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.info : stack1), depth0))\n + \"\\\">\\r\\n\"\n + ((stack1 = helpers[\"if\"].call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.successes : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(16, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \" \"\n + ((stack1 = (helpers.lang||(depth0 && depth0.lang)||alias5).call(alias4,\"reviews\",{\"name\":\"lang\",\"hash\":{\"smartCount\":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.warnings : stack1)},\"data\":data})) != null ? stack1 : \"\")\n + \"\\r\\n </span>\\r\\n <button class=\\\"btn btn-primary m-2 applink-migration-warnings \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.info : stack1), depth0))\n + \"\\\">\\r\\n \"\n + alias3((helpers.lang||(depth0 && depth0.lang)||alias5).call(alias4,\"goToReview\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"\\r\\n </button>\\r\\n\";\n},\"16\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return \" \"\n + ((stack1 = (helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"successes\",{\"name\":\"lang\",\"hash\":{\"smartCount\":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.successes : stack1)},\"data\":data})) != null ? stack1 : \"\")\n + \" \\r\\n\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {});\n\n return ((stack1 = helpers[\"if\"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.showSuccess : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + ((stack1 = helpers[\"if\"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.showWarning : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(10, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + ((stack1 = helpers[\"if\"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.showError : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(15, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"useData\":true});","import { ObjectHash } from 'backbone';\r\n\r\nimport { Core } from 'libs/common/core';\r\nimport { InstanceManager } from 'libs/common/backbone/services/InstanceManager';\r\nimport { SvgHelper, cvSvgLibrary } from 'libs/shared/utils/SvgHelper';\r\n\r\nimport { MigrationVideoDataService } from 'apps/migration-wizard/services/MigrationVideoDataService';\r\nimport { FinalisationTask } from 'apps/migration-wizard/models';\r\n\r\nimport { Actions, AppChannels, DataServices, DataChannels, DataPrefixes } from 'shared/constants';\r\nimport { LanguageService } from 'libs/common/backbone/services/LanguageService';\r\n\r\nimport styles from './videos-added.scss';\r\nimport VideosAddedTemplate from './VideosAdded.hbs';\r\n\r\ninterface VideosAddedViewOptions extends Core.ViewOptions {\r\n firstTime: boolean;\r\n finalisationTaskId: string;\r\n}\r\n\r\nexport class VideosAddedView extends Core.View {\r\n protected options: VideosAddedViewOptions;\r\n private migrationVideoDataService: MigrationVideoDataService;\r\n\r\n constructor(options: VideosAddedViewOptions) {\r\n super(options);\r\n }\r\n\r\n public initialize(): void {\r\n this.migrationVideoDataService = InstanceManager.getInstance(DataServices.MigrationVideo, this);\r\n\r\n this.listenTo(DataChannels.MIGRATION,\r\n `${DataPrefixes.FINALISATION}:${this.options.finalisationTaskId}:sync`, this.render);\r\n }\r\n\r\n public get name(): string {\r\n return 'VideosAddedView';\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.videosAdded';\r\n }\r\n\r\n public get template(): any {\r\n return VideosAddedTemplate;\r\n }\r\n\r\n public get className(): string {\r\n return `${styles.migrationContainer} text-center p-3 bg-white ${styles.videosAdded}`;\r\n }\r\n\r\n public get appLinks(): Core.AppLinkHash {\r\n return {\r\n '.applink-start': {\r\n application: AppChannels.LIBRARY_EDITOR,\r\n action: Actions.LibraryEditor.HOME\r\n },\r\n '.applink-migration-warnings': {\r\n application: AppChannels.MIGRATION_WIZARD,\r\n action: Actions.MigrationWizard.MIGRATION_ERRORS\r\n }\r\n };\r\n }\r\n\r\n private showError(): boolean {\r\n if (this.options.firstTime)\r\n return false;\r\n\r\n return this.model.get('videosWithWarning');\r\n }\r\n\r\n private showWarning(): boolean {\r\n if (this.options.firstTime && this.model.get('videosWithWarning'))\r\n return true;\r\n\r\n return false;\r\n }\r\n\r\n private showSuccess(): boolean {\r\n return !this.model.get('videosWithWarning');\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n return {\r\n styles,\r\n publisherIcon: SvgHelper.getSvg(cvSvgLibrary.PublisherArchive),\r\n firstTime: this.options.firstTime,\r\n showSuccess: this.showSuccess(),\r\n showWarning: this.showWarning(),\r\n showError: this.showError(),\r\n successes: this.model.get('successfullyProcessed'),\r\n warnings: this.model.get('videosWithWarning')\r\n };\r\n }\r\n\r\n public onBeforeRender(): boolean {\r\n if (this.model)\r\n return true;\r\n\r\n /**\r\n * When a migration finishes, we need to see if there are any migration errors\r\n */\r\n this.migrationVideoDataService.clearCacheAndGetManualReviewVideoCount();\r\n\r\n this.migrationVideoDataService.getFinalisationTask(this.options.finalisationTaskId, (task: FinalisationTask) => {\r\n this.model = task;\r\n this.render();\r\n });\r\n\r\n return false;\r\n }\r\n}","// extracted by mini-css-extract-plugin\nmodule.exports = {\"videosAdded\":\"cv--videosAdded--2mvcb\",\"migrationContainer\":\"cv--migrationContainer--_kJhb\",\"info\":\"cv--info--wszk6\",\"image\":\"cv--image--1HF1l\",\"publisherLink\":\"cv--publisherLink--2SXoK\",\"icon\":\"cv--icon--2wZJN\"};"],"sourceRoot":""}
|
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
(window["webpackJsonp_clickview_library_editor"] = window["webpackJsonp_clickview_library_editor"] || []).push([[75],{
|
|
2
|
+
|
|
3
|
+
/***/ "./src/apps/upload/views/file-select/FileSelect.hbs":
|
|
4
|
+
/*!**********************************************************!*\
|
|
5
|
+
!*** ./src/apps/upload/views/file-select/FileSelect.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, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {}), alias3=container.hooks.helperMissing, alias4=container.escapeExpression, alias5=container.lambda;
|
|
13
|
+
|
|
14
|
+
return "<div class=\"p-3 my-3 bg-white text-center\">\r\n <h1>"
|
|
15
|
+
+ alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"uploadVideos",{"name":"lang","hash":{},"data":data}))
|
|
16
|
+
+ "</h1>\r\n <div class=\"my-3\">\r\n <img src=\"/images/upload/upload-vid@2x.png\" class=\""
|
|
17
|
+
+ alias4(alias5(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.uploadImage : stack1), depth0))
|
|
18
|
+
+ "\" />\r\n </div>\r\n <div>\r\n <button class=\"btn btn-primary choose-files\">"
|
|
19
|
+
+ alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"chooseVideo",{"name":"lang","hash":{},"data":data}))
|
|
20
|
+
+ "</button>\r\n </div>\r\n <div>\r\n <span>"
|
|
21
|
+
+ alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"dragDrop",{"name":"lang","hash":{},"data":data}))
|
|
22
|
+
+ "</span>\r\n </div>\r\n</div>\r\n<div class=\"p-3 bg-white container-fluid\">\r\n <div class=\"row\">\r\n <div class=\"col-4\">\r\n <h4>"
|
|
23
|
+
+ alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"help",{"name":"lang","hash":{},"data":data}))
|
|
24
|
+
+ "</h2>\r\n <div class=\"border-top pt-2\">\r\n <ul>\r\n <li><a class=\"info-link\" href=\""
|
|
25
|
+
+ alias4(alias5(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.uploadArticleUrl : stack1), depth0))
|
|
26
|
+
+ "\" target=\"_blank\">"
|
|
27
|
+
+ alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"instructionsHeading",{"name":"lang","hash":{},"data":data}))
|
|
28
|
+
+ "</a></li>\r\n </ul>\r\n </div>\r\n </div>\r\n <div class=\"col-8\">\r\n <h4>"
|
|
29
|
+
+ alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"termsHeading",{"name":"lang","hash":{},"data":data}))
|
|
30
|
+
+ "</h2>\r\n <div class=\"border-top pt-2\">\r\n <ol>\r\n <li>"
|
|
31
|
+
+ alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"term1",{"name":"lang","hash":{},"data":data}))
|
|
32
|
+
+ "</li>\r\n <li>"
|
|
33
|
+
+ alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"term2",{"name":"lang","hash":{},"data":data}))
|
|
34
|
+
+ "</li>\r\n <li>"
|
|
35
|
+
+ ((stack1 = (helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"term3",{"name":"lang","hash":{"classNames":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.classNames : stack1),"uploadTermsUrl":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.uploadTermsUrl : stack1)},"data":data})) != null ? stack1 : "")
|
|
36
|
+
+ "</li>\r\n </ol>\r\n </div>\r\n </div>\r\n </div>\r\n</div>";
|
|
37
|
+
},"useData":true});
|
|
38
|
+
|
|
39
|
+
/***/ }),
|
|
40
|
+
|
|
41
|
+
/***/ "./src/apps/upload/views/file-select/FileSelectView.ts":
|
|
42
|
+
/*!*************************************************************!*\
|
|
43
|
+
!*** ./src/apps/upload/views/file-select/FileSelectView.ts ***!
|
|
44
|
+
\*************************************************************/
|
|
45
|
+
/*! exports provided: FileSelectView */
|
|
46
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
47
|
+
|
|
48
|
+
"use strict";
|
|
49
|
+
__webpack_require__.r(__webpack_exports__);
|
|
50
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FileSelectView", function() { return FileSelectView; });
|
|
51
|
+
/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! underscore */ "underscore");
|
|
52
|
+
/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(underscore__WEBPACK_IMPORTED_MODULE_0__);
|
|
53
|
+
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
54
|
+
/* 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");
|
|
55
|
+
/* 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");
|
|
56
|
+
/* harmony import */ var _libs_common_src_backbone_utils_UrlHelper__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/utils/UrlHelper */ "../../libs/common/src/backbone/utils/UrlHelper.ts");
|
|
57
|
+
/* harmony import */ var _shared_services_ConfigDataService__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../shared/services/ConfigDataService */ "./src/shared/services/ConfigDataService.ts");
|
|
58
|
+
/* harmony import */ var _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../../../../libs/analytics/src/interfaces */ "../../libs/analytics/src/interfaces/index.ts");
|
|
59
|
+
/* harmony import */ var _libs_analytics_src_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../../../../libs/analytics/src/AnalyticsHelper */ "../../libs/analytics/src/AnalyticsHelper.ts");
|
|
60
|
+
/* harmony import */ var _shared_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../shared/constants */ "./src/shared/constants/index.ts");
|
|
61
|
+
/* harmony import */ var _FileSelect_hbs__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./FileSelect.hbs */ "./src/apps/upload/views/file-select/FileSelect.hbs");
|
|
62
|
+
/* harmony import */ var _FileSelect_hbs__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_FileSelect_hbs__WEBPACK_IMPORTED_MODULE_9__);
|
|
63
|
+
/* harmony import */ var _file_select_scss__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./file-select.scss */ "./src/apps/upload/views/file-select/file-select.scss");
|
|
64
|
+
/* harmony import */ var _file_select_scss__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_file_select_scss__WEBPACK_IMPORTED_MODULE_10__);
|
|
65
|
+
/* harmony import */ var _shared_behaviors__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../../shared/behaviors */ "./src/shared/behaviors/index.ts");
|
|
66
|
+
/* harmony import */ var _libs_shared_src_apps_upload_constants_UploadConstants__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../../../../../../libs/shared/src/apps/upload/constants/UploadConstants */ "../../libs/shared/src/apps/upload/constants/UploadConstants.ts");
|
|
67
|
+
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); }
|
|
68
|
+
|
|
69
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
70
|
+
|
|
71
|
+
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); } }
|
|
72
|
+
|
|
73
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
74
|
+
|
|
75
|
+
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); }
|
|
76
|
+
|
|
77
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
78
|
+
|
|
79
|
+
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); }; }
|
|
80
|
+
|
|
81
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
82
|
+
|
|
83
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
84
|
+
|
|
85
|
+
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; } }
|
|
86
|
+
|
|
87
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* This view is expecting to be rendered into a layout that is listening
|
|
104
|
+
* to the EventNames.Upload.FILES_ADDED event and will trigger
|
|
105
|
+
* an AppRoute to the Actions.Upload.UPLOAD_DETAILS route
|
|
106
|
+
*/
|
|
107
|
+
|
|
108
|
+
var FileSelectView = /*#__PURE__*/function (_Core$View) {
|
|
109
|
+
_inherits(FileSelectView, _Core$View);
|
|
110
|
+
|
|
111
|
+
var _super = _createSuper(FileSelectView);
|
|
112
|
+
|
|
113
|
+
function FileSelectView() {
|
|
114
|
+
_classCallCheck(this, FileSelectView);
|
|
115
|
+
|
|
116
|
+
return _super.apply(this, arguments);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
_createClass(FileSelectView, [{
|
|
120
|
+
key: "initialize",
|
|
121
|
+
value: function initialize() {
|
|
122
|
+
this.listenTo(this.channelName, _libs_shared_src_apps_upload_constants_UploadConstants__WEBPACK_IMPORTED_MODULE_12__["UploadEventNames"].FILES_SELECTED, this.onFilesSelected);
|
|
123
|
+
this.videoUploadService = _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_2__["InstanceManager"].getInstance(_shared_constants__WEBPACK_IMPORTED_MODULE_8__["Services"].VideoUpload, this);
|
|
124
|
+
}
|
|
125
|
+
}, {
|
|
126
|
+
key: "onFilesSelected",
|
|
127
|
+
value: function onFilesSelected(files, type) {
|
|
128
|
+
this.videoUploadService.addFiles(files);
|
|
129
|
+
this.logAction(files, type);
|
|
130
|
+
}
|
|
131
|
+
}, {
|
|
132
|
+
key: "logAction",
|
|
133
|
+
value: function logAction(files, type) {
|
|
134
|
+
var options = {
|
|
135
|
+
actionType: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_6__["UserAction"].Upload,
|
|
136
|
+
entity: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_6__["EntityType"].Video,
|
|
137
|
+
location: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_6__["LocationContext"].VideoUpload,
|
|
138
|
+
workflowPhase: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_6__["WorkflowPhase"].Start,
|
|
139
|
+
descriptor: _libs_analytics_src_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_7__["AnalyticsHelper"].mapInteractionType(type)
|
|
140
|
+
};
|
|
141
|
+
_libs_analytics_src_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_7__["AnalyticsHelper"].logUserAction(files, options);
|
|
142
|
+
}
|
|
143
|
+
}, {
|
|
144
|
+
key: "viewOptions",
|
|
145
|
+
value: function viewOptions() {
|
|
146
|
+
return {
|
|
147
|
+
styles: _file_select_scss__WEBPACK_IMPORTED_MODULE_10___default.a,
|
|
148
|
+
uploadArticleUrl: this.config ? _libs_common_src_backbone_utils_UrlHelper__WEBPACK_IMPORTED_MODULE_4__["UrlHelper"].safeUrlConcat(this.config.get('supportSiteUrl'), _shared_constants__WEBPACK_IMPORTED_MODULE_8__["SupportArticles"].UPLOAD) : '',
|
|
149
|
+
uploadTermsUrl: this.config ? _libs_common_src_backbone_utils_UrlHelper__WEBPACK_IMPORTED_MODULE_4__["UrlHelper"].safeUrlConcat(this.config.get('marketingSiteUrl'), _shared_constants__WEBPACK_IMPORTED_MODULE_8__["MarketingSiteArticles"].UploadingUserContent) : '',
|
|
150
|
+
classNames: 'info-link'
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
}, {
|
|
154
|
+
key: "name",
|
|
155
|
+
get: function get() {
|
|
156
|
+
return 'FileSelectView';
|
|
157
|
+
}
|
|
158
|
+
}, {
|
|
159
|
+
key: "title",
|
|
160
|
+
get: function get() {
|
|
161
|
+
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_3__["LanguageService"].getPhrase(this.lang, 'title');
|
|
162
|
+
}
|
|
163
|
+
}, {
|
|
164
|
+
key: "lang",
|
|
165
|
+
get: function get() {
|
|
166
|
+
return 'upload.fileSelect';
|
|
167
|
+
}
|
|
168
|
+
}, {
|
|
169
|
+
key: "template",
|
|
170
|
+
get: function get() {
|
|
171
|
+
return _FileSelect_hbs__WEBPACK_IMPORTED_MODULE_9___default.a;
|
|
172
|
+
}
|
|
173
|
+
}, {
|
|
174
|
+
key: "className",
|
|
175
|
+
get: function get() {
|
|
176
|
+
return 'container px-0';
|
|
177
|
+
}
|
|
178
|
+
}, {
|
|
179
|
+
key: "props",
|
|
180
|
+
get: function get() {
|
|
181
|
+
return ['videoUploadService'];
|
|
182
|
+
}
|
|
183
|
+
}, {
|
|
184
|
+
key: "channelName",
|
|
185
|
+
get: function get() {
|
|
186
|
+
/**
|
|
187
|
+
* We have to do this because this.cid is undefined
|
|
188
|
+
* at the point in time at which behaviors are created.
|
|
189
|
+
*/
|
|
190
|
+
this.customCid || (this.customCid = underscore__WEBPACK_IMPORTED_MODULE_0__["uniqueId"]('custom'));
|
|
191
|
+
return "".concat(this.name).concat(this.customCid);
|
|
192
|
+
}
|
|
193
|
+
}, {
|
|
194
|
+
key: "behaviors",
|
|
195
|
+
get: function get() {
|
|
196
|
+
return [{
|
|
197
|
+
behaviorClass: _shared_behaviors__WEBPACK_IMPORTED_MODULE_11__["FileSelectBehavior"],
|
|
198
|
+
buttonSelector: '.choose-files',
|
|
199
|
+
channelName: this.channelName,
|
|
200
|
+
acceptMultiple: true,
|
|
201
|
+
mimeType: 'video/*'
|
|
202
|
+
}];
|
|
203
|
+
}
|
|
204
|
+
}, {
|
|
205
|
+
key: "requiredResources",
|
|
206
|
+
get: function get() {
|
|
207
|
+
return {
|
|
208
|
+
config: _shared_services_ConfigDataService__WEBPACK_IMPORTED_MODULE_5__["ConfigDataServiceHelper"].config
|
|
209
|
+
};
|
|
210
|
+
}
|
|
211
|
+
}]);
|
|
212
|
+
|
|
213
|
+
return FileSelectView;
|
|
214
|
+
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__["Core"].View);
|
|
215
|
+
|
|
216
|
+
/***/ }),
|
|
217
|
+
|
|
218
|
+
/***/ "./src/apps/upload/views/file-select/file-select.scss":
|
|
219
|
+
/*!************************************************************!*\
|
|
220
|
+
!*** ./src/apps/upload/views/file-select/file-select.scss ***!
|
|
221
|
+
\************************************************************/
|
|
222
|
+
/*! no static exports found */
|
|
223
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
224
|
+
|
|
225
|
+
// extracted by mini-css-extract-plugin
|
|
226
|
+
module.exports = {"uploadImage":"cv--uploadImage--2qNTM"};
|
|
227
|
+
|
|
228
|
+
/***/ })
|
|
229
|
+
|
|
230
|
+
}]);
|
|
231
|
+
//# sourceMappingURL=75.chunk.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/upload/views/file-select/FileSelect.hbs","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/upload/views/file-select/FileSelectView.ts","webpack://@clickview/library-editor/./src/apps/upload/views/file-select/file-select.scss?84ec"],"names":[],"mappings":";;;;;;;;;AAAA,iBAAiB,mBAAO,CAAC,8BAAY;AACrC,iEAAiE;AACjE,oHAAoH;;AAEpH;AACA,yFAAyF,uBAAuB,aAAa;AAC7H;AACA;AACA;AACA,wFAAwF,uBAAuB,aAAa;AAC5H;AACA,qFAAqF,uBAAuB,aAAa;AACzH;AACA,iFAAiF,uBAAuB,aAAa;AACrH;AACA;AACA;AACA,gGAAgG,uBAAuB,aAAa;AACpI;AACA,yFAAyF,uBAAuB,aAAa;AAC7H;AACA,kFAAkF,uBAAuB,aAAa;AACtH;AACA,kFAAkF,uBAAuB,aAAa;AACtH;AACA,sFAAsF,sBAAsB,4NAA4N,aAAa;AACrV;AACA,CAAC,gBAAgB,E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC3BjB;AAEA;AACA;AACA;AACA;AAEA;AAGA;AACA;AACA;AAEA;AACA;AACA;AACA;AAGA;;;;;;AAKO,IAAM,cAAb;AAAA;;AAAA;;AAAA;AAAA;;AAAA;AAAA;;AAAA;AAAA;AAAA,iCAKmB;AACf,WAAK,QAAL,CAAc,KAAK,WAAnB,EAAgC,wGAAgB,CAAC,cAAjD,EAAiE,KAAK,eAAtE;AAEA,WAAK,kBAAL,GAA0B,kGAAe,CAAC,WAAhB,CAA4B,0DAAQ,CAAC,WAArC,EAAkD,IAAlD,CAA1B;AACD;AATH;AAAA;AAAA,oCAyD0B,KAzD1B,EAyDyC,IAzDzC,EAyD+D;AAC3D,WAAK,kBAAL,CAAwB,QAAxB,CAAiC,KAAjC;AACA,WAAK,SAAL,CAAe,KAAf,EAAsB,IAAtB;AACD;AA5DH;AAAA;AAAA,8BA8DoB,KA9DpB,EA8DmC,IA9DnC,EA8DyD;AACrD,UAAM,OAAO,GAAqB;AAChC,kBAAU,EAAE,yEAAU,CAAC,MADS;AAEhC,cAAM,EAAE,yEAAU,CAAC,KAFa;AAGhC,gBAAQ,EAAE,8EAAe,CAAC,WAHM;AAIhC,qBAAa,EAAE,4EAAa,CAAC,KAJG;AAKhC,kBAAU,EAAE,mFAAe,CAAC,kBAAhB,CAAmC,IAAnC;AALoB,OAAlC;AAQA,yFAAe,CAAC,aAAhB,CAA8B,KAA9B,EAAqC,OAArC;AACD;AAxEH;AAAA;AAAA,kCAgFoB;AAChB,aAAO;AACL,cAAM,EAAN,yDADK;AAEL,wBAAgB,EAAE,KAAK,MAAL,GAAc,mFAAS,CAAC,aAAV,CAAwB,KAAK,MAAL,CAAY,GAAZ,CAAgB,gBAAhB,CAAxB,EAA2D,iEAAe,CAAC,MAA3E,CAAd,GAAmG,EAFhH;AAGL,sBAAc,EAAE,KAAK,MAAL,GAAc,mFAAS,CAAC,aAAV,CAAwB,KAAK,MAAL,CAAY,GAAZ,CAAgB,kBAAhB,CAAxB,EAA6D,uEAAqB,CAAC,oBAAnF,CAAd,GAAyH,EAHpI;AAIL,kBAAU,EAAE;AAJP,OAAP;AAMD;AAvFH;AAAA;AAAA,wBAWiB;AACb,aAAO,gBAAP;AACD;AAbH;AAAA;AAAA,wBAekB;AACd,aAAO,kGAAe,CAAC,SAAhB,CAA0B,KAAK,IAA/B,EAAqC,OAArC,CAAP;AACD;AAjBH;AAAA;AAAA,wBAmBiB;AACb,aAAO,mBAAP;AACD;AArBH;AAAA;AAAA,wBAuBqB;AACjB,aAAO,sDAAP;AACD;AAzBH;AAAA;AAAA,wBA2BsB;AAClB,aAAO,gBAAP;AACD;AA7BH;AAAA;AAAA,wBA+BkB;AACd,aAAO,CAAC,oBAAD,CAAP;AACD;AAjCH;AAAA;AAAA,wBAmCwB;AACpB;;;;AAIA,WAAK,SAAL,KAAmB,KAAK,SAAL,GAAiB,oDAAW,QAAX,CAApC;AAEA,uBAAU,KAAK,IAAf,SAAsB,KAAK,SAA3B;AACD;AA3CH;AAAA;AAAA,wBA6CsB;AAClB,aAAO,CACL;AACE,qBAAa,EAAE,qEADjB;AAEE,sBAAc,EAAE,eAFlB;AAGE,mBAAW,EAAE,KAAK,WAHpB;AAIE,sBAAc,EAAE,IAJlB;AAKE,gBAAQ,EAAE;AALZ,OADK,CAAP;AASD;AAvDH;AAAA;AAAA,wBA0E8B;AAC1B,aAAO;AACL,cAAM,EAAE,0FAAuB,CAAC;AAD3B,OAAP;AAGD;AA9EH;;AAAA;AAAA,EAAoC,8DAAI,CAAC,IAAzC,E;;;;;;;;;;;ACzBA;AACA,kBAAkB,wC","file":"scripts/75.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, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {}), alias3=container.hooks.helperMissing, alias4=container.escapeExpression, alias5=container.lambda;\n\n return \"<div class=\\\"p-3 my-3 bg-white text-center\\\">\\r\\n <h1>\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"uploadVideos\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</h1>\\r\\n <div class=\\\"my-3\\\">\\r\\n <img src=\\\"/images/upload/upload-vid@2x.png\\\" class=\\\"\"\n + alias4(alias5(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.uploadImage : stack1), depth0))\n + \"\\\" />\\r\\n </div>\\r\\n <div>\\r\\n <button class=\\\"btn btn-primary choose-files\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"chooseVideo\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</button>\\r\\n </div>\\r\\n <div>\\r\\n <span>\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"dragDrop\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</span>\\r\\n </div>\\r\\n</div>\\r\\n<div class=\\\"p-3 bg-white container-fluid\\\">\\r\\n <div class=\\\"row\\\">\\r\\n <div class=\\\"col-4\\\">\\r\\n <h4>\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"help\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</h2>\\r\\n <div class=\\\"border-top pt-2\\\">\\r\\n <ul>\\r\\n <li><a class=\\\"info-link\\\" href=\\\"\"\n + alias4(alias5(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.uploadArticleUrl : stack1), depth0))\n + \"\\\" target=\\\"_blank\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"instructionsHeading\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</a></li>\\r\\n </ul>\\r\\n </div>\\r\\n </div>\\r\\n <div class=\\\"col-8\\\">\\r\\n <h4>\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"termsHeading\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</h2>\\r\\n <div class=\\\"border-top pt-2\\\">\\r\\n <ol>\\r\\n <li>\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"term1\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</li>\\r\\n <li>\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"term2\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</li>\\r\\n <li>\"\n + ((stack1 = (helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"term3\",{\"name\":\"lang\",\"hash\":{\"classNames\":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.classNames : stack1),\"uploadTermsUrl\":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.uploadTermsUrl : stack1)},\"data\":data})) != null ? stack1 : \"\")\n + \"</li>\\r\\n </ol>\\r\\n </div>\\r\\n </div>\\r\\n </div>\\r\\n</div>\";\n},\"useData\":true});","import * as _ from 'underscore';\r\nimport { ObjectHash } from 'backbone';\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\nimport { UrlHelper } from 'libs/common/backbone/utils/UrlHelper';\r\n\r\nimport { ConfigDataServiceHelper } from 'shared/services/ConfigDataService';\r\nimport { Config } from 'shared/models/Config';\r\nimport { InteractionType } from 'shared/enums';\r\nimport { EntityType, UserAction, LocationContext, WorkflowPhase, AnalyticsOptions } from 'libs/analytics/interfaces';\r\nimport { AnalyticsHelper } from 'libs/analytics/AnalyticsHelper';\r\nimport { MarketingSiteArticles, SupportArticles, Services } from 'shared/constants';\r\n\r\nimport FileSelectTemplate from './FileSelect.hbs';\r\nimport styles from './file-select.scss';\r\nimport { FileSelectBehavior } from 'shared/behaviors';\r\nimport { UploadEventNames } from 'libs/shared/apps/upload/constants/UploadConstants';\r\nimport { VideoUploadService } from 'apps/upload/services';\r\n\r\n/**\r\n * This view is expecting to be rendered into a layout that is listening\r\n * to the EventNames.Upload.FILES_ADDED event and will trigger\r\n * an AppRoute to the Actions.Upload.UPLOAD_DETAILS route\r\n */\r\nexport class FileSelectView extends Core.View {\r\n private customCid: string;\r\n private videoUploadService: VideoUploadService;\r\n private config: Config;\r\n\r\n public initialize(): void {\r\n this.listenTo(this.channelName, UploadEventNames.FILES_SELECTED, this.onFilesSelected);\r\n\r\n this.videoUploadService = InstanceManager.getInstance(Services.VideoUpload, this);\r\n }\r\n\r\n public get name(): string {\r\n return 'FileSelectView';\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 'upload.fileSelect';\r\n }\r\n\r\n public get template(): any {\r\n return FileSelectTemplate;\r\n }\r\n\r\n public get className(): string {\r\n return 'container px-0';\r\n }\r\n\r\n public get props(): string[] {\r\n return ['videoUploadService'];\r\n }\r\n\r\n public get channelName(): string {\r\n /**\r\n * We have to do this because this.cid is undefined\r\n * at the point in time at which behaviors are created.\r\n */\r\n this.customCid || (this.customCid = _.uniqueId('custom'));\r\n\r\n return `${this.name}${this.customCid}`;\r\n }\r\n\r\n public get behaviors(): any[] {\r\n return [\r\n {\r\n behaviorClass: FileSelectBehavior,\r\n buttonSelector: '.choose-files',\r\n channelName: this.channelName,\r\n acceptMultiple: true,\r\n mimeType: 'video/*'\r\n }\r\n ];\r\n }\r\n\r\n private onFilesSelected(files: File[], type?: InteractionType): void {\r\n this.videoUploadService.addFiles(files);\r\n this.logAction(files, type);\r\n }\r\n\r\n private logAction(files: File[], type?: InteractionType): void {\r\n const options: AnalyticsOptions = {\r\n actionType: UserAction.Upload,\r\n entity: EntityType.Video,\r\n location: LocationContext.VideoUpload,\r\n workflowPhase: WorkflowPhase.Start,\r\n descriptor: AnalyticsHelper.mapInteractionType(type)\r\n };\r\n\r\n AnalyticsHelper.logUserAction(files, options);\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 viewOptions(): ObjectHash {\r\n return {\r\n styles,\r\n uploadArticleUrl: this.config ? UrlHelper.safeUrlConcat(this.config.get('supportSiteUrl'), SupportArticles.UPLOAD) : '',\r\n uploadTermsUrl: this.config ? UrlHelper.safeUrlConcat(this.config.get('marketingSiteUrl'), MarketingSiteArticles.UploadingUserContent) : '',\r\n classNames: 'info-link'\r\n };\r\n }\r\n}","// extracted by mini-css-extract-plugin\nmodule.exports = {\"uploadImage\":\"cv--uploadImage--2qNTM\"};"],"sourceRoot":""}
|