@clickview/library-editor 1.1.19-dev.0 → 1.1.19-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/1.chunk.css.map +1 -0
- package/dist/css/10.chunk.css.map +1 -0
- package/dist/css/11.chunk.css +137 -0
- package/dist/css/11.chunk.css.map +1 -0
- package/dist/css/12.chunk.css.map +1 -0
- package/dist/css/13.chunk.css.map +1 -0
- package/dist/css/14.chunk.css.map +1 -0
- package/dist/css/16.chunk.css.map +1 -0
- package/dist/css/17.chunk.css.map +1 -0
- package/dist/css/18.chunk.css.map +1 -0
- package/dist/css/2.chunk.css.map +1 -0
- package/dist/css/21.chunk.css.map +1 -0
- package/dist/css/22.chunk.css.map +1 -0
- package/dist/css/23.chunk.css.map +1 -0
- package/dist/css/25.chunk.css.map +1 -0
- package/dist/css/26.chunk.css.map +1 -0
- package/dist/css/28.chunk.css.map +1 -0
- package/dist/css/29.chunk.css.map +1 -0
- package/dist/css/3.chunk.css +17 -0
- package/dist/css/3.chunk.css.map +1 -0
- package/dist/css/30.chunk.css.map +1 -0
- package/dist/css/31.chunk.css.map +1 -0
- package/dist/css/32.chunk.css.map +1 -0
- package/dist/css/33.chunk.css +16 -0
- package/dist/css/33.chunk.css.map +1 -0
- package/dist/css/34.chunk.css +21 -0
- package/dist/css/34.chunk.css.map +1 -0
- package/dist/css/35.chunk.css +20 -0
- package/dist/css/35.chunk.css.map +1 -0
- package/dist/css/36.chunk.css.map +1 -0
- package/dist/css/37.chunk.css.map +1 -0
- package/dist/css/38.chunk.css.map +1 -0
- package/dist/css/40.chunk.css.map +1 -0
- package/dist/css/41.chunk.css.map +1 -0
- package/dist/css/42.chunk.css.map +1 -0
- package/dist/css/43.chunk.css.map +1 -0
- package/dist/css/44.chunk.css.map +1 -0
- package/dist/css/45.chunk.css.map +1 -0
- package/dist/css/46.chunk.css.map +1 -0
- package/dist/css/47.chunk.css.map +1 -0
- package/dist/css/48.chunk.css.map +1 -0
- package/dist/css/49.chunk.css +35 -0
- package/dist/css/49.chunk.css.map +1 -0
- package/dist/css/50.chunk.css.map +1 -0
- package/dist/css/51.chunk.css.map +1 -0
- package/dist/css/52.chunk.css +66 -0
- package/dist/css/52.chunk.css.map +1 -0
- package/dist/css/55.chunk.css.map +1 -0
- package/dist/css/56.chunk.css.map +1 -0
- package/dist/css/58.chunk.css.map +1 -0
- package/dist/css/59.chunk.css.map +1 -0
- package/dist/css/6.chunk.css.map +1 -0
- package/dist/css/60.chunk.css +18 -0
- package/dist/css/60.chunk.css.map +1 -0
- package/dist/css/62.chunk.css.map +1 -0
- package/dist/css/63.chunk.css +170 -0
- package/dist/css/63.chunk.css.map +1 -0
- package/dist/css/67.chunk.css +78 -0
- package/dist/css/67.chunk.css.map +1 -0
- package/dist/css/68.chunk.css +17 -0
- package/dist/css/68.chunk.css.map +1 -0
- package/dist/css/69.chunk.css +17 -0
- package/dist/css/69.chunk.css.map +1 -0
- package/dist/css/7.chunk.css.map +1 -0
- package/dist/css/70.chunk.css +23 -0
- package/dist/css/70.chunk.css.map +1 -0
- package/dist/css/71.chunk.css +40 -0
- package/dist/css/71.chunk.css.map +1 -0
- package/dist/css/72.chunk.css +16 -0
- package/dist/css/72.chunk.css.map +1 -0
- package/dist/css/73.chunk.css +37 -0
- package/dist/css/73.chunk.css.map +1 -0
- package/dist/css/74.chunk.css +29 -0
- package/dist/css/74.chunk.css.map +1 -0
- package/dist/css/75.chunk.css +6 -0
- package/dist/css/75.chunk.css.map +1 -0
- package/dist/css/76.chunk.css +6 -0
- package/dist/css/76.chunk.css.map +1 -0
- package/dist/css/8.chunk.css.map +1 -0
- package/dist/css/library-editor-app.css +2 -0
- package/dist/css/library-editor-app.css.map +1 -0
- package/dist/en.json +1 -1
- package/dist/libs/analytics/src/interfaces/AnalyticsTypes.d.ts +49 -5
- package/dist/libs/common/src/backbone/core/BaseAppRouter.d.ts +5 -1
- package/dist/libs/shared/src/apps/search/components/instant-search/classification/ClassificationSearchResultComponent.d.ts +17 -0
- package/dist/libs/shared/src/apps/search/components/instant-search/index.d.ts +1 -0
- package/dist/libs/shared/src/apps/search/enums/SearchQueryType.d.ts +1 -1
- package/dist/libs/shared/src/apps/search/utils/InstantSearchHelper.d.ts +1 -0
- package/dist/libs/shared/src/apps/search/views/search-bar/SearchBarView.d.ts +2 -0
- package/dist/libs/shared/src/apps/upload/services/UploadService.d.ts +3 -2
- package/dist/libs/shared/src/constants/BootstrapKeys.d.ts +1 -0
- package/dist/libs/shared/src/enums/CountryCode.d.ts +5 -0
- package/dist/libs/shared/src/enums/SubtitleExtractionOptions.d.ts +4 -0
- package/dist/libs/shared/src/enums/WidgetContents.d.ts +2 -1
- package/dist/libs/shared/src/interfaces/app-variables/BaseSearchAppVariables.d.ts +1 -1
- package/dist/libs/shared/src/interfaces/models/Classification.d.ts +1 -0
- package/dist/libs/shared/src/interfaces/models/Config.d.ts +3 -1
- package/dist/libs/shared/src/interfaces/models/Group.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/models/Theme.d.ts +1 -2
- package/dist/libs/shared/src/interfaces/models/User.d.ts +2 -1
- package/dist/libs/shared/src/interfaces/models/UserChannel.d.ts +7 -0
- package/dist/libs/shared/src/interfaces/models/index.d.ts +2 -0
- package/dist/libs/shared/src/legacy/components/thumbnail/ThumbnailComponent.d.ts +1 -0
- package/dist/projects/library-editor/src/apps/default/DefaultApplication.d.ts +1 -1
- package/dist/scripts/{0-48b01028ea.chunk.js → 0-8cdf48d69e.chunk.js} +1 -1
- package/dist/scripts/0.chunk.js +1034 -0
- package/dist/scripts/0.chunk.js.map +1 -0
- package/dist/scripts/1-a197f0efeb.chunk.js +1 -0
- package/dist/scripts/1.chunk.js +442 -0
- package/dist/scripts/1.chunk.js.map +1 -0
- package/dist/scripts/{10-b4b24c05f8.chunk.js → 10-48aa375ebe.chunk.js} +1 -1
- package/dist/scripts/10.chunk.js +820 -0
- package/dist/scripts/10.chunk.js.map +1 -0
- package/dist/scripts/{11-e79fc84dc9.chunk.js → 11-805aab3b80.chunk.js} +1 -1
- package/dist/scripts/11.chunk.js +4091 -0
- package/dist/scripts/11.chunk.js.map +1 -0
- package/dist/scripts/{12-58284faf21.chunk.js → 12-57671136e8.chunk.js} +1 -1
- package/dist/scripts/12.chunk.js +555 -0
- package/dist/scripts/12.chunk.js.map +1 -0
- package/dist/scripts/{13-2c4cd203ec.chunk.js → 13-46bc40cc23.chunk.js} +1 -1
- package/dist/scripts/13.chunk.js +373 -0
- package/dist/scripts/13.chunk.js.map +1 -0
- package/dist/scripts/{14-2eeb73cd11.chunk.js → 14-556e982a73.chunk.js} +1 -1
- package/dist/scripts/14.chunk.js +2386 -0
- package/dist/scripts/14.chunk.js.map +1 -0
- package/dist/scripts/15-2edbad42a0.chunk.js +1 -0
- package/dist/scripts/15.chunk.js +314 -0
- package/dist/scripts/15.chunk.js.map +1 -0
- package/dist/scripts/{16-68c900303f.chunk.js → 16-60b9a789b4.chunk.js} +1 -1
- package/dist/scripts/16.chunk.js +1290 -0
- package/dist/scripts/16.chunk.js.map +1 -0
- package/dist/scripts/{17-af7eca54ed.chunk.js → 17-d6083dbd9b.chunk.js} +1 -1
- package/dist/scripts/17.chunk.js +381 -0
- package/dist/scripts/17.chunk.js.map +1 -0
- package/dist/scripts/{18-087b42c483.chunk.js → 18-31ce9284d0.chunk.js} +1 -1
- package/dist/scripts/18.chunk.js +393 -0
- package/dist/scripts/18.chunk.js.map +1 -0
- package/dist/scripts/19.chunk.js +364 -0
- package/dist/scripts/19.chunk.js.map +1 -0
- package/dist/scripts/{2-c70309751f.chunk.js → 2-33fcca96e3.chunk.js} +1 -1
- package/dist/scripts/2.chunk.js +519 -0
- package/dist/scripts/2.chunk.js.map +1 -0
- package/dist/scripts/{20-caf95bbe64.chunk.js → 20-3c2f3fb166.chunk.js} +1 -1
- package/dist/scripts/20.chunk.js +317 -0
- package/dist/scripts/20.chunk.js.map +1 -0
- package/dist/scripts/21-9497f03cd8.chunk.js +1 -0
- package/dist/scripts/21.chunk.js +531 -0
- package/dist/scripts/21.chunk.js.map +1 -0
- package/dist/scripts/{22-f2b4962990.chunk.js → 22-22cd929ad4.chunk.js} +1 -1
- package/dist/scripts/22.chunk.js +354 -0
- package/dist/scripts/22.chunk.js.map +1 -0
- package/dist/scripts/{23-d575c690b9.chunk.js → 23-16b02d09f5.chunk.js} +1 -1
- package/dist/scripts/23.chunk.js +605 -0
- package/dist/scripts/23.chunk.js.map +1 -0
- package/dist/scripts/{24-dc5b027075.chunk.js → 24-24699f9007.chunk.js} +1 -1
- package/dist/scripts/24.chunk.js +318 -0
- package/dist/scripts/24.chunk.js.map +1 -0
- package/dist/scripts/{25-956d1e9caf.chunk.js → 25-7a210f731b.chunk.js} +1 -1
- package/dist/scripts/25.chunk.js +365 -0
- package/dist/scripts/25.chunk.js.map +1 -0
- package/dist/scripts/{26-7a3d12d816.chunk.js → 26-263cf0ebce.chunk.js} +1 -1
- package/dist/scripts/26.chunk.js +437 -0
- package/dist/scripts/26.chunk.js.map +1 -0
- package/dist/scripts/{27-dc6045c275.chunk.js → 27-707d8b29f0.chunk.js} +1 -1
- package/dist/scripts/27.chunk.js +3565 -0
- package/dist/scripts/27.chunk.js.map +1 -0
- package/dist/scripts/{28-e7ce349a42.chunk.js → 28-d748f747fa.chunk.js} +1 -1
- package/dist/scripts/28.chunk.js +3129 -0
- package/dist/scripts/28.chunk.js.map +1 -0
- package/dist/scripts/{29-e281d8346a.chunk.js → 29-ef4aaa5fd8.chunk.js} +1 -1
- package/dist/scripts/29.chunk.js +3088 -0
- package/dist/scripts/29.chunk.js.map +1 -0
- package/dist/scripts/{3-afb156ea3e.chunk.js → 3-9ac062f7ab.chunk.js} +1 -1
- package/dist/scripts/3.chunk.js +782 -0
- package/dist/scripts/3.chunk.js.map +1 -0
- package/dist/scripts/{30-d4b6c1cd1d.chunk.js → 30-1b84ae2ac7.chunk.js} +1 -1
- package/dist/scripts/30.chunk.js +1809 -0
- package/dist/scripts/30.chunk.js.map +1 -0
- package/dist/scripts/{31-c1d42342dd.chunk.js → 31-b51d47f02b.chunk.js} +1 -1
- package/dist/scripts/31.chunk.js +958 -0
- package/dist/scripts/31.chunk.js.map +1 -0
- package/dist/scripts/{32-1b1e4c86f5.chunk.js → 32-3f5cffb858.chunk.js} +1 -1
- package/dist/scripts/32.chunk.js +1235 -0
- package/dist/scripts/32.chunk.js.map +1 -0
- package/dist/scripts/33-bd5b8ad402.chunk.js +1 -0
- package/dist/scripts/33.chunk.js +792 -0
- package/dist/scripts/33.chunk.js.map +1 -0
- package/dist/scripts/34-16c6ce9391.chunk.js +1 -0
- package/dist/scripts/34.chunk.js +990 -0
- package/dist/scripts/34.chunk.js.map +1 -0
- package/dist/scripts/35-f0ff6077b5.chunk.js +1 -0
- package/dist/scripts/35.chunk.js +518 -0
- package/dist/scripts/35.chunk.js.map +1 -0
- package/dist/scripts/{36-37f9fd0ad1.chunk.js → 36-6d5df4dbb0.chunk.js} +1 -1
- package/dist/scripts/36.chunk.js +335 -0
- package/dist/scripts/36.chunk.js.map +1 -0
- package/dist/scripts/{37-06db9481cd.chunk.js → 37-1aedf84774.chunk.js} +1 -1
- package/dist/scripts/37.chunk.js +236 -0
- package/dist/scripts/37.chunk.js.map +1 -0
- package/dist/scripts/{38-528abd1bba.chunk.js → 38-9411624870.chunk.js} +1 -1
- package/dist/scripts/38.chunk.js +315 -0
- package/dist/scripts/38.chunk.js.map +1 -0
- package/dist/scripts/{39-80001e779c.chunk.js → 39-f46d2f69b1.chunk.js} +1 -1
- package/dist/scripts/39.chunk.js +116 -0
- package/dist/scripts/39.chunk.js.map +1 -0
- package/dist/scripts/{4-f8a4d0b62a.chunk.js → 4-2bf2f1b864.chunk.js} +1 -1
- package/dist/scripts/4.chunk.js +335 -0
- package/dist/scripts/4.chunk.js.map +1 -0
- package/dist/scripts/{40-d59ee7c3e1.chunk.js → 40-2134ac47ae.chunk.js} +1 -1
- package/dist/scripts/40.chunk.js +1782 -0
- package/dist/scripts/40.chunk.js.map +1 -0
- package/dist/scripts/{41-8c75d122fc.chunk.js → 41-38841ce7ed.chunk.js} +1 -1
- package/dist/scripts/41.chunk.js +2347 -0
- package/dist/scripts/41.chunk.js.map +1 -0
- package/dist/scripts/{42-a68ee26f34.chunk.js → 42-06cb96ddaf.chunk.js} +1 -1
- package/dist/scripts/42.chunk.js +2111 -0
- package/dist/scripts/42.chunk.js.map +1 -0
- package/dist/scripts/{43-bde1af67cb.chunk.js → 43-164d1aaf84.chunk.js} +1 -1
- package/dist/scripts/43.chunk.js +2243 -0
- package/dist/scripts/43.chunk.js.map +1 -0
- package/dist/scripts/{44-abdd275e46.chunk.js → 44-234dd1aac7.chunk.js} +1 -1
- package/dist/scripts/44.chunk.js +1024 -0
- package/dist/scripts/44.chunk.js.map +1 -0
- package/dist/scripts/{45-6b745e57af.chunk.js → 45-26c33d7856.chunk.js} +1 -1
- package/dist/scripts/45.chunk.js +1065 -0
- package/dist/scripts/45.chunk.js.map +1 -0
- package/dist/scripts/{46-bee29b02a3.chunk.js → 46-07c390591d.chunk.js} +1 -1
- package/dist/scripts/46.chunk.js +613 -0
- package/dist/scripts/46.chunk.js.map +1 -0
- package/dist/scripts/{47-c142425de4.chunk.js → 47-6a9c70d236.chunk.js} +1 -1
- package/dist/scripts/47.chunk.js +735 -0
- package/dist/scripts/47.chunk.js.map +1 -0
- package/dist/scripts/{48-81efa76f40.chunk.js → 48-ee3bf3e841.chunk.js} +1 -1
- package/dist/scripts/48.chunk.js +994 -0
- package/dist/scripts/48.chunk.js.map +1 -0
- package/dist/scripts/{49-cbd218d6e4.chunk.js → 49-73ebbe96d0.chunk.js} +1 -1
- package/dist/scripts/49.chunk.js +759 -0
- package/dist/scripts/49.chunk.js.map +1 -0
- package/dist/scripts/{5-1b6768e719.chunk.js → 5-19ce45d023.chunk.js} +1 -1
- package/dist/scripts/5.chunk.js +40 -0
- package/dist/scripts/5.chunk.js.map +1 -0
- package/dist/scripts/{50-ec2f179d8c.chunk.js → 50-a1439e0fa7.chunk.js} +1 -1
- package/dist/scripts/50.chunk.js +528 -0
- package/dist/scripts/50.chunk.js.map +1 -0
- package/dist/scripts/{51-9b91910fc0.chunk.js → 51-cad32e2046.chunk.js} +1 -1
- package/dist/scripts/51.chunk.js +932 -0
- package/dist/scripts/51.chunk.js.map +1 -0
- package/dist/scripts/{52-d2e93491a5.chunk.js → 52-1d3e8eb21e.chunk.js} +1 -1
- package/dist/scripts/52.chunk.js +408 -0
- package/dist/scripts/52.chunk.js.map +1 -0
- package/dist/scripts/{53-1c8ff136ad.chunk.js → 53-5e80e33e98.chunk.js} +1 -1
- package/dist/scripts/53.chunk.js +754 -0
- package/dist/scripts/53.chunk.js.map +1 -0
- package/dist/scripts/{54-34116d34e6.chunk.js → 54-8df01312cc.chunk.js} +1 -1
- package/dist/scripts/54.chunk.js +681 -0
- package/dist/scripts/54.chunk.js.map +1 -0
- package/dist/scripts/{55-02803101de.chunk.js → 55-4c8d7b57f9.chunk.js} +1 -1
- package/dist/scripts/55.chunk.js +645 -0
- package/dist/scripts/55.chunk.js.map +1 -0
- package/dist/scripts/{56-19ec4b6ccd.chunk.js → 56-1d96fdfcd3.chunk.js} +1 -1
- package/dist/scripts/56.chunk.js +346 -0
- package/dist/scripts/56.chunk.js.map +1 -0
- package/dist/scripts/{57-17e93c944c.chunk.js → 57-c17cdf728f.chunk.js} +1 -1
- package/dist/scripts/57.chunk.js +422 -0
- package/dist/scripts/57.chunk.js.map +1 -0
- package/dist/scripts/{58-dd77463e63.chunk.js → 58-ce34e558f4.chunk.js} +1 -1
- package/dist/scripts/58.chunk.js +437 -0
- package/dist/scripts/58.chunk.js.map +1 -0
- package/dist/scripts/{59-08e8830b9c.chunk.js → 59-cc8e184cce.chunk.js} +1 -1
- package/dist/scripts/59.chunk.js +342 -0
- package/dist/scripts/59.chunk.js.map +1 -0
- package/dist/scripts/6-e9685801b5.chunk.js +1 -0
- package/dist/scripts/6.chunk.js +484 -0
- package/dist/scripts/6.chunk.js.map +1 -0
- package/dist/scripts/{60-720797bb78.chunk.js → 60-8d73b65e4e.chunk.js} +1 -1
- package/dist/scripts/60.chunk.js +254 -0
- package/dist/scripts/60.chunk.js.map +1 -0
- package/dist/scripts/{61-66e55ae6e1.chunk.js → 61-bd804db13e.chunk.js} +1 -1
- package/dist/scripts/61.chunk.js +318 -0
- package/dist/scripts/61.chunk.js.map +1 -0
- package/dist/scripts/{62-beb29b208b.chunk.js → 62-827229b727.chunk.js} +1 -1
- package/dist/scripts/62.chunk.js +142 -0
- package/dist/scripts/62.chunk.js.map +1 -0
- package/dist/scripts/{63-bbc787afe7.chunk.js → 63-7251ac44d0.chunk.js} +1 -1
- package/dist/scripts/63.chunk.js +147 -0
- package/dist/scripts/63.chunk.js.map +1 -0
- package/dist/scripts/{64-b10c083c61.chunk.js → 64-33ca5259e4.chunk.js} +1 -1
- package/dist/scripts/64.chunk.js +439 -0
- package/dist/scripts/64.chunk.js.map +1 -0
- package/dist/scripts/{65-40c1cc2f53.chunk.js → 65-50d52bf3df.chunk.js} +1 -1
- package/dist/scripts/65.chunk.js +582 -0
- package/dist/scripts/65.chunk.js.map +1 -0
- package/dist/scripts/{66-32ae3ca73f.chunk.js → 66-fe41a3b54a.chunk.js} +1 -1
- package/dist/scripts/66.chunk.js +442 -0
- package/dist/scripts/66.chunk.js.map +1 -0
- package/dist/scripts/{67-1f082de6fd.chunk.js → 67-1508455eb9.chunk.js} +1 -1
- package/dist/scripts/67.chunk.js +295 -0
- package/dist/scripts/67.chunk.js.map +1 -0
- package/dist/scripts/{68-f53fbad25f.chunk.js → 68-21e8520126.chunk.js} +1 -1
- package/dist/scripts/68.chunk.js +165 -0
- package/dist/scripts/68.chunk.js.map +1 -0
- package/dist/scripts/{69-984061e3b8.chunk.js → 69-4d26485024.chunk.js} +1 -1
- package/dist/scripts/69.chunk.js +248 -0
- package/dist/scripts/69.chunk.js.map +1 -0
- package/dist/scripts/{7-7d12e809a2.chunk.js → 7-d0085fdf2e.chunk.js} +1 -1
- package/dist/scripts/7.chunk.js +309 -0
- package/dist/scripts/7.chunk.js.map +1 -0
- package/dist/scripts/{70-8edf7afb7b.chunk.js → 70-8e1d03a7d8.chunk.js} +1 -1
- package/dist/scripts/70.chunk.js +207 -0
- package/dist/scripts/70.chunk.js.map +1 -0
- package/dist/scripts/{71-6365b9e3d4.chunk.js → 71-b835514c89.chunk.js} +1 -1
- package/dist/scripts/71.chunk.js +237 -0
- package/dist/scripts/71.chunk.js.map +1 -0
- package/dist/scripts/{72-85505b2300.chunk.js → 72-23d6083900.chunk.js} +1 -1
- package/dist/scripts/72.chunk.js +331 -0
- package/dist/scripts/72.chunk.js.map +1 -0
- package/dist/scripts/73.chunk.js +404 -0
- package/dist/scripts/73.chunk.js.map +1 -0
- package/dist/scripts/74.chunk.js +301 -0
- package/dist/scripts/74.chunk.js.map +1 -0
- package/dist/scripts/75.chunk.js +231 -0
- package/dist/scripts/75.chunk.js.map +1 -0
- package/dist/scripts/76.chunk.js +157 -0
- package/dist/scripts/76.chunk.js.map +1 -0
- package/dist/scripts/77.chunk.js +307 -0
- package/dist/scripts/77.chunk.js.map +1 -0
- package/dist/scripts/78.chunk.js +249 -0
- package/dist/scripts/78.chunk.js.map +1 -0
- package/dist/scripts/79.chunk.js +282 -0
- package/dist/scripts/79.chunk.js.map +1 -0
- package/dist/scripts/{8-76e9f1bbc7.chunk.js → 8-0ebd446b65.chunk.js} +1 -1
- package/dist/scripts/8.chunk.js +307 -0
- package/dist/scripts/8.chunk.js.map +1 -0
- package/dist/scripts/80.chunk.js +308 -0
- package/dist/scripts/80.chunk.js.map +1 -0
- package/dist/scripts/81.chunk.js +366 -0
- package/dist/scripts/81.chunk.js.map +1 -0
- package/dist/scripts/82.chunk.js +314 -0
- package/dist/scripts/82.chunk.js.map +1 -0
- package/dist/scripts/83.chunk.js +328 -0
- package/dist/scripts/83.chunk.js.map +1 -0
- package/dist/scripts/84.chunk.js +313 -0
- package/dist/scripts/84.chunk.js.map +1 -0
- package/dist/scripts/85.chunk.js +291 -0
- package/dist/scripts/85.chunk.js.map +1 -0
- package/dist/scripts/86.chunk.js +119 -0
- package/dist/scripts/86.chunk.js.map +1 -0
- package/dist/scripts/87.chunk.js +219 -0
- package/dist/scripts/87.chunk.js.map +1 -0
- package/dist/scripts/88.chunk.js +194 -0
- package/dist/scripts/88.chunk.js.map +1 -0
- package/dist/scripts/89.chunk.js +522 -0
- package/dist/scripts/89.chunk.js.map +1 -0
- package/dist/scripts/9-0476e7c063.chunk.js +1 -0
- package/dist/scripts/9.chunk.js +222 -0
- package/dist/scripts/9.chunk.js.map +1 -0
- package/dist/scripts/90.chunk.js +337 -0
- package/dist/scripts/90.chunk.js.map +1 -0
- package/dist/scripts/91.chunk.js +131 -0
- package/dist/scripts/91.chunk.js.map +1 -0
- package/dist/scripts/92.chunk.js +266 -0
- package/dist/scripts/92.chunk.js.map +1 -0
- package/dist/scripts/bundle-511dc1956b.min.js +1 -0
- package/dist/scripts/bundle-8468900bf9.min.js +1 -0
- package/dist/scripts/bundle.js +57527 -0
- package/dist/scripts/bundle.js.map +1 -0
- package/dist/scripts/bundles.json +1 -1
- package/package.json +99 -99
- package/dist/scripts/1-098c567081.chunk.js +0 -1
- package/dist/scripts/15-6fa6f47a8b.chunk.js +0 -1
- package/dist/scripts/21-5d5cda7f47.chunk.js +0 -1
- package/dist/scripts/33-7ef65d086d.chunk.js +0 -1
- package/dist/scripts/34-6d7e7405af.chunk.js +0 -1
- package/dist/scripts/35-7d7e41a203.chunk.js +0 -1
- package/dist/scripts/6-e87b3c0be1.chunk.js +0 -1
- package/dist/scripts/9-a04919dbb2.chunk.js +0 -1
- package/dist/scripts/bundle-f3260e8016.min.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["file://C:/ClickView Projects/@clickview/packages/libs/shared/src/apps/notifications/views/notifications/Notifications.hbs","file://C:/ClickView Projects/@clickview/packages/libs/shared/src/apps/notifications/views/notifications/NotificationsView.ts","file://C:/ClickView Projects/@clickview/packages/libs/shared/src/legacy/components/pagination/Pagination.hbs","file://C:/ClickView Projects/@clickview/packages/libs/shared/src/legacy/components/pagination/PaginationComponent.ts"],"names":[],"mappings":"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","file":"scripts/61.chunk.js","sourcesContent":["var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var alias1=container.propertyIsEnumerable;\n\n return \"<div class=\\\"container-fluid bg-white p-3\\\">\\r\\n <h1 class=\\\"h3 header border-bottom pb-2 m-0\\\">\"\n + container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"notifications\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</h1>\\r\\n <div class=\\\"list-region\\\"></div>\\r\\n <div class=\\\"pagination-region\\\"></div>\\r\\n</div>\";\n},\"useData\":true});","import { ObjectHash } from 'backbone';\r\nimport { Core } from 'libs/common/core';\r\nimport { LanguageService } from 'libs/common/backbone/services/LanguageService';\r\nimport { InstanceManager } from 'libs/common/backbone/services/InstanceManager';\r\n\r\nimport { BaseNotificationsAppVariables } from 'libs/shared/interfaces';\r\nimport { PartialLoadingComponentTypes } from 'libs/shared/enums/PartialLoading';\r\nimport { SharedDataPrefixes } from 'libs/shared/constants/DataPrefixes';\r\nimport { SharedServices } from 'libs/shared/constants/SharedServices';\r\nimport { AppVariables } from 'libs/shared/constants/AppVariables';\r\nimport { CollectionIdentifier } from 'libs/shared/legacy/interfaces';\r\nimport { PaginationComponent } from 'libs/shared/legacy/components/pagination/PaginationComponent';\r\n\r\nimport { NotificationCollection } from 'libs/shared/apps/notifications/collections/NotificationCollection';\r\nimport { NotificationListComponent, NotificationChildType } from 'libs/shared/apps/notifications/components/notification-list/NotificationListComponent';\r\nimport { NotificationService } from 'libs/shared/apps/notifications/services/NotificationService';\r\n\r\nimport NotificationsTemplate from './Notifications.hbs';\r\n\r\nimport PartialLoadingTemplate from '../../components/notification-items/partial-loading/NotificationsPartial.hbs';\r\nimport PartialLoadingStyles from '../../components/notification-items/partial-loading/notification-partial.scss';\r\n\r\nexport interface NotificationsViewOptions extends Core.ViewOptions {\r\n params: ObjectHash;\r\n}\r\n\r\nexport class NotificationsView extends Core.View {\r\n protected options: NotificationsViewOptions;\r\n public collection: NotificationCollection;\r\n private collectionIdentifier: CollectionIdentifier;\r\n private notificationService: NotificationService;\r\n private appVariables: BaseNotificationsAppVariables;\r\n\r\n public constructor(options: NotificationsViewOptions) {\r\n super(options);\r\n }\r\n\r\n public get name(): string {\r\n return 'NotificationsView';\r\n }\r\n\r\n public get title(): string {\r\n return LanguageService.getPhrase(this.lang, 'title');\r\n }\r\n\r\n public get lang(): string {\r\n return 'notifications.notifications';\r\n }\r\n\r\n public get className(): string {\r\n return 'notifications-container';\r\n }\r\n\r\n public get template(): any {\r\n return NotificationsTemplate;\r\n }\r\n\r\n public regions(): ObjectHash {\r\n return {\r\n notifications: {\r\n replaceElement: true,\r\n el: '.list-region',\r\n partialLoading: {\r\n component: PartialLoadingComponentTypes.ComponentCollection,\r\n options: {\r\n collectionLength: 5,\r\n childOptions: {\r\n template: PartialLoadingTemplate,\r\n className: `px-1 py-2`,\r\n viewOptions: {\r\n styles: PartialLoadingStyles\r\n }\r\n }\r\n }\r\n }\r\n },\r\n pagination: {\r\n replaceElement: true,\r\n el: '.pagination-region',\r\n }\r\n };\r\n }\r\n\r\n public initialize(): void {\r\n this.notificationService = InstanceManager.getInstance(SharedServices.Notification, this);\r\n this.appVariables = InstanceManager.getInstance(AppVariables.NOTIFICATIONS, this);\r\n }\r\n\r\n private onData(collection: NotificationCollection): void {\r\n this.collection = collection;\r\n this.render();\r\n }\r\n\r\n private getCollectionIdentifier(): CollectionIdentifier {\r\n if (this.collectionIdentifier)\r\n return this.collectionIdentifier;\r\n\r\n return this.collectionIdentifier = new CollectionIdentifier({\r\n collectionPrefix: SharedDataPrefixes.NOTIFICATIONS,\r\n ...this.options.params\r\n });\r\n }\r\n\r\n private renderNotificationList(): void {\r\n const view = new NotificationListComponent({\r\n collection: this.collection,\r\n childType: NotificationChildType.Default,\r\n });\r\n\r\n this.showChildView('notifications', view);\r\n }\r\n\r\n private renderPagination(): void {\r\n if (!this.collection.length) return;\r\n\r\n const cursors = this.notificationService.getNotificationsCursors(this.getCollectionIdentifier());\r\n\r\n const paginationComponent = new PaginationComponent({\r\n cursors,\r\n appLink: {\r\n ...this.appVariables.appLinks.notifications,\r\n args: [],\r\n params: this.getCollectionIdentifier().toParams()\r\n }\r\n });\r\n\r\n this.showChildView('pagination', paginationComponent);\r\n }\r\n\r\n public onBeforeRender(): boolean {\r\n if (!this.collection) {\r\n this.notificationService.getNotifications(this.options.params,\r\n this.getCollectionIdentifier(),\r\n (collection: NotificationCollection) => this.onData(collection)\r\n );\r\n }\r\n\r\n return !!this.collection;\r\n }\r\n\r\n public onRender(): void {\r\n this.renderNotificationList();\r\n this.renderPagination();\r\n }\r\n}\r\n","var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n return \"disabled\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {}), alias3=container.hooks.helperMissing, alias4=container.escapeExpression;\n\n return \"<div class=\\\"p-3\\\">\\r\\n <a class=\\\"btn previous-applink btn-secondary \"\n + ((stack1 = helpers.unless.call(alias2,((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.cursors : stack1)) != null ? stack1.previous : stack1),{\"name\":\"unless\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"previous\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</a>\\r\\n <a class=\\\"btn next-applink btn-secondary \"\n + ((stack1 = helpers.unless.call(alias2,((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.cursors : stack1)) != null ? stack1.next : stack1),{\"name\":\"unless\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"next\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</a>\\r\\n</div>\";\n},\"useData\":true});","import * as _ from 'underscore';\r\nimport { ObjectHash } from 'backbone';\r\n\r\nimport { Core } from 'libs/common/core';\r\nimport { Cursors } from 'libs/common/backbone/interfaces';\r\n\r\nimport { AnalyticsOptions, WorkflowPhase, UserAction, LocationContext, EntityType } from 'libs/analytics/interfaces';\r\nimport { AnalyticsHelper } from 'libs/analytics/AnalyticsHelper';\r\n\r\nimport PaginationTemplate from './Pagination.hbs';\r\n\r\ninterface PaginationComponentOptions extends Core.ComponentOptions {\r\n cursors: Cursors;\r\n appLink: Core.AppLink;\r\n collectionId?: string;\r\n allowFirstPageCursor?: boolean;\r\n analyticsOptions?: AnalyticsOptions;\r\n cursorParamName?: string;\r\n}\r\n\r\nexport class PaginationComponent extends Core.Component {\r\n public options: PaginationComponentOptions;\r\n\r\n constructor(options: PaginationComponentOptions) {\r\n super(options);\r\n }\r\n\r\n public get defaults(): ObjectHash {\r\n return {\r\n cursors: {},\r\n cursorParamName: 'cursor'\r\n };\r\n }\r\n\r\n public get name(): string {\r\n return 'PaginationComponent';\r\n }\r\n\r\n public get template(): any {\r\n return PaginationTemplate;\r\n }\r\n\r\n public get lang(): string {\r\n return 'shared._pagination';\r\n }\r\n\r\n public get appLinks(): Core.AppLinkHash {\r\n const appLinks: ObjectHash = {};\r\n\r\n if (!this.options.cursors)\r\n return {};\r\n\r\n if (this.options.cursors.previous) {\r\n let previous = this.options.cursors.previous;\r\n\r\n const cursor = this.buildCursor(this.options.cursors.previous);\r\n\r\n /**\r\n * ** For legacy pagination only **\r\n * Remove the cursor param if the previous page is the first page.\r\n * This ensures that we don't unnecessarily re-fetch the first page \r\n * which in most cases would have been retrieved without using a cursor. \r\n */\r\n if (+previous <= 1 && this.options.allowFirstPageCursor !== true)\r\n delete cursor.params.cursor;\r\n\r\n appLinks['.previous-applink'] = cursor;\r\n }\r\n\r\n if (this.options.cursors.next) {\r\n appLinks['.next-applink'] = this.buildCursor(this.options.cursors.next);\r\n }\r\n\r\n return appLinks;\r\n }\r\n\r\n public events(): ObjectHash {\r\n return {\r\n 'click .previous-applink': 'onClickPrevious',\r\n 'click .next-applink': 'onClickNext'\r\n };\r\n }\r\n\r\n private buildCursor(cursorParam: string): ObjectHash {\r\n return {\r\n application: this.options.appLink.application,\r\n action: this.options.appLink.action,\r\n args: this.options.appLink.args,\r\n params: _.extend({}, this.options.appLink.params, { [this.options.cursorParamName]: cursorParam })\r\n };\r\n }\r\n\r\n private onClickPrevious(): void {\r\n this.logAction('previous');\r\n }\r\n\r\n private onClickNext(): void {\r\n this.logAction('next');\r\n }\r\n\r\n private logAction(page: string): void {\r\n const analyticsOptions = AnalyticsHelper.mergeOptions(this.options.analyticsOptions, {\r\n location: LocationContext.Pagination,\r\n entity: EntityType.Pagination,\r\n actionType: UserAction.Navigate,\r\n workflowPhase: WorkflowPhase.Complete\r\n });\r\n\r\n const data = {\r\n id: this.options.collectionId,\r\n page\r\n };\r\n\r\n AnalyticsHelper.logUserAction(data, analyticsOptions);\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n return {\r\n cursors: this.options.cursors\r\n };\r\n }\r\n\r\n public onBeforeRender(): boolean {\r\n return !!this.options.cursors;\r\n }\r\n}"],"sourceRoot":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[62],{
|
|
1
|
+
(window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[62],{1067:function(t,e,n){"use strict";n.r(e),n.d(e,"UploadCompleteView",(function(){return h}));var o=n(2),r=n(5),i=n(976),a=n.n(i),l=n(0),c=n(3),u=n(977),p=n.n(u);function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function b(t,e){return(b=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function m(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=d(t);if(e){var r=d(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return g(this,n)}}function g(t,e){return!e||"object"!==s(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function d(t){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&b(t,e)}(u,t);var e,n,o,i=m(u);function u(){return f(this,u),i.apply(this,arguments)}return e=u,(n=[{key:"initialize",value:function(){this.videoUploadService=r.a.getInstance(l.x.VideoUpload,this)}},{key:"viewOptions",value:function(){return{styles:p.a,count:this.videoUploadService.getCollection().length}}},{key:"onBeforeDestroy",value:function(){this.videoUploadService.getCollection().reset()}},{key:"name",get:function(){return"UploadCompleteView"}},{key:"title",get:function(){return c.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"upload.uploadComplete"}},{key:"template",get:function(){return a.a}},{key:"className",get:function(){return"p-3 my-3 bg-white text-center"}},{key:"appLinks",get:function(){return{".back-to-library-applink":{application:l.b.LIBRARY_EDITOR,action:l.a.LibraryEditor.HOME}}}}])&&y(e.prototype,n),o&&y(e,o),u}(o.a.View)},976:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,a=null!=e?e:t.nullContext||{},l=t.hooks.helperMissing,c=t.escapeExpression;return"<h1>"+c((n.lang||e&&e.lang||l).call(a,"inLibrary",{name:"lang",hash:{smartCount:null!=(i=null!=e?e.options:e)?i.count:i},data:r}))+'</h1>\r\n<div class="my-3">\r\n <img src="/images/upload/upload-completed@2x.png" class="'+c(t.lambda(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.completeImage:i,e))+'"/>\r\n</div>\r\n<p>'+c((n.lang||e&&e.lang||l).call(a,"isProcessing",{name:"lang",hash:{smartCount:null!=(i=null!=e?e.options:e)?i.count:i},data:r}))+'</p>\r\n<a class="back-to-library-applink btn btn-primary">'+c((n.lang||e&&e.lang||l).call(a,"back",{name:"lang",hash:{},data:r}))+"</a>"},useData:!0})},977:function(t,e,n){t.exports={completeImage:"_1LiuD"}}}]);
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
(window["webpackJsonp_clickview_library_editor"] = window["webpackJsonp_clickview_library_editor"] || []).push([[62],{
|
|
2
|
+
|
|
3
|
+
/***/ "./src/apps/default/views/error-view/Error.hbs":
|
|
4
|
+
/*!*****************************************************!*\
|
|
5
|
+
!*** ./src/apps/default/views/error-view/Error.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=container.lambda, alias3=container.escapeExpression;
|
|
13
|
+
|
|
14
|
+
return "\r\n<img src=\"/images/errors/Oops"
|
|
15
|
+
+ alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.imageNumber : stack1), depth0))
|
|
16
|
+
+ "@2x.png\" class=\""
|
|
17
|
+
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.image : stack1), depth0))
|
|
18
|
+
+ "\" />\r\n<h4 class=\"mt-3 text-muted\">"
|
|
19
|
+
+ alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.heading : stack1), depth0))
|
|
20
|
+
+ "</h4>\r\n<p>"
|
|
21
|
+
+ ((stack1 = alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.description : stack1), depth0)) != null ? stack1 : "")
|
|
22
|
+
+ "</p>";
|
|
23
|
+
},"useData":true});
|
|
24
|
+
|
|
25
|
+
/***/ }),
|
|
26
|
+
|
|
27
|
+
/***/ "./src/apps/default/views/error-view/ErrorView.ts":
|
|
28
|
+
/*!********************************************************!*\
|
|
29
|
+
!*** ./src/apps/default/views/error-view/ErrorView.ts ***!
|
|
30
|
+
\********************************************************/
|
|
31
|
+
/*! exports provided: ErrorView */
|
|
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__, "ErrorView", function() { return ErrorView; });
|
|
37
|
+
/* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! backbone */ "backbone");
|
|
38
|
+
/* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(backbone__WEBPACK_IMPORTED_MODULE_0__);
|
|
39
|
+
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
40
|
+
/* harmony import */ var _Error_hbs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Error.hbs */ "./src/apps/default/views/error-view/Error.hbs");
|
|
41
|
+
/* harmony import */ var _Error_hbs__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_Error_hbs__WEBPACK_IMPORTED_MODULE_2__);
|
|
42
|
+
/* harmony import */ var _error_scss__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./error.scss */ "./src/apps/default/views/error-view/error.scss");
|
|
43
|
+
/* harmony import */ var _error_scss__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_error_scss__WEBPACK_IMPORTED_MODULE_3__);
|
|
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
|
+
var ErrorView = /*#__PURE__*/function (_Core$View) {
|
|
71
|
+
_inherits(ErrorView, _Core$View);
|
|
72
|
+
|
|
73
|
+
var _super = _createSuper(ErrorView);
|
|
74
|
+
|
|
75
|
+
function ErrorView() {
|
|
76
|
+
_classCallCheck(this, ErrorView);
|
|
77
|
+
|
|
78
|
+
return _super.apply(this, arguments);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
_createClass(ErrorView, [{
|
|
82
|
+
key: "initialize",
|
|
83
|
+
value: function initialize() {
|
|
84
|
+
var channel = backbone__WEBPACK_IMPORTED_MODULE_0__["Radio"].channel('error:view');
|
|
85
|
+
this.error = channel.request('current:error');
|
|
86
|
+
}
|
|
87
|
+
}, {
|
|
88
|
+
key: "viewOptions",
|
|
89
|
+
value: function viewOptions() {
|
|
90
|
+
return {
|
|
91
|
+
heading: this.error.heading,
|
|
92
|
+
description: this.error.description,
|
|
93
|
+
imageNumber: Math.round(Math.random() * 5 + 1),
|
|
94
|
+
styles: _error_scss__WEBPACK_IMPORTED_MODULE_3___default.a
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
}, {
|
|
98
|
+
key: "name",
|
|
99
|
+
get: function get() {
|
|
100
|
+
return 'ErrorView';
|
|
101
|
+
}
|
|
102
|
+
}, {
|
|
103
|
+
key: "title",
|
|
104
|
+
get: function get() {
|
|
105
|
+
return false;
|
|
106
|
+
}
|
|
107
|
+
}, {
|
|
108
|
+
key: "className",
|
|
109
|
+
get: function get() {
|
|
110
|
+
return 'bg-white mt-3 p-5 text-center';
|
|
111
|
+
}
|
|
112
|
+
}, {
|
|
113
|
+
key: "template",
|
|
114
|
+
get: function get() {
|
|
115
|
+
return _Error_hbs__WEBPACK_IMPORTED_MODULE_2___default.a;
|
|
116
|
+
}
|
|
117
|
+
}, {
|
|
118
|
+
key: "appLinks",
|
|
119
|
+
get: function get() {
|
|
120
|
+
return this.error.appLink || {};
|
|
121
|
+
}
|
|
122
|
+
}]);
|
|
123
|
+
|
|
124
|
+
return ErrorView;
|
|
125
|
+
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__["Core"].View);
|
|
126
|
+
|
|
127
|
+
/***/ }),
|
|
128
|
+
|
|
129
|
+
/***/ "./src/apps/default/views/error-view/error.scss":
|
|
130
|
+
/*!******************************************************!*\
|
|
131
|
+
!*** ./src/apps/default/views/error-view/error.scss ***!
|
|
132
|
+
\******************************************************/
|
|
133
|
+
/*! no static exports found */
|
|
134
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
135
|
+
|
|
136
|
+
// extracted by mini-css-extract-plugin
|
|
137
|
+
module.exports = {"image":"cv--image--1wvl8"};
|
|
138
|
+
|
|
139
|
+
/***/ })
|
|
140
|
+
|
|
141
|
+
}]);
|
|
142
|
+
//# sourceMappingURL=62.chunk.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/default/views/error-view/Error.hbs","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/default/views/error-view/ErrorView.ts","webpack://@clickview/library-editor/./src/apps/default/views/error-view/error.scss?6113"],"names":[],"mappings":";;;;;;;;;AAAA,iBAAiB,mBAAO,CAAC,8BAAY;AACrC,iEAAiE;AACjE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,gBAAgB,E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACZjB;AACA;AAIA;AACA;AAEO,IAAM,SAAb;AAAA;;AAAA;;AAAA;AAAA;;AAAA;AAAA;;AAAA;AAAA;AAAA,iCAGmB;AACf,UAAM,OAAO,GAAG,8CAAK,CAAC,OAAN,CAAc,YAAd,CAAhB;AACA,WAAK,KAAL,GAAa,OAAO,CAAC,OAAR,CAAgB,eAAhB,CAAb;AACD;AANH;AAAA;AAAA,kCA4BoB;AAChB,aAAO;AACL,eAAO,EAAE,KAAK,KAAL,CAAW,OADf;AAEL,mBAAW,EAAE,KAAK,KAAL,CAAW,WAFnB;AAGL,mBAAW,EAAE,IAAI,CAAC,KAAL,CAAa,IAAI,CAAC,MAAL,KAAgB,CAAjB,GAAsB,CAAlC,CAHR;AAIL,cAAM,EAAN,kDAAM;AAJD,OAAP;AAMD;AAnCH;AAAA;AAAA,wBAQiB;AACb,aAAO,WAAP;AACD;AAVH;AAAA;AAAA,wBAYkB;AACd,aAAO,KAAP;AACD;AAdH;AAAA;AAAA,wBAgBsB;AAClB,aAAO,+BAAP;AACD;AAlBH;AAAA;AAAA,wBAoBqB;AACjB,aAAO,iDAAP;AACD;AAtBH;AAAA;AAAA,wBAwBqB;AACjB,aAAO,KAAK,KAAL,CAAW,OAAX,IAAsB,EAA7B;AACD;AA1BH;;AAAA;AAAA,EAA+B,8DAAI,CAAC,IAApC,E;;;;;;;;;;;ACTA;AACA,kBAAkB,4B","file":"scripts/62.chunk.js","sourcesContent":["var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression;\n\n return \"\\r\\n<img src=\\\"/images/errors/Oops\"\n + alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.imageNumber : stack1), depth0))\n + \"@2x.png\\\" class=\\\"\"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.image : stack1), depth0))\n + \"\\\" />\\r\\n<h4 class=\\\"mt-3 text-muted\\\">\"\n + alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.heading : stack1), depth0))\n + \"</h4>\\r\\n<p>\"\n + ((stack1 = alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.description : stack1), depth0)) != null ? stack1 : \"\")\n + \"</p>\";\n},\"useData\":true});","import { ObjectHash } from 'backbone';\r\nimport { Radio } from 'backbone';\r\nimport { Core } from 'libs/common/core';\r\n\r\nimport { ErrorPageError } from 'libs/shared/errors/primitives/ErrorPageError';\r\n\r\nimport ErrorTemplate from './Error.hbs';\r\nimport styles from './error.scss';\r\n\r\nexport class ErrorView extends Core.View {\r\n private error: ErrorPageError;\r\n\r\n public initialize(): void {\r\n const channel = Radio.channel('error:view');\r\n this.error = channel.request('current:error');\r\n }\r\n\r\n public get name(): string {\r\n return 'ErrorView';\r\n }\r\n\r\n public get title(): boolean {\r\n return false;\r\n }\r\n\r\n public get className(): string {\r\n return 'bg-white mt-3 p-5 text-center';\r\n }\r\n\r\n public get template(): any {\r\n return ErrorTemplate;\r\n }\r\n\r\n public get appLinks(): Core.AppLinkHash {\r\n return this.error.appLink || {};\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n return {\r\n heading: this.error.heading,\r\n description: this.error.description,\r\n imageNumber: Math.round(((Math.random() * 5) + 1)),\r\n styles\r\n };\r\n }\r\n}","// extracted by mini-css-extract-plugin\nmodule.exports = {\"image\":\"cv--image--1wvl8\"};"],"sourceRoot":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[63],{
|
|
1
|
+
(window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[63],{1063:function(e,t,n){"use strict";n.r(t),n.d(t,"DisableReviewView",(function(){return S}));var r=n(5),o=n(3),i=n(2),a=n(4),u=n(31),l=n(159),c=n(175),s=n(11),f=n(86),p=n(0),h=n(654),y=n(960),v=n.n(y);function b(e){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function w(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=k(e);if(t){var o=k(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return R(this,n)}}function R(e,t){return!t||"object"!==b(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var S=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(R,e);var t,n,y,b=w(R);function R(){return d(this,R),b.apply(this,arguments)}return t=R,(n=[{key:"initialize",value:function(){this.bindListeners(),this.settingsDataService=r.a.getInstance(p.g.Settings,this),this.contentUpdatesDataService=r.a.getInstance(p.g.ContentUpdates,this)}},{key:"bindListeners",value:function(){this.listenTo(p.e.VIDEO,"".concat(p.f.VIDEOS_TO_REVIEW,":sync"),this.render)}},{key:"videosToReview",value:function(){return!!this.videoCollection&&!!this.videoCollection.length}},{key:"onClickDisable",value:function(){this.videosToReview()?this.approveAllThenDisableReview():this.disableReview(),this.triggerMethod("hide")}},{key:"approveAllThenDisableReview",value:function(){var e=this;this.contentUpdatesDataService.approveAllVideos((function(){return e.disableReview()}))}},{key:"disableReview",value:function(){var e=s.o.getLibraryReviewOptions(!1);this.settingsDataService.updateSetting(this.currentUser.get("customerId"),e,o.a.getPhrase(this.lang,"disableSuccess"),this.redirectToPastReleases),this.logAction()}},{key:"redirectToPastReleases",value:function(){i.a.AppLinkHelper.trigger({application:p.b.CONTENT_UPDATES,action:p.a.ContentUpdates.PAST_RELEASES})}},{key:"logAction",value:function(){var e={location:a.k.Popup,actionType:a.q.Disable,entity:a.e.CustomerSetting,descriptor:a.c.LibraryReview,workflowPhase:a.r.Complete},t={approvedCount:this.videoCollection.length};u.a.logUserAction(t,e)}},{key:"onBeforeRender",value:function(){this.videoCollection=this.contentUpdatesDataService.getVideosToReview(),this.videoCollection&&this.spinnerModel.set(l.c.Disabled,!1)}},{key:"viewOptions",value:function(){return{videosToReview:this.videosToReview(),dataFetched:!!this.videoCollection,spinnerEl:s.q.getSpinner({size:s.r.Large,extraClasses:"mx-auto"})}}},{key:"name",get:function(){return"DisableReviewView"}},{key:"title",get:function(){return o.a.getPhrase(this.lang,"title")}},{key:"template",get:function(){return v.a}},{key:"lang",get:function(){return"contentUpdates.disableReview"}},{key:"channelName",get:function(){return s.k.generateUniqueChannelName(this)}},{key:"behaviors",get:function(){var e=this;return[{title:o.a.getPhrase(this.lang,"heading"),behaviorClass:c.f,spinnerButtonOptions:{model:this.spinnerModel=new h.a,channelName:this.channelName,buttonText:o.a.getPhrase(this.lang,"offBtn"),onClick:function(){return e.onClickDisable()}}}]}},{key:"requiredResources",get:function(){return{currentUser:f.b.currentUser}}}])&&g(t.prototype,n),y&&g(t,y),R}(i.a.View)},654:function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n(2),o=n(159);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}function s(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}(s,e);var t,n,r,i=c(s);function s(){return a(this,s),i.apply(this,arguments)}return t=s,(n=[{key:"defaults",value:function(){return e={},t=o.c.Disabled,n=!0,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;var e,t,n}}])&&u(t.prototype,n),r&&u(t,r),s}(r.a.Model)},960:function(e,t,n){var r=n(8);e.exports=(r.default||r).template({1:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return(null!=(i=e.lambda(null!=(i=null!=t?t.options:t)?i.spinnerEl:i,t))?i:"")+"\r\n"},3:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,l=e.escapeExpression;return'<p class="m-0 pb-2">'+l((n.lang||t&&t.lang||u).call(a,"noReview",{name:"lang",hash:{},data:o}))+"</p>\r\n"+(null!=(i=n.if.call(a,null!=(i=null!=t?t.options:t)?i.videosToReview:i,{name:"if",hash:{},fn:e.program(4,o,0),inverse:e.noop,data:o}))?i:"")+'<p class="m-0">'+l((n.lang||t&&t.lang||u).call(a,"undoInstructions",{name:"lang",hash:{},data:o}))+"</p>\r\n"},4:function(e,t,n,r,o){e.propertyIsEnumerable;return'<p class="m-0 pb-2">'+e.escapeExpression((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"automaticApproval",{name:"lang",hash:{},data:o}))+"</p>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return null!=(i=n.unless.call(null!=t?t:e.nullContext||{},null!=(i=null!=t?t.options:t)?i.dataFetched:i,{name:"unless",hash:{},fn:e.program(1,o,0),inverse:e.program(3,o,0),data:o}))?i:""},useData:!0})}}]);
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
(window["webpackJsonp_clickview_library_editor"] = window["webpackJsonp_clickview_library_editor"] || []).push([[63],{
|
|
2
|
+
|
|
3
|
+
/***/ "./src/apps/default/views/not-found/NotFound.handlebars":
|
|
4
|
+
/*!**************************************************************!*\
|
|
5
|
+
!*** ./src/apps/default/views/not-found/NotFound.handlebars ***!
|
|
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=container.lambda, alias3=container.escapeExpression, alias4=depth0 != null ? depth0 : (container.nullContext || {}), alias5=container.hooks.helperMissing;
|
|
13
|
+
|
|
14
|
+
return "<div class=\""
|
|
15
|
+
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.illoContainer : stack1), depth0))
|
|
16
|
+
+ "\">\r\n <div class=\""
|
|
17
|
+
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.lunaHead : stack1), depth0))
|
|
18
|
+
+ "\"><img width=\"86px\" height=\"110px\" src=\"/images/errors/not-found/luna-head@2x.png\"></div>\r\n <div class=\""
|
|
19
|
+
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.head : stack1), depth0))
|
|
20
|
+
+ "\"><img width=\"134px\" height=\"138px\" src=\"/images/errors/not-found/head@2x.png\"></div>\r\n <div class=\""
|
|
21
|
+
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.body : stack1), depth0))
|
|
22
|
+
+ "\"><img width=\"241px\" height=\"229px\" src=\"/images/errors/not-found/back@2x.png\"></div>\r\n</div>\r\n<h4 class=\"mt-3 text-muted\">"
|
|
23
|
+
+ alias3((helpers.lang||(depth0 && depth0.lang)||alias5).call(alias4,"pageNotFound",{"name":"lang","hash":{},"data":data}))
|
|
24
|
+
+ "</h4>\r\n<p>"
|
|
25
|
+
+ ((stack1 = (helpers.lang||(depth0 && depth0.lang)||alias5).call(alias4,"takeMeBack",{"name":"lang","hash":{"classNames":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.linkClasses : stack1)},"data":data})) != null ? stack1 : "")
|
|
26
|
+
+ "</p>";
|
|
27
|
+
},"useData":true});
|
|
28
|
+
|
|
29
|
+
/***/ }),
|
|
30
|
+
|
|
31
|
+
/***/ "./src/apps/default/views/not-found/NotFoundView.ts":
|
|
32
|
+
/*!**********************************************************!*\
|
|
33
|
+
!*** ./src/apps/default/views/not-found/NotFoundView.ts ***!
|
|
34
|
+
\**********************************************************/
|
|
35
|
+
/*! exports provided: NotFoundView */
|
|
36
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
37
|
+
|
|
38
|
+
"use strict";
|
|
39
|
+
__webpack_require__.r(__webpack_exports__);
|
|
40
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NotFoundView", function() { return NotFoundView; });
|
|
41
|
+
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
42
|
+
/* harmony import */ var _shared_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../shared/constants */ "./src/shared/constants/index.ts");
|
|
43
|
+
/* harmony import */ var _NotFound_handlebars__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./NotFound.handlebars */ "./src/apps/default/views/not-found/NotFound.handlebars");
|
|
44
|
+
/* harmony import */ var _NotFound_handlebars__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_NotFound_handlebars__WEBPACK_IMPORTED_MODULE_2__);
|
|
45
|
+
/* harmony import */ var _not_found_scss__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./not-found.scss */ "./src/apps/default/views/not-found/not-found.scss");
|
|
46
|
+
/* harmony import */ var _not_found_scss__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_not_found_scss__WEBPACK_IMPORTED_MODULE_3__);
|
|
47
|
+
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); }
|
|
48
|
+
|
|
49
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
50
|
+
|
|
51
|
+
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); } }
|
|
52
|
+
|
|
53
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
54
|
+
|
|
55
|
+
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); }
|
|
56
|
+
|
|
57
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
58
|
+
|
|
59
|
+
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); }; }
|
|
60
|
+
|
|
61
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
62
|
+
|
|
63
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
64
|
+
|
|
65
|
+
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; } }
|
|
66
|
+
|
|
67
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
var NotFoundView = /*#__PURE__*/function (_Core$View) {
|
|
74
|
+
_inherits(NotFoundView, _Core$View);
|
|
75
|
+
|
|
76
|
+
var _super = _createSuper(NotFoundView);
|
|
77
|
+
|
|
78
|
+
function NotFoundView() {
|
|
79
|
+
_classCallCheck(this, NotFoundView);
|
|
80
|
+
|
|
81
|
+
return _super.apply(this, arguments);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
_createClass(NotFoundView, [{
|
|
85
|
+
key: "viewOptions",
|
|
86
|
+
value: function viewOptions() {
|
|
87
|
+
return {
|
|
88
|
+
styles: _not_found_scss__WEBPACK_IMPORTED_MODULE_3___default.a,
|
|
89
|
+
linkClasses: 'applink-home info-link'
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
}, {
|
|
93
|
+
key: "name",
|
|
94
|
+
get: function get() {
|
|
95
|
+
return 'NotFoundView';
|
|
96
|
+
}
|
|
97
|
+
}, {
|
|
98
|
+
key: "title",
|
|
99
|
+
get: function get() {
|
|
100
|
+
return false;
|
|
101
|
+
}
|
|
102
|
+
}, {
|
|
103
|
+
key: "lang",
|
|
104
|
+
get: function get() {
|
|
105
|
+
return 'default.notFound';
|
|
106
|
+
}
|
|
107
|
+
}, {
|
|
108
|
+
key: "template",
|
|
109
|
+
get: function get() {
|
|
110
|
+
return _NotFound_handlebars__WEBPACK_IMPORTED_MODULE_2___default.a;
|
|
111
|
+
}
|
|
112
|
+
}, {
|
|
113
|
+
key: "appLinks",
|
|
114
|
+
get: function get() {
|
|
115
|
+
return {
|
|
116
|
+
'.applink-home': {
|
|
117
|
+
application: _shared_constants__WEBPACK_IMPORTED_MODULE_1__["AppChannels"].DEFAULT,
|
|
118
|
+
action: _shared_constants__WEBPACK_IMPORTED_MODULE_1__["Actions"].Default.HOME
|
|
119
|
+
}
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
}, {
|
|
123
|
+
key: "className",
|
|
124
|
+
get: function get() {
|
|
125
|
+
return 'bg-white p-5 text-center';
|
|
126
|
+
}
|
|
127
|
+
}]);
|
|
128
|
+
|
|
129
|
+
return NotFoundView;
|
|
130
|
+
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].View);
|
|
131
|
+
|
|
132
|
+
/***/ }),
|
|
133
|
+
|
|
134
|
+
/***/ "./src/apps/default/views/not-found/not-found.scss":
|
|
135
|
+
/*!*********************************************************!*\
|
|
136
|
+
!*** ./src/apps/default/views/not-found/not-found.scss ***!
|
|
137
|
+
\*********************************************************/
|
|
138
|
+
/*! no static exports found */
|
|
139
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
140
|
+
|
|
141
|
+
// extracted by mini-css-extract-plugin
|
|
142
|
+
module.exports = {"illoContainer":"cv--illoContainer--3Eqbe","body":"cv--body--39GQb","head":"cv--head--PVOtq","lunaHead":"cv--lunaHead--3z13a","animate":"cv--animate--2FR1z","luna-animate":"cv--luna-animate--12szO","lunaTail":"cv--lunaTail--1memV","tintinTail":"cv--tintinTail--2V4lb","wag-tail-small":"cv--wag-tail-small--2atTc","wag-tail":"cv--wag-tail--13j3E"};
|
|
143
|
+
|
|
144
|
+
/***/ })
|
|
145
|
+
|
|
146
|
+
}]);
|
|
147
|
+
//# sourceMappingURL=63.chunk.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/default/views/not-found/NotFound.handlebars","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/default/views/not-found/NotFoundView.ts","webpack://@clickview/library-editor/./src/apps/default/views/not-found/not-found.scss?aec6"],"names":[],"mappings":";;;;;;;;;AAAA,iBAAiB,mBAAO,CAAC,8BAAY;AACrC,iEAAiE;AACjE,gLAAgL;;AAEhL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yFAAyF,uBAAuB,aAAa;AAC7H;AACA,2FAA2F,sBAAsB,2GAA2G,aAAa;AACzO;AACA,CAAC,gBAAgB,E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACjBjB;AAGA;AAEA;AACA;AAEO,IAAM,YAAb;AAAA;;AAAA;;AAAA;AAAA;;AAAA;AAAA;;AAAA;AAAA;AAAA,kCA8BoB;AAChB,aAAO;AACL,cAAM,EAAN,sDADK;AAEL,mBAAW,EAAE;AAFR,OAAP;AAID;AAnCH;AAAA;AAAA,wBACiB;AACb,aAAO,cAAP;AACD;AAHH;AAAA;AAAA,wBAKkB;AACd,aAAO,KAAP;AACD;AAPH;AAAA;AAAA,wBASiB;AACb,aAAO,kBAAP;AACD;AAXH;AAAA;AAAA,wBAaqB;AACjB,aAAO,2DAAP;AACD;AAfH;AAAA;AAAA,wBAiBqB;AACjB,aAAO;AACL,yBAAiB;AACf,qBAAW,EAAE,6DAAW,CAAC,OADV;AAEf,gBAAM,EAAE,yDAAO,CAAC,OAAR,CAAgB;AAFT;AADZ,OAAP;AAMD;AAxBH;AAAA;AAAA,wBA0BsB;AAClB,aAAO,0BAAP;AACD;AA5BH;;AAAA;AAAA,EAAkC,8DAAI,CAAC,IAAvC,E;;;;;;;;;;;ACRA;AACA,kBAAkB,2V","file":"scripts/63.chunk.js","sourcesContent":["var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression, alias4=depth0 != null ? depth0 : (container.nullContext || {}), alias5=container.hooks.helperMissing;\n\n return \"<div class=\\\"\"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.illoContainer : stack1), depth0))\n + \"\\\">\\r\\n <div class=\\\"\"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.lunaHead : stack1), depth0))\n + \"\\\"><img width=\\\"86px\\\" height=\\\"110px\\\" src=\\\"/images/errors/not-found/luna-head@2x.png\\\"></div>\\r\\n <div class=\\\"\"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.head : stack1), depth0))\n + \"\\\"><img width=\\\"134px\\\" height=\\\"138px\\\" src=\\\"/images/errors/not-found/head@2x.png\\\"></div>\\r\\n <div class=\\\"\"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.body : stack1), depth0))\n + \"\\\"><img width=\\\"241px\\\" height=\\\"229px\\\" src=\\\"/images/errors/not-found/back@2x.png\\\"></div>\\r\\n</div>\\r\\n<h4 class=\\\"mt-3 text-muted\\\">\"\n + alias3((helpers.lang||(depth0 && depth0.lang)||alias5).call(alias4,\"pageNotFound\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</h4>\\r\\n<p>\"\n + ((stack1 = (helpers.lang||(depth0 && depth0.lang)||alias5).call(alias4,\"takeMeBack\",{\"name\":\"lang\",\"hash\":{\"classNames\":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.linkClasses : stack1)},\"data\":data})) != null ? stack1 : \"\")\n + \"</p>\";\n},\"useData\":true});","import { Core } from 'libs/common/core';\r\nimport { ObjectHash } from 'backbone';\r\n\r\nimport { Actions, AppChannels } from 'shared/constants';\r\n\r\nimport NotFoundTemplate from './NotFound.handlebars';\r\nimport styles from './not-found.scss';\r\n\r\nexport class NotFoundView extends Core.View {\r\n public get name(): string {\r\n return 'NotFoundView';\r\n }\r\n\r\n public get title(): boolean {\r\n return false;\r\n }\r\n\r\n public get lang(): string {\r\n return 'default.notFound';\r\n }\r\n\r\n public get template(): any {\r\n return NotFoundTemplate;\r\n }\r\n\r\n public get appLinks(): Core.AppLinkHash {\r\n return {\r\n '.applink-home': {\r\n application: AppChannels.DEFAULT,\r\n action: Actions.Default.HOME\r\n }\r\n };\r\n }\r\n\r\n public get className(): string {\r\n return 'bg-white p-5 text-center';\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n return {\r\n styles,\r\n linkClasses: 'applink-home info-link'\r\n };\r\n }\r\n}\r\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"illoContainer\":\"cv--illoContainer--3Eqbe\",\"body\":\"cv--body--39GQb\",\"head\":\"cv--head--PVOtq\",\"lunaHead\":\"cv--lunaHead--3z13a\",\"animate\":\"cv--animate--2FR1z\",\"luna-animate\":\"cv--luna-animate--12szO\",\"lunaTail\":\"cv--lunaTail--1memV\",\"tintinTail\":\"cv--tintinTail--2V4lb\",\"wag-tail-small\":\"cv--wag-tail-small--2atTc\",\"wag-tail\":\"cv--wag-tail--13j3E\"};"],"sourceRoot":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[64],{
|
|
1
|
+
(window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[64],{1047:function(e,t,n){"use strict";n.r(t),n.d(t,"RenameLibraryView",(function(){return O}));var r=n(7),i=n(2),o=n(5),a=n(24),l=n(3),u=n(31),c=n(175),s=n(81),f=n(159),y=n(0),b=n(11),h=n(658),p=n(914),m=n.n(p);function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function g(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function k(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=S(e);if(t){var i=S(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return w(this,n)}}function w(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var O=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}(d,e);var t,n,i,p=k(d);function d(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),p.call(this,e)}return t=d,(n=[{key:"initialize",value:function(){this.bindListeners(),this.libraryDataService=o.a.getInstance(y.g.Library,this)}},{key:"bindListeners",value:function(){this.listenTo(y.e.LIBRARY,"libraries:sync",this.render)}},{key:"events",value:function(){return{submit:"onSubmit"}}},{key:"onSubmit",value:function(e){e&&e.preventDefault(),this.model.validate(),this.model.isValid()&&(r.Radio.channel(this.channelName).trigger(f.b.ShowSpinner),this.saveLibrary(),this.logAction())}},{key:"logAction",value:function(){var e={id:this.options.libraryId,name:this.model.get("name")};u.a.logUserAction(e,this.options.analyticsOptions)}},{key:"saveLibrary",value:function(){var e=this;this.libraryDataService.updateLibrary(this.model,(function(){e.triggerMethod("hide")}))}},{key:"onBeforeRender",value:function(){var e=this;return this.libraryDataService.getFolderFromLibraries(this.options.libraryId,(function(t){e.model||(e.model=a.a.get("library:".concat(e.options.libraryId),t.toJSON(),{ctor:s.a}))})),!!this.model}},{key:"name",get:function(){return"RenameLibraryView"}},{key:"lang",get:function(){return"libraryEditor.renameLibrary"}},{key:"title",get:function(){return l.a.getPhrase(this.lang,"title")}},{key:"template",get:function(){return m.a}},{key:"channelName",get:function(){return b.k.generateUniqueChannelName(this)}},{key:"behaviors",get:function(){var e=this;return[{behaviorClass:c.a,modelValidation:h.a},{behaviorClass:c.g},{behaviorClass:c.f,title:l.a.getPhrase(this.lang,"edit"),spinnerButtonOptions:{channelName:this.channelName,buttonText:l.a.getPhrase(this.lang,"save"),onClick:function(t){return e.onSubmit(t)}}}]}},{key:"bindings",get:function(){return{"[name=name]":{observe:"name",setOptions:{validate:!0}}}}}])&&g(t.prototype,n),i&&g(t,i),d}(i.a.View)},658:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(3),i="libraryEditor.utils",o={name:[{required:!0,msg:function(){return r.a.getPhrase(i,"libraryNameRequired")}},{maxLength:255,msg:function(){return r.a.getPhrase(i,"libraryNameExceeds")}}]}},914:function(e,t,n){var r=n(8);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){e.propertyIsEnumerable;var o=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,l=e.escapeExpression;return'<form>\r\n <div class="form-group">\r\n <label for="name" class="control-label">'+l((n.lang||t&&t.lang||a).call(o,"libraryName",{name:"lang",hash:{},data:i}))+'</label>\r\n <input name="name" id="name" type="text" class="form-control" placeholder="'+l((n.lang||t&&t.lang||a).call(o,"secondaryLibrary",{name:"lang",hash:{},data:i}))+'" autocomplete="off" autofocus/>\r\n <div class="form-feedback"></div>\r\n </div>\r\n</form>'},useData:!0})}}]);
|