@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/47.chunk.js
DELETED
|
@@ -1,736 +0,0 @@
|
|
|
1
|
-
(window["webpackJsonp_clickview_library_editor"] = window["webpackJsonp_clickview_library_editor"] || []).push([[47],{
|
|
2
|
-
|
|
3
|
-
/***/ "./src/apps/library-editor/behaviors/draggable-video/DraggableVideoBehavior.ts":
|
|
4
|
-
/*!*************************************************************************************!*\
|
|
5
|
-
!*** ./src/apps/library-editor/behaviors/draggable-video/DraggableVideoBehavior.ts ***!
|
|
6
|
-
\*************************************************************************************/
|
|
7
|
-
/*! exports provided: DraggableVideoBehavior */
|
|
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__, "DraggableVideoBehavior", function() { return DraggableVideoBehavior; });
|
|
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 backbone__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! backbone */ "backbone");
|
|
16
|
-
/* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(backbone__WEBPACK_IMPORTED_MODULE_1__);
|
|
17
|
-
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
18
|
-
/* harmony import */ var _libs_common_src_backbone_errors_DevError__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/errors/DevError */ "../../libs/common/src/backbone/errors/DevError.ts");
|
|
19
|
-
/* 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");
|
|
20
|
-
/* harmony import */ var _shared_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../shared/constants */ "./src/shared/constants/index.ts");
|
|
21
|
-
/* harmony import */ var _shared_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../shared/utils */ "./src/shared/utils/index.ts");
|
|
22
|
-
/* harmony import */ var _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/services/LanguageService */ "../../libs/common/src/backbone/services/LanguageService.tsx");
|
|
23
|
-
/* harmony import */ var _shared__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../shared */ "./src/apps/library-editor/behaviors/shared/index.ts");
|
|
24
|
-
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../constants */ "./src/apps/library-editor/constants/index.ts");
|
|
25
|
-
/* harmony import */ var _draggable_video_scss__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./draggable-video.scss */ "./src/apps/library-editor/behaviors/draggable-video/draggable-video.scss");
|
|
26
|
-
/* harmony import */ var _draggable_video_scss__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_draggable_video_scss__WEBPACK_IMPORTED_MODULE_10__);
|
|
27
|
-
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); }
|
|
28
|
-
|
|
29
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
30
|
-
|
|
31
|
-
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); } }
|
|
32
|
-
|
|
33
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
34
|
-
|
|
35
|
-
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); }
|
|
36
|
-
|
|
37
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
38
|
-
|
|
39
|
-
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); }; }
|
|
40
|
-
|
|
41
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
42
|
-
|
|
43
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
44
|
-
|
|
45
|
-
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; } }
|
|
46
|
-
|
|
47
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
var DraggableVideoBehavior = /*#__PURE__*/function (_Core$Behavior) {
|
|
61
|
-
_inherits(DraggableVideoBehavior, _Core$Behavior);
|
|
62
|
-
|
|
63
|
-
var _super = _createSuper(DraggableVideoBehavior);
|
|
64
|
-
|
|
65
|
-
function DraggableVideoBehavior() {
|
|
66
|
-
_classCallCheck(this, DraggableVideoBehavior);
|
|
67
|
-
|
|
68
|
-
return _super.apply(this, arguments);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
_createClass(DraggableVideoBehavior, [{
|
|
72
|
-
key: "initialize",
|
|
73
|
-
value: function initialize() {
|
|
74
|
-
if (!this.options.model) _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_2__["Core"].ErrorHelper.throw(new _libs_common_src_backbone_errors_DevError__WEBPACK_IMPORTED_MODULE_3__["DevError"]('DraggableVideoBehavior must be passed a Video model'));
|
|
75
|
-
this.listenTo(_shared_constants__WEBPACK_IMPORTED_MODULE_5__["ServiceChannels"].VIDEO_DRAG_DROP, "drag:style:".concat(this.options.model.id), this.styleDragStart);
|
|
76
|
-
this.listenTo(_shared_constants__WEBPACK_IMPORTED_MODULE_5__["ServiceChannels"].VIDEO_DRAG_DROP, 'drag:stop', this.styleDragStop);
|
|
77
|
-
}
|
|
78
|
-
}, {
|
|
79
|
-
key: "helper",
|
|
80
|
-
value: function helper() {
|
|
81
|
-
var models = this.getVideoModels();
|
|
82
|
-
var draggableItemComponent = new _shared__WEBPACK_IMPORTED_MODULE_8__["DraggableItemComponent"]({
|
|
83
|
-
text: models.length > 1 ? _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_7__["LanguageService"].getPhrase(this.lang, 'videos', {
|
|
84
|
-
videoCount: models.length
|
|
85
|
-
}) : models[0].get('name'),
|
|
86
|
-
svg: _libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_4__["SvgHelper"].getSvg(_libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_4__["cvSvgLibrary"].Play)
|
|
87
|
-
});
|
|
88
|
-
return draggableItemComponent.render().el;
|
|
89
|
-
}
|
|
90
|
-
}, {
|
|
91
|
-
key: "getSelector",
|
|
92
|
-
value: function getSelector() {
|
|
93
|
-
return this.view.getUI(this.options.selector);
|
|
94
|
-
}
|
|
95
|
-
}, {
|
|
96
|
-
key: "styleDragStart",
|
|
97
|
-
value: function styleDragStart() {
|
|
98
|
-
var $el = this.getSelector();
|
|
99
|
-
$el.addClass(_draggable_video_scss__WEBPACK_IMPORTED_MODULE_10___default.a.draggingVideo);
|
|
100
|
-
}
|
|
101
|
-
}, {
|
|
102
|
-
key: "styleDragStop",
|
|
103
|
-
value: function styleDragStop() {
|
|
104
|
-
var $el = this.getSelector();
|
|
105
|
-
$el.removeClass(_draggable_video_scss__WEBPACK_IMPORTED_MODULE_10___default.a.draggingVideo);
|
|
106
|
-
}
|
|
107
|
-
}, {
|
|
108
|
-
key: "start",
|
|
109
|
-
value: function start() {
|
|
110
|
-
var models = this.getVideoModels();
|
|
111
|
-
/**
|
|
112
|
-
* This relies on an instance of VideoDragDropService existing
|
|
113
|
-
* This instanced should be retreived from the instance manager
|
|
114
|
-
* by the application.
|
|
115
|
-
*/
|
|
116
|
-
|
|
117
|
-
var channel = backbone__WEBPACK_IMPORTED_MODULE_1__["Radio"].channel(_shared_constants__WEBPACK_IMPORTED_MODULE_5__["ServiceChannels"].VIDEO_DRAG_DROP);
|
|
118
|
-
channel.trigger('drag:start', models, this.options.collectionIdentifier);
|
|
119
|
-
|
|
120
|
-
underscore__WEBPACK_IMPORTED_MODULE_0__["each"](models, function (m) {
|
|
121
|
-
return channel.trigger("drag:style:".concat(m.id));
|
|
122
|
-
});
|
|
123
|
-
}
|
|
124
|
-
}, {
|
|
125
|
-
key: "stop",
|
|
126
|
-
value: function stop() {
|
|
127
|
-
backbone__WEBPACK_IMPORTED_MODULE_1__["Radio"].channel(_shared_constants__WEBPACK_IMPORTED_MODULE_5__["ServiceChannels"].VIDEO_DRAG_DROP).trigger('drag:stop');
|
|
128
|
-
}
|
|
129
|
-
}, {
|
|
130
|
-
key: "getVideoModels",
|
|
131
|
-
value: function getVideoModels() {
|
|
132
|
-
var _this = this;
|
|
133
|
-
|
|
134
|
-
var models = _shared_utils__WEBPACK_IMPORTED_MODULE_6__["BulkCheckboxHelper"].GetSelectedModels({
|
|
135
|
-
key: this.options.collectionIdentifier.toString(),
|
|
136
|
-
type: _constants__WEBPACK_IMPORTED_MODULE_9__["CheckboxTypes"].VIDEO_LIST,
|
|
137
|
-
collection: this.view.model.collection
|
|
138
|
-
});
|
|
139
|
-
if (!underscore__WEBPACK_IMPORTED_MODULE_0__["any"](models, function (m) {
|
|
140
|
-
return m.id === _this.view.model.id;
|
|
141
|
-
})) models = [this.view.model];
|
|
142
|
-
if (models.length) return models;
|
|
143
|
-
return [this.view.model];
|
|
144
|
-
}
|
|
145
|
-
}, {
|
|
146
|
-
key: "getClassMappings",
|
|
147
|
-
value: function getClassMappings() {
|
|
148
|
-
return {
|
|
149
|
-
'ui-draggable': _shared__WEBPACK_IMPORTED_MODULE_8__["styles"].draggable,
|
|
150
|
-
'ui-draggable-disabled': _shared__WEBPACK_IMPORTED_MODULE_8__["styles"].disabled,
|
|
151
|
-
'ui-draggable-handle': _shared__WEBPACK_IMPORTED_MODULE_8__["styles"].handle,
|
|
152
|
-
'ui-draggable-dragging': _shared__WEBPACK_IMPORTED_MODULE_8__["styles"].dragging
|
|
153
|
-
};
|
|
154
|
-
}
|
|
155
|
-
}, {
|
|
156
|
-
key: "onRender",
|
|
157
|
-
value: function onRender() {
|
|
158
|
-
var $el = this.getSelector();
|
|
159
|
-
var options = {
|
|
160
|
-
helper: underscore__WEBPACK_IMPORTED_MODULE_0__["bind"](this.helper, this),
|
|
161
|
-
start: underscore__WEBPACK_IMPORTED_MODULE_0__["bind"](this.start, this),
|
|
162
|
-
stop: underscore__WEBPACK_IMPORTED_MODULE_0__["bind"](this.stop, this)
|
|
163
|
-
};
|
|
164
|
-
options.classes = this.getClassMappings();
|
|
165
|
-
$el.draggable(underscore__WEBPACK_IMPORTED_MODULE_0__["extend"]({}, _shared__WEBPACK_IMPORTED_MODULE_8__["DragOptions"], options));
|
|
166
|
-
}
|
|
167
|
-
}, {
|
|
168
|
-
key: "onBeforeDestroy",
|
|
169
|
-
value: function onBeforeDestroy() {
|
|
170
|
-
/**
|
|
171
|
-
* Because JQuery.UI's draggable is a piece of shit
|
|
172
|
-
* it sometimes errors out on 'destroy' if the element has otherwise
|
|
173
|
-
* been disposed of before this fire. So we need to first check if
|
|
174
|
-
* there is still an instance of $.fn.draggable before we call destroy on it
|
|
175
|
-
*/
|
|
176
|
-
var $el = this.getSelector();
|
|
177
|
-
if ($el.draggable('instance')) $el.draggable('destroy');
|
|
178
|
-
}
|
|
179
|
-
}, {
|
|
180
|
-
key: "lang",
|
|
181
|
-
get: function get() {
|
|
182
|
-
return 'libraryEditor.behaviors';
|
|
183
|
-
}
|
|
184
|
-
}]);
|
|
185
|
-
|
|
186
|
-
return DraggableVideoBehavior;
|
|
187
|
-
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_2__["Core"].Behavior);
|
|
188
|
-
|
|
189
|
-
/***/ }),
|
|
190
|
-
|
|
191
|
-
/***/ "./src/apps/library-editor/behaviors/draggable-video/draggable-video.scss":
|
|
192
|
-
/*!********************************************************************************!*\
|
|
193
|
-
!*** ./src/apps/library-editor/behaviors/draggable-video/draggable-video.scss ***!
|
|
194
|
-
\********************************************************************************/
|
|
195
|
-
/*! no static exports found */
|
|
196
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
197
|
-
|
|
198
|
-
// extracted by mini-css-extract-plugin
|
|
199
|
-
module.exports = {"draggingVideo":"cv--draggingVideo--3cCHx"};
|
|
200
|
-
|
|
201
|
-
/***/ }),
|
|
202
|
-
|
|
203
|
-
/***/ "./src/apps/library-editor/behaviors/index.ts":
|
|
204
|
-
/*!****************************************************!*\
|
|
205
|
-
!*** ./src/apps/library-editor/behaviors/index.ts ***!
|
|
206
|
-
\****************************************************/
|
|
207
|
-
/*! exports provided: DraggableFolderBehavior, DraggableVideoBehavior, DroppableBehavior */
|
|
208
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
209
|
-
|
|
210
|
-
"use strict";
|
|
211
|
-
__webpack_require__.r(__webpack_exports__);
|
|
212
|
-
/* harmony import */ var _draggable_folder_DraggableFolderBehavior__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./draggable-folder/DraggableFolderBehavior */ "./src/apps/library-editor/behaviors/draggable-folder/DraggableFolderBehavior.ts");
|
|
213
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DraggableFolderBehavior", function() { return _draggable_folder_DraggableFolderBehavior__WEBPACK_IMPORTED_MODULE_0__["DraggableFolderBehavior"]; });
|
|
214
|
-
|
|
215
|
-
/* harmony import */ var _draggable_video_DraggableVideoBehavior__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./draggable-video/DraggableVideoBehavior */ "./src/apps/library-editor/behaviors/draggable-video/DraggableVideoBehavior.ts");
|
|
216
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DraggableVideoBehavior", function() { return _draggable_video_DraggableVideoBehavior__WEBPACK_IMPORTED_MODULE_1__["DraggableVideoBehavior"]; });
|
|
217
|
-
|
|
218
|
-
/* harmony import */ var _droppable_DroppableBehavior__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./droppable/DroppableBehavior */ "./src/apps/library-editor/behaviors/droppable/DroppableBehavior.ts");
|
|
219
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DroppableBehavior", function() { return _droppable_DroppableBehavior__WEBPACK_IMPORTED_MODULE_2__["DroppableBehavior"]; });
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
/***/ }),
|
|
226
|
-
|
|
227
|
-
/***/ "./src/apps/library-editor/components/library-folders/LibraryFolderItem.hbs":
|
|
228
|
-
/*!**********************************************************************************!*\
|
|
229
|
-
!*** ./src/apps/library-editor/components/library-folders/LibraryFolderItem.hbs ***!
|
|
230
|
-
\**********************************************************************************/
|
|
231
|
-
/*! no static exports found */
|
|
232
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
233
|
-
|
|
234
|
-
var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
|
|
235
|
-
module.exports = (Handlebars['default'] || Handlebars).template({"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
236
|
-
var stack1, helper, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression;
|
|
237
|
-
|
|
238
|
-
return "<a\r\n class=\"d-block cursor-pointer no-decoration "
|
|
239
|
-
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.folder : stack1), depth0))
|
|
240
|
-
+ "\"\r\n style=\"background-image: url('"
|
|
241
|
-
+ alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.imageUrl : stack1), depth0))
|
|
242
|
-
+ "')\"\r\n>\r\n <h3 class=\"position-absolute text-white text-center m-0\">"
|
|
243
|
-
+ alias3(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"name","hash":{},"data":data}) : helper)))
|
|
244
|
-
+ "</h3>\r\n</a>\r\n<div class=\"actions-region\"></div>";
|
|
245
|
-
},"useData":true});
|
|
246
|
-
|
|
247
|
-
/***/ }),
|
|
248
|
-
|
|
249
|
-
/***/ "./src/apps/library-editor/components/library-folders/LibraryFolderListComponent.ts":
|
|
250
|
-
/*!******************************************************************************************!*\
|
|
251
|
-
!*** ./src/apps/library-editor/components/library-folders/LibraryFolderListComponent.ts ***!
|
|
252
|
-
\******************************************************************************************/
|
|
253
|
-
/*! exports provided: LibraryFolderListComponent */
|
|
254
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
255
|
-
|
|
256
|
-
"use strict";
|
|
257
|
-
__webpack_require__.r(__webpack_exports__);
|
|
258
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LibraryFolderListComponent", function() { return LibraryFolderListComponent; });
|
|
259
|
-
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
260
|
-
/* harmony import */ var _LibraryFolderItem_hbs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./LibraryFolderItem.hbs */ "./src/apps/library-editor/components/library-folders/LibraryFolderItem.hbs");
|
|
261
|
-
/* harmony import */ var _LibraryFolderItem_hbs__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_LibraryFolderItem_hbs__WEBPACK_IMPORTED_MODULE_1__);
|
|
262
|
-
/* harmony import */ var _library_folder_item_scss__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./library-folder-item.scss */ "./src/apps/library-editor/components/library-folders/library-folder-item.scss");
|
|
263
|
-
/* harmony import */ var _library_folder_item_scss__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_library_folder_item_scss__WEBPACK_IMPORTED_MODULE_2__);
|
|
264
|
-
/* harmony import */ var _shared_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../shared/utils */ "./src/shared/utils/index.ts");
|
|
265
|
-
/* harmony import */ var _shared_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../shared/constants */ "./src/shared/constants/index.ts");
|
|
266
|
-
/* harmony import */ var _shared_enums__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../shared/enums */ "./src/shared/enums/index.ts");
|
|
267
|
-
/* harmony import */ var _behaviors__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../behaviors */ "./src/apps/library-editor/behaviors/index.ts");
|
|
268
|
-
/* harmony import */ var _video_collection_actions_VideoCollectionActionsComponent__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../video-collection-actions/VideoCollectionActionsComponent */ "./src/apps/library-editor/components/video-collection-actions/VideoCollectionActionsComponent.ts");
|
|
269
|
-
/* harmony import */ var _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../../../../libs/analytics/src/interfaces */ "../../libs/analytics/src/interfaces/index.ts");
|
|
270
|
-
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); }
|
|
271
|
-
|
|
272
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
273
|
-
|
|
274
|
-
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); } }
|
|
275
|
-
|
|
276
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
277
|
-
|
|
278
|
-
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); }
|
|
279
|
-
|
|
280
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
281
|
-
|
|
282
|
-
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); }; }
|
|
283
|
-
|
|
284
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
285
|
-
|
|
286
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
287
|
-
|
|
288
|
-
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; } }
|
|
289
|
-
|
|
290
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
var LibraryFolderItemComponent = /*#__PURE__*/function (_Core$Component) {
|
|
303
|
-
_inherits(LibraryFolderItemComponent, _Core$Component);
|
|
304
|
-
|
|
305
|
-
var _super = _createSuper(LibraryFolderItemComponent);
|
|
306
|
-
|
|
307
|
-
function LibraryFolderItemComponent(options) {
|
|
308
|
-
_classCallCheck(this, LibraryFolderItemComponent);
|
|
309
|
-
|
|
310
|
-
return _super.call(this, options);
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
_createClass(LibraryFolderItemComponent, [{
|
|
314
|
-
key: "initialize",
|
|
315
|
-
value: function initialize() {
|
|
316
|
-
this.listenTo(this.model, 'change:name', this.render);
|
|
317
|
-
}
|
|
318
|
-
}, {
|
|
319
|
-
key: "regions",
|
|
320
|
-
value: function regions() {
|
|
321
|
-
return {
|
|
322
|
-
actions: {
|
|
323
|
-
el: '.actions-region',
|
|
324
|
-
replaceElement: true
|
|
325
|
-
}
|
|
326
|
-
};
|
|
327
|
-
}
|
|
328
|
-
}, {
|
|
329
|
-
key: "viewOptions",
|
|
330
|
-
value: function viewOptions() {
|
|
331
|
-
var imageUrl = _shared_utils__WEBPACK_IMPORTED_MODULE_3__["ImageHelper"].createFolderThumbnailUrl(this.model.thumbnail, {
|
|
332
|
-
fallbackBaseUrl: this.options.imageCdnUrl,
|
|
333
|
-
fallbackCategoryName: this.model.get('name'),
|
|
334
|
-
type: _shared_enums__WEBPACK_IMPORTED_MODULE_5__["ImageType"].Thumbnails
|
|
335
|
-
});
|
|
336
|
-
return {
|
|
337
|
-
styles: _library_folder_item_scss__WEBPACK_IMPORTED_MODULE_2___default.a,
|
|
338
|
-
imageUrl: imageUrl
|
|
339
|
-
};
|
|
340
|
-
}
|
|
341
|
-
}, {
|
|
342
|
-
key: "onRender",
|
|
343
|
-
value: function onRender() {
|
|
344
|
-
this.showChildView('actions', new _video_collection_actions_VideoCollectionActionsComponent__WEBPACK_IMPORTED_MODULE_7__["VideoCollectionActionsComponent"]({
|
|
345
|
-
model: this.model,
|
|
346
|
-
extraClasses: "".concat(_library_folder_item_scss__WEBPACK_IMPORTED_MODULE_2___default.a.actions, " rounded-circle"),
|
|
347
|
-
buttonClass: 'text-light',
|
|
348
|
-
analyticsOptions: {
|
|
349
|
-
location: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_8__["LocationContext"].LibraryTiles
|
|
350
|
-
},
|
|
351
|
-
overrideClasses: true
|
|
352
|
-
}));
|
|
353
|
-
}
|
|
354
|
-
}, {
|
|
355
|
-
key: "name",
|
|
356
|
-
get: function get() {
|
|
357
|
-
return 'LibraryFolderItemComponent';
|
|
358
|
-
}
|
|
359
|
-
}, {
|
|
360
|
-
key: "template",
|
|
361
|
-
get: function get() {
|
|
362
|
-
return _LibraryFolderItem_hbs__WEBPACK_IMPORTED_MODULE_1___default.a;
|
|
363
|
-
}
|
|
364
|
-
}, {
|
|
365
|
-
key: "className",
|
|
366
|
-
get: function get() {
|
|
367
|
-
return 'col-3 p-2';
|
|
368
|
-
}
|
|
369
|
-
}, {
|
|
370
|
-
key: "appLinks",
|
|
371
|
-
get: function get() {
|
|
372
|
-
return {
|
|
373
|
-
a: {
|
|
374
|
-
application: _shared_constants__WEBPACK_IMPORTED_MODULE_4__["AppChannels"].LIBRARY_EDITOR,
|
|
375
|
-
action: _shared_constants__WEBPACK_IMPORTED_MODULE_4__["Actions"].LibraryEditor.FOLDER,
|
|
376
|
-
args: [this.model.get('id')]
|
|
377
|
-
}
|
|
378
|
-
};
|
|
379
|
-
}
|
|
380
|
-
}, {
|
|
381
|
-
key: "behaviors",
|
|
382
|
-
get: function get() {
|
|
383
|
-
return [{
|
|
384
|
-
behaviorClass: _behaviors__WEBPACK_IMPORTED_MODULE_6__["DroppableBehavior"],
|
|
385
|
-
channelNames: [_shared_constants__WEBPACK_IMPORTED_MODULE_4__["ServiceChannels"].VIDEO_DRAG_DROP, _shared_constants__WEBPACK_IMPORTED_MODULE_4__["ServiceChannels"].FOLDER_DRAG_DROP],
|
|
386
|
-
analyticsOptions: {
|
|
387
|
-
location: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_8__["LocationContext"].LibraryTiles
|
|
388
|
-
}
|
|
389
|
-
}, {
|
|
390
|
-
behaviorClass: _behaviors__WEBPACK_IMPORTED_MODULE_6__["DraggableFolderBehavior"]
|
|
391
|
-
}];
|
|
392
|
-
}
|
|
393
|
-
}]);
|
|
394
|
-
|
|
395
|
-
return LibraryFolderItemComponent;
|
|
396
|
-
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].Component);
|
|
397
|
-
|
|
398
|
-
var LibraryFolderListComponent = /*#__PURE__*/function (_Core$ComponentCollec) {
|
|
399
|
-
_inherits(LibraryFolderListComponent, _Core$ComponentCollec);
|
|
400
|
-
|
|
401
|
-
var _super2 = _createSuper(LibraryFolderListComponent);
|
|
402
|
-
|
|
403
|
-
function LibraryFolderListComponent(options) {
|
|
404
|
-
_classCallCheck(this, LibraryFolderListComponent);
|
|
405
|
-
|
|
406
|
-
return _super2.call(this, options);
|
|
407
|
-
}
|
|
408
|
-
|
|
409
|
-
_createClass(LibraryFolderListComponent, [{
|
|
410
|
-
key: "name",
|
|
411
|
-
get: function get() {
|
|
412
|
-
return 'LibraryFolderListComponent';
|
|
413
|
-
}
|
|
414
|
-
}, {
|
|
415
|
-
key: "className",
|
|
416
|
-
get: function get() {
|
|
417
|
-
return 'row';
|
|
418
|
-
}
|
|
419
|
-
}, {
|
|
420
|
-
key: "childView",
|
|
421
|
-
get: function get() {
|
|
422
|
-
return LibraryFolderItemComponent;
|
|
423
|
-
}
|
|
424
|
-
}, {
|
|
425
|
-
key: "childViewOptions",
|
|
426
|
-
get: function get() {
|
|
427
|
-
return this.options.childOptions;
|
|
428
|
-
}
|
|
429
|
-
}]);
|
|
430
|
-
|
|
431
|
-
return LibraryFolderListComponent;
|
|
432
|
-
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].ComponentCollection);
|
|
433
|
-
|
|
434
|
-
/***/ }),
|
|
435
|
-
|
|
436
|
-
/***/ "./src/apps/library-editor/components/library-folders/library-folder-item.scss":
|
|
437
|
-
/*!*************************************************************************************!*\
|
|
438
|
-
!*** ./src/apps/library-editor/components/library-folders/library-folder-item.scss ***!
|
|
439
|
-
\*************************************************************************************/
|
|
440
|
-
/*! no static exports found */
|
|
441
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
442
|
-
|
|
443
|
-
// extracted by mini-css-extract-plugin
|
|
444
|
-
module.exports = {"folder":"cv--folder--1MHyt","actions":"cv--actions--3-hwy"};
|
|
445
|
-
|
|
446
|
-
/***/ }),
|
|
447
|
-
|
|
448
|
-
/***/ "./src/apps/library-editor/views/library/Library.hbs":
|
|
449
|
-
/*!***********************************************************!*\
|
|
450
|
-
!*** ./src/apps/library-editor/views/library/Library.hbs ***!
|
|
451
|
-
\***********************************************************/
|
|
452
|
-
/*! no static exports found */
|
|
453
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
454
|
-
|
|
455
|
-
var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
|
|
456
|
-
module.exports = (Handlebars['default'] || Handlebars).template({"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
457
|
-
var helper, alias1=container.propertyIsEnumerable;
|
|
458
|
-
|
|
459
|
-
return "<h1 class=\"h3\">"
|
|
460
|
-
+ container.escapeExpression(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"name","hash":{},"data":data}) : helper)))
|
|
461
|
-
+ "</h1>\r\n<div class=\"folders-region\"></div>\r\n<div class=\"actions-region\"></div>";
|
|
462
|
-
},"useData":true});
|
|
463
|
-
|
|
464
|
-
/***/ }),
|
|
465
|
-
|
|
466
|
-
/***/ "./src/apps/library-editor/views/library/LibraryView.ts":
|
|
467
|
-
/*!**************************************************************!*\
|
|
468
|
-
!*** ./src/apps/library-editor/views/library/LibraryView.ts ***!
|
|
469
|
-
\**************************************************************/
|
|
470
|
-
/*! exports provided: LibraryView */
|
|
471
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
472
|
-
|
|
473
|
-
"use strict";
|
|
474
|
-
__webpack_require__.r(__webpack_exports__);
|
|
475
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LibraryView", function() { return LibraryView; });
|
|
476
|
-
/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! underscore */ "underscore");
|
|
477
|
-
/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(underscore__WEBPACK_IMPORTED_MODULE_0__);
|
|
478
|
-
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
479
|
-
/* harmony import */ var _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/services/InstanceManager */ "../../libs/common/src/backbone/services/InstanceManager.ts");
|
|
480
|
-
/* harmony import */ var _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/services/LanguageService */ "../../libs/common/src/backbone/services/LanguageService.tsx");
|
|
481
|
-
/* harmony import */ var _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../../../libs/analytics/src/interfaces */ "../../libs/analytics/src/interfaces/index.ts");
|
|
482
|
-
/* harmony import */ var _libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../../../../libs/shared/src/utils/SvgHelper */ "../../libs/shared/src/utils/SvgHelper.ts");
|
|
483
|
-
/* harmony import */ var _libs_shared_src_legacy_behaviors_empty_state_EmptyStateBehavior__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../../../../libs/shared/src/legacy/behaviors/empty-state/EmptyStateBehavior */ "../../libs/shared/src/legacy/behaviors/empty-state/EmptyStateBehavior.ts");
|
|
484
|
-
/* harmony import */ var _libs_shared_src_legacy_enums_SortType__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../../../../libs/shared/src/legacy/enums/SortType */ "../../libs/shared/src/legacy/enums/SortType.ts");
|
|
485
|
-
/* harmony import */ var _shared_services_ConfigDataService__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../shared/services/ConfigDataService */ "./src/shared/services/ConfigDataService.ts");
|
|
486
|
-
/* harmony import */ var _shared_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../../shared/constants */ "./src/shared/constants/index.ts");
|
|
487
|
-
/* harmony import */ var _shared_enums__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../../shared/enums */ "./src/shared/enums/index.ts");
|
|
488
|
-
/* harmony import */ var _shared_interfaces__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../../shared/interfaces */ "./src/shared/interfaces/index.ts");
|
|
489
|
-
/* harmony import */ var _components_library_folders_LibraryFolderListComponent__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../components/library-folders/LibraryFolderListComponent */ "./src/apps/library-editor/components/library-folders/LibraryFolderListComponent.ts");
|
|
490
|
-
/* harmony import */ var _components_library_actions_LibraryActionsComponent__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../components/library-actions/LibraryActionsComponent */ "./src/apps/library-editor/components/library-actions/LibraryActionsComponent.ts");
|
|
491
|
-
/* harmony import */ var _Library_hbs__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./Library.hbs */ "./src/apps/library-editor/views/library/Library.hbs");
|
|
492
|
-
/* harmony import */ var _Library_hbs__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_Library_hbs__WEBPACK_IMPORTED_MODULE_14__);
|
|
493
|
-
/* harmony import */ var _library_scss__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./library.scss */ "./src/apps/library-editor/views/library/library.scss");
|
|
494
|
-
/* harmony import */ var _library_scss__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_library_scss__WEBPACK_IMPORTED_MODULE_15__);
|
|
495
|
-
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); }
|
|
496
|
-
|
|
497
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
498
|
-
|
|
499
|
-
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); } }
|
|
500
|
-
|
|
501
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
502
|
-
|
|
503
|
-
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); }
|
|
504
|
-
|
|
505
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
506
|
-
|
|
507
|
-
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); }; }
|
|
508
|
-
|
|
509
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
510
|
-
|
|
511
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
512
|
-
|
|
513
|
-
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; } }
|
|
514
|
-
|
|
515
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
var LibraryView = /*#__PURE__*/function (_Core$View) {
|
|
534
|
-
_inherits(LibraryView, _Core$View);
|
|
535
|
-
|
|
536
|
-
var _super = _createSuper(LibraryView);
|
|
537
|
-
|
|
538
|
-
function LibraryView(options) {
|
|
539
|
-
_classCallCheck(this, LibraryView);
|
|
540
|
-
|
|
541
|
-
return _super.call(this, options);
|
|
542
|
-
}
|
|
543
|
-
|
|
544
|
-
_createClass(LibraryView, [{
|
|
545
|
-
key: "initialize",
|
|
546
|
-
value: function initialize() {
|
|
547
|
-
var _this = this;
|
|
548
|
-
|
|
549
|
-
this.libraryDataService = _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_2__["InstanceManager"].getInstance(_shared_constants__WEBPACK_IMPORTED_MODULE_9__["DataServices"].Library, this);
|
|
550
|
-
this.listenTo(_shared_constants__WEBPACK_IMPORTED_MODULE_9__["DataChannels"].LIBRARY, 'clear:library:folder:cache', function () {
|
|
551
|
-
_this.folders = null;
|
|
552
|
-
|
|
553
|
-
_this.render();
|
|
554
|
-
});
|
|
555
|
-
}
|
|
556
|
-
}, {
|
|
557
|
-
key: "regions",
|
|
558
|
-
value: function regions() {
|
|
559
|
-
return {
|
|
560
|
-
folders: {
|
|
561
|
-
el: '.folders-region',
|
|
562
|
-
replaceElement: true,
|
|
563
|
-
partialLoading: _shared_enums__WEBPACK_IMPORTED_MODULE_10__["PartialLoading"].LibraryFolders
|
|
564
|
-
},
|
|
565
|
-
actions: {
|
|
566
|
-
el: '.actions-region',
|
|
567
|
-
replaceElement: true
|
|
568
|
-
}
|
|
569
|
-
};
|
|
570
|
-
}
|
|
571
|
-
}, {
|
|
572
|
-
key: "renderFolders",
|
|
573
|
-
value: function renderFolders() {
|
|
574
|
-
this.showChildView('folders', new _components_library_folders_LibraryFolderListComponent__WEBPACK_IMPORTED_MODULE_12__["LibraryFolderListComponent"]({
|
|
575
|
-
collection: this.folders,
|
|
576
|
-
childOptions: {
|
|
577
|
-
imageCdnUrl: this.config.get('imageCdnUrl')
|
|
578
|
-
}
|
|
579
|
-
}));
|
|
580
|
-
}
|
|
581
|
-
}, {
|
|
582
|
-
key: "renderActions",
|
|
583
|
-
value: function renderActions() {
|
|
584
|
-
this.showChildView('actions', new _components_library_actions_LibraryActionsComponent__WEBPACK_IMPORTED_MODULE_13__["LibraryActionsComponent"]({
|
|
585
|
-
model: this.model,
|
|
586
|
-
extraClasses: "".concat(_library_scss__WEBPACK_IMPORTED_MODULE_15___default.a.actions, " rounded-circle mr-2 mt-2"),
|
|
587
|
-
analyticsOptions: {
|
|
588
|
-
location: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_4__["LocationContext"].Banner
|
|
589
|
-
}
|
|
590
|
-
}));
|
|
591
|
-
}
|
|
592
|
-
}, {
|
|
593
|
-
key: "bindScrollListener",
|
|
594
|
-
value: function bindScrollListener() {
|
|
595
|
-
var _this2 = this;
|
|
596
|
-
|
|
597
|
-
if (this.scrollBound) return;
|
|
598
|
-
this.scrollBound = true;
|
|
599
|
-
var $window = $(window);
|
|
600
|
-
|
|
601
|
-
var onScroll = underscore__WEBPACK_IMPORTED_MODULE_0__["debounce"](function () {
|
|
602
|
-
var isBottom = $window.scrollTop() + $window.height() > _this2.$el.offset().top + _this2.$el.height();
|
|
603
|
-
|
|
604
|
-
if (!isBottom) return;
|
|
605
|
-
if (!_this2.currentIdentifier) return;
|
|
606
|
-
|
|
607
|
-
var cursors = _this2.libraryDataService.getLibraryFoldersCursors(_this2.currentIdentifier);
|
|
608
|
-
|
|
609
|
-
if (!cursors || !cursors.next) return;
|
|
610
|
-
|
|
611
|
-
_this2.libraryDataService.getLibraryFolders(_this2.getNewCollectionIdentifier(cursors.next), function (data) {
|
|
612
|
-
_this2.folders.add(data.toJSON());
|
|
613
|
-
});
|
|
614
|
-
}, 333);
|
|
615
|
-
|
|
616
|
-
$window.scroll(onScroll);
|
|
617
|
-
/**
|
|
618
|
-
* Call onScroll the first time we render, after the view is rendered so we have our height set
|
|
619
|
-
*/
|
|
620
|
-
|
|
621
|
-
window.setTimeout(onScroll, 100);
|
|
622
|
-
}
|
|
623
|
-
}, {
|
|
624
|
-
key: "getNewCollectionIdentifier",
|
|
625
|
-
value: function getNewCollectionIdentifier(cursor) {
|
|
626
|
-
return this.currentIdentifier = new _shared_interfaces__WEBPACK_IMPORTED_MODULE_11__["LibraryFoldersIdentifier"](this.model.categoryTree.get('id'), _libs_shared_src_legacy_enums_SortType__WEBPACK_IMPORTED_MODULE_7__["SortType"].AtoZ, cursor);
|
|
627
|
-
}
|
|
628
|
-
}, {
|
|
629
|
-
key: "onBeforeRender",
|
|
630
|
-
value: function onBeforeRender() {
|
|
631
|
-
var _this3 = this;
|
|
632
|
-
|
|
633
|
-
if (!this.model) {
|
|
634
|
-
this.libraryDataService.getLibraries(function (data) {
|
|
635
|
-
_this3.model = data.get(_this3.options.libraryId);
|
|
636
|
-
|
|
637
|
-
_this3.listenTo(_this3.model, 'change:name', _this3.render);
|
|
638
|
-
|
|
639
|
-
_this3.render();
|
|
640
|
-
});
|
|
641
|
-
return;
|
|
642
|
-
}
|
|
643
|
-
|
|
644
|
-
if (!this.folders) {
|
|
645
|
-
this.libraryDataService.getLibraryFolders(this.getNewCollectionIdentifier(), function (data) {
|
|
646
|
-
_this3.folders = data;
|
|
647
|
-
|
|
648
|
-
_this3.render();
|
|
649
|
-
});
|
|
650
|
-
}
|
|
651
|
-
|
|
652
|
-
return !!this.model && !!this.folders;
|
|
653
|
-
}
|
|
654
|
-
}, {
|
|
655
|
-
key: "onRender",
|
|
656
|
-
value: function onRender() {
|
|
657
|
-
this.renderFolders();
|
|
658
|
-
this.renderActions();
|
|
659
|
-
this.bindScrollListener();
|
|
660
|
-
}
|
|
661
|
-
}, {
|
|
662
|
-
key: "name",
|
|
663
|
-
get: function get() {
|
|
664
|
-
return 'LibraryView';
|
|
665
|
-
}
|
|
666
|
-
}, {
|
|
667
|
-
key: "title",
|
|
668
|
-
get: function get() {
|
|
669
|
-
return !!this.model && this.model.get('name');
|
|
670
|
-
}
|
|
671
|
-
}, {
|
|
672
|
-
key: "lang",
|
|
673
|
-
get: function get() {
|
|
674
|
-
return 'libraryEditor.library';
|
|
675
|
-
}
|
|
676
|
-
}, {
|
|
677
|
-
key: "template",
|
|
678
|
-
get: function get() {
|
|
679
|
-
return _Library_hbs__WEBPACK_IMPORTED_MODULE_14___default.a;
|
|
680
|
-
}
|
|
681
|
-
}, {
|
|
682
|
-
key: "className",
|
|
683
|
-
get: function get() {
|
|
684
|
-
return "bg-white px-3 pt-3 pb-2 position-relative ".concat(_library_scss__WEBPACK_IMPORTED_MODULE_15___default.a.library);
|
|
685
|
-
}
|
|
686
|
-
}, {
|
|
687
|
-
key: "behaviors",
|
|
688
|
-
get: function get() {
|
|
689
|
-
var _this4 = this;
|
|
690
|
-
|
|
691
|
-
return [{
|
|
692
|
-
behaviorClass: _libs_shared_src_legacy_behaviors_empty_state_EmptyStateBehavior__WEBPACK_IMPORTED_MODULE_6__["EmptyStateBehavior"],
|
|
693
|
-
region: 'folders',
|
|
694
|
-
type: _shared_enums__WEBPACK_IMPORTED_MODULE_10__["EmptyState"].Library,
|
|
695
|
-
shouldRender: function shouldRender() {
|
|
696
|
-
return _this4.model && !_this4.model.children.length;
|
|
697
|
-
},
|
|
698
|
-
componentOptions: {
|
|
699
|
-
libraryId: this.options.libraryId,
|
|
700
|
-
moreSvg: _libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_5__["SvgHelper"].getSvg(_libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_5__["cvSvgLibrary"].More),
|
|
701
|
-
heading: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_3__["LanguageService"].getPhrase(this.lang, 'emptyStateHeading'),
|
|
702
|
-
description: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_3__["LanguageService"].getPhrase(this.lang, 'emptyStateInfo', {
|
|
703
|
-
moreSvg: "<span class=\"d-inline-block svg-container align-top\">\n ".concat(_libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_5__["SvgHelper"].getSvg(_libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_5__["cvSvgLibrary"].More), "</span>")
|
|
704
|
-
})
|
|
705
|
-
},
|
|
706
|
-
emptyStateComponents: _shared_constants__WEBPACK_IMPORTED_MODULE_9__["EmptyStateComponents"]
|
|
707
|
-
}];
|
|
708
|
-
}
|
|
709
|
-
}, {
|
|
710
|
-
key: "requiredResources",
|
|
711
|
-
get: function get() {
|
|
712
|
-
return {
|
|
713
|
-
config: _shared_services_ConfigDataService__WEBPACK_IMPORTED_MODULE_8__["ConfigDataServiceHelper"].config
|
|
714
|
-
};
|
|
715
|
-
}
|
|
716
|
-
}]);
|
|
717
|
-
|
|
718
|
-
return LibraryView;
|
|
719
|
-
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__["Core"].View);
|
|
720
|
-
|
|
721
|
-
/***/ }),
|
|
722
|
-
|
|
723
|
-
/***/ "./src/apps/library-editor/views/library/library.scss":
|
|
724
|
-
/*!************************************************************!*\
|
|
725
|
-
!*** ./src/apps/library-editor/views/library/library.scss ***!
|
|
726
|
-
\************************************************************/
|
|
727
|
-
/*! no static exports found */
|
|
728
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
729
|
-
|
|
730
|
-
// extracted by mini-css-extract-plugin
|
|
731
|
-
module.exports = {"actions":"cv--actions--3vCmp"};
|
|
732
|
-
|
|
733
|
-
/***/ })
|
|
734
|
-
|
|
735
|
-
}]);
|
|
736
|
-
//# sourceMappingURL=47.chunk.js.map
|