@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/14.chunk.js
DELETED
|
@@ -1,2386 +0,0 @@
|
|
|
1
|
-
(window["webpackJsonp_clickview_library_editor"] = window["webpackJsonp_clickview_library_editor"] || []).push([[14],{
|
|
2
|
-
|
|
3
|
-
/***/ "./src/apps/migration-wizard/components/banner/Banner.hbs":
|
|
4
|
-
/*!****************************************************************!*\
|
|
5
|
-
!*** ./src/apps/migration-wizard/components/banner/Banner.hbs ***!
|
|
6
|
-
\****************************************************************/
|
|
7
|
-
/*! no static exports found */
|
|
8
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
9
|
-
|
|
10
|
-
var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
|
|
11
|
-
module.exports = (Handlebars['default'] || Handlebars).template({"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
12
|
-
var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {}), alias3=container.hooks.helperMissing, alias4=container.escapeExpression, alias5=container.lambda;
|
|
13
|
-
|
|
14
|
-
return "<span class=\"text-white mr-1\">"
|
|
15
|
-
+ alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"banner",{"name":"lang","hash":{},"data":data}))
|
|
16
|
-
+ "</span>\r\n<a href=\""
|
|
17
|
-
+ alias4(alias5(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.learnMoreUrl : stack1), depth0))
|
|
18
|
-
+ "\" class=\""
|
|
19
|
-
+ alias4(alias5(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.learnMore : stack1), depth0))
|
|
20
|
-
+ "\" target=\"_blank\">"
|
|
21
|
-
+ alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"learnMore",{"name":"lang","hash":{},"data":data}))
|
|
22
|
-
+ "</a>";
|
|
23
|
-
},"useData":true});
|
|
24
|
-
|
|
25
|
-
/***/ }),
|
|
26
|
-
|
|
27
|
-
/***/ "./src/apps/migration-wizard/components/banner/BannerComponent.ts":
|
|
28
|
-
/*!************************************************************************!*\
|
|
29
|
-
!*** ./src/apps/migration-wizard/components/banner/BannerComponent.ts ***!
|
|
30
|
-
\************************************************************************/
|
|
31
|
-
/*! exports provided: BannerComponent */
|
|
32
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
33
|
-
|
|
34
|
-
"use strict";
|
|
35
|
-
__webpack_require__.r(__webpack_exports__);
|
|
36
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BannerComponent", function() { return BannerComponent; });
|
|
37
|
-
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
38
|
-
/* 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");
|
|
39
|
-
/* harmony import */ var _shared_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../shared/constants */ "./src/shared/constants/index.ts");
|
|
40
|
-
/* harmony import */ var _banner_scss__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./banner.scss */ "./src/apps/migration-wizard/components/banner/banner.scss");
|
|
41
|
-
/* harmony import */ var _banner_scss__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_banner_scss__WEBPACK_IMPORTED_MODULE_3__);
|
|
42
|
-
/* harmony import */ var _Banner_hbs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Banner.hbs */ "./src/apps/migration-wizard/components/banner/Banner.hbs");
|
|
43
|
-
/* harmony import */ var _Banner_hbs__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_Banner_hbs__WEBPACK_IMPORTED_MODULE_4__);
|
|
44
|
-
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); }
|
|
45
|
-
|
|
46
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
47
|
-
|
|
48
|
-
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); } }
|
|
49
|
-
|
|
50
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
51
|
-
|
|
52
|
-
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); }
|
|
53
|
-
|
|
54
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
55
|
-
|
|
56
|
-
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); }; }
|
|
57
|
-
|
|
58
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
59
|
-
|
|
60
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
61
|
-
|
|
62
|
-
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; } }
|
|
63
|
-
|
|
64
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
var BannerComponent = /*#__PURE__*/function (_Core$Component) {
|
|
72
|
-
_inherits(BannerComponent, _Core$Component);
|
|
73
|
-
|
|
74
|
-
var _super = _createSuper(BannerComponent);
|
|
75
|
-
|
|
76
|
-
function BannerComponent(options) {
|
|
77
|
-
_classCallCheck(this, BannerComponent);
|
|
78
|
-
|
|
79
|
-
return _super.call(this, options);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
_createClass(BannerComponent, [{
|
|
83
|
-
key: "viewOptions",
|
|
84
|
-
value: function viewOptions() {
|
|
85
|
-
return {
|
|
86
|
-
styles: _banner_scss__WEBPACK_IMPORTED_MODULE_3___default.a,
|
|
87
|
-
learnMoreUrl: this.getLearnMoreUrl()
|
|
88
|
-
};
|
|
89
|
-
}
|
|
90
|
-
}, {
|
|
91
|
-
key: "getLearnMoreUrl",
|
|
92
|
-
value: function getLearnMoreUrl() {
|
|
93
|
-
var supportUrl = this.config.get('supportSiteUrl');
|
|
94
|
-
return _libs_common_src_backbone_utils_UrlHelper__WEBPACK_IMPORTED_MODULE_1__["UrlHelper"].safeUrlConcat(supportUrl, _shared_constants__WEBPACK_IMPORTED_MODULE_2__["SupportArticles"].PUBLISHER_ARCHIVE);
|
|
95
|
-
}
|
|
96
|
-
}, {
|
|
97
|
-
key: "name",
|
|
98
|
-
get: function get() {
|
|
99
|
-
return 'BannerComponent';
|
|
100
|
-
}
|
|
101
|
-
}, {
|
|
102
|
-
key: "className",
|
|
103
|
-
get: function get() {
|
|
104
|
-
return "w-100 p-2 pl-3 pr-3 ".concat(_banner_scss__WEBPACK_IMPORTED_MODULE_3___default.a.banner);
|
|
105
|
-
}
|
|
106
|
-
}, {
|
|
107
|
-
key: "lang",
|
|
108
|
-
get: function get() {
|
|
109
|
-
return 'migrationWizard.banner';
|
|
110
|
-
}
|
|
111
|
-
}, {
|
|
112
|
-
key: "props",
|
|
113
|
-
get: function get() {
|
|
114
|
-
return ['config'];
|
|
115
|
-
}
|
|
116
|
-
}, {
|
|
117
|
-
key: "template",
|
|
118
|
-
get: function get() {
|
|
119
|
-
return _Banner_hbs__WEBPACK_IMPORTED_MODULE_4___default.a;
|
|
120
|
-
}
|
|
121
|
-
}]);
|
|
122
|
-
|
|
123
|
-
return BannerComponent;
|
|
124
|
-
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].Component);
|
|
125
|
-
|
|
126
|
-
/***/ }),
|
|
127
|
-
|
|
128
|
-
/***/ "./src/apps/migration-wizard/components/banner/banner.scss":
|
|
129
|
-
/*!*****************************************************************!*\
|
|
130
|
-
!*** ./src/apps/migration-wizard/components/banner/banner.scss ***!
|
|
131
|
-
\*****************************************************************/
|
|
132
|
-
/*! no static exports found */
|
|
133
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
134
|
-
|
|
135
|
-
// extracted by mini-css-extract-plugin
|
|
136
|
-
module.exports = {"banner":"cv--banner--O5CMF","learnMore":"cv--learnMore--MjcUE"};
|
|
137
|
-
|
|
138
|
-
/***/ }),
|
|
139
|
-
|
|
140
|
-
/***/ "./src/apps/migration-wizard/components/empty-video-list/EmptyVideoList.hbs":
|
|
141
|
-
/*!**********************************************************************************!*\
|
|
142
|
-
!*** ./src/apps/migration-wizard/components/empty-video-list/EmptyVideoList.hbs ***!
|
|
143
|
-
\**********************************************************************************/
|
|
144
|
-
/*! no static exports found */
|
|
145
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
146
|
-
|
|
147
|
-
var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
|
|
148
|
-
module.exports = (Handlebars['default'] || Handlebars).template({"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
149
|
-
var stack1, alias1=container.propertyIsEnumerable;
|
|
150
|
-
|
|
151
|
-
return "<h3 class=\"m-0\">"
|
|
152
|
-
+ container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.text : stack1), depth0))
|
|
153
|
-
+ "</h3>";
|
|
154
|
-
},"useData":true});
|
|
155
|
-
|
|
156
|
-
/***/ }),
|
|
157
|
-
|
|
158
|
-
/***/ "./src/apps/migration-wizard/components/empty-video-list/EmptyVideoListComponent.ts":
|
|
159
|
-
/*!******************************************************************************************!*\
|
|
160
|
-
!*** ./src/apps/migration-wizard/components/empty-video-list/EmptyVideoListComponent.ts ***!
|
|
161
|
-
\******************************************************************************************/
|
|
162
|
-
/*! exports provided: EmptyVideoListComponent */
|
|
163
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
164
|
-
|
|
165
|
-
"use strict";
|
|
166
|
-
__webpack_require__.r(__webpack_exports__);
|
|
167
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EmptyVideoListComponent", function() { return EmptyVideoListComponent; });
|
|
168
|
-
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
169
|
-
/* harmony import */ var _empty_video_list_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./empty-video-list.scss */ "./src/apps/migration-wizard/components/empty-video-list/empty-video-list.scss");
|
|
170
|
-
/* harmony import */ var _empty_video_list_scss__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_empty_video_list_scss__WEBPACK_IMPORTED_MODULE_1__);
|
|
171
|
-
/* harmony import */ var _EmptyVideoList_hbs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./EmptyVideoList.hbs */ "./src/apps/migration-wizard/components/empty-video-list/EmptyVideoList.hbs");
|
|
172
|
-
/* harmony import */ var _EmptyVideoList_hbs__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_EmptyVideoList_hbs__WEBPACK_IMPORTED_MODULE_2__);
|
|
173
|
-
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); }
|
|
174
|
-
|
|
175
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
176
|
-
|
|
177
|
-
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); } }
|
|
178
|
-
|
|
179
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
180
|
-
|
|
181
|
-
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); }
|
|
182
|
-
|
|
183
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
184
|
-
|
|
185
|
-
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); }; }
|
|
186
|
-
|
|
187
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
188
|
-
|
|
189
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
190
|
-
|
|
191
|
-
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; } }
|
|
192
|
-
|
|
193
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
var EmptyVideoListComponent = /*#__PURE__*/function (_Core$Component) {
|
|
199
|
-
_inherits(EmptyVideoListComponent, _Core$Component);
|
|
200
|
-
|
|
201
|
-
var _super = _createSuper(EmptyVideoListComponent);
|
|
202
|
-
|
|
203
|
-
function EmptyVideoListComponent(options) {
|
|
204
|
-
_classCallCheck(this, EmptyVideoListComponent);
|
|
205
|
-
|
|
206
|
-
return _super.call(this, options);
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
_createClass(EmptyVideoListComponent, [{
|
|
210
|
-
key: "viewOptions",
|
|
211
|
-
value: function viewOptions() {
|
|
212
|
-
return {
|
|
213
|
-
text: this.options.text
|
|
214
|
-
};
|
|
215
|
-
}
|
|
216
|
-
}, {
|
|
217
|
-
key: "name",
|
|
218
|
-
get: function get() {
|
|
219
|
-
return 'EmptyVideoListComponent';
|
|
220
|
-
}
|
|
221
|
-
}, {
|
|
222
|
-
key: "className",
|
|
223
|
-
get: function get() {
|
|
224
|
-
return "d-flex justify-content-center align-items-center text-muted p-5 ".concat(_empty_video_list_scss__WEBPACK_IMPORTED_MODULE_1__["videoList"]);
|
|
225
|
-
}
|
|
226
|
-
}, {
|
|
227
|
-
key: "template",
|
|
228
|
-
get: function get() {
|
|
229
|
-
return _EmptyVideoList_hbs__WEBPACK_IMPORTED_MODULE_2___default.a;
|
|
230
|
-
}
|
|
231
|
-
}]);
|
|
232
|
-
|
|
233
|
-
return EmptyVideoListComponent;
|
|
234
|
-
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].Component);
|
|
235
|
-
|
|
236
|
-
/***/ }),
|
|
237
|
-
|
|
238
|
-
/***/ "./src/apps/migration-wizard/components/empty-video-list/empty-video-list.scss":
|
|
239
|
-
/*!*************************************************************************************!*\
|
|
240
|
-
!*** ./src/apps/migration-wizard/components/empty-video-list/empty-video-list.scss ***!
|
|
241
|
-
\*************************************************************************************/
|
|
242
|
-
/*! no static exports found */
|
|
243
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
244
|
-
|
|
245
|
-
// extracted by mini-css-extract-plugin
|
|
246
|
-
module.exports = {"videoList":"cv--videoList--3TgUv"};
|
|
247
|
-
|
|
248
|
-
/***/ }),
|
|
249
|
-
|
|
250
|
-
/***/ "./src/apps/migration-wizard/components/generate-report-button/GenerateReportButton.hbs":
|
|
251
|
-
/*!**********************************************************************************************!*\
|
|
252
|
-
!*** ./src/apps/migration-wizard/components/generate-report-button/GenerateReportButton.hbs ***!
|
|
253
|
-
\**********************************************************************************************/
|
|
254
|
-
/*! no static exports found */
|
|
255
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
256
|
-
|
|
257
|
-
var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
|
|
258
|
-
module.exports = (Handlebars['default'] || Handlebars).template({"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
259
|
-
var stack1, alias1=container.propertyIsEnumerable, alias2=container.escapeExpression;
|
|
260
|
-
|
|
261
|
-
return "<div\r\n data-toggle=\"dropdown\"\r\n aria-haspopup=\"true\"\r\n aria-expanded=\"false\"\r\n class=\""
|
|
262
|
-
+ alias2(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.generateReport : stack1), depth0))
|
|
263
|
-
+ " mr-2\"\r\n>\r\n <div class=\"btn btn-link border px-2 my-2\">\r\n "
|
|
264
|
-
+ alias2((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"generateReport",{"name":"lang","hash":{},"data":data}))
|
|
265
|
-
+ "\r\n </div>\r\n</div>\r\n<div class=\"options-region\"></div>";
|
|
266
|
-
},"useData":true});
|
|
267
|
-
|
|
268
|
-
/***/ }),
|
|
269
|
-
|
|
270
|
-
/***/ "./src/apps/migration-wizard/components/generate-report-button/GenerateReportButtonComponent.ts":
|
|
271
|
-
/*!******************************************************************************************************!*\
|
|
272
|
-
!*** ./src/apps/migration-wizard/components/generate-report-button/GenerateReportButtonComponent.ts ***!
|
|
273
|
-
\******************************************************************************************************/
|
|
274
|
-
/*! exports provided: GenerateReportButtonComponent */
|
|
275
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
276
|
-
|
|
277
|
-
"use strict";
|
|
278
|
-
__webpack_require__.r(__webpack_exports__);
|
|
279
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GenerateReportButtonComponent", function() { return GenerateReportButtonComponent; });
|
|
280
|
-
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
281
|
-
/* harmony import */ var ___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./.. */ "./src/apps/migration-wizard/components/index.ts");
|
|
282
|
-
/* harmony import */ var _GenerateReportButton_hbs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./GenerateReportButton.hbs */ "./src/apps/migration-wizard/components/generate-report-button/GenerateReportButton.hbs");
|
|
283
|
-
/* harmony import */ var _GenerateReportButton_hbs__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_GenerateReportButton_hbs__WEBPACK_IMPORTED_MODULE_2__);
|
|
284
|
-
/* harmony import */ var _generate_report_button_scss__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./generate-report-button.scss */ "./src/apps/migration-wizard/components/generate-report-button/generate-report-button.scss");
|
|
285
|
-
/* harmony import */ var _generate_report_button_scss__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_generate_report_button_scss__WEBPACK_IMPORTED_MODULE_3__);
|
|
286
|
-
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); }
|
|
287
|
-
|
|
288
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
289
|
-
|
|
290
|
-
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); } }
|
|
291
|
-
|
|
292
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
293
|
-
|
|
294
|
-
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); }
|
|
295
|
-
|
|
296
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
297
|
-
|
|
298
|
-
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); }; }
|
|
299
|
-
|
|
300
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
301
|
-
|
|
302
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
303
|
-
|
|
304
|
-
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; } }
|
|
305
|
-
|
|
306
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
var GenerateReportButtonComponent = /*#__PURE__*/function (_Core$Component) {
|
|
313
|
-
_inherits(GenerateReportButtonComponent, _Core$Component);
|
|
314
|
-
|
|
315
|
-
var _super = _createSuper(GenerateReportButtonComponent);
|
|
316
|
-
|
|
317
|
-
function GenerateReportButtonComponent() {
|
|
318
|
-
_classCallCheck(this, GenerateReportButtonComponent);
|
|
319
|
-
|
|
320
|
-
return _super.apply(this, arguments);
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
_createClass(GenerateReportButtonComponent, [{
|
|
324
|
-
key: "regions",
|
|
325
|
-
value: function regions() {
|
|
326
|
-
return {
|
|
327
|
-
options: {
|
|
328
|
-
el: '.options-region',
|
|
329
|
-
replaceElement: true
|
|
330
|
-
}
|
|
331
|
-
};
|
|
332
|
-
}
|
|
333
|
-
}, {
|
|
334
|
-
key: "viewOptions",
|
|
335
|
-
value: function viewOptions() {
|
|
336
|
-
return {
|
|
337
|
-
styles: _generate_report_button_scss__WEBPACK_IMPORTED_MODULE_3___default.a
|
|
338
|
-
};
|
|
339
|
-
}
|
|
340
|
-
}, {
|
|
341
|
-
key: "onRender",
|
|
342
|
-
value: function onRender() {
|
|
343
|
-
this.showChildView('options', new ___WEBPACK_IMPORTED_MODULE_1__["GenerateReportComponent"]());
|
|
344
|
-
}
|
|
345
|
-
}, {
|
|
346
|
-
key: "name",
|
|
347
|
-
get: function get() {
|
|
348
|
-
return 'GenerateReportButtonComponent';
|
|
349
|
-
}
|
|
350
|
-
}, {
|
|
351
|
-
key: "template",
|
|
352
|
-
get: function get() {
|
|
353
|
-
return _GenerateReportButton_hbs__WEBPACK_IMPORTED_MODULE_2___default.a;
|
|
354
|
-
}
|
|
355
|
-
}, {
|
|
356
|
-
key: "lang",
|
|
357
|
-
get: function get() {
|
|
358
|
-
return 'migrationWizard.generateReportButton';
|
|
359
|
-
}
|
|
360
|
-
}]);
|
|
361
|
-
|
|
362
|
-
return GenerateReportButtonComponent;
|
|
363
|
-
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].Component);
|
|
364
|
-
|
|
365
|
-
/***/ }),
|
|
366
|
-
|
|
367
|
-
/***/ "./src/apps/migration-wizard/components/generate-report-button/generate-report-button.scss":
|
|
368
|
-
/*!*************************************************************************************************!*\
|
|
369
|
-
!*** ./src/apps/migration-wizard/components/generate-report-button/generate-report-button.scss ***!
|
|
370
|
-
\*************************************************************************************************/
|
|
371
|
-
/*! no static exports found */
|
|
372
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
373
|
-
|
|
374
|
-
// extracted by mini-css-extract-plugin
|
|
375
|
-
module.exports = {"generateReport":"cv--generateReport--2PRgW"};
|
|
376
|
-
|
|
377
|
-
/***/ }),
|
|
378
|
-
|
|
379
|
-
/***/ "./src/apps/migration-wizard/components/generate-report/GenerateReport.hbs":
|
|
380
|
-
/*!*********************************************************************************!*\
|
|
381
|
-
!*** ./src/apps/migration-wizard/components/generate-report/GenerateReport.hbs ***!
|
|
382
|
-
\*********************************************************************************/
|
|
383
|
-
/*! no static exports found */
|
|
384
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
385
|
-
|
|
386
|
-
var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
|
|
387
|
-
module.exports = (Handlebars['default'] || Handlebars).template({"1":function(container,depth0,helpers,partials,data) {
|
|
388
|
-
var alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression;
|
|
389
|
-
|
|
390
|
-
return " <div class=\"d-flex py-1\">\r\n <div class=\"custom-control custom-checkbox\">\r\n <input id=\""
|
|
391
|
-
+ alias3(alias2((depth0 != null ? depth0.id : depth0), depth0))
|
|
392
|
-
+ "-option\" name=\"checkbox-"
|
|
393
|
-
+ alias3(alias2((depth0 != null ? depth0.id : depth0), depth0))
|
|
394
|
-
+ "\" type=\"checkbox\" class=\"custom-control-input cursor-pointer\">\r\n <label class=\"custom-control-label cursor-pointer\" for=\""
|
|
395
|
-
+ alias3(alias2((depth0 != null ? depth0.id : depth0), depth0))
|
|
396
|
-
+ "-option\"> </label>\r\n </div>\r\n <label for=\""
|
|
397
|
-
+ alias3(alias2((depth0 != null ? depth0.id : depth0), depth0))
|
|
398
|
-
+ "-option\">"
|
|
399
|
-
+ alias3(alias2((depth0 != null ? depth0.labelText : depth0), depth0))
|
|
400
|
-
+ "</label>\r\n </div> \r\n";
|
|
401
|
-
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
402
|
-
var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {}), alias3=container.hooks.helperMissing, alias4=container.escapeExpression;
|
|
403
|
-
|
|
404
|
-
return "<h1 class=\"h5 py-1 mx-2\">"
|
|
405
|
-
+ alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"heading",{"name":"lang","hash":{},"data":data}))
|
|
406
|
-
+ "</h1>\r\n<div class=\"dropdown-divider\"></div>\r\n<p class=\"m-2 mt-0\">"
|
|
407
|
-
+ alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"options",{"name":"lang","hash":{},"data":data}))
|
|
408
|
-
+ "</p>\r\n\r\n<div class=\"mx-2 options\">\r\n"
|
|
409
|
-
+ ((stack1 = helpers.each.call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.reportOptions : stack1),{"name":"each","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
410
|
-
+ "</div>\r\n\r\n<div class=\"dropdown-divider\"></div>\r\n<div class=\"mr-3\">\r\n <button class=\"btn btn-primary w-100 mx-2 generate-report\" disabled>"
|
|
411
|
-
+ alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"generate",{"name":"lang","hash":{},"data":data}))
|
|
412
|
-
+ "</button>\r\n</div>";
|
|
413
|
-
},"useData":true});
|
|
414
|
-
|
|
415
|
-
/***/ }),
|
|
416
|
-
|
|
417
|
-
/***/ "./src/apps/migration-wizard/components/generate-report/GenerateReportComponent.ts":
|
|
418
|
-
/*!*****************************************************************************************!*\
|
|
419
|
-
!*** ./src/apps/migration-wizard/components/generate-report/GenerateReportComponent.ts ***!
|
|
420
|
-
\*****************************************************************************************/
|
|
421
|
-
/*! exports provided: GenerateReportComponent */
|
|
422
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
423
|
-
|
|
424
|
-
"use strict";
|
|
425
|
-
__webpack_require__.r(__webpack_exports__);
|
|
426
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GenerateReportComponent", function() { return GenerateReportComponent; });
|
|
427
|
-
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
428
|
-
/* harmony import */ var _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/services/InstanceManager */ "../../libs/common/src/backbone/services/InstanceManager.ts");
|
|
429
|
-
/* harmony import */ var _shared_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../shared/constants */ "./src/shared/constants/index.ts");
|
|
430
|
-
/* harmony import */ var _utils_ReportHelper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/ReportHelper */ "./src/apps/migration-wizard/utils/ReportHelper.ts");
|
|
431
|
-
/* harmony import */ var _enums__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../enums */ "./src/apps/migration-wizard/enums/index.ts");
|
|
432
|
-
/* harmony import */ var _GenerateReport_hbs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./GenerateReport.hbs */ "./src/apps/migration-wizard/components/generate-report/GenerateReport.hbs");
|
|
433
|
-
/* harmony import */ var _GenerateReport_hbs__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_GenerateReport_hbs__WEBPACK_IMPORTED_MODULE_5__);
|
|
434
|
-
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); }
|
|
435
|
-
|
|
436
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
437
|
-
|
|
438
|
-
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); } }
|
|
439
|
-
|
|
440
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
441
|
-
|
|
442
|
-
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); }
|
|
443
|
-
|
|
444
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
445
|
-
|
|
446
|
-
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); }; }
|
|
447
|
-
|
|
448
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
449
|
-
|
|
450
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
451
|
-
|
|
452
|
-
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; } }
|
|
453
|
-
|
|
454
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
var GenerateReportComponent = /*#__PURE__*/function (_Core$Component) {
|
|
463
|
-
_inherits(GenerateReportComponent, _Core$Component);
|
|
464
|
-
|
|
465
|
-
var _super = _createSuper(GenerateReportComponent);
|
|
466
|
-
|
|
467
|
-
function GenerateReportComponent() {
|
|
468
|
-
var _this;
|
|
469
|
-
|
|
470
|
-
_classCallCheck(this, GenerateReportComponent);
|
|
471
|
-
|
|
472
|
-
_this = _super.apply(this, arguments);
|
|
473
|
-
_this.buttonDisabled = true;
|
|
474
|
-
return _this;
|
|
475
|
-
}
|
|
476
|
-
|
|
477
|
-
_createClass(GenerateReportComponent, [{
|
|
478
|
-
key: "initialize",
|
|
479
|
-
value: function initialize() {
|
|
480
|
-
this.migrationVideoDataService = _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_1__["InstanceManager"].getInstance(_shared_constants__WEBPACK_IMPORTED_MODULE_2__["DataServices"].MigrationVideo, this);
|
|
481
|
-
this.bindListeners();
|
|
482
|
-
}
|
|
483
|
-
}, {
|
|
484
|
-
key: "events",
|
|
485
|
-
value: function events() {
|
|
486
|
-
return {
|
|
487
|
-
'click .options': 'onClickOptionsContainer',
|
|
488
|
-
'change #migrated-option': 'onToggleMigratedOption',
|
|
489
|
-
'change #remaining-option': 'onToggleRemainingOption',
|
|
490
|
-
'change #errored-option': 'onToggleErroredOption',
|
|
491
|
-
'change #content-matched-option': 'onToggleContentMatchedOption',
|
|
492
|
-
'click .generate-report': 'onClickSubmit'
|
|
493
|
-
};
|
|
494
|
-
}
|
|
495
|
-
}, {
|
|
496
|
-
key: "bindListeners",
|
|
497
|
-
value: function bindListeners() {
|
|
498
|
-
this.listenTo(_shared_constants__WEBPACK_IMPORTED_MODULE_2__["DataChannels"].MIGRATION, 'get:migration:report:options', this.render);
|
|
499
|
-
}
|
|
500
|
-
}, {
|
|
501
|
-
key: "onClickOptionsContainer",
|
|
502
|
-
value: function onClickOptionsContainer(e) {
|
|
503
|
-
e.stopPropagation();
|
|
504
|
-
}
|
|
505
|
-
}, {
|
|
506
|
-
key: "onToggleMigratedOption",
|
|
507
|
-
value: function onToggleMigratedOption() {
|
|
508
|
-
var option = this.reportOptions[_enums__WEBPACK_IMPORTED_MODULE_4__["MigrationReportType"].Migrated];
|
|
509
|
-
option.selected = !option.selected;
|
|
510
|
-
this.updateButton();
|
|
511
|
-
}
|
|
512
|
-
}, {
|
|
513
|
-
key: "onToggleRemainingOption",
|
|
514
|
-
value: function onToggleRemainingOption() {
|
|
515
|
-
var option = this.reportOptions[_enums__WEBPACK_IMPORTED_MODULE_4__["MigrationReportType"].Remaining];
|
|
516
|
-
option.selected = !option.selected;
|
|
517
|
-
this.updateButton();
|
|
518
|
-
}
|
|
519
|
-
}, {
|
|
520
|
-
key: "onToggleErroredOption",
|
|
521
|
-
value: function onToggleErroredOption() {
|
|
522
|
-
var option = this.reportOptions[_enums__WEBPACK_IMPORTED_MODULE_4__["MigrationReportType"].Errored];
|
|
523
|
-
option.selected = !option.selected;
|
|
524
|
-
this.updateButton();
|
|
525
|
-
}
|
|
526
|
-
}, {
|
|
527
|
-
key: "onToggleContentMatchedOption",
|
|
528
|
-
value: function onToggleContentMatchedOption() {
|
|
529
|
-
var option = this.reportOptions[_enums__WEBPACK_IMPORTED_MODULE_4__["MigrationReportType"].ContentMatched];
|
|
530
|
-
option.selected = !option.selected;
|
|
531
|
-
this.updateButton();
|
|
532
|
-
}
|
|
533
|
-
}, {
|
|
534
|
-
key: "onClickSubmit",
|
|
535
|
-
value: function onClickSubmit() {
|
|
536
|
-
if (this.buttonDisabled) return;
|
|
537
|
-
_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].AppLinkHelper.trigger({
|
|
538
|
-
application: _shared_constants__WEBPACK_IMPORTED_MODULE_2__["AppChannels"].MIGRATION_WIZARD,
|
|
539
|
-
action: _shared_constants__WEBPACK_IMPORTED_MODULE_2__["Actions"].MigrationWizard.GENERATE_CSV_REPORT,
|
|
540
|
-
params: {
|
|
541
|
-
options: _utils_ReportHelper__WEBPACK_IMPORTED_MODULE_3__["ReportHelper"].filterSelectedOptions(this.reportOptions)
|
|
542
|
-
}
|
|
543
|
-
});
|
|
544
|
-
}
|
|
545
|
-
}, {
|
|
546
|
-
key: "updateButton",
|
|
547
|
-
value: function updateButton() {
|
|
548
|
-
var button = this.getUI('generateReportBtn');
|
|
549
|
-
|
|
550
|
-
if (_utils_ReportHelper__WEBPACK_IMPORTED_MODULE_3__["ReportHelper"].filterSelectedOptions(this.reportOptions).length) {
|
|
551
|
-
this.buttonDisabled = false;
|
|
552
|
-
button.removeAttr('disabled');
|
|
553
|
-
} else {
|
|
554
|
-
this.buttonDisabled = true;
|
|
555
|
-
button.attr('disabled', 'disabled');
|
|
556
|
-
}
|
|
557
|
-
}
|
|
558
|
-
}, {
|
|
559
|
-
key: "fetchMigrationReportOptions",
|
|
560
|
-
value: function fetchMigrationReportOptions() {
|
|
561
|
-
var _this2 = this;
|
|
562
|
-
|
|
563
|
-
this.migrationVideoDataService.getMigrationReportOptions(function (options) {
|
|
564
|
-
_this2.reportOptions = _utils_ReportHelper__WEBPACK_IMPORTED_MODULE_3__["ReportHelper"].processValidReportOptions(options);
|
|
565
|
-
|
|
566
|
-
_this2.render();
|
|
567
|
-
});
|
|
568
|
-
}
|
|
569
|
-
}, {
|
|
570
|
-
key: "viewOptions",
|
|
571
|
-
value: function viewOptions() {
|
|
572
|
-
return {
|
|
573
|
-
reportOptions: this.reportOptions
|
|
574
|
-
};
|
|
575
|
-
}
|
|
576
|
-
}, {
|
|
577
|
-
key: "onRender",
|
|
578
|
-
value: function onRender() {
|
|
579
|
-
if (!this.reportOptions) {
|
|
580
|
-
this.fetchMigrationReportOptions();
|
|
581
|
-
return;
|
|
582
|
-
}
|
|
583
|
-
}
|
|
584
|
-
}, {
|
|
585
|
-
key: "name",
|
|
586
|
-
get: function get() {
|
|
587
|
-
return 'GenerateReportComponent';
|
|
588
|
-
}
|
|
589
|
-
}, {
|
|
590
|
-
key: "template",
|
|
591
|
-
get: function get() {
|
|
592
|
-
return _GenerateReport_hbs__WEBPACK_IMPORTED_MODULE_5___default.a;
|
|
593
|
-
}
|
|
594
|
-
}, {
|
|
595
|
-
key: "className",
|
|
596
|
-
get: function get() {
|
|
597
|
-
return 'dropdown-menu dropdown-menu-right dropdown-arrow';
|
|
598
|
-
}
|
|
599
|
-
}, {
|
|
600
|
-
key: "lang",
|
|
601
|
-
get: function get() {
|
|
602
|
-
return 'migrationWizard.generateReport';
|
|
603
|
-
}
|
|
604
|
-
}, {
|
|
605
|
-
key: "elements",
|
|
606
|
-
get: function get() {
|
|
607
|
-
return {
|
|
608
|
-
generateReportBtn: '.generate-report'
|
|
609
|
-
};
|
|
610
|
-
}
|
|
611
|
-
}]);
|
|
612
|
-
|
|
613
|
-
return GenerateReportComponent;
|
|
614
|
-
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].Component);
|
|
615
|
-
|
|
616
|
-
/***/ }),
|
|
617
|
-
|
|
618
|
-
/***/ "./src/apps/migration-wizard/components/index.ts":
|
|
619
|
-
/*!*******************************************************!*\
|
|
620
|
-
!*** ./src/apps/migration-wizard/components/index.ts ***!
|
|
621
|
-
\*******************************************************/
|
|
622
|
-
/*! exports provided: SearchBarComponent, SortingRowComponent, StatusBarComponent, MigrationVideoItemComponent, VideoListCollection, VideoListCollectionComponent, BannerComponent, SelectedVideoItemComponent, EmptyVideoListComponent, ProgressBarComponent, ProgressCircleComponent, GenerateReportComponent, GenerateReportButtonComponent */
|
|
623
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
624
|
-
|
|
625
|
-
"use strict";
|
|
626
|
-
__webpack_require__.r(__webpack_exports__);
|
|
627
|
-
/* harmony import */ var _search_bar_SearchBarComponent__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./search-bar/SearchBarComponent */ "./src/apps/migration-wizard/components/search-bar/SearchBarComponent.ts");
|
|
628
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SearchBarComponent", function() { return _search_bar_SearchBarComponent__WEBPACK_IMPORTED_MODULE_0__["SearchBarComponent"]; });
|
|
629
|
-
|
|
630
|
-
/* harmony import */ var _sorting_row_SortingRowComponent__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./sorting-row/SortingRowComponent */ "./src/apps/migration-wizard/components/sorting-row/SortingRowComponent.ts");
|
|
631
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SortingRowComponent", function() { return _sorting_row_SortingRowComponent__WEBPACK_IMPORTED_MODULE_1__["SortingRowComponent"]; });
|
|
632
|
-
|
|
633
|
-
/* harmony import */ var _status_bar_StatusBarComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./status-bar/StatusBarComponent */ "./src/apps/migration-wizard/components/status-bar/StatusBarComponent.ts");
|
|
634
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "StatusBarComponent", function() { return _status_bar_StatusBarComponent__WEBPACK_IMPORTED_MODULE_2__["StatusBarComponent"]; });
|
|
635
|
-
|
|
636
|
-
/* harmony import */ var _migration_video_item_MigrationVideoItemComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./migration-video-item/MigrationVideoItemComponent */ "./src/apps/migration-wizard/components/migration-video-item/MigrationVideoItemComponent.ts");
|
|
637
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MigrationVideoItemComponent", function() { return _migration_video_item_MigrationVideoItemComponent__WEBPACK_IMPORTED_MODULE_3__["MigrationVideoItemComponent"]; });
|
|
638
|
-
|
|
639
|
-
/* harmony import */ var _video_list_VideoListCollection__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./video-list/VideoListCollection */ "./src/apps/migration-wizard/components/video-list/VideoListCollection.ts");
|
|
640
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "VideoListCollection", function() { return _video_list_VideoListCollection__WEBPACK_IMPORTED_MODULE_4__["VideoListCollection"]; });
|
|
641
|
-
|
|
642
|
-
/* harmony import */ var _video_list_collection_VideoListCollectionComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./video-list-collection/VideoListCollectionComponent */ "./src/apps/migration-wizard/components/video-list-collection/VideoListCollectionComponent.ts");
|
|
643
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "VideoListCollectionComponent", function() { return _video_list_collection_VideoListCollectionComponent__WEBPACK_IMPORTED_MODULE_5__["VideoListCollectionComponent"]; });
|
|
644
|
-
|
|
645
|
-
/* harmony import */ var _banner_BannerComponent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./banner/BannerComponent */ "./src/apps/migration-wizard/components/banner/BannerComponent.ts");
|
|
646
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "BannerComponent", function() { return _banner_BannerComponent__WEBPACK_IMPORTED_MODULE_6__["BannerComponent"]; });
|
|
647
|
-
|
|
648
|
-
/* harmony import */ var _selected_video_item_SelectedVideoItemComponent__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./selected-video-item/SelectedVideoItemComponent */ "./src/apps/migration-wizard/components/selected-video-item/SelectedVideoItemComponent.ts");
|
|
649
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SelectedVideoItemComponent", function() { return _selected_video_item_SelectedVideoItemComponent__WEBPACK_IMPORTED_MODULE_7__["SelectedVideoItemComponent"]; });
|
|
650
|
-
|
|
651
|
-
/* harmony import */ var _empty_video_list_EmptyVideoListComponent__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./empty-video-list/EmptyVideoListComponent */ "./src/apps/migration-wizard/components/empty-video-list/EmptyVideoListComponent.ts");
|
|
652
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "EmptyVideoListComponent", function() { return _empty_video_list_EmptyVideoListComponent__WEBPACK_IMPORTED_MODULE_8__["EmptyVideoListComponent"]; });
|
|
653
|
-
|
|
654
|
-
/* harmony import */ var _progress_bar_ProgressBarComponent__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./progress-bar/ProgressBarComponent */ "./src/apps/migration-wizard/components/progress-bar/ProgressBarComponent.ts");
|
|
655
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ProgressBarComponent", function() { return _progress_bar_ProgressBarComponent__WEBPACK_IMPORTED_MODULE_9__["ProgressBarComponent"]; });
|
|
656
|
-
|
|
657
|
-
/* harmony import */ var _progress_circle_ProgressCircleComponent__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./progress-circle/ProgressCircleComponent */ "./src/apps/migration-wizard/components/progress-circle/ProgressCircleComponent.ts");
|
|
658
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ProgressCircleComponent", function() { return _progress_circle_ProgressCircleComponent__WEBPACK_IMPORTED_MODULE_10__["ProgressCircleComponent"]; });
|
|
659
|
-
|
|
660
|
-
/* harmony import */ var _generate_report_GenerateReportComponent__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./generate-report/GenerateReportComponent */ "./src/apps/migration-wizard/components/generate-report/GenerateReportComponent.ts");
|
|
661
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "GenerateReportComponent", function() { return _generate_report_GenerateReportComponent__WEBPACK_IMPORTED_MODULE_11__["GenerateReportComponent"]; });
|
|
662
|
-
|
|
663
|
-
/* harmony import */ var _generate_report_button_GenerateReportButtonComponent__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./generate-report-button/GenerateReportButtonComponent */ "./src/apps/migration-wizard/components/generate-report-button/GenerateReportButtonComponent.ts");
|
|
664
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "GenerateReportButtonComponent", function() { return _generate_report_button_GenerateReportButtonComponent__WEBPACK_IMPORTED_MODULE_12__["GenerateReportButtonComponent"]; });
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
/***/ }),
|
|
681
|
-
|
|
682
|
-
/***/ "./src/apps/migration-wizard/components/migration-video-item/MigrationVideoItem.hbs":
|
|
683
|
-
/*!******************************************************************************************!*\
|
|
684
|
-
!*** ./src/apps/migration-wizard/components/migration-video-item/MigrationVideoItem.hbs ***!
|
|
685
|
-
\******************************************************************************************/
|
|
686
|
-
/*! no static exports found */
|
|
687
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
688
|
-
|
|
689
|
-
var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
|
|
690
|
-
module.exports = (Handlebars['default'] || Handlebars).template({"1":function(container,depth0,helpers,partials,data) {
|
|
691
|
-
return "text-muted";
|
|
692
|
-
},"3":function(container,depth0,helpers,partials,data) {
|
|
693
|
-
var stack1, alias1=container.propertyIsEnumerable, alias2=container.escapeExpression;
|
|
694
|
-
|
|
695
|
-
return " <a class=\"applink-remigrate cursor-pointer "
|
|
696
|
-
+ alias2(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.viewLink : stack1), depth0))
|
|
697
|
-
+ "\">"
|
|
698
|
-
+ alias2((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"readd",{"name":"lang","hash":{},"data":data}))
|
|
699
|
-
+ "</a>\r\n";
|
|
700
|
-
},"5":function(container,depth0,helpers,partials,data) {
|
|
701
|
-
var stack1, alias1=container.propertyIsEnumerable, alias2=container.escapeExpression;
|
|
702
|
-
|
|
703
|
-
return " <a class=\"applink-show cursor-pointer "
|
|
704
|
-
+ alias2(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.viewLink : stack1), depth0))
|
|
705
|
-
+ "\">"
|
|
706
|
-
+ alias2((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"details",{"name":"lang","hash":{},"data":data}))
|
|
707
|
-
+ "</a>\r\n";
|
|
708
|
-
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
709
|
-
var stack1, helper, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression, alias4=depth0 != null ? depth0 : (container.nullContext || {}), alias5=container.hooks.helperMissing;
|
|
710
|
-
|
|
711
|
-
return "<div class=\"row no-gutters\">\r\n <div class=\"col-8\">\r\n <div class=\"bulk-checkbox-region "
|
|
712
|
-
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.bulkCheckbox : stack1), depth0))
|
|
713
|
-
+ "\"></div>\r\n <a class=\"applink-show align-middle cursor-pointer mt-2 "
|
|
714
|
-
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.videoTitle : stack1), depth0))
|
|
715
|
-
+ " "
|
|
716
|
-
+ ((stack1 = helpers["if"].call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.migrated : stack1),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
717
|
-
+ "\">"
|
|
718
|
-
+ alias3(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : alias5),(typeof helper === "function" ? helper.call(alias4,{"name":"name","hash":{},"data":data}) : helper)))
|
|
719
|
-
+ "</a>\r\n </div>\r\n <div class=\"col-4 position-static\">\r\n <div class=\"row no-gutters\">\r\n <div class=\"col-11 text-right pr-2\">\r\n"
|
|
720
|
-
+ ((stack1 = helpers["if"].call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.migrated : stack1),{"name":"if","hash":{},"fn":container.program(3, data, 0),"inverse":container.program(5, data, 0),"data":data})) != null ? stack1 : "")
|
|
721
|
-
+ " <div class=\""
|
|
722
|
-
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.viewCount : stack1), depth0))
|
|
723
|
-
+ "\">\r\n <span>\r\n "
|
|
724
|
-
+ alias3((helpers.lang||(depth0 && depth0.lang)||alias5).call(alias4,"views",{"name":"lang","hash":{"smartCount":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.views : stack1)},"data":data}))
|
|
725
|
-
+ "\r\n </span>\r\n </div>\r\n </div>\r\n <div class=\"col-1 d-flex justify-content-center position-static\">\r\n <div class=\"error-code-region\"></div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>";
|
|
726
|
-
},"useData":true});
|
|
727
|
-
|
|
728
|
-
/***/ }),
|
|
729
|
-
|
|
730
|
-
/***/ "./src/apps/migration-wizard/components/migration-video-item/MigrationVideoItemComponent.ts":
|
|
731
|
-
/*!**************************************************************************************************!*\
|
|
732
|
-
!*** ./src/apps/migration-wizard/components/migration-video-item/MigrationVideoItemComponent.ts ***!
|
|
733
|
-
\**************************************************************************************************/
|
|
734
|
-
/*! exports provided: MigrationVideoItemComponent */
|
|
735
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
736
|
-
|
|
737
|
-
"use strict";
|
|
738
|
-
__webpack_require__.r(__webpack_exports__);
|
|
739
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MigrationVideoItemComponent", function() { return MigrationVideoItemComponent; });
|
|
740
|
-
/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! underscore */ "underscore");
|
|
741
|
-
/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(underscore__WEBPACK_IMPORTED_MODULE_0__);
|
|
742
|
-
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
743
|
-
/* 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");
|
|
744
|
-
/* harmony import */ var _migration_video_item_scss__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./migration-video-item.scss */ "./src/apps/migration-wizard/components/migration-video-item/migration-video-item.scss");
|
|
745
|
-
/* harmony import */ var _migration_video_item_scss__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_migration_video_item_scss__WEBPACK_IMPORTED_MODULE_3__);
|
|
746
|
-
/* harmony import */ var _MigrationVideoItem_hbs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./MigrationVideoItem.hbs */ "./src/apps/migration-wizard/components/migration-video-item/MigrationVideoItem.hbs");
|
|
747
|
-
/* harmony import */ var _MigrationVideoItem_hbs__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_MigrationVideoItem_hbs__WEBPACK_IMPORTED_MODULE_4__);
|
|
748
|
-
/* harmony import */ var _shared_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../shared/utils */ "./src/shared/utils/index.ts");
|
|
749
|
-
/* harmony import */ var _shared_components_checkbox_CheckboxComponent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../shared/components/checkbox/CheckboxComponent */ "./src/shared/components/checkbox/CheckboxComponent.ts");
|
|
750
|
-
/* harmony import */ var _shared_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../shared/constants */ "./src/shared/constants/index.ts");
|
|
751
|
-
/* harmony import */ var _library_editor_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../library-editor/constants */ "./src/apps/library-editor/constants/index.ts");
|
|
752
|
-
/* harmony import */ var _enums_VideoMigrationStatus__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../enums/VideoMigrationStatus */ "./src/apps/migration-wizard/enums/VideoMigrationStatus.ts");
|
|
753
|
-
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); }
|
|
754
|
-
|
|
755
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
756
|
-
|
|
757
|
-
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); } }
|
|
758
|
-
|
|
759
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
760
|
-
|
|
761
|
-
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); }
|
|
762
|
-
|
|
763
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
764
|
-
|
|
765
|
-
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); }; }
|
|
766
|
-
|
|
767
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
768
|
-
|
|
769
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
770
|
-
|
|
771
|
-
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; } }
|
|
772
|
-
|
|
773
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
var MigrationVideoItemComponent = /*#__PURE__*/function (_Core$Component) {
|
|
786
|
-
_inherits(MigrationVideoItemComponent, _Core$Component);
|
|
787
|
-
|
|
788
|
-
var _super = _createSuper(MigrationVideoItemComponent);
|
|
789
|
-
|
|
790
|
-
function MigrationVideoItemComponent(options) {
|
|
791
|
-
_classCallCheck(this, MigrationVideoItemComponent);
|
|
792
|
-
|
|
793
|
-
return _super.call(this, options);
|
|
794
|
-
}
|
|
795
|
-
|
|
796
|
-
_createClass(MigrationVideoItemComponent, [{
|
|
797
|
-
key: "initialize",
|
|
798
|
-
value: function initialize() {
|
|
799
|
-
this.viewModel = _shared_utils__WEBPACK_IMPORTED_MODULE_5__["BulkCheckboxHelper"].GetViewModel(this.getCheckboxKey(), _library_editor_constants__WEBPACK_IMPORTED_MODULE_8__["CheckboxTypes"].MIGRATION_VIDEO_LIST);
|
|
800
|
-
this.selectedVideoService = _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_2__["InstanceManager"].getInstance(_shared_constants__WEBPACK_IMPORTED_MODULE_7__["Services"].SelectedVideo, this);
|
|
801
|
-
this.bindListeners();
|
|
802
|
-
}
|
|
803
|
-
}, {
|
|
804
|
-
key: "bindListeners",
|
|
805
|
-
value: function bindListeners() {
|
|
806
|
-
this.listenTo(this.viewModel, "change:".concat(this.getCheckboxId()), this.onCheckboxChange);
|
|
807
|
-
}
|
|
808
|
-
}, {
|
|
809
|
-
key: "regions",
|
|
810
|
-
value: function regions() {
|
|
811
|
-
return {
|
|
812
|
-
bulkCheckbox: {
|
|
813
|
-
replaceElement: true,
|
|
814
|
-
el: '.bulk-checkbox-region'
|
|
815
|
-
},
|
|
816
|
-
errorCode: {
|
|
817
|
-
replaceElement: true,
|
|
818
|
-
el: '.error-code-region'
|
|
819
|
-
}
|
|
820
|
-
};
|
|
821
|
-
}
|
|
822
|
-
}, {
|
|
823
|
-
key: "hasBeenMigrated",
|
|
824
|
-
value: function hasBeenMigrated() {
|
|
825
|
-
return this.model.get('migrationStatus') !== _enums_VideoMigrationStatus__WEBPACK_IMPORTED_MODULE_9__["VideoMigrationStatus"].HasNotBeenMigrated;
|
|
826
|
-
}
|
|
827
|
-
}, {
|
|
828
|
-
key: "getCheckboxKey",
|
|
829
|
-
value: function getCheckboxKey() {
|
|
830
|
-
return this.options.searchTerm || this.model.get('categoryChord');
|
|
831
|
-
}
|
|
832
|
-
}, {
|
|
833
|
-
key: "getCheckboxId",
|
|
834
|
-
value: function getCheckboxId() {
|
|
835
|
-
return this.model.get('id');
|
|
836
|
-
}
|
|
837
|
-
}, {
|
|
838
|
-
key: "onCheckboxChange",
|
|
839
|
-
value: function onCheckboxChange() {
|
|
840
|
-
if (this.hasBeenMigrated()) return;
|
|
841
|
-
var checked = this.viewModel.get("".concat(this.getCheckboxId()));
|
|
842
|
-
if (checked) this.selectedVideoService.addSelectedVideos(this.model, this.options.folderChord);else if (!underscore__WEBPACK_IMPORTED_MODULE_0__["isUndefined"](checked)) this.selectedVideoService.removeSelectedVideos(this.model, this.options.folderChord);
|
|
843
|
-
}
|
|
844
|
-
}, {
|
|
845
|
-
key: "shouldRender",
|
|
846
|
-
value: function shouldRender() {
|
|
847
|
-
return !this.model.get('hidden');
|
|
848
|
-
}
|
|
849
|
-
}, {
|
|
850
|
-
key: "renderCheckbox",
|
|
851
|
-
value: function renderCheckbox() {
|
|
852
|
-
var migrated = this.hasBeenMigrated();
|
|
853
|
-
var checkboxClassName = migrated ? " ".concat(_migration_video_item_scss__WEBPACK_IMPORTED_MODULE_3___default.a.faded) : '';
|
|
854
|
-
var checked = this.model.get('selected') || this.model.get('checkedForMigration') || migrated;
|
|
855
|
-
this.showChildView('bulkCheckbox', new _shared_components_checkbox_CheckboxComponent__WEBPACK_IMPORTED_MODULE_6__["CheckboxComponent"]({
|
|
856
|
-
checked: checked,
|
|
857
|
-
checkboxClassName: checkboxClassName,
|
|
858
|
-
disabled: migrated,
|
|
859
|
-
key: this.getCheckboxKey(),
|
|
860
|
-
itemId: this.getCheckboxId(),
|
|
861
|
-
type: _library_editor_constants__WEBPACK_IMPORTED_MODULE_8__["CheckboxTypes"].MIGRATION_VIDEO_LIST,
|
|
862
|
-
className: "".concat(_migration_video_item_scss__WEBPACK_IMPORTED_MODULE_3___default.a.bulkCheckbox, " position-relative d-inline-block")
|
|
863
|
-
}));
|
|
864
|
-
}
|
|
865
|
-
}, {
|
|
866
|
-
key: "onBeforeRender",
|
|
867
|
-
value: function onBeforeRender() {
|
|
868
|
-
return this.shouldRender();
|
|
869
|
-
}
|
|
870
|
-
}, {
|
|
871
|
-
key: "viewOptions",
|
|
872
|
-
value: function viewOptions() {
|
|
873
|
-
return Object.assign(Object.assign({
|
|
874
|
-
styles: _migration_video_item_scss__WEBPACK_IMPORTED_MODULE_3___default.a
|
|
875
|
-
}, this.options), {
|
|
876
|
-
migrated: this.hasBeenMigrated(),
|
|
877
|
-
views: this.model.get('viewsLast3Years')
|
|
878
|
-
});
|
|
879
|
-
}
|
|
880
|
-
}, {
|
|
881
|
-
key: "onRender",
|
|
882
|
-
value: function onRender() {
|
|
883
|
-
this.renderCheckbox();
|
|
884
|
-
}
|
|
885
|
-
}, {
|
|
886
|
-
key: "template",
|
|
887
|
-
get: function get() {
|
|
888
|
-
return _MigrationVideoItem_hbs__WEBPACK_IMPORTED_MODULE_4___default.a;
|
|
889
|
-
}
|
|
890
|
-
}, {
|
|
891
|
-
key: "name",
|
|
892
|
-
get: function get() {
|
|
893
|
-
return 'MigrationVideoItemComponent';
|
|
894
|
-
}
|
|
895
|
-
}, {
|
|
896
|
-
key: "className",
|
|
897
|
-
get: function get() {
|
|
898
|
-
if (!this.shouldRender()) return;
|
|
899
|
-
return "col-12 py-1 ".concat(_migration_video_item_scss__WEBPACK_IMPORTED_MODULE_3___default.a.videoRow);
|
|
900
|
-
}
|
|
901
|
-
}, {
|
|
902
|
-
key: "lang",
|
|
903
|
-
get: function get() {
|
|
904
|
-
return 'migrationWizard.migrationVideoItem';
|
|
905
|
-
}
|
|
906
|
-
}, {
|
|
907
|
-
key: "appLinks",
|
|
908
|
-
get: function get() {
|
|
909
|
-
return {
|
|
910
|
-
'.applink-show': {
|
|
911
|
-
application: _shared_constants__WEBPACK_IMPORTED_MODULE_7__["AppChannels"].MIGRATION_WIZARD,
|
|
912
|
-
action: _shared_constants__WEBPACK_IMPORTED_MODULE_7__["Actions"].MigrationWizard.SHOW_PUBLISHER_VIDEO,
|
|
913
|
-
args: [this.model.get('trackingCode')]
|
|
914
|
-
},
|
|
915
|
-
'.applink-remigrate': {
|
|
916
|
-
application: _shared_constants__WEBPACK_IMPORTED_MODULE_7__["AppChannels"].MIGRATION_WIZARD,
|
|
917
|
-
action: _shared_constants__WEBPACK_IMPORTED_MODULE_7__["Actions"].MigrationWizard.REMIGRATE_VIDEO,
|
|
918
|
-
args: [this.model.get('id').toString(), this.model.get('masterId') && this.model.get('masterId').toString(), this.model.get('categoryChord')]
|
|
919
|
-
}
|
|
920
|
-
};
|
|
921
|
-
}
|
|
922
|
-
}]);
|
|
923
|
-
|
|
924
|
-
return MigrationVideoItemComponent;
|
|
925
|
-
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__["Core"].Component);
|
|
926
|
-
|
|
927
|
-
/***/ }),
|
|
928
|
-
|
|
929
|
-
/***/ "./src/apps/migration-wizard/components/progress-bar/ProgressBar.hbs":
|
|
930
|
-
/*!***************************************************************************!*\
|
|
931
|
-
!*** ./src/apps/migration-wizard/components/progress-bar/ProgressBar.hbs ***!
|
|
932
|
-
\***************************************************************************/
|
|
933
|
-
/*! no static exports found */
|
|
934
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
935
|
-
|
|
936
|
-
var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
|
|
937
|
-
module.exports = (Handlebars['default'] || Handlebars).template({"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
938
|
-
var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression;
|
|
939
|
-
|
|
940
|
-
return "<div class=\"row\">\r\n <div class=\"col-11 "
|
|
941
|
-
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.progressBarContainter : stack1), depth0))
|
|
942
|
-
+ " pl-0\">\r\n <div class=\"progress "
|
|
943
|
-
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.progressBar : stack1), depth0))
|
|
944
|
-
+ "\">\r\n <div class=\"progress-bar "
|
|
945
|
-
+ alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.background : stack1), depth0))
|
|
946
|
-
+ " "
|
|
947
|
-
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.progressBar : stack1), depth0))
|
|
948
|
-
+ "\" role=\"progressbar\" aria-valuenow=\""
|
|
949
|
-
+ alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.progress : stack1), depth0))
|
|
950
|
-
+ "\" aria-valuemin=\"0\" aria-valuemax=\"100\"></div>\r\n </div>\r\n </div>\r\n <div class=\"col-1 pr-0\">\r\n <span class=\"float-right progress-text\">"
|
|
951
|
-
+ alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.progress : stack1), depth0))
|
|
952
|
-
+ "%</span>\r\n </div>\r\n</div>\r\n\r\n";
|
|
953
|
-
},"useData":true});
|
|
954
|
-
|
|
955
|
-
/***/ }),
|
|
956
|
-
|
|
957
|
-
/***/ "./src/apps/migration-wizard/components/progress-bar/ProgressBarComponent.ts":
|
|
958
|
-
/*!***********************************************************************************!*\
|
|
959
|
-
!*** ./src/apps/migration-wizard/components/progress-bar/ProgressBarComponent.ts ***!
|
|
960
|
-
\***********************************************************************************/
|
|
961
|
-
/*! exports provided: ProgressBarComponent */
|
|
962
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
963
|
-
|
|
964
|
-
"use strict";
|
|
965
|
-
__webpack_require__.r(__webpack_exports__);
|
|
966
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ProgressBarComponent", function() { return ProgressBarComponent; });
|
|
967
|
-
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
968
|
-
/* harmony import */ var _progress_bar_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./progress-bar.scss */ "./src/apps/migration-wizard/components/progress-bar/progress-bar.scss");
|
|
969
|
-
/* harmony import */ var _progress_bar_scss__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_progress_bar_scss__WEBPACK_IMPORTED_MODULE_1__);
|
|
970
|
-
/* harmony import */ var _ProgressBar_hbs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./ProgressBar.hbs */ "./src/apps/migration-wizard/components/progress-bar/ProgressBar.hbs");
|
|
971
|
-
/* harmony import */ var _ProgressBar_hbs__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_ProgressBar_hbs__WEBPACK_IMPORTED_MODULE_2__);
|
|
972
|
-
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); }
|
|
973
|
-
|
|
974
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
975
|
-
|
|
976
|
-
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); } }
|
|
977
|
-
|
|
978
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
979
|
-
|
|
980
|
-
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); }
|
|
981
|
-
|
|
982
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
983
|
-
|
|
984
|
-
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); }; }
|
|
985
|
-
|
|
986
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
987
|
-
|
|
988
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
989
|
-
|
|
990
|
-
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; } }
|
|
991
|
-
|
|
992
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
var ProgressBarComponent = /*#__PURE__*/function (_Core$Component) {
|
|
998
|
-
_inherits(ProgressBarComponent, _Core$Component);
|
|
999
|
-
|
|
1000
|
-
var _super = _createSuper(ProgressBarComponent);
|
|
1001
|
-
|
|
1002
|
-
function ProgressBarComponent(options) {
|
|
1003
|
-
_classCallCheck(this, ProgressBarComponent);
|
|
1004
|
-
|
|
1005
|
-
return _super.call(this, options);
|
|
1006
|
-
}
|
|
1007
|
-
|
|
1008
|
-
_createClass(ProgressBarComponent, [{
|
|
1009
|
-
key: "viewOptions",
|
|
1010
|
-
value: function viewOptions() {
|
|
1011
|
-
return {
|
|
1012
|
-
styles: _progress_bar_scss__WEBPACK_IMPORTED_MODULE_1___default.a,
|
|
1013
|
-
background: this.options.backgroundClass,
|
|
1014
|
-
progress: this.options.percentage
|
|
1015
|
-
};
|
|
1016
|
-
}
|
|
1017
|
-
}, {
|
|
1018
|
-
key: "update",
|
|
1019
|
-
value: function update() {
|
|
1020
|
-
var progressBar = this.getUI('progressBar');
|
|
1021
|
-
var progressText = this.getUI('progressText');
|
|
1022
|
-
if (progressBar && progressBar.get(0)) $(progressBar.get(0)).css('width', "".concat(this.model.get('percentage'), "%"));
|
|
1023
|
-
if (progressText && progressText.get(0)) $(progressText.get(0)).text("".concat(this.model.get('percentage'), "%"));
|
|
1024
|
-
}
|
|
1025
|
-
}, {
|
|
1026
|
-
key: "onRender",
|
|
1027
|
-
value: function onRender() {
|
|
1028
|
-
this.update();
|
|
1029
|
-
}
|
|
1030
|
-
}, {
|
|
1031
|
-
key: "name",
|
|
1032
|
-
get: function get() {
|
|
1033
|
-
return 'ProgressBarComponent';
|
|
1034
|
-
}
|
|
1035
|
-
}, {
|
|
1036
|
-
key: "className",
|
|
1037
|
-
get: function get() {
|
|
1038
|
-
return this.options.class || '';
|
|
1039
|
-
}
|
|
1040
|
-
}, {
|
|
1041
|
-
key: "template",
|
|
1042
|
-
get: function get() {
|
|
1043
|
-
return _ProgressBar_hbs__WEBPACK_IMPORTED_MODULE_2___default.a;
|
|
1044
|
-
}
|
|
1045
|
-
}, {
|
|
1046
|
-
key: "elements",
|
|
1047
|
-
get: function get() {
|
|
1048
|
-
return {
|
|
1049
|
-
progressBar: '.progress-bar',
|
|
1050
|
-
progressText: '.progress-text'
|
|
1051
|
-
};
|
|
1052
|
-
}
|
|
1053
|
-
}]);
|
|
1054
|
-
|
|
1055
|
-
return ProgressBarComponent;
|
|
1056
|
-
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].Component);
|
|
1057
|
-
|
|
1058
|
-
/***/ }),
|
|
1059
|
-
|
|
1060
|
-
/***/ "./src/apps/migration-wizard/components/progress-bar/progress-bar.scss":
|
|
1061
|
-
/*!*****************************************************************************!*\
|
|
1062
|
-
!*** ./src/apps/migration-wizard/components/progress-bar/progress-bar.scss ***!
|
|
1063
|
-
\*****************************************************************************/
|
|
1064
|
-
/*! no static exports found */
|
|
1065
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1066
|
-
|
|
1067
|
-
// extracted by mini-css-extract-plugin
|
|
1068
|
-
module.exports = {"progressBarContainter":"cv--progressBarContainter--1aNlZ","progressBar":"cv--progressBar--325nt"};
|
|
1069
|
-
|
|
1070
|
-
/***/ }),
|
|
1071
|
-
|
|
1072
|
-
/***/ "./src/apps/migration-wizard/components/progress-circle/ProgressCircle.hbs":
|
|
1073
|
-
/*!*********************************************************************************!*\
|
|
1074
|
-
!*** ./src/apps/migration-wizard/components/progress-circle/ProgressCircle.hbs ***!
|
|
1075
|
-
\*********************************************************************************/
|
|
1076
|
-
/*! no static exports found */
|
|
1077
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1078
|
-
|
|
1079
|
-
var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
|
|
1080
|
-
module.exports = (Handlebars['default'] || Handlebars).template({"1":function(container,depth0,helpers,partials,data) {
|
|
1081
|
-
var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression;
|
|
1082
|
-
|
|
1083
|
-
return " <span class=\""
|
|
1084
|
-
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.extraText : stack1), depth0))
|
|
1085
|
-
+ "\">"
|
|
1086
|
-
+ alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.text : stack1), depth0))
|
|
1087
|
-
+ "</span>\r\n";
|
|
1088
|
-
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
1089
|
-
var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression, alias4=depth0 != null ? depth0 : (container.nullContext || {});
|
|
1090
|
-
|
|
1091
|
-
return "<div class=\""
|
|
1092
|
-
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.circle : stack1), depth0))
|
|
1093
|
-
+ " "
|
|
1094
|
-
+ alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1["class"] : stack1), depth0))
|
|
1095
|
-
+ "\">\r\n <span>\r\n <span class=\"progress-circle-text\">"
|
|
1096
|
-
+ alias3((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(alias4,"progress",{"name":"lang","hash":{"percentage":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.percentage : stack1)},"data":data}))
|
|
1097
|
-
+ "</span>\r\n"
|
|
1098
|
-
+ ((stack1 = helpers["if"].call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.text : stack1),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
1099
|
-
+ " </span>\r\n\r\n <svg class=\""
|
|
1100
|
-
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.progressCircleContainer : stack1), depth0))
|
|
1101
|
-
+ "\">\r\n <circle class=\"progress-circle "
|
|
1102
|
-
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.progressCircle : stack1), depth0))
|
|
1103
|
-
+ "\" transform='rotate(270 160 0)' stroke-width=\"28\" fill=\"transparent\" r=\"150\">\r\n </svg>\r\n</div>";
|
|
1104
|
-
},"useData":true});
|
|
1105
|
-
|
|
1106
|
-
/***/ }),
|
|
1107
|
-
|
|
1108
|
-
/***/ "./src/apps/migration-wizard/components/progress-circle/ProgressCircleComponent.ts":
|
|
1109
|
-
/*!*****************************************************************************************!*\
|
|
1110
|
-
!*** ./src/apps/migration-wizard/components/progress-circle/ProgressCircleComponent.ts ***!
|
|
1111
|
-
\*****************************************************************************************/
|
|
1112
|
-
/*! exports provided: ProgressCircleComponent */
|
|
1113
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1114
|
-
|
|
1115
|
-
"use strict";
|
|
1116
|
-
__webpack_require__.r(__webpack_exports__);
|
|
1117
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ProgressCircleComponent", function() { return ProgressCircleComponent; });
|
|
1118
|
-
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
1119
|
-
/* harmony import */ var _progress_circle_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./progress-circle.scss */ "./src/apps/migration-wizard/components/progress-circle/progress-circle.scss");
|
|
1120
|
-
/* harmony import */ var _progress_circle_scss__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_progress_circle_scss__WEBPACK_IMPORTED_MODULE_1__);
|
|
1121
|
-
/* harmony import */ var _ProgressCircle_hbs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./ProgressCircle.hbs */ "./src/apps/migration-wizard/components/progress-circle/ProgressCircle.hbs");
|
|
1122
|
-
/* harmony import */ var _ProgressCircle_hbs__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_ProgressCircle_hbs__WEBPACK_IMPORTED_MODULE_2__);
|
|
1123
|
-
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); }
|
|
1124
|
-
|
|
1125
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
1126
|
-
|
|
1127
|
-
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); } }
|
|
1128
|
-
|
|
1129
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
1130
|
-
|
|
1131
|
-
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); }
|
|
1132
|
-
|
|
1133
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
1134
|
-
|
|
1135
|
-
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); }; }
|
|
1136
|
-
|
|
1137
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
1138
|
-
|
|
1139
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
1140
|
-
|
|
1141
|
-
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; } }
|
|
1142
|
-
|
|
1143
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
var ProgressCircleComponent = /*#__PURE__*/function (_Core$Component) {
|
|
1149
|
-
_inherits(ProgressCircleComponent, _Core$Component);
|
|
1150
|
-
|
|
1151
|
-
var _super = _createSuper(ProgressCircleComponent);
|
|
1152
|
-
|
|
1153
|
-
function ProgressCircleComponent(options) {
|
|
1154
|
-
_classCallCheck(this, ProgressCircleComponent);
|
|
1155
|
-
|
|
1156
|
-
return _super.call(this, options);
|
|
1157
|
-
}
|
|
1158
|
-
|
|
1159
|
-
_createClass(ProgressCircleComponent, [{
|
|
1160
|
-
key: "initialize",
|
|
1161
|
-
value: function initialize() {
|
|
1162
|
-
this.listenTo(this.model, 'change:percentage', this.update);
|
|
1163
|
-
}
|
|
1164
|
-
}, {
|
|
1165
|
-
key: "viewOptions",
|
|
1166
|
-
value: function viewOptions() {
|
|
1167
|
-
return {
|
|
1168
|
-
styles: _progress_circle_scss__WEBPACK_IMPORTED_MODULE_1___default.a,
|
|
1169
|
-
text: this.options.text,
|
|
1170
|
-
class: this.options.class,
|
|
1171
|
-
percentage: this.options.percentage
|
|
1172
|
-
};
|
|
1173
|
-
}
|
|
1174
|
-
}, {
|
|
1175
|
-
key: "onRender",
|
|
1176
|
-
value: function onRender() {
|
|
1177
|
-
this.update();
|
|
1178
|
-
}
|
|
1179
|
-
}, {
|
|
1180
|
-
key: "update",
|
|
1181
|
-
value: function update() {
|
|
1182
|
-
var percentage = this.model.get('percentage') || 0;
|
|
1183
|
-
var circle = this.getUI('circle').get(0);
|
|
1184
|
-
var radius = circle.r.baseVal.value;
|
|
1185
|
-
var circumference = radius * 2 * Math.PI;
|
|
1186
|
-
circle.style.strokeDasharray = "".concat(circumference, " ").concat(circumference);
|
|
1187
|
-
circle.style.strokeDashoffset = circumference;
|
|
1188
|
-
var offset = circumference - percentage / 100 * circumference;
|
|
1189
|
-
circle.style.strokeDashoffset = offset;
|
|
1190
|
-
var text = this.getUI('text');
|
|
1191
|
-
if (text) text.text("".concat(percentage, "%"));
|
|
1192
|
-
}
|
|
1193
|
-
}, {
|
|
1194
|
-
key: "name",
|
|
1195
|
-
get: function get() {
|
|
1196
|
-
return 'ProgressCircleComponent';
|
|
1197
|
-
}
|
|
1198
|
-
}, {
|
|
1199
|
-
key: "template",
|
|
1200
|
-
get: function get() {
|
|
1201
|
-
return _ProgressCircle_hbs__WEBPACK_IMPORTED_MODULE_2___default.a;
|
|
1202
|
-
}
|
|
1203
|
-
}, {
|
|
1204
|
-
key: "lang",
|
|
1205
|
-
get: function get() {
|
|
1206
|
-
return 'migrationWizard.progressCircle';
|
|
1207
|
-
}
|
|
1208
|
-
}, {
|
|
1209
|
-
key: "elements",
|
|
1210
|
-
get: function get() {
|
|
1211
|
-
return {
|
|
1212
|
-
circle: '.progress-circle',
|
|
1213
|
-
text: '.progress-circle-text'
|
|
1214
|
-
};
|
|
1215
|
-
}
|
|
1216
|
-
}]);
|
|
1217
|
-
|
|
1218
|
-
return ProgressCircleComponent;
|
|
1219
|
-
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].Component);
|
|
1220
|
-
|
|
1221
|
-
/***/ }),
|
|
1222
|
-
|
|
1223
|
-
/***/ "./src/apps/migration-wizard/components/progress-circle/progress-circle.scss":
|
|
1224
|
-
/*!***********************************************************************************!*\
|
|
1225
|
-
!*** ./src/apps/migration-wizard/components/progress-circle/progress-circle.scss ***!
|
|
1226
|
-
\***********************************************************************************/
|
|
1227
|
-
/*! no static exports found */
|
|
1228
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1229
|
-
|
|
1230
|
-
// extracted by mini-css-extract-plugin
|
|
1231
|
-
module.exports = {"circle":"cv--circle--3iX0l","extraText":"cv--extraText--1nYnx","progressCircleContainer":"cv--progressCircleContainer--2l1Al","progressCircle":"cv--progressCircle--1RbA5"};
|
|
1232
|
-
|
|
1233
|
-
/***/ }),
|
|
1234
|
-
|
|
1235
|
-
/***/ "./src/apps/migration-wizard/components/search-bar/SearchBar.hbs":
|
|
1236
|
-
/*!***********************************************************************!*\
|
|
1237
|
-
!*** ./src/apps/migration-wizard/components/search-bar/SearchBar.hbs ***!
|
|
1238
|
-
\***********************************************************************/
|
|
1239
|
-
/*! no static exports found */
|
|
1240
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1241
|
-
|
|
1242
|
-
var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
|
|
1243
|
-
module.exports = (Handlebars['default'] || Handlebars).template({"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
1244
|
-
var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression, alias4=depth0 != null ? depth0 : (container.nullContext || {}), alias5=container.hooks.helperMissing;
|
|
1245
|
-
|
|
1246
|
-
return "<div class=\"row "
|
|
1247
|
-
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.tabContainer : stack1), depth0))
|
|
1248
|
-
+ " position-relative\">\r\n <a class=\"col-4 p-3 "
|
|
1249
|
-
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.publisherArchiveAppLink : stack1), depth0))
|
|
1250
|
-
+ "\"><h1 class=\"m-0 h5\">"
|
|
1251
|
-
+ alias3((helpers.lang||(depth0 && depth0.lang)||alias5).call(alias4,"addVideos",{"name":"lang","hash":{},"data":data}))
|
|
1252
|
-
+ "</h1></a>\r\n <a class=\"p-3 "
|
|
1253
|
-
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.reviewErroredAppLink : stack1), depth0))
|
|
1254
|
-
+ "\"><h1 class=\"m-0 h5\">"
|
|
1255
|
-
+ alias3((helpers.lang||(depth0 && depth0.lang)||alias5).call(alias4,"migrationWarnings",{"name":"lang","hash":{},"data":data}))
|
|
1256
|
-
+ "<span class=\"ml-2 svg-container d-inline-block "
|
|
1257
|
-
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.svgContainer : stack1), depth0))
|
|
1258
|
-
+ "\">"
|
|
1259
|
-
+ ((stack1 = alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.warningSvg : stack1), depth0)) != null ? stack1 : "")
|
|
1260
|
-
+ "</span></h1></a>\r\n <div class=\"generate-report-region\"></div>\r\n</div>";
|
|
1261
|
-
},"useData":true});
|
|
1262
|
-
|
|
1263
|
-
/***/ }),
|
|
1264
|
-
|
|
1265
|
-
/***/ "./src/apps/migration-wizard/components/search-bar/SearchBarComponent.ts":
|
|
1266
|
-
/*!*******************************************************************************!*\
|
|
1267
|
-
!*** ./src/apps/migration-wizard/components/search-bar/SearchBarComponent.ts ***!
|
|
1268
|
-
\*******************************************************************************/
|
|
1269
|
-
/*! exports provided: SearchBarComponent */
|
|
1270
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1271
|
-
|
|
1272
|
-
"use strict";
|
|
1273
|
-
__webpack_require__.r(__webpack_exports__);
|
|
1274
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SearchBarComponent", function() { return SearchBarComponent; });
|
|
1275
|
-
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
1276
|
-
/* harmony import */ var _libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../../libs/shared/src/utils/SvgHelper */ "../../libs/shared/src/utils/SvgHelper.ts");
|
|
1277
|
-
/* harmony import */ var _shared_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../shared/constants */ "./src/shared/constants/index.ts");
|
|
1278
|
-
/* harmony import */ var ___WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./.. */ "./src/apps/migration-wizard/components/index.ts");
|
|
1279
|
-
/* harmony import */ var _search_bar_scss__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./search-bar.scss */ "./src/apps/migration-wizard/components/search-bar/search-bar.scss");
|
|
1280
|
-
/* harmony import */ var _search_bar_scss__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_search_bar_scss__WEBPACK_IMPORTED_MODULE_4__);
|
|
1281
|
-
/* harmony import */ var _SearchBar_hbs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./SearchBar.hbs */ "./src/apps/migration-wizard/components/search-bar/SearchBar.hbs");
|
|
1282
|
-
/* harmony import */ var _SearchBar_hbs__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_SearchBar_hbs__WEBPACK_IMPORTED_MODULE_5__);
|
|
1283
|
-
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); }
|
|
1284
|
-
|
|
1285
|
-
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; }
|
|
1286
|
-
|
|
1287
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
1288
|
-
|
|
1289
|
-
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); } }
|
|
1290
|
-
|
|
1291
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
1292
|
-
|
|
1293
|
-
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); }
|
|
1294
|
-
|
|
1295
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
1296
|
-
|
|
1297
|
-
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); }; }
|
|
1298
|
-
|
|
1299
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
1300
|
-
|
|
1301
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
1302
|
-
|
|
1303
|
-
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; } }
|
|
1304
|
-
|
|
1305
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
var SearchBarComponent = /*#__PURE__*/function (_Core$Component) {
|
|
1314
|
-
_inherits(SearchBarComponent, _Core$Component);
|
|
1315
|
-
|
|
1316
|
-
var _super = _createSuper(SearchBarComponent);
|
|
1317
|
-
|
|
1318
|
-
function SearchBarComponent(options) {
|
|
1319
|
-
_classCallCheck(this, SearchBarComponent);
|
|
1320
|
-
|
|
1321
|
-
return _super.call(this, options);
|
|
1322
|
-
}
|
|
1323
|
-
|
|
1324
|
-
_createClass(SearchBarComponent, [{
|
|
1325
|
-
key: "regions",
|
|
1326
|
-
value: function regions() {
|
|
1327
|
-
return {
|
|
1328
|
-
generateReport: {
|
|
1329
|
-
el: '.generate-report-region',
|
|
1330
|
-
replaceElement: true
|
|
1331
|
-
}
|
|
1332
|
-
};
|
|
1333
|
-
}
|
|
1334
|
-
}, {
|
|
1335
|
-
key: "viewOptions",
|
|
1336
|
-
value: function viewOptions() {
|
|
1337
|
-
return {
|
|
1338
|
-
styles: _search_bar_scss__WEBPACK_IMPORTED_MODULE_4__,
|
|
1339
|
-
warningSvg: _libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_1__["SvgHelper"].getSvg(_libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_1__["cvSvgLibrary"].Warning)
|
|
1340
|
-
};
|
|
1341
|
-
}
|
|
1342
|
-
}, {
|
|
1343
|
-
key: "onRender",
|
|
1344
|
-
value: function onRender() {
|
|
1345
|
-
this.showChildView('generateReport', new ___WEBPACK_IMPORTED_MODULE_3__["GenerateReportButtonComponent"]());
|
|
1346
|
-
}
|
|
1347
|
-
}, {
|
|
1348
|
-
key: "name",
|
|
1349
|
-
get: function get() {
|
|
1350
|
-
return 'SearchBarComponent';
|
|
1351
|
-
}
|
|
1352
|
-
}, {
|
|
1353
|
-
key: "template",
|
|
1354
|
-
get: function get() {
|
|
1355
|
-
return _SearchBar_hbs__WEBPACK_IMPORTED_MODULE_5___default.a;
|
|
1356
|
-
}
|
|
1357
|
-
}, {
|
|
1358
|
-
key: "lang",
|
|
1359
|
-
get: function get() {
|
|
1360
|
-
return 'migrationWizard.searchBar';
|
|
1361
|
-
}
|
|
1362
|
-
}, {
|
|
1363
|
-
key: "className",
|
|
1364
|
-
get: function get() {
|
|
1365
|
-
var className = 'container';
|
|
1366
|
-
if (this.options.selected === 'publisher-archive') className += " ".concat(_search_bar_scss__WEBPACK_IMPORTED_MODULE_4__["publisherArchive"]);
|
|
1367
|
-
if (this.options.selected === 'migration-errors') className += " ".concat(_search_bar_scss__WEBPACK_IMPORTED_MODULE_4__["migrationErrors"]);
|
|
1368
|
-
if (this.options.selected === 'none') className += " ".concat(_search_bar_scss__WEBPACK_IMPORTED_MODULE_4__["none"]);
|
|
1369
|
-
return className;
|
|
1370
|
-
}
|
|
1371
|
-
}, {
|
|
1372
|
-
key: "elements",
|
|
1373
|
-
get: function get() {
|
|
1374
|
-
return {
|
|
1375
|
-
search: '.search'
|
|
1376
|
-
};
|
|
1377
|
-
}
|
|
1378
|
-
}, {
|
|
1379
|
-
key: "appLinks",
|
|
1380
|
-
get: function get() {
|
|
1381
|
-
var _ref;
|
|
1382
|
-
|
|
1383
|
-
return _ref = {}, _defineProperty(_ref, ".".concat(_search_bar_scss__WEBPACK_IMPORTED_MODULE_4__["reviewErroredAppLink"]), {
|
|
1384
|
-
application: _shared_constants__WEBPACK_IMPORTED_MODULE_2__["AppChannels"].MIGRATION_WIZARD,
|
|
1385
|
-
action: _shared_constants__WEBPACK_IMPORTED_MODULE_2__["Actions"].MigrationWizard.MIGRATION_ERRORS
|
|
1386
|
-
}), _defineProperty(_ref, ".".concat(_search_bar_scss__WEBPACK_IMPORTED_MODULE_4__["publisherArchiveAppLink"]), {
|
|
1387
|
-
application: _shared_constants__WEBPACK_IMPORTED_MODULE_2__["AppChannels"].MIGRATION_WIZARD,
|
|
1388
|
-
action: _shared_constants__WEBPACK_IMPORTED_MODULE_2__["Actions"].MigrationWizard.HOME
|
|
1389
|
-
}), _ref;
|
|
1390
|
-
}
|
|
1391
|
-
}]);
|
|
1392
|
-
|
|
1393
|
-
return SearchBarComponent;
|
|
1394
|
-
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].Component);
|
|
1395
|
-
|
|
1396
|
-
/***/ }),
|
|
1397
|
-
|
|
1398
|
-
/***/ "./src/apps/migration-wizard/components/selected-video-item/SelectedVideoItem.hbs":
|
|
1399
|
-
/*!****************************************************************************************!*\
|
|
1400
|
-
!*** ./src/apps/migration-wizard/components/selected-video-item/SelectedVideoItem.hbs ***!
|
|
1401
|
-
\****************************************************************************************/
|
|
1402
|
-
/*! no static exports found */
|
|
1403
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1404
|
-
|
|
1405
|
-
var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
|
|
1406
|
-
module.exports = (Handlebars['default'] || Handlebars).template({"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
1407
|
-
var stack1, alias1=container.propertyIsEnumerable;
|
|
1408
|
-
|
|
1409
|
-
return ((stack1 = (helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"selectedVideos",{"name":"lang","hash":{"folder":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.folder : stack1),"className":((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.category : stack1),"smartCount":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.videoCount : stack1)},"data":data})) != null ? stack1 : "");
|
|
1410
|
-
},"useData":true});
|
|
1411
|
-
|
|
1412
|
-
/***/ }),
|
|
1413
|
-
|
|
1414
|
-
/***/ "./src/apps/migration-wizard/components/selected-video-item/SelectedVideoItemComponent.ts":
|
|
1415
|
-
/*!************************************************************************************************!*\
|
|
1416
|
-
!*** ./src/apps/migration-wizard/components/selected-video-item/SelectedVideoItemComponent.ts ***!
|
|
1417
|
-
\************************************************************************************************/
|
|
1418
|
-
/*! exports provided: SelectedVideoItemComponent */
|
|
1419
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1420
|
-
|
|
1421
|
-
"use strict";
|
|
1422
|
-
__webpack_require__.r(__webpack_exports__);
|
|
1423
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SelectedVideoItemComponent", function() { return SelectedVideoItemComponent; });
|
|
1424
|
-
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
1425
|
-
/* harmony import */ var _selected_video_item_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./selected-video-item.scss */ "./src/apps/migration-wizard/components/selected-video-item/selected-video-item.scss");
|
|
1426
|
-
/* harmony import */ var _selected_video_item_scss__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_selected_video_item_scss__WEBPACK_IMPORTED_MODULE_1__);
|
|
1427
|
-
/* harmony import */ var _SelectedVideoItem_hbs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./SelectedVideoItem.hbs */ "./src/apps/migration-wizard/components/selected-video-item/SelectedVideoItem.hbs");
|
|
1428
|
-
/* harmony import */ var _SelectedVideoItem_hbs__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_SelectedVideoItem_hbs__WEBPACK_IMPORTED_MODULE_2__);
|
|
1429
|
-
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); }
|
|
1430
|
-
|
|
1431
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
1432
|
-
|
|
1433
|
-
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); } }
|
|
1434
|
-
|
|
1435
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
1436
|
-
|
|
1437
|
-
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); }
|
|
1438
|
-
|
|
1439
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
1440
|
-
|
|
1441
|
-
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); }; }
|
|
1442
|
-
|
|
1443
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
1444
|
-
|
|
1445
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
1446
|
-
|
|
1447
|
-
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; } }
|
|
1448
|
-
|
|
1449
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
var SelectedVideoItemComponent = /*#__PURE__*/function (_Core$Component) {
|
|
1455
|
-
_inherits(SelectedVideoItemComponent, _Core$Component);
|
|
1456
|
-
|
|
1457
|
-
var _super = _createSuper(SelectedVideoItemComponent);
|
|
1458
|
-
|
|
1459
|
-
function SelectedVideoItemComponent() {
|
|
1460
|
-
_classCallCheck(this, SelectedVideoItemComponent);
|
|
1461
|
-
|
|
1462
|
-
return _super.apply(this, arguments);
|
|
1463
|
-
}
|
|
1464
|
-
|
|
1465
|
-
_createClass(SelectedVideoItemComponent, [{
|
|
1466
|
-
key: "viewOptions",
|
|
1467
|
-
value: function viewOptions() {
|
|
1468
|
-
return {
|
|
1469
|
-
styles: _selected_video_item_scss__WEBPACK_IMPORTED_MODULE_1___default.a,
|
|
1470
|
-
folder: this.model.get('folderChord').split('->').join(' / '),
|
|
1471
|
-
videoCount: this.model.get('count')
|
|
1472
|
-
};
|
|
1473
|
-
}
|
|
1474
|
-
}, {
|
|
1475
|
-
key: "name",
|
|
1476
|
-
get: function get() {
|
|
1477
|
-
return 'SelectedVideoItemComponent';
|
|
1478
|
-
}
|
|
1479
|
-
}, {
|
|
1480
|
-
key: "template",
|
|
1481
|
-
get: function get() {
|
|
1482
|
-
return _SelectedVideoItem_hbs__WEBPACK_IMPORTED_MODULE_2___default.a;
|
|
1483
|
-
}
|
|
1484
|
-
}, {
|
|
1485
|
-
key: "lang",
|
|
1486
|
-
get: function get() {
|
|
1487
|
-
return 'migrationWizard.selectedVideoItem';
|
|
1488
|
-
}
|
|
1489
|
-
}, {
|
|
1490
|
-
key: "className",
|
|
1491
|
-
get: function get() {
|
|
1492
|
-
return 'ml-2 pt-1';
|
|
1493
|
-
}
|
|
1494
|
-
}]);
|
|
1495
|
-
|
|
1496
|
-
return SelectedVideoItemComponent;
|
|
1497
|
-
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].Component);
|
|
1498
|
-
|
|
1499
|
-
/***/ }),
|
|
1500
|
-
|
|
1501
|
-
/***/ "./src/apps/migration-wizard/components/selected-video-item/selected-video-item.scss":
|
|
1502
|
-
/*!*******************************************************************************************!*\
|
|
1503
|
-
!*** ./src/apps/migration-wizard/components/selected-video-item/selected-video-item.scss ***!
|
|
1504
|
-
\*******************************************************************************************/
|
|
1505
|
-
/*! no static exports found */
|
|
1506
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1507
|
-
|
|
1508
|
-
// extracted by mini-css-extract-plugin
|
|
1509
|
-
module.exports = {"category":"cv--category--BSPKV"};
|
|
1510
|
-
|
|
1511
|
-
/***/ }),
|
|
1512
|
-
|
|
1513
|
-
/***/ "./src/apps/migration-wizard/components/sorting-row/SortingRow.hbs":
|
|
1514
|
-
/*!*************************************************************************!*\
|
|
1515
|
-
!*** ./src/apps/migration-wizard/components/sorting-row/SortingRow.hbs ***!
|
|
1516
|
-
\*************************************************************************/
|
|
1517
|
-
/*! no static exports found */
|
|
1518
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1519
|
-
|
|
1520
|
-
var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
|
|
1521
|
-
module.exports = (Handlebars['default'] || Handlebars).template({"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
1522
|
-
var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression, alias4=depth0 != null ? depth0 : (container.nullContext || {}), alias5=container.hooks.helperMissing;
|
|
1523
|
-
|
|
1524
|
-
return "<div class=\"col-8\">\r\n <div class=\"select-all\"></div>\r\n <div class=\"align-middle d-inline-block\">\r\n <span class=\"cursor-pointer sort sort-title "
|
|
1525
|
-
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.sortOption : stack1), depth0))
|
|
1526
|
-
+ "\">\r\n <span>"
|
|
1527
|
-
+ alias3((helpers.lang||(depth0 && depth0.lang)||alias5).call(alias4,"sortTitle",{"name":"lang","hash":{},"data":data}))
|
|
1528
|
-
+ "</span>\r\n <span class=\"svg-container "
|
|
1529
|
-
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.svgContainer : stack1), depth0))
|
|
1530
|
-
+ "\">"
|
|
1531
|
-
+ ((stack1 = alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.sortSvg : stack1), depth0)) != null ? stack1 : "")
|
|
1532
|
-
+ "</span>\r\n </span>\r\n </div>\r\n</div>\r\n\r\n<div class=\"col-4 pr-3 text-right\">\r\n <span class=\"cursor-pointer sort mr-3 sort-views "
|
|
1533
|
-
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.sortOption : stack1), depth0))
|
|
1534
|
-
+ "\">\r\n <span>"
|
|
1535
|
-
+ alias3((helpers.lang||(depth0 && depth0.lang)||alias5).call(alias4,"sortViews",{"name":"lang","hash":{},"data":data}))
|
|
1536
|
-
+ "</span>\r\n <span class=\"svg-container "
|
|
1537
|
-
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.svgContainer : stack1), depth0))
|
|
1538
|
-
+ "\">"
|
|
1539
|
-
+ ((stack1 = alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.sortSvg : stack1), depth0)) != null ? stack1 : "")
|
|
1540
|
-
+ "</span>\r\n </span>\r\n</div>";
|
|
1541
|
-
},"useData":true});
|
|
1542
|
-
|
|
1543
|
-
/***/ }),
|
|
1544
|
-
|
|
1545
|
-
/***/ "./src/apps/migration-wizard/components/sorting-row/SortingRowComponent.ts":
|
|
1546
|
-
/*!*********************************************************************************!*\
|
|
1547
|
-
!*** ./src/apps/migration-wizard/components/sorting-row/SortingRowComponent.ts ***!
|
|
1548
|
-
\*********************************************************************************/
|
|
1549
|
-
/*! exports provided: SortingRowComponent */
|
|
1550
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1551
|
-
|
|
1552
|
-
"use strict";
|
|
1553
|
-
__webpack_require__.r(__webpack_exports__);
|
|
1554
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SortingRowComponent", function() { return SortingRowComponent; });
|
|
1555
|
-
/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! underscore */ "underscore");
|
|
1556
|
-
/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(underscore__WEBPACK_IMPORTED_MODULE_0__);
|
|
1557
|
-
/* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! backbone */ "backbone");
|
|
1558
|
-
/* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(backbone__WEBPACK_IMPORTED_MODULE_1__);
|
|
1559
|
-
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
1560
|
-
/* harmony import */ var _libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../libs/shared/src/utils/SvgHelper */ "../../libs/shared/src/utils/SvgHelper.ts");
|
|
1561
|
-
/* harmony import */ var _shared_components_checkbox_BulkCheckboxComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../shared/components/checkbox/BulkCheckboxComponent */ "./src/shared/components/checkbox/BulkCheckboxComponent.ts");
|
|
1562
|
-
/* harmony import */ var _shared_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../shared/constants */ "./src/shared/constants/index.ts");
|
|
1563
|
-
/* harmony import */ var _shared_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../shared/utils */ "./src/shared/utils/index.ts");
|
|
1564
|
-
/* harmony import */ var _library_editor_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../library-editor/constants */ "./src/apps/library-editor/constants/index.ts");
|
|
1565
|
-
/* harmony import */ var _enums_VideoMigrationStatus__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../enums/VideoMigrationStatus */ "./src/apps/migration-wizard/enums/VideoMigrationStatus.ts");
|
|
1566
|
-
/* harmony import */ var _enums__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../enums */ "./src/apps/migration-wizard/enums/index.ts");
|
|
1567
|
-
/* harmony import */ var _sorting_row_scss__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./sorting-row.scss */ "./src/apps/migration-wizard/components/sorting-row/sorting-row.scss");
|
|
1568
|
-
/* harmony import */ var _sorting_row_scss__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_sorting_row_scss__WEBPACK_IMPORTED_MODULE_10__);
|
|
1569
|
-
/* harmony import */ var _SortingRow_hbs__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./SortingRow.hbs */ "./src/apps/migration-wizard/components/sorting-row/SortingRow.hbs");
|
|
1570
|
-
/* harmony import */ var _SortingRow_hbs__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_SortingRow_hbs__WEBPACK_IMPORTED_MODULE_11__);
|
|
1571
|
-
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); }
|
|
1572
|
-
|
|
1573
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
1574
|
-
|
|
1575
|
-
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); } }
|
|
1576
|
-
|
|
1577
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
1578
|
-
|
|
1579
|
-
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); }
|
|
1580
|
-
|
|
1581
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
1582
|
-
|
|
1583
|
-
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); }; }
|
|
1584
|
-
|
|
1585
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
1586
|
-
|
|
1587
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
1588
|
-
|
|
1589
|
-
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; } }
|
|
1590
|
-
|
|
1591
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
var SortingRowComponent = /*#__PURE__*/function (_Core$Component) {
|
|
1606
|
-
_inherits(SortingRowComponent, _Core$Component);
|
|
1607
|
-
|
|
1608
|
-
var _super = _createSuper(SortingRowComponent);
|
|
1609
|
-
|
|
1610
|
-
function SortingRowComponent(options) {
|
|
1611
|
-
_classCallCheck(this, SortingRowComponent);
|
|
1612
|
-
|
|
1613
|
-
return _super.call(this, options);
|
|
1614
|
-
}
|
|
1615
|
-
|
|
1616
|
-
_createClass(SortingRowComponent, [{
|
|
1617
|
-
key: "initialize",
|
|
1618
|
-
value: function initialize() {
|
|
1619
|
-
this.bindListeners();
|
|
1620
|
-
}
|
|
1621
|
-
}, {
|
|
1622
|
-
key: "bindListeners",
|
|
1623
|
-
value: function bindListeners() {
|
|
1624
|
-
this.viewModel = _shared_utils__WEBPACK_IMPORTED_MODULE_6__["BulkCheckboxHelper"].GetViewModel(this.getCheckboxKey(), _library_editor_constants__WEBPACK_IMPORTED_MODULE_7__["CheckboxTypes"].MIGRATION_VIDEO_LIST);
|
|
1625
|
-
this.listenTo(this.viewModel, "change:".concat(_shared_components_checkbox_BulkCheckboxComponent__WEBPACK_IMPORTED_MODULE_4__["ALL_CHECKBOX_ITEM_ID"]), this.onCheckboxChange);
|
|
1626
|
-
}
|
|
1627
|
-
}, {
|
|
1628
|
-
key: "viewOptions",
|
|
1629
|
-
value: function viewOptions() {
|
|
1630
|
-
return {
|
|
1631
|
-
styles: _sorting_row_scss__WEBPACK_IMPORTED_MODULE_10___default.a,
|
|
1632
|
-
showCategory: this.options.searchTerm,
|
|
1633
|
-
sortSvg: _libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_3__["SvgHelper"].getSvg(_libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_3__["cvSvgLibrary"].UpDown)
|
|
1634
|
-
};
|
|
1635
|
-
}
|
|
1636
|
-
}, {
|
|
1637
|
-
key: "events",
|
|
1638
|
-
value: function events() {
|
|
1639
|
-
return {
|
|
1640
|
-
'click .sort-title': 'sortTitle',
|
|
1641
|
-
'click .sort-views': 'sortViews'
|
|
1642
|
-
};
|
|
1643
|
-
}
|
|
1644
|
-
}, {
|
|
1645
|
-
key: "regions",
|
|
1646
|
-
value: function regions() {
|
|
1647
|
-
return {
|
|
1648
|
-
selectAll: {
|
|
1649
|
-
replaceElement: true,
|
|
1650
|
-
el: '.select-all'
|
|
1651
|
-
}
|
|
1652
|
-
};
|
|
1653
|
-
}
|
|
1654
|
-
}, {
|
|
1655
|
-
key: "getCheckboxKey",
|
|
1656
|
-
value: function getCheckboxKey() {
|
|
1657
|
-
return this.options.searchTerm || this.options.folderChord;
|
|
1658
|
-
}
|
|
1659
|
-
}, {
|
|
1660
|
-
key: "onRender",
|
|
1661
|
-
value: function onRender() {
|
|
1662
|
-
this.showChildView('selectAll', new _shared_components_checkbox_BulkCheckboxComponent__WEBPACK_IMPORTED_MODULE_4__["BulkCheckboxComponent"]({
|
|
1663
|
-
type: _library_editor_constants__WEBPACK_IMPORTED_MODULE_7__["CheckboxTypes"].MIGRATION_VIDEO_LIST,
|
|
1664
|
-
key: this.getCheckboxKey(),
|
|
1665
|
-
disabled: this.getVideosThatCanBeMigrated().length === 0,
|
|
1666
|
-
className: "".concat(_sorting_row_scss__WEBPACK_IMPORTED_MODULE_10___default.a.bulkCheckbox, " position-relative d-inline-block"),
|
|
1667
|
-
numberOfItems: this.collection.length
|
|
1668
|
-
}));
|
|
1669
|
-
}
|
|
1670
|
-
}, {
|
|
1671
|
-
key: "sortTitle",
|
|
1672
|
-
value: function sortTitle() {
|
|
1673
|
-
this.sort(_enums__WEBPACK_IMPORTED_MODULE_9__["SortField"].Title);
|
|
1674
|
-
}
|
|
1675
|
-
}, {
|
|
1676
|
-
key: "sortViews",
|
|
1677
|
-
value: function sortViews() {
|
|
1678
|
-
this.sort(_enums__WEBPACK_IMPORTED_MODULE_9__["SortField"].Views);
|
|
1679
|
-
}
|
|
1680
|
-
/**
|
|
1681
|
-
* @return videos with HasNotBeenMigrated migration status and a valid ValidationResult
|
|
1682
|
-
*/
|
|
1683
|
-
|
|
1684
|
-
}, {
|
|
1685
|
-
key: "getVideosThatCanBeMigrated",
|
|
1686
|
-
value: function getVideosThatCanBeMigrated() {
|
|
1687
|
-
return this.collection.filter(function (video) {
|
|
1688
|
-
return video.get('migrationStatus') === _enums_VideoMigrationStatus__WEBPACK_IMPORTED_MODULE_8__["VideoMigrationStatus"].HasNotBeenMigrated;
|
|
1689
|
-
});
|
|
1690
|
-
}
|
|
1691
|
-
}, {
|
|
1692
|
-
key: "sort",
|
|
1693
|
-
value: function sort(field) {
|
|
1694
|
-
var migrationDataChannel = backbone__WEBPACK_IMPORTED_MODULE_1__["Radio"].channel(_shared_constants__WEBPACK_IMPORTED_MODULE_5__["DataChannels"].MIGRATION);
|
|
1695
|
-
migrationDataChannel.trigger(_shared_constants__WEBPACK_IMPORTED_MODULE_5__["EventNames"].MigrationWizard.SORT_VIDEOS, field);
|
|
1696
|
-
}
|
|
1697
|
-
}, {
|
|
1698
|
-
key: "onCheckboxChange",
|
|
1699
|
-
value: function onCheckboxChange() {
|
|
1700
|
-
var channel = backbone__WEBPACK_IMPORTED_MODULE_1__["Radio"].channel(this.options.channelName);
|
|
1701
|
-
var checked = this.viewModel.get(_shared_components_checkbox_BulkCheckboxComponent__WEBPACK_IMPORTED_MODULE_4__["ALL_CHECKBOX_ITEM_ID"]);
|
|
1702
|
-
var videos = this.getVideosThatCanBeMigrated();
|
|
1703
|
-
if (checked) channel.trigger('add:selected', videos, this.options.folderChord);else if (underscore__WEBPACK_IMPORTED_MODULE_0__["isUndefined"](checked)) channel.trigger('remove:selected', videos, this.options.folderChord);
|
|
1704
|
-
}
|
|
1705
|
-
}, {
|
|
1706
|
-
key: "name",
|
|
1707
|
-
get: function get() {
|
|
1708
|
-
return 'SortingRowComponent';
|
|
1709
|
-
}
|
|
1710
|
-
}, {
|
|
1711
|
-
key: "template",
|
|
1712
|
-
get: function get() {
|
|
1713
|
-
return _SortingRow_hbs__WEBPACK_IMPORTED_MODULE_11___default.a;
|
|
1714
|
-
}
|
|
1715
|
-
}, {
|
|
1716
|
-
key: "className",
|
|
1717
|
-
get: function get() {
|
|
1718
|
-
return "row no-gutters px-2 py-1 ".concat(_sorting_row_scss__WEBPACK_IMPORTED_MODULE_10___default.a.sortingRow);
|
|
1719
|
-
}
|
|
1720
|
-
}, {
|
|
1721
|
-
key: "lang",
|
|
1722
|
-
get: function get() {
|
|
1723
|
-
return 'migrationWizard.sortingRow';
|
|
1724
|
-
}
|
|
1725
|
-
}, {
|
|
1726
|
-
key: "elements",
|
|
1727
|
-
get: function get() {
|
|
1728
|
-
return {
|
|
1729
|
-
sortOption: '.sort'
|
|
1730
|
-
};
|
|
1731
|
-
}
|
|
1732
|
-
}]);
|
|
1733
|
-
|
|
1734
|
-
return SortingRowComponent;
|
|
1735
|
-
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_2__["Core"].Component);
|
|
1736
|
-
|
|
1737
|
-
/***/ }),
|
|
1738
|
-
|
|
1739
|
-
/***/ "./src/apps/migration-wizard/components/status-bar/StatusBar.hbs":
|
|
1740
|
-
/*!***********************************************************************!*\
|
|
1741
|
-
!*** ./src/apps/migration-wizard/components/status-bar/StatusBar.hbs ***!
|
|
1742
|
-
\***********************************************************************/
|
|
1743
|
-
/*! no static exports found */
|
|
1744
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1745
|
-
|
|
1746
|
-
var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
|
|
1747
|
-
module.exports = (Handlebars['default'] || Handlebars).template({"1":function(container,depth0,helpers,partials,data) {
|
|
1748
|
-
var stack1, alias1=container.propertyIsEnumerable, alias2=container.escapeExpression;
|
|
1749
|
-
|
|
1750
|
-
return " <button class=\"applink-back btn btn-secondary "
|
|
1751
|
-
+ alias2(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.button : stack1), depth0))
|
|
1752
|
-
+ "\">\r\n "
|
|
1753
|
-
+ alias2((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"back",{"name":"lang","hash":{},"data":data}))
|
|
1754
|
-
+ "\r\n </button>\r\n";
|
|
1755
|
-
},"3":function(container,depth0,helpers,partials,data) {
|
|
1756
|
-
var stack1, alias1=container.propertyIsEnumerable, alias2=container.escapeExpression;
|
|
1757
|
-
|
|
1758
|
-
return " <span class=\"align-middle "
|
|
1759
|
-
+ alias2(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.statusBarMessage : stack1), depth0))
|
|
1760
|
-
+ "\">\r\n "
|
|
1761
|
-
+ alias2((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"videosSelected",{"name":"lang","hash":{"videoCount":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.videoCount : stack1),"smartCount":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.numberAvailable : stack1)},"data":data}))
|
|
1762
|
-
+ "\r\n </span>\r\n";
|
|
1763
|
-
},"5":function(container,depth0,helpers,partials,data) {
|
|
1764
|
-
return "disabled";
|
|
1765
|
-
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
1766
|
-
var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {}), alias3=container.lambda, alias4=container.escapeExpression;
|
|
1767
|
-
|
|
1768
|
-
return "<div class=\"row\">\r\n <div class=\"col-4\">\r\n"
|
|
1769
|
-
+ ((stack1 = helpers["if"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.showBackButton : stack1),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
1770
|
-
+ " </div>\r\n <div class=\"col-6\">\r\n"
|
|
1771
|
-
+ ((stack1 = helpers["if"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.showSelected : stack1),{"name":"if","hash":{},"fn":container.program(3, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
1772
|
-
+ " </div>\r\n <div class=\"col-2 text-right\">\r\n <button class=\"applink-next btn btn-primary "
|
|
1773
|
-
+ alias4(alias3(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.button : stack1), depth0))
|
|
1774
|
-
+ "\" "
|
|
1775
|
-
+ ((stack1 = helpers["if"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.nextDisabled : stack1),{"name":"if","hash":{},"fn":container.program(5, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
1776
|
-
+ ">\r\n "
|
|
1777
|
-
+ alias4(alias3(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.text : stack1), depth0))
|
|
1778
|
-
+ "\r\n </button>\r\n </div>\r\n</div>";
|
|
1779
|
-
},"useData":true});
|
|
1780
|
-
|
|
1781
|
-
/***/ }),
|
|
1782
|
-
|
|
1783
|
-
/***/ "./src/apps/migration-wizard/components/status-bar/StatusBarComponent.ts":
|
|
1784
|
-
/*!*******************************************************************************!*\
|
|
1785
|
-
!*** ./src/apps/migration-wizard/components/status-bar/StatusBarComponent.ts ***!
|
|
1786
|
-
\*******************************************************************************/
|
|
1787
|
-
/*! exports provided: StatusBarComponent */
|
|
1788
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1789
|
-
|
|
1790
|
-
"use strict";
|
|
1791
|
-
__webpack_require__.r(__webpack_exports__);
|
|
1792
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StatusBarComponent", function() { return StatusBarComponent; });
|
|
1793
|
-
/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! underscore */ "underscore");
|
|
1794
|
-
/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(underscore__WEBPACK_IMPORTED_MODULE_0__);
|
|
1795
|
-
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
1796
|
-
/* harmony import */ var _StatusBar_hbs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./StatusBar.hbs */ "./src/apps/migration-wizard/components/status-bar/StatusBar.hbs");
|
|
1797
|
-
/* harmony import */ var _StatusBar_hbs__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_StatusBar_hbs__WEBPACK_IMPORTED_MODULE_2__);
|
|
1798
|
-
/* harmony import */ var _status_bar_scss__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./status-bar.scss */ "./src/apps/migration-wizard/components/status-bar/status-bar.scss");
|
|
1799
|
-
/* harmony import */ var _status_bar_scss__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_status_bar_scss__WEBPACK_IMPORTED_MODULE_3__);
|
|
1800
|
-
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); }
|
|
1801
|
-
|
|
1802
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
1803
|
-
|
|
1804
|
-
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); } }
|
|
1805
|
-
|
|
1806
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
1807
|
-
|
|
1808
|
-
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); }
|
|
1809
|
-
|
|
1810
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
1811
|
-
|
|
1812
|
-
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); }; }
|
|
1813
|
-
|
|
1814
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
1815
|
-
|
|
1816
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
1817
|
-
|
|
1818
|
-
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; } }
|
|
1819
|
-
|
|
1820
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
var StatusBarComponent = /*#__PURE__*/function (_Core$Component) {
|
|
1827
|
-
_inherits(StatusBarComponent, _Core$Component);
|
|
1828
|
-
|
|
1829
|
-
var _super = _createSuper(StatusBarComponent);
|
|
1830
|
-
|
|
1831
|
-
function StatusBarComponent(options) {
|
|
1832
|
-
_classCallCheck(this, StatusBarComponent);
|
|
1833
|
-
|
|
1834
|
-
return _super.call(this, options);
|
|
1835
|
-
}
|
|
1836
|
-
|
|
1837
|
-
_createClass(StatusBarComponent, [{
|
|
1838
|
-
key: "events",
|
|
1839
|
-
value: function events() {
|
|
1840
|
-
return {
|
|
1841
|
-
'click .applink-next': 'onClickNext',
|
|
1842
|
-
'click .applink-back': 'onClickBack'
|
|
1843
|
-
};
|
|
1844
|
-
}
|
|
1845
|
-
}, {
|
|
1846
|
-
key: "onClickNext",
|
|
1847
|
-
value: function onClickNext() {
|
|
1848
|
-
if (this.options.nextDisabled) return;
|
|
1849
|
-
if (underscore__WEBPACK_IMPORTED_MODULE_0__["isFunction"](this.options.onClickNext)) this.options.onClickNext();
|
|
1850
|
-
}
|
|
1851
|
-
}, {
|
|
1852
|
-
key: "onClickBack",
|
|
1853
|
-
value: function onClickBack() {
|
|
1854
|
-
if (underscore__WEBPACK_IMPORTED_MODULE_0__["isFunction"](this.options.onClickBack)) this.options.onClickBack();
|
|
1855
|
-
}
|
|
1856
|
-
}, {
|
|
1857
|
-
key: "viewOptions",
|
|
1858
|
-
value: function viewOptions() {
|
|
1859
|
-
return Object.assign(Object.assign({
|
|
1860
|
-
styles: _status_bar_scss__WEBPACK_IMPORTED_MODULE_3__
|
|
1861
|
-
}, this.options), {
|
|
1862
|
-
multipleVideosAvailable: this.options.numberAvailable !== 1,
|
|
1863
|
-
numberAvailable: this.options.numberAvailable,
|
|
1864
|
-
videoCount: this.options.numberSelected
|
|
1865
|
-
});
|
|
1866
|
-
}
|
|
1867
|
-
}, {
|
|
1868
|
-
key: "name",
|
|
1869
|
-
get: function get() {
|
|
1870
|
-
return 'StatusBarComponent';
|
|
1871
|
-
}
|
|
1872
|
-
}, {
|
|
1873
|
-
key: "className",
|
|
1874
|
-
get: function get() {
|
|
1875
|
-
return "w-100 p-2 pl-3 pr-3 ".concat(_status_bar_scss__WEBPACK_IMPORTED_MODULE_3__["statusBar"]);
|
|
1876
|
-
}
|
|
1877
|
-
}, {
|
|
1878
|
-
key: "template",
|
|
1879
|
-
get: function get() {
|
|
1880
|
-
return _StatusBar_hbs__WEBPACK_IMPORTED_MODULE_2___default.a;
|
|
1881
|
-
}
|
|
1882
|
-
}, {
|
|
1883
|
-
key: "lang",
|
|
1884
|
-
get: function get() {
|
|
1885
|
-
return 'migrationWizard.statusBar';
|
|
1886
|
-
}
|
|
1887
|
-
}, {
|
|
1888
|
-
key: "appLinks",
|
|
1889
|
-
get: function get() {
|
|
1890
|
-
var _this$options = this.options,
|
|
1891
|
-
nextAppLink = _this$options.nextAppLink,
|
|
1892
|
-
backAppLink = _this$options.backAppLink;
|
|
1893
|
-
var appLinks = {
|
|
1894
|
-
'.applink-next': nextAppLink
|
|
1895
|
-
};
|
|
1896
|
-
if (backAppLink) appLinks['.applink-back'] = backAppLink;
|
|
1897
|
-
return appLinks;
|
|
1898
|
-
}
|
|
1899
|
-
}]);
|
|
1900
|
-
|
|
1901
|
-
return StatusBarComponent;
|
|
1902
|
-
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__["Core"].Component);
|
|
1903
|
-
|
|
1904
|
-
/***/ }),
|
|
1905
|
-
|
|
1906
|
-
/***/ "./src/apps/migration-wizard/components/video-list-collection/VideoListCollectionComponent.ts":
|
|
1907
|
-
/*!****************************************************************************************************!*\
|
|
1908
|
-
!*** ./src/apps/migration-wizard/components/video-list-collection/VideoListCollectionComponent.ts ***!
|
|
1909
|
-
\****************************************************************************************************/
|
|
1910
|
-
/*! exports provided: VideoListCollectionComponent */
|
|
1911
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1912
|
-
|
|
1913
|
-
"use strict";
|
|
1914
|
-
__webpack_require__.r(__webpack_exports__);
|
|
1915
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VideoListCollectionComponent", function() { return VideoListCollectionComponent; });
|
|
1916
|
-
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
1917
|
-
/* harmony import */ var _video_list_collection_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./video-list-collection.scss */ "./src/apps/migration-wizard/components/video-list-collection/video-list-collection.scss");
|
|
1918
|
-
/* harmony import */ var _video_list_collection_scss__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_video_list_collection_scss__WEBPACK_IMPORTED_MODULE_1__);
|
|
1919
|
-
/* harmony import */ var ___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./.. */ "./src/apps/migration-wizard/components/index.ts");
|
|
1920
|
-
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); }
|
|
1921
|
-
|
|
1922
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
1923
|
-
|
|
1924
|
-
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); } }
|
|
1925
|
-
|
|
1926
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
1927
|
-
|
|
1928
|
-
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); }
|
|
1929
|
-
|
|
1930
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
1931
|
-
|
|
1932
|
-
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); }; }
|
|
1933
|
-
|
|
1934
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
1935
|
-
|
|
1936
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
1937
|
-
|
|
1938
|
-
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; } }
|
|
1939
|
-
|
|
1940
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
var VideoListCollectionComponent = /*#__PURE__*/function (_Core$ComponentCollec) {
|
|
1946
|
-
_inherits(VideoListCollectionComponent, _Core$ComponentCollec);
|
|
1947
|
-
|
|
1948
|
-
var _super = _createSuper(VideoListCollectionComponent);
|
|
1949
|
-
|
|
1950
|
-
function VideoListCollectionComponent(options) {
|
|
1951
|
-
_classCallCheck(this, VideoListCollectionComponent);
|
|
1952
|
-
|
|
1953
|
-
return _super.call(this, options);
|
|
1954
|
-
}
|
|
1955
|
-
|
|
1956
|
-
_createClass(VideoListCollectionComponent, [{
|
|
1957
|
-
key: "name",
|
|
1958
|
-
get: function get() {
|
|
1959
|
-
return 'VideoListCollectionComponent';
|
|
1960
|
-
}
|
|
1961
|
-
}, {
|
|
1962
|
-
key: "className",
|
|
1963
|
-
get: function get() {
|
|
1964
|
-
return _video_list_collection_scss__WEBPACK_IMPORTED_MODULE_1___default.a.videoList;
|
|
1965
|
-
}
|
|
1966
|
-
}, {
|
|
1967
|
-
key: "childView",
|
|
1968
|
-
get: function get() {
|
|
1969
|
-
return ___WEBPACK_IMPORTED_MODULE_2__["MigrationVideoItemComponent"];
|
|
1970
|
-
}
|
|
1971
|
-
}, {
|
|
1972
|
-
key: "childViewOptions",
|
|
1973
|
-
get: function get() {
|
|
1974
|
-
return {
|
|
1975
|
-
folderChord: this.options.folderChord,
|
|
1976
|
-
searchTerm: this.getOption('searchTerm'),
|
|
1977
|
-
supportSiteUrl: this.options.supportSiteUrl
|
|
1978
|
-
};
|
|
1979
|
-
}
|
|
1980
|
-
}]);
|
|
1981
|
-
|
|
1982
|
-
return VideoListCollectionComponent;
|
|
1983
|
-
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].ComponentCollection);
|
|
1984
|
-
|
|
1985
|
-
/***/ }),
|
|
1986
|
-
|
|
1987
|
-
/***/ "./src/apps/migration-wizard/components/video-list-collection/video-list-collection.scss":
|
|
1988
|
-
/*!***********************************************************************************************!*\
|
|
1989
|
-
!*** ./src/apps/migration-wizard/components/video-list-collection/video-list-collection.scss ***!
|
|
1990
|
-
\***********************************************************************************************/
|
|
1991
|
-
/*! no static exports found */
|
|
1992
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1993
|
-
|
|
1994
|
-
// extracted by mini-css-extract-plugin
|
|
1995
|
-
module.exports = {"videoList":"cv--videoList--3RFYO"};
|
|
1996
|
-
|
|
1997
|
-
/***/ }),
|
|
1998
|
-
|
|
1999
|
-
/***/ "./src/apps/migration-wizard/components/video-list/VideoList.hbs":
|
|
2000
|
-
/*!***********************************************************************!*\
|
|
2001
|
-
!*** ./src/apps/migration-wizard/components/video-list/VideoList.hbs ***!
|
|
2002
|
-
\***********************************************************************/
|
|
2003
|
-
/*! no static exports found */
|
|
2004
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2005
|
-
|
|
2006
|
-
var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
|
|
2007
|
-
module.exports = (Handlebars['default'] || Handlebars).template({"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
2008
|
-
return "<div class=\"video-sorting-region\"></div>\r\n<div class=\"video-list-region\"></div>";
|
|
2009
|
-
},"useData":true});
|
|
2010
|
-
|
|
2011
|
-
/***/ }),
|
|
2012
|
-
|
|
2013
|
-
/***/ "./src/apps/migration-wizard/components/video-list/VideoListCollection.ts":
|
|
2014
|
-
/*!********************************************************************************!*\
|
|
2015
|
-
!*** ./src/apps/migration-wizard/components/video-list/VideoListCollection.ts ***!
|
|
2016
|
-
\********************************************************************************/
|
|
2017
|
-
/*! exports provided: VideoListCollection */
|
|
2018
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2019
|
-
|
|
2020
|
-
"use strict";
|
|
2021
|
-
__webpack_require__.r(__webpack_exports__);
|
|
2022
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VideoListCollection", function() { return VideoListCollection; });
|
|
2023
|
-
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
2024
|
-
/* harmony import */ var _shared_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../shared/constants */ "./src/shared/constants/index.ts");
|
|
2025
|
-
/* harmony import */ var _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/services/LanguageService */ "../../libs/common/src/backbone/services/LanguageService.tsx");
|
|
2026
|
-
/* harmony import */ var _utils_VideoHelper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/VideoHelper */ "./src/apps/migration-wizard/utils/VideoHelper.ts");
|
|
2027
|
-
/* harmony import */ var ___WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./.. */ "./src/apps/migration-wizard/components/index.ts");
|
|
2028
|
-
/* harmony import */ var _VideoList_hbs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./VideoList.hbs */ "./src/apps/migration-wizard/components/video-list/VideoList.hbs");
|
|
2029
|
-
/* harmony import */ var _VideoList_hbs__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_VideoList_hbs__WEBPACK_IMPORTED_MODULE_5__);
|
|
2030
|
-
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); }
|
|
2031
|
-
|
|
2032
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
2033
|
-
|
|
2034
|
-
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); } }
|
|
2035
|
-
|
|
2036
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
2037
|
-
|
|
2038
|
-
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); }
|
|
2039
|
-
|
|
2040
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
2041
|
-
|
|
2042
|
-
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); }; }
|
|
2043
|
-
|
|
2044
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
2045
|
-
|
|
2046
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
2047
|
-
|
|
2048
|
-
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; } }
|
|
2049
|
-
|
|
2050
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
var VideoListCollection = /*#__PURE__*/function (_Core$Component) {
|
|
2059
|
-
_inherits(VideoListCollection, _Core$Component);
|
|
2060
|
-
|
|
2061
|
-
var _super = _createSuper(VideoListCollection);
|
|
2062
|
-
|
|
2063
|
-
function VideoListCollection(options) {
|
|
2064
|
-
_classCallCheck(this, VideoListCollection);
|
|
2065
|
-
|
|
2066
|
-
return _super.call(this, options);
|
|
2067
|
-
}
|
|
2068
|
-
|
|
2069
|
-
_createClass(VideoListCollection, [{
|
|
2070
|
-
key: "initialize",
|
|
2071
|
-
value: function initialize() {
|
|
2072
|
-
this.bindListeners();
|
|
2073
|
-
}
|
|
2074
|
-
}, {
|
|
2075
|
-
key: "regions",
|
|
2076
|
-
value: function regions() {
|
|
2077
|
-
return {
|
|
2078
|
-
videoListSort: {
|
|
2079
|
-
replaceElement: true,
|
|
2080
|
-
el: '.video-sorting-region'
|
|
2081
|
-
},
|
|
2082
|
-
videoList: {
|
|
2083
|
-
el: '.video-list-region',
|
|
2084
|
-
replaceElement: true
|
|
2085
|
-
}
|
|
2086
|
-
};
|
|
2087
|
-
}
|
|
2088
|
-
}, {
|
|
2089
|
-
key: "bindListeners",
|
|
2090
|
-
value: function bindListeners() {
|
|
2091
|
-
this.listenTo(_shared_constants__WEBPACK_IMPORTED_MODULE_1__["DataChannels"].MIGRATION, _shared_constants__WEBPACK_IMPORTED_MODULE_1__["EventNames"].MigrationWizard.SORT_VIDEOS, this.sort);
|
|
2092
|
-
this.listenTo(_shared_constants__WEBPACK_IMPORTED_MODULE_1__["DataChannels"].MIGRATION, _shared_constants__WEBPACK_IMPORTED_MODULE_1__["EventNames"].MigrationWizard.TOGGLE_MIGRATED, this.toggleMigrated);
|
|
2093
|
-
}
|
|
2094
|
-
/**
|
|
2095
|
-
* If a video has been migrated, toggle its 'hidden' property which hides it in the list
|
|
2096
|
-
*/
|
|
2097
|
-
|
|
2098
|
-
}, {
|
|
2099
|
-
key: "toggleMigrated",
|
|
2100
|
-
value: function toggleMigrated(migratedHidden) {
|
|
2101
|
-
if (!this.collection || this.collection.length === 0) return;
|
|
2102
|
-
this.collection = _utils_VideoHelper__WEBPACK_IMPORTED_MODULE_3__["VideoHelper"].toggleMigrated(this.collection, migratedHidden);
|
|
2103
|
-
this.render();
|
|
2104
|
-
}
|
|
2105
|
-
/**
|
|
2106
|
-
* Sort the collection by a key present in the model
|
|
2107
|
-
*/
|
|
2108
|
-
|
|
2109
|
-
}, {
|
|
2110
|
-
key: "sort",
|
|
2111
|
-
value: function sort(sortBy) {
|
|
2112
|
-
if (this.collection.length === 0) return;
|
|
2113
|
-
this.sortedBy = this.sortedBy === sortBy ? undefined : sortBy;
|
|
2114
|
-
this.collection = _utils_VideoHelper__WEBPACK_IMPORTED_MODULE_3__["VideoHelper"].sortVideos(this.collection, sortBy, this.sortedBy === sortBy);
|
|
2115
|
-
this.renderVideoList();
|
|
2116
|
-
}
|
|
2117
|
-
}, {
|
|
2118
|
-
key: "renderEmptyMessage",
|
|
2119
|
-
value: function renderEmptyMessage() {
|
|
2120
|
-
this.showChildView('videoList', new ___WEBPACK_IMPORTED_MODULE_4__["EmptyVideoListComponent"]({
|
|
2121
|
-
text: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_2__["LanguageService"].getPhrase(this.lang, 'noVideos')
|
|
2122
|
-
}));
|
|
2123
|
-
}
|
|
2124
|
-
}, {
|
|
2125
|
-
key: "renderSortingRow",
|
|
2126
|
-
value: function renderSortingRow() {
|
|
2127
|
-
this.showChildView('videoListSort', new ___WEBPACK_IMPORTED_MODULE_4__["SortingRowComponent"]({
|
|
2128
|
-
collection: this.collection,
|
|
2129
|
-
folderChord: this.options.folderChord,
|
|
2130
|
-
searchTerm: this.options.searchTerm,
|
|
2131
|
-
channelName: this.options.channelName
|
|
2132
|
-
}));
|
|
2133
|
-
}
|
|
2134
|
-
}, {
|
|
2135
|
-
key: "renderVideoList",
|
|
2136
|
-
value: function renderVideoList() {
|
|
2137
|
-
this.showChildView('videoList', new ___WEBPACK_IMPORTED_MODULE_4__["VideoListCollectionComponent"]({
|
|
2138
|
-
folderChord: this.options.folderChord,
|
|
2139
|
-
collection: this.collection,
|
|
2140
|
-
searchTerm: this.options.searchTerm,
|
|
2141
|
-
supportSiteUrl: this.options.supportSiteUrl
|
|
2142
|
-
}));
|
|
2143
|
-
}
|
|
2144
|
-
}, {
|
|
2145
|
-
key: "onRender",
|
|
2146
|
-
value: function onRender() {
|
|
2147
|
-
this.renderSortingRow();
|
|
2148
|
-
|
|
2149
|
-
if (this.collection.where({
|
|
2150
|
-
hidden: false
|
|
2151
|
-
}).length === 0) {
|
|
2152
|
-
this.renderEmptyMessage();
|
|
2153
|
-
return;
|
|
2154
|
-
}
|
|
2155
|
-
|
|
2156
|
-
this.renderVideoList();
|
|
2157
|
-
}
|
|
2158
|
-
}, {
|
|
2159
|
-
key: "name",
|
|
2160
|
-
get: function get() {
|
|
2161
|
-
return 'VideoListCollection';
|
|
2162
|
-
}
|
|
2163
|
-
}, {
|
|
2164
|
-
key: "template",
|
|
2165
|
-
get: function get() {
|
|
2166
|
-
return _VideoList_hbs__WEBPACK_IMPORTED_MODULE_5___default.a;
|
|
2167
|
-
}
|
|
2168
|
-
}, {
|
|
2169
|
-
key: "lang",
|
|
2170
|
-
get: function get() {
|
|
2171
|
-
return 'migrationWizard.videoList';
|
|
2172
|
-
}
|
|
2173
|
-
}]);
|
|
2174
|
-
|
|
2175
|
-
return VideoListCollection;
|
|
2176
|
-
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].Component);
|
|
2177
|
-
|
|
2178
|
-
/***/ }),
|
|
2179
|
-
|
|
2180
|
-
/***/ "./src/apps/migration-wizard/enums/VideoMigrationStatus.ts":
|
|
2181
|
-
/*!*****************************************************************!*\
|
|
2182
|
-
!*** ./src/apps/migration-wizard/enums/VideoMigrationStatus.ts ***!
|
|
2183
|
-
\*****************************************************************/
|
|
2184
|
-
/*! exports provided: VideoMigrationStatus */
|
|
2185
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2186
|
-
|
|
2187
|
-
"use strict";
|
|
2188
|
-
__webpack_require__.r(__webpack_exports__);
|
|
2189
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VideoMigrationStatus", function() { return VideoMigrationStatus; });
|
|
2190
|
-
var VideoMigrationStatus;
|
|
2191
|
-
|
|
2192
|
-
(function (VideoMigrationStatus) {
|
|
2193
|
-
VideoMigrationStatus[VideoMigrationStatus["NeedsManualReview"] = -1] = "NeedsManualReview";
|
|
2194
|
-
VideoMigrationStatus[VideoMigrationStatus["HasNotBeenMigrated"] = 0] = "HasNotBeenMigrated";
|
|
2195
|
-
VideoMigrationStatus[VideoMigrationStatus["MigratedByUser"] = 1] = "MigratedByUser";
|
|
2196
|
-
})(VideoMigrationStatus || (VideoMigrationStatus = {}));
|
|
2197
|
-
|
|
2198
|
-
/***/ }),
|
|
2199
|
-
|
|
2200
|
-
/***/ "./src/apps/migration-wizard/utils/ReportHelper.ts":
|
|
2201
|
-
/*!*********************************************************!*\
|
|
2202
|
-
!*** ./src/apps/migration-wizard/utils/ReportHelper.ts ***!
|
|
2203
|
-
\*********************************************************/
|
|
2204
|
-
/*! exports provided: ReportHelper */
|
|
2205
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2206
|
-
|
|
2207
|
-
"use strict";
|
|
2208
|
-
__webpack_require__.r(__webpack_exports__);
|
|
2209
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ReportHelper", function() { return ReportHelper; });
|
|
2210
|
-
/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! underscore */ "underscore");
|
|
2211
|
-
/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(underscore__WEBPACK_IMPORTED_MODULE_0__);
|
|
2212
|
-
/* harmony import */ var _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../libs/common/src/backbone/services/LanguageService */ "../../libs/common/src/backbone/services/LanguageService.tsx");
|
|
2213
|
-
/* harmony import */ var _enums__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../enums */ "./src/apps/migration-wizard/enums/index.ts");
|
|
2214
|
-
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; }
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
var lang = 'migrationWizard.utils';
|
|
2220
|
-
var ReportHelper = {
|
|
2221
|
-
getReportOptions: function getReportOptions() {
|
|
2222
|
-
var _ref;
|
|
2223
|
-
|
|
2224
|
-
return _ref = {}, _defineProperty(_ref, _enums__WEBPACK_IMPORTED_MODULE_2__["MigrationReportType"].Migrated, {
|
|
2225
|
-
id: 'migrated',
|
|
2226
|
-
type: 'homemigrator.le.migration.migrated.report',
|
|
2227
|
-
labelText: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_1__["LanguageService"].getPhrase(lang, 'migratedOption')
|
|
2228
|
-
}), _defineProperty(_ref, _enums__WEBPACK_IMPORTED_MODULE_2__["MigrationReportType"].Remaining, {
|
|
2229
|
-
id: 'remaining',
|
|
2230
|
-
type: 'homemigrator.le.migration.videos.remaining.report',
|
|
2231
|
-
labelText: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_1__["LanguageService"].getPhrase(lang, 'remainingOption')
|
|
2232
|
-
}), _defineProperty(_ref, _enums__WEBPACK_IMPORTED_MODULE_2__["MigrationReportType"].Errored, {
|
|
2233
|
-
id: 'errored',
|
|
2234
|
-
type: 'homemigrator.le.migration.error.report',
|
|
2235
|
-
labelText: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_1__["LanguageService"].getPhrase(lang, 'erroredOption')
|
|
2236
|
-
}), _defineProperty(_ref, _enums__WEBPACK_IMPORTED_MODULE_2__["MigrationReportType"].ContentMatched, {
|
|
2237
|
-
id: 'content-matched',
|
|
2238
|
-
type: 'homemigrator.le.migration.content.matched.report',
|
|
2239
|
-
labelText: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_1__["LanguageService"].getPhrase(lang, 'linkedOption')
|
|
2240
|
-
}), _ref;
|
|
2241
|
-
},
|
|
2242
|
-
processValidReportOptions: function processValidReportOptions(options) {
|
|
2243
|
-
var reportOptions = this.getReportOptions();
|
|
2244
|
-
var validReportOptions = {};
|
|
2245
|
-
|
|
2246
|
-
underscore__WEBPACK_IMPORTED_MODULE_0__["each"](underscore__WEBPACK_IMPORTED_MODULE_0__["keys"](reportOptions), function (key) {
|
|
2247
|
-
if (underscore__WEBPACK_IMPORTED_MODULE_0__["contains"](options, reportOptions[key].type)) validReportOptions[key] = reportOptions[key];
|
|
2248
|
-
});
|
|
2249
|
-
|
|
2250
|
-
return validReportOptions;
|
|
2251
|
-
},
|
|
2252
|
-
filterSelectedOptions: function filterSelectedOptions(options) {
|
|
2253
|
-
return underscore__WEBPACK_IMPORTED_MODULE_0__["filter"](underscore__WEBPACK_IMPORTED_MODULE_0__["keys"](options), function (key) {
|
|
2254
|
-
return options[key].selected;
|
|
2255
|
-
}).map(function (key) {
|
|
2256
|
-
return options[key].id;
|
|
2257
|
-
});
|
|
2258
|
-
},
|
|
2259
|
-
getSelectedOptionsText: function getSelectedOptionsText(options) {
|
|
2260
|
-
var reportOptions = this.getReportOptions();
|
|
2261
|
-
return underscore__WEBPACK_IMPORTED_MODULE_0__["filter"](underscore__WEBPACK_IMPORTED_MODULE_0__["keys"](reportOptions), function (key) {
|
|
2262
|
-
return underscore__WEBPACK_IMPORTED_MODULE_0__["contains"](options, reportOptions[key].id);
|
|
2263
|
-
}).map(function (key) {
|
|
2264
|
-
return reportOptions[key].labelText;
|
|
2265
|
-
});
|
|
2266
|
-
}
|
|
2267
|
-
};
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
/***/ }),
|
|
2271
|
-
|
|
2272
|
-
/***/ "./src/apps/migration-wizard/utils/VideoHelper.ts":
|
|
2273
|
-
/*!********************************************************!*\
|
|
2274
|
-
!*** ./src/apps/migration-wizard/utils/VideoHelper.ts ***!
|
|
2275
|
-
\********************************************************/
|
|
2276
|
-
/*! exports provided: VideoHelper */
|
|
2277
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2278
|
-
|
|
2279
|
-
"use strict";
|
|
2280
|
-
__webpack_require__.r(__webpack_exports__);
|
|
2281
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VideoHelper", function() { return VideoHelper; });
|
|
2282
|
-
/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! underscore */ "underscore");
|
|
2283
|
-
/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(underscore__WEBPACK_IMPORTED_MODULE_0__);
|
|
2284
|
-
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
2285
|
-
/* harmony import */ var _models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../models */ "./src/apps/migration-wizard/models/index.ts");
|
|
2286
|
-
/* harmony import */ var _enums_VideoMigrationStatus__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../enums/VideoMigrationStatus */ "./src/apps/migration-wizard/enums/VideoMigrationStatus.ts");
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
var VideoHelper = {
|
|
2292
|
-
/**
|
|
2293
|
-
* Given a video, set its selected property if appropriate
|
|
2294
|
-
*/
|
|
2295
|
-
setChecked: function setChecked(v, selectedIds, initialMigration) {
|
|
2296
|
-
v.set('selected', false);
|
|
2297
|
-
var selectLast3Years = initialMigration && v.get('viewsLast3Years') > 0;
|
|
2298
|
-
|
|
2299
|
-
var videoSelected = underscore__WEBPACK_IMPORTED_MODULE_0__["contains"](selectedIds, v.id.toString()); // Select videos that have been selected before
|
|
2300
|
-
// Or select videos that have been viewed in the last 3 years, unless selected videos already existed
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
if (videoSelected || selectLast3Years && selectedIds.length === 0) v.set('selected', true);
|
|
2304
|
-
},
|
|
2305
|
-
|
|
2306
|
-
/**
|
|
2307
|
-
* Sort a collection of videos by a given key
|
|
2308
|
-
* @param collection the collection to sort
|
|
2309
|
-
* @param sortBy the key on the model to sort by
|
|
2310
|
-
* @param shouldReverse whether the sorting should be done in reverse order
|
|
2311
|
-
*/
|
|
2312
|
-
sortVideos: function sortVideos(collection, sortBy, shouldReverse) {
|
|
2313
|
-
// Default sorting key
|
|
2314
|
-
var dKey = 'name';
|
|
2315
|
-
|
|
2316
|
-
collection.comparator = function (a, b) {
|
|
2317
|
-
a.keys().forEach(function (key) {
|
|
2318
|
-
if (key === sortBy) dKey = key;
|
|
2319
|
-
});
|
|
2320
|
-
var aVal = a.get(dKey);
|
|
2321
|
-
var bVal = b.get(dKey);
|
|
2322
|
-
|
|
2323
|
-
if (typeof aVal === 'string' && typeof bVal === 'string') {
|
|
2324
|
-
aVal = aVal.toLowerCase();
|
|
2325
|
-
bVal = bVal.toLowerCase();
|
|
2326
|
-
}
|
|
2327
|
-
|
|
2328
|
-
if (aVal < bVal) return shouldReverse ? 1 : -1;
|
|
2329
|
-
if (aVal > bVal) return shouldReverse ? -1 : 1;
|
|
2330
|
-
return 0;
|
|
2331
|
-
};
|
|
2332
|
-
|
|
2333
|
-
collection.sort();
|
|
2334
|
-
return collection;
|
|
2335
|
-
},
|
|
2336
|
-
|
|
2337
|
-
/**
|
|
2338
|
-
* Toggle the 'hidden' property on each model in a collection
|
|
2339
|
-
* @param collection the collection of videos
|
|
2340
|
-
* @param forcedToggle if passed, every migrated video will get 'hidden' set to the given boolean value
|
|
2341
|
-
*/
|
|
2342
|
-
toggleMigrated: function toggleMigrated(collection, forcedToggle) {
|
|
2343
|
-
collection.each(function (video) {
|
|
2344
|
-
var migrated = video.get('migrationStatus') !== _enums_VideoMigrationStatus__WEBPACK_IMPORTED_MODULE_3__["VideoMigrationStatus"].HasNotBeenMigrated;
|
|
2345
|
-
var hidden = video.get('hidden');
|
|
2346
|
-
if (!underscore__WEBPACK_IMPORTED_MODULE_0__["isUndefined"](forcedToggle) && migrated) video.set('hidden', forcedToggle);else if (migrated) video.set('hidden', !hidden);else video.set('hidden', false);
|
|
2347
|
-
});
|
|
2348
|
-
return collection;
|
|
2349
|
-
},
|
|
2350
|
-
|
|
2351
|
-
/**
|
|
2352
|
-
* Iterates over all the selected videos and groups them by category
|
|
2353
|
-
*/
|
|
2354
|
-
getSelectedVideosCollection: function getSelectedVideosCollection(selectedVideos) {
|
|
2355
|
-
var selectedVideosCollection = new _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__["Core"].Collection();
|
|
2356
|
-
Object.keys(selectedVideos).forEach(function (key) {
|
|
2357
|
-
var _selectedVideos$key = selectedVideos[key],
|
|
2358
|
-
id = _selectedVideos$key.id,
|
|
2359
|
-
folderChord = _selectedVideos$key.folderChord;
|
|
2360
|
-
var videoCategory = selectedVideosCollection.findWhere({
|
|
2361
|
-
folderChord: folderChord
|
|
2362
|
-
});
|
|
2363
|
-
|
|
2364
|
-
if (videoCategory) {
|
|
2365
|
-
videoCategory.set('count', videoCategory.get('count') + 1);
|
|
2366
|
-
videoCategory.get('videoIds').push(id);
|
|
2367
|
-
} else {
|
|
2368
|
-
selectedVideosCollection.add(new _models__WEBPACK_IMPORTED_MODULE_2__["SelectedVideo"]({
|
|
2369
|
-
count: 1,
|
|
2370
|
-
folderChord: folderChord,
|
|
2371
|
-
videoIds: [id]
|
|
2372
|
-
}));
|
|
2373
|
-
}
|
|
2374
|
-
});
|
|
2375
|
-
selectedVideosCollection.each(function (grouped) {
|
|
2376
|
-
grouped.set('folderChord', grouped.get('folderChord'));
|
|
2377
|
-
});
|
|
2378
|
-
return selectedVideosCollection;
|
|
2379
|
-
}
|
|
2380
|
-
};
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
/***/ })
|
|
2384
|
-
|
|
2385
|
-
}]);
|
|
2386
|
-
//# sourceMappingURL=14.chunk.js.map
|