@clickview/library-editor 1.1.23 → 1.1.24-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/13.chunk.css +2 -2
- package/dist/en.json +1 -1
- package/dist/libs/analytics/src/interfaces/AnalyticsTypes.d.ts +38 -2
- package/dist/libs/common/src/backbone/services/data-providers/SignalRDataProvider.d.ts +3 -3
- package/dist/libs/common/src/backbone/utils/UrlHelper.d.ts +1 -0
- package/dist/scripts/{0-09e1e33a5c.chunk.js → 0-d7651225fa.chunk.js} +1 -1
- package/dist/scripts/1-cc33bb779b.chunk.js +1 -0
- package/dist/scripts/{10-6c79d8c6f9.chunk.js → 10-8def4ad887.chunk.js} +1 -1
- package/dist/scripts/{11-cecf8d22f0.chunk.js → 11-9dbae07504.chunk.js} +1 -1
- package/dist/scripts/{12-dbffa50a92.chunk.js → 12-a14b4251c2.chunk.js} +1 -1
- package/dist/scripts/13-cb35d250be.chunk.js +1 -0
- package/dist/scripts/{14-b524fbd295.chunk.js → 14-5838ad208c.chunk.js} +1 -1
- package/dist/scripts/15-24e092ec41.chunk.js +1 -0
- package/dist/scripts/{16-b27142fe98.chunk.js → 16-7d17df97a9.chunk.js} +1 -1
- package/dist/scripts/{17-c3bbe50816.chunk.js → 17-1e803b099d.chunk.js} +1 -1
- package/dist/scripts/{2-e6d104415e.chunk.js → 2-5079f4b088.chunk.js} +1 -1
- package/dist/scripts/{20-6d9086f5db.chunk.js → 20-c81c6c48d7.chunk.js} +1 -1
- package/dist/scripts/{21-2f10553302.chunk.js → 21-e8d08a5ffd.chunk.js} +1 -1
- package/dist/scripts/{22-59ae44b448.chunk.js → 22-ba8b974fd1.chunk.js} +1 -1
- package/dist/scripts/23-bd84d7bd96.chunk.js +1 -0
- package/dist/scripts/{24-7f21e384d2.chunk.js → 24-e9feb90766.chunk.js} +1 -1
- package/dist/scripts/{25-f0f7fa16a4.chunk.js → 25-867fcb56c9.chunk.js} +1 -1
- package/dist/scripts/{26-e65533bd94.chunk.js → 26-7761674040.chunk.js} +1 -1
- package/dist/scripts/{27-9dc0f5a4df.chunk.js → 27-f61b2ded44.chunk.js} +1 -1
- package/dist/scripts/{28-26e5c371c7.chunk.js → 28-84d2b0cc7b.chunk.js} +1 -1
- package/dist/scripts/{29-61415c2af0.chunk.js → 29-1fedec31d7.chunk.js} +1 -1
- package/dist/scripts/{3-5eff8c9df5.chunk.js → 3-c6b3eb2a89.chunk.js} +1 -1
- package/dist/scripts/{30-6075c28972.chunk.js → 30-26ebe5bb1d.chunk.js} +1 -1
- package/dist/scripts/31-764a990844.chunk.js +1 -0
- package/dist/scripts/{32-d5a50a7592.chunk.js → 32-cb884e47b6.chunk.js} +1 -1
- package/dist/scripts/{33-5ae90ed7d7.chunk.js → 33-ad22c723ce.chunk.js} +1 -1
- package/dist/scripts/34-dbf6f22786.chunk.js +1 -0
- package/dist/scripts/{35-ec8c190357.chunk.js → 35-5a779b7b84.chunk.js} +1 -1
- package/dist/scripts/36-458fc89d94.chunk.js +1 -0
- package/dist/scripts/{37-37e8965783.chunk.js → 37-6bc27fbe24.chunk.js} +1 -1
- package/dist/scripts/{38-3dc24b8867.chunk.js → 38-94bc81865d.chunk.js} +1 -1
- package/dist/scripts/{39-350ff66a2b.chunk.js → 39-27817d8a9f.chunk.js} +1 -1
- package/dist/scripts/{4-b3f3c7c71c.chunk.js → 4-b5739aced7.chunk.js} +1 -1
- package/dist/scripts/{40-3443f99cb2.chunk.js → 40-450dc3b89e.chunk.js} +1 -1
- package/dist/scripts/{41-b5dfd35e9e.chunk.js → 41-8fd82c1728.chunk.js} +1 -1
- package/dist/scripts/{42-103fecb7b6.chunk.js → 42-1fb82fce56.chunk.js} +1 -1
- package/dist/scripts/{43-57b07579f7.chunk.js → 43-721ea51683.chunk.js} +1 -1
- package/dist/scripts/{44-210d64dffe.chunk.js → 44-88eba4ef79.chunk.js} +1 -1
- package/dist/scripts/{45-632b07e926.chunk.js → 45-4c6fa4e90b.chunk.js} +1 -1
- package/dist/scripts/{46-82cce63cbf.chunk.js → 46-aaf1e5ced0.chunk.js} +1 -1
- package/dist/scripts/{47-595b4aae87.chunk.js → 47-8e37893d60.chunk.js} +1 -1
- package/dist/scripts/{48-fcf6378889.chunk.js → 48-46c72a0c33.chunk.js} +1 -1
- package/dist/scripts/{49-d8a4899eb1.chunk.js → 49-c6b8c38dbb.chunk.js} +1 -1
- package/dist/scripts/{5-06bc197b1e.chunk.js → 5-510e90c527.chunk.js} +1 -1
- package/dist/scripts/{50-11b1a49916.chunk.js → 50-371e717865.chunk.js} +1 -1
- package/dist/scripts/{51-72a75e0265.chunk.js → 51-cfeca6d812.chunk.js} +1 -1
- package/dist/scripts/{52-195f73bcd6.chunk.js → 52-783ee4bb0b.chunk.js} +1 -1
- package/dist/scripts/{53-bb4f37ee25.chunk.js → 53-fd450648ed.chunk.js} +1 -1
- package/dist/scripts/{54-7a201d8285.chunk.js → 54-cb9e7c856b.chunk.js} +1 -1
- package/dist/scripts/{55-be3d7b8805.chunk.js → 55-6763b5e6df.chunk.js} +1 -1
- package/dist/scripts/{56-6aeece1bf1.chunk.js → 56-5a704d6c0c.chunk.js} +1 -1
- package/dist/scripts/{57-59ee15161b.chunk.js → 57-221213bb47.chunk.js} +1 -1
- package/dist/scripts/{58-8ff58b194a.chunk.js → 58-292cd4cf86.chunk.js} +1 -1
- package/dist/scripts/{59-3d33954fcb.chunk.js → 59-29ea193413.chunk.js} +1 -1
- package/dist/scripts/{6-a469872b10.chunk.js → 6-caa871ff8b.chunk.js} +1 -1
- package/dist/scripts/{60-f092baa91c.chunk.js → 60-41f227d0b5.chunk.js} +1 -1
- package/dist/scripts/{61-bd9ef62ccd.chunk.js → 61-5e912873e9.chunk.js} +1 -1
- package/dist/scripts/{62-f15b3bf74c.chunk.js → 62-815e0d9634.chunk.js} +1 -1
- package/dist/scripts/{63-92757f75e7.chunk.js → 63-03ad85ee46.chunk.js} +1 -1
- package/dist/scripts/{64-c5a1c55521.chunk.js → 64-adf6187f53.chunk.js} +1 -1
- package/dist/scripts/{65-6bb10ae23b.chunk.js → 65-9836d588fd.chunk.js} +1 -1
- package/dist/scripts/{66-f047027f7d.chunk.js → 66-a1f2500cf7.chunk.js} +1 -1
- package/dist/scripts/{67-2e1a011200.chunk.js → 67-d46c6051de.chunk.js} +1 -1
- package/dist/scripts/{68-d5c0ab3fc1.chunk.js → 68-f48bc2c796.chunk.js} +1 -1
- package/dist/scripts/{69-fc8325afc9.chunk.js → 69-1e1a882133.chunk.js} +1 -1
- package/dist/scripts/{7-58dd909fa3.chunk.js → 7-4b08a0afa9.chunk.js} +1 -1
- package/dist/scripts/{70-ceda95013e.chunk.js → 70-d8cdbe6833.chunk.js} +1 -1
- package/dist/scripts/{71-6e8fc95beb.chunk.js → 71-912def4359.chunk.js} +1 -1
- package/dist/scripts/{72-53fe3338bf.chunk.js → 72-e014377b5a.chunk.js} +1 -1
- package/dist/scripts/{8-6974afed28.chunk.js → 8-0c12750aa5.chunk.js} +1 -1
- package/dist/scripts/9-3b14845081.chunk.js +1 -0
- package/dist/scripts/bundle-7bfbc847d9.min.js +8 -0
- package/dist/scripts/bundles.json +2 -2
- package/dist/scripts/polyfills-8c1900c051.min.js +1 -0
- package/package.json +2 -2
- package/dist/css/1.chunk.css.map +0 -1
- package/dist/css/10.chunk.css.map +0 -1
- package/dist/css/11.chunk.css +0 -137
- package/dist/css/11.chunk.css.map +0 -1
- package/dist/css/12.chunk.css.map +0 -1
- package/dist/css/13.chunk.css.map +0 -1
- package/dist/css/14.chunk.css.map +0 -1
- package/dist/css/16.chunk.css.map +0 -1
- package/dist/css/17.chunk.css.map +0 -1
- package/dist/css/18.chunk.css +0 -20
- package/dist/css/18.chunk.css.map +0 -1
- package/dist/css/2.chunk.css +0 -145
- package/dist/css/2.chunk.css.map +0 -1
- package/dist/css/21.chunk.css.map +0 -1
- package/dist/css/22.chunk.css.map +0 -1
- package/dist/css/23.chunk.css.map +0 -1
- package/dist/css/25.chunk.css.map +0 -1
- package/dist/css/26.chunk.css.map +0 -1
- package/dist/css/28.chunk.css.map +0 -1
- package/dist/css/29.chunk.css.map +0 -1
- package/dist/css/3.chunk.css.map +0 -1
- package/dist/css/30.chunk.css.map +0 -1
- package/dist/css/31.chunk.css.map +0 -1
- package/dist/css/32.chunk.css.map +0 -1
- package/dist/css/33.chunk.css.map +0 -1
- package/dist/css/34.chunk.css +0 -21
- package/dist/css/34.chunk.css.map +0 -1
- package/dist/css/35.chunk.css +0 -20
- package/dist/css/35.chunk.css.map +0 -1
- package/dist/css/36.chunk.css +0 -14
- package/dist/css/36.chunk.css.map +0 -1
- package/dist/css/37.chunk.css.map +0 -1
- package/dist/css/38.chunk.css.map +0 -1
- package/dist/css/40.chunk.css.map +0 -1
- package/dist/css/41.chunk.css.map +0 -1
- package/dist/css/42.chunk.css.map +0 -1
- package/dist/css/43.chunk.css.map +0 -1
- package/dist/css/44.chunk.css.map +0 -1
- package/dist/css/45.chunk.css.map +0 -1
- package/dist/css/46.chunk.css.map +0 -1
- package/dist/css/47.chunk.css.map +0 -1
- package/dist/css/48.chunk.css.map +0 -1
- package/dist/css/49.chunk.css +0 -35
- package/dist/css/49.chunk.css.map +0 -1
- package/dist/css/50.chunk.css.map +0 -1
- package/dist/css/51.chunk.css.map +0 -1
- package/dist/css/52.chunk.css +0 -66
- package/dist/css/52.chunk.css.map +0 -1
- package/dist/css/55.chunk.css.map +0 -1
- package/dist/css/56.chunk.css.map +0 -1
- package/dist/css/58.chunk.css.map +0 -1
- package/dist/css/59.chunk.css.map +0 -1
- package/dist/css/6.chunk.css.map +0 -1
- package/dist/css/60.chunk.css +0 -18
- package/dist/css/60.chunk.css.map +0 -1
- package/dist/css/62.chunk.css.map +0 -1
- package/dist/css/63.chunk.css +0 -170
- package/dist/css/63.chunk.css.map +0 -1
- package/dist/css/67.chunk.css +0 -78
- package/dist/css/67.chunk.css.map +0 -1
- package/dist/css/68.chunk.css +0 -17
- package/dist/css/68.chunk.css.map +0 -1
- package/dist/css/69.chunk.css +0 -17
- package/dist/css/69.chunk.css.map +0 -1
- package/dist/css/7.chunk.css.map +0 -1
- package/dist/css/70.chunk.css +0 -23
- package/dist/css/70.chunk.css.map +0 -1
- package/dist/css/71.chunk.css +0 -40
- package/dist/css/71.chunk.css.map +0 -1
- package/dist/css/72.chunk.css +0 -16
- package/dist/css/72.chunk.css.map +0 -1
- package/dist/css/73.chunk.css +0 -37
- package/dist/css/73.chunk.css.map +0 -1
- package/dist/css/74.chunk.css +0 -29
- package/dist/css/74.chunk.css.map +0 -1
- package/dist/css/75.chunk.css +0 -6
- package/dist/css/75.chunk.css.map +0 -1
- package/dist/css/76.chunk.css +0 -6
- package/dist/css/76.chunk.css.map +0 -1
- package/dist/css/8.chunk.css.map +0 -1
- package/dist/css/library-editor-app.css.map +0 -1
- package/dist/scripts/0-f604eee110.chunk.js +0 -1
- package/dist/scripts/0.chunk.js +0 -1034
- package/dist/scripts/0.chunk.js.map +0 -1
- package/dist/scripts/1-056bd8c79b.chunk.js +0 -1
- package/dist/scripts/1-a66bb44471.chunk.js +0 -1
- package/dist/scripts/1.chunk.js +0 -442
- package/dist/scripts/1.chunk.js.map +0 -1
- package/dist/scripts/10-028c6001e1.chunk.js +0 -1
- package/dist/scripts/10.chunk.js +0 -820
- package/dist/scripts/10.chunk.js.map +0 -1
- package/dist/scripts/11-6eef9e160e.chunk.js +0 -11
- package/dist/scripts/11.chunk.js +0 -4091
- package/dist/scripts/11.chunk.js.map +0 -1
- package/dist/scripts/12-d3f51f4e06.chunk.js +0 -1
- package/dist/scripts/12.chunk.js +0 -555
- package/dist/scripts/12.chunk.js.map +0 -1
- package/dist/scripts/13-37e5cfab3e.chunk.js +0 -1
- package/dist/scripts/13-4029d31569.chunk.js +0 -1
- package/dist/scripts/13.chunk.js +0 -373
- package/dist/scripts/13.chunk.js.map +0 -1
- package/dist/scripts/14-4c94f97e4e.chunk.js +0 -1
- package/dist/scripts/14.chunk.js +0 -2386
- package/dist/scripts/14.chunk.js.map +0 -1
- package/dist/scripts/15-1ff1252d1a.chunk.js +0 -1
- package/dist/scripts/15-ec9aa4878b.chunk.js +0 -1
- package/dist/scripts/15.chunk.js +0 -314
- package/dist/scripts/15.chunk.js.map +0 -1
- package/dist/scripts/16-5bc8299e14.chunk.js +0 -1
- package/dist/scripts/16.chunk.js +0 -1290
- package/dist/scripts/16.chunk.js.map +0 -1
- package/dist/scripts/17-9fe035f9e2.chunk.js +0 -1
- package/dist/scripts/17.chunk.js +0 -381
- package/dist/scripts/17.chunk.js.map +0 -1
- package/dist/scripts/18.chunk.js +0 -393
- package/dist/scripts/18.chunk.js.map +0 -1
- package/dist/scripts/19.chunk.js +0 -364
- package/dist/scripts/19.chunk.js.map +0 -1
- package/dist/scripts/2-2cc3988222.chunk.js +0 -1
- package/dist/scripts/2.chunk.js +0 -523
- package/dist/scripts/2.chunk.js.map +0 -1
- package/dist/scripts/20-60e4eee833.chunk.js +0 -1
- package/dist/scripts/20.chunk.js +0 -317
- package/dist/scripts/20.chunk.js.map +0 -1
- package/dist/scripts/21-a7fffe8852.chunk.js +0 -1
- package/dist/scripts/21.chunk.js +0 -531
- package/dist/scripts/21.chunk.js.map +0 -1
- package/dist/scripts/22-f670791432.chunk.js +0 -1
- package/dist/scripts/22.chunk.js +0 -354
- package/dist/scripts/22.chunk.js.map +0 -1
- package/dist/scripts/23-11e008ee63.chunk.js +0 -1
- package/dist/scripts/23-4d26d6300a.chunk.js +0 -1
- package/dist/scripts/23.chunk.js +0 -604
- package/dist/scripts/23.chunk.js.map +0 -1
- package/dist/scripts/24-813ef82099.chunk.js +0 -1
- package/dist/scripts/24.chunk.js +0 -318
- package/dist/scripts/24.chunk.js.map +0 -1
- package/dist/scripts/25-023d08a591.chunk.js +0 -1
- package/dist/scripts/25.chunk.js +0 -365
- package/dist/scripts/25.chunk.js.map +0 -1
- package/dist/scripts/26-a9fcf0d596.chunk.js +0 -1
- package/dist/scripts/26.chunk.js +0 -442
- package/dist/scripts/26.chunk.js.map +0 -1
- package/dist/scripts/27-84f7bbade6.chunk.js +0 -1
- package/dist/scripts/27.chunk.js +0 -3630
- package/dist/scripts/27.chunk.js.map +0 -1
- package/dist/scripts/28-cdf603f4cf.chunk.js +0 -1
- package/dist/scripts/28.chunk.js +0 -3173
- package/dist/scripts/28.chunk.js.map +0 -1
- package/dist/scripts/29-8278d23f9b.chunk.js +0 -1
- package/dist/scripts/29.chunk.js +0 -3088
- package/dist/scripts/29.chunk.js.map +0 -1
- package/dist/scripts/3-1fa81c9d9b.chunk.js +0 -1
- package/dist/scripts/3.chunk.js +0 -833
- package/dist/scripts/3.chunk.js.map +0 -1
- package/dist/scripts/30-7ab880728c.chunk.js +0 -1
- package/dist/scripts/30.chunk.js +0 -1852
- package/dist/scripts/30.chunk.js.map +0 -1
- package/dist/scripts/31-aa4cd0f45e.chunk.js +0 -1
- package/dist/scripts/31-e35ae4e153.chunk.js +0 -1
- package/dist/scripts/31.chunk.js +0 -958
- package/dist/scripts/31.chunk.js.map +0 -1
- package/dist/scripts/32-7717941f1d.chunk.js +0 -1
- package/dist/scripts/32.chunk.js +0 -1235
- package/dist/scripts/32.chunk.js.map +0 -1
- package/dist/scripts/33-6da33143ea.chunk.js +0 -1
- package/dist/scripts/33.chunk.js +0 -792
- package/dist/scripts/33.chunk.js.map +0 -1
- package/dist/scripts/34-27e40f4d4b.chunk.js +0 -1
- package/dist/scripts/34-50402c1835.chunk.js +0 -1
- package/dist/scripts/34.chunk.js +0 -990
- package/dist/scripts/34.chunk.js.map +0 -1
- package/dist/scripts/35-3260300446.chunk.js +0 -1
- package/dist/scripts/35.chunk.js +0 -518
- package/dist/scripts/35.chunk.js.map +0 -1
- package/dist/scripts/36-4d467bc42e.chunk.js +0 -1
- package/dist/scripts/36-bec0c74d05.chunk.js +0 -1
- package/dist/scripts/36.chunk.js +0 -335
- package/dist/scripts/36.chunk.js.map +0 -1
- package/dist/scripts/37-3916177181.chunk.js +0 -1
- package/dist/scripts/37.chunk.js +0 -236
- package/dist/scripts/37.chunk.js.map +0 -1
- package/dist/scripts/38-89f7c22ea8.chunk.js +0 -1
- package/dist/scripts/38.chunk.js +0 -315
- package/dist/scripts/38.chunk.js.map +0 -1
- package/dist/scripts/39-9456631219.chunk.js +0 -1
- package/dist/scripts/39.chunk.js +0 -116
- package/dist/scripts/39.chunk.js.map +0 -1
- package/dist/scripts/4-a7f6d378e0.chunk.js +0 -1
- package/dist/scripts/4.chunk.js +0 -335
- package/dist/scripts/4.chunk.js.map +0 -1
- package/dist/scripts/40-f65196723f.chunk.js +0 -1
- package/dist/scripts/40.chunk.js +0 -2493
- package/dist/scripts/40.chunk.js.map +0 -1
- package/dist/scripts/41-70b16d99d0.chunk.js +0 -1
- package/dist/scripts/41.chunk.js +0 -1782
- package/dist/scripts/41.chunk.js.map +0 -1
- package/dist/scripts/42-e17f214d6c.chunk.js +0 -1
- package/dist/scripts/42.chunk.js +0 -2116
- package/dist/scripts/42.chunk.js.map +0 -1
- package/dist/scripts/43-6826fbc7d4.chunk.js +0 -1
- package/dist/scripts/43.chunk.js +0 -2243
- package/dist/scripts/43.chunk.js.map +0 -1
- package/dist/scripts/44-593e820fa2.chunk.js +0 -1
- package/dist/scripts/44.chunk.js +0 -1024
- package/dist/scripts/44.chunk.js.map +0 -1
- package/dist/scripts/45-8231a03833.chunk.js +0 -1
- package/dist/scripts/45.chunk.js +0 -1065
- package/dist/scripts/45.chunk.js.map +0 -1
- package/dist/scripts/46-682ca88fd9.chunk.js +0 -1
- package/dist/scripts/46.chunk.js +0 -656
- package/dist/scripts/46.chunk.js.map +0 -1
- package/dist/scripts/47-aec7cf95e8.chunk.js +0 -1
- package/dist/scripts/47.chunk.js +0 -735
- package/dist/scripts/47.chunk.js.map +0 -1
- package/dist/scripts/48-7b09165697.chunk.js +0 -1
- package/dist/scripts/48.chunk.js +0 -994
- package/dist/scripts/48.chunk.js.map +0 -1
- package/dist/scripts/49-0e6ceb191f.chunk.js +0 -1
- package/dist/scripts/49.chunk.js +0 -759
- package/dist/scripts/49.chunk.js.map +0 -1
- package/dist/scripts/5-e2e64bc05f.chunk.js +0 -1
- package/dist/scripts/5.chunk.js +0 -15
- package/dist/scripts/5.chunk.js.map +0 -1
- package/dist/scripts/50-fa6f6fd1dc.chunk.js +0 -1
- package/dist/scripts/50.chunk.js +0 -528
- package/dist/scripts/50.chunk.js.map +0 -1
- package/dist/scripts/51-1c9fca4604.chunk.js +0 -1
- package/dist/scripts/51.chunk.js +0 -932
- package/dist/scripts/51.chunk.js.map +0 -1
- package/dist/scripts/52-ebce0c9f12.chunk.js +0 -1
- package/dist/scripts/52.chunk.js +0 -408
- package/dist/scripts/52.chunk.js.map +0 -1
- package/dist/scripts/53-c6807d4e0b.chunk.js +0 -1
- package/dist/scripts/53.chunk.js +0 -754
- package/dist/scripts/53.chunk.js.map +0 -1
- package/dist/scripts/54-e6195aa62a.chunk.js +0 -1
- package/dist/scripts/54.chunk.js +0 -681
- package/dist/scripts/54.chunk.js.map +0 -1
- package/dist/scripts/55-f9f9a251af.chunk.js +0 -1
- package/dist/scripts/55.chunk.js +0 -645
- package/dist/scripts/55.chunk.js.map +0 -1
- package/dist/scripts/56-20f27f96db.chunk.js +0 -1
- package/dist/scripts/56.chunk.js +0 -346
- package/dist/scripts/56.chunk.js.map +0 -1
- package/dist/scripts/57-b25862dbf0.chunk.js +0 -1
- package/dist/scripts/57.chunk.js +0 -422
- package/dist/scripts/57.chunk.js.map +0 -1
- package/dist/scripts/58-edf06f18f9.chunk.js +0 -1
- package/dist/scripts/58.chunk.js +0 -437
- package/dist/scripts/58.chunk.js.map +0 -1
- package/dist/scripts/59-241a666e49.chunk.js +0 -1
- package/dist/scripts/59.chunk.js +0 -342
- package/dist/scripts/59.chunk.js.map +0 -1
- package/dist/scripts/6-c631df7bda.chunk.js +0 -1
- package/dist/scripts/6.chunk.js +0 -484
- package/dist/scripts/6.chunk.js.map +0 -1
- package/dist/scripts/60-ac631fa385.chunk.js +0 -1
- package/dist/scripts/60.chunk.js +0 -254
- package/dist/scripts/60.chunk.js.map +0 -1
- package/dist/scripts/61-360e50b6cb.chunk.js +0 -1
- package/dist/scripts/61.chunk.js +0 -409
- package/dist/scripts/61.chunk.js.map +0 -1
- package/dist/scripts/62-22ee1d2a94.chunk.js +0 -1
- package/dist/scripts/62.chunk.js +0 -142
- package/dist/scripts/62.chunk.js.map +0 -1
- package/dist/scripts/63-25413d744e.chunk.js +0 -1
- package/dist/scripts/63.chunk.js +0 -147
- package/dist/scripts/63.chunk.js.map +0 -1
- package/dist/scripts/64-1b027092be.chunk.js +0 -1
- package/dist/scripts/64.chunk.js +0 -439
- package/dist/scripts/64.chunk.js.map +0 -1
- package/dist/scripts/65-c8a9aae545.chunk.js +0 -1
- package/dist/scripts/65.chunk.js +0 -582
- package/dist/scripts/65.chunk.js.map +0 -1
- package/dist/scripts/66-20aec598ca.chunk.js +0 -1
- package/dist/scripts/66.chunk.js +0 -442
- package/dist/scripts/66.chunk.js.map +0 -1
- package/dist/scripts/67-d8d1cb35a4.chunk.js +0 -1
- package/dist/scripts/67.chunk.js +0 -295
- package/dist/scripts/67.chunk.js.map +0 -1
- package/dist/scripts/68-869ea333d9.chunk.js +0 -1
- package/dist/scripts/68.chunk.js +0 -165
- package/dist/scripts/68.chunk.js.map +0 -1
- package/dist/scripts/69-c4ff3e5568.chunk.js +0 -1
- package/dist/scripts/69.chunk.js +0 -248
- package/dist/scripts/69.chunk.js.map +0 -1
- package/dist/scripts/7-1d94e0bb0c.chunk.js +0 -1
- package/dist/scripts/7.chunk.js +0 -309
- package/dist/scripts/7.chunk.js.map +0 -1
- package/dist/scripts/70-171dcf9fe1.chunk.js +0 -1
- package/dist/scripts/70.chunk.js +0 -207
- package/dist/scripts/70.chunk.js.map +0 -1
- package/dist/scripts/71-33e7082ca2.chunk.js +0 -1
- package/dist/scripts/71.chunk.js +0 -237
- package/dist/scripts/71.chunk.js.map +0 -1
- package/dist/scripts/72-2eef8b13b0.chunk.js +0 -1
- package/dist/scripts/72.chunk.js +0 -331
- package/dist/scripts/72.chunk.js.map +0 -1
- package/dist/scripts/73.chunk.js +0 -404
- package/dist/scripts/73.chunk.js.map +0 -1
- package/dist/scripts/74.chunk.js +0 -301
- package/dist/scripts/74.chunk.js.map +0 -1
- package/dist/scripts/75.chunk.js +0 -231
- package/dist/scripts/75.chunk.js.map +0 -1
- package/dist/scripts/76.chunk.js +0 -157
- package/dist/scripts/76.chunk.js.map +0 -1
- package/dist/scripts/77.chunk.js +0 -307
- package/dist/scripts/77.chunk.js.map +0 -1
- package/dist/scripts/78.chunk.js +0 -249
- package/dist/scripts/78.chunk.js.map +0 -1
- package/dist/scripts/79.chunk.js +0 -282
- package/dist/scripts/79.chunk.js.map +0 -1
- package/dist/scripts/8-34ae87490f.chunk.js +0 -1
- package/dist/scripts/8.chunk.js +0 -307
- package/dist/scripts/8.chunk.js.map +0 -1
- package/dist/scripts/80.chunk.js +0 -308
- package/dist/scripts/80.chunk.js.map +0 -1
- package/dist/scripts/81.chunk.js +0 -366
- package/dist/scripts/81.chunk.js.map +0 -1
- package/dist/scripts/82.chunk.js +0 -314
- package/dist/scripts/82.chunk.js.map +0 -1
- package/dist/scripts/83.chunk.js +0 -328
- package/dist/scripts/83.chunk.js.map +0 -1
- package/dist/scripts/84.chunk.js +0 -313
- package/dist/scripts/84.chunk.js.map +0 -1
- package/dist/scripts/85.chunk.js +0 -291
- package/dist/scripts/85.chunk.js.map +0 -1
- package/dist/scripts/86.chunk.js +0 -119
- package/dist/scripts/86.chunk.js.map +0 -1
- package/dist/scripts/87.chunk.js +0 -219
- package/dist/scripts/87.chunk.js.map +0 -1
- package/dist/scripts/88.chunk.js +0 -194
- package/dist/scripts/88.chunk.js.map +0 -1
- package/dist/scripts/89.chunk.js +0 -522
- package/dist/scripts/89.chunk.js.map +0 -1
- package/dist/scripts/9-0d7004dd33.chunk.js +0 -1
- package/dist/scripts/9-9279038caa.chunk.js +0 -1
- package/dist/scripts/9.chunk.js +0 -222
- package/dist/scripts/9.chunk.js.map +0 -1
- package/dist/scripts/90.chunk.js +0 -337
- package/dist/scripts/90.chunk.js.map +0 -1
- package/dist/scripts/91.chunk.js +0 -131
- package/dist/scripts/91.chunk.js.map +0 -1
- package/dist/scripts/92.chunk.js +0 -266
- package/dist/scripts/92.chunk.js.map +0 -1
- package/dist/scripts/bundle-06dc1f4908.min.js +0 -8
- package/dist/scripts/bundle-8498807388.min.js +0 -1
- package/dist/scripts/bundle-891db89400.min.js +0 -1
- package/dist/scripts/bundle-f4a423ce34.min.js +0 -1
- package/dist/scripts/bundle.js +0 -66631
- package/dist/scripts/bundle.js.map +0 -1
- package/dist/scripts/polyfills-21eaf1215c.min.js +0 -1
- package/dist/scripts/polyfills-efb4d7caa3.min.js +0 -1
- package/dist/scripts/polyfills.js +0 -14866
- package/dist/scripts/polyfills.js.map +0 -1
package/dist/scripts/38.chunk.js
DELETED
|
@@ -1,315 +0,0 @@
|
|
|
1
|
-
(window["webpackJsonp_clickview_library_editor"] = window["webpackJsonp_clickview_library_editor"] || []).push([[38],{
|
|
2
|
-
|
|
3
|
-
/***/ "./src/apps/migration-wizard/views/show-video-popup/ShowPublisherVideoPopup.hbs":
|
|
4
|
-
/*!**************************************************************************************!*\
|
|
5
|
-
!*** ./src/apps/migration-wizard/views/show-video-popup/ShowPublisherVideoPopup.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 ((stack1 = container.lambda(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.spinnerEl : stack1), depth0)) != null ? stack1 : "")
|
|
15
|
-
+ "\r\n";
|
|
16
|
-
},"3":function(container,depth0,helpers,partials,data) {
|
|
17
|
-
var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {});
|
|
18
|
-
|
|
19
|
-
return "<div class=\"row\">\r\n <div class=\"col-7\">\r\n <div class=\"row no-gutters\">\r\n"
|
|
20
|
-
+ ((stack1 = helpers["if"].call(alias2,(depth0 != null ? depth0.title : depth0),{"name":"if","hash":{},"fn":container.program(4, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
21
|
-
+ ((stack1 = helpers["if"].call(alias2,(depth0 != null ? depth0.seriesName : depth0),{"name":"if","hash":{},"fn":container.program(6, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
22
|
-
+ ((stack1 = helpers["if"].call(alias2,(depth0 != null ? depth0.duration : depth0),{"name":"if","hash":{},"fn":container.program(8, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
23
|
-
+ ((stack1 = helpers["if"].call(alias2,(depth0 != null ? depth0.productionYear : depth0),{"name":"if","hash":{},"fn":container.program(10, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
24
|
-
+ ((stack1 = helpers["if"].call(alias2,(depth0 != null ? depth0.audience : depth0),{"name":"if","hash":{},"fn":container.program(12, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
25
|
-
+ ((stack1 = helpers["if"].call(alias2,(depth0 != null ? depth0.ratingCode : depth0),{"name":"if","hash":{},"fn":container.program(14, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
26
|
-
+ ((stack1 = helpers["if"].call(alias2,(depth0 != null ? depth0.itemCode : depth0),{"name":"if","hash":{},"fn":container.program(16, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
27
|
-
+ ((stack1 = helpers["if"].call(alias2,(depth0 != null ? depth0.producer : depth0),{"name":"if","hash":{},"fn":container.program(18, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
28
|
-
+ ((stack1 = helpers["if"].call(alias2,(depth0 != null ? depth0.publisher : depth0),{"name":"if","hash":{},"fn":container.program(20, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
29
|
-
+ ((stack1 = helpers["if"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.dateBroadcast : stack1),{"name":"if","hash":{},"fn":container.program(22, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
30
|
-
+ ((stack1 = helpers["if"].call(alias2,(depth0 != null ? depth0.distributor : depth0),{"name":"if","hash":{},"fn":container.program(24, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
31
|
-
+ ((stack1 = helpers["if"].call(alias2,(depth0 != null ? depth0.source : depth0),{"name":"if","hash":{},"fn":container.program(26, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
32
|
-
+ " </div>\r\n </div>\r\n <div class=\"col-5\">\r\n <div class=\"thumbnail-region\"></div>\r\n </div>\r\n <div class=\"col-12\">\r\n"
|
|
33
|
-
+ ((stack1 = helpers["if"].call(alias2,(depth0 != null ? depth0.description : depth0),{"name":"if","hash":{},"fn":container.program(28, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
34
|
-
+ " </div>\r\n</div>\r\n";
|
|
35
|
-
},"4":function(container,depth0,helpers,partials,data) {
|
|
36
|
-
var helper, alias1=container.propertyIsEnumerable;
|
|
37
|
-
|
|
38
|
-
return " <div class=\"col-4\">\r\n <label class=\"font-weight-bold\">Title</label>\r\n </div>\r\n <div class=\"col-8\">\r\n <p>"
|
|
39
|
-
+ container.escapeExpression(((helper = (helper = helpers.title || (depth0 != null ? depth0.title : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"title","hash":{},"data":data}) : helper)))
|
|
40
|
-
+ "</p>\r\n </div>\r\n";
|
|
41
|
-
},"6":function(container,depth0,helpers,partials,data) {
|
|
42
|
-
var helper, alias1=container.propertyIsEnumerable;
|
|
43
|
-
|
|
44
|
-
return " <div class=\"col-4\">\r\n <label class=\"font-weight-bold\">Series</label>\r\n </div>\r\n <div class=\"col-8\">\r\n <p>"
|
|
45
|
-
+ container.escapeExpression(((helper = (helper = helpers.seriesName || (depth0 != null ? depth0.seriesName : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"seriesName","hash":{},"data":data}) : helper)))
|
|
46
|
-
+ "</p>\r\n </div>\r\n";
|
|
47
|
-
},"8":function(container,depth0,helpers,partials,data) {
|
|
48
|
-
var helper, alias1=container.propertyIsEnumerable;
|
|
49
|
-
|
|
50
|
-
return " <div class=\"col-4\">\r\n <label class=\"font-weight-bold\">Duration</label>\r\n </div>\r\n <div class=\"col-8\">\r\n <p>"
|
|
51
|
-
+ container.escapeExpression(((helper = (helper = helpers.duration || (depth0 != null ? depth0.duration : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"duration","hash":{},"data":data}) : helper)))
|
|
52
|
-
+ "</p>\r\n </div>\r\n";
|
|
53
|
-
},"10":function(container,depth0,helpers,partials,data) {
|
|
54
|
-
var helper, alias1=container.propertyIsEnumerable;
|
|
55
|
-
|
|
56
|
-
return " <div class=\"col-4\">\r\n <label class=\"font-weight-bold\">Year</label>\r\n </div>\r\n <div class=\"col-8\">\r\n <p>"
|
|
57
|
-
+ container.escapeExpression(((helper = (helper = helpers.productionYear || (depth0 != null ? depth0.productionYear : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"productionYear","hash":{},"data":data}) : helper)))
|
|
58
|
-
+ "</p>\r\n </div>\r\n";
|
|
59
|
-
},"12":function(container,depth0,helpers,partials,data) {
|
|
60
|
-
var helper, alias1=container.propertyIsEnumerable;
|
|
61
|
-
|
|
62
|
-
return " <div class=\"col-4\">\r\n <label class=\"font-weight-bold\">Audience</label>\r\n </div>\r\n <div class=\"col-8\">\r\n <p>"
|
|
63
|
-
+ container.escapeExpression(((helper = (helper = helpers.audience || (depth0 != null ? depth0.audience : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"audience","hash":{},"data":data}) : helper)))
|
|
64
|
-
+ "</p>\r\n </div>\r\n";
|
|
65
|
-
},"14":function(container,depth0,helpers,partials,data) {
|
|
66
|
-
var helper, alias1=container.propertyIsEnumerable;
|
|
67
|
-
|
|
68
|
-
return " <div class=\"col-4\">\r\n <label class=\"font-weight-bold\">Rating</label>\r\n </div>\r\n <div class=\"col-8\">\r\n <p>"
|
|
69
|
-
+ container.escapeExpression(((helper = (helper = helpers.ratingCode || (depth0 != null ? depth0.ratingCode : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"ratingCode","hash":{},"data":data}) : helper)))
|
|
70
|
-
+ "</p>\r\n </div>\r\n";
|
|
71
|
-
},"16":function(container,depth0,helpers,partials,data) {
|
|
72
|
-
var helper, alias1=container.propertyIsEnumerable;
|
|
73
|
-
|
|
74
|
-
return " <div class=\"col-4\">\r\n <label class=\"font-weight-bold\">Identifier</label>\r\n </div>\r\n <div class=\"col-8\">\r\n <p>"
|
|
75
|
-
+ container.escapeExpression(((helper = (helper = helpers.itemCode || (depth0 != null ? depth0.itemCode : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"itemCode","hash":{},"data":data}) : helper)))
|
|
76
|
-
+ "</p>\r\n </div>\r\n";
|
|
77
|
-
},"18":function(container,depth0,helpers,partials,data) {
|
|
78
|
-
var helper, alias1=container.propertyIsEnumerable;
|
|
79
|
-
|
|
80
|
-
return " <div class=\"col-4\">\r\n <label class=\"font-weight-bold\">Creator</label>\r\n </div>\r\n <div class=\"col-8\">\r\n <p>"
|
|
81
|
-
+ container.escapeExpression(((helper = (helper = helpers.producer || (depth0 != null ? depth0.producer : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"producer","hash":{},"data":data}) : helper)))
|
|
82
|
-
+ "</p>\r\n </div>\r\n";
|
|
83
|
-
},"20":function(container,depth0,helpers,partials,data) {
|
|
84
|
-
var helper, alias1=container.propertyIsEnumerable;
|
|
85
|
-
|
|
86
|
-
return " <div class=\"col-4\">\r\n <label class=\"font-weight-bold\">Publisher</label>\r\n </div>\r\n <div class=\"col-8\">\r\n <p>"
|
|
87
|
-
+ container.escapeExpression(((helper = (helper = helpers.publisher || (depth0 != null ? depth0.publisher : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"publisher","hash":{},"data":data}) : helper)))
|
|
88
|
-
+ "</p>\r\n </div>\r\n";
|
|
89
|
-
},"22":function(container,depth0,helpers,partials,data) {
|
|
90
|
-
var stack1, alias1=container.propertyIsEnumerable;
|
|
91
|
-
|
|
92
|
-
return " <div class=\"col-4\">\r\n <label class=\"font-weight-bold\">Date Broadcast</label>\r\n </div>\r\n <div class=\"col-8\">\r\n <p>"
|
|
93
|
-
+ container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.dateBroadcast : stack1), depth0))
|
|
94
|
-
+ "</p>\r\n </div>\r\n";
|
|
95
|
-
},"24":function(container,depth0,helpers,partials,data) {
|
|
96
|
-
var helper, alias1=container.propertyIsEnumerable;
|
|
97
|
-
|
|
98
|
-
return " <div class=\"col-4\">\r\n <label class=\"font-weight-bold\">Distributor</label>\r\n </div>\r\n <div class=\"col-8\">\r\n <p>"
|
|
99
|
-
+ container.escapeExpression(((helper = (helper = helpers.distributor || (depth0 != null ? depth0.distributor : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"distributor","hash":{},"data":data}) : helper)))
|
|
100
|
-
+ "</p>\r\n </div>\r\n";
|
|
101
|
-
},"26":function(container,depth0,helpers,partials,data) {
|
|
102
|
-
var helper, alias1=container.propertyIsEnumerable;
|
|
103
|
-
|
|
104
|
-
return " <div class=\"col-4\">\r\n <label class=\"font-weight-bold\">Source</label>\r\n </div>\r\n <div class=\"col-8\">\r\n <p>"
|
|
105
|
-
+ container.escapeExpression(((helper = (helper = helpers.source || (depth0 != null ? depth0.source : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"source","hash":{},"data":data}) : helper)))
|
|
106
|
-
+ "</p>\r\n </div>\r\n";
|
|
107
|
-
},"28":function(container,depth0,helpers,partials,data) {
|
|
108
|
-
var helper, alias1=container.propertyIsEnumerable;
|
|
109
|
-
|
|
110
|
-
return " <label class=\"font-weight-bold\">Description</label>\r\n <p>"
|
|
111
|
-
+ container.escapeExpression(((helper = (helper = helpers.description || (depth0 != null ? depth0.description : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"description","hash":{},"data":data}) : helper)))
|
|
112
|
-
+ "</p>\r\n";
|
|
113
|
-
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
114
|
-
var stack1, alias1=container.propertyIsEnumerable;
|
|
115
|
-
|
|
116
|
-
return ((stack1 = helpers.unless.call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.dataFetched : stack1),{"name":"unless","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(3, data, 0),"data":data})) != null ? stack1 : "")
|
|
117
|
-
+ "\r\n";
|
|
118
|
-
},"useData":true});
|
|
119
|
-
|
|
120
|
-
/***/ }),
|
|
121
|
-
|
|
122
|
-
/***/ "./src/apps/migration-wizard/views/show-video-popup/ShowPublisherVideoPopupView.ts":
|
|
123
|
-
/*!*****************************************************************************************!*\
|
|
124
|
-
!*** ./src/apps/migration-wizard/views/show-video-popup/ShowPublisherVideoPopupView.ts ***!
|
|
125
|
-
\*****************************************************************************************/
|
|
126
|
-
/*! exports provided: ShowPublisherVideoPopupView */
|
|
127
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
128
|
-
|
|
129
|
-
"use strict";
|
|
130
|
-
__webpack_require__.r(__webpack_exports__);
|
|
131
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ShowPublisherVideoPopupView", function() { return ShowPublisherVideoPopupView; });
|
|
132
|
-
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! moment */ "moment");
|
|
133
|
-
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_0__);
|
|
134
|
-
/* 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");
|
|
135
|
-
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
136
|
-
/* harmony import */ var _libs_shared_src_legacy_components_thumbnail_ThumbnailComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../libs/shared/src/legacy/components/thumbnail/ThumbnailComponent */ "../../libs/shared/src/legacy/components/thumbnail/ThumbnailComponent.ts");
|
|
137
|
-
/* harmony import */ var _libs_shared_src_enums_Images__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../../../libs/shared/src/enums/Images */ "../../libs/shared/src/enums/Images.ts");
|
|
138
|
-
/* harmony import */ var _shared_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../shared/utils */ "./src/shared/utils/index.ts");
|
|
139
|
-
/* harmony import */ var _shared_behaviors__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../shared/behaviors */ "./src/shared/behaviors/index.ts");
|
|
140
|
-
/* harmony import */ var _shared_models_Video__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../shared/models/Video */ "./src/shared/models/Video.ts");
|
|
141
|
-
/* harmony import */ var _shared_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../shared/constants */ "./src/shared/constants/index.ts");
|
|
142
|
-
/* harmony import */ var _shared_services_ConfigDataService__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../../shared/services/ConfigDataService */ "./src/shared/services/ConfigDataService.ts");
|
|
143
|
-
/* harmony import */ var _shared_enums__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../../shared/enums */ "./src/shared/enums/index.ts");
|
|
144
|
-
/* harmony import */ var _show_publisher_video_popup_scss__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./show-publisher-video-popup.scss */ "./src/apps/migration-wizard/views/show-video-popup/show-publisher-video-popup.scss");
|
|
145
|
-
/* harmony import */ var _show_publisher_video_popup_scss__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_show_publisher_video_popup_scss__WEBPACK_IMPORTED_MODULE_11__);
|
|
146
|
-
/* harmony import */ var _ShowPublisherVideoPopup_hbs__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./ShowPublisherVideoPopup.hbs */ "./src/apps/migration-wizard/views/show-video-popup/ShowPublisherVideoPopup.hbs");
|
|
147
|
-
/* harmony import */ var _ShowPublisherVideoPopup_hbs__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_ShowPublisherVideoPopup_hbs__WEBPACK_IMPORTED_MODULE_12__);
|
|
148
|
-
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); }
|
|
149
|
-
|
|
150
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
151
|
-
|
|
152
|
-
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); } }
|
|
153
|
-
|
|
154
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
155
|
-
|
|
156
|
-
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); }
|
|
157
|
-
|
|
158
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
159
|
-
|
|
160
|
-
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); }; }
|
|
161
|
-
|
|
162
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
163
|
-
|
|
164
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
165
|
-
|
|
166
|
-
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; } }
|
|
167
|
-
|
|
168
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
var ShowPublisherVideoPopupView = /*#__PURE__*/function (_Core$View) {
|
|
184
|
-
_inherits(ShowPublisherVideoPopupView, _Core$View);
|
|
185
|
-
|
|
186
|
-
var _super = _createSuper(ShowPublisherVideoPopupView);
|
|
187
|
-
|
|
188
|
-
function ShowPublisherVideoPopupView(options) {
|
|
189
|
-
_classCallCheck(this, ShowPublisherVideoPopupView);
|
|
190
|
-
|
|
191
|
-
return _super.call(this, options);
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
_createClass(ShowPublisherVideoPopupView, [{
|
|
195
|
-
key: "initialize",
|
|
196
|
-
value: function initialize() {
|
|
197
|
-
this.migrationVideoDataService = _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_1__["InstanceManager"].getInstance(_shared_constants__WEBPACK_IMPORTED_MODULE_8__["DataServices"].MigrationVideo, this);
|
|
198
|
-
this.listenTo(_shared_constants__WEBPACK_IMPORTED_MODULE_8__["DataChannels"].MIGRATION, "".concat(_shared_constants__WEBPACK_IMPORTED_MODULE_8__["DataPrefixes"].CUSTOMER_VIDEO, ":").concat(this.options.trackingCode, ":sync"), this.render);
|
|
199
|
-
this.listenTo(_shared_constants__WEBPACK_IMPORTED_MODULE_8__["DataChannels"].MIGRATION, "".concat(_shared_constants__WEBPACK_IMPORTED_MODULE_8__["DataPrefixes"].CUSTOMER_VIDEO, ":").concat(this.options.masterId, ":sync"), this.render);
|
|
200
|
-
}
|
|
201
|
-
}, {
|
|
202
|
-
key: "regions",
|
|
203
|
-
value: function regions() {
|
|
204
|
-
return {
|
|
205
|
-
thumbnail: '.thumbnail-region'
|
|
206
|
-
};
|
|
207
|
-
}
|
|
208
|
-
}, {
|
|
209
|
-
key: "getUrl",
|
|
210
|
-
value: function getUrl() {
|
|
211
|
-
if (!this.model) return;
|
|
212
|
-
var imageCdnUrl = this.config.get('imageCdnUrl');
|
|
213
|
-
var trackingCode = this.model.get('trackingCode');
|
|
214
|
-
return "".concat(imageCdnUrl, "v1/thumbnails/trackingcode/").concat(trackingCode);
|
|
215
|
-
}
|
|
216
|
-
}, {
|
|
217
|
-
key: "getBroadcastDate",
|
|
218
|
-
value: function getBroadcastDate() {
|
|
219
|
-
if (!this.model.get('dateBroadcast')) return '';
|
|
220
|
-
return moment__WEBPACK_IMPORTED_MODULE_0__(this.model.get('dateBroadcast')).format(_shared_enums__WEBPACK_IMPORTED_MODULE_10__["TimeType"].FULL_YEAR);
|
|
221
|
-
}
|
|
222
|
-
}, {
|
|
223
|
-
key: "viewOptions",
|
|
224
|
-
value: function viewOptions() {
|
|
225
|
-
return {
|
|
226
|
-
styles: _show_publisher_video_popup_scss__WEBPACK_IMPORTED_MODULE_11___default.a,
|
|
227
|
-
dataFetched: !!this.model,
|
|
228
|
-
spinnerEl: _shared_utils__WEBPACK_IMPORTED_MODULE_5__["SpinnerHelper"].getSpinner({
|
|
229
|
-
size: _shared_utils__WEBPACK_IMPORTED_MODULE_5__["SpinnerSize"].Large,
|
|
230
|
-
extraClasses: 'mx-auto'
|
|
231
|
-
}),
|
|
232
|
-
dateBroadcast: this.getBroadcastDate()
|
|
233
|
-
};
|
|
234
|
-
}
|
|
235
|
-
}, {
|
|
236
|
-
key: "onBeforeRender",
|
|
237
|
-
value: function onBeforeRender() {
|
|
238
|
-
if (this.options.trackingCode) this.model = this.migrationVideoDataService.getCustomerVideoByTrackingCode(this.options.trackingCode);
|
|
239
|
-
if (this.options.masterId) this.model = this.migrationVideoDataService.getCustomerVideoByMasterId(this.options.masterId);
|
|
240
|
-
return !!this.model;
|
|
241
|
-
}
|
|
242
|
-
}, {
|
|
243
|
-
key: "onRender",
|
|
244
|
-
value: function onRender() {
|
|
245
|
-
this.showChildView('thumbnail', new _libs_shared_src_legacy_components_thumbnail_ThumbnailComponent__WEBPACK_IMPORTED_MODULE_3__["ThumbnailComponent"]({
|
|
246
|
-
model: new _shared_models_Video__WEBPACK_IMPORTED_MODULE_7__["Video"]({
|
|
247
|
-
thumbnail: {
|
|
248
|
-
url: this.getUrl()
|
|
249
|
-
}
|
|
250
|
-
}, {
|
|
251
|
-
parse: true
|
|
252
|
-
}),
|
|
253
|
-
thumbnailOptions: {
|
|
254
|
-
size: _libs_shared_src_enums_Images__WEBPACK_IMPORTED_MODULE_4__["ImageSize"].Small
|
|
255
|
-
}
|
|
256
|
-
}));
|
|
257
|
-
}
|
|
258
|
-
}, {
|
|
259
|
-
key: "name",
|
|
260
|
-
get: function get() {
|
|
261
|
-
return 'ShowPublisherVideoPopupView';
|
|
262
|
-
}
|
|
263
|
-
}, {
|
|
264
|
-
key: "title",
|
|
265
|
-
get: function get() {
|
|
266
|
-
return false;
|
|
267
|
-
}
|
|
268
|
-
}, {
|
|
269
|
-
key: "tagName",
|
|
270
|
-
get: function get() {
|
|
271
|
-
return 'p';
|
|
272
|
-
}
|
|
273
|
-
}, {
|
|
274
|
-
key: "template",
|
|
275
|
-
get: function get() {
|
|
276
|
-
return _ShowPublisherVideoPopup_hbs__WEBPACK_IMPORTED_MODULE_12___default.a;
|
|
277
|
-
}
|
|
278
|
-
}, {
|
|
279
|
-
key: "behaviors",
|
|
280
|
-
get: function get() {
|
|
281
|
-
return [{
|
|
282
|
-
behaviorClass: _shared_behaviors__WEBPACK_IMPORTED_MODULE_6__["PopupBehavior"],
|
|
283
|
-
title: 'Publisher Archive Video Details',
|
|
284
|
-
hideCloseButton: true,
|
|
285
|
-
size: 'modal-lg'
|
|
286
|
-
}];
|
|
287
|
-
}
|
|
288
|
-
}, {
|
|
289
|
-
key: "requiredResources",
|
|
290
|
-
get: function get() {
|
|
291
|
-
return {
|
|
292
|
-
config: _shared_services_ConfigDataService__WEBPACK_IMPORTED_MODULE_9__["ConfigDataServiceHelper"].config
|
|
293
|
-
};
|
|
294
|
-
}
|
|
295
|
-
}]);
|
|
296
|
-
|
|
297
|
-
return ShowPublisherVideoPopupView;
|
|
298
|
-
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_2__["Core"].View);
|
|
299
|
-
|
|
300
|
-
/***/ }),
|
|
301
|
-
|
|
302
|
-
/***/ "./src/apps/migration-wizard/views/show-video-popup/show-publisher-video-popup.scss":
|
|
303
|
-
/*!******************************************************************************************!*\
|
|
304
|
-
!*** ./src/apps/migration-wizard/views/show-video-popup/show-publisher-video-popup.scss ***!
|
|
305
|
-
\******************************************************************************************/
|
|
306
|
-
/*! no static exports found */
|
|
307
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
308
|
-
|
|
309
|
-
// extracted by mini-css-extract-plugin
|
|
310
|
-
module.exports = {"thumbnail":"cv--thumbnail--3S7KI"};
|
|
311
|
-
|
|
312
|
-
/***/ })
|
|
313
|
-
|
|
314
|
-
}]);
|
|
315
|
-
//# sourceMappingURL=38.chunk.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/migration-wizard/views/show-video-popup/ShowPublisherVideoPopup.hbs","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/migration-wizard/views/show-video-popup/ShowPublisherVideoPopupView.ts","webpack://@clickview/library-editor/./src/apps/migration-wizard/views/show-video-popup/show-publisher-video-popup.scss?6ad3"],"names":[],"mappings":";;;;;;;;;AAAA,iBAAiB,mBAAO,CAAC,8BAAY;AACrC,iEAAiE;AACjE;;AAEA;AACA;AACA,CAAC;AACD,oHAAoH;;AAEpH;AACA,qFAAqF,qBAAqB,yEAAyE;AACnL,0FAA0F,qBAAqB,yEAAyE;AACxL,wFAAwF,qBAAqB,yEAAyE;AACtL,8FAA8F,qBAAqB,0EAA0E;AAC7L,wFAAwF,qBAAqB,0EAA0E;AACvL,0FAA0F,qBAAqB,0EAA0E;AACzL,wFAAwF,qBAAqB,0EAA0E;AACvL,wFAAwF,qBAAqB,0EAA0E;AACvL,yFAAyF,qBAAqB,0EAA0E;AACxL,4IAA4I,qBAAqB,0EAA0E;AAC3O,2FAA2F,qBAAqB,0EAA0E;AAC1L,sFAAsF,qBAAqB,0EAA0E;AACrL;AACA,2FAA2F,qBAAqB,0EAA0E;AAC1L;AACA,CAAC;AACD;;AAEA;AACA,qQAAqQ,GAAG,wBAAwB,aAAa;AAC7S;AACA,CAAC;AACD;;AAEA;AACA,+QAA+Q,GAAG,6BAA6B,aAAa;AAC5T;AACA,CAAC;AACD;;AAEA;AACA,2QAA2Q,GAAG,2BAA2B,aAAa;AACtT;AACA,CAAC;AACD;;AAEA;AACA,uRAAuR,GAAG,iCAAiC,aAAa;AACxU;AACA,CAAC;AACD;;AAEA;AACA,2QAA2Q,GAAG,2BAA2B,aAAa;AACtT;AACA,CAAC;AACD;;AAEA;AACA,+QAA+Q,GAAG,6BAA6B,aAAa;AAC5T;AACA,CAAC;AACD;;AAEA;AACA,2QAA2Q,GAAG,2BAA2B,aAAa;AACtT;AACA,CAAC;AACD;;AAEA;AACA,2QAA2Q,GAAG,2BAA2B,aAAa;AACtT;AACA,CAAC;AACD;;AAEA;AACA,6QAA6Q,GAAG,4BAA4B,aAAa;AACzT;AACA,CAAC;AACD;;AAEA;AACA;AACA;AACA,CAAC;AACD;;AAEA;AACA,iRAAiR,GAAG,8BAA8B,aAAa;AAC/T;AACA,CAAC;AACD;;AAEA;AACA,uQAAuQ,GAAG,yBAAyB,aAAa;AAChT;AACA,CAAC;AACD;;AAEA;AACA,iRAAiR,GAAG,8BAA8B,aAAa;AAC/T;AACA,CAAC;AACD;;AAEA,8FAA8F,iGAAiG,yBAAyB,wFAAwF;AAChT;AACA,CAAC,gBAAgB,E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC3GjB;AAEA;AACA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AACA;AAIA;AACA;AAOO,IAAM,2BAAb;AAAA;;AAAA;;AAKE,uCAAY,OAAZ,EAAuD;AAAA;;AAAA,6BAC/C,OAD+C;AAEtD;;AAPH;AAAA;AAAA,iCASmB;AACf,WAAK,yBAAL,GAAiC,kGAAe,CAAC,WAAhB,CAA4B,8DAAY,CAAC,cAAzC,EAAyD,IAAzD,CAAjC;AAEA,WAAK,QAAL,CAAc,8DAAY,CAAC,SAA3B,YACK,8DAAY,CAAC,cADlB,cACoC,KAAK,OAAL,CAAa,YADjD,YACsE,KAAK,MAD3E;AAEA,WAAK,QAAL,CAAc,8DAAY,CAAC,SAA3B,YACK,8DAAY,CAAC,cADlB,cACoC,KAAK,OAAL,CAAa,QADjD,YACkE,KAAK,MADvE;AAED;AAhBH;AAAA;AAAA,8BAkCgB;AACZ,aAAO;AACL,iBAAS,EAAE;AADN,OAAP;AAGD;AAtCH;AAAA;AAAA,6BAiDgB;AACZ,UAAI,CAAC,KAAK,KAAV,EAAiB;AAEjB,UAAM,WAAW,GAAG,KAAK,MAAL,CAAY,GAAZ,CAAgB,aAAhB,CAApB;AACA,UAAM,YAAY,GAAG,KAAK,KAAL,CAAW,GAAX,CAAe,cAAf,CAArB;AAEA,uBAAU,WAAV,wCAAmD,YAAnD;AACD;AAxDH;AAAA;AAAA,uCA0D0B;AACtB,UAAI,CAAC,KAAK,KAAL,CAAW,GAAX,CAAe,eAAf,CAAL,EAAsC,OAAO,EAAP;AAEtC,aAAO,mCAAM,CAAC,KAAK,KAAL,CAAW,GAAX,CAAe,eAAf,CAAD,CAAN,CAAwC,MAAxC,CAA+C,uDAAQ,CAAC,SAAxD,CAAP;AACD;AA9DH;AAAA;AAAA,kCAgEoB;AAChB,aAAO;AACL,cAAM,EAAN,wEADK;AAEL,mBAAW,EAAE,CAAC,CAAC,KAAK,KAFf;AAGL,iBAAS,EAAE,2DAAa,CAAC,UAAd,CAAyB;AAAE,cAAI,EAAE,yDAAW,CAAC,KAApB;AAA2B,sBAAY,EAAE;AAAzC,SAAzB,CAHN;AAIL,qBAAa,EAAE,KAAK,gBAAL;AAJV,OAAP;AAMD;AAvEH;AAAA;AAAA,qCA+EuB;AACnB,UAAI,KAAK,OAAL,CAAa,YAAjB,EACE,KAAK,KAAL,GAAa,KAAK,yBAAL,CAA+B,8BAA/B,CAA8D,KAAK,OAAL,CAAa,YAA3E,CAAb;AAEF,UAAI,KAAK,OAAL,CAAa,QAAjB,EACE,KAAK,KAAL,GAAa,KAAK,yBAAL,CAA+B,0BAA/B,CAA0D,KAAK,OAAL,CAAa,QAAvE,CAAb;AAEF,aAAO,CAAC,CAAC,KAAK,KAAd;AACD;AAvFH;AAAA;AAAA,+BAyFiB;AACb,WAAK,aAAL,CAAmB,WAAnB,EAAgC,IAAI,kHAAJ,CAAuB;AACrD,aAAK,EAAE,IAAI,0DAAJ,CAAU;AAAE,mBAAS,EAAE;AAAE,eAAG,EAAE,KAAK,MAAL;AAAP;AAAb,SAAV,EAAiD;AAAE,eAAK,EAAE;AAAT,SAAjD,CAD8C;AAErD,wBAAgB,EAAE;AAAE,cAAI,EAAE,uEAAS,CAAC;AAAlB;AAFmC,OAAvB,CAAhC;AAID;AA9FH;AAAA;AAAA,wBAkBiB;AACb,aAAO,6BAAP;AACD;AApBH;AAAA;AAAA,wBAsBkB;AACd,aAAO,KAAP;AACD;AAxBH;AAAA;AAAA,wBA0BoB;AAChB,aAAO,GAAP;AACD;AA5BH;AAAA;AAAA,wBA8BqB;AACjB,aAAO,oEAAP;AACD;AAhCH;AAAA;AAAA,wBAwCsB;AAClB,aAAO,CAAC;AACN,qBAAa,EAAE,+DADT;AAEN,aAAK,EAAE,iCAFD;AAGN,uBAAe,EAAE,IAHX;AAIN,YAAI,EAAE;AAJA,OAAD,CAAP;AAMD;AA/CH;AAAA;AAAA,wBAyE8B;AAC1B,aAAO;AACL,cAAM,EAAE,0FAAuB,CAAC;AAD3B,OAAP;AAGD;AA7EH;;AAAA;AAAA,EAAiD,8DAAI,CAAC,IAAtD,E;;;;;;;;;;;AC1BA;AACA,kBAAkB,oC","file":"scripts/38.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;\n\n return ((stack1 = container.lambda(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.spinnerEl : stack1), depth0)) != null ? stack1 : \"\")\n + \"\\r\\n\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {});\n\n return \"<div class=\\\"row\\\">\\r\\n <div class=\\\"col-7\\\">\\r\\n <div class=\\\"row no-gutters\\\">\\r\\n\"\n + ((stack1 = helpers[\"if\"].call(alias2,(depth0 != null ? depth0.title : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(4, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + ((stack1 = helpers[\"if\"].call(alias2,(depth0 != null ? depth0.seriesName : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(6, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + ((stack1 = helpers[\"if\"].call(alias2,(depth0 != null ? depth0.duration : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(8, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + ((stack1 = helpers[\"if\"].call(alias2,(depth0 != null ? depth0.productionYear : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(10, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + ((stack1 = helpers[\"if\"].call(alias2,(depth0 != null ? depth0.audience : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(12, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + ((stack1 = helpers[\"if\"].call(alias2,(depth0 != null ? depth0.ratingCode : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(14, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + ((stack1 = helpers[\"if\"].call(alias2,(depth0 != null ? depth0.itemCode : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(16, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + ((stack1 = helpers[\"if\"].call(alias2,(depth0 != null ? depth0.producer : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(18, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + ((stack1 = helpers[\"if\"].call(alias2,(depth0 != null ? depth0.publisher : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(20, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + ((stack1 = helpers[\"if\"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.dateBroadcast : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(22, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + ((stack1 = helpers[\"if\"].call(alias2,(depth0 != null ? depth0.distributor : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(24, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + ((stack1 = helpers[\"if\"].call(alias2,(depth0 != null ? depth0.source : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(26, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \" </div>\\r\\n </div>\\r\\n <div class=\\\"col-5\\\">\\r\\n <div class=\\\"thumbnail-region\\\"></div>\\r\\n </div>\\r\\n <div class=\\\"col-12\\\">\\r\\n\"\n + ((stack1 = helpers[\"if\"].call(alias2,(depth0 != null ? depth0.description : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(28, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \" </div>\\r\\n</div>\\r\\n\";\n},\"4\":function(container,depth0,helpers,partials,data) {\n var helper, alias1=container.propertyIsEnumerable;\n\n return \" <div class=\\\"col-4\\\">\\r\\n <label class=\\\"font-weight-bold\\\">Title</label>\\r\\n </div>\\r\\n <div class=\\\"col-8\\\">\\r\\n <p>\"\n + container.escapeExpression(((helper = (helper = helpers.title || (depth0 != null ? depth0.title : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"title\",\"hash\":{},\"data\":data}) : helper)))\n + \"</p>\\r\\n </div>\\r\\n\";\n},\"6\":function(container,depth0,helpers,partials,data) {\n var helper, alias1=container.propertyIsEnumerable;\n\n return \" <div class=\\\"col-4\\\">\\r\\n <label class=\\\"font-weight-bold\\\">Series</label>\\r\\n </div>\\r\\n <div class=\\\"col-8\\\">\\r\\n <p>\"\n + container.escapeExpression(((helper = (helper = helpers.seriesName || (depth0 != null ? depth0.seriesName : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"seriesName\",\"hash\":{},\"data\":data}) : helper)))\n + \"</p>\\r\\n </div>\\r\\n\";\n},\"8\":function(container,depth0,helpers,partials,data) {\n var helper, alias1=container.propertyIsEnumerable;\n\n return \" <div class=\\\"col-4\\\">\\r\\n <label class=\\\"font-weight-bold\\\">Duration</label>\\r\\n </div>\\r\\n <div class=\\\"col-8\\\">\\r\\n <p>\"\n + container.escapeExpression(((helper = (helper = helpers.duration || (depth0 != null ? depth0.duration : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"duration\",\"hash\":{},\"data\":data}) : helper)))\n + \"</p>\\r\\n </div>\\r\\n\";\n},\"10\":function(container,depth0,helpers,partials,data) {\n var helper, alias1=container.propertyIsEnumerable;\n\n return \" <div class=\\\"col-4\\\">\\r\\n <label class=\\\"font-weight-bold\\\">Year</label>\\r\\n </div>\\r\\n <div class=\\\"col-8\\\">\\r\\n <p>\"\n + container.escapeExpression(((helper = (helper = helpers.productionYear || (depth0 != null ? depth0.productionYear : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"productionYear\",\"hash\":{},\"data\":data}) : helper)))\n + \"</p>\\r\\n </div>\\r\\n\";\n},\"12\":function(container,depth0,helpers,partials,data) {\n var helper, alias1=container.propertyIsEnumerable;\n\n return \" <div class=\\\"col-4\\\">\\r\\n <label class=\\\"font-weight-bold\\\">Audience</label>\\r\\n </div>\\r\\n <div class=\\\"col-8\\\">\\r\\n <p>\"\n + container.escapeExpression(((helper = (helper = helpers.audience || (depth0 != null ? depth0.audience : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"audience\",\"hash\":{},\"data\":data}) : helper)))\n + \"</p>\\r\\n </div>\\r\\n\";\n},\"14\":function(container,depth0,helpers,partials,data) {\n var helper, alias1=container.propertyIsEnumerable;\n\n return \" <div class=\\\"col-4\\\">\\r\\n <label class=\\\"font-weight-bold\\\">Rating</label>\\r\\n </div>\\r\\n <div class=\\\"col-8\\\">\\r\\n <p>\"\n + container.escapeExpression(((helper = (helper = helpers.ratingCode || (depth0 != null ? depth0.ratingCode : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"ratingCode\",\"hash\":{},\"data\":data}) : helper)))\n + \"</p>\\r\\n </div>\\r\\n\";\n},\"16\":function(container,depth0,helpers,partials,data) {\n var helper, alias1=container.propertyIsEnumerable;\n\n return \" <div class=\\\"col-4\\\">\\r\\n <label class=\\\"font-weight-bold\\\">Identifier</label>\\r\\n </div>\\r\\n <div class=\\\"col-8\\\">\\r\\n <p>\"\n + container.escapeExpression(((helper = (helper = helpers.itemCode || (depth0 != null ? depth0.itemCode : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"itemCode\",\"hash\":{},\"data\":data}) : helper)))\n + \"</p>\\r\\n </div>\\r\\n\";\n},\"18\":function(container,depth0,helpers,partials,data) {\n var helper, alias1=container.propertyIsEnumerable;\n\n return \" <div class=\\\"col-4\\\">\\r\\n <label class=\\\"font-weight-bold\\\">Creator</label>\\r\\n </div>\\r\\n <div class=\\\"col-8\\\">\\r\\n <p>\"\n + container.escapeExpression(((helper = (helper = helpers.producer || (depth0 != null ? depth0.producer : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"producer\",\"hash\":{},\"data\":data}) : helper)))\n + \"</p>\\r\\n </div>\\r\\n\";\n},\"20\":function(container,depth0,helpers,partials,data) {\n var helper, alias1=container.propertyIsEnumerable;\n\n return \" <div class=\\\"col-4\\\">\\r\\n <label class=\\\"font-weight-bold\\\">Publisher</label>\\r\\n </div>\\r\\n <div class=\\\"col-8\\\">\\r\\n <p>\"\n + container.escapeExpression(((helper = (helper = helpers.publisher || (depth0 != null ? depth0.publisher : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"publisher\",\"hash\":{},\"data\":data}) : helper)))\n + \"</p>\\r\\n </div>\\r\\n\";\n},\"22\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return \" <div class=\\\"col-4\\\">\\r\\n <label class=\\\"font-weight-bold\\\">Date Broadcast</label>\\r\\n </div>\\r\\n <div class=\\\"col-8\\\">\\r\\n <p>\"\n + container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.dateBroadcast : stack1), depth0))\n + \"</p>\\r\\n </div>\\r\\n\";\n},\"24\":function(container,depth0,helpers,partials,data) {\n var helper, alias1=container.propertyIsEnumerable;\n\n return \" <div class=\\\"col-4\\\">\\r\\n <label class=\\\"font-weight-bold\\\">Distributor</label>\\r\\n </div>\\r\\n <div class=\\\"col-8\\\">\\r\\n <p>\"\n + container.escapeExpression(((helper = (helper = helpers.distributor || (depth0 != null ? depth0.distributor : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"distributor\",\"hash\":{},\"data\":data}) : helper)))\n + \"</p>\\r\\n </div>\\r\\n\";\n},\"26\":function(container,depth0,helpers,partials,data) {\n var helper, alias1=container.propertyIsEnumerable;\n\n return \" <div class=\\\"col-4\\\">\\r\\n <label class=\\\"font-weight-bold\\\">Source</label>\\r\\n </div>\\r\\n <div class=\\\"col-8\\\">\\r\\n <p>\"\n + container.escapeExpression(((helper = (helper = helpers.source || (depth0 != null ? depth0.source : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"source\",\"hash\":{},\"data\":data}) : helper)))\n + \"</p>\\r\\n </div>\\r\\n\";\n},\"28\":function(container,depth0,helpers,partials,data) {\n var helper, alias1=container.propertyIsEnumerable;\n\n return \" <label class=\\\"font-weight-bold\\\">Description</label>\\r\\n <p>\"\n + container.escapeExpression(((helper = (helper = helpers.description || (depth0 != null ? depth0.description : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"description\",\"hash\":{},\"data\":data}) : helper)))\n + \"</p>\\r\\n\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return ((stack1 = helpers.unless.call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.dataFetched : stack1),{\"name\":\"unless\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.program(3, data, 0),\"data\":data})) != null ? stack1 : \"\")\n + \"\\r\\n\";\n},\"useData\":true});","import { ObjectHash } from 'backbone';\r\nimport * as moment from 'moment';\r\n\r\nimport { InstanceManager } from 'libs/common/backbone/services/InstanceManager';\r\nimport { Core } from 'libs/common/core';\r\nimport { ThumbnailComponent } from 'libs/shared/legacy/components/thumbnail/ThumbnailComponent';\r\nimport { ImageSize } from 'libs/shared/enums/Images';\r\n\r\nimport { SpinnerSize, SpinnerHelper } from 'shared/utils';\r\nimport { PopupBehavior } from 'shared/behaviors';\r\nimport { Config } from 'shared/models/Config';\r\nimport { Video } from 'shared/models/Video';\r\nimport { DataServices, DataPrefixes, DataChannels } from 'shared/constants';\r\nimport { ConfigDataServiceHelper } from 'shared/services/ConfigDataService';\r\nimport { TimeType } from 'shared/enums';\r\n\r\nimport { MigrationVideoDataService } from 'apps/migration-wizard/services/MigrationVideoDataService';\r\n\r\nimport styles from './show-publisher-video-popup.scss';\r\nimport ShowVideoPopupTemplate from './ShowPublisherVideoPopup.hbs';\r\n\r\ninterface ShowPublisherVideoPopupViewOptions extends Core.ViewOptions {\r\n trackingCode?: string;\r\n masterId?: string;\r\n}\r\n\r\nexport class ShowPublisherVideoPopupView extends Core.View {\r\n private config: Config;\r\n public options: ShowPublisherVideoPopupViewOptions;\r\n private migrationVideoDataService: MigrationVideoDataService;\r\n\r\n constructor(options: ShowPublisherVideoPopupViewOptions) {\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.CUSTOMER_VIDEO}:${this.options.trackingCode}:sync`, this.render);\r\n this.listenTo(DataChannels.MIGRATION,\r\n `${DataPrefixes.CUSTOMER_VIDEO}:${this.options.masterId}:sync`, this.render);\r\n }\r\n\r\n public get name(): string {\r\n return 'ShowPublisherVideoPopupView';\r\n }\r\n\r\n public get title(): boolean {\r\n return false;\r\n }\r\n\r\n public get tagName(): string {\r\n return 'p';\r\n }\r\n\r\n public get template(): any {\r\n return ShowVideoPopupTemplate;\r\n }\r\n\r\n public regions(): ObjectHash {\r\n return {\r\n thumbnail: '.thumbnail-region'\r\n };\r\n }\r\n\r\n public get behaviors(): any[] {\r\n return [{\r\n behaviorClass: PopupBehavior,\r\n title: 'Publisher Archive Video Details',\r\n hideCloseButton: true,\r\n size: 'modal-lg'\r\n }];\r\n }\r\n\r\n private getUrl(): string {\r\n if (!this.model) return;\r\n\r\n const imageCdnUrl = this.config.get('imageCdnUrl');\r\n const trackingCode = this.model.get('trackingCode');\r\n\r\n return `${imageCdnUrl}v1/thumbnails/trackingcode/${trackingCode}`;\r\n }\r\n\r\n private getBroadcastDate(): string {\r\n if (!this.model.get('dateBroadcast')) return '';\r\n\r\n return moment(this.model.get('dateBroadcast')).format(TimeType.FULL_YEAR);\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n return {\r\n styles,\r\n dataFetched: !!this.model,\r\n spinnerEl: SpinnerHelper.getSpinner({ size: SpinnerSize.Large, extraClasses: 'mx-auto' }),\r\n dateBroadcast: this.getBroadcastDate()\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 if (this.options.trackingCode)\r\n this.model = this.migrationVideoDataService.getCustomerVideoByTrackingCode(this.options.trackingCode);\r\n\r\n if (this.options.masterId)\r\n this.model = this.migrationVideoDataService.getCustomerVideoByMasterId(this.options.masterId);\r\n\r\n return !!this.model;\r\n }\r\n\r\n public onRender(): void {\r\n this.showChildView('thumbnail', new ThumbnailComponent({\r\n model: new Video({ thumbnail: { url: this.getUrl() } }, { parse: true }),\r\n thumbnailOptions: { size: ImageSize.Small }\r\n }));\r\n }\r\n}\r\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"thumbnail\":\"cv--thumbnail--3S7KI\"};"],"sourceRoot":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[39],{1011:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n(2),o=n(238);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(c,e);var t,n,r,i=u(c);function c(){return l(this,c),i.apply(this,arguments)}return t=c,(n=[{key:"defaults",value:function(){return e={},t=o.c.Disabled,n=!0,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;var e,t,n}}])&&a(t.prototype,n),r&&a(t,r),c}(r.a.Model)},1019:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(1),o=n(47),i=n(153),l=n(3),a="libraryEditor.utils",s={name:[{required:!0,msg:function(){return l.a.getPhrase(a,"folderNameRequired")}},{maxLength:255,msg:function(){return l.a.getPhrase(a,"folderNameExceeds")}}]},u=function(e,t){return{parentId:function(n){return n?o.a.calculateDestinationFolderDepth(e,n,t)>i.a.MAX_FOLDER_DEPTH?l.a.getPhrase(a,"maxFolderDepth",{maxDepth:i.a.MAX_FOLDER_DEPTH}):"":l.a.getPhrase(a,"selectParentFolder")}}},c=function(e){var t=e.validateName,n=e.validateParent,o=e.folder,i=e.collection;return t&&n?r.extend({},s,u(o,i)):t?s:n?u(o,i):void 0}},1028:function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var r=n(7),o=n(2),i=n(3),l=n(1042),a=n(12),s=n(1029),u=n.n(s),c=n(1030),f=n.n(c);function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=m(e);if(t){var o=m(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b(this,n)}}function b(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(c,e);var t,n,o,s=y(c);function c(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),s.call(this,e)}return t=c,(n=[{key:"initialize",value:function(){this.listenTo(this.options.channelName,"folder:selected new:folder:selected",this.setButtonText),this.listenTo(this.options.channelName,"re:render:selector",this.renderSelector),this.disabledIds=this.options.disabledIds&&this.options.disabledIds.reduce((function(e,t){return Object.assign(Object.assign({},e),function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t,!0))}),{})}},{key:"regions",value:function(){return{selector:{el:".selector-region",replaceElement:!1}}}},{key:"events",value:function(){return{"click .create-new":"onClickCreateNew"}}},{key:"onClickCreateNew",value:function(e){e.preventDefault(),r.Radio.channel(this.options.channelName).trigger("create:folder:clicked")}},{key:"setButtonText",value:function(e,t){if(e&&!t){var n=e.get("name");this.getUI("button").text(n)}else{var r=a.f.getSelected(this.options.folderTreeKey,this.collection),o=r?r.get("name"):i.a.getPhrase(this.lang,"button");this.getUI("button").text(o)}}},{key:"renderSelector",value:function(){this.showChildView("selector",new l.a({styles:f.a,collection:this.collection,channelName:this.options.channelName,childrenProperty:"children",folderTreeId:this.options.folderTreeKey,extraClass:f.a.list,extraClasses:f.a.list,isSelector:!0,disabledIds:this.disabledIds||{}}))}},{key:"viewOptions",value:function(){return{styles:f.a,name:this.options.name||this.options.channelName,buttonText:this.buttonText,canCreateNew:this.options.canCreateNew}}},{key:"onRender",value:function(){this.setButtonText(),this.renderSelector()}},{key:"name",get:function(){return"TreeDropdownComponent"}},{key:"template",get:function(){return u.a}},{key:"className",get:function(){return"position-relative"}},{key:"lang",get:function(){return"libraryEditor.treeDropdown"}},{key:"defaults",get:function(){return{disabledIds:[]}}},{key:"elements",get:function(){return{button:".custom-select"}}}])&&p(t.prototype,n),o&&p(t,o),c}(o.a.Component)},1029:function(e,t,n){var r=n(9);e.exports=(r.default||r).template({1:function(e,t,n,r,o){e.propertyIsEnumerable;var i,l=e.escapeExpression;return' <button class="create-new btn font-weight-bold rounded-0 w-100 text-left '+l(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.customItem:i,t))+'">'+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"createNew",{name:"lang",hash:{},data:o}))+"</button>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,l=e.lambda,a=e.escapeExpression;return'<button\r\n class="'+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.selectBtn:i,t))+' custom-select form-control"\r\n data-toggle="dropdown"\r\n aria-haspopup="true"\r\n aria-expanded="false"\r\n name='+a(l(null!=(i=null!=t?t.options:t)?i.name:i,t))+"\r\n>"+a(l(null!=(i=null!=t?t.options:t)?i.buttonText:i,t))+'</button>\r\n<div class="dropdown-menu '+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.selector:i,t))+'">\r\n <div class="selector-region"></div>\r\n'+(null!=(i=n.if.call(null!=t?t:e.nullContext||{},null!=(i=null!=t?t.options:t)?i.canCreateNew:i,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o}))?i:"")+'</div>\r\n<div class="form-feedback"></div>'},useData:!0})},1030:function(e,t,n){e.exports={selectBtn:"_2TTgs",list:"_3wN7o",selector:"_3Xf1P",customItem:"_199PI"}},1086:function(e,t,n){"use strict";n.d(t,"a",(function(){return b}));var r=n(2),o=n(274),i=n(12),l=n(1028),a=n(1019),s=n(1087),u=n.n(s);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=y(e);if(t){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return h(this,n)}}function h(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(c,e);var t,n,r,s=p(c);function c(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),s.call(this,e)}return t=c,(n=[{key:"initialize",value:function(){this.bindListeners()}},{key:"bindListeners",value:function(){this.listenTo(this.options.channelName,"folder:selected",this.onFolderSelected)}},{key:"regions",value:function(){return{parentFolder:".parent-folder-region"}}},{key:"onFolderSelected",value:function(e,t){e&&(i.f.setSelected(this.folderTreeKey,e,this.collection,t),t||this.model.set("parentId",e.get("id"),{validate:!0}))}},{key:"renderSubFolders",value:function(){this.options.editParent&&this.showChildView("parentFolder",new l.a({collection:this.collection,channelName:this.options.channelName,folderTreeKey:this.folderTreeKey,disabledIds:this.options.disabledParentFolderIds}))}},{key:"viewOptions",value:function(){return{editName:this.options.editName,editParent:this.options.editParent}}},{key:"onRender",value:function(){this.renderSubFolders()}},{key:"name",get:function(){return"FolderDetailsComponent"}},{key:"template",get:function(){return u.a}},{key:"lang",get:function(){return"libraryEditor.folderDetails"}},{key:"folderTreeKey",get:function(){return this.options.folderTreeKey||"folderselect:".concat(this.cid)}},{key:"behaviors",get:function(){return[{behaviorClass:o.a,modelValidation:Object(a.a)({validateName:this.options.editName,validateParent:this.options.editParent,folder:this.options.model,collection:this.options.collection})},{behaviorClass:o.g}]}},{key:"bindings",get:function(){return{"[name=name]":{observe:"name",setOptions:{validate:!0}}}}}])&&f(t.prototype,n),r&&f(t,r),c}(r.a.Component)},1087:function(e,t,n){var r=n(9);e.exports=(r.default||r).template({1:function(e,t,n,r,o){e.propertyIsEnumerable;var i=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,a=e.escapeExpression;return' <div class="form-group">\r\n <label for="name" class="control-label">'+a((n.lang||t&&t.lang||l).call(i,"name",{name:"lang",hash:{},data:o}))+'</label>\r\n <input name="name" id="name" type="text" class="form-control" placeholder="'+a((n.lang||t&&t.lang||l).call(i,"namePlaceholder",{name:"lang",hash:{},data:o}))+'" autocomplete="off" autofocus/>\r\n <div class="form-feedback"></div>\r\n </div>\r\n'},3:function(e,t,n,r,o){e.propertyIsEnumerable;return' <div class="form-group pt-2">\r\n <label for="parentId" class="control-label">'+e.escapeExpression((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"parent",{name:"lang",hash:{},data:o}))+'</label>\r\n <div class="parent-folder-region"></div>\r\n </div>\r\n'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,l=null!=t?t:e.nullContext||{};return"<form>\r\n"+(null!=(i=n.if.call(l,null!=(i=null!=t?t.options:t)?i.editName:i,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o}))?i:"")+(null!=(i=n.if.call(l,null!=(i=null!=t?t.options:t)?i.editParent:i,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o}))?i:"")+"</form>"},useData:!0})},1208:function(e,t,n){var r=n(9);e.exports=(r.default||r).template({1:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return(null!=(i=e.lambda(null!=(i=null!=t?t.options:t)?i.spinnerEl:i,t))?i:"")+"\r\n"},3:function(e,t,n,r,o){return'<div class="folder-details-region"></div>\r\n'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return null!=(i=n.unless.call(null!=t?t:e.nullContext||{},null!=(i=null!=t?t.options:t)?i.dataFetched:i,{name:"unless",hash:{},fn:e.program(1,o,0),inverse:e.program(3,o,0),data:o}))?i:""},useData:!0})},1396:function(e,t,n){"use strict";n.r(t),n.d(t,"MoveFolderView",(function(){return R}));var r=n(1),o=n(7),i=n(2),l=n(28),a=n(5),s=n(40),u=n(0),c=n(274),f=n(1011),d=n(78),p=n(12),h=n(238),y=n(3),b=n(1086),m=n(1208),v=n.n(m);function g(e){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function w(e){return function(e){if(Array.isArray(e))return k(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return k(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return k(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function k(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function P(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function I(e,t){return(I=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function O(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_(e);if(t){var o=_(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return S(this,n)}}function S(e,t){return!t||"object"!==g(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function _(e){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var R=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&I(e,t)}(k,e);var t,n,m,g=O(k);function k(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,k),g.call(this,e)}return t=k,(n=[{key:"initialize",value:function(){this.bindListeners(),this.libraryDataService=a.a.getInstance(u.g.Library,this)}},{key:"bindListeners",value:function(){this.listenTo(u.e.LIBRARY,"libraries:sync",this.render),this.listenTo(u.e.LIBRARY,"folder:".concat(this.options.folderId,":sync"),this.render)}},{key:"regions",value:function(){return{folderDetails:".folder-details-region"}}},{key:"events",value:function(){return{submit:"onSubmit"}}},{key:"onSubmit",value:function(e){e&&e.preventDefault(),this.viewModel.validate(),!1!==this.viewModel.isValid()&&(o.Radio.channel(this.channelName).trigger(h.b.ShowSpinner),this.saveFolder(),this.logAction())}},{key:"logAction",value:function(){var e=this.getParentIds(),t=e.oldParentId,n=e.newParentId,r={id:this.options.folderId,isSubfolder:n.toString()!==this.library.get("id").toString(),oldParentId:t,newParentId:n};s.a.logUserAction(r,this.options.analyticsOptions)}},{key:"saveFolder",value:function(){var e=this,t=this.getParentIds(),n=t.oldParentId,r=t.newParentId;n!==r?this.libraryDataService.moveFolder(this.viewModel.get("id"),r,n,(function(){i.a.AppLinkHelper.trigger({application:u.b.LIBRARY_EDITOR,action:u.a.LibraryEditor.FOLDER,args:[e.viewModel.get("id")]}),e.triggerMethod("hide")})):i.a.AppLinkHelper.trigger({application:u.b.LIBRARY_EDITOR,action:u.a.LibraryEditor.FOLDER,args:[this.viewModel.get("id")]})}},{key:"getParentIds",value:function(){return{oldParentId:p.f.getParent(this.options.folderId,this.collection).get("id"),newParentId:this.viewModel.get("parentId")}}},{key:"setUpCollection",value:function(e){this.collection||(this.library=p.f.getLibrary(this.options.folderId,e),this.collection=this.library.children)}},{key:"setUpModel",value:function(e){this.model||(this.model=e,this.setUpViewModel())}},{key:"setUpViewModel",value:function(){if(!this.viewModel){var e="folder:details:".concat(this.options.folderId);this.viewModel=l.a.get(e,this.model.toJSON(),{ctor:d.a});var t=p.f.getParent(this.options.folderId,this.collection);this.viewModel.set("parentId",t?t.get("id"):null),this.listenTo(this.viewModel,"change:parentId",this.onParentChange)}}},{key:"onParentChange",value:function(){var e=this.getParentIds(),t=e.oldParentId,n=e.newParentId;this.spinnerModel.set(h.c.Disabled,t===n)}},{key:"getDisabledParentFolderIds",value:function(){var e=[this.model.get("id").toString()];return this.viewModel.get("parentId")&&e.push(this.viewModel.get("parentId").toString()),this.model.children?[].concat(e,w(p.f.flatten(this.model.children).map((function(e){return e.id.toString()})))):e}},{key:"renderFolderDetails",value:function(){if(this.model&&this.collection){var e=new b.a({model:this.viewModel,collection:this.collection,library:this.library,channelName:this.channelName,editName:!1,editParent:!0,disabledParentFolderIds:this.getDisabledParentFolderIds()});this.showChildView("folderDetails",e)}}},{key:"onBeforeRender",value:function(){this.libraryDataService.getLibraries(r.bind(this.setUpCollection,this)),this.libraryDataService.getFolderFromLibraries(this.options.folderId,r.bind(this.setUpModel,this))}},{key:"viewOptions",value:function(){return{dataFetched:!!this.model&&!!this.collection,spinnerEl:p.q.getSpinner({size:p.r.Large,extraClasses:"mx-auto"})}}},{key:"onRender",value:function(){this.renderFolderDetails()}},{key:"name",get:function(){return"MoveFolderView"}},{key:"title",get:function(){return y.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"libraryEditor.moveFolder"}},{key:"template",get:function(){return v.a}},{key:"channelName",get:function(){return p.k.generateUniqueChannelName(this)}},{key:"behaviors",get:function(){var e=this;return[{behaviorClass:c.f,title:y.a.getPhrase(this.lang,"heading"),spinnerButtonOptions:{model:this.spinnerModel=new f.a,channelName:this.channelName,buttonText:y.a.getPhrase(this.lang,"move"),onClick:function(t){return e.onSubmit(t)}}}]}}])&&P(t.prototype,n),m&&P(t,m),k}(i.a.View)}}]);
|
package/dist/scripts/39.chunk.js
DELETED
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
(window["webpackJsonp_clickview_library_editor"] = window["webpackJsonp_clickview_library_editor"] || []).push([[39],{
|
|
2
|
-
|
|
3
|
-
/***/ "./src/shared/views/download-video/DownloadVideoView.ts":
|
|
4
|
-
/*!**************************************************************!*\
|
|
5
|
-
!*** ./src/shared/views/download-video/DownloadVideoView.ts ***!
|
|
6
|
-
\**************************************************************/
|
|
7
|
-
/*! exports provided: DownloadVideoView */
|
|
8
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9
|
-
|
|
10
|
-
"use strict";
|
|
11
|
-
__webpack_require__.r(__webpack_exports__);
|
|
12
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DownloadVideoView", function() { return DownloadVideoView; });
|
|
13
|
-
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
14
|
-
/* harmony import */ var _libs_common_src_backbone_constants_CommonServices__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../libs/common/src/backbone/constants/CommonServices */ "../../libs/common/src/backbone/constants/CommonServices.ts");
|
|
15
|
-
/* harmony import */ var _services_ConfigDataService__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../services/ConfigDataService */ "./src/shared/services/ConfigDataService.ts");
|
|
16
|
-
/* harmony import */ var _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../libs/common/src/backbone/services/InstanceManager */ "../../libs/common/src/backbone/services/InstanceManager.ts");
|
|
17
|
-
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../constants */ "./src/shared/constants/index.ts");
|
|
18
|
-
/* harmony import */ var _apps_library_editor_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../apps/library-editor/utils */ "./src/apps/library-editor/utils/index.ts");
|
|
19
|
-
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); }
|
|
20
|
-
|
|
21
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
22
|
-
|
|
23
|
-
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); } }
|
|
24
|
-
|
|
25
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
26
|
-
|
|
27
|
-
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); }
|
|
28
|
-
|
|
29
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
30
|
-
|
|
31
|
-
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); }; }
|
|
32
|
-
|
|
33
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
34
|
-
|
|
35
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
36
|
-
|
|
37
|
-
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; } }
|
|
38
|
-
|
|
39
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
var DownloadVideoView = /*#__PURE__*/function (_Core$View) {
|
|
48
|
-
_inherits(DownloadVideoView, _Core$View);
|
|
49
|
-
|
|
50
|
-
var _super = _createSuper(DownloadVideoView);
|
|
51
|
-
|
|
52
|
-
function DownloadVideoView(options) {
|
|
53
|
-
_classCallCheck(this, DownloadVideoView);
|
|
54
|
-
|
|
55
|
-
return _super.call(this, options);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
_createClass(DownloadVideoView, [{
|
|
59
|
-
key: "initialize",
|
|
60
|
-
value: function initialize() {
|
|
61
|
-
this.downloadProxyDataService = _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_3__["InstanceManager"].getInstance(_constants__WEBPACK_IMPORTED_MODULE_4__["DataServices"].DownloadProxy, this);
|
|
62
|
-
}
|
|
63
|
-
}, {
|
|
64
|
-
key: "cancelScrollTop",
|
|
65
|
-
value: function cancelScrollTop() {
|
|
66
|
-
var scrollService = _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_3__["InstanceManager"].getInstance(_libs_common_src_backbone_constants_CommonServices__WEBPACK_IMPORTED_MODULE_1__["CommonServices"].SCROLL);
|
|
67
|
-
scrollService.cancelScrollTop();
|
|
68
|
-
}
|
|
69
|
-
}, {
|
|
70
|
-
key: "onBeforeRender",
|
|
71
|
-
value: function onBeforeRender() {
|
|
72
|
-
var _this = this;
|
|
73
|
-
|
|
74
|
-
this.cancelScrollTop();
|
|
75
|
-
this.downloadProxyDataService.createDownloadToken(this.options.videoId, function (data) {
|
|
76
|
-
var url = _apps_library_editor_utils__WEBPACK_IMPORTED_MODULE_5__["DownloadHelper"].getVideoDownloadUrl(_this.config.get('downloadProxy'), data.get('token'));
|
|
77
|
-
|
|
78
|
-
_this.$el.attr('src', url);
|
|
79
|
-
});
|
|
80
|
-
}
|
|
81
|
-
}, {
|
|
82
|
-
key: "name",
|
|
83
|
-
get: function get() {
|
|
84
|
-
return 'DownloadVideoView';
|
|
85
|
-
}
|
|
86
|
-
}, {
|
|
87
|
-
key: "title",
|
|
88
|
-
get: function get() {
|
|
89
|
-
return false;
|
|
90
|
-
}
|
|
91
|
-
}, {
|
|
92
|
-
key: "tagName",
|
|
93
|
-
get: function get() {
|
|
94
|
-
return 'iframe';
|
|
95
|
-
}
|
|
96
|
-
}, {
|
|
97
|
-
key: "template",
|
|
98
|
-
get: function get() {
|
|
99
|
-
return '<div></div>';
|
|
100
|
-
}
|
|
101
|
-
}, {
|
|
102
|
-
key: "requiredResources",
|
|
103
|
-
get: function get() {
|
|
104
|
-
return {
|
|
105
|
-
config: _services_ConfigDataService__WEBPACK_IMPORTED_MODULE_2__["ConfigDataServiceHelper"].config
|
|
106
|
-
};
|
|
107
|
-
}
|
|
108
|
-
}]);
|
|
109
|
-
|
|
110
|
-
return DownloadVideoView;
|
|
111
|
-
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].View);
|
|
112
|
-
|
|
113
|
-
/***/ })
|
|
114
|
-
|
|
115
|
-
}]);
|
|
116
|
-
//# sourceMappingURL=39.chunk.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/shared/views/download-video/DownloadVideoView.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AAGA;AACA;AAEA;AACA;AAOO,IAAM,iBAAb;AAAA;;AAAA;;AAKE,6BAAY,OAAZ,EAA6C;AAAA;;AAAA,6BACrC,OADqC;AAE5C;;AAPH;AAAA;AAAA,iCASmB;AACf,WAAK,wBAAL,GAAgC,kGAAe,CAAC,WAAhB,CAA4B,uDAAY,CAAC,aAAzC,EAAwD,IAAxD,CAAhC;AACD;AAXH;AAAA;AAAA,sCA6ByB;AACrB,UAAM,aAAa,GAAG,kGAAe,CAAC,WAAhB,CAA2C,iGAAc,CAAC,MAA1D,CAAtB;AAEA,mBAAa,CAAC,eAAd;AACD;AAjCH;AAAA;AAAA,qCAyCuB;AAAA;;AACnB,WAAK,eAAL;AAEA,WAAK,wBAAL,CAA8B,mBAA9B,CAAkD,KAAK,OAAL,CAAa,OAA/D,EAAwE,UAAC,IAAD,EAAqB;AAC3F,YAAM,GAAG,GAAG,yEAAc,CAAC,mBAAf,CAAmC,KAAI,CAAC,MAAL,CAAY,GAAZ,CAAgB,eAAhB,CAAnC,EAAqE,IAAI,CAAC,GAAL,CAAS,OAAT,CAArE,CAAZ;;AACA,aAAI,CAAC,GAAL,CAAS,IAAT,CAAc,KAAd,EAAqB,GAArB;AACD,OAHD;AAID;AAhDH;AAAA;AAAA,wBAaiB;AACb,aAAO,mBAAP;AACD;AAfH;AAAA;AAAA,wBAiBkB;AACd,aAAO,KAAP;AACD;AAnBH;AAAA;AAAA,wBAqBoB;AAChB,aAAO,QAAP;AACD;AAvBH;AAAA;AAAA,wBAyBqB;AACjB,aAAO,aAAP;AACD;AA3BH;AAAA;AAAA,wBAmC8B;AAC1B,aAAO;AACL,cAAM,EAAE,mFAAuB,CAAC;AAD3B,OAAP;AAGD;AAvCH;;AAAA;AAAA,EAAuC,8DAAI,CAAC,IAA5C,E","file":"scripts/39.chunk.js","sourcesContent":["import { Core } from 'libs/common/core';\r\nimport { CommonServices } from 'libs/common/backbone/constants/CommonServices';\r\nimport { ScrollService } from 'libs/common/backbone/services/ScrollService';\r\n\r\nimport { ConfigDataServiceHelper } from 'shared/services/ConfigDataService';\r\nimport { InstanceManager } from 'libs/common/backbone/services/InstanceManager';\r\nimport { Config } from 'shared/models/Config';\r\nimport { DataServices } from 'shared/constants';\r\nimport { DownloadHelper } from 'apps/library-editor/utils';\r\nimport { DownloadProxyDataService } from 'shared/services/DownloadProxyDataServices';\r\n\r\ninterface DownloadVideoViewOptions extends Core.ViewOptions {\r\n videoId: string;\r\n}\r\n\r\nexport class DownloadVideoView extends Core.View {\r\n public options: DownloadVideoViewOptions;\r\n private downloadProxyDataService: DownloadProxyDataService;\r\n private config: Config;\r\n\r\n constructor(options: DownloadVideoViewOptions) {\r\n super(options);\r\n }\r\n\r\n public initialize(): void {\r\n this.downloadProxyDataService = InstanceManager.getInstance(DataServices.DownloadProxy, this);\r\n }\r\n\r\n public get name(): string {\r\n return 'DownloadVideoView';\r\n }\r\n\r\n public get title(): boolean {\r\n return false;\r\n }\r\n\r\n public get tagName(): string {\r\n return 'iframe';\r\n }\r\n\r\n public get template(): string {\r\n return '<div></div>';\r\n }\r\n\r\n private cancelScrollTop(): void {\r\n const scrollService = InstanceManager.getInstance<ScrollService>(CommonServices.SCROLL);\r\n\r\n scrollService.cancelScrollTop();\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(): void {\r\n this.cancelScrollTop();\r\n\r\n this.downloadProxyDataService.createDownloadToken(this.options.videoId, (data: Core.Model) => {\r\n const url = DownloadHelper.getVideoDownloadUrl(this.config.get('downloadProxy'), data.get('token'));\r\n this.$el.attr('src', url);\r\n });\r\n }\r\n}"],"sourceRoot":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[4],{1276:function(n,e,t){var a=t(9);n.exports=(a.default||a).template({1:function(n,e,t,a,r){n.propertyIsEnumerable;var i=null!=e?e:n.nullContext||{},o=n.hooks.helperMissing,l=n.escapeExpression;return"<p>"+l((t.lang||e&&e.lang||o).call(i,"infoHeading",{name:"lang",hash:{},data:r}))+"</p>\r\n<p>"+l((t.lang||e&&e.lang||o).call(i,"meaningSubheading",{name:"lang",hash:{},data:r}))+"</p>\r\n<ul>\r\n <li>"+l((t.lang||e&&e.lang||o).call(i,"meaning1",{name:"lang",hash:{},data:r}))+"</li>\r\n <li>"+l((t.lang||e&&e.lang||o).call(i,"meaning2",{name:"lang",hash:{},data:r}))+"</li>\r\n <li>"+l((t.lang||e&&e.lang||o).call(i,"meaning3",{name:"lang",hash:{},data:r}))+"</li>\r\n</ul>\r\n"},3:function(n,e,t,a,r){n.propertyIsEnumerable;var i=null!=e?e:n.nullContext||{},o=n.hooks.helperMissing,l=n.escapeExpression;return"<p>"+l((t.lang||e&&e.lang||o).call(i,"disclaimer",{name:"lang",hash:{},data:r}))+"</p>\r\n<p>"+l((t.lang||e&&e.lang||o).call(i,"featureSubheading",{name:"lang",hash:{},data:r}))+"</p>\r\n<ul>\r\n <li>"+l((t.lang||e&&e.lang||o).call(i,"feature1",{name:"lang",hash:{},data:r}))+"</li> \r\n <li>"+l((t.lang||e&&e.lang||o).call(i,"feature2",{name:"lang",hash:{},data:r}))+"</li>\r\n</ul>\r\n"},compiler:[8,">= 4.3.0"],main:function(n,e,t,a,r){var i;n.propertyIsEnumerable;return null!=(i=t.if.call(null!=e?e:n.nullContext||{},null!=(i=null!=e?e.options:e)?i.noPublisher:i,{name:"if",hash:{},fn:n.program(1,r,0),inverse:n.program(3,r,0),data:r}))?i:""},useData:!0})},1410:function(n,e,t){"use strict";t.r(e),t.d(e,"PublishLibraryView",(function(){return P}));var a=t(7),r=t(5),i=t(2),o=t(274),l=t(0),u=t(238),c=t(12),s=t(3),h=t(131),f=t(288),g=t(290),p=t(54),b=t(1276),y=t.n(b);function m(n){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function d(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function v(n,e){for(var t=0;t<e.length;t++){var a=e[t];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(n,a.key,a)}}function k(n,e){return(k=Object.setPrototypeOf||function(n,e){return n.__proto__=e,n})(n,e)}function S(n){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(n){return!1}}();return function(){var t,a=_(n);if(e){var r=_(this).constructor;t=Reflect.construct(a,arguments,r)}else t=a.apply(this,arguments);return w(this,t)}}function w(n,e){return!e||"object"!==m(e)&&"function"!=typeof e?function(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(n):e}function _(n){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var P=function(n){!function(n,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),e&&k(n,e)}(w,n);var e,t,b,m=S(w);function w(){return d(this,w),m.apply(this,arguments)}return e=w,(t=[{key:"initialize",value:function(){this.libraryDataService=r.a.getInstance(l.g.Library,this),this.migrationVideoDataService=r.a.getInstance(l.g.MigrationVideo,this),this.videoDataService=r.a.getInstance(l.g.Video,this)}},{key:"onClickContinue",value:function(){var n=this;a.Radio.channel(this.channelName).trigger(u.b.ShowSpinner);var e=0,t=function(){++e===n.libraries.length&&(n.triggerMethod("hide"),n.videoDataService.clearVideoCache(),a.Radio.channel(f.a.LIBRARY_STATUS).trigger("status:changed"))};p.a.noPublisher(this.customerMetadata)?this.libraries.each((function(e){n.libraryDataService.publishLibrary(e.get("id"),t)})):this.migrationVideoDataService.publishLibraries((function(){i.a.AppLinkHelper.trigger({application:l.b.MIGRATION_WIZARD,action:l.a.MigrationWizard.PUBLISH_LIBRARY_PROGRESS})}))}},{key:"viewOptions",value:function(){return{noPublisher:p.a.noPublisher(this.customerMetadata)}}},{key:"name",get:function(){return"PublishLibraryView"}},{key:"title",get:function(){return s.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"libraryEditor.publishLibrary"}},{key:"template",get:function(){return y.a}},{key:"channelName",get:function(){return c.k.generateUniqueChannelName(this)}},{key:"behaviors",get:function(){var n=this;return[{title:s.a.getPhrase(this.lang,"heading"),behaviorClass:o.f,spinnerButtonOptions:{channelName:this.channelName,buttonText:s.a.getPhrase(this.lang,"continue"),onClick:function(){return n.onClickContinue()}}}]}},{key:"requiredResources",get:function(){return{libraries:h.b.libraries,customerMetadata:g.b.customerMetaData}}}])&&v(e.prototype,t),b&&v(e,b),w}(i.a.View)}}]);
|