@clickview/library-editor 1.1.23-rc.3 → 1.1.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/1.chunk.css.map +1 -1
- package/dist/css/10.chunk.css.map +1 -1
- package/dist/css/11.chunk.css.map +1 -1
- package/dist/css/12.chunk.css.map +1 -1
- package/dist/css/13.chunk.css.map +1 -1
- package/dist/css/14.chunk.css.map +1 -1
- package/dist/css/16.chunk.css.map +1 -1
- package/dist/css/17.chunk.css.map +1 -1
- package/dist/css/18.chunk.css.map +1 -1
- package/dist/css/2.chunk.css.map +1 -1
- package/dist/css/21.chunk.css.map +1 -1
- package/dist/css/22.chunk.css.map +1 -1
- package/dist/css/23.chunk.css.map +1 -1
- package/dist/css/25.chunk.css.map +1 -1
- package/dist/css/26.chunk.css.map +1 -1
- package/dist/css/28.chunk.css.map +1 -1
- package/dist/css/29.chunk.css.map +1 -1
- package/dist/css/3.chunk.css.map +1 -1
- package/dist/css/30.chunk.css.map +1 -1
- package/dist/css/31.chunk.css.map +1 -1
- package/dist/css/32.chunk.css.map +1 -1
- package/dist/css/33.chunk.css.map +1 -1
- package/dist/css/34.chunk.css.map +1 -1
- package/dist/css/35.chunk.css.map +1 -1
- package/dist/css/36.chunk.css.map +1 -1
- package/dist/css/37.chunk.css.map +1 -1
- package/dist/css/38.chunk.css.map +1 -1
- package/dist/css/40.chunk.css.map +1 -1
- package/dist/css/41.chunk.css.map +1 -1
- package/dist/css/42.chunk.css.map +1 -1
- package/dist/css/43.chunk.css.map +1 -1
- package/dist/css/44.chunk.css.map +1 -1
- package/dist/css/45.chunk.css.map +1 -1
- package/dist/css/46.chunk.css.map +1 -1
- package/dist/css/47.chunk.css.map +1 -1
- package/dist/css/48.chunk.css.map +1 -1
- package/dist/css/49.chunk.css.map +1 -1
- package/dist/css/50.chunk.css.map +1 -1
- package/dist/css/51.chunk.css.map +1 -1
- package/dist/css/52.chunk.css.map +1 -1
- package/dist/css/55.chunk.css.map +1 -1
- package/dist/css/56.chunk.css.map +1 -1
- package/dist/css/58.chunk.css.map +1 -1
- package/dist/css/59.chunk.css.map +1 -1
- package/dist/css/6.chunk.css.map +1 -1
- package/dist/css/60.chunk.css.map +1 -1
- package/dist/css/62.chunk.css.map +1 -1
- package/dist/css/63.chunk.css.map +1 -1
- package/dist/css/67.chunk.css.map +1 -1
- package/dist/css/68.chunk.css.map +1 -1
- package/dist/css/69.chunk.css.map +1 -1
- package/dist/css/7.chunk.css.map +1 -1
- package/dist/css/70.chunk.css.map +1 -1
- package/dist/css/71.chunk.css.map +1 -1
- package/dist/css/72.chunk.css.map +1 -1
- package/dist/css/73.chunk.css.map +1 -1
- package/dist/css/74.chunk.css.map +1 -1
- package/dist/css/75.chunk.css.map +1 -1
- package/dist/css/76.chunk.css.map +1 -1
- package/dist/css/8.chunk.css.map +1 -1
- package/dist/css/library-editor-app.css.map +1 -1
- package/dist/scripts/{0-2765595d0a.chunk.js → 0-09e1e33a5c.chunk.js} +1 -1
- package/dist/scripts/0.chunk.js +1 -1
- package/dist/scripts/0.chunk.js.map +1 -1
- package/dist/scripts/{1-b6dedae131.chunk.js → 1-a66bb44471.chunk.js} +1 -1
- package/dist/scripts/1.chunk.js.map +1 -1
- package/dist/scripts/{10-8307f8e248.chunk.js → 10-6c79d8c6f9.chunk.js} +1 -1
- package/dist/scripts/10.chunk.js.map +1 -1
- package/dist/scripts/{11-9dbae07504.chunk.js → 11-6eef9e160e.chunk.js} +1 -1
- package/dist/scripts/11.chunk.js.map +1 -1
- package/dist/scripts/{12-06cf65b136.chunk.js → 12-dbffa50a92.chunk.js} +1 -1
- package/dist/scripts/12.chunk.js.map +1 -1
- package/dist/scripts/{13-3d84e237b9.chunk.js → 13-37e5cfab3e.chunk.js} +1 -1
- package/dist/scripts/13.chunk.js.map +1 -1
- package/dist/scripts/{14-988bab314d.chunk.js → 14-b524fbd295.chunk.js} +1 -1
- package/dist/scripts/14.chunk.js.map +1 -1
- package/dist/scripts/{15-eed00bc875.chunk.js → 15-1ff1252d1a.chunk.js} +1 -1
- package/dist/scripts/15.chunk.js.map +1 -1
- package/dist/scripts/{16-3a99050a93.chunk.js → 16-b27142fe98.chunk.js} +1 -1
- package/dist/scripts/16.chunk.js.map +1 -1
- package/dist/scripts/{17-bff211f26a.chunk.js → 17-c3bbe50816.chunk.js} +1 -1
- package/dist/scripts/17.chunk.js +1 -1
- package/dist/scripts/17.chunk.js.map +1 -1
- package/dist/scripts/18.chunk.js.map +1 -1
- package/dist/scripts/19.chunk.js +1 -1
- package/dist/scripts/19.chunk.js.map +1 -1
- package/dist/scripts/{2-5079f4b088.chunk.js → 2-2cc3988222.chunk.js} +1 -1
- package/dist/scripts/2.chunk.js.map +1 -1
- package/dist/scripts/{20-d4470b4a53.chunk.js → 20-6d9086f5db.chunk.js} +1 -1
- package/dist/scripts/20.chunk.js.map +1 -1
- package/dist/scripts/{21-77f6ddec3d.chunk.js → 21-2f10553302.chunk.js} +1 -1
- package/dist/scripts/21.chunk.js.map +1 -1
- package/dist/scripts/{22-9ef39722d1.chunk.js → 22-59ae44b448.chunk.js} +1 -1
- package/dist/scripts/22.chunk.js.map +1 -1
- package/dist/scripts/{23-c8071cb869.chunk.js → 23-11e008ee63.chunk.js} +1 -1
- package/dist/scripts/23.chunk.js +3 -3
- package/dist/scripts/23.chunk.js.map +1 -1
- package/dist/scripts/{24-b655377e1f.chunk.js → 24-7f21e384d2.chunk.js} +1 -1
- package/dist/scripts/24.chunk.js.map +1 -1
- package/dist/scripts/{25-f814e3921c.chunk.js → 25-f0f7fa16a4.chunk.js} +1 -1
- package/dist/scripts/25.chunk.js.map +1 -1
- package/dist/scripts/{26-9dd482e1e6.chunk.js → 26-e65533bd94.chunk.js} +1 -1
- package/dist/scripts/26.chunk.js.map +1 -1
- package/dist/scripts/{27-5ecd204dab.chunk.js → 27-9dc0f5a4df.chunk.js} +1 -1
- package/dist/scripts/27.chunk.js +3 -3
- package/dist/scripts/27.chunk.js.map +1 -1
- package/dist/scripts/{28-e9b8962af8.chunk.js → 28-26e5c371c7.chunk.js} +1 -1
- package/dist/scripts/28.chunk.js +6 -6
- package/dist/scripts/28.chunk.js.map +1 -1
- package/dist/scripts/{29-e3391b4e4b.chunk.js → 29-61415c2af0.chunk.js} +1 -1
- package/dist/scripts/29.chunk.js.map +1 -1
- package/dist/scripts/{3-079c0b4d3b.chunk.js → 3-5eff8c9df5.chunk.js} +1 -1
- package/dist/scripts/3.chunk.js +13 -25
- package/dist/scripts/3.chunk.js.map +1 -1
- package/dist/scripts/{30-a6a7291b5e.chunk.js → 30-6075c28972.chunk.js} +1 -1
- package/dist/scripts/30.chunk.js +6 -6
- package/dist/scripts/30.chunk.js.map +1 -1
- package/dist/scripts/31-e35ae4e153.chunk.js +1 -0
- package/dist/scripts/31.chunk.js.map +1 -1
- package/dist/scripts/{32-96ac2f9c32.chunk.js → 32-d5a50a7592.chunk.js} +1 -1
- package/dist/scripts/32.chunk.js.map +1 -1
- package/dist/scripts/{33-061a87935f.chunk.js → 33-5ae90ed7d7.chunk.js} +1 -1
- package/dist/scripts/33.chunk.js.map +1 -1
- package/dist/scripts/{34-56f92b9a87.chunk.js → 34-50402c1835.chunk.js} +1 -1
- package/dist/scripts/34.chunk.js.map +1 -1
- package/dist/scripts/{35-cdd788a4b5.chunk.js → 35-ec8c190357.chunk.js} +1 -1
- package/dist/scripts/35.chunk.js.map +1 -1
- package/dist/scripts/{36-7d33d11b58.chunk.js → 36-4d467bc42e.chunk.js} +1 -1
- package/dist/scripts/36.chunk.js.map +1 -1
- package/dist/scripts/{37-fbd149e569.chunk.js → 37-37e8965783.chunk.js} +1 -1
- package/dist/scripts/37.chunk.js.map +1 -1
- package/dist/scripts/{38-57af633fa1.chunk.js → 38-3dc24b8867.chunk.js} +1 -1
- package/dist/scripts/38.chunk.js.map +1 -1
- package/dist/scripts/{39-cc627dfe2b.chunk.js → 39-350ff66a2b.chunk.js} +1 -1
- package/dist/scripts/39.chunk.js.map +1 -1
- package/dist/scripts/{4-0a8a5ac2f0.chunk.js → 4-b3f3c7c71c.chunk.js} +1 -1
- package/dist/scripts/4.chunk.js.map +1 -1
- package/dist/scripts/{40-78639874b5.chunk.js → 40-3443f99cb2.chunk.js} +1 -1
- package/dist/scripts/40.chunk.js.map +1 -1
- package/dist/scripts/{41-2c6722e410.chunk.js → 41-b5dfd35e9e.chunk.js} +1 -1
- package/dist/scripts/41.chunk.js.map +1 -1
- package/dist/scripts/{42-9b7795d20a.chunk.js → 42-103fecb7b6.chunk.js} +1 -1
- package/dist/scripts/42.chunk.js.map +1 -1
- package/dist/scripts/{43-006ce08a8f.chunk.js → 43-57b07579f7.chunk.js} +1 -1
- package/dist/scripts/43.chunk.js.map +1 -1
- package/dist/scripts/{44-b4c134efe8.chunk.js → 44-210d64dffe.chunk.js} +1 -1
- package/dist/scripts/44.chunk.js.map +1 -1
- package/dist/scripts/{45-3e85e78a77.chunk.js → 45-632b07e926.chunk.js} +1 -1
- package/dist/scripts/45.chunk.js.map +1 -1
- package/dist/scripts/{46-1256828b60.chunk.js → 46-82cce63cbf.chunk.js} +1 -1
- package/dist/scripts/46.chunk.js +6 -6
- package/dist/scripts/46.chunk.js.map +1 -1
- package/dist/scripts/{47-9e514e7536.chunk.js → 47-595b4aae87.chunk.js} +1 -1
- package/dist/scripts/47.chunk.js +1 -2
- package/dist/scripts/47.chunk.js.map +1 -1
- package/dist/scripts/{48-9af8b50e4f.chunk.js → 48-fcf6378889.chunk.js} +1 -1
- package/dist/scripts/48.chunk.js.map +1 -1
- package/dist/scripts/{49-883d9131af.chunk.js → 49-d8a4899eb1.chunk.js} +1 -1
- package/dist/scripts/49.chunk.js.map +1 -1
- package/dist/scripts/{5-f5ad097d2b.chunk.js → 5-06bc197b1e.chunk.js} +1 -1
- package/dist/scripts/5.chunk.js +3 -3
- package/dist/scripts/5.chunk.js.map +1 -1
- package/dist/scripts/{50-198f89794c.chunk.js → 50-11b1a49916.chunk.js} +1 -1
- package/dist/scripts/50.chunk.js.map +1 -1
- package/dist/scripts/{51-61bb2b80fe.chunk.js → 51-72a75e0265.chunk.js} +1 -1
- package/dist/scripts/51.chunk.js.map +1 -1
- package/dist/scripts/{52-e7fd215888.chunk.js → 52-195f73bcd6.chunk.js} +1 -1
- package/dist/scripts/52.chunk.js.map +1 -1
- package/dist/scripts/{53-595b1efa1a.chunk.js → 53-bb4f37ee25.chunk.js} +1 -1
- package/dist/scripts/53.chunk.js.map +1 -1
- package/dist/scripts/{54-646c8458e0.chunk.js → 54-7a201d8285.chunk.js} +1 -1
- package/dist/scripts/54.chunk.js.map +1 -1
- package/dist/scripts/{55-dac67eae0b.chunk.js → 55-be3d7b8805.chunk.js} +1 -1
- package/dist/scripts/55.chunk.js.map +1 -1
- package/dist/scripts/{56-9a02efb9a1.chunk.js → 56-6aeece1bf1.chunk.js} +1 -1
- package/dist/scripts/56.chunk.js.map +1 -1
- package/dist/scripts/{57-bf72265d49.chunk.js → 57-59ee15161b.chunk.js} +1 -1
- package/dist/scripts/57.chunk.js.map +1 -1
- package/dist/scripts/{58-34ef45f4b6.chunk.js → 58-8ff58b194a.chunk.js} +1 -1
- package/dist/scripts/58.chunk.js.map +1 -1
- package/dist/scripts/{59-f3d473090d.chunk.js → 59-3d33954fcb.chunk.js} +1 -1
- package/dist/scripts/59.chunk.js.map +1 -1
- package/dist/scripts/{6-a5f6258253.chunk.js → 6-a469872b10.chunk.js} +1 -1
- package/dist/scripts/6.chunk.js.map +1 -1
- package/dist/scripts/{60-ac4f11764a.chunk.js → 60-f092baa91c.chunk.js} +1 -1
- package/dist/scripts/60.chunk.js.map +1 -1
- package/dist/scripts/{61-62ec9b3628.chunk.js → 61-bd9ef62ccd.chunk.js} +1 -1
- package/dist/scripts/61.chunk.js +12 -12
- package/dist/scripts/61.chunk.js.map +1 -1
- package/dist/scripts/{62-4d0e82f903.chunk.js → 62-f15b3bf74c.chunk.js} +1 -1
- package/dist/scripts/62.chunk.js.map +1 -1
- package/dist/scripts/{63-47af37825d.chunk.js → 63-92757f75e7.chunk.js} +1 -1
- package/dist/scripts/63.chunk.js.map +1 -1
- package/dist/scripts/{64-c42635a917.chunk.js → 64-c5a1c55521.chunk.js} +1 -1
- package/dist/scripts/64.chunk.js.map +1 -1
- package/dist/scripts/{65-7780441e5e.chunk.js → 65-6bb10ae23b.chunk.js} +1 -1
- package/dist/scripts/65.chunk.js.map +1 -1
- package/dist/scripts/{66-7f2750cd97.chunk.js → 66-f047027f7d.chunk.js} +1 -1
- package/dist/scripts/66.chunk.js.map +1 -1
- package/dist/scripts/{67-564ff2bd16.chunk.js → 67-2e1a011200.chunk.js} +1 -1
- package/dist/scripts/67.chunk.js.map +1 -1
- package/dist/scripts/{68-df9024fadc.chunk.js → 68-d5c0ab3fc1.chunk.js} +1 -1
- package/dist/scripts/68.chunk.js.map +1 -1
- package/dist/scripts/{69-4d32ddddbc.chunk.js → 69-fc8325afc9.chunk.js} +1 -1
- package/dist/scripts/69.chunk.js.map +1 -1
- package/dist/scripts/{7-2696f5afc4.chunk.js → 7-58dd909fa3.chunk.js} +1 -1
- package/dist/scripts/7.chunk.js.map +1 -1
- package/dist/scripts/{70-2a427b3dd0.chunk.js → 70-ceda95013e.chunk.js} +1 -1
- package/dist/scripts/70.chunk.js.map +1 -1
- package/dist/scripts/{71-215cac8b69.chunk.js → 71-6e8fc95beb.chunk.js} +1 -1
- package/dist/scripts/71.chunk.js.map +1 -1
- package/dist/scripts/{72-6eb3ef092e.chunk.js → 72-53fe3338bf.chunk.js} +1 -1
- package/dist/scripts/72.chunk.js.map +1 -1
- package/dist/scripts/73.chunk.js.map +1 -1
- package/dist/scripts/74.chunk.js.map +1 -1
- package/dist/scripts/75.chunk.js.map +1 -1
- package/dist/scripts/76.chunk.js.map +1 -1
- package/dist/scripts/77.chunk.js.map +1 -1
- package/dist/scripts/78.chunk.js.map +1 -1
- package/dist/scripts/79.chunk.js.map +1 -1
- package/dist/scripts/{8-f4f18356f7.chunk.js → 8-6974afed28.chunk.js} +1 -1
- package/dist/scripts/8.chunk.js.map +1 -1
- package/dist/scripts/80.chunk.js.map +1 -1
- package/dist/scripts/81.chunk.js.map +1 -1
- package/dist/scripts/82.chunk.js.map +1 -1
- package/dist/scripts/83.chunk.js.map +1 -1
- package/dist/scripts/84.chunk.js.map +1 -1
- package/dist/scripts/85.chunk.js.map +1 -1
- package/dist/scripts/86.chunk.js.map +1 -1
- package/dist/scripts/87.chunk.js.map +1 -1
- package/dist/scripts/88.chunk.js.map +1 -1
- package/dist/scripts/89.chunk.js.map +1 -1
- package/dist/scripts/{9-cd0bcefa7f.chunk.js → 9-9279038caa.chunk.js} +1 -1
- package/dist/scripts/9.chunk.js.map +1 -1
- package/dist/scripts/90.chunk.js.map +1 -1
- package/dist/scripts/91.chunk.js.map +1 -1
- package/dist/scripts/92.chunk.js.map +1 -1
- package/dist/scripts/bundle-06dc1f4908.min.js +8 -0
- package/dist/scripts/bundle-8498807388.min.js +1 -0
- package/dist/scripts/{bundle-5b64746afd.min.js → bundle-891db89400.min.js} +1 -1
- package/dist/scripts/bundle-f4a423ce34.min.js +1 -0
- package/dist/scripts/bundle.js +1364 -1492
- package/dist/scripts/bundle.js.map +1 -1
- package/dist/scripts/bundles.json +2 -2
- package/dist/scripts/polyfills-efb4d7caa3.min.js +1 -0
- package/dist/scripts/polyfills.js +1050 -1050
- package/dist/scripts/polyfills.js.map +1 -1
- package/package.json +3 -3
- package/dist/scripts/0-f82360fd03.chunk.js +0 -1
- package/dist/scripts/1-35f87e4cdc.chunk.js +0 -1
- package/dist/scripts/10-227e797872.chunk.js +0 -1
- package/dist/scripts/12-43e54b0a2d.chunk.js +0 -1
- package/dist/scripts/13-01ee41eb1e.chunk.js +0 -1
- package/dist/scripts/14-cf307e51d9.chunk.js +0 -1
- package/dist/scripts/15-bedb9ff6d0.chunk.js +0 -1
- package/dist/scripts/16-339a29fa2f.chunk.js +0 -1
- package/dist/scripts/17-66da06be62.chunk.js +0 -1
- package/dist/scripts/20-6019ccb462.chunk.js +0 -1
- package/dist/scripts/21-7bd1977005.chunk.js +0 -1
- package/dist/scripts/22-d88b8e9c20.chunk.js +0 -1
- package/dist/scripts/23-e8a0f60c53.chunk.js +0 -1
- package/dist/scripts/24-f62e7ff166.chunk.js +0 -1
- package/dist/scripts/25-acda0ed17e.chunk.js +0 -1
- package/dist/scripts/26-39f6c3ca17.chunk.js +0 -1
- package/dist/scripts/27-1313c7d392.chunk.js +0 -1
- package/dist/scripts/28-b583483a6e.chunk.js +0 -1
- package/dist/scripts/29-44119e600a.chunk.js +0 -1
- package/dist/scripts/3-bea2c1c371.chunk.js +0 -1
- package/dist/scripts/30-aef6a19cde.chunk.js +0 -1
- package/dist/scripts/31-4f1ea6d067.chunk.js +0 -1
- package/dist/scripts/31-70fe14b490.chunk.js +0 -1
- package/dist/scripts/32-0b05da2f4c.chunk.js +0 -1
- package/dist/scripts/33-04b1fbcdeb.chunk.js +0 -1
- package/dist/scripts/34-4f2c861480.chunk.js +0 -1
- package/dist/scripts/35-08ead0d078.chunk.js +0 -1
- package/dist/scripts/36-4db22bf8bb.chunk.js +0 -1
- package/dist/scripts/37-4de2537ff4.chunk.js +0 -1
- package/dist/scripts/38-7733a3d81e.chunk.js +0 -1
- package/dist/scripts/39-5451786b7d.chunk.js +0 -1
- package/dist/scripts/4-84fa8e49e2.chunk.js +0 -1
- package/dist/scripts/40-31940ddf04.chunk.js +0 -1
- package/dist/scripts/41-0366a0332e.chunk.js +0 -1
- package/dist/scripts/42-c87c36d7d4.chunk.js +0 -1
- package/dist/scripts/43-591954817b.chunk.js +0 -1
- package/dist/scripts/44-fc3a1d45c5.chunk.js +0 -1
- package/dist/scripts/45-32ce8dd910.chunk.js +0 -1
- package/dist/scripts/46-e096df45ef.chunk.js +0 -1
- package/dist/scripts/47-61b53964c2.chunk.js +0 -1
- package/dist/scripts/48-3f804b22a4.chunk.js +0 -1
- package/dist/scripts/49-79b28e90c9.chunk.js +0 -1
- package/dist/scripts/5-093c9ee130.chunk.js +0 -1
- package/dist/scripts/50-ce04770db1.chunk.js +0 -1
- package/dist/scripts/51-177fe97a9b.chunk.js +0 -1
- package/dist/scripts/52-d8cf26c75f.chunk.js +0 -1
- package/dist/scripts/53-e78a58c963.chunk.js +0 -1
- package/dist/scripts/54-7976c21511.chunk.js +0 -1
- package/dist/scripts/55-5e3b70736e.chunk.js +0 -1
- package/dist/scripts/56-3c520aec72.chunk.js +0 -1
- package/dist/scripts/57-6f84e1bb9d.chunk.js +0 -1
- package/dist/scripts/58-1c37240b43.chunk.js +0 -1
- package/dist/scripts/59-05cbb57b32.chunk.js +0 -1
- package/dist/scripts/6-e49b6b4c08.chunk.js +0 -1
- package/dist/scripts/60-dd50d4179f.chunk.js +0 -1
- package/dist/scripts/61-e759f86871.chunk.js +0 -1
- package/dist/scripts/62-bfd5450b13.chunk.js +0 -1
- package/dist/scripts/63-8521e39a2e.chunk.js +0 -1
- package/dist/scripts/64-12150ef48b.chunk.js +0 -1
- package/dist/scripts/65-a4fdf8777b.chunk.js +0 -1
- package/dist/scripts/66-029947cf5c.chunk.js +0 -1
- package/dist/scripts/67-47f208342a.chunk.js +0 -1
- package/dist/scripts/68-5656cc45fe.chunk.js +0 -1
- package/dist/scripts/69-a4b3442e68.chunk.js +0 -1
- package/dist/scripts/7-b39ab430b9.chunk.js +0 -1
- package/dist/scripts/70-0f070c1596.chunk.js +0 -1
- package/dist/scripts/71-c43ee23686.chunk.js +0 -1
- package/dist/scripts/72-f5a8cfc8b7.chunk.js +0 -1
- package/dist/scripts/8-1e0751e30b.chunk.js +0 -1
- package/dist/scripts/9-bb567e1c99.chunk.js +0 -1
- package/dist/scripts/bundle-e7f4d4e659.min.js +0 -8
- package/dist/scripts/bundle-f73bcaa857.min.js +0 -8
- package/dist/scripts/polyfills-9517d7e647.min.js +0 -1
- package/dist/scripts/polyfills-e442ebbfb0.min.js +0 -1
- /package/dist/scripts/{0-2d62d8ccd7.chunk.js → 0-f604eee110.chunk.js} +0 -0
- /package/dist/scripts/{1-cf6d342590.chunk.js → 1-056bd8c79b.chunk.js} +0 -0
- /package/dist/scripts/{10-7475ff8374.chunk.js → 10-028c6001e1.chunk.js} +0 -0
- /package/dist/scripts/{12-20b4c4cdb6.chunk.js → 12-d3f51f4e06.chunk.js} +0 -0
- /package/dist/scripts/{13-292e92093a.chunk.js → 13-4029d31569.chunk.js} +0 -0
- /package/dist/scripts/{14-66f92fd1d3.chunk.js → 14-4c94f97e4e.chunk.js} +0 -0
- /package/dist/scripts/{15-d580267aff.chunk.js → 15-ec9aa4878b.chunk.js} +0 -0
- /package/dist/scripts/{16-0aa5e3e5fe.chunk.js → 16-5bc8299e14.chunk.js} +0 -0
- /package/dist/scripts/{17-f44cb6ca42.chunk.js → 17-9fe035f9e2.chunk.js} +0 -0
- /package/dist/scripts/{20-af6230b8af.chunk.js → 20-60e4eee833.chunk.js} +0 -0
- /package/dist/scripts/{21-1281b41577.chunk.js → 21-a7fffe8852.chunk.js} +0 -0
- /package/dist/scripts/{22-878d242dfd.chunk.js → 22-f670791432.chunk.js} +0 -0
- /package/dist/scripts/{23-e55ad46abd.chunk.js → 23-4d26d6300a.chunk.js} +0 -0
- /package/dist/scripts/{24-87aea794c8.chunk.js → 24-813ef82099.chunk.js} +0 -0
- /package/dist/scripts/{25-b3b05ff03c.chunk.js → 25-023d08a591.chunk.js} +0 -0
- /package/dist/scripts/{26-5f79a251ff.chunk.js → 26-a9fcf0d596.chunk.js} +0 -0
- /package/dist/scripts/{27-fb5a56b6e9.chunk.js → 27-84f7bbade6.chunk.js} +0 -0
- /package/dist/scripts/{28-d75e03d0c0.chunk.js → 28-cdf603f4cf.chunk.js} +0 -0
- /package/dist/scripts/{29-2c0b30c31b.chunk.js → 29-8278d23f9b.chunk.js} +0 -0
- /package/dist/scripts/{3-29a29544af.chunk.js → 3-1fa81c9d9b.chunk.js} +0 -0
- /package/dist/scripts/{30-a373fad3e5.chunk.js → 30-7ab880728c.chunk.js} +0 -0
- /package/dist/scripts/{31-1bb00d89bc.chunk.js → 31-aa4cd0f45e.chunk.js} +0 -0
- /package/dist/scripts/{32-a5e4069473.chunk.js → 32-7717941f1d.chunk.js} +0 -0
- /package/dist/scripts/{33-c671ce256e.chunk.js → 33-6da33143ea.chunk.js} +0 -0
- /package/dist/scripts/{34-e896aea27d.chunk.js → 34-27e40f4d4b.chunk.js} +0 -0
- /package/dist/scripts/{35-be151f3db1.chunk.js → 35-3260300446.chunk.js} +0 -0
- /package/dist/scripts/{36-e1dc9478b6.chunk.js → 36-bec0c74d05.chunk.js} +0 -0
- /package/dist/scripts/{37-b3aa0290c0.chunk.js → 37-3916177181.chunk.js} +0 -0
- /package/dist/scripts/{38-c1c3eaedae.chunk.js → 38-89f7c22ea8.chunk.js} +0 -0
- /package/dist/scripts/{39-6969b0c7b0.chunk.js → 39-9456631219.chunk.js} +0 -0
- /package/dist/scripts/{4-a0d8871170.chunk.js → 4-a7f6d378e0.chunk.js} +0 -0
- /package/dist/scripts/{40-8f82ccc935.chunk.js → 40-f65196723f.chunk.js} +0 -0
- /package/dist/scripts/{41-8512aa7dc5.chunk.js → 41-70b16d99d0.chunk.js} +0 -0
- /package/dist/scripts/{42-e4f279e42c.chunk.js → 42-e17f214d6c.chunk.js} +0 -0
- /package/dist/scripts/{43-11144c5f88.chunk.js → 43-6826fbc7d4.chunk.js} +0 -0
- /package/dist/scripts/{44-558a97cea6.chunk.js → 44-593e820fa2.chunk.js} +0 -0
- /package/dist/scripts/{45-73329af938.chunk.js → 45-8231a03833.chunk.js} +0 -0
- /package/dist/scripts/{46-db028594cc.chunk.js → 46-682ca88fd9.chunk.js} +0 -0
- /package/dist/scripts/{47-8b9d860084.chunk.js → 47-aec7cf95e8.chunk.js} +0 -0
- /package/dist/scripts/{48-ab5af19e09.chunk.js → 48-7b09165697.chunk.js} +0 -0
- /package/dist/scripts/{49-df996c66c2.chunk.js → 49-0e6ceb191f.chunk.js} +0 -0
- /package/dist/scripts/{5-27d34603ed.chunk.js → 5-e2e64bc05f.chunk.js} +0 -0
- /package/dist/scripts/{50-0d6bdb887e.chunk.js → 50-fa6f6fd1dc.chunk.js} +0 -0
- /package/dist/scripts/{51-819b13fe95.chunk.js → 51-1c9fca4604.chunk.js} +0 -0
- /package/dist/scripts/{52-4977addfab.chunk.js → 52-ebce0c9f12.chunk.js} +0 -0
- /package/dist/scripts/{53-1ad87216cb.chunk.js → 53-c6807d4e0b.chunk.js} +0 -0
- /package/dist/scripts/{54-0a404f9f36.chunk.js → 54-e6195aa62a.chunk.js} +0 -0
- /package/dist/scripts/{55-9163aa1312.chunk.js → 55-f9f9a251af.chunk.js} +0 -0
- /package/dist/scripts/{56-04f189d5de.chunk.js → 56-20f27f96db.chunk.js} +0 -0
- /package/dist/scripts/{57-4eb1cc6019.chunk.js → 57-b25862dbf0.chunk.js} +0 -0
- /package/dist/scripts/{58-804f31a61a.chunk.js → 58-edf06f18f9.chunk.js} +0 -0
- /package/dist/scripts/{59-dcbd713f4b.chunk.js → 59-241a666e49.chunk.js} +0 -0
- /package/dist/scripts/{6-26cb86223d.chunk.js → 6-c631df7bda.chunk.js} +0 -0
- /package/dist/scripts/{60-d8853c434d.chunk.js → 60-ac631fa385.chunk.js} +0 -0
- /package/dist/scripts/{61-c8c69eeff5.chunk.js → 61-360e50b6cb.chunk.js} +0 -0
- /package/dist/scripts/{62-45c821e85d.chunk.js → 62-22ee1d2a94.chunk.js} +0 -0
- /package/dist/scripts/{63-c236987805.chunk.js → 63-25413d744e.chunk.js} +0 -0
- /package/dist/scripts/{64-fbab857648.chunk.js → 64-1b027092be.chunk.js} +0 -0
- /package/dist/scripts/{65-b2901f7de5.chunk.js → 65-c8a9aae545.chunk.js} +0 -0
- /package/dist/scripts/{66-fb79386913.chunk.js → 66-20aec598ca.chunk.js} +0 -0
- /package/dist/scripts/{67-048121cf49.chunk.js → 67-d8d1cb35a4.chunk.js} +0 -0
- /package/dist/scripts/{68-d529af6c1b.chunk.js → 68-869ea333d9.chunk.js} +0 -0
- /package/dist/scripts/{69-4548bb42ea.chunk.js → 69-c4ff3e5568.chunk.js} +0 -0
- /package/dist/scripts/{7-10b288197e.chunk.js → 7-1d94e0bb0c.chunk.js} +0 -0
- /package/dist/scripts/{70-e36b006dbe.chunk.js → 70-171dcf9fe1.chunk.js} +0 -0
- /package/dist/scripts/{71-5d5ec02d3d.chunk.js → 71-33e7082ca2.chunk.js} +0 -0
- /package/dist/scripts/{72-d98ffab96a.chunk.js → 72-2eef8b13b0.chunk.js} +0 -0
- /package/dist/scripts/{8-b0942a9479.chunk.js → 8-34ae87490f.chunk.js} +0 -0
- /package/dist/scripts/{9-ba4f55ce15.chunk.js → 9-0d7004dd33.chunk.js} +0 -0
- /package/dist/scripts/{polyfills-5c483eb7f4.min.js → polyfills-21eaf1215c.min.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["file://C:/ClickView Projects/clickview/packages/projects/library-editor/src/apps/library-editor/components/customer-logo/CustomerLogo.hbs","file://C:/ClickView Projects/clickview/packages/projects/library-editor/src/apps/library-editor/components/customer-logo/CustomerLogoComponent.ts","webpack://@clickview/library-editor/./src/apps/library-editor/components/customer-logo/customer-logo.scss?4364","file://C:/ClickView Projects/clickview/packages/projects/library-editor/src/apps/library-editor/components/left-nav-libraries/LeftNavLibrariesComponent.ts","file://C:/ClickView Projects/clickview/packages/projects/library-editor/src/apps/library-editor/components/left-nav-libraries/LeftNavLibrary.hbs","file://C:/ClickView Projects/clickview/packages/projects/library-editor/src/apps/library-editor/views/left-navigation/LeftNavigation.handlebars","file://C:/ClickView Projects/clickview/packages/projects/library-editor/src/apps/library-editor/views/left-navigation/LeftNavigationView.ts","webpack://@clickview/library-editor/./src/apps/library-editor/views/left-navigation/left-navigation.scss?ffeb"],"names":[],"mappings":";;;;;;;;;AAAA,iBAAiB,mBAAO,CAAC,8BAAY;AACrC,iEAAiE;AACjE;;AAEA;AACA,6OAA6O,GAAG,sBAAsB,aAAa;AACnR;AACA;AACA;AACA,CAAC;AAC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AAV,EAAsB;AAEtB,aAAO;AACL,cAAM,EAAN,4DADK;AAEL,eAAO,EAAE,0EAAS,CAAC,MAAV,CAAiB,6EAAY,CAAC,IAA9B,CAFJ;AAGL,0BAAkB,EAAE,KAAK,kBAAL,GAA0B,KAAK,kBAAL,CAAwB,GAAxB,CAA4B,OAA5B,IAAuC,KAAK,UAAL,CAAgB,MAAjF,GAA0F;AAHzG,OAAP;AAKD;AAxIH;AAAA;AAAA,+BA0IiB;AACb,WAAK,UAAL;AACA,WAAK,aAAL;AACD;AA7IH;AAAA;AAAA,wBA4BiB;AACb,aAAO,oBAAP;AACD;AA9BH;AAAA;AAAA,wBAgCkB;AACd,aAAO,KAAP;AACD;AAlCH;AAAA;AAAA,wBAoCwB;AACpB,uBAAU,KAAK,IAAf,SAAsB,KAAK,GAA3B;AACD;AAtCH;AAAA;AAAA,wBAwCiB;AACb,aAAO,8BAAP;AACD;AA1CH;AAAA;AAAA,wBA4CsB;AAClB,aAAO,eAAP;AACD;AA9CH;AAAA;AAAA,wBAgDqB;AACjB,aAAO,iEAAP;AACD;AAlDH;AAAA;AAAA,wBAwEqB;AACjB,aAAO;AACL,gCAAwB;AACtB,qBAAW,EAAE,6DAAW,CAAC,cADH;AAEtB,gBAAM,EAAE,yDAAO,CAAC,aAAR,CAAsB;AAFR;AADnB,OAAP;AAMD;AA/EH;AAAA;AAAA,wBAkH8B;AAC1B,aAAO;AACL,mBAAW,EAAE,sFAAqB,CAAC,WAD9B;AAEL,cAAM,EAAE,2FAAuB,CAAC,MAF3B;AAGL,kBAAU,EAAE,qFAAwB,CAAC;AAHhC,OAAP;AAKD;AAxHH;;AAAA;AAAA,EAAwC,8DAAI,CAAC,IAA7C,E;;;;;;;;;;;AC3BA;AACA,kBAAkB,sH","file":"scripts/49.chunk.js","sourcesContent":["var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=container.propertyIsEnumerable, alias2=container.escapeExpression;\n\n return \"<img src=\\\"\"\n + alias2(((helper = (helper = helpers.url || (depth0 != null ? depth0.url : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"url\",\"hash\":{},\"data\":data}) : helper)))\n + \"\\\" class=\\\"\"\n + alias2(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.image : stack1), depth0))\n + \"\\\"/>\\r\\n\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression;\n\n return \"<a class=\\\"d-inline-flex align-items-center no-decoration \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.addCrest : stack1), depth0))\n + \"\\\" href=\\\"\"\n + alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.uploadLogoUrl : stack1), depth0))\n + \"\\\" target=\\\"_blank\\\">\\r\\n \"\n + alias3((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"crest\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"\\r\\n</a>\\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[\"if\"].call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.url : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.program(3, data, 0),\"data\":data})) != null ? stack1 : \"\");\n},\"useData\":true});","import { ObjectHash } from 'backbone';\r\nimport { Core } from 'libs/common/core';\r\nimport { UrlHelper } from 'libs/common/backbone/utils/UrlHelper';\r\n\r\nimport { Logo } from 'shared/models/Logo';\r\nimport { OnlineUrls } from 'shared/constants';\r\nimport { LocationContext, UserAction, EntityType } from 'libs/analytics/interfaces';\r\nimport { AnalyticsHelper } from 'libs/analytics/AnalyticsHelper';\r\n\r\nimport CustomerLogoTemplate from './CustomerLogo.hbs';\r\nimport styles from './customer-logo.scss';\r\n\r\ninterface CustomerLogoComponentOptions extends Core.ComponentOptions<Logo> {\r\n customerId: string;\r\n onlineUrl: string;\r\n}\r\n\r\nexport class CustomerLogoComponent extends Core.Component<Logo> {\r\n public options: CustomerLogoComponentOptions;\r\n\r\n constructor(options: CustomerLogoComponentOptions) {\r\n super(options);\r\n }\r\n\r\n public get name(): string {\r\n return 'CustomerLogoComponent';\r\n }\r\n\r\n public get template(): string {\r\n return CustomerLogoTemplate;\r\n }\r\n\r\n public get lang(): string {\r\n return 'libraryEditor.customerLogo';\r\n }\r\n\r\n public get className(): string {\r\n return 'text-center p-3 position-relative';\r\n }\r\n\r\n public events(): ObjectHash {\r\n return {\r\n [`click .${styles.addCrest}`]: 'onClickAddLogo'\r\n };\r\n }\r\n\r\n private onClickAddLogo(): void {\r\n const analyticsOptions = {\r\n location: LocationContext.LeftNav,\r\n actionType: UserAction.Create,\r\n entity: EntityType.Logo\r\n };\r\n\r\n AnalyticsHelper.logUserAction({}, analyticsOptions);\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n return {\r\n styles,\r\n uploadLogoUrl: UrlHelper.safeUrlConcat(this.options.onlineUrl, OnlineUrls.UPLOAD_LOGO)\r\n };\r\n }\r\n}","// extracted by mini-css-extract-plugin\nmodule.exports = {\"image\":\"cv--image--Cz1y1\",\"addCrest\":\"cv--addCrest--2PAV_\"};","import { Core } from 'libs/common/core';\r\nimport { InstanceManager } from 'libs/common/backbone/services/InstanceManager';\r\nimport { ObjectHash, Radio } from 'backbone';\r\nimport { SvgHelper, cvSvgLibrary } from 'libs/shared/utils/SvgHelper';\r\n\r\nimport { LeftNavComponent } from 'shared/components/left-nav/LeftNavComponent';\r\nimport { Actions, ServiceChannels, AppChannels, Services } from 'shared/constants';\r\nimport { VideoCollectionActionsComponent } from 'apps/library-editor/components/video-collection-actions/VideoCollectionActionsComponent';\r\nimport LeftNavLibraryTemplate from './LeftNavLibrary.hbs';\r\nimport { Folder } from 'shared/models/Folder';\r\nimport { LibraryActionsComponent } from 'apps/library-editor/components/library-actions/LibraryActionsComponent';\r\nimport leftNavStyles from 'shared/components/left-nav/left-nav.scss';\r\nimport { FolderTreeHelpers } from 'shared/utils';\r\nimport { ViewModelService } from 'libs/common/backbone/services/ViewModelService';\r\nimport { DroppableBehavior } from 'apps/library-editor/behaviors/droppable/DroppableBehavior';\r\nimport { VideoDragDropService } from 'apps/library-editor/services/VideoDragDropService';\r\nimport { LocationContext, AnalyticsOptions } from 'libs/analytics/interfaces';\r\n\r\nexport const LeftNavLibraryViewModelPrefix = 'library:left:nav';\r\n\r\ninterface LeftNavLibraryComponentOptions extends Core.ComponentOptions<Folder> {\r\n channelName: string;\r\n libraryId?: string;\r\n folderTreeId: string;\r\n forceOpen?: boolean;\r\n hasMultipleLibraries?: boolean;\r\n}\r\n\r\nclass LeftNavLibraryComponent extends Core.Component<Folder> {\r\n protected options: LeftNavLibraryComponentOptions;\r\n private videoDragDropService: VideoDragDropService;\r\n\r\n constructor(options: LeftNavLibraryComponentOptions) {\r\n super(options);\r\n }\r\n\r\n public initialize(): void {\r\n const open = this.options.forceOpen || this.options.libraryId && this.model.get('id').toString() === this.options.libraryId.toString();\r\n this.viewModel = ViewModelService.get(`${LeftNavLibraryViewModelPrefix}:${this.model.get('id')}`);\r\n this.viewModel.set('open', open);\r\n this.viewModel.set('disabled', false);\r\n this.listenTo(this.model, 'change:name', this.render);\r\n\r\n if (this.options.hasMultipleLibraries) {\r\n this.listenTo(this, 'open:sub:folders', this.onOpenSubFolders);\r\n }\r\n\r\n this.videoDragDropService = InstanceManager.getInstance(Services.VideoDragDrop, this);\r\n }\r\n\r\n public get name(): string {\r\n return 'LeftNavLibraryComponent';\r\n }\r\n\r\n public get template(): any {\r\n return LeftNavLibraryTemplate;\r\n }\r\n\r\n public get className(): string {\r\n return leftNavStyles.libraryContainer;\r\n }\r\n\r\n public get behaviors(): any[] {\r\n const channelNames = [ServiceChannels.FOLDER_DRAG_DROP];\r\n\r\n if (this.options.hasMultipleLibraries)\r\n channelNames.push(ServiceChannels.VIDEO_DRAG_DROP);\r\n\r\n return [{\r\n behaviorClass: DroppableBehavior,\r\n ui: 'anchor',\r\n channelNames,\r\n analyticsOptions: {\r\n location: LocationContext.LeftNav\r\n }\r\n }];\r\n }\r\n\r\n public regions(): ObjectHash {\r\n return {\r\n folders: {\r\n el: '.folders-region',\r\n replaceElement: true\r\n },\r\n actions: {\r\n el: '.actions-region',\r\n replaceElement: true\r\n }\r\n };\r\n }\r\n\r\n public get appLinks(): Core.AppLinkHash {\r\n return {\r\n '.ui-anchor': {\r\n application: AppChannels.LIBRARY_EDITOR,\r\n action: Actions.LibraryEditor.LIBRARY,\r\n args: [this.model.get('id')]\r\n }\r\n };\r\n }\r\n\r\n public events(): ObjectHash {\r\n return {\r\n 'click .library-event': 'onClick'\r\n };\r\n }\r\n\r\n public get elements(): ObjectHash {\r\n return {\r\n anchor: '.ui-anchor',\r\n text: '.ui-text'\r\n };\r\n }\r\n\r\n private onClick(event: JQuery.Event): void {\r\n if (!this.viewModel.get('open'))\r\n return;\r\n\r\n /**\r\n * This stops the appLink from triggering\r\n * because we're already on the view in question\r\n */\r\n event.stopImmediatePropagation();\r\n\r\n /**\r\n * And then we need to prevent default\r\n * because the appLink handler does that normally.\r\n */\r\n event.preventDefault();\r\n\r\n this.viewModel.set('open', !this.viewModel.get('open'));\r\n this.render();\r\n }\r\n\r\n private onOpenSubFolders(): void {\r\n const disabledLibraryIds = this.videoDragDropService.getDisabledLibraryIds();\r\n if (disabledLibraryIds.includes(this.model.get('id'))) {\r\n this.viewModel.set('disabled', true);\r\n this.render();\r\n return;\r\n }\r\n\r\n this.viewModel.set('open', true);\r\n this.render();\r\n }\r\n\r\n private hasFolders(): boolean {\r\n const firstFolder = FolderTreeHelpers.getFirstType(this.model.children, 'category');\r\n\r\n return !!firstFolder;\r\n }\r\n\r\n private get analyticsOptions(): AnalyticsOptions {\r\n return {\r\n location: LocationContext.LeftNav\r\n };\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n return {\r\n styles: leftNavStyles,\r\n caretSvg: SvgHelper.getSvg(cvSvgLibrary.Caret),\r\n open: this.viewModel.get('open'),\r\n hasFolders: this.hasFolders(),\r\n disabled: this.viewModel.get('disabled')\r\n };\r\n }\r\n\r\n public onRender(): void {\r\n this.showChildView('actions', new LibraryActionsComponent({\r\n model: this.model,\r\n extraClasses: `rounded-circle mr-1 ${leftNavStyles.actions}`,\r\n buttonClass: 'text-muted',\r\n analyticsOptions: this.analyticsOptions\r\n }));\r\n\r\n if (!this.model.children || !this.model.children.length || !this.viewModel.get('open'))\r\n return;\r\n\r\n this.showChildView('folders', new LeftNavComponent({\r\n appLink: {\r\n action: Actions.LibraryEditor.FOLDER,\r\n application: AppChannels.LIBRARY_EDITOR\r\n },\r\n linkArgs: (model: Core.Model) => [model.get('id')],\r\n collection: this.model.children,\r\n channelName: `${this.cid}`,\r\n childrenProperty: 'children',\r\n actions: VideoCollectionActionsComponent,\r\n folderTreeId: this.options.folderTreeId,\r\n analyticsOptions: this.analyticsOptions\r\n }));\r\n }\r\n}\r\n\r\ninterface LeftNavLibrariesComponentOptions extends Core.ComponentCollectionOptions {\r\n channelName: string;\r\n libraryId?: string;\r\n folderTreeId: string;\r\n forceOpen?: boolean;\r\n}\r\n\r\nexport class LeftNavLibrariesComponent extends Core.ComponentCollection {\r\n public options: LeftNavLibrariesComponentOptions;\r\n\r\n constructor(options: LeftNavLibrariesComponentOptions) {\r\n super(options);\r\n }\r\n\r\n public get name(): string {\r\n return 'LeftNavLibrariesComponent';\r\n }\r\n\r\n public get childView(): typeof LeftNavLibraryComponent {\r\n return LeftNavLibraryComponent;\r\n }\r\n\r\n public get childViewOptions(): LeftNavLibraryComponentOptions {\r\n return {\r\n channelName: this.options.channelName,\r\n libraryId: this.options.libraryId,\r\n folderTreeId: this.options.folderTreeId,\r\n forceOpen: this.options.forceOpen,\r\n hasMultipleLibraries: this.collection.length > 1\r\n };\r\n }\r\n}","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 container.escapeExpression(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.disabled : stack1), depth0));\n},\"3\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return container.escapeExpression(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.selected : stack1), depth0));\n},\"5\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda;\n\n return \" <span class=\\\"\"\n + container.escapeExpression(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.caret : stack1), depth0))\n + \" d-inline-block position-absolute\\\">\\r\\n \"\n + ((stack1 = alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.caretSvg : stack1), depth0)) != null ? stack1 : \"\")\n + \"\\r\\n </span>\\r\\n\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression, alias4=depth0 != null ? depth0 : (container.nullContext || {});\n\n return \"<div class=\\\"position-relative border-bottom \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.library : stack1), depth0))\n + \" \"\n + ((stack1 = helpers[\"if\"].call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.disabled : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"\\\">\\r\\n <a class=\\\"position-relative library-event \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.libraryAnchor : stack1), depth0))\n + \" \"\n + ((stack1 = helpers[\"if\"].call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.open : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \" ui-anchor no-hover-text-underline\\\">\\r\\n\"\n + ((stack1 = helpers[\"if\"].call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.hasFolders : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(5, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \" <span class=\\\"\"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.text : stack1), depth0))\n + \" ui-text\\\">\"\n + alias3(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === \"function\" ? helper.call(alias4,{\"name\":\"name\",\"hash\":{},\"data\":data}) : helper)))\n + \"</span>\\r\\n </a>\\r\\n <div class=\\\"actions-region\\\"></div>\\r\\n</div>\\r\\n<div class=\\\"folders-region\\\"></div>\";\n},\"useData\":true});","var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression;\n\n return \"<div class=\\\"\"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.addLibraryContainer : stack1), depth0))\n + \"\\\">\\r\\n <button class=\\\"applink-new-library btn btn-outline-secondary \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.addLibrary : stack1), depth0))\n + \"\\\">\\r\\n <span class=\\\"\"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.plus : stack1), depth0))\n + \" d-inline-block position-absolute\\\">\\r\\n \"\n + ((stack1 = alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.plusSvg : stack1), depth0)) != null ? stack1 : \"\")\n + \"\\r\\n </span>\\r\\n \"\n + alias3((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"newLibrary\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"\\r\\n </button>\\r\\n</div>\\r\\n\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return \"<div class=\\\"logo-region\\\"></div>\\r\\n<div class=\\\"folder-tree-region\\\"></div>\\r\\n\"\n + ((stack1 = helpers[\"if\"].call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.canCreateLibraries : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"useData\":true});","import { ObjectHash } from 'backbone';\r\n\r\nimport { Core } from 'libs/common/core';\r\nimport { SvgHelper, cvSvgLibrary } from 'libs/shared/utils/SvgHelper';\r\n\r\nimport { Actions, DataPrefixes, DataChannels, ServiceChannels, AppChannels } from 'shared/constants';\r\nimport { LibraryDataServiceHelper } from 'apps/library-editor/services/LibraryDataService';\r\nimport LeftNavigationTemplate from './LeftNavigation.handlebars';\r\nimport { LeftNavLibrariesComponent, LeftNavLibraryViewModelPrefix } from 'apps/library-editor/components/left-nav-libraries/LeftNavLibrariesComponent';\r\nimport styles from './left-navigation.scss';\r\nimport { InstanceManager } from 'libs/common/backbone/services/InstanceManager';\r\nimport { DataServices } from 'shared/constants/Services';\r\nimport { SettingsDataService } from 'shared/services/SettingsDataService';\r\nimport { UserDataServiceHelper } from 'shared/services/UserDataService';\r\nimport { ConfigDataServiceHelper } from 'shared/services/ConfigDataService';\r\nimport { ViewModelService } from 'libs/common/backbone/services/ViewModelService';\r\nimport { SettingName, PartialLoading } from 'shared/enums';\r\nimport { User } from 'shared/models/User';\r\nimport { Setting } from 'shared/models/Setting';\r\nimport { Config } from 'shared/models/Config';\r\nimport { FolderTreeIds } from 'shared/constants/FolderTreeIds';\r\nimport { CustomerLogoComponent } from 'apps/library-editor/components/customer-logo/CustomerLogoComponent';\r\n\r\ninterface LeftNavigationViewOptions extends Core.ViewOptions {\r\n libraryId?: string;\r\n}\r\n\r\nexport class LeftNavigationView extends Core.View {\r\n public options: LeftNavigationViewOptions;\r\n private settingsDataService: SettingsDataService;\r\n\r\n private currentUser: User;\r\n private config: Config;\r\n private maxCustomLibraries: Setting;\r\n\r\n constructor(options: LeftNavigationViewOptions) {\r\n super(options);\r\n }\r\n\r\n public initialize(): void {\r\n this.bindListeners();\r\n\r\n this.settingsDataService = InstanceManager.getInstance(DataServices.Settings, this);\r\n }\r\n\r\n private bindListeners(): void {\r\n this.listenTo(this.channelName, 'select:library', this.onSelectLibrary);\r\n\r\n this.listenTo(DataChannels.LIBRARY, 'cache:cleared', this.fetchData);\r\n\r\n this.listenTo(ServiceChannels.FOLDER_DRAG_DROP, 're:render:left:nav', this.render);\r\n\r\n this.listenTo(DataChannels.SETTINGS, `${DataPrefixes.SETTINGS}:sync`, this.render);\r\n }\r\n\r\n public get name(): string {\r\n return 'LeftNavigationView';\r\n }\r\n\r\n public get title(): boolean {\r\n return false;\r\n }\r\n\r\n public get channelName(): string {\r\n return `${this.name}${this.cid}`;\r\n }\r\n\r\n public get lang(): string {\r\n return 'libraryEditor.leftNavigation';\r\n }\r\n\r\n public get className(): string {\r\n return 'bg-white pb-3';\r\n }\r\n\r\n public get template(): any {\r\n return LeftNavigationTemplate;\r\n }\r\n\r\n public regions(): ObjectHash {\r\n return {\r\n logo: {\r\n el: '.logo-region',\r\n replaceElement: false\r\n },\r\n folderTree: {\r\n el: '.folder-tree-region',\r\n replaceElement: false,\r\n partialLoading: PartialLoading.LeftNav,\r\n }\r\n };\r\n }\r\n\r\n public events(): ObjectHash {\r\n return {\r\n 'click .new-folder': 'newFolder'\r\n };\r\n }\r\n\r\n public get appLinks(): Core.AppLinkHash {\r\n return {\r\n '.applink-new-library': {\r\n application: AppChannels.LIBRARY_EDITOR,\r\n action: Actions.LibraryEditor.NEW_LIBRARY\r\n }\r\n };\r\n }\r\n\r\n private fetchData(): void {\r\n this.maxCustomLibraries = this.settingsDataService.getSetting(this.currentUser.get('customerId'), SettingName.MaxCustomLibraries);\r\n }\r\n\r\n private onSelectLibrary(libraryId: string): void {\r\n this.collection.each(library => {\r\n const viewModel = ViewModelService.get<Core.Model>(`${LeftNavLibraryViewModelPrefix}:${library.id}`);\r\n viewModel.set('open', library.id.toString() === libraryId);\r\n });\r\n\r\n this.render();\r\n }\r\n\r\n private renderLogo(): void {\r\n this.showChildView('logo', new CustomerLogoComponent({\r\n model: this.currentUser.get('customerLogo'),\r\n customerId: this.currentUser.get('customerId'),\r\n onlineUrl: this.config.get('onlineUrl')\r\n }));\r\n }\r\n\r\n private renderLeftNav(): void {\r\n const leftNavComponent = new LeftNavLibrariesComponent({\r\n collection: this.collection,\r\n channelName: this.channelName,\r\n libraryId: this.options.libraryId,\r\n folderTreeId: FolderTreeIds.LIBRARY_EDITOR,\r\n forceOpen: this.collection.length === 1\r\n });\r\n\r\n this.showChildView('folderTree', leftNavComponent);\r\n }\r\n\r\n public get requiredResources(): Core.RequiredResourceHash {\r\n return {\r\n currentUser: UserDataServiceHelper.currentUser,\r\n config: ConfigDataServiceHelper.config,\r\n collection: LibraryDataServiceHelper.libraries\r\n };\r\n }\r\n\r\n public onBeforeRender(): boolean {\r\n this.fetchData();\r\n\r\n return !!this.maxCustomLibraries;\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n if (!this.collection) return;\r\n\r\n return {\r\n styles,\r\n plusSvg: SvgHelper.getSvg(cvSvgLibrary.Plus),\r\n canCreateLibraries: this.maxCustomLibraries ? this.maxCustomLibraries.get('value') > this.collection.length : false\r\n };\r\n }\r\n\r\n public onRender(): void {\r\n this.renderLogo();\r\n this.renderLeftNav();\r\n }\r\n}\r\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"addLibrary\":\"cv--addLibrary--1O42p\",\"addLibraryContainer\":\"cv--addLibraryContainer--1HX0v\",\"plus\":\"cv--plus--3aHT2\"};"],"sourceRoot":""}
|
|
1
|
+
{"version":3,"sources":["file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/library-editor/components/customer-logo/CustomerLogo.hbs","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/library-editor/components/customer-logo/CustomerLogoComponent.ts","webpack://@clickview/library-editor/./src/apps/library-editor/components/customer-logo/customer-logo.scss?0c51","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/library-editor/components/left-nav-libraries/LeftNavLibrariesComponent.ts","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/library-editor/components/left-nav-libraries/LeftNavLibrary.hbs","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/library-editor/views/left-navigation/LeftNavigation.handlebars","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/library-editor/views/left-navigation/LeftNavigationView.ts","webpack://@clickview/library-editor/./src/apps/library-editor/views/left-navigation/left-navigation.scss?b0d7"],"names":[],"mappings":";;;;;;;;;AAAA,iBAAiB,mBAAO,CAAC,8BAAY;AACrC,iEAAiE;AACjE;;AAEA;A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d;AACD;AA9HH;AAAA;AAAA,kCAgIoB;AAChB,UAAI,CAAC,KAAK,UAAV,EAAsB;AAEtB,aAAO;AACL,cAAM,EAAN,4DADK;AAEL,eAAO,EAAE,0EAAS,CAAC,MAAV,CAAiB,6EAAY,CAAC,IAA9B,CAFJ;AAGL,0BAAkB,EAAE,KAAK,kBAAL,GAA0B,KAAK,kBAAL,CAAwB,GAAxB,CAA4B,OAA5B,IAAuC,KAAK,UAAL,CAAgB,MAAjF,GAA0F;AAHzG,OAAP;AAKD;AAxIH;AAAA;AAAA,+BA0IiB;AACb,WAAK,UAAL;AACA,WAAK,aAAL;AACD;AA7IH;AAAA;AAAA,wBA4BiB;AACb,aAAO,oBAAP;AACD;AA9BH;AAAA;AAAA,wBAgCkB;AACd,aAAO,KAAP;AACD;AAlCH;AAAA;AAAA,wBAoCwB;AACpB,uBAAU,KAAK,IAAf,SAAsB,KAAK,GAA3B;AACD;AAtCH;AAAA;AAAA,wBAwCiB;AACb,aAAO,8BAAP;AACD;AA1CH;AAAA;AAAA,wBA4CsB;AAClB,aAAO,eAAP;AACD;AA9CH;AAAA;AAAA,wBAgDqB;AACjB,aAAO,iEAAP;AACD;AAlDH;AAAA;AAAA,wBAwEqB;AACjB,aAAO;AACL,gCAAwB;AACtB,qBAAW,EAAE,6DAAW,CAAC,cADH;AAEtB,gBAAM,EAAE,yDAAO,CAAC,aAAR,CAAsB;AAFR;AADnB,OAAP;AAMD;AA/EH;AAAA;AAAA,wBAkH8B;AAC1B,aAAO;AACL,mBAAW,EAAE,sFAAqB,CAAC,WAD9B;AAEL,cAAM,EAAE,2FAAuB,CAAC,MAF3B;AAGL,kBAAU,EAAE,qFAAwB,CAAC;AAHhC,OAAP;AAKD;AAxHH;;AAAA;AAAA,EAAwC,8DAAI,CAAC,IAA7C,E;;;;;;;;;;;AC3BA;AACA,kBAAkB,sH","file":"scripts/49.chunk.js","sourcesContent":["var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=container.propertyIsEnumerable, alias2=container.escapeExpression;\n\n return \"<img src=\\\"\"\n + alias2(((helper = (helper = helpers.url || (depth0 != null ? depth0.url : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"url\",\"hash\":{},\"data\":data}) : helper)))\n + \"\\\" class=\\\"\"\n + alias2(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.image : stack1), depth0))\n + \"\\\"/>\\r\\n\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression;\n\n return \"<a class=\\\"d-inline-flex align-items-center no-decoration \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.addCrest : stack1), depth0))\n + \"\\\" href=\\\"\"\n + alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.uploadLogoUrl : stack1), depth0))\n + \"\\\" target=\\\"_blank\\\">\\r\\n \"\n + alias3((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"crest\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"\\r\\n</a>\\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[\"if\"].call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.url : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.program(3, data, 0),\"data\":data})) != null ? stack1 : \"\");\n},\"useData\":true});","import { ObjectHash } from 'backbone';\r\nimport { Core } from 'libs/common/core';\r\nimport { UrlHelper } from 'libs/common/backbone/utils/UrlHelper';\r\n\r\nimport { Logo } from 'shared/models/Logo';\r\nimport { OnlineUrls } from 'shared/constants';\r\nimport { LocationContext, UserAction, EntityType } from 'libs/analytics/interfaces';\r\nimport { AnalyticsHelper } from 'libs/analytics/AnalyticsHelper';\r\n\r\nimport CustomerLogoTemplate from './CustomerLogo.hbs';\r\nimport styles from './customer-logo.scss';\r\n\r\ninterface CustomerLogoComponentOptions extends Core.ComponentOptions<Logo> {\r\n customerId: string;\r\n onlineUrl: string;\r\n}\r\n\r\nexport class CustomerLogoComponent extends Core.Component<Logo> {\r\n public options: CustomerLogoComponentOptions;\r\n\r\n constructor(options: CustomerLogoComponentOptions) {\r\n super(options);\r\n }\r\n\r\n public get name(): string {\r\n return 'CustomerLogoComponent';\r\n }\r\n\r\n public get template(): string {\r\n return CustomerLogoTemplate;\r\n }\r\n\r\n public get lang(): string {\r\n return 'libraryEditor.customerLogo';\r\n }\r\n\r\n public get className(): string {\r\n return 'text-center p-3 position-relative';\r\n }\r\n\r\n public events(): ObjectHash {\r\n return {\r\n [`click .${styles.addCrest}`]: 'onClickAddLogo'\r\n };\r\n }\r\n\r\n private onClickAddLogo(): void {\r\n const analyticsOptions = {\r\n location: LocationContext.LeftNav,\r\n actionType: UserAction.Create,\r\n entity: EntityType.Logo\r\n };\r\n\r\n AnalyticsHelper.logUserAction({}, analyticsOptions);\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n return {\r\n styles,\r\n uploadLogoUrl: UrlHelper.safeUrlConcat(this.options.onlineUrl, OnlineUrls.UPLOAD_LOGO)\r\n };\r\n }\r\n}","// extracted by mini-css-extract-plugin\nmodule.exports = {\"image\":\"cv--image--Cz1y1\",\"addCrest\":\"cv--addCrest--2PAV_\"};","import { Core } from 'libs/common/core';\r\nimport { InstanceManager } from 'libs/common/backbone/services/InstanceManager';\r\nimport { ObjectHash, Radio } from 'backbone';\r\nimport { SvgHelper, cvSvgLibrary } from 'libs/shared/utils/SvgHelper';\r\n\r\nimport { LeftNavComponent } from 'shared/components/left-nav/LeftNavComponent';\r\nimport { Actions, ServiceChannels, AppChannels, Services } from 'shared/constants';\r\nimport { VideoCollectionActionsComponent } from 'apps/library-editor/components/video-collection-actions/VideoCollectionActionsComponent';\r\nimport LeftNavLibraryTemplate from './LeftNavLibrary.hbs';\r\nimport { Folder } from 'shared/models/Folder';\r\nimport { LibraryActionsComponent } from 'apps/library-editor/components/library-actions/LibraryActionsComponent';\r\nimport leftNavStyles from 'shared/components/left-nav/left-nav.scss';\r\nimport { FolderTreeHelpers } from 'shared/utils';\r\nimport { ViewModelService } from 'libs/common/backbone/services/ViewModelService';\r\nimport { DroppableBehavior } from 'apps/library-editor/behaviors/droppable/DroppableBehavior';\r\nimport { VideoDragDropService } from 'apps/library-editor/services/VideoDragDropService';\r\nimport { LocationContext, AnalyticsOptions } from 'libs/analytics/interfaces';\r\n\r\nexport const LeftNavLibraryViewModelPrefix = 'library:left:nav';\r\n\r\ninterface LeftNavLibraryComponentOptions extends Core.ComponentOptions<Folder> {\r\n channelName: string;\r\n libraryId?: string;\r\n folderTreeId: string;\r\n forceOpen?: boolean;\r\n hasMultipleLibraries?: boolean;\r\n}\r\n\r\nclass LeftNavLibraryComponent extends Core.Component<Folder> {\r\n protected options: LeftNavLibraryComponentOptions;\r\n private videoDragDropService: VideoDragDropService;\r\n\r\n constructor(options: LeftNavLibraryComponentOptions) {\r\n super(options);\r\n }\r\n\r\n public initialize(): void {\r\n const open = this.options.forceOpen || this.options.libraryId && this.model.get('id').toString() === this.options.libraryId.toString();\r\n this.viewModel = ViewModelService.get(`${LeftNavLibraryViewModelPrefix}:${this.model.get('id')}`);\r\n this.viewModel.set('open', open);\r\n this.viewModel.set('disabled', false);\r\n this.listenTo(this.model, 'change:name', this.render);\r\n\r\n if (this.options.hasMultipleLibraries) {\r\n this.listenTo(this, 'open:sub:folders', this.onOpenSubFolders);\r\n }\r\n\r\n this.videoDragDropService = InstanceManager.getInstance(Services.VideoDragDrop, this);\r\n }\r\n\r\n public get name(): string {\r\n return 'LeftNavLibraryComponent';\r\n }\r\n\r\n public get template(): any {\r\n return LeftNavLibraryTemplate;\r\n }\r\n\r\n public get className(): string {\r\n return leftNavStyles.libraryContainer;\r\n }\r\n\r\n public get behaviors(): any[] {\r\n const channelNames = [ServiceChannels.FOLDER_DRAG_DROP];\r\n\r\n if (this.options.hasMultipleLibraries)\r\n channelNames.push(ServiceChannels.VIDEO_DRAG_DROP);\r\n\r\n return [{\r\n behaviorClass: DroppableBehavior,\r\n ui: 'anchor',\r\n channelNames,\r\n analyticsOptions: {\r\n location: LocationContext.LeftNav\r\n }\r\n }];\r\n }\r\n\r\n public regions(): ObjectHash {\r\n return {\r\n folders: {\r\n el: '.folders-region',\r\n replaceElement: true\r\n },\r\n actions: {\r\n el: '.actions-region',\r\n replaceElement: true\r\n }\r\n };\r\n }\r\n\r\n public get appLinks(): Core.AppLinkHash {\r\n return {\r\n '.ui-anchor': {\r\n application: AppChannels.LIBRARY_EDITOR,\r\n action: Actions.LibraryEditor.LIBRARY,\r\n args: [this.model.get('id')]\r\n }\r\n };\r\n }\r\n\r\n public events(): ObjectHash {\r\n return {\r\n 'click .library-event': 'onClick'\r\n };\r\n }\r\n\r\n public get elements(): ObjectHash {\r\n return {\r\n anchor: '.ui-anchor',\r\n text: '.ui-text'\r\n };\r\n }\r\n\r\n private onClick(event: JQuery.Event): void {\r\n if (!this.viewModel.get('open'))\r\n return;\r\n\r\n /**\r\n * This stops the appLink from triggering\r\n * because we're already on the view in question\r\n */\r\n event.stopImmediatePropagation();\r\n\r\n /**\r\n * And then we need to prevent default\r\n * because the appLink handler does that normally.\r\n */\r\n event.preventDefault();\r\n\r\n this.viewModel.set('open', !this.viewModel.get('open'));\r\n this.render();\r\n }\r\n\r\n private onOpenSubFolders(): void {\r\n const disabledLibraryIds = this.videoDragDropService.getDisabledLibraryIds();\r\n if (disabledLibraryIds.includes(this.model.get('id'))) {\r\n this.viewModel.set('disabled', true);\r\n this.render();\r\n return;\r\n }\r\n\r\n this.viewModel.set('open', true);\r\n this.render();\r\n }\r\n\r\n private hasFolders(): boolean {\r\n const firstFolder = FolderTreeHelpers.getFirstType(this.model.children, 'category');\r\n\r\n return !!firstFolder;\r\n }\r\n\r\n private get analyticsOptions(): AnalyticsOptions {\r\n return {\r\n location: LocationContext.LeftNav\r\n };\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n return {\r\n styles: leftNavStyles,\r\n caretSvg: SvgHelper.getSvg(cvSvgLibrary.Caret),\r\n open: this.viewModel.get('open'),\r\n hasFolders: this.hasFolders(),\r\n disabled: this.viewModel.get('disabled')\r\n };\r\n }\r\n\r\n public onRender(): void {\r\n this.showChildView('actions', new LibraryActionsComponent({\r\n model: this.model,\r\n extraClasses: `rounded-circle mr-1 ${leftNavStyles.actions}`,\r\n buttonClass: 'text-muted',\r\n analyticsOptions: this.analyticsOptions\r\n }));\r\n\r\n if (!this.model.children || !this.model.children.length || !this.viewModel.get('open'))\r\n return;\r\n\r\n this.showChildView('folders', new LeftNavComponent({\r\n appLink: {\r\n action: Actions.LibraryEditor.FOLDER,\r\n application: AppChannels.LIBRARY_EDITOR\r\n },\r\n linkArgs: (model: Core.Model) => [model.get('id')],\r\n collection: this.model.children,\r\n channelName: `${this.cid}`,\r\n childrenProperty: 'children',\r\n actions: VideoCollectionActionsComponent,\r\n folderTreeId: this.options.folderTreeId,\r\n analyticsOptions: this.analyticsOptions\r\n }));\r\n }\r\n}\r\n\r\ninterface LeftNavLibrariesComponentOptions extends Core.ComponentCollectionOptions {\r\n channelName: string;\r\n libraryId?: string;\r\n folderTreeId: string;\r\n forceOpen?: boolean;\r\n}\r\n\r\nexport class LeftNavLibrariesComponent extends Core.ComponentCollection {\r\n public options: LeftNavLibrariesComponentOptions;\r\n\r\n constructor(options: LeftNavLibrariesComponentOptions) {\r\n super(options);\r\n }\r\n\r\n public get name(): string {\r\n return 'LeftNavLibrariesComponent';\r\n }\r\n\r\n public get childView(): typeof LeftNavLibraryComponent {\r\n return LeftNavLibraryComponent;\r\n }\r\n\r\n public get childViewOptions(): LeftNavLibraryComponentOptions {\r\n return {\r\n channelName: this.options.channelName,\r\n libraryId: this.options.libraryId,\r\n folderTreeId: this.options.folderTreeId,\r\n forceOpen: this.options.forceOpen,\r\n hasMultipleLibraries: this.collection.length > 1\r\n };\r\n }\r\n}","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 container.escapeExpression(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.disabled : stack1), depth0));\n},\"3\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return container.escapeExpression(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.selected : stack1), depth0));\n},\"5\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda;\n\n return \" <span class=\\\"\"\n + container.escapeExpression(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.caret : stack1), depth0))\n + \" d-inline-block position-absolute\\\">\\r\\n \"\n + ((stack1 = alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.caretSvg : stack1), depth0)) != null ? stack1 : \"\")\n + \"\\r\\n </span>\\r\\n\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression, alias4=depth0 != null ? depth0 : (container.nullContext || {});\n\n return \"<div class=\\\"position-relative border-bottom \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.library : stack1), depth0))\n + \" \"\n + ((stack1 = helpers[\"if\"].call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.disabled : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"\\\">\\r\\n <a class=\\\"position-relative library-event \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.libraryAnchor : stack1), depth0))\n + \" \"\n + ((stack1 = helpers[\"if\"].call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.open : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \" ui-anchor no-hover-text-underline\\\">\\r\\n\"\n + ((stack1 = helpers[\"if\"].call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.hasFolders : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(5, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \" <span class=\\\"\"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.text : stack1), depth0))\n + \" ui-text\\\">\"\n + alias3(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === \"function\" ? helper.call(alias4,{\"name\":\"name\",\"hash\":{},\"data\":data}) : helper)))\n + \"</span>\\r\\n </a>\\r\\n <div class=\\\"actions-region\\\"></div>\\r\\n</div>\\r\\n<div class=\\\"folders-region\\\"></div>\";\n},\"useData\":true});","var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression;\n\n return \"<div class=\\\"\"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.addLibraryContainer : stack1), depth0))\n + \"\\\">\\r\\n <button class=\\\"applink-new-library btn btn-outline-secondary \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.addLibrary : stack1), depth0))\n + \"\\\">\\r\\n <span class=\\\"\"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.plus : stack1), depth0))\n + \" d-inline-block position-absolute\\\">\\r\\n \"\n + ((stack1 = alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.plusSvg : stack1), depth0)) != null ? stack1 : \"\")\n + \"\\r\\n </span>\\r\\n \"\n + alias3((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"newLibrary\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"\\r\\n </button>\\r\\n</div>\\r\\n\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return \"<div class=\\\"logo-region\\\"></div>\\r\\n<div class=\\\"folder-tree-region\\\"></div>\\r\\n\"\n + ((stack1 = helpers[\"if\"].call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.canCreateLibraries : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"useData\":true});","import { ObjectHash } from 'backbone';\r\n\r\nimport { Core } from 'libs/common/core';\r\nimport { SvgHelper, cvSvgLibrary } from 'libs/shared/utils/SvgHelper';\r\n\r\nimport { Actions, DataPrefixes, DataChannels, ServiceChannels, AppChannels } from 'shared/constants';\r\nimport { LibraryDataServiceHelper } from 'apps/library-editor/services/LibraryDataService';\r\nimport LeftNavigationTemplate from './LeftNavigation.handlebars';\r\nimport { LeftNavLibrariesComponent, LeftNavLibraryViewModelPrefix } from 'apps/library-editor/components/left-nav-libraries/LeftNavLibrariesComponent';\r\nimport styles from './left-navigation.scss';\r\nimport { InstanceManager } from 'libs/common/backbone/services/InstanceManager';\r\nimport { DataServices } from 'shared/constants/Services';\r\nimport { SettingsDataService } from 'shared/services/SettingsDataService';\r\nimport { UserDataServiceHelper } from 'shared/services/UserDataService';\r\nimport { ConfigDataServiceHelper } from 'shared/services/ConfigDataService';\r\nimport { ViewModelService } from 'libs/common/backbone/services/ViewModelService';\r\nimport { SettingName, PartialLoading } from 'shared/enums';\r\nimport { User } from 'shared/models/User';\r\nimport { Setting } from 'shared/models/Setting';\r\nimport { Config } from 'shared/models/Config';\r\nimport { FolderTreeIds } from 'shared/constants/FolderTreeIds';\r\nimport { CustomerLogoComponent } from 'apps/library-editor/components/customer-logo/CustomerLogoComponent';\r\n\r\ninterface LeftNavigationViewOptions extends Core.ViewOptions {\r\n libraryId?: string;\r\n}\r\n\r\nexport class LeftNavigationView extends Core.View {\r\n public options: LeftNavigationViewOptions;\r\n private settingsDataService: SettingsDataService;\r\n\r\n private currentUser: User;\r\n private config: Config;\r\n private maxCustomLibraries: Setting;\r\n\r\n constructor(options: LeftNavigationViewOptions) {\r\n super(options);\r\n }\r\n\r\n public initialize(): void {\r\n this.bindListeners();\r\n\r\n this.settingsDataService = InstanceManager.getInstance(DataServices.Settings, this);\r\n }\r\n\r\n private bindListeners(): void {\r\n this.listenTo(this.channelName, 'select:library', this.onSelectLibrary);\r\n\r\n this.listenTo(DataChannels.LIBRARY, 'cache:cleared', this.fetchData);\r\n\r\n this.listenTo(ServiceChannels.FOLDER_DRAG_DROP, 're:render:left:nav', this.render);\r\n\r\n this.listenTo(DataChannels.SETTINGS, `${DataPrefixes.SETTINGS}:sync`, this.render);\r\n }\r\n\r\n public get name(): string {\r\n return 'LeftNavigationView';\r\n }\r\n\r\n public get title(): boolean {\r\n return false;\r\n }\r\n\r\n public get channelName(): string {\r\n return `${this.name}${this.cid}`;\r\n }\r\n\r\n public get lang(): string {\r\n return 'libraryEditor.leftNavigation';\r\n }\r\n\r\n public get className(): string {\r\n return 'bg-white pb-3';\r\n }\r\n\r\n public get template(): any {\r\n return LeftNavigationTemplate;\r\n }\r\n\r\n public regions(): ObjectHash {\r\n return {\r\n logo: {\r\n el: '.logo-region',\r\n replaceElement: false\r\n },\r\n folderTree: {\r\n el: '.folder-tree-region',\r\n replaceElement: false,\r\n partialLoading: PartialLoading.LeftNav,\r\n }\r\n };\r\n }\r\n\r\n public events(): ObjectHash {\r\n return {\r\n 'click .new-folder': 'newFolder'\r\n };\r\n }\r\n\r\n public get appLinks(): Core.AppLinkHash {\r\n return {\r\n '.applink-new-library': {\r\n application: AppChannels.LIBRARY_EDITOR,\r\n action: Actions.LibraryEditor.NEW_LIBRARY\r\n }\r\n };\r\n }\r\n\r\n private fetchData(): void {\r\n this.maxCustomLibraries = this.settingsDataService.getSetting(this.currentUser.get('customerId'), SettingName.MaxCustomLibraries);\r\n }\r\n\r\n private onSelectLibrary(libraryId: string): void {\r\n this.collection.each(library => {\r\n const viewModel = ViewModelService.get<Core.Model>(`${LeftNavLibraryViewModelPrefix}:${library.id}`);\r\n viewModel.set('open', library.id.toString() === libraryId);\r\n });\r\n\r\n this.render();\r\n }\r\n\r\n private renderLogo(): void {\r\n this.showChildView('logo', new CustomerLogoComponent({\r\n model: this.currentUser.get('customerLogo'),\r\n customerId: this.currentUser.get('customerId'),\r\n onlineUrl: this.config.get('onlineUrl')\r\n }));\r\n }\r\n\r\n private renderLeftNav(): void {\r\n const leftNavComponent = new LeftNavLibrariesComponent({\r\n collection: this.collection,\r\n channelName: this.channelName,\r\n libraryId: this.options.libraryId,\r\n folderTreeId: FolderTreeIds.LIBRARY_EDITOR,\r\n forceOpen: this.collection.length === 1\r\n });\r\n\r\n this.showChildView('folderTree', leftNavComponent);\r\n }\r\n\r\n public get requiredResources(): Core.RequiredResourceHash {\r\n return {\r\n currentUser: UserDataServiceHelper.currentUser,\r\n config: ConfigDataServiceHelper.config,\r\n collection: LibraryDataServiceHelper.libraries\r\n };\r\n }\r\n\r\n public onBeforeRender(): boolean {\r\n this.fetchData();\r\n\r\n return !!this.maxCustomLibraries;\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n if (!this.collection) return;\r\n\r\n return {\r\n styles,\r\n plusSvg: SvgHelper.getSvg(cvSvgLibrary.Plus),\r\n canCreateLibraries: this.maxCustomLibraries ? this.maxCustomLibraries.get('value') > this.collection.length : false\r\n };\r\n }\r\n\r\n public onRender(): void {\r\n this.renderLogo();\r\n this.renderLeftNav();\r\n }\r\n}\r\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"addLibrary\":\"cv--addLibrary--1O42p\",\"addLibraryContainer\":\"cv--addLibraryContainer--1HX0v\",\"plus\":\"cv--plus--3aHT2\"};"],"sourceRoot":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[5],{1039:function(t,e,n){"use strict";n.d(e,"a",(function(){return g}));var o=n(2),i=n(0),r=n(13),a=n(1200),s=n.n(a),l=n(1201),c=n.n(l);function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function f(t,e){return(f=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function h(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=y(t);if(e){var i=y(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return d(this,n)}}function d(t,e){return!e||"object"!==u(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var g=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&f(t,e)}(l,t);var e,n,o,a=h(l);function l(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),a.call(this,t)}return e=l,(n=[{key:"events",value:function(){var t,e,n,o=Object.keys(this.appLinks),i=(t={},e="click .".concat(c.a.sourceLabel),n="onClick",e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t);return o.forEach((function(t){i["click ".concat(t)]="onClick"})),i}},{key:"onClick",value:function(t){t.stopPropagation()}},{key:"getFolderLinks",value:function(){var t,e=this,n=this.model.get("categories");if(null===(t=n)||void 0===t?void 0:t.length){var o={};return n.forEach((function(t,n){var i=e.options.highlight?r.v.wordsHighlighter(r.v.escapeExpression(t.get("name")),e.model.get("_matchedWords")):r.v.escapeExpression(t.get("name"));o[t.get("id")]=i})),Object.keys(o).map((function(t){return'<a class="info-link applink-folder-'.concat(t,'">').concat(o[t],"</a>")})).join(", ")}}},{key:"onBeforeRender",value:function(){var t;return this.options.showFolder&&(null===(t=this.model.get("categories"))||void 0===t?void 0:t.length)}},{key:"viewOptions",value:function(){return{styles:c.a,folderCount:this.model.get("categories").length,folders:this.options.showFolder&&this.getFolderLinks(),hideLabel:this.options.hideLabel}}},{key:"name",get:function(){return"VideoSourcesMetadataComponent"}},{key:"template",get:function(){return s.a}},{key:"lang",get:function(){return"shared.videoSourcesMetadata"}},{key:"defaults",get:function(){return{showFolder:!1,highlight:!1}}},{key:"appLinks",get:function(){var t;return this.options.showFolder&&(null===(t=this.model.get("categories"))||void 0===t?void 0:t.length)?this.model.get("categories").reduce((function(t,e){return t[".applink-folder-".concat(e.get("id"))]={application:i.b.LIBRARY_EDITOR,action:i.a.LibraryEditor.FOLDER,args:[e.get("id")]},t}),{}):{}}}])&&p(e.prototype,n),o&&p(e,o),l}(o.a.Component)},1055:function(t,e,n){"use strict";var o=n(2),i=n(19),r=n(7),a=n(0),s=n(158),l=n(1123),c=n.n(l),u=n(1124),p=n.n(u);function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function d(t,e){return(d=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function y(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=m(t);if(e){var i=m(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return g(this,n)}}function g(t,e){return!e||"object"!==f(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function m(t){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var b=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&d(t,e)}(l,t);var e,n,o,i=y(l);function l(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),i.call(this,t)}return e=l,(n=[{key:"events",value:function(){return this.options.removeEvent?{"click @ui.close":"onRemoveTag"}:{click:"onClickTag"}}},{key:"initialize",value:function(){this.options.behavior===s.c.Edit&&this.listenTo(this.model,"change",this.render)}},{key:"isSaving",value:function(){if(this.options.behavior!==s.c.Filter){var t=this.model.pick("id","name","remove"),e=t.id,n=t.name;return!!t.remove||!e||!n}}},{key:"onRemoveTag",value:function(t){if(t.stopPropagation(),!this.isSaving())return this.model.set("remove",!0),r.Radio.channel(this.options.channelName).trigger(this.options.removeEvent,this.model),!1}},{key:"onClickTag",value:function(t){this.options.behavior!==s.c.Filter||this.options.removeEvent||r.Radio.channel(this.options.channelName).trigger(this.options.clickEvent,this.model)}},{key:"viewOptions",value:function(){return{removable:this.options.removeEvent}}},{key:"onRender",value:function(){this.resetClassName()}},{key:"name",get:function(){return"TagItemComponent"}},{key:"tagName",get:function(){return this.options.behavior===s.c.Link?"a":"span"}},{key:"className",get:function(){var t="".concat(this.options.orientation===s.d.Vertical?"":" d-inline-flex"),e="".concat(this.isSaving()?" saving":""),n="".concat(this.options.behavior===s.c.Disabled?" ".concat(p.a.disabled):""),o="".concat(this.options.behavior===s.c.Filter?" cursor-pointer":"");return"badge-pill tag py-1 px-2 my-1 mr-1".concat(o).concat(t).concat(e).concat(n)}},{key:"template",get:function(){return c.a}},{key:"elements",get:function(){return{close:".close"}}},{key:"appLinks",get:function(){return this.options.behavior!==s.c.Link?{}:{"[this]":{application:a.b.SEARCH,action:a.a.Search.HOME,params:{tag:this.model.get("name")}}}}},{key:"defaults",get:function(){return{behavior:s.c.Link,orientation:s.d.Flex}}}])&&h(e.prototype,n),o&&h(e,o),l}(o.a.Component);function v(t){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function k(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function O(t,e){return(O=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function w(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=E(t);if(e){var i=E(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return S(this,n)}}function S(t,e){return!e||"object"!==v(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function E(t){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return C}));var C=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&O(t,e)}(l,t);var e,n,r,a=w(l);function l(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),a.call(this,t)}return e=l,(n=[{key:"initialize",value:function(){this.options.behavior!==s.c.Edit||this.options.removeEvent||o.a.ErrorHelper.throw(new i.a("removeEvent is required to edit tags."))}},{key:"name",get:function(){return"TagComponentCollection"}},{key:"defaults",get:function(){return{orientation:s.d.Flex}}},{key:"className",get:function(){var t="".concat(this.options.orientation===s.d.Vertical?" d-flex align-items-start flex-column":"");return"tags".concat(t)}},{key:"childViewOptions",get:function(){return{channelName:this.options.channelName,behavior:this.options.behavior,orientation:this.options.orientation,removeEvent:this.options.removeEvent,clickEvent:this.options.clickEvent}}},{key:"childView",get:function(){return b}}])&&k(e.prototype,n),r&&k(e,r),l}(o.a.ComponentCollection)},1093:function(t,e,n){"use strict";var o=n(2),i=n(81),r=n(4),a=n(42),s=n(15),l=n(1),c=n(134),u=n(1204),p=n.n(u),f=n(1181),h=n.n(f);function d(t){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function y(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],o=!0,i=!1,r=void 0;try{for(var a,s=t[Symbol.iterator]();!(o=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);o=!0);}catch(t){i=!0,r=t}finally{try{o||null==s.return||s.return()}finally{if(i)throw r}}return n}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return g(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function m(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function b(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function v(t,e,n){return e&&b(t.prototype,e),n&&b(t,n),t}function k(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&O(t,e)}function O(t,e){return(O=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function w(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=E(t);if(e){var i=E(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return S(this,n)}}function S(t,e){return!e||"object"!==d(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function E(t){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var C=function(t){k(n,t);var e=w(n);function n(t){return m(this,n),e.call(this,t)}return v(n,[{key:"events",value:function(){return{click:"onClick"}}},{key:"onClick",value:function(t){this.logAction()}},{key:"logAction",value:function(){var t=this.model.get("appLink");if(l.isObject(t)){var e=y(t.args,1)[0];a.a.logUserAction({id:e},this.model.get("analyticsOptions"))}}},{key:"viewOptions",value:function(){return{styles:h.a,showLabel:this.options.showLabel,additionalClassName:this.model.get("isDisabled")?"disabled":"cursor-pointer"}}},{key:"name",get:function(){return"VideoActionItemComponent"}},{key:"template",get:function(){return p.a}},{key:"tagName",get:function(){return"a"}},{key:"attributes",get:function(){if(!this.model.get("href"))return{}}},{key:"className",get:function(){var t="d-inline-block px-1 no-decoration";return this.model.get("isDisabled")&&(t+=" ".concat(h.a.disabled)),t}},{key:"behaviors",get:function(){var t=(!this.options.showLabel||this.options.model.get("isDisabled"))&&this.options.model.get("tooltipText");if(t)return[{behaviorClass:c.a,title:t}]}},{key:"appLinks",get:function(){return!this.model.get("appLink")||this.model.get("isDisabled")?{}:{"[this]":this.model.get("appLink")}}}]),n}(o.a.Component),_=function(t){k(n,t);var e=w(n);function n(t){return m(this,n),e.call(this,t)}return v(n,[{key:"name",get:function(){return"VideoActionsComponentCollection"}},{key:"childView",get:function(){return C}},{key:"childViewOptions",get:function(){return{showLabel:this.options.showActionLabels}}}]),n}(o.a.ComponentCollection),P=n(1035),T=n(0),A=n(13),j=n(3),L=n(158),R=n(1205),x=n.n(R);function D(t){return(D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function I(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function V(t,e){return(V=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function N(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=F(t);if(e){var i=F(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return M(this,n)}}function M(t,e){return!e||"object"!==D(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function F(t){return(F=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return H}));var H=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&V(t,e)}(u,t);var e,n,l,c=N(u);function u(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),c.call(this,t)}return e=u,(n=[{key:"regions",value:function(){return{actions:{el:".actions-region"},moreActions:{el:"@ui.moreActions",replaceElement:!1}}}},{key:"events",value:function(){return{click:"onClick","click @ui.dropdownToggle":"onClickMore","click @ui.moreActions":"onClickMore"}}},{key:"onClick",value:function(t){t.stopPropagation()}},{key:"onClickMore",value:function(t){this.renderMoreActions(),this.getUI("dropdownToggle").dropdown("toggle")}},{key:"getActions",value:function(){return new o.a.Collection([{title:j.a.getPhrase(this.lang,"share"),svg:s.a.getSvg(s.b.Share),isDisabled:!A.j.canShareVideo(this.model,this.options.application),tooltipText:A.j.canShareVideo(this.model,this.options.application)?j.a.getPhrase(this.lang,"share"):A.j.getSharePermissionsMessage(this.model,this.options.application),appLink:{application:this.options.application,action:T.a.Shared.SHARE_VIDEO,args:[this.model.get("id")]},analyticsOptions:a.a.mergeOptions(this.options.analyticsOptions,{actionType:r.q.Share})},{title:j.a.getPhrase(this.lang,"edit"),svg:A.j.canEditVideo(this.model)?s.a.getSvg(s.b.Edit):s.a.getSvg(s.b.EditClickView),tooltipText:this.getEditTooltip(),appLink:{application:T.b.LIBRARY_EDITOR,action:T.a.LibraryEditor.EDIT_VIDEO,args:[this.model.get("id")]},analyticsOptions:a.a.mergeOptions(this.options.analyticsOptions,{actionType:r.q.Edit,workflowPhase:r.r.Start})}])}},{key:"getEditTooltip",value:function(){return A.j.canEditVideo(this.model)?j.a.getPhrase(this.lang,"edit"):A.x.isExchangeVideo(this.model)?j.a.getPhrase(this.lang,"linkedToExchange"):j.a.getPhrase(this.lang,"linkedToCv")}},{key:"getFolderSourceId",value:function(){return this.options.collectionSource===L.e.Folder?this.options.collectionIdentifier.id:this.model.get("categories").first().get("id")}},{key:"getMoreActions",value:function(){var t=[];if(this.options.collectionIdentifier&&t.push({title:j.a.getPhrase(this.lang,"move"),appLink:{application:this.options.application,action:T.a.Shared.MOVE_VIDEOS,args:[this.model.get("id").toString(),this.getFolderSourceId()]},analyticsOptions:a.a.mergeOptions(this.options.analyticsOptions,{actionType:r.q.Move,descriptor:r.l.Single,workflowPhase:r.r.Start})}),t.push({title:j.a.getPhrase(this.lang,"manageAccess"),appLink:{application:this.options.application,action:T.a.Shared.MANAGE_VIDEO_ACCESS,args:[this.model.get("id").toString()]},analyticsOptions:a.a.mergeOptions(this.options.analyticsOptions,{actionType:r.q.SetAccess,workflowPhase:r.r.Start})}),this.options.application===T.b.CONTENT_UPDATES&&this.options.customerHasCustomLibrary&&t.push({title:j.a.getPhrase(this.lang,"addToLibrary"),appLink:{application:this.options.application,action:T.a.ContentUpdates.ADD_TO_LIBRARY,args:[this.model.get("id").toString()]}}),t.push({title:j.a.getPhrase(this.lang,"openInStaffView"),href:i.a.safeUrlConcat(this.options.config.get("onlineUrl"),"videos/".concat(this.model.get("id"))),external:!0,icon:s.a.getSvg(s.b.NewWindow),analyticsOptions:a.a.mergeOptions(this.options.analyticsOptions,{actionType:r.q.Click,descriptor:r.b.OpenInStaffView})}),this.options.application!==T.b.CONTENT_UPDATES){var e=A.j.canDownloadVideo(this.model);t.push({title:j.a.getPhrase(this.lang,"download"),disabled:!e,classes:e?"":"".concat(h.a.disabled),tooltip:e?null:{title:j.a.getPhrase(this.lang,"cannotDownload"),placement:"left"},analyticsOptions:a.a.mergeOptions(this.options.analyticsOptions,{actionType:r.q.Download}),appLink:e?{application:this.options.application,action:T.a.Shared.DOWNLOAD_VIDEO,args:[this.model.id.toString()]}:null})}return this.options.customerHasExchange&&A.j.canAddToExchange(this.model)&&t.push({title:j.a.getPhrase(this.lang,"addToExchange"),appLink:{application:this.options.application,action:T.a.LibraryEditor.ADD_TO_EXCHANGE,args:[this.model.get("id").toString()]}}),this.options.customerHasLocalCache&&t.push({title:j.a.getPhrase(this.lang,"localCache"),appLink:{application:this.options.application,action:T.a.Shared.DOWNLOAD_TO_LOCAL_CACHE,args:[this.model.id.toString()]},analyticsOptions:a.a.mergeOptions(this.options.analyticsOptions,{actionType:r.q.AddToLocalCache})}),this.options.collectionIdentifier&&t.push({title:j.a.getPhrase(this.lang,"remove"),appLink:{application:this.options.application,action:T.a.Shared.DELETE_VIDEOS,args:[this.getFolderSourceId(),this.model.get("id").toString()],params:{routeToFolderOnDelete:this.options.routeToFolderOnDelete}},classes:"text-danger",analyticsOptions:a.a.mergeOptions(this.options.analyticsOptions,{actionType:r.q.Delete,descriptor:r.l.Single,workflowPhase:r.r.Start})}),new o.a.Collection(t)}},{key:"renderActions",value:function(){this.showChildView("actions",new _({collection:this.getActions(),showActionLabels:this.options.showActionLabels}))}},{key:"renderMoreActions",value:function(){this.moreActionsRendered||(this.moreActionsRendered=!0,this.showChildView("moreActions",new P.a({displayOptions:{alignment:"right"},channelName:this.channelName,collection:this.getMoreActions(),childOptions:{isDisabled:function(){return this.model.get("disabled")},getTooltip:function(){return this.options.model.get("tooltip")}},analyticsHelper:a.a})))}},{key:"viewOptions",value:function(){return{styles:h.a,moreSvg:s.a.getSvg(s.b.More)}}},{key:"onRender",value:function(){this.moreActionsRendered=!1,this.renderActions()}},{key:"name",get:function(){return"VideoActionsComponent"}},{key:"template",get:function(){return x.a}},{key:"lang",get:function(){return"shared.videoActions"}},{key:"className",get:function(){return h.a.actions}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"elements",get:function(){return{dropdownToggle:".ui-dropdown-toggle",moreActions:".more-actions-region"}}}])&&I(e.prototype,n),l&&I(e,l),u}(o.a.Component)},1123:function(t,e,n){var o=n(10);t.exports=(o.default||o).template({1:function(t,e,n,o,i){return'<span class="close cursor-pointer" aria-hidden="true">×</span>\r\n'},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){t.propertyIsEnumerable;var r,a,s=null!=e?e:t.nullContext||{};return t.escapeExpression("function"==typeof(a=null!=(a=n.name||(null!=e?e.name:e))?a:t.hooks.helperMissing)?a.call(s,{name:"name",hash:{},data:i}):a)+"\r\n"+(null!=(r=n.if.call(s,null!=(r=null!=e?e.options:e)?r.removable:r,{name:"if",hash:{},fn:t.program(1,i,0),inverse:t.noop,data:i}))?r:"")},useData:!0})},1124:function(t,e,n){t.exports={disabled:"_3Vziu"}},1181:function(t,e,n){t.exports={actions:"_1U-Yf",svgContainer:"_3hYSf",actionName:"_2kY6B",disabled:"_3UjU0"}},1200:function(t,e,n){var o=n(10);t.exports=(o.default||o).template({1:function(t,e,n,o,i){t.propertyIsEnumerable;var r,a=t.escapeExpression;return'<span class="'+a(t.lambda(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.sourceLabel:r,e))+'">'+a((n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"folder",{name:"lang",hash:{smartCount:null!=(r=null!=e?e.options:e)?r.folderCount:r},data:i}))+"</span>\r\n"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){var r;t.propertyIsEnumerable;return(null!=(r=n.unless.call(null!=e?e:t.nullContext||{},null!=(r=null!=e?e.options:e)?r.hideLabel:r,{name:"unless",hash:{},fn:t.program(1,i,0),inverse:t.noop,data:i}))?r:"")+(null!=(r=t.lambda(null!=(r=null!=e?e.options:e)?r.folders:r,e))?r:"")},useData:!0})},1201:function(t,e,n){t.exports={sourceLabel:"_2HK7r"}},1204:function(t,e,n){var o=n(10);t.exports=(o.default||o).template({1:function(t,e,n,o,i){t.propertyIsEnumerable;var r,a,s=t.lambda,l=t.escapeExpression;return' <span class="align-middle mr-2 '+l(s(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.actionName:r,e))+" "+l(s(null!=(r=null!=e?e.options:e)?r.additionalClassName:r,e))+'">'+l("function"==typeof(a=null!=(a=n.title||(null!=e?e.title:e))?a:t.hooks.helperMissing)?a.call(null!=e?e:t.nullContext||{},{name:"title",hash:{},data:i}):a)+"</span>\r\n"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){t.propertyIsEnumerable;var r,a,s=t.lambda,l=t.escapeExpression,c=null!=e?e:t.nullContext||{};return' <span class="d-inline-block align-middle '+l(s(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.svgContainer:r,e))+" "+l(s(null!=(r=null!=e?e.options:e)?r.additionalClassName:r,e))+'">'+(null!=(r="function"==typeof(a=null!=(a=n.svg||(null!=e?e.svg:e))?a:t.hooks.helperMissing)?a.call(c,{name:"svg",hash:{},data:i}):a)?r:"")+"</span>\r\n"+(null!=(r=n.if.call(c,null!=(r=null!=e?e.options:e)?r.showLabel:r,{name:"if",hash:{},fn:t.program(1,i,0),inverse:t.noop,data:i}))?r:"")},useData:!0})},1205:function(t,e,n){var o=n(10);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){t.propertyIsEnumerable;var r,a=t.lambda;return'<div class="actions-region d-inline-block"></div>\r\n<span class="d-inline-block">\r\n <span data-toggle="dropdown"\r\n aria-haspopup="true"\r\n aria-expanded="false"\r\n class="ui-more d-inline-block ui-dropdown-toggle align-middle '+t.escapeExpression(a(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.svgContainer:r,e))+' cursor-pointer d-inline-block">'+(null!=(r=a(null!=(r=null!=e?e.options:e)?r.moreSvg:r,e))?r:"")+'</span>\r\n <div class="more-actions-region"></div>\r\n</span>\r\n'},useData:!0})}}]);
|
|
1
|
+
(window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[5],{1035:function(t,e,n){"use strict";n.d(e,"a",(function(){return g}));var o=n(2),i=n(0),r=n(13),a=n(1196),s=n.n(a),l=n(1197),c=n.n(l);function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function f(t,e){return(f=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function h(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=y(t);if(e){var i=y(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return d(this,n)}}function d(t,e){return!e||"object"!==u(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var g=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&f(t,e)}(l,t);var e,n,o,a=h(l);function l(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),a.call(this,t)}return e=l,(n=[{key:"events",value:function(){var t,e,n,o=Object.keys(this.appLinks),i=(t={},e="click .".concat(c.a.sourceLabel),n="onClick",e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t);return o.forEach((function(t){i["click ".concat(t)]="onClick"})),i}},{key:"onClick",value:function(t){t.stopPropagation()}},{key:"getFolderLinks",value:function(){var t,e=this,n=this.model.get("categories");if(null===(t=n)||void 0===t?void 0:t.length){var o={};return n.forEach((function(t,n){var i=e.options.highlight?r.v.wordsHighlighter(r.v.escapeExpression(t.get("name")),e.model.get("_matchedWords")):r.v.escapeExpression(t.get("name"));o[t.get("id")]=i})),Object.keys(o).map((function(t){return'<a class="info-link applink-folder-'.concat(t,'">').concat(o[t],"</a>")})).join(", ")}}},{key:"onBeforeRender",value:function(){var t;return this.options.showFolder&&(null===(t=this.model.get("categories"))||void 0===t?void 0:t.length)}},{key:"viewOptions",value:function(){return{styles:c.a,folderCount:this.model.get("categories").length,folders:this.options.showFolder&&this.getFolderLinks(),hideLabel:this.options.hideLabel}}},{key:"name",get:function(){return"VideoSourcesMetadataComponent"}},{key:"template",get:function(){return s.a}},{key:"lang",get:function(){return"shared.videoSourcesMetadata"}},{key:"defaults",get:function(){return{showFolder:!1,highlight:!1}}},{key:"appLinks",get:function(){var t;return this.options.showFolder&&(null===(t=this.model.get("categories"))||void 0===t?void 0:t.length)?this.model.get("categories").reduce((function(t,e){return t[".applink-folder-".concat(e.get("id"))]={application:i.b.LIBRARY_EDITOR,action:i.a.LibraryEditor.FOLDER,args:[e.get("id")]},t}),{}):{}}}])&&p(e.prototype,n),o&&p(e,o),l}(o.a.Component)},1051:function(t,e,n){"use strict";var o=n(2),i=n(19),r=n(7),a=n(0),s=n(158),l=n(1119),c=n.n(l),u=n(1120),p=n.n(u);function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function d(t,e){return(d=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function y(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=m(t);if(e){var i=m(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return g(this,n)}}function g(t,e){return!e||"object"!==f(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function m(t){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var b=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&d(t,e)}(l,t);var e,n,o,i=y(l);function l(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),i.call(this,t)}return e=l,(n=[{key:"events",value:function(){return this.options.removeEvent?{"click @ui.close":"onRemoveTag"}:{click:"onClickTag"}}},{key:"initialize",value:function(){this.options.behavior===s.c.Edit&&this.listenTo(this.model,"change",this.render)}},{key:"isSaving",value:function(){if(this.options.behavior!==s.c.Filter){var t=this.model.pick("id","name","remove"),e=t.id,n=t.name;return!!t.remove||!e||!n}}},{key:"onRemoveTag",value:function(t){if(t.stopPropagation(),!this.isSaving())return this.model.set("remove",!0),r.Radio.channel(this.options.channelName).trigger(this.options.removeEvent,this.model),!1}},{key:"onClickTag",value:function(t){this.options.behavior!==s.c.Filter||this.options.removeEvent||r.Radio.channel(this.options.channelName).trigger(this.options.clickEvent,this.model)}},{key:"viewOptions",value:function(){return{removable:this.options.removeEvent}}},{key:"onRender",value:function(){this.resetClassName()}},{key:"name",get:function(){return"TagItemComponent"}},{key:"tagName",get:function(){return this.options.behavior===s.c.Link?"a":"span"}},{key:"className",get:function(){var t="".concat(this.options.orientation===s.d.Vertical?"":" d-inline-flex"),e="".concat(this.isSaving()?" saving":""),n="".concat(this.options.behavior===s.c.Disabled?" ".concat(p.a.disabled):""),o="".concat(this.options.behavior===s.c.Filter?" cursor-pointer":"");return"badge-pill tag py-1 px-2 my-1 mr-1".concat(o).concat(t).concat(e).concat(n)}},{key:"template",get:function(){return c.a}},{key:"elements",get:function(){return{close:".close"}}},{key:"appLinks",get:function(){return this.options.behavior!==s.c.Link?{}:{"[this]":{application:a.b.SEARCH,action:a.a.Search.HOME,params:{tag:this.model.get("name")}}}}},{key:"defaults",get:function(){return{behavior:s.c.Link,orientation:s.d.Flex}}}])&&h(e.prototype,n),o&&h(e,o),l}(o.a.Component);function v(t){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function k(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function O(t,e){return(O=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function w(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=E(t);if(e){var i=E(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return S(this,n)}}function S(t,e){return!e||"object"!==v(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function E(t){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return C}));var C=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&O(t,e)}(l,t);var e,n,r,a=w(l);function l(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),a.call(this,t)}return e=l,(n=[{key:"initialize",value:function(){this.options.behavior!==s.c.Edit||this.options.removeEvent||o.a.ErrorHelper.throw(new i.a("removeEvent is required to edit tags."))}},{key:"name",get:function(){return"TagComponentCollection"}},{key:"defaults",get:function(){return{orientation:s.d.Flex}}},{key:"className",get:function(){var t="".concat(this.options.orientation===s.d.Vertical?" d-flex align-items-start flex-column":"");return"tags".concat(t)}},{key:"childViewOptions",get:function(){return{channelName:this.options.channelName,behavior:this.options.behavior,orientation:this.options.orientation,removeEvent:this.options.removeEvent,clickEvent:this.options.clickEvent}}},{key:"childView",get:function(){return b}}])&&k(e.prototype,n),r&&k(e,r),l}(o.a.ComponentCollection)},1089:function(t,e,n){"use strict";var o=n(2),i=n(75),r=n(4),a=n(42),s=n(15),l=n(1),c=n(134),u=n(1200),p=n.n(u),f=n(1177),h=n.n(f);function d(t){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function y(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],o=!0,i=!1,r=void 0;try{for(var a,s=t[Symbol.iterator]();!(o=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);o=!0);}catch(t){i=!0,r=t}finally{try{o||null==s.return||s.return()}finally{if(i)throw r}}return n}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return g(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function m(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function b(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function v(t,e,n){return e&&b(t.prototype,e),n&&b(t,n),t}function k(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&O(t,e)}function O(t,e){return(O=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function w(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=E(t);if(e){var i=E(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return S(this,n)}}function S(t,e){return!e||"object"!==d(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function E(t){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var C=function(t){k(n,t);var e=w(n);function n(t){return m(this,n),e.call(this,t)}return v(n,[{key:"events",value:function(){return{click:"onClick"}}},{key:"onClick",value:function(t){this.logAction()}},{key:"logAction",value:function(){var t=this.model.get("appLink");if(l.isObject(t)){var e=y(t.args,1)[0];a.a.logUserAction({id:e},this.model.get("analyticsOptions"))}}},{key:"viewOptions",value:function(){return{styles:h.a,showLabel:this.options.showLabel,additionalClassName:this.model.get("isDisabled")?"disabled":"cursor-pointer"}}},{key:"name",get:function(){return"VideoActionItemComponent"}},{key:"template",get:function(){return p.a}},{key:"tagName",get:function(){return"a"}},{key:"attributes",get:function(){if(!this.model.get("href"))return{}}},{key:"className",get:function(){var t="d-inline-block px-1 no-decoration";return this.model.get("isDisabled")&&(t+=" ".concat(h.a.disabled)),t}},{key:"behaviors",get:function(){var t=(!this.options.showLabel||this.options.model.get("isDisabled"))&&this.options.model.get("tooltipText");if(t)return[{behaviorClass:c.a,title:t}]}},{key:"appLinks",get:function(){return!this.model.get("appLink")||this.model.get("isDisabled")?{}:{"[this]":this.model.get("appLink")}}}]),n}(o.a.Component),_=function(t){k(n,t);var e=w(n);function n(t){return m(this,n),e.call(this,t)}return v(n,[{key:"name",get:function(){return"VideoActionsComponentCollection"}},{key:"childView",get:function(){return C}},{key:"childViewOptions",get:function(){return{showLabel:this.options.showActionLabels}}}]),n}(o.a.ComponentCollection),P=n(1031),T=n(0),A=n(13),j=n(3),L=n(158),R=n(1201),x=n.n(R);function D(t){return(D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function I(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function V(t,e){return(V=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function N(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=F(t);if(e){var i=F(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return M(this,n)}}function M(t,e){return!e||"object"!==D(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function F(t){return(F=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return H}));var H=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&V(t,e)}(u,t);var e,n,l,c=N(u);function u(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),c.call(this,t)}return e=u,(n=[{key:"regions",value:function(){return{actions:{el:".actions-region"},moreActions:{el:"@ui.moreActions",replaceElement:!1}}}},{key:"events",value:function(){return{click:"onClick","click @ui.dropdownToggle":"onClickMore","click @ui.moreActions":"onClickMore"}}},{key:"onClick",value:function(t){t.stopPropagation()}},{key:"onClickMore",value:function(t){this.renderMoreActions(),this.getUI("dropdownToggle").dropdown("toggle")}},{key:"getActions",value:function(){return new o.a.Collection([{title:j.a.getPhrase(this.lang,"share"),svg:s.a.getSvg(s.b.Share),isDisabled:!A.j.canShareVideo(this.model,this.options.application),tooltipText:A.j.canShareVideo(this.model,this.options.application)?j.a.getPhrase(this.lang,"share"):A.j.getSharePermissionsMessage(this.model,this.options.application),appLink:{application:this.options.application,action:T.a.Shared.SHARE_VIDEO,args:[this.model.get("id")]},analyticsOptions:a.a.mergeOptions(this.options.analyticsOptions,{actionType:r.q.Share})},{title:j.a.getPhrase(this.lang,"edit"),svg:A.j.canEditVideo(this.model)?s.a.getSvg(s.b.Edit):s.a.getSvg(s.b.EditClickView),tooltipText:this.getEditTooltip(),appLink:{application:T.b.LIBRARY_EDITOR,action:T.a.LibraryEditor.EDIT_VIDEO,args:[this.model.get("id")]},analyticsOptions:a.a.mergeOptions(this.options.analyticsOptions,{actionType:r.q.Edit,workflowPhase:r.r.Start})}])}},{key:"getEditTooltip",value:function(){return A.j.canEditVideo(this.model)?j.a.getPhrase(this.lang,"edit"):A.x.isExchangeVideo(this.model)?j.a.getPhrase(this.lang,"linkedToExchange"):j.a.getPhrase(this.lang,"linkedToCv")}},{key:"getFolderSourceId",value:function(){return this.options.collectionSource===L.e.Folder?this.options.collectionIdentifier.id:this.model.get("categories").first().get("id")}},{key:"getMoreActions",value:function(){var t=[];if(this.options.collectionIdentifier&&t.push({title:j.a.getPhrase(this.lang,"move"),appLink:{application:this.options.application,action:T.a.Shared.MOVE_VIDEOS,args:[this.model.get("id").toString(),this.getFolderSourceId()]},analyticsOptions:a.a.mergeOptions(this.options.analyticsOptions,{actionType:r.q.Move,descriptor:r.l.Single,workflowPhase:r.r.Start})}),t.push({title:j.a.getPhrase(this.lang,"manageAccess"),appLink:{application:this.options.application,action:T.a.Shared.MANAGE_VIDEO_ACCESS,args:[this.model.get("id").toString()]},analyticsOptions:a.a.mergeOptions(this.options.analyticsOptions,{actionType:r.q.SetAccess,workflowPhase:r.r.Start})}),this.options.application===T.b.CONTENT_UPDATES&&this.options.customerHasCustomLibrary&&t.push({title:j.a.getPhrase(this.lang,"addToLibrary"),appLink:{application:this.options.application,action:T.a.ContentUpdates.ADD_TO_LIBRARY,args:[this.model.get("id").toString()]}}),t.push({title:j.a.getPhrase(this.lang,"openInStaffView"),href:i.a.safeUrlConcat(this.options.config.get("onlineUrl"),"videos/".concat(this.model.get("id"))),external:!0,icon:s.a.getSvg(s.b.NewWindow),analyticsOptions:a.a.mergeOptions(this.options.analyticsOptions,{actionType:r.q.Click,descriptor:r.b.OpenInStaffView})}),this.options.application!==T.b.CONTENT_UPDATES){var e=A.j.canDownloadVideo(this.model);t.push({title:j.a.getPhrase(this.lang,"download"),disabled:!e,classes:e?"":"".concat(h.a.disabled),tooltip:e?null:{title:j.a.getPhrase(this.lang,"cannotDownload"),placement:"left"},analyticsOptions:a.a.mergeOptions(this.options.analyticsOptions,{actionType:r.q.Download}),appLink:e?{application:this.options.application,action:T.a.Shared.DOWNLOAD_VIDEO,args:[this.model.id.toString()]}:null})}return this.options.customerHasExchange&&A.j.canAddToExchange(this.model)&&t.push({title:j.a.getPhrase(this.lang,"addToExchange"),appLink:{application:this.options.application,action:T.a.LibraryEditor.ADD_TO_EXCHANGE,args:[this.model.get("id").toString()]}}),this.options.customerHasLocalCache&&t.push({title:j.a.getPhrase(this.lang,"localCache"),appLink:{application:this.options.application,action:T.a.Shared.DOWNLOAD_TO_LOCAL_CACHE,args:[this.model.id.toString()]},analyticsOptions:a.a.mergeOptions(this.options.analyticsOptions,{actionType:r.q.AddToLocalCache})}),this.options.collectionIdentifier&&t.push({title:j.a.getPhrase(this.lang,"remove"),appLink:{application:this.options.application,action:T.a.Shared.DELETE_VIDEOS,args:[this.getFolderSourceId(),this.model.get("id").toString()],params:{routeToFolderOnDelete:this.options.routeToFolderOnDelete}},classes:"text-danger",analyticsOptions:a.a.mergeOptions(this.options.analyticsOptions,{actionType:r.q.Delete,descriptor:r.l.Single,workflowPhase:r.r.Start})}),new o.a.Collection(t)}},{key:"renderActions",value:function(){this.showChildView("actions",new _({collection:this.getActions(),showActionLabels:this.options.showActionLabels}))}},{key:"renderMoreActions",value:function(){this.moreActionsRendered||(this.moreActionsRendered=!0,this.showChildView("moreActions",new P.a({displayOptions:{alignment:"right"},channelName:this.channelName,collection:this.getMoreActions(),childOptions:{isDisabled:function(){return this.model.get("disabled")},getTooltip:function(){return this.options.model.get("tooltip")}},analyticsHelper:a.a})))}},{key:"viewOptions",value:function(){return{styles:h.a,moreSvg:s.a.getSvg(s.b.More)}}},{key:"onRender",value:function(){this.moreActionsRendered=!1,this.renderActions()}},{key:"name",get:function(){return"VideoActionsComponent"}},{key:"template",get:function(){return x.a}},{key:"lang",get:function(){return"shared.videoActions"}},{key:"className",get:function(){return h.a.actions}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"elements",get:function(){return{dropdownToggle:".ui-dropdown-toggle",moreActions:".more-actions-region"}}}])&&I(e.prototype,n),l&&I(e,l),u}(o.a.Component)},1119:function(t,e,n){var o=n(10);t.exports=(o.default||o).template({1:function(t,e,n,o,i){return'<span class="close cursor-pointer" aria-hidden="true">×</span>\r\n'},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){t.propertyIsEnumerable;var r,a,s=null!=e?e:t.nullContext||{};return t.escapeExpression("function"==typeof(a=null!=(a=n.name||(null!=e?e.name:e))?a:t.hooks.helperMissing)?a.call(s,{name:"name",hash:{},data:i}):a)+"\r\n"+(null!=(r=n.if.call(s,null!=(r=null!=e?e.options:e)?r.removable:r,{name:"if",hash:{},fn:t.program(1,i,0),inverse:t.noop,data:i}))?r:"")},useData:!0})},1120:function(t,e,n){t.exports={disabled:"_3Vziu"}},1177:function(t,e,n){t.exports={actions:"_1U-Yf",svgContainer:"_3hYSf",actionName:"_2kY6B",disabled:"_3UjU0"}},1196:function(t,e,n){var o=n(10);t.exports=(o.default||o).template({1:function(t,e,n,o,i){t.propertyIsEnumerable;var r,a=t.escapeExpression;return'<span class="'+a(t.lambda(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.sourceLabel:r,e))+'">'+a((n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"folder",{name:"lang",hash:{smartCount:null!=(r=null!=e?e.options:e)?r.folderCount:r},data:i}))+"</span>\r\n"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){var r;t.propertyIsEnumerable;return(null!=(r=n.unless.call(null!=e?e:t.nullContext||{},null!=(r=null!=e?e.options:e)?r.hideLabel:r,{name:"unless",hash:{},fn:t.program(1,i,0),inverse:t.noop,data:i}))?r:"")+(null!=(r=t.lambda(null!=(r=null!=e?e.options:e)?r.folders:r,e))?r:"")},useData:!0})},1197:function(t,e,n){t.exports={sourceLabel:"_2HK7r"}},1200:function(t,e,n){var o=n(10);t.exports=(o.default||o).template({1:function(t,e,n,o,i){t.propertyIsEnumerable;var r,a,s=t.lambda,l=t.escapeExpression;return' <span class="align-middle mr-2 '+l(s(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.actionName:r,e))+" "+l(s(null!=(r=null!=e?e.options:e)?r.additionalClassName:r,e))+'">'+l("function"==typeof(a=null!=(a=n.title||(null!=e?e.title:e))?a:t.hooks.helperMissing)?a.call(null!=e?e:t.nullContext||{},{name:"title",hash:{},data:i}):a)+"</span>\r\n"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){t.propertyIsEnumerable;var r,a,s=t.lambda,l=t.escapeExpression,c=null!=e?e:t.nullContext||{};return' <span class="d-inline-block align-middle '+l(s(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.svgContainer:r,e))+" "+l(s(null!=(r=null!=e?e.options:e)?r.additionalClassName:r,e))+'">'+(null!=(r="function"==typeof(a=null!=(a=n.svg||(null!=e?e.svg:e))?a:t.hooks.helperMissing)?a.call(c,{name:"svg",hash:{},data:i}):a)?r:"")+"</span>\r\n"+(null!=(r=n.if.call(c,null!=(r=null!=e?e.options:e)?r.showLabel:r,{name:"if",hash:{},fn:t.program(1,i,0),inverse:t.noop,data:i}))?r:"")},useData:!0})},1201:function(t,e,n){var o=n(10);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){t.propertyIsEnumerable;var r,a=t.lambda;return'<div class="actions-region d-inline-block"></div>\r\n<span class="d-inline-block">\r\n <span data-toggle="dropdown"\r\n aria-haspopup="true"\r\n aria-expanded="false"\r\n class="ui-more d-inline-block ui-dropdown-toggle align-middle '+t.escapeExpression(a(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.svgContainer:r,e))+' cursor-pointer d-inline-block">'+(null!=(r=a(null!=(r=null!=e?e.options:e)?r.moreSvg:r,e))?r:"")+'</span>\r\n <div class="more-actions-region"></div>\r\n</span>\r\n'},useData:!0})}}]);
|
package/dist/scripts/5.chunk.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
(window["webpackJsonp_clickview_library_editor"] = window["webpackJsonp_clickview_library_editor"] || []).push([[5],{
|
|
2
2
|
|
|
3
3
|
/***/ "../../../node_modules/@clickview/url-signer/dist/bundle.js":
|
|
4
|
-
|
|
5
|
-
!*** C:/ClickView Projects
|
|
6
|
-
|
|
4
|
+
/*!******************************************************************************************!*\
|
|
5
|
+
!*** C:/ClickView Projects/@clickview/node_modules/@clickview/url-signer/dist/bundle.js ***!
|
|
6
|
+
\******************************************************************************************/
|
|
7
7
|
/*! no static exports found */
|
|
8
8
|
/***/ (function(module, exports, __webpack_require__) {
|
|
9
9
|
|