@clickview/library-editor 1.1.27-dev.1 → 1.1.27-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/en.json +1 -1
- package/dist/libs/analytics/src/interfaces/AnalyticsTypes.d.ts +1 -0
- package/dist/libs/common/src/backbone/utils/LocalStorageHelper.d.ts +1 -1
- package/dist/libs/shared/src/interfaces/models/ClassroomGroup.d.ts +1 -1
- package/dist/projects/library-editor/src/app.d.ts +1 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/tags/TagsComponent.d.ts +1 -0
- package/dist/projects/library-editor/src/shared/components/typeahead-input/SearchTypeaheadComponent.d.ts +1 -0
- package/dist/scripts/{0-e25d47c666.chunk.js → 0-93a3cbfbb6.chunk.js} +1 -1
- package/dist/scripts/{1-620c685eee.chunk.js → 1-69d9709724.chunk.js} +1 -1
- package/dist/scripts/{10-3baf058564.chunk.js → 10-8b01d98b20.chunk.js} +1 -1
- package/dist/scripts/{11-9f5f0c25dc.chunk.js → 11-cbe69fa3f0.chunk.js} +1 -1
- package/dist/scripts/{12-b460ad405e.chunk.js → 12-9b10cdc17d.chunk.js} +1 -1
- package/dist/scripts/13-1e10e6e87f.chunk.js +1 -0
- package/dist/scripts/{14-670309ef33.chunk.js → 14-ab7a30ee22.chunk.js} +1 -1
- package/dist/scripts/{15-39010184ed.chunk.js → 15-74a4408ee9.chunk.js} +1 -1
- package/dist/scripts/{16-0971cabfc8.chunk.js → 16-42f9f38a5b.chunk.js} +1 -1
- package/dist/scripts/{17-f364868870.chunk.js → 17-b1675f5397.chunk.js} +1 -1
- package/dist/scripts/{2-cd7f1d10b5.chunk.js → 2-cfce7347b3.chunk.js} +1 -1
- package/dist/scripts/{20-42dc06da39.chunk.js → 20-9f938a6f3e.chunk.js} +1 -1
- package/dist/scripts/{21-05615559be.chunk.js → 21-3a0591790a.chunk.js} +1 -1
- package/dist/scripts/{22-70b4c18dd2.chunk.js → 22-75ca7c2ae2.chunk.js} +1 -1
- package/dist/scripts/23-6cc6df1006.chunk.js +1 -0
- package/dist/scripts/{24-6fbd14025b.chunk.js → 24-857f2e7cba.chunk.js} +1 -1
- package/dist/scripts/{25-3d067b8b9a.chunk.js → 25-30d6eaa470.chunk.js} +1 -1
- package/dist/scripts/{26-468305820a.chunk.js → 26-7e0e9534cf.chunk.js} +1 -1
- package/dist/scripts/27-460f20f83b.chunk.js +1 -0
- package/dist/scripts/{28-f3f43a3001.chunk.js → 28-c4655d4bd8.chunk.js} +1 -1
- package/dist/scripts/{29-268278d2ac.chunk.js → 29-3629c8b906.chunk.js} +1 -1
- package/dist/scripts/{3-4694b66aa5.chunk.js → 3-34f154b85d.chunk.js} +1 -1
- package/dist/scripts/{30-694b0a0d4b.chunk.js → 30-9d7a8c6475.chunk.js} +1 -1
- package/dist/scripts/{31-4c542c18dc.chunk.js → 31-a80eb231ed.chunk.js} +1 -1
- package/dist/scripts/{32-a1543ffe27.chunk.js → 32-db0c763740.chunk.js} +1 -1
- package/dist/scripts/{33-9685703df6.chunk.js → 33-b9fef236ae.chunk.js} +1 -1
- package/dist/scripts/{34-eb9f6709b3.chunk.js → 34-d2a7193286.chunk.js} +1 -1
- package/dist/scripts/{35-1ff49137e7.chunk.js → 35-1b97d95b2a.chunk.js} +1 -1
- package/dist/scripts/{36-9e89154ca2.chunk.js → 36-179634ea36.chunk.js} +1 -1
- package/dist/scripts/{37-80589d542e.chunk.js → 37-e6d9fbefd1.chunk.js} +1 -1
- package/dist/scripts/{38-7e88534f67.chunk.js → 38-0c6051fb45.chunk.js} +1 -1
- package/dist/scripts/{39-99824f3b64.chunk.js → 39-5fffd05811.chunk.js} +1 -1
- package/dist/scripts/{4-ad1e4b43da.chunk.js → 4-2a04f5b2b3.chunk.js} +1 -1
- package/dist/scripts/{40-dbfd665c74.chunk.js → 40-5d3d9611b5.chunk.js} +1 -1
- package/dist/scripts/{41-25fbac3d17.chunk.js → 41-f3b2533950.chunk.js} +1 -1
- package/dist/scripts/42-075fbbf19d.chunk.js +1 -0
- package/dist/scripts/{43-5ef29feb2c.chunk.js → 43-205ccfa9a4.chunk.js} +1 -1
- package/dist/scripts/{44-223f602431.chunk.js → 44-4be8465afa.chunk.js} +1 -1
- package/dist/scripts/{45-344492a36f.chunk.js → 45-541254a177.chunk.js} +1 -1
- package/dist/scripts/{46-9ca7afd6a4.chunk.js → 46-fe575b6c9f.chunk.js} +1 -1
- package/dist/scripts/{47-ac0c9c5ce1.chunk.js → 47-18d84f7b83.chunk.js} +1 -1
- package/dist/scripts/{48-6bf590b9a0.chunk.js → 48-40adeb652e.chunk.js} +1 -1
- package/dist/scripts/{49-8e3e782ffb.chunk.js → 49-ac59f2a6fd.chunk.js} +1 -1
- package/dist/scripts/{5-b236603e85.chunk.js → 5-ce9948090c.chunk.js} +1 -1
- package/dist/scripts/{50-30ba08212e.chunk.js → 50-8cc4935ea5.chunk.js} +1 -1
- package/dist/scripts/{51-828972defb.chunk.js → 51-cd80402e6e.chunk.js} +1 -1
- package/dist/scripts/{52-b2acf3e742.chunk.js → 52-7e11748c73.chunk.js} +1 -1
- package/dist/scripts/{53-5d6ea94871.chunk.js → 53-e807e56657.chunk.js} +1 -1
- package/dist/scripts/{54-2d8bd6fde0.chunk.js → 54-265c2852ce.chunk.js} +1 -1
- package/dist/scripts/{55-4a8d360746.chunk.js → 55-68bef0b859.chunk.js} +1 -1
- package/dist/scripts/{56-ad12ebab5f.chunk.js → 56-f52cc13b44.chunk.js} +1 -1
- package/dist/scripts/{57-53b89c2ef0.chunk.js → 57-77549e4856.chunk.js} +1 -1
- package/dist/scripts/{58-b246abe78c.chunk.js → 58-3f44c0ba1a.chunk.js} +1 -1
- package/dist/scripts/{59-19290686e0.chunk.js → 59-bf231da287.chunk.js} +1 -1
- package/dist/scripts/{6-6fb543aa78.chunk.js → 6-97a29c3fdd.chunk.js} +1 -1
- package/dist/scripts/{60-0c075e7b5c.chunk.js → 60-c6a9325b5e.chunk.js} +1 -1
- package/dist/scripts/{61-2725bbfab2.chunk.js → 61-5fe4279f6d.chunk.js} +1 -1
- package/dist/scripts/{62-472d10a18e.chunk.js → 62-ff1c8453b6.chunk.js} +1 -1
- package/dist/scripts/{63-7d00e50441.chunk.js → 63-47a43e2399.chunk.js} +1 -1
- package/dist/scripts/{64-1b42f78644.chunk.js → 64-398f9ac217.chunk.js} +1 -1
- package/dist/scripts/{65-14af88c745.chunk.js → 65-d75308a09e.chunk.js} +1 -1
- package/dist/scripts/{66-bc274df13a.chunk.js → 66-ec32c5588a.chunk.js} +1 -1
- package/dist/scripts/{67-d1edef09d6.chunk.js → 67-6805e53bfb.chunk.js} +1 -1
- package/dist/scripts/{68-52468201b9.chunk.js → 68-046ada4945.chunk.js} +1 -1
- package/dist/scripts/{69-b681e9a99c.chunk.js → 69-235a8e6754.chunk.js} +1 -1
- package/dist/scripts/{7-2807a666bc.chunk.js → 7-55f3aed0f4.chunk.js} +1 -1
- package/dist/scripts/{70-d4018838a9.chunk.js → 70-150be3f4a2.chunk.js} +1 -1
- package/dist/scripts/{71-29cce07c7f.chunk.js → 71-c63b7a2a30.chunk.js} +1 -1
- package/dist/scripts/{72-6f83214b8d.chunk.js → 72-53bdb8c37f.chunk.js} +1 -1
- package/dist/scripts/{8-8f44e8bfc4.chunk.js → 8-94205353a6.chunk.js} +1 -1
- package/dist/scripts/{9-b8f9ea66c4.chunk.js → 9-0776e647a0.chunk.js} +1 -1
- package/dist/scripts/bundle-704119eb6d.min.js +8 -0
- package/dist/scripts/bundles.json +2 -2
- package/dist/scripts/polyfills-44c21c47b6.min.js +1 -0
- package/package.json +4 -4
- package/dist/css/1.chunk.css.map +0 -1
- package/dist/css/10.chunk.css.map +0 -1
- package/dist/css/11.chunk.css +0 -137
- package/dist/css/11.chunk.css.map +0 -1
- package/dist/css/12.chunk.css.map +0 -1
- package/dist/css/13.chunk.css.map +0 -1
- package/dist/css/14.chunk.css.map +0 -1
- package/dist/css/16.chunk.css.map +0 -1
- package/dist/css/17.chunk.css.map +0 -1
- package/dist/css/18.chunk.css +0 -20
- package/dist/css/18.chunk.css.map +0 -1
- package/dist/css/2.chunk.css +0 -145
- package/dist/css/2.chunk.css.map +0 -1
- package/dist/css/21.chunk.css.map +0 -1
- package/dist/css/22.chunk.css.map +0 -1
- package/dist/css/23.chunk.css.map +0 -1
- package/dist/css/25.chunk.css.map +0 -1
- package/dist/css/26.chunk.css.map +0 -1
- package/dist/css/28.chunk.css.map +0 -1
- package/dist/css/29.chunk.css.map +0 -1
- package/dist/css/3.chunk.css.map +0 -1
- package/dist/css/30.chunk.css.map +0 -1
- package/dist/css/31.chunk.css.map +0 -1
- package/dist/css/32.chunk.css.map +0 -1
- package/dist/css/33.chunk.css.map +0 -1
- package/dist/css/34.chunk.css +0 -21
- package/dist/css/34.chunk.css.map +0 -1
- package/dist/css/35.chunk.css +0 -20
- package/dist/css/35.chunk.css.map +0 -1
- package/dist/css/36.chunk.css +0 -14
- package/dist/css/36.chunk.css.map +0 -1
- package/dist/css/37.chunk.css.map +0 -1
- package/dist/css/38.chunk.css.map +0 -1
- package/dist/css/40.chunk.css.map +0 -1
- package/dist/css/41.chunk.css.map +0 -1
- package/dist/css/42.chunk.css.map +0 -1
- package/dist/css/43.chunk.css.map +0 -1
- package/dist/css/44.chunk.css.map +0 -1
- package/dist/css/45.chunk.css.map +0 -1
- package/dist/css/46.chunk.css.map +0 -1
- package/dist/css/47.chunk.css.map +0 -1
- package/dist/css/48.chunk.css.map +0 -1
- package/dist/css/49.chunk.css +0 -35
- package/dist/css/49.chunk.css.map +0 -1
- package/dist/css/50.chunk.css.map +0 -1
- package/dist/css/51.chunk.css.map +0 -1
- package/dist/css/52.chunk.css +0 -66
- package/dist/css/52.chunk.css.map +0 -1
- package/dist/css/55.chunk.css.map +0 -1
- package/dist/css/56.chunk.css.map +0 -1
- package/dist/css/58.chunk.css.map +0 -1
- package/dist/css/59.chunk.css.map +0 -1
- package/dist/css/6.chunk.css.map +0 -1
- package/dist/css/60.chunk.css +0 -18
- package/dist/css/60.chunk.css.map +0 -1
- package/dist/css/62.chunk.css.map +0 -1
- package/dist/css/63.chunk.css +0 -170
- package/dist/css/63.chunk.css.map +0 -1
- package/dist/css/67.chunk.css +0 -78
- package/dist/css/67.chunk.css.map +0 -1
- package/dist/css/68.chunk.css +0 -17
- package/dist/css/68.chunk.css.map +0 -1
- package/dist/css/69.chunk.css +0 -17
- package/dist/css/69.chunk.css.map +0 -1
- package/dist/css/7.chunk.css.map +0 -1
- package/dist/css/70.chunk.css +0 -23
- package/dist/css/70.chunk.css.map +0 -1
- package/dist/css/71.chunk.css +0 -40
- package/dist/css/71.chunk.css.map +0 -1
- package/dist/css/72.chunk.css +0 -16
- package/dist/css/72.chunk.css.map +0 -1
- package/dist/css/73.chunk.css +0 -37
- package/dist/css/73.chunk.css.map +0 -1
- package/dist/css/74.chunk.css +0 -29
- package/dist/css/74.chunk.css.map +0 -1
- package/dist/css/75.chunk.css +0 -6
- package/dist/css/75.chunk.css.map +0 -1
- package/dist/css/76.chunk.css +0 -6
- package/dist/css/76.chunk.css.map +0 -1
- package/dist/css/8.chunk.css.map +0 -1
- package/dist/css/library-editor-app.css.map +0 -1
- package/dist/libs/shared/src/enums/PlayerMediaType.d.ts +0 -5
- package/dist/libs/shared/src/interfaces/models/interactive.d.ts +0 -9
- package/dist/scripts/0.chunk.js +0 -1039
- package/dist/scripts/0.chunk.js.map +0 -1
- package/dist/scripts/1.chunk.js +0 -442
- package/dist/scripts/1.chunk.js.map +0 -1
- package/dist/scripts/10.chunk.js +0 -820
- package/dist/scripts/10.chunk.js.map +0 -1
- package/dist/scripts/11.chunk.js +0 -4091
- package/dist/scripts/11.chunk.js.map +0 -1
- package/dist/scripts/12.chunk.js +0 -555
- package/dist/scripts/12.chunk.js.map +0 -1
- package/dist/scripts/13-89b3a0aebb.chunk.js +0 -1
- package/dist/scripts/13.chunk.js +0 -380
- package/dist/scripts/13.chunk.js.map +0 -1
- package/dist/scripts/14.chunk.js +0 -2386
- package/dist/scripts/14.chunk.js.map +0 -1
- package/dist/scripts/15.chunk.js +0 -314
- package/dist/scripts/15.chunk.js.map +0 -1
- package/dist/scripts/16.chunk.js +0 -1290
- package/dist/scripts/16.chunk.js.map +0 -1
- package/dist/scripts/17.chunk.js +0 -381
- package/dist/scripts/17.chunk.js.map +0 -1
- package/dist/scripts/18.chunk.js +0 -393
- package/dist/scripts/18.chunk.js.map +0 -1
- package/dist/scripts/19.chunk.js +0 -364
- package/dist/scripts/19.chunk.js.map +0 -1
- package/dist/scripts/2.chunk.js +0 -523
- package/dist/scripts/2.chunk.js.map +0 -1
- package/dist/scripts/20.chunk.js +0 -317
- package/dist/scripts/20.chunk.js.map +0 -1
- package/dist/scripts/21.chunk.js +0 -531
- package/dist/scripts/21.chunk.js.map +0 -1
- package/dist/scripts/22.chunk.js +0 -354
- package/dist/scripts/22.chunk.js.map +0 -1
- package/dist/scripts/23-3166dfeef5.chunk.js +0 -1
- package/dist/scripts/23.chunk.js +0 -604
- package/dist/scripts/23.chunk.js.map +0 -1
- package/dist/scripts/24.chunk.js +0 -318
- package/dist/scripts/24.chunk.js.map +0 -1
- package/dist/scripts/25.chunk.js +0 -365
- package/dist/scripts/25.chunk.js.map +0 -1
- package/dist/scripts/26.chunk.js +0 -442
- package/dist/scripts/26.chunk.js.map +0 -1
- package/dist/scripts/27-d03a99658e.chunk.js +0 -1
- package/dist/scripts/27.chunk.js +0 -3630
- package/dist/scripts/27.chunk.js.map +0 -1
- package/dist/scripts/28.chunk.js +0 -3172
- package/dist/scripts/28.chunk.js.map +0 -1
- package/dist/scripts/29.chunk.js +0 -3090
- package/dist/scripts/29.chunk.js.map +0 -1
- package/dist/scripts/3.chunk.js +0 -845
- package/dist/scripts/3.chunk.js.map +0 -1
- package/dist/scripts/30.chunk.js +0 -1851
- package/dist/scripts/30.chunk.js.map +0 -1
- package/dist/scripts/31.chunk.js +0 -958
- package/dist/scripts/31.chunk.js.map +0 -1
- package/dist/scripts/32.chunk.js +0 -1239
- package/dist/scripts/32.chunk.js.map +0 -1
- package/dist/scripts/33.chunk.js +0 -971
- package/dist/scripts/33.chunk.js.map +0 -1
- package/dist/scripts/34.chunk.js +0 -990
- package/dist/scripts/34.chunk.js.map +0 -1
- package/dist/scripts/35.chunk.js +0 -518
- package/dist/scripts/35.chunk.js.map +0 -1
- package/dist/scripts/36.chunk.js +0 -335
- package/dist/scripts/36.chunk.js.map +0 -1
- package/dist/scripts/37.chunk.js +0 -236
- package/dist/scripts/37.chunk.js.map +0 -1
- package/dist/scripts/38.chunk.js +0 -315
- package/dist/scripts/38.chunk.js.map +0 -1
- package/dist/scripts/39.chunk.js +0 -107
- package/dist/scripts/39.chunk.js.map +0 -1
- package/dist/scripts/4.chunk.js +0 -335
- package/dist/scripts/4.chunk.js.map +0 -1
- package/dist/scripts/40.chunk.js +0 -2493
- package/dist/scripts/40.chunk.js.map +0 -1
- package/dist/scripts/41.chunk.js +0 -1782
- package/dist/scripts/41.chunk.js.map +0 -1
- package/dist/scripts/42-9f757567db.chunk.js +0 -1
- package/dist/scripts/42.chunk.js +0 -2327
- package/dist/scripts/42.chunk.js.map +0 -1
- package/dist/scripts/43.chunk.js +0 -1206
- package/dist/scripts/43.chunk.js.map +0 -1
- package/dist/scripts/44.chunk.js +0 -2245
- package/dist/scripts/44.chunk.js.map +0 -1
- package/dist/scripts/45.chunk.js +0 -1065
- package/dist/scripts/45.chunk.js.map +0 -1
- package/dist/scripts/46.chunk.js +0 -655
- package/dist/scripts/46.chunk.js.map +0 -1
- package/dist/scripts/47.chunk.js +0 -736
- package/dist/scripts/47.chunk.js.map +0 -1
- package/dist/scripts/48.chunk.js +0 -994
- package/dist/scripts/48.chunk.js.map +0 -1
- package/dist/scripts/49.chunk.js +0 -761
- package/dist/scripts/49.chunk.js.map +0 -1
- package/dist/scripts/5.chunk.js +0 -15
- package/dist/scripts/5.chunk.js.map +0 -1
- package/dist/scripts/50.chunk.js +0 -530
- package/dist/scripts/50.chunk.js.map +0 -1
- package/dist/scripts/51.chunk.js +0 -932
- package/dist/scripts/51.chunk.js.map +0 -1
- package/dist/scripts/52.chunk.js +0 -408
- package/dist/scripts/52.chunk.js.map +0 -1
- package/dist/scripts/53.chunk.js +0 -756
- package/dist/scripts/53.chunk.js.map +0 -1
- package/dist/scripts/54.chunk.js +0 -681
- package/dist/scripts/54.chunk.js.map +0 -1
- package/dist/scripts/55.chunk.js +0 -645
- package/dist/scripts/55.chunk.js.map +0 -1
- package/dist/scripts/56.chunk.js +0 -346
- package/dist/scripts/56.chunk.js.map +0 -1
- package/dist/scripts/57.chunk.js +0 -422
- package/dist/scripts/57.chunk.js.map +0 -1
- package/dist/scripts/58.chunk.js +0 -437
- package/dist/scripts/58.chunk.js.map +0 -1
- package/dist/scripts/59.chunk.js +0 -342
- package/dist/scripts/59.chunk.js.map +0 -1
- package/dist/scripts/6.chunk.js +0 -484
- package/dist/scripts/6.chunk.js.map +0 -1
- package/dist/scripts/60.chunk.js +0 -254
- package/dist/scripts/60.chunk.js.map +0 -1
- package/dist/scripts/61.chunk.js +0 -408
- package/dist/scripts/61.chunk.js.map +0 -1
- package/dist/scripts/62.chunk.js +0 -142
- package/dist/scripts/62.chunk.js.map +0 -1
- package/dist/scripts/63.chunk.js +0 -147
- package/dist/scripts/63.chunk.js.map +0 -1
- package/dist/scripts/64.chunk.js +0 -439
- package/dist/scripts/64.chunk.js.map +0 -1
- package/dist/scripts/65.chunk.js +0 -582
- package/dist/scripts/65.chunk.js.map +0 -1
- package/dist/scripts/66.chunk.js +0 -442
- package/dist/scripts/66.chunk.js.map +0 -1
- package/dist/scripts/67.chunk.js +0 -295
- package/dist/scripts/67.chunk.js.map +0 -1
- package/dist/scripts/68.chunk.js +0 -165
- package/dist/scripts/68.chunk.js.map +0 -1
- package/dist/scripts/69.chunk.js +0 -248
- package/dist/scripts/69.chunk.js.map +0 -1
- package/dist/scripts/7.chunk.js +0 -309
- package/dist/scripts/7.chunk.js.map +0 -1
- package/dist/scripts/70.chunk.js +0 -207
- package/dist/scripts/70.chunk.js.map +0 -1
- package/dist/scripts/71.chunk.js +0 -237
- package/dist/scripts/71.chunk.js.map +0 -1
- package/dist/scripts/72.chunk.js +0 -331
- package/dist/scripts/72.chunk.js.map +0 -1
- package/dist/scripts/73.chunk.js +0 -404
- package/dist/scripts/73.chunk.js.map +0 -1
- package/dist/scripts/74.chunk.js +0 -301
- package/dist/scripts/74.chunk.js.map +0 -1
- package/dist/scripts/75.chunk.js +0 -231
- package/dist/scripts/75.chunk.js.map +0 -1
- package/dist/scripts/76.chunk.js +0 -157
- package/dist/scripts/76.chunk.js.map +0 -1
- package/dist/scripts/77.chunk.js +0 -307
- package/dist/scripts/77.chunk.js.map +0 -1
- package/dist/scripts/78.chunk.js +0 -249
- package/dist/scripts/78.chunk.js.map +0 -1
- package/dist/scripts/79.chunk.js +0 -282
- package/dist/scripts/79.chunk.js.map +0 -1
- package/dist/scripts/8.chunk.js +0 -307
- package/dist/scripts/8.chunk.js.map +0 -1
- package/dist/scripts/80.chunk.js +0 -308
- package/dist/scripts/80.chunk.js.map +0 -1
- package/dist/scripts/81.chunk.js +0 -366
- package/dist/scripts/81.chunk.js.map +0 -1
- package/dist/scripts/82.chunk.js +0 -314
- package/dist/scripts/82.chunk.js.map +0 -1
- package/dist/scripts/83.chunk.js +0 -328
- package/dist/scripts/83.chunk.js.map +0 -1
- package/dist/scripts/84.chunk.js +0 -313
- package/dist/scripts/84.chunk.js.map +0 -1
- package/dist/scripts/85.chunk.js +0 -291
- package/dist/scripts/85.chunk.js.map +0 -1
- package/dist/scripts/86.chunk.js +0 -119
- package/dist/scripts/86.chunk.js.map +0 -1
- package/dist/scripts/87.chunk.js +0 -219
- package/dist/scripts/87.chunk.js.map +0 -1
- package/dist/scripts/88.chunk.js +0 -194
- package/dist/scripts/88.chunk.js.map +0 -1
- package/dist/scripts/89.chunk.js +0 -522
- package/dist/scripts/89.chunk.js.map +0 -1
- package/dist/scripts/9.chunk.js +0 -222
- package/dist/scripts/9.chunk.js.map +0 -1
- package/dist/scripts/90.chunk.js +0 -337
- package/dist/scripts/90.chunk.js.map +0 -1
- package/dist/scripts/91.chunk.js +0 -131
- package/dist/scripts/91.chunk.js.map +0 -1
- package/dist/scripts/92.chunk.js +0 -266
- package/dist/scripts/92.chunk.js.map +0 -1
- package/dist/scripts/bundle-f28b86bf5b.min.js +0 -8
- package/dist/scripts/bundle.js +0 -67206
- package/dist/scripts/bundle.js.map +0 -1
- package/dist/scripts/polyfills-1d2233ebcc.min.js +0 -1
- package/dist/scripts/polyfills.js +0 -14866
- package/dist/scripts/polyfills.js.map +0 -1
package/dist/scripts/10.chunk.js
DELETED
|
@@ -1,820 +0,0 @@
|
|
|
1
|
-
(window["webpackJsonp_clickview_library_editor"] = window["webpackJsonp_clickview_library_editor"] || []).push([[10],{
|
|
2
|
-
|
|
3
|
-
/***/ "./src/shared/components/video-actions/VideoActionComponentCollection.ts":
|
|
4
|
-
/*!*******************************************************************************!*\
|
|
5
|
-
!*** ./src/shared/components/video-actions/VideoActionComponentCollection.ts ***!
|
|
6
|
-
\*******************************************************************************/
|
|
7
|
-
/*! exports provided: VideoActionComponentCollection */
|
|
8
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9
|
-
|
|
10
|
-
"use strict";
|
|
11
|
-
__webpack_require__.r(__webpack_exports__);
|
|
12
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VideoActionComponentCollection", function() { return VideoActionComponentCollection; });
|
|
13
|
-
/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! underscore */ "underscore");
|
|
14
|
-
/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(underscore__WEBPACK_IMPORTED_MODULE_0__);
|
|
15
|
-
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
16
|
-
/* harmony import */ var _libs_analytics_src_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../../libs/analytics/src/AnalyticsHelper */ "../../libs/analytics/src/AnalyticsHelper.ts");
|
|
17
|
-
/* harmony import */ var _libs_shared_src_legacy_behaviors_tooltip_TooltipBehavior__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../libs/shared/src/legacy/behaviors/tooltip/TooltipBehavior */ "../../libs/shared/src/legacy/behaviors/tooltip/TooltipBehavior.ts");
|
|
18
|
-
/* harmony import */ var _VideoActionItem_hbs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./VideoActionItem.hbs */ "./src/shared/components/video-actions/VideoActionItem.hbs");
|
|
19
|
-
/* harmony import */ var _VideoActionItem_hbs__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_VideoActionItem_hbs__WEBPACK_IMPORTED_MODULE_4__);
|
|
20
|
-
/* harmony import */ var _video_actions_scss__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./video-actions.scss */ "./src/shared/components/video-actions/video-actions.scss");
|
|
21
|
-
/* harmony import */ var _video_actions_scss__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_video_actions_scss__WEBPACK_IMPORTED_MODULE_5__);
|
|
22
|
-
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
23
|
-
|
|
24
|
-
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
25
|
-
|
|
26
|
-
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
27
|
-
|
|
28
|
-
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
29
|
-
|
|
30
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
31
|
-
|
|
32
|
-
function _iterableToArrayLimit(arr, i) { if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return; var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
33
|
-
|
|
34
|
-
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
35
|
-
|
|
36
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
37
|
-
|
|
38
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
39
|
-
|
|
40
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
41
|
-
|
|
42
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
43
|
-
|
|
44
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
45
|
-
|
|
46
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
47
|
-
|
|
48
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
49
|
-
|
|
50
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
51
|
-
|
|
52
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
53
|
-
|
|
54
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
var VideoActionItemComponent = /*#__PURE__*/function (_Core$Component) {
|
|
64
|
-
_inherits(VideoActionItemComponent, _Core$Component);
|
|
65
|
-
|
|
66
|
-
var _super = _createSuper(VideoActionItemComponent);
|
|
67
|
-
|
|
68
|
-
function VideoActionItemComponent(options) {
|
|
69
|
-
_classCallCheck(this, VideoActionItemComponent);
|
|
70
|
-
|
|
71
|
-
return _super.call(this, options);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
_createClass(VideoActionItemComponent, [{
|
|
75
|
-
key: "events",
|
|
76
|
-
value: function events() {
|
|
77
|
-
return {
|
|
78
|
-
click: 'onClick'
|
|
79
|
-
};
|
|
80
|
-
}
|
|
81
|
-
}, {
|
|
82
|
-
key: "onClick",
|
|
83
|
-
value: function onClick() {
|
|
84
|
-
this.logAction();
|
|
85
|
-
}
|
|
86
|
-
}, {
|
|
87
|
-
key: "logAction",
|
|
88
|
-
value: function logAction() {
|
|
89
|
-
var appLink = this.model.get('appLink');
|
|
90
|
-
if (!underscore__WEBPACK_IMPORTED_MODULE_0__["isObject"](appLink)) return;
|
|
91
|
-
|
|
92
|
-
var _appLink$args = _slicedToArray(appLink.args, 1),
|
|
93
|
-
id = _appLink$args[0];
|
|
94
|
-
|
|
95
|
-
_libs_analytics_src_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_2__["AnalyticsHelper"].logUserAction({
|
|
96
|
-
id: id
|
|
97
|
-
}, this.model.get('analyticsOptions'));
|
|
98
|
-
}
|
|
99
|
-
}, {
|
|
100
|
-
key: "viewOptions",
|
|
101
|
-
value: function viewOptions() {
|
|
102
|
-
return {
|
|
103
|
-
styles: _video_actions_scss__WEBPACK_IMPORTED_MODULE_5___default.a,
|
|
104
|
-
showLabel: this.options.showLabel,
|
|
105
|
-
additionalClassName: this.model.get('isDisabled') ? 'disabled' : 'cursor-pointer'
|
|
106
|
-
};
|
|
107
|
-
}
|
|
108
|
-
}, {
|
|
109
|
-
key: "name",
|
|
110
|
-
get: function get() {
|
|
111
|
-
return 'VideoActionItemComponent';
|
|
112
|
-
}
|
|
113
|
-
}, {
|
|
114
|
-
key: "template",
|
|
115
|
-
get: function get() {
|
|
116
|
-
return _VideoActionItem_hbs__WEBPACK_IMPORTED_MODULE_4___default.a;
|
|
117
|
-
}
|
|
118
|
-
}, {
|
|
119
|
-
key: "tagName",
|
|
120
|
-
get: function get() {
|
|
121
|
-
return 'a';
|
|
122
|
-
}
|
|
123
|
-
}, {
|
|
124
|
-
key: "attributes",
|
|
125
|
-
get: function get() {
|
|
126
|
-
if (!this.model.get('href')) return {};
|
|
127
|
-
}
|
|
128
|
-
}, {
|
|
129
|
-
key: "className",
|
|
130
|
-
get: function get() {
|
|
131
|
-
var className = 'd-inline-block px-1 no-decoration';
|
|
132
|
-
if (this.model.get('isDisabled')) className += " ".concat(_video_actions_scss__WEBPACK_IMPORTED_MODULE_5___default.a.disabled);
|
|
133
|
-
return className;
|
|
134
|
-
}
|
|
135
|
-
}, {
|
|
136
|
-
key: "behaviors",
|
|
137
|
-
get: function get() {
|
|
138
|
-
/**
|
|
139
|
-
* If showing action labels then only show a tooltip
|
|
140
|
-
* when the action is disabled.
|
|
141
|
-
*/
|
|
142
|
-
var tooltipText = (!this.options.showLabel || this.options.model.get('isDisabled')) && this.options.model.get('tooltipText');
|
|
143
|
-
if (!tooltipText) return;
|
|
144
|
-
return [{
|
|
145
|
-
behaviorClass: _libs_shared_src_legacy_behaviors_tooltip_TooltipBehavior__WEBPACK_IMPORTED_MODULE_3__["TooltipBehavior"],
|
|
146
|
-
title: tooltipText
|
|
147
|
-
}];
|
|
148
|
-
}
|
|
149
|
-
}, {
|
|
150
|
-
key: "appLinks",
|
|
151
|
-
get: function get() {
|
|
152
|
-
if (!this.model.get('appLink') || this.model.get('isDisabled')) return {};
|
|
153
|
-
return {
|
|
154
|
-
'[this]': this.model.get('appLink')
|
|
155
|
-
};
|
|
156
|
-
}
|
|
157
|
-
}]);
|
|
158
|
-
|
|
159
|
-
return VideoActionItemComponent;
|
|
160
|
-
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__["Core"].Component);
|
|
161
|
-
|
|
162
|
-
var VideoActionComponentCollection = /*#__PURE__*/function (_Core$ComponentCollec) {
|
|
163
|
-
_inherits(VideoActionComponentCollection, _Core$ComponentCollec);
|
|
164
|
-
|
|
165
|
-
var _super2 = _createSuper(VideoActionComponentCollection);
|
|
166
|
-
|
|
167
|
-
function VideoActionComponentCollection(options) {
|
|
168
|
-
_classCallCheck(this, VideoActionComponentCollection);
|
|
169
|
-
|
|
170
|
-
return _super2.call(this, options);
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
_createClass(VideoActionComponentCollection, [{
|
|
174
|
-
key: "name",
|
|
175
|
-
get: function get() {
|
|
176
|
-
return 'VideoActionsComponentCollection';
|
|
177
|
-
}
|
|
178
|
-
}, {
|
|
179
|
-
key: "childView",
|
|
180
|
-
get: function get() {
|
|
181
|
-
return VideoActionItemComponent;
|
|
182
|
-
}
|
|
183
|
-
}, {
|
|
184
|
-
key: "childViewOptions",
|
|
185
|
-
get: function get() {
|
|
186
|
-
return {
|
|
187
|
-
showLabel: this.options.showActionLabels
|
|
188
|
-
};
|
|
189
|
-
}
|
|
190
|
-
}]);
|
|
191
|
-
|
|
192
|
-
return VideoActionComponentCollection;
|
|
193
|
-
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__["Core"].ComponentCollection);
|
|
194
|
-
|
|
195
|
-
/***/ }),
|
|
196
|
-
|
|
197
|
-
/***/ "./src/shared/components/video-actions/VideoActionItem.hbs":
|
|
198
|
-
/*!*****************************************************************!*\
|
|
199
|
-
!*** ./src/shared/components/video-actions/VideoActionItem.hbs ***!
|
|
200
|
-
\*****************************************************************/
|
|
201
|
-
/*! no static exports found */
|
|
202
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
203
|
-
|
|
204
|
-
var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
|
|
205
|
-
module.exports = (Handlebars['default'] || Handlebars).template({"1":function(container,depth0,helpers,partials,data) {
|
|
206
|
-
var stack1, helper, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression;
|
|
207
|
-
|
|
208
|
-
return " <span class=\"align-middle mr-2 "
|
|
209
|
-
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.actionName : stack1), depth0))
|
|
210
|
-
+ " "
|
|
211
|
-
+ alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.additionalClassName : stack1), depth0))
|
|
212
|
-
+ "\">"
|
|
213
|
-
+ alias3(((helper = (helper = helpers.title || (depth0 != null ? depth0.title : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"title","hash":{},"data":data}) : helper)))
|
|
214
|
-
+ "</span>\r\n";
|
|
215
|
-
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
216
|
-
var stack1, helper, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression, alias4=depth0 != null ? depth0 : (container.nullContext || {});
|
|
217
|
-
|
|
218
|
-
return " <span class=\"d-inline-block align-middle "
|
|
219
|
-
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.svgContainer : stack1), depth0))
|
|
220
|
-
+ " "
|
|
221
|
-
+ alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.additionalClassName : stack1), depth0))
|
|
222
|
-
+ "\">"
|
|
223
|
-
+ ((stack1 = ((helper = (helper = helpers.svg || (depth0 != null ? depth0.svg : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === "function" ? helper.call(alias4,{"name":"svg","hash":{},"data":data}) : helper))) != null ? stack1 : "")
|
|
224
|
-
+ "</span>\r\n"
|
|
225
|
-
+ ((stack1 = helpers["if"].call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.showLabel : stack1),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "");
|
|
226
|
-
},"useData":true});
|
|
227
|
-
|
|
228
|
-
/***/ }),
|
|
229
|
-
|
|
230
|
-
/***/ "./src/shared/components/video-actions/VideoActions.hbs":
|
|
231
|
-
/*!**************************************************************!*\
|
|
232
|
-
!*** ./src/shared/components/video-actions/VideoActions.hbs ***!
|
|
233
|
-
\**************************************************************/
|
|
234
|
-
/*! no static exports found */
|
|
235
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
236
|
-
|
|
237
|
-
var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
|
|
238
|
-
module.exports = (Handlebars['default'] || Handlebars).template({"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
239
|
-
var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda;
|
|
240
|
-
|
|
241
|
-
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 "
|
|
242
|
-
+ container.escapeExpression(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.svgContainer : stack1), depth0))
|
|
243
|
-
+ " cursor-pointer d-inline-block\">"
|
|
244
|
-
+ ((stack1 = alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.moreSvg : stack1), depth0)) != null ? stack1 : "")
|
|
245
|
-
+ "</span>\r\n <div class=\"more-actions-region\"></div>\r\n</span>\r\n";
|
|
246
|
-
},"useData":true});
|
|
247
|
-
|
|
248
|
-
/***/ }),
|
|
249
|
-
|
|
250
|
-
/***/ "./src/shared/components/video-actions/VideoActionsComponent.ts":
|
|
251
|
-
/*!**********************************************************************!*\
|
|
252
|
-
!*** ./src/shared/components/video-actions/VideoActionsComponent.ts ***!
|
|
253
|
-
\**********************************************************************/
|
|
254
|
-
/*! exports provided: VideoActionsComponent */
|
|
255
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
256
|
-
|
|
257
|
-
"use strict";
|
|
258
|
-
__webpack_require__.r(__webpack_exports__);
|
|
259
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VideoActionsComponent", function() { return VideoActionsComponent; });
|
|
260
|
-
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
261
|
-
/* harmony import */ var _libs_common_src_backbone_utils_UrlHelper__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../libs/common/src/backbone/utils/UrlHelper */ "../../libs/common/src/backbone/utils/UrlHelper.ts");
|
|
262
|
-
/* harmony import */ var _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../../libs/analytics/src/interfaces */ "../../libs/analytics/src/interfaces/index.ts");
|
|
263
|
-
/* harmony import */ var _libs_analytics_src_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../libs/analytics/src/AnalyticsHelper */ "../../libs/analytics/src/AnalyticsHelper.ts");
|
|
264
|
-
/* harmony import */ var _libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../../libs/shared/src/utils/SvgHelper */ "../../libs/shared/src/utils/SvgHelper.ts");
|
|
265
|
-
/* harmony import */ var _VideoActionComponentCollection__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./VideoActionComponentCollection */ "./src/shared/components/video-actions/VideoActionComponentCollection.ts");
|
|
266
|
-
/* harmony import */ var _dropdown_DropdownComponentCollection__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../dropdown/DropdownComponentCollection */ "./src/shared/components/dropdown/DropdownComponentCollection.ts");
|
|
267
|
-
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../constants */ "./src/shared/constants/index.ts");
|
|
268
|
-
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../utils */ "./src/shared/utils/index.ts");
|
|
269
|
-
/* harmony import */ var _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../../../../libs/common/src/backbone/services/LanguageService */ "../../libs/common/src/backbone/services/LanguageService.tsx");
|
|
270
|
-
/* harmony import */ var _apps_library_editor_enums__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../apps/library-editor/enums */ "./src/apps/library-editor/enums/index.ts");
|
|
271
|
-
/* harmony import */ var _VideoActions_hbs__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./VideoActions.hbs */ "./src/shared/components/video-actions/VideoActions.hbs");
|
|
272
|
-
/* harmony import */ var _VideoActions_hbs__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_VideoActions_hbs__WEBPACK_IMPORTED_MODULE_11__);
|
|
273
|
-
/* harmony import */ var _video_actions_scss__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./video-actions.scss */ "./src/shared/components/video-actions/video-actions.scss");
|
|
274
|
-
/* harmony import */ var _video_actions_scss__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_video_actions_scss__WEBPACK_IMPORTED_MODULE_12__);
|
|
275
|
-
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
276
|
-
|
|
277
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
278
|
-
|
|
279
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
280
|
-
|
|
281
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
282
|
-
|
|
283
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
284
|
-
|
|
285
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
286
|
-
|
|
287
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
288
|
-
|
|
289
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
290
|
-
|
|
291
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
292
|
-
|
|
293
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
294
|
-
|
|
295
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
var VideoActionsComponent = /*#__PURE__*/function (_Core$Component) {
|
|
311
|
-
_inherits(VideoActionsComponent, _Core$Component);
|
|
312
|
-
|
|
313
|
-
var _super = _createSuper(VideoActionsComponent);
|
|
314
|
-
|
|
315
|
-
function VideoActionsComponent(options) {
|
|
316
|
-
_classCallCheck(this, VideoActionsComponent);
|
|
317
|
-
|
|
318
|
-
return _super.call(this, options);
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
_createClass(VideoActionsComponent, [{
|
|
322
|
-
key: "regions",
|
|
323
|
-
value: function regions() {
|
|
324
|
-
return {
|
|
325
|
-
actions: {
|
|
326
|
-
el: '.actions-region'
|
|
327
|
-
},
|
|
328
|
-
moreActions: {
|
|
329
|
-
el: '@ui.moreActions',
|
|
330
|
-
replaceElement: false
|
|
331
|
-
}
|
|
332
|
-
};
|
|
333
|
-
}
|
|
334
|
-
}, {
|
|
335
|
-
key: "events",
|
|
336
|
-
value: function events() {
|
|
337
|
-
return {
|
|
338
|
-
'click': 'onClick',
|
|
339
|
-
'click @ui.dropdownToggle': 'onClickMore',
|
|
340
|
-
'click @ui.moreActions': 'onClickMore'
|
|
341
|
-
};
|
|
342
|
-
}
|
|
343
|
-
}, {
|
|
344
|
-
key: "onClick",
|
|
345
|
-
value: function onClick(e) {
|
|
346
|
-
e.stopPropagation();
|
|
347
|
-
}
|
|
348
|
-
}, {
|
|
349
|
-
key: "onClickMore",
|
|
350
|
-
value: function onClickMore() {
|
|
351
|
-
this.renderMoreActions();
|
|
352
|
-
this.getUI('dropdownToggle').dropdown('toggle');
|
|
353
|
-
}
|
|
354
|
-
}, {
|
|
355
|
-
key: "getActions",
|
|
356
|
-
value: function getActions() {
|
|
357
|
-
return new _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].Collection([{
|
|
358
|
-
title: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_9__["LanguageService"].getPhrase(this.lang, 'share'),
|
|
359
|
-
svg: _libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_4__["SvgHelper"].getSvg(_libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_4__["cvSvgLibrary"].Share),
|
|
360
|
-
isDisabled: !_utils__WEBPACK_IMPORTED_MODULE_8__["PermissionsHelper"].canShareVideo(this.model, this.options.application),
|
|
361
|
-
tooltipText: _utils__WEBPACK_IMPORTED_MODULE_8__["PermissionsHelper"].canShareVideo(this.model, this.options.application) ? _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_9__["LanguageService"].getPhrase(this.lang, 'share') : _utils__WEBPACK_IMPORTED_MODULE_8__["PermissionsHelper"].getSharePermissionsMessage(this.model, this.options.application),
|
|
362
|
-
appLink: {
|
|
363
|
-
application: this.options.application,
|
|
364
|
-
action: _constants__WEBPACK_IMPORTED_MODULE_7__["Actions"].Shared.SHARE_VIDEO,
|
|
365
|
-
args: [this.model.get('id')]
|
|
366
|
-
},
|
|
367
|
-
analyticsOptions: _libs_analytics_src_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_3__["AnalyticsHelper"].mergeOptions(this.options.analyticsOptions, {
|
|
368
|
-
actionType: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_2__["UserAction"].Share
|
|
369
|
-
})
|
|
370
|
-
}, {
|
|
371
|
-
title: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_9__["LanguageService"].getPhrase(this.lang, 'edit'),
|
|
372
|
-
svg: _utils__WEBPACK_IMPORTED_MODULE_8__["PermissionsHelper"].canEditVideo(this.model) ? _libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_4__["SvgHelper"].getSvg(_libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_4__["cvSvgLibrary"].Edit) : _libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_4__["SvgHelper"].getSvg(_libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_4__["cvSvgLibrary"].EditClickView),
|
|
373
|
-
tooltipText: this.getEditTooltip(),
|
|
374
|
-
appLink: {
|
|
375
|
-
application: _constants__WEBPACK_IMPORTED_MODULE_7__["AppChannels"].LIBRARY_EDITOR,
|
|
376
|
-
action: _constants__WEBPACK_IMPORTED_MODULE_7__["Actions"].LibraryEditor.EDIT_VIDEO,
|
|
377
|
-
args: [this.model.get('id')]
|
|
378
|
-
},
|
|
379
|
-
analyticsOptions: _libs_analytics_src_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_3__["AnalyticsHelper"].mergeOptions(this.options.analyticsOptions, {
|
|
380
|
-
actionType: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_2__["UserAction"].Edit,
|
|
381
|
-
workflowPhase: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_2__["WorkflowPhase"].Start
|
|
382
|
-
})
|
|
383
|
-
}]);
|
|
384
|
-
}
|
|
385
|
-
}, {
|
|
386
|
-
key: "getEditTooltip",
|
|
387
|
-
value: function getEditTooltip() {
|
|
388
|
-
if (_utils__WEBPACK_IMPORTED_MODULE_8__["PermissionsHelper"].canEditVideo(this.model)) return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_9__["LanguageService"].getPhrase(this.lang, 'edit');
|
|
389
|
-
if (_utils__WEBPACK_IMPORTED_MODULE_8__["VideoHelper"].isExchangeVideo(this.model)) return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_9__["LanguageService"].getPhrase(this.lang, 'linkedToExchange');
|
|
390
|
-
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_9__["LanguageService"].getPhrase(this.lang, 'linkedToCv');
|
|
391
|
-
}
|
|
392
|
-
}, {
|
|
393
|
-
key: "getFolderSourceId",
|
|
394
|
-
value: function getFolderSourceId() {
|
|
395
|
-
return this.options.collectionSource === _apps_library_editor_enums__WEBPACK_IMPORTED_MODULE_10__["VideoCollectionSource"].Folder ? this.options.collectionIdentifier.id : this.model.get('categories').first().get('id');
|
|
396
|
-
}
|
|
397
|
-
}, {
|
|
398
|
-
key: "getMoreActions",
|
|
399
|
-
value: function getMoreActions() {
|
|
400
|
-
var actions = [];
|
|
401
|
-
/**
|
|
402
|
-
* We don't know which collection
|
|
403
|
-
*/
|
|
404
|
-
|
|
405
|
-
if (this.options.collectionIdentifier) {
|
|
406
|
-
actions.push({
|
|
407
|
-
title: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_9__["LanguageService"].getPhrase(this.lang, 'move'),
|
|
408
|
-
appLink: {
|
|
409
|
-
application: this.options.application,
|
|
410
|
-
action: _constants__WEBPACK_IMPORTED_MODULE_7__["Actions"].Shared.MOVE_VIDEOS,
|
|
411
|
-
args: [this.model.get('id').toString(), this.getFolderSourceId()]
|
|
412
|
-
},
|
|
413
|
-
analyticsOptions: _libs_analytics_src_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_3__["AnalyticsHelper"].mergeOptions(this.options.analyticsOptions, {
|
|
414
|
-
actionType: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_2__["UserAction"].Move,
|
|
415
|
-
descriptor: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_2__["OperationDescriptor"].Single,
|
|
416
|
-
workflowPhase: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_2__["WorkflowPhase"].Start
|
|
417
|
-
})
|
|
418
|
-
});
|
|
419
|
-
}
|
|
420
|
-
|
|
421
|
-
actions.push({
|
|
422
|
-
title: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_9__["LanguageService"].getPhrase(this.lang, 'manageAccess'),
|
|
423
|
-
appLink: {
|
|
424
|
-
application: this.options.application,
|
|
425
|
-
action: _constants__WEBPACK_IMPORTED_MODULE_7__["Actions"].Shared.MANAGE_VIDEO_ACCESS,
|
|
426
|
-
args: [this.model.get('id').toString()]
|
|
427
|
-
},
|
|
428
|
-
analyticsOptions: _libs_analytics_src_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_3__["AnalyticsHelper"].mergeOptions(this.options.analyticsOptions, {
|
|
429
|
-
actionType: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_2__["UserAction"].SetAccess,
|
|
430
|
-
workflowPhase: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_2__["WorkflowPhase"].Start
|
|
431
|
-
})
|
|
432
|
-
});
|
|
433
|
-
|
|
434
|
-
if (this.options.application === _constants__WEBPACK_IMPORTED_MODULE_7__["AppChannels"].CONTENT_UPDATES && this.options.customerHasCustomLibrary) {
|
|
435
|
-
actions.push({
|
|
436
|
-
title: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_9__["LanguageService"].getPhrase(this.lang, 'addToLibrary'),
|
|
437
|
-
appLink: {
|
|
438
|
-
application: this.options.application,
|
|
439
|
-
action: _constants__WEBPACK_IMPORTED_MODULE_7__["Actions"].ContentUpdates.ADD_TO_LIBRARY,
|
|
440
|
-
args: [this.model.get('id').toString()]
|
|
441
|
-
}
|
|
442
|
-
});
|
|
443
|
-
}
|
|
444
|
-
|
|
445
|
-
actions.push({
|
|
446
|
-
title: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_9__["LanguageService"].getPhrase(this.lang, 'openInStaffView'),
|
|
447
|
-
href: _libs_common_src_backbone_utils_UrlHelper__WEBPACK_IMPORTED_MODULE_1__["UrlHelper"].safeUrlConcat(this.options.config.get('onlineUrl'), "videos/".concat(this.model.get('id'))),
|
|
448
|
-
external: true,
|
|
449
|
-
icon: _libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_4__["SvgHelper"].getSvg(_libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_4__["cvSvgLibrary"].NewWindow),
|
|
450
|
-
analyticsOptions: _libs_analytics_src_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_3__["AnalyticsHelper"].mergeOptions(this.options.analyticsOptions, {
|
|
451
|
-
actionType: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_2__["UserAction"].Click,
|
|
452
|
-
descriptor: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_2__["ClickDescriptor"].OpenInStaffView
|
|
453
|
-
})
|
|
454
|
-
});
|
|
455
|
-
/**
|
|
456
|
-
* All content updates will be licensed content
|
|
457
|
-
*/
|
|
458
|
-
|
|
459
|
-
if (this.options.application !== _constants__WEBPACK_IMPORTED_MODULE_7__["AppChannels"].CONTENT_UPDATES) {
|
|
460
|
-
var canDownloadVideo = _utils__WEBPACK_IMPORTED_MODULE_8__["PermissionsHelper"].canDownloadVideo(this.model);
|
|
461
|
-
actions.push({
|
|
462
|
-
title: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_9__["LanguageService"].getPhrase(this.lang, 'download'),
|
|
463
|
-
disabled: !canDownloadVideo,
|
|
464
|
-
classes: !canDownloadVideo ? "".concat(_video_actions_scss__WEBPACK_IMPORTED_MODULE_12___default.a.disabled) : '',
|
|
465
|
-
tooltip: !canDownloadVideo ? {
|
|
466
|
-
title: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_9__["LanguageService"].getPhrase(this.lang, 'cannotDownload'),
|
|
467
|
-
placement: 'left'
|
|
468
|
-
} : null,
|
|
469
|
-
analyticsOptions: _libs_analytics_src_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_3__["AnalyticsHelper"].mergeOptions(this.options.analyticsOptions, {
|
|
470
|
-
actionType: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_2__["UserAction"].Download
|
|
471
|
-
}),
|
|
472
|
-
appLink: canDownloadVideo ? {
|
|
473
|
-
application: this.options.application,
|
|
474
|
-
action: _constants__WEBPACK_IMPORTED_MODULE_7__["Actions"].Shared.DOWNLOAD_VIDEO,
|
|
475
|
-
args: [this.model.id.toString()]
|
|
476
|
-
} : null
|
|
477
|
-
});
|
|
478
|
-
}
|
|
479
|
-
|
|
480
|
-
if (this.options.customerHasExchange && _utils__WEBPACK_IMPORTED_MODULE_8__["PermissionsHelper"].canAddToExchange(this.model)) {
|
|
481
|
-
actions.push({
|
|
482
|
-
title: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_9__["LanguageService"].getPhrase(this.lang, 'addToExchange'),
|
|
483
|
-
appLink: {
|
|
484
|
-
application: this.options.application,
|
|
485
|
-
action: _constants__WEBPACK_IMPORTED_MODULE_7__["Actions"].LibraryEditor.ADD_TO_EXCHANGE,
|
|
486
|
-
args: [this.model.get('id').toString()]
|
|
487
|
-
}
|
|
488
|
-
});
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
if (this.options.customerHasLocalCache) actions.push({
|
|
492
|
-
title: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_9__["LanguageService"].getPhrase(this.lang, 'localCache'),
|
|
493
|
-
appLink: {
|
|
494
|
-
application: this.options.application,
|
|
495
|
-
action: _constants__WEBPACK_IMPORTED_MODULE_7__["Actions"].Shared.DOWNLOAD_TO_LOCAL_CACHE,
|
|
496
|
-
args: [this.model.id.toString()]
|
|
497
|
-
},
|
|
498
|
-
analyticsOptions: _libs_analytics_src_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_3__["AnalyticsHelper"].mergeOptions(this.options.analyticsOptions, {
|
|
499
|
-
actionType: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_2__["UserAction"].AddToLocalCache
|
|
500
|
-
})
|
|
501
|
-
});
|
|
502
|
-
if (this.options.collectionIdentifier) actions.push({
|
|
503
|
-
title: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_9__["LanguageService"].getPhrase(this.lang, 'remove'),
|
|
504
|
-
appLink: {
|
|
505
|
-
application: this.options.application,
|
|
506
|
-
action: _constants__WEBPACK_IMPORTED_MODULE_7__["Actions"].Shared.DELETE_VIDEOS,
|
|
507
|
-
args: [this.getFolderSourceId(), this.model.get('id').toString()],
|
|
508
|
-
params: {
|
|
509
|
-
routeToFolderOnDelete: this.options.routeToFolderOnDelete
|
|
510
|
-
}
|
|
511
|
-
},
|
|
512
|
-
classes: 'text-danger',
|
|
513
|
-
analyticsOptions: _libs_analytics_src_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_3__["AnalyticsHelper"].mergeOptions(this.options.analyticsOptions, {
|
|
514
|
-
actionType: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_2__["UserAction"].Delete,
|
|
515
|
-
descriptor: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_2__["OperationDescriptor"].Single,
|
|
516
|
-
workflowPhase: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_2__["WorkflowPhase"].Start
|
|
517
|
-
})
|
|
518
|
-
});
|
|
519
|
-
return new _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].Collection(actions);
|
|
520
|
-
}
|
|
521
|
-
}, {
|
|
522
|
-
key: "renderActions",
|
|
523
|
-
value: function renderActions() {
|
|
524
|
-
this.showChildView('actions', new _VideoActionComponentCollection__WEBPACK_IMPORTED_MODULE_5__["VideoActionComponentCollection"]({
|
|
525
|
-
collection: this.getActions(),
|
|
526
|
-
showActionLabels: this.options.showActionLabels
|
|
527
|
-
}));
|
|
528
|
-
}
|
|
529
|
-
}, {
|
|
530
|
-
key: "renderMoreActions",
|
|
531
|
-
value: function renderMoreActions() {
|
|
532
|
-
if (this.moreActionsRendered) return;
|
|
533
|
-
this.moreActionsRendered = true;
|
|
534
|
-
this.showChildView('moreActions', new _dropdown_DropdownComponentCollection__WEBPACK_IMPORTED_MODULE_6__["DropdownComponentCollection"]({
|
|
535
|
-
displayOptions: {
|
|
536
|
-
alignment: 'right'
|
|
537
|
-
},
|
|
538
|
-
channelName: this.channelName,
|
|
539
|
-
collection: this.getMoreActions(),
|
|
540
|
-
childOptions: {
|
|
541
|
-
isDisabled: function isDisabled() {
|
|
542
|
-
return this.model.get('disabled');
|
|
543
|
-
},
|
|
544
|
-
|
|
545
|
-
/**
|
|
546
|
-
* This function is evaluated as part of the dropdown's
|
|
547
|
-
* behavior initialisation - which occurs before the model is
|
|
548
|
-
* mixed into the view.
|
|
549
|
-
*/
|
|
550
|
-
getTooltip: function getTooltip() {
|
|
551
|
-
return this.options.model.get('tooltip');
|
|
552
|
-
}
|
|
553
|
-
},
|
|
554
|
-
analyticsHelper: _libs_analytics_src_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_3__["AnalyticsHelper"]
|
|
555
|
-
}));
|
|
556
|
-
}
|
|
557
|
-
}, {
|
|
558
|
-
key: "viewOptions",
|
|
559
|
-
value: function viewOptions() {
|
|
560
|
-
return {
|
|
561
|
-
styles: _video_actions_scss__WEBPACK_IMPORTED_MODULE_12___default.a,
|
|
562
|
-
moreSvg: _libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_4__["SvgHelper"].getSvg(_libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_4__["cvSvgLibrary"].More)
|
|
563
|
-
};
|
|
564
|
-
}
|
|
565
|
-
}, {
|
|
566
|
-
key: "onRender",
|
|
567
|
-
value: function onRender() {
|
|
568
|
-
/**
|
|
569
|
-
* If we re-render the view, we'll need to re-render the more actions
|
|
570
|
-
* when the more button is clicked again
|
|
571
|
-
*/
|
|
572
|
-
this.moreActionsRendered = false;
|
|
573
|
-
this.renderActions();
|
|
574
|
-
}
|
|
575
|
-
}, {
|
|
576
|
-
key: "name",
|
|
577
|
-
get: function get() {
|
|
578
|
-
return 'VideoActionsComponent';
|
|
579
|
-
}
|
|
580
|
-
}, {
|
|
581
|
-
key: "template",
|
|
582
|
-
get: function get() {
|
|
583
|
-
return _VideoActions_hbs__WEBPACK_IMPORTED_MODULE_11___default.a;
|
|
584
|
-
}
|
|
585
|
-
}, {
|
|
586
|
-
key: "lang",
|
|
587
|
-
get: function get() {
|
|
588
|
-
return 'shared.videoActions';
|
|
589
|
-
}
|
|
590
|
-
}, {
|
|
591
|
-
key: "className",
|
|
592
|
-
get: function get() {
|
|
593
|
-
return _video_actions_scss__WEBPACK_IMPORTED_MODULE_12___default.a.actions;
|
|
594
|
-
}
|
|
595
|
-
}, {
|
|
596
|
-
key: "channelName",
|
|
597
|
-
get: function get() {
|
|
598
|
-
return "".concat(this.name).concat(this.cid);
|
|
599
|
-
}
|
|
600
|
-
}, {
|
|
601
|
-
key: "elements",
|
|
602
|
-
get: function get() {
|
|
603
|
-
return {
|
|
604
|
-
dropdownToggle: '.ui-dropdown-toggle',
|
|
605
|
-
moreActions: '.more-actions-region'
|
|
606
|
-
};
|
|
607
|
-
}
|
|
608
|
-
}]);
|
|
609
|
-
|
|
610
|
-
return VideoActionsComponent;
|
|
611
|
-
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].Component);
|
|
612
|
-
|
|
613
|
-
/***/ }),
|
|
614
|
-
|
|
615
|
-
/***/ "./src/shared/components/video-actions/video-actions.scss":
|
|
616
|
-
/*!****************************************************************!*\
|
|
617
|
-
!*** ./src/shared/components/video-actions/video-actions.scss ***!
|
|
618
|
-
\****************************************************************/
|
|
619
|
-
/*! no static exports found */
|
|
620
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
621
|
-
|
|
622
|
-
// extracted by mini-css-extract-plugin
|
|
623
|
-
module.exports = {"actions":"cv--actions--1U-Yf","svgContainer":"cv--svgContainer--3hYSf","actionName":"cv--actionName--2kY6B","disabled":"cv--disabled--3UjU0"};
|
|
624
|
-
|
|
625
|
-
/***/ }),
|
|
626
|
-
|
|
627
|
-
/***/ "./src/shared/components/video-item/video-item-metadata/video-sources-metadata/VideoSourcesMetadata.hbs":
|
|
628
|
-
/*!**************************************************************************************************************!*\
|
|
629
|
-
!*** ./src/shared/components/video-item/video-item-metadata/video-sources-metadata/VideoSourcesMetadata.hbs ***!
|
|
630
|
-
\**************************************************************************************************************/
|
|
631
|
-
/*! no static exports found */
|
|
632
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
633
|
-
|
|
634
|
-
var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
|
|
635
|
-
module.exports = (Handlebars['default'] || Handlebars).template({"1":function(container,depth0,helpers,partials,data) {
|
|
636
|
-
var stack1, alias1=container.propertyIsEnumerable, alias2=container.escapeExpression;
|
|
637
|
-
|
|
638
|
-
return "<span class=\""
|
|
639
|
-
+ alias2(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.sourceLabel : stack1), depth0))
|
|
640
|
-
+ "\">"
|
|
641
|
-
+ alias2((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"folder",{"name":"lang","hash":{"smartCount":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.folderCount : stack1)},"data":data}))
|
|
642
|
-
+ "</span>\r\n";
|
|
643
|
-
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
644
|
-
var stack1, alias1=container.propertyIsEnumerable;
|
|
645
|
-
|
|
646
|
-
return ((stack1 = helpers.unless.call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.hideLabel : stack1),{"name":"unless","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
647
|
-
+ ((stack1 = container.lambda(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.folders : stack1), depth0)) != null ? stack1 : "");
|
|
648
|
-
},"useData":true});
|
|
649
|
-
|
|
650
|
-
/***/ }),
|
|
651
|
-
|
|
652
|
-
/***/ "./src/shared/components/video-item/video-item-metadata/video-sources-metadata/VideoSourcesMetadataComponent.ts":
|
|
653
|
-
/*!**********************************************************************************************************************!*\
|
|
654
|
-
!*** ./src/shared/components/video-item/video-item-metadata/video-sources-metadata/VideoSourcesMetadataComponent.ts ***!
|
|
655
|
-
\**********************************************************************************************************************/
|
|
656
|
-
/*! exports provided: VideoSourcesMetadataComponent */
|
|
657
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
658
|
-
|
|
659
|
-
"use strict";
|
|
660
|
-
__webpack_require__.r(__webpack_exports__);
|
|
661
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VideoSourcesMetadataComponent", function() { return VideoSourcesMetadataComponent; });
|
|
662
|
-
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
663
|
-
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../constants */ "./src/shared/constants/index.ts");
|
|
664
|
-
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../utils */ "./src/shared/utils/index.ts");
|
|
665
|
-
/* harmony import */ var _VideoSourcesMetadata_hbs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./VideoSourcesMetadata.hbs */ "./src/shared/components/video-item/video-item-metadata/video-sources-metadata/VideoSourcesMetadata.hbs");
|
|
666
|
-
/* harmony import */ var _VideoSourcesMetadata_hbs__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_VideoSourcesMetadata_hbs__WEBPACK_IMPORTED_MODULE_3__);
|
|
667
|
-
/* harmony import */ var _video_sources_metadata_scss__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./video-sources-metadata.scss */ "./src/shared/components/video-item/video-item-metadata/video-sources-metadata/video-sources-metadata.scss");
|
|
668
|
-
/* harmony import */ var _video_sources_metadata_scss__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_video_sources_metadata_scss__WEBPACK_IMPORTED_MODULE_4__);
|
|
669
|
-
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
670
|
-
|
|
671
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
672
|
-
|
|
673
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
674
|
-
|
|
675
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
676
|
-
|
|
677
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
678
|
-
|
|
679
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
680
|
-
|
|
681
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
682
|
-
|
|
683
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
684
|
-
|
|
685
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
686
|
-
|
|
687
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
688
|
-
|
|
689
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
690
|
-
|
|
691
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
var VideoSourcesMetadataComponent = /*#__PURE__*/function (_Core$Component) {
|
|
699
|
-
_inherits(VideoSourcesMetadataComponent, _Core$Component);
|
|
700
|
-
|
|
701
|
-
var _super = _createSuper(VideoSourcesMetadataComponent);
|
|
702
|
-
|
|
703
|
-
function VideoSourcesMetadataComponent(options) {
|
|
704
|
-
_classCallCheck(this, VideoSourcesMetadataComponent);
|
|
705
|
-
|
|
706
|
-
return _super.call(this, options);
|
|
707
|
-
}
|
|
708
|
-
|
|
709
|
-
_createClass(VideoSourcesMetadataComponent, [{
|
|
710
|
-
key: "events",
|
|
711
|
-
value: function events() {
|
|
712
|
-
var appLinkClassNames = Object.keys(this.appLinks);
|
|
713
|
-
|
|
714
|
-
var events = _defineProperty({}, "click .".concat(_video_sources_metadata_scss__WEBPACK_IMPORTED_MODULE_4___default.a.sourceLabel), 'onClick');
|
|
715
|
-
|
|
716
|
-
appLinkClassNames.forEach(function (appLink) {
|
|
717
|
-
events["click ".concat(appLink)] = 'onClick';
|
|
718
|
-
});
|
|
719
|
-
return events;
|
|
720
|
-
}
|
|
721
|
-
}, {
|
|
722
|
-
key: "onClick",
|
|
723
|
-
value: function onClick(e) {
|
|
724
|
-
e.stopPropagation();
|
|
725
|
-
}
|
|
726
|
-
}, {
|
|
727
|
-
key: "getFolderLinks",
|
|
728
|
-
value: function getFolderLinks() {
|
|
729
|
-
var _this = this;
|
|
730
|
-
|
|
731
|
-
var _a;
|
|
732
|
-
|
|
733
|
-
var folders = this.model.get('categories');
|
|
734
|
-
if (!((_a = folders) === null || _a === void 0 ? void 0 : _a.length)) return;
|
|
735
|
-
var folderNameIdMap = {};
|
|
736
|
-
folders.forEach(function (folder) {
|
|
737
|
-
var name = _this.options.highlight ? _utils__WEBPACK_IMPORTED_MODULE_2__["TextHelper"].wordsHighlighter(_utils__WEBPACK_IMPORTED_MODULE_2__["TextHelper"].escapeExpression(folder.get('name')), _this.model.get('_matchedWords')) : _utils__WEBPACK_IMPORTED_MODULE_2__["TextHelper"].escapeExpression(folder.get('name'));
|
|
738
|
-
folderNameIdMap[folder.get('id')] = name;
|
|
739
|
-
});
|
|
740
|
-
return Object.keys(folderNameIdMap).map(function (folderId) {
|
|
741
|
-
return "<a class=\"info-link applink-folder-".concat(folderId, "\">").concat(folderNameIdMap[folderId], "</a>");
|
|
742
|
-
}).join(', ');
|
|
743
|
-
}
|
|
744
|
-
}, {
|
|
745
|
-
key: "onBeforeRender",
|
|
746
|
-
value: function onBeforeRender() {
|
|
747
|
-
var _a;
|
|
748
|
-
|
|
749
|
-
return this.options.showFolder && ((_a = this.model.get('categories')) === null || _a === void 0 ? void 0 : _a.length);
|
|
750
|
-
}
|
|
751
|
-
}, {
|
|
752
|
-
key: "viewOptions",
|
|
753
|
-
value: function viewOptions() {
|
|
754
|
-
return {
|
|
755
|
-
styles: _video_sources_metadata_scss__WEBPACK_IMPORTED_MODULE_4___default.a,
|
|
756
|
-
folderCount: this.model.get('categories').length,
|
|
757
|
-
folders: this.options.showFolder && this.getFolderLinks(),
|
|
758
|
-
hideLabel: this.options.hideLabel
|
|
759
|
-
};
|
|
760
|
-
}
|
|
761
|
-
}, {
|
|
762
|
-
key: "name",
|
|
763
|
-
get: function get() {
|
|
764
|
-
return 'VideoSourcesMetadataComponent';
|
|
765
|
-
}
|
|
766
|
-
}, {
|
|
767
|
-
key: "template",
|
|
768
|
-
get: function get() {
|
|
769
|
-
return _VideoSourcesMetadata_hbs__WEBPACK_IMPORTED_MODULE_3___default.a;
|
|
770
|
-
}
|
|
771
|
-
}, {
|
|
772
|
-
key: "lang",
|
|
773
|
-
get: function get() {
|
|
774
|
-
return 'shared.videoSourcesMetadata';
|
|
775
|
-
}
|
|
776
|
-
}, {
|
|
777
|
-
key: "defaults",
|
|
778
|
-
get: function get() {
|
|
779
|
-
return {
|
|
780
|
-
showFolder: false,
|
|
781
|
-
highlight: false
|
|
782
|
-
};
|
|
783
|
-
}
|
|
784
|
-
}, {
|
|
785
|
-
key: "appLinks",
|
|
786
|
-
get: function get() {
|
|
787
|
-
var _a;
|
|
788
|
-
|
|
789
|
-
if (!this.options.showFolder || !((_a = this.model.get('categories')) === null || _a === void 0 ? void 0 : _a.length)) return {};
|
|
790
|
-
var folders = this.model.get('categories');
|
|
791
|
-
return folders.reduce(function (appLinks, folder) {
|
|
792
|
-
appLinks[".applink-folder-".concat(folder.get('id'))] = {
|
|
793
|
-
application: _constants__WEBPACK_IMPORTED_MODULE_1__["AppChannels"].LIBRARY_EDITOR,
|
|
794
|
-
action: _constants__WEBPACK_IMPORTED_MODULE_1__["Actions"].LibraryEditor.FOLDER,
|
|
795
|
-
args: [folder.get('id')]
|
|
796
|
-
};
|
|
797
|
-
return appLinks;
|
|
798
|
-
}, {});
|
|
799
|
-
}
|
|
800
|
-
}]);
|
|
801
|
-
|
|
802
|
-
return VideoSourcesMetadataComponent;
|
|
803
|
-
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].Component);
|
|
804
|
-
|
|
805
|
-
/***/ }),
|
|
806
|
-
|
|
807
|
-
/***/ "./src/shared/components/video-item/video-item-metadata/video-sources-metadata/video-sources-metadata.scss":
|
|
808
|
-
/*!*****************************************************************************************************************!*\
|
|
809
|
-
!*** ./src/shared/components/video-item/video-item-metadata/video-sources-metadata/video-sources-metadata.scss ***!
|
|
810
|
-
\*****************************************************************************************************************/
|
|
811
|
-
/*! no static exports found */
|
|
812
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
813
|
-
|
|
814
|
-
// extracted by mini-css-extract-plugin
|
|
815
|
-
module.exports = {"sourceLabel":"cv--sourceLabel--2HK7r"};
|
|
816
|
-
|
|
817
|
-
/***/ })
|
|
818
|
-
|
|
819
|
-
}]);
|
|
820
|
-
//# sourceMappingURL=10.chunk.js.map
|