@clickview/lite 0.0.24 → 0.0.25-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/css/0.chunk.css +0 -2
- package/dist/css/lite-app.css +1 -1
- package/dist/libs/common/src/react/utils/ArrayHelper.d.ts +1 -1
- package/dist/libs/common/src/react/utils/TextHelper.d.ts +1 -1
- package/dist/scripts/0-6bc17823fd.chunk.js +1 -0
- package/dist/scripts/{1-4f19a5caea.chunk.js → 1-b20a2dd250.chunk.js} +3 -3
- package/dist/scripts/11-f67b6c11a7.chunk.js +1 -0
- package/dist/scripts/{12-72a5373486.chunk.js → 12-c3f4ba1831.chunk.js} +1 -1
- package/dist/scripts/{13-1cd85ad3ee.chunk.js → 13-d44a1e6204.chunk.js} +1 -1
- package/dist/scripts/{14-3d60b8ee85.chunk.js → 14-bbf4ab8ab9.chunk.js} +1 -1
- package/dist/scripts/{15-90226fb996.chunk.js → 15-bdef10f60a.chunk.js} +1 -1
- package/dist/scripts/{16-913b2535ea.chunk.js → 16-691b35dc8c.chunk.js} +1 -1
- package/dist/scripts/{17-d6c19ccb60.chunk.js → 17-4e3899d62b.chunk.js} +1 -1
- package/dist/scripts/{18-33efcac0c6.chunk.js → 18-6afc6b44f3.chunk.js} +1 -1
- package/dist/scripts/{19-2380200cfb.chunk.js → 19-7f2d561cf2.chunk.js} +1 -1
- package/dist/scripts/{2-53e37c2047.chunk.js → 2-a578d78153.chunk.js} +1 -1
- package/dist/scripts/{20-ca85f0514e.chunk.js → 20-fe4b732b3b.chunk.js} +1 -1
- package/dist/scripts/{21-ef4a226771.chunk.js → 21-850a6abb96.chunk.js} +1 -1
- package/dist/scripts/{22-99c04e164f.chunk.js → 22-be37ecc01d.chunk.js} +1 -1
- package/dist/scripts/{23-028eb81a43.chunk.js → 23-9ace914ea0.chunk.js} +1 -1
- package/dist/scripts/{24-68f8df3eca.chunk.js → 24-007409325f.chunk.js} +1 -1
- package/dist/scripts/{25-7ad07f87d4.chunk.js → 25-9d70dbe4ec.chunk.js} +1 -1
- package/dist/scripts/{26-f3dcacfe4f.chunk.js → 26-e280e72009.chunk.js} +1 -1
- package/dist/scripts/{27-e844268f38.chunk.js → 27-c8f5fd76cb.chunk.js} +1 -1
- package/dist/scripts/{28-853bc5de1f.chunk.js → 28-015dd3e4d4.chunk.js} +1 -1
- package/dist/scripts/{29-b164ecafe9.chunk.js → 29-91d67f4584.chunk.js} +1 -1
- package/dist/scripts/{3-a1bd8c9016.chunk.js → 3-aa01c4304a.chunk.js} +2 -2
- package/dist/scripts/{30-2cfcf52ea1.chunk.js → 30-f16ad621da.chunk.js} +1 -1
- package/dist/scripts/{31-e6a8291d2f.chunk.js → 31-3f405d0372.chunk.js} +1 -1
- package/dist/scripts/{32-7030dc98ed.chunk.js → 32-7a75602cc0.chunk.js} +1 -1
- package/dist/scripts/{33-47b0ac90bd.chunk.js → 33-8d70bde32b.chunk.js} +1 -1
- package/dist/scripts/{34-2de007b628.chunk.js → 34-3f095c24f3.chunk.js} +1 -1
- package/dist/scripts/{35-d2fb66920b.chunk.js → 35-58407394d5.chunk.js} +1 -1
- package/dist/scripts/{36-bc85df33de.chunk.js → 36-552740daf0.chunk.js} +1 -1
- package/dist/scripts/{37-e26652840b.chunk.js → 37-d79eda4acb.chunk.js} +1 -1
- package/dist/scripts/{38-0b6a6b9619.chunk.js → 38-a6c89ffb8f.chunk.js} +1 -1
- package/dist/scripts/{39-6549f483c6.chunk.js → 39-4a615de1ce.chunk.js} +1 -1
- package/dist/scripts/{4-9e83a22d7a.chunk.js → 4-d296a64d17.chunk.js} +1 -1
- package/dist/scripts/{40-8e6e9d285f.chunk.js → 40-5330a64b5d.chunk.js} +1 -1
- package/dist/scripts/{41-2b44a2e66f.chunk.js → 41-c268bfb400.chunk.js} +1 -1
- package/dist/scripts/{42-9e75f420d8.chunk.js → 42-0e2ebfa151.chunk.js} +1 -1
- package/dist/scripts/{43-1141245420.chunk.js → 43-e1d3a1f0e5.chunk.js} +1 -1
- package/dist/scripts/{44-9bc4201e0f.chunk.js → 44-8a44b614a8.chunk.js} +1 -1
- package/dist/scripts/{45-5ded8ca3db.chunk.js → 45-9418f81185.chunk.js} +1 -1
- package/dist/scripts/{46-2afd7ee1fb.chunk.js → 46-4ab8038e30.chunk.js} +1 -1
- package/dist/scripts/{48-d9cd99d55e.chunk.js → 48-e4150407ee.chunk.js} +1 -1
- package/dist/scripts/{49-f43a08f90b.chunk.js → 49-8fd6a45338.chunk.js} +1 -1
- package/dist/scripts/{5-974660e17b.chunk.js → 5-3842bd1f2d.chunk.js} +1 -1
- package/dist/scripts/{50-af699c531e.chunk.js → 50-ab1c16848b.chunk.js} +1 -1
- package/dist/scripts/{51-907ccc689c.chunk.js → 51-7ce29a119d.chunk.js} +1 -1
- package/dist/scripts/{52-dd5dd9f7f7.chunk.js → 52-12e0feca43.chunk.js} +1 -1
- package/dist/scripts/{53-d75ca53045.chunk.js → 53-a5250a2064.chunk.js} +1 -1
- package/dist/scripts/{55-eea39b3205.chunk.js → 55-cd780b71b1.chunk.js} +1 -1
- package/dist/scripts/{56-2ed3b5764b.chunk.js → 56-687e915081.chunk.js} +1 -1
- package/dist/scripts/{57-e51101c8a1.chunk.js → 57-5c9b7a7950.chunk.js} +1 -1
- package/dist/scripts/{58-9a32a6fb2d.chunk.js → 58-636a388c0c.chunk.js} +1 -1
- package/dist/scripts/{59-da8a8c97a9.chunk.js → 59-cc88e95d77.chunk.js} +1 -1
- package/dist/scripts/{6-6ac39034e0.chunk.js → 6-7bee1cd6c9.chunk.js} +1 -1
- package/dist/scripts/{60-5713de53e2.chunk.js → 60-1672f666ce.chunk.js} +1 -1
- package/dist/scripts/{61-7d2ad17963.chunk.js → 61-b2bdee9283.chunk.js} +1 -1
- package/dist/scripts/{63-d423dd59f5.chunk.js → 63-2126404b54.chunk.js} +1 -1
- package/dist/scripts/{65-2322082836.chunk.js → 65-c3472b12c9.chunk.js} +1 -1
- package/dist/scripts/{66-faeadaa25e.chunk.js → 66-c6406c845f.chunk.js} +1 -1
- package/dist/scripts/{7-5ac5be64dd.chunk.js → 7-e39bfefa23.chunk.js} +1 -1
- package/dist/scripts/{8-95563e3d36.chunk.js → 8-244738cbaf.chunk.js} +1 -1
- package/dist/scripts/{bundle-9ed1e126dd.min.js → bundle-09bb583faa.min.js} +2 -2
- package/dist/scripts/bundles.json +2 -2
- package/package.json +2 -2
- package/dist/css/0.chunk.css.map +0 -1
- package/dist/css/1.chunk.css +0 -223
- package/dist/css/1.chunk.css.map +0 -1
- package/dist/css/10.chunk.css +0 -106
- package/dist/css/10.chunk.css.map +0 -1
- 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/15.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.map +0 -1
- package/dist/css/19.chunk.css.map +0 -1
- package/dist/css/2.chunk.css.map +0 -1
- package/dist/css/20.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/24.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/27.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.map +0 -1
- package/dist/css/35.chunk.css.map +0 -1
- package/dist/css/36.chunk.css.map +0 -1
- package/dist/css/37.chunk.css.map +0 -1
- package/dist/css/38.chunk.css +0 -17
- package/dist/css/38.chunk.css.map +0 -1
- package/dist/css/39.chunk.css +0 -6
- package/dist/css/39.chunk.css.map +0 -1
- package/dist/css/4.chunk.css.map +0 -1
- package/dist/css/40.chunk.css +0 -6
- package/dist/css/40.chunk.css.map +0 -1
- package/dist/css/41.chunk.css +0 -40
- package/dist/css/41.chunk.css.map +0 -1
- package/dist/css/42.chunk.css +0 -14
- package/dist/css/42.chunk.css.map +0 -1
- package/dist/css/43.chunk.css +0 -38
- package/dist/css/43.chunk.css.map +0 -1
- package/dist/css/44.chunk.css +0 -14
- package/dist/css/44.chunk.css.map +0 -1
- package/dist/css/45.chunk.css +0 -38
- package/dist/css/45.chunk.css.map +0 -1
- package/dist/css/46.chunk.css +0 -52
- package/dist/css/46.chunk.css.map +0 -1
- package/dist/css/5.chunk.css.map +0 -1
- package/dist/css/50.chunk.css +0 -52
- package/dist/css/50.chunk.css.map +0 -1
- package/dist/css/52.chunk.css +0 -52
- package/dist/css/52.chunk.css.map +0 -1
- package/dist/css/53.chunk.css.map +0 -1
- package/dist/css/54.chunk.css.map +0 -1
- package/dist/css/55.chunk.css.map +0 -1
- package/dist/css/56.chunk.css +0 -14
- package/dist/css/56.chunk.css.map +0 -1
- package/dist/css/57.chunk.css +0 -14
- package/dist/css/57.chunk.css.map +0 -1
- package/dist/css/58.chunk.css +0 -43
- package/dist/css/58.chunk.css.map +0 -1
- package/dist/css/59.chunk.css +0 -14
- 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 -43
- package/dist/css/60.chunk.css.map +0 -1
- package/dist/css/7.chunk.css +0 -94
- package/dist/css/7.chunk.css.map +0 -1
- package/dist/css/79.chunk.css +0 -58
- package/dist/css/79.chunk.css.map +0 -1
- package/dist/css/8.chunk.css +0 -54
- package/dist/css/8.chunk.css.map +0 -1
- package/dist/css/82.chunk.css +0 -28
- package/dist/css/82.chunk.css.map +0 -1
- package/dist/css/83.chunk.css +0 -11
- package/dist/css/83.chunk.css.map +0 -1
- package/dist/css/84.chunk.css +0 -152
- package/dist/css/84.chunk.css.map +0 -1
- package/dist/css/85.chunk.css +0 -21
- package/dist/css/85.chunk.css.map +0 -1
- package/dist/css/86.chunk.css +0 -17
- package/dist/css/86.chunk.css.map +0 -1
- package/dist/css/87.chunk.css +0 -21
- package/dist/css/87.chunk.css.map +0 -1
- package/dist/css/88.chunk.css +0 -5
- package/dist/css/88.chunk.css.map +0 -1
- package/dist/css/90.chunk.css +0 -38
- package/dist/css/90.chunk.css.map +0 -1
- package/dist/css/lite-app.css.map +0 -1
- package/dist/libs/shared/src/components/file-select-button/FileSelectButton.d.ts +0 -15
- package/dist/libs/shared/src/components/thumbnails/video/VideoThumbnailWatchProgressBar.d.ts +0 -8
- package/dist/libs/shared/src/components/video-list/components/video-item-badges/VideoItemBadges.d.ts +0 -7
- package/dist/libs/shared/src/components/video-list/components/video-item-description/UseTruncateText.d.ts +0 -9
- package/dist/libs/shared/src/components/widgets/items/resource-widget-item/ResourceWidgetItem.d.ts +0 -12
- package/dist/libs/shared/src/enums/MasterObjectTypes.d.ts +0 -8
- package/dist/libs/shared/src/flight-requests/ResourceRequests.d.ts +0 -11
- package/dist/libs/shared/src/hooks/useGetCollectionItems.d.ts +0 -7
- package/dist/libs/shared/src/interfaces/collections/SubtitleCollection.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/FileUpload.d.ts +0 -20
- package/dist/libs/shared/src/interfaces/models/Language.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/models/Pdf.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/models/Subtitle.d.ts +0 -7
- package/dist/libs/shared/src/interfaces/requests/UpdateObjectChannel.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/requests/UpdateObjectRating.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/requests/UpdateResourceRequest.d.ts +0 -3
- package/dist/projects/lite/src/apps/upload/views/my-uploads/DismissibleAlert.d.ts +0 -2
- package/dist/projects/lite/src/apps/upload/views/my-uploads/MyUploadsView.d.ts +0 -6
- package/dist/projects/lite/src/shared/components/clips/ClipItem.d.ts +0 -8
- package/dist/projects/lite/src/shared/components/clips/Clips.d.ts +0 -7
- package/dist/projects/lite/src/shared/components/interactives/InteractiveItem.d.ts +0 -7
- package/dist/projects/lite/src/shared/components/interactives/Interactives.d.ts +0 -7
- package/dist/projects/lite/src/shared/components/play-page/Buttons.d.ts +0 -7
- package/dist/projects/lite/src/shared/views/preview-pdf/PreviewPdfView.d.ts +0 -7
- package/dist/scripts/0-702db3d74c.chunk.js +0 -1
- package/dist/scripts/0-b02efe11fb.chunk.js +0 -1
- package/dist/scripts/0-bf0af5f75c.chunk.js +0 -1
- package/dist/scripts/0.chunk.js +0 -355
- package/dist/scripts/0.chunk.js.map +0 -1
- package/dist/scripts/1-d1ce3fe6e8.chunk.js +0 -17
- package/dist/scripts/1-fcddc988fa.chunk.js +0 -17
- package/dist/scripts/1.chunk.js +0 -1031
- package/dist/scripts/1.chunk.js.map +0 -1
- package/dist/scripts/10.chunk.js +0 -619
- package/dist/scripts/10.chunk.js.map +0 -1
- package/dist/scripts/11-32e30d10ce.chunk.js +0 -1
- package/dist/scripts/11-6e7f935551.chunk.js +0 -1
- package/dist/scripts/11.chunk.js +0 -445
- package/dist/scripts/11.chunk.js.map +0 -1
- package/dist/scripts/12-7e1380d9fa.chunk.js +0 -1
- package/dist/scripts/12-fa7004b555.chunk.js +0 -1
- package/dist/scripts/12.chunk.js +0 -1533
- package/dist/scripts/12.chunk.js.map +0 -1
- package/dist/scripts/13-4245983c0a.chunk.js +0 -1
- package/dist/scripts/13-95937e4149.chunk.js +0 -1
- package/dist/scripts/13.chunk.js +0 -469
- package/dist/scripts/13.chunk.js.map +0 -1
- package/dist/scripts/14-62608fc1de.chunk.js +0 -1
- package/dist/scripts/14-eba60049a5.chunk.js +0 -1
- package/dist/scripts/14.chunk.js +0 -930
- package/dist/scripts/14.chunk.js.map +0 -1
- package/dist/scripts/15-379cb5f586.chunk.js +0 -1
- package/dist/scripts/15-d811a90e8d.chunk.js +0 -1
- package/dist/scripts/15.chunk.js +0 -437
- package/dist/scripts/15.chunk.js.map +0 -1
- package/dist/scripts/16-00e83a6d12.chunk.js +0 -1
- package/dist/scripts/16-885363ce46.chunk.js +0 -1
- package/dist/scripts/16.chunk.js +0 -633
- package/dist/scripts/16.chunk.js.map +0 -1
- package/dist/scripts/17-6d597b8323.chunk.js +0 -1
- package/dist/scripts/17-c62d5aa7f2.chunk.js +0 -1
- package/dist/scripts/17.chunk.js +0 -356
- package/dist/scripts/17.chunk.js.map +0 -1
- package/dist/scripts/18-5affadddcc.chunk.js +0 -1
- package/dist/scripts/18-69049350eb.chunk.js +0 -1
- package/dist/scripts/18.chunk.js +0 -339
- package/dist/scripts/18.chunk.js.map +0 -1
- package/dist/scripts/19-d394ae9543.chunk.js +0 -1
- package/dist/scripts/19-f0550464de.chunk.js +0 -1
- package/dist/scripts/19.chunk.js +0 -506
- package/dist/scripts/19.chunk.js.map +0 -1
- package/dist/scripts/2-6aad743aee.chunk.js +0 -1
- package/dist/scripts/2-c47e1da13a.chunk.js +0 -1
- package/dist/scripts/2.chunk.js +0 -18851
- package/dist/scripts/2.chunk.js.map +0 -1
- package/dist/scripts/20-81a48ca4fa.chunk.js +0 -1
- package/dist/scripts/20-e20c4c0645.chunk.js +0 -1
- package/dist/scripts/20.chunk.js +0 -1942
- package/dist/scripts/20.chunk.js.map +0 -1
- package/dist/scripts/21-8b195ab041.chunk.js +0 -1
- package/dist/scripts/21-f6ff589cb4.chunk.js +0 -1
- package/dist/scripts/21.chunk.js +0 -1544
- package/dist/scripts/21.chunk.js.map +0 -1
- package/dist/scripts/22-8a60335dfb.chunk.js +0 -1
- package/dist/scripts/22-f458cb647a.chunk.js +0 -1
- package/dist/scripts/22.chunk.js +0 -1338
- package/dist/scripts/22.chunk.js.map +0 -1
- package/dist/scripts/23-633a2d5b09.chunk.js +0 -1
- package/dist/scripts/23-bb1e2bfb90.chunk.js +0 -1
- package/dist/scripts/23.chunk.js +0 -749
- package/dist/scripts/23.chunk.js.map +0 -1
- package/dist/scripts/24-7924828128.chunk.js +0 -1
- package/dist/scripts/24-a254eb1f32.chunk.js +0 -1
- package/dist/scripts/24.chunk.js +0 -1207
- package/dist/scripts/24.chunk.js.map +0 -1
- package/dist/scripts/25-93218e513e.chunk.js +0 -1
- package/dist/scripts/25-db170bd5e3.chunk.js +0 -1
- package/dist/scripts/25.chunk.js +0 -750
- package/dist/scripts/25.chunk.js.map +0 -1
- package/dist/scripts/26-93c9661292.chunk.js +0 -1
- package/dist/scripts/26-a4a0b97207.chunk.js +0 -1
- package/dist/scripts/26.chunk.js +0 -826
- package/dist/scripts/26.chunk.js.map +0 -1
- package/dist/scripts/27-35820f00f1.chunk.js +0 -1
- package/dist/scripts/27-8a4d69f288.chunk.js +0 -1
- package/dist/scripts/27.chunk.js +0 -658
- package/dist/scripts/27.chunk.js.map +0 -1
- package/dist/scripts/28-0730152b25.chunk.js +0 -1
- package/dist/scripts/28-22cbd36128.chunk.js +0 -1
- package/dist/scripts/28.chunk.js +0 -692
- package/dist/scripts/28.chunk.js.map +0 -1
- package/dist/scripts/29-965aa23b96.chunk.js +0 -1
- package/dist/scripts/29-d6f6b32986.chunk.js +0 -1
- package/dist/scripts/29.chunk.js +0 -562
- package/dist/scripts/29.chunk.js.map +0 -1
- package/dist/scripts/3-02219d10d4.chunk.js +0 -7
- package/dist/scripts/3-0ce5d8bff2.chunk.js +0 -7
- package/dist/scripts/3.chunk.js +0 -800
- package/dist/scripts/3.chunk.js.map +0 -1
- package/dist/scripts/30-13106255a1.chunk.js +0 -1
- package/dist/scripts/30-77202cb6be.chunk.js +0 -1
- package/dist/scripts/30.chunk.js +0 -767
- package/dist/scripts/30.chunk.js.map +0 -1
- package/dist/scripts/31-1307509953.chunk.js +0 -1
- package/dist/scripts/31-e3ee095203.chunk.js +0 -1
- package/dist/scripts/31.chunk.js +0 -468
- package/dist/scripts/31.chunk.js.map +0 -1
- package/dist/scripts/32-40ed1dd894.chunk.js +0 -1
- package/dist/scripts/32-8ec5bb19f5.chunk.js +0 -1
- package/dist/scripts/32.chunk.js +0 -441
- package/dist/scripts/32.chunk.js.map +0 -1
- package/dist/scripts/33-8740c874b3.chunk.js +0 -1
- package/dist/scripts/33-93b8d74603.chunk.js +0 -1
- package/dist/scripts/33.chunk.js +0 -829
- package/dist/scripts/33.chunk.js.map +0 -1
- package/dist/scripts/34-81e4464339.chunk.js +0 -1
- package/dist/scripts/34-ada5bfd254.chunk.js +0 -1
- package/dist/scripts/34.chunk.js +0 -622
- package/dist/scripts/34.chunk.js.map +0 -1
- package/dist/scripts/35-0ff2658139.chunk.js +0 -1
- package/dist/scripts/35-3eb6fe74fc.chunk.js +0 -1
- package/dist/scripts/35.chunk.js +0 -962
- package/dist/scripts/35.chunk.js.map +0 -1
- package/dist/scripts/36-0532d93a26.chunk.js +0 -1
- package/dist/scripts/36-3bfbb52684.chunk.js +0 -1
- package/dist/scripts/36.chunk.js +0 -545
- package/dist/scripts/36.chunk.js.map +0 -1
- package/dist/scripts/37-10fe5a06a5.chunk.js +0 -1
- package/dist/scripts/37-3e5e429c93.chunk.js +0 -1
- package/dist/scripts/37.chunk.js +0 -627
- package/dist/scripts/37.chunk.js.map +0 -1
- package/dist/scripts/38-31744f9ae7.chunk.js +0 -1
- package/dist/scripts/38-76dc0e356d.chunk.js +0 -1
- package/dist/scripts/38.chunk.js +0 -943
- package/dist/scripts/38.chunk.js.map +0 -1
- package/dist/scripts/39-4b26fafe13.chunk.js +0 -1
- package/dist/scripts/39-5df3077ac3.chunk.js +0 -1
- package/dist/scripts/39.chunk.js +0 -585
- package/dist/scripts/39.chunk.js.map +0 -1
- package/dist/scripts/4-3b38074599.chunk.js +0 -1
- package/dist/scripts/4-d5bec07430.chunk.js +0 -1
- package/dist/scripts/4.chunk.js +0 -403
- package/dist/scripts/4.chunk.js.map +0 -1
- package/dist/scripts/40-6e3500fafc.chunk.js +0 -1
- package/dist/scripts/40-fa1b51a3e0.chunk.js +0 -1
- package/dist/scripts/40.chunk.js +0 -273
- package/dist/scripts/40.chunk.js.map +0 -1
- package/dist/scripts/41-2e358dbf59.chunk.js +0 -1
- package/dist/scripts/41-cde309348b.chunk.js +0 -1
- package/dist/scripts/41.chunk.js +0 -252
- package/dist/scripts/41.chunk.js.map +0 -1
- package/dist/scripts/42-4f9c639481.chunk.js +0 -1
- package/dist/scripts/42-680fb45a87.chunk.js +0 -1
- package/dist/scripts/42.chunk.js +0 -464
- package/dist/scripts/42.chunk.js.map +0 -1
- package/dist/scripts/43-3818cf7ed2.chunk.js +0 -1
- package/dist/scripts/43-cb8bdb3d8f.chunk.js +0 -1
- package/dist/scripts/43.chunk.js +0 -345
- package/dist/scripts/43.chunk.js.map +0 -1
- package/dist/scripts/44-0648e8e28f.chunk.js +0 -1
- package/dist/scripts/44-f4e93786c0.chunk.js +0 -1
- package/dist/scripts/44.chunk.js +0 -537
- package/dist/scripts/44.chunk.js.map +0 -1
- package/dist/scripts/45-23e64d06ed.chunk.js +0 -1
- package/dist/scripts/45-586cefa5b3.chunk.js +0 -1
- package/dist/scripts/45.chunk.js +0 -221
- package/dist/scripts/45.chunk.js.map +0 -1
- package/dist/scripts/46-273127f163.chunk.js +0 -1
- package/dist/scripts/46-8b4730ff48.chunk.js +0 -1
- package/dist/scripts/46.chunk.js +0 -230
- package/dist/scripts/46.chunk.js.map +0 -1
- package/dist/scripts/47-86e38a1468.chunk.js +0 -1
- package/dist/scripts/47-ab30686138.chunk.js +0 -1
- package/dist/scripts/47.chunk.js +0 -408
- package/dist/scripts/47.chunk.js.map +0 -1
- package/dist/scripts/48-54817c0e78.chunk.js +0 -1
- package/dist/scripts/48-54db253a8c.chunk.js +0 -1
- package/dist/scripts/48.chunk.js +0 -241
- package/dist/scripts/48.chunk.js.map +0 -1
- package/dist/scripts/49-0826d62735.chunk.js +0 -1
- package/dist/scripts/49-702676e587.chunk.js +0 -1
- package/dist/scripts/49.chunk.js +0 -249
- package/dist/scripts/49.chunk.js.map +0 -1
- package/dist/scripts/5-202373c80b.chunk.js +0 -1
- package/dist/scripts/5-52c2070b12.chunk.js +0 -1
- package/dist/scripts/5.chunk.js +0 -1161
- package/dist/scripts/5.chunk.js.map +0 -1
- package/dist/scripts/50-8069668f8a.chunk.js +0 -1
- package/dist/scripts/50-e94493066c.chunk.js +0 -1
- package/dist/scripts/50.chunk.js +0 -132
- package/dist/scripts/50.chunk.js.map +0 -1
- package/dist/scripts/51-6177cd4126.chunk.js +0 -1
- package/dist/scripts/51-aa7b835007.chunk.js +0 -1
- package/dist/scripts/51.chunk.js +0 -230
- package/dist/scripts/51.chunk.js.map +0 -1
- package/dist/scripts/52-805f7fe04d.chunk.js +0 -1
- package/dist/scripts/52-96d9beee16.chunk.js +0 -1
- package/dist/scripts/52.chunk.js +0 -318
- package/dist/scripts/52.chunk.js.map +0 -1
- package/dist/scripts/53-b24c780288.chunk.js +0 -1
- package/dist/scripts/53-be20bb20c9.chunk.js +0 -1
- package/dist/scripts/53.chunk.js +0 -212
- package/dist/scripts/53.chunk.js.map +0 -1
- package/dist/scripts/54-2e75bad46f.chunk.js +0 -1
- package/dist/scripts/54-fdfdb33705.chunk.js +0 -1
- package/dist/scripts/54.chunk.js +0 -108
- package/dist/scripts/54.chunk.js.map +0 -1
- package/dist/scripts/55-306c5a0e4d.chunk.js +0 -1
- package/dist/scripts/55-ed637c4847.chunk.js +0 -1
- package/dist/scripts/55.chunk.js +0 -69
- package/dist/scripts/55.chunk.js.map +0 -1
- package/dist/scripts/56-20237748ba.chunk.js +0 -1
- package/dist/scripts/56-db73243d04.chunk.js +0 -1
- package/dist/scripts/56.chunk.js +0 -209
- package/dist/scripts/56.chunk.js.map +0 -1
- package/dist/scripts/57-d5c787b4e3.chunk.js +0 -1
- package/dist/scripts/57-dfacc1ad90.chunk.js +0 -1
- package/dist/scripts/57.chunk.js +0 -211
- package/dist/scripts/57.chunk.js.map +0 -1
- package/dist/scripts/58-4d5ed35434.chunk.js +0 -1
- package/dist/scripts/58-bb756b517d.chunk.js +0 -1
- package/dist/scripts/58.chunk.js +0 -113
- package/dist/scripts/58.chunk.js.map +0 -1
- package/dist/scripts/59-18ef4c5afb.chunk.js +0 -1
- package/dist/scripts/59-ad37f90eca.chunk.js +0 -1
- package/dist/scripts/59.chunk.js +0 -108
- package/dist/scripts/59.chunk.js.map +0 -1
- package/dist/scripts/6-0a53c42432.chunk.js +0 -1
- package/dist/scripts/6-8ada925fb7.chunk.js +0 -1
- package/dist/scripts/6.chunk.js +0 -423
- package/dist/scripts/6.chunk.js.map +0 -1
- package/dist/scripts/60-81ac7ce262.chunk.js +0 -1
- package/dist/scripts/60-f95d0a0a90.chunk.js +0 -1
- package/dist/scripts/60.chunk.js +0 -110
- package/dist/scripts/60.chunk.js.map +0 -1
- package/dist/scripts/61-41c8cb7e0f.chunk.js +0 -1
- package/dist/scripts/61-8ce5227508.chunk.js +0 -1
- package/dist/scripts/61.chunk.js +0 -161
- package/dist/scripts/61.chunk.js.map +0 -1
- package/dist/scripts/62-62d450716a.chunk.js +0 -1
- package/dist/scripts/62-a0a69501ac.chunk.js +0 -1
- package/dist/scripts/62.chunk.js +0 -145
- package/dist/scripts/62.chunk.js.map +0 -1
- package/dist/scripts/63-91623df29f.chunk.js +0 -1
- package/dist/scripts/63-c921b87f3f.chunk.js +0 -1
- package/dist/scripts/63.chunk.js +0 -139
- package/dist/scripts/63.chunk.js.map +0 -1
- package/dist/scripts/64-87c1cf6985.chunk.js +0 -1
- package/dist/scripts/64-c0e959f4bb.chunk.js +0 -1
- package/dist/scripts/64.chunk.js +0 -142
- package/dist/scripts/64.chunk.js.map +0 -1
- package/dist/scripts/65-37ba4bad15.chunk.js +0 -1
- package/dist/scripts/65-f94e7ab2ef.chunk.js +0 -1
- package/dist/scripts/65.chunk.js +0 -170
- package/dist/scripts/65.chunk.js.map +0 -1
- package/dist/scripts/66-6d5356f6ce.chunk.js +0 -1
- package/dist/scripts/66-dc4b036321.chunk.js +0 -1
- package/dist/scripts/66.chunk.js +0 -172
- package/dist/scripts/66.chunk.js.map +0 -1
- package/dist/scripts/67-edfc0ba1e9.chunk.js +0 -1
- package/dist/scripts/67.chunk.js +0 -173
- 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 -102
- package/dist/scripts/69.chunk.js.map +0 -1
- package/dist/scripts/7-096f5703bd.chunk.js +0 -1
- package/dist/scripts/7-81162e12a2.chunk.js +0 -1
- package/dist/scripts/7.chunk.js +0 -2629
- package/dist/scripts/7.chunk.js.map +0 -1
- package/dist/scripts/70.chunk.js +0 -60
- package/dist/scripts/70.chunk.js.map +0 -1
- package/dist/scripts/71.chunk.js +0 -65
- package/dist/scripts/71.chunk.js.map +0 -1
- package/dist/scripts/72.chunk.js +0 -37
- package/dist/scripts/72.chunk.js.map +0 -1
- package/dist/scripts/73.chunk.js +0 -65
- package/dist/scripts/73.chunk.js.map +0 -1
- package/dist/scripts/74.chunk.js +0 -67
- package/dist/scripts/74.chunk.js.map +0 -1
- package/dist/scripts/75.chunk.js +0 -104
- package/dist/scripts/75.chunk.js.map +0 -1
- package/dist/scripts/76.chunk.js +0 -123
- package/dist/scripts/76.chunk.js.map +0 -1
- package/dist/scripts/77.chunk.js +0 -1001
- package/dist/scripts/77.chunk.js.map +0 -1
- package/dist/scripts/78.chunk.js +0 -36
- package/dist/scripts/78.chunk.js.map +0 -1
- package/dist/scripts/79.chunk.js +0 -1001
- package/dist/scripts/79.chunk.js.map +0 -1
- package/dist/scripts/8-7dc2d39ce2.chunk.js +0 -1
- package/dist/scripts/8-a89310bd50.chunk.js +0 -1
- package/dist/scripts/8.chunk.js +0 -24
- package/dist/scripts/8.chunk.js.map +0 -1
- package/dist/scripts/80.chunk.js +0 -36
- package/dist/scripts/80.chunk.js.map +0 -1
- package/dist/scripts/81.chunk.js +0 -619
- package/dist/scripts/81.chunk.js.map +0 -1
- package/dist/scripts/82.chunk.js +0 -437
- package/dist/scripts/82.chunk.js.map +0 -1
- package/dist/scripts/83.chunk.js +0 -633
- package/dist/scripts/83.chunk.js.map +0 -1
- package/dist/scripts/84.chunk.js +0 -1938
- package/dist/scripts/84.chunk.js.map +0 -1
- package/dist/scripts/85.chunk.js +0 -692
- package/dist/scripts/85.chunk.js.map +0 -1
- package/dist/scripts/86.chunk.js +0 -829
- package/dist/scripts/86.chunk.js.map +0 -1
- package/dist/scripts/87.chunk.js +0 -622
- package/dist/scripts/87.chunk.js.map +0 -1
- package/dist/scripts/88.chunk.js +0 -962
- package/dist/scripts/88.chunk.js.map +0 -1
- package/dist/scripts/89.chunk.js +0 -943
- package/dist/scripts/89.chunk.js.map +0 -1
- package/dist/scripts/9-9865a75c99.chunk.js +0 -1
- package/dist/scripts/9.chunk.js +0 -327
- package/dist/scripts/9.chunk.js.map +0 -1
- package/dist/scripts/90.chunk.js +0 -345
- package/dist/scripts/90.chunk.js.map +0 -1
- package/dist/scripts/91.chunk.js +0 -108
- package/dist/scripts/91.chunk.js.map +0 -1
- package/dist/scripts/92.chunk.js +0 -110
- package/dist/scripts/92.chunk.js.map +0 -1
- package/dist/scripts/93.chunk.js +0 -165
- package/dist/scripts/93.chunk.js.map +0 -1
- package/dist/scripts/94.chunk.js +0 -102
- package/dist/scripts/94.chunk.js.map +0 -1
- package/dist/scripts/95.chunk.js +0 -65
- package/dist/scripts/95.chunk.js.map +0 -1
- package/dist/scripts/96.chunk.js +0 -65
- package/dist/scripts/96.chunk.js.map +0 -1
- package/dist/scripts/97.chunk.js +0 -67
- package/dist/scripts/97.chunk.js.map +0 -1
- package/dist/scripts/98.chunk.js +0 -104
- package/dist/scripts/98.chunk.js.map +0 -1
- package/dist/scripts/99.chunk.js +0 -123
- package/dist/scripts/99.chunk.js.map +0 -1
- package/dist/scripts/bundle-0958accd59.min.js +0 -15
- package/dist/scripts/bundle-fef50e5bb9.min.js +0 -15
- package/dist/scripts/bundle.js +0 -47069
- package/dist/scripts/bundle.js.map +0 -1
- package/dist/scripts/pdf.worker.entry.worker.js +0 -46239
- package/dist/scripts/pdf.worker.entry.worker.js.map +0 -1
- package/dist/scripts/polyfills-1f23e4a487.min.js +0 -1
- package/dist/scripts/polyfills-8a0101e5f1.min.js +0 -1
- package/dist/scripts/polyfills.js +0 -15254
- package/dist/scripts/polyfills.js.map +0 -1
- /package/dist/scripts/{47-c4c6264df4.chunk.js → 47-b6a95ef8b0.chunk.js} +0 -0
- /package/dist/scripts/{54-603f252394.chunk.js → 54-ff24fa0c07.chunk.js} +0 -0
- /package/dist/scripts/{62-94874205ae.chunk.js → 62-d7cbe9da67.chunk.js} +0 -0
- /package/dist/scripts/{64-d280e018c4.chunk.js → 64-1f651e86b3.chunk.js} +0 -0
- /package/dist/scripts/{polyfills-2723daf478.min.js → polyfills-46d3c7a509.min.js} +0 -0
package/dist/scripts/51.chunk.js
DELETED
|
@@ -1,230 +0,0 @@
|
|
|
1
|
-
(window["webpackJsonp_clickview_lite"] = window["webpackJsonp_clickview_lite"] || []).push([[51],{
|
|
2
|
-
|
|
3
|
-
/***/ "./src/apps/user-manager/flight-requests/YearLevelRequests.ts":
|
|
4
|
-
/*!********************************************************************!*\
|
|
5
|
-
!*** ./src/apps/user-manager/flight-requests/YearLevelRequests.ts ***!
|
|
6
|
-
\********************************************************************/
|
|
7
|
-
/*! exports provided: YearLevelRequests */
|
|
8
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9
|
-
|
|
10
|
-
"use strict";
|
|
11
|
-
__webpack_require__.r(__webpack_exports__);
|
|
12
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "YearLevelRequests", function() { return YearLevelRequests; });
|
|
13
|
-
/* harmony import */ var _libs_common_src_react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../libs/common/src/react */ "../../libs/common/src/react/index.ts");
|
|
14
|
-
/* harmony import */ var _mocks_year_levels_json__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./mocks/year-levels.json */ "./src/apps/user-manager/flight-requests/mocks/year-levels.json");
|
|
15
|
-
var _mocks_year_levels_json__WEBPACK_IMPORTED_MODULE_1___namespace = /*#__PURE__*/__webpack_require__.t(/*! ./mocks/year-levels.json */ "./src/apps/user-manager/flight-requests/mocks/year-levels.json", 1);
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
var MOCK_YEAR_LEVELS = 'year:levels';
|
|
19
|
-
var YearLevelRequests = {
|
|
20
|
-
getAll: function getAll() {
|
|
21
|
-
return {
|
|
22
|
-
url: '/api/domain/v1/yearlevels',
|
|
23
|
-
key: 'yearlevels',
|
|
24
|
-
successResponse: function successResponse() {
|
|
25
|
-
return _libs_common_src_react__WEBPACK_IMPORTED_MODULE_0__["Flight"].Simulator.getAll(MOCK_YEAR_LEVELS, _mocks_year_levels_json__WEBPACK_IMPORTED_MODULE_1__);
|
|
26
|
-
}
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
/***/ }),
|
|
32
|
-
|
|
33
|
-
/***/ "./src/apps/user-manager/flight-requests/mocks/year-levels.json":
|
|
34
|
-
/*!**********************************************************************!*\
|
|
35
|
-
!*** ./src/apps/user-manager/flight-requests/mocks/year-levels.json ***!
|
|
36
|
-
\**********************************************************************/
|
|
37
|
-
/*! exports provided: 0, 1, 2, 3, 4, 5, 6, default */
|
|
38
|
-
/***/ (function(module) {
|
|
39
|
-
|
|
40
|
-
module.exports = JSON.parse("[{\"id\":\"kindergarten\",\"name\":\"Kindergarten\"},{\"id\":\"year-1\",\"name\":\"Year 1\"},{\"id\":\"year-2\",\"name\":\"Year 2\"},{\"id\":\"year-3\",\"name\":\"Year 3\"},{\"id\":\"year-4\",\"name\":\"Year 4\"},{\"id\":\"year-5\",\"name\":\"Year 5\"},{\"id\":\"year-6\",\"name\":\"Year 6\"}]");
|
|
41
|
-
|
|
42
|
-
/***/ }),
|
|
43
|
-
|
|
44
|
-
/***/ "./src/apps/user-manager/views/school-student-manager/SchoolStudentManagerView.tsx":
|
|
45
|
-
/*!*****************************************************************************************!*\
|
|
46
|
-
!*** ./src/apps/user-manager/views/school-student-manager/SchoolStudentManagerView.tsx ***!
|
|
47
|
-
\*****************************************************************************************/
|
|
48
|
-
/*! exports provided: SchoolStudentManagerView */
|
|
49
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
50
|
-
|
|
51
|
-
"use strict";
|
|
52
|
-
__webpack_require__.r(__webpack_exports__);
|
|
53
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SchoolStudentManagerView", function() { return SchoolStudentManagerView; });
|
|
54
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
55
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
56
|
-
/* harmony import */ var _libs_common_src_react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../../libs/common/src/react */ "../../libs/common/src/react/index.ts");
|
|
57
|
-
/* 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");
|
|
58
|
-
/* harmony import */ var _libs_common_src_react_hooks_UseSetPageTitle__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../libs/common/src/react/hooks/UseSetPageTitle */ "../../libs/common/src/react/hooks/UseSetPageTitle.ts");
|
|
59
|
-
/* harmony import */ var _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../../../libs/analytics/src/interfaces */ "../../libs/analytics/src/interfaces/index.ts");
|
|
60
|
-
/* harmony import */ var _libs_shared_src_components_pagination_Pagination__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../../../../libs/shared/src/components/pagination/Pagination */ "../../libs/shared/src/components/pagination/Pagination.tsx");
|
|
61
|
-
/* harmony import */ var _libs_shared_src_services_ContextService__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../../../../libs/shared/src/services/ContextService */ "../../libs/shared/src/services/ContextService.ts");
|
|
62
|
-
/* harmony import */ var _libs_shared_src_components_text_Text__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../../../../libs/shared/src/components/text/Text */ "../../libs/shared/src/components/text/Text.tsx");
|
|
63
|
-
/* harmony import */ var apps_user_manager_flight_requests_SchoolUserRequests__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! apps/user-manager/flight-requests/SchoolUserRequests */ "./src/apps/user-manager/flight-requests/SchoolUserRequests.ts");
|
|
64
|
-
/* harmony import */ var apps_user_manager_components_manage_users_list_ManageUsersList__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! apps/user-manager/components/manage-users-list/ManageUsersList */ "./src/apps/user-manager/components/manage-users-list/ManageUsersList.tsx");
|
|
65
|
-
/* harmony import */ var apps_user_manager_components_manage_users_list_partial_loading_PartialManageUsersList__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! apps/user-manager/components/manage-users-list/partial-loading/PartialManageUsersList */ "./src/apps/user-manager/components/manage-users-list/partial-loading/PartialManageUsersList.tsx");
|
|
66
|
-
/* harmony import */ var apps_user_manager_flight_requests_YearLevelRequests__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! apps/user-manager/flight-requests/YearLevelRequests */ "./src/apps/user-manager/flight-requests/YearLevelRequests.ts");
|
|
67
|
-
/* harmony import */ var apps_user_manager_enums__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! apps/user-manager/enums */ "./src/apps/user-manager/enums/index.ts");
|
|
68
|
-
/* harmony import */ var apps_classrooms_flight_requests_ClassroomRequests__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! apps/classrooms/flight-requests/ClassroomRequests */ "./src/apps/classrooms/flight-requests/ClassroomRequests.ts");
|
|
69
|
-
/* harmony import */ var apps_search_components_scoped_search_bar_ScopedSearchBar__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! apps/search/components/scoped-search-bar/ScopedSearchBar */ "./src/apps/search/components/scoped-search-bar/ScopedSearchBar.tsx");
|
|
70
|
-
/* harmony import */ var apps_search_components__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! apps/search/components */ "./src/apps/search/components/index.ts");
|
|
71
|
-
/* harmony import */ var apps_search_utils__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! apps/search/utils */ "./src/apps/search/utils/index.ts");
|
|
72
|
-
/* harmony import */ var _empty_state_SchoolStudentManagerEmptyState__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./empty-state/SchoolStudentManagerEmptyState */ "./src/apps/user-manager/views/school-student-manager/empty-state/SchoolStudentManagerEmptyState.tsx");
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
var namespace = 'userManager.schoolStudentManager';
|
|
92
|
-
var getPhrase = _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_2__["LanguageService"].encloseNamespace(namespace);
|
|
93
|
-
function SchoolStudentManagerView(props) {
|
|
94
|
-
var _a, _b, _c, _d;
|
|
95
|
-
|
|
96
|
-
Object(_libs_common_src_react_hooks_UseSetPageTitle__WEBPACK_IMPORTED_MODULE_3__["useSetPageTitle"])(getPhrase('pageTitle'));
|
|
97
|
-
var students = _libs_common_src_react__WEBPACK_IMPORTED_MODULE_1__["Flight"].useBasicFetch(apps_user_manager_flight_requests_SchoolUserRequests__WEBPACK_IMPORTED_MODULE_8__["SchoolUserRequests"].getSchoolStudents(apps_search_utils__WEBPACK_IMPORTED_MODULE_16__["FilterHelper"].getBackendQueryParams(props.queryParams)));
|
|
98
|
-
var yearLevels = _libs_common_src_react__WEBPACK_IMPORTED_MODULE_1__["Flight"].useBasicFetch(apps_user_manager_flight_requests_YearLevelRequests__WEBPACK_IMPORTED_MODULE_11__["YearLevelRequests"].getAll());
|
|
99
|
-
var classrooms = _libs_common_src_react__WEBPACK_IMPORTED_MODULE_1__["Flight"].useBasicFetch(apps_classrooms_flight_requests_ClassroomRequests__WEBPACK_IMPORTED_MODULE_13__["ClassroomRequests"].getAll());
|
|
100
|
-
|
|
101
|
-
function getFilters() {
|
|
102
|
-
if (!yearLevels.data || !classrooms.data) return [];
|
|
103
|
-
return [apps_search_utils__WEBPACK_IMPORTED_MODULE_16__["Filters"].SortByName(apps_search_utils__WEBPACK_IMPORTED_MODULE_16__["FilterHelper"].getNameSortOptions()), apps_search_utils__WEBPACK_IMPORTED_MODULE_16__["Filters"].YearLevel(apps_search_utils__WEBPACK_IMPORTED_MODULE_16__["FilterHelper"].getYearLevelOptions(yearLevels.data)), apps_search_utils__WEBPACK_IMPORTED_MODULE_16__["Filters"].Classroom(apps_search_utils__WEBPACK_IMPORTED_MODULE_16__["FilterHelper"].getClassroomOptions(classrooms.data))];
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
return react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", {
|
|
107
|
-
className: 'px-3'
|
|
108
|
-
}, react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("h1", {
|
|
109
|
-
className: 'pl-4'
|
|
110
|
-
}, react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_libs_shared_src_components_text_Text__WEBPACK_IMPORTED_MODULE_7__["Text"], {
|
|
111
|
-
namespace: namespace,
|
|
112
|
-
phrase: 'heading'
|
|
113
|
-
})), react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", {
|
|
114
|
-
className: 'pl-4 py-2 row'
|
|
115
|
-
}, react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", {
|
|
116
|
-
className: 'col-9 p-0'
|
|
117
|
-
}, getFilters().length ? react__WEBPACK_IMPORTED_MODULE_0__["createElement"](apps_search_components__WEBPACK_IMPORTED_MODULE_15__["SearchFilters"], {
|
|
118
|
-
queryParams: props.queryParams,
|
|
119
|
-
mainFilters: getFilters(),
|
|
120
|
-
analyticsOptions: {
|
|
121
|
-
entity: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_4__["EntityType"].User,
|
|
122
|
-
location: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_4__["LocationContext"].StudentManager
|
|
123
|
-
},
|
|
124
|
-
hideHeading: true
|
|
125
|
-
}) : react__WEBPACK_IMPORTED_MODULE_0__["createElement"](apps_search_components__WEBPACK_IMPORTED_MODULE_15__["PartialSearchFilters"], {
|
|
126
|
-
hideHeading: true
|
|
127
|
-
})), react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", {
|
|
128
|
-
className: 'col-3'
|
|
129
|
-
}, react__WEBPACK_IMPORTED_MODULE_0__["createElement"](apps_search_components_scoped_search_bar_ScopedSearchBar__WEBPACK_IMPORTED_MODULE_14__["ScopedSearchBar"], {
|
|
130
|
-
id: 'school-student-search',
|
|
131
|
-
name: 'school-student-search',
|
|
132
|
-
placeholder: getPhrase('searchBarPlaceholder')
|
|
133
|
-
}))), react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("p", {
|
|
134
|
-
className: 'pl-4 mb-0 font-weight-bold'
|
|
135
|
-
}, react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_libs_shared_src_components_text_Text__WEBPACK_IMPORTED_MODULE_7__["Text"], {
|
|
136
|
-
namespace: namespace,
|
|
137
|
-
phrase: 'entries',
|
|
138
|
-
options: {
|
|
139
|
-
totalVisible: ((_b = (_a = students.data) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.length) || 0,
|
|
140
|
-
absoluteTotal: ((_c = students.data) === null || _c === void 0 ? void 0 : _c.count) || 0,
|
|
141
|
-
smartCount: ((_d = students.data) === null || _d === void 0 ? void 0 : _d.count) || 0
|
|
142
|
-
}
|
|
143
|
-
})), react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("main", {
|
|
144
|
-
className: 'py-3'
|
|
145
|
-
}, function () {
|
|
146
|
-
var _a;
|
|
147
|
-
|
|
148
|
-
if (!((_a = students.data) === null || _a === void 0 ? void 0 : _a.data) || !yearLevels.data) return react__WEBPACK_IMPORTED_MODULE_0__["createElement"](apps_user_manager_components_manage_users_list_partial_loading_PartialManageUsersList__WEBPACK_IMPORTED_MODULE_10__["PartialManageUsersList"], null);
|
|
149
|
-
if (!students.data.data.length) return react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_empty_state_SchoolStudentManagerEmptyState__WEBPACK_IMPORTED_MODULE_17__["SchoolStudentManagerEmptyState"], null);
|
|
150
|
-
return react__WEBPACK_IMPORTED_MODULE_0__["createElement"](react__WEBPACK_IMPORTED_MODULE_0__["Fragment"], null, react__WEBPACK_IMPORTED_MODULE_0__["createElement"](apps_user_manager_components_manage_users_list_ManageUsersList__WEBPACK_IMPORTED_MODULE_9__["ManageUsersList"], {
|
|
151
|
-
users: students.data.data,
|
|
152
|
-
userType: apps_user_manager_enums__WEBPACK_IMPORTED_MODULE_12__["MockUserType"].Student,
|
|
153
|
-
yearLevels: yearLevels.data,
|
|
154
|
-
analyticsOptions: {
|
|
155
|
-
location: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_4__["LocationContext"].StudentManager
|
|
156
|
-
}
|
|
157
|
-
}), react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_libs_shared_src_components_pagination_Pagination__WEBPACK_IMPORTED_MODULE_5__["Pagination"], {
|
|
158
|
-
appLink: _libs_shared_src_services_ContextService__WEBPACK_IMPORTED_MODULE_6__["ContextService"].getCurrentRoute().appLink,
|
|
159
|
-
cursors: {
|
|
160
|
-
next: students.data.pagination.cursors.next,
|
|
161
|
-
previous: students.data.pagination.cursors.previous
|
|
162
|
-
},
|
|
163
|
-
className: 'pt-3 d-flex justify-content-end'
|
|
164
|
-
}));
|
|
165
|
-
}()));
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
/***/ }),
|
|
169
|
-
|
|
170
|
-
/***/ "./src/apps/user-manager/views/school-student-manager/empty-state/SchoolStudentManagerEmptyState.tsx":
|
|
171
|
-
/*!***********************************************************************************************************!*\
|
|
172
|
-
!*** ./src/apps/user-manager/views/school-student-manager/empty-state/SchoolStudentManagerEmptyState.tsx ***!
|
|
173
|
-
\***********************************************************************************************************/
|
|
174
|
-
/*! exports provided: SchoolStudentManagerEmptyState */
|
|
175
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
176
|
-
|
|
177
|
-
"use strict";
|
|
178
|
-
__webpack_require__.r(__webpack_exports__);
|
|
179
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SchoolStudentManagerEmptyState", function() { return SchoolStudentManagerEmptyState; });
|
|
180
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
181
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
182
|
-
/* harmony import */ var _libs_shared_src_components_text_Text__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../../../libs/shared/src/components/text/Text */ "../../libs/shared/src/components/text/Text.tsx");
|
|
183
|
-
/* harmony import */ var _libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../../../../libs/shared/src/utils/SvgHelper */ "../../libs/shared/src/utils/SvgHelper.ts");
|
|
184
|
-
/* harmony import */ var _libs_shared_src_components_icon_button_IconButton__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../../libs/shared/src/components/icon-button/IconButton */ "../../libs/shared/src/components/icon-button/IconButton.tsx");
|
|
185
|
-
/* harmony import */ var shared_constants_LiteRadioChannels__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! shared/constants/LiteRadioChannels */ "./src/shared/constants/LiteRadioChannels.ts");
|
|
186
|
-
/* harmony import */ var shared_constants_LiteActions__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! shared/constants/LiteActions */ "./src/shared/constants/LiteActions.ts");
|
|
187
|
-
/* harmony import */ var shared_components_video_info_button_VideoInfoButton__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! shared/components/video-info-button/VideoInfoButton */ "./src/shared/components/video-info-button/VideoInfoButton.tsx");
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
var namespace = 'userManager.schoolStudentManagerEmptyState';
|
|
196
|
-
var newStudentAppLink = {
|
|
197
|
-
application: shared_constants_LiteRadioChannels__WEBPACK_IMPORTED_MODULE_4__["AppChannels"].USER_MANAGER,
|
|
198
|
-
action: shared_constants_LiteActions__WEBPACK_IMPORTED_MODULE_5__["Actions"].UserManager.NEW_STUDENT
|
|
199
|
-
};
|
|
200
|
-
function SchoolStudentManagerEmptyState() {
|
|
201
|
-
return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_libs_shared_src_components_text_Text__WEBPACK_IMPORTED_MODULE_1__["LanguageNamespaceContext"].Provider, {
|
|
202
|
-
value: namespace
|
|
203
|
-
}, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", {
|
|
204
|
-
className: 'text-center py-5'
|
|
205
|
-
}, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("p", null, "TODO: add an actual empty state image once bev has one"), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("img", {
|
|
206
|
-
src: '/favicon.ico',
|
|
207
|
-
className: 'pb-3'
|
|
208
|
-
}), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("h2", {
|
|
209
|
-
className: 'h6'
|
|
210
|
-
}, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_libs_shared_src_components_text_Text__WEBPACK_IMPORTED_MODULE_1__["Text"], {
|
|
211
|
-
phrase: 'heading'
|
|
212
|
-
})), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("p", {
|
|
213
|
-
className: 'w-33 mx-auto'
|
|
214
|
-
}, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_libs_shared_src_components_text_Text__WEBPACK_IMPORTED_MODULE_1__["Text"], {
|
|
215
|
-
phrase: 'info'
|
|
216
|
-
})), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(shared_components_video_info_button_VideoInfoButton__WEBPACK_IMPORTED_MODULE_6__["VideoInfoButton"], null, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_libs_shared_src_components_text_Text__WEBPACK_IMPORTED_MODULE_1__["Text"], {
|
|
217
|
-
phrase: 'videoLink'
|
|
218
|
-
})), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_libs_shared_src_components_icon_button_IconButton__WEBPACK_IMPORTED_MODULE_3__["IconButton"], {
|
|
219
|
-
className: 'btn btn-dark mx-auto',
|
|
220
|
-
svgName: _libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_2__["cvSvgLibrary"].Plus,
|
|
221
|
-
appLink: newStudentAppLink
|
|
222
|
-
}, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_libs_shared_src_components_text_Text__WEBPACK_IMPORTED_MODULE_1__["Text"], {
|
|
223
|
-
phrase: 'addNew'
|
|
224
|
-
}))));
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
/***/ })
|
|
228
|
-
|
|
229
|
-
}]);
|
|
230
|
-
//# sourceMappingURL=51.chunk.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["file://C:/ClickView Projects/@clickview/packages/projects/lite/src/apps/user-manager/flight-requests/YearLevelRequests.ts","file://C:/ClickView Projects/@clickview/packages/projects/lite/src/apps/user-manager/views/school-student-manager/SchoolStudentManagerView.tsx","file://C:/ClickView Projects/@clickview/packages/projects/lite/src/apps/user-manager/views/school-student-manager/empty-state/SchoolStudentManagerEmptyState.tsx"],"names":[],"mappings":"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","file":"scripts/51.chunk.js","sourcesContent":["import { Flight } from 'libs/common/flight';\r\n\r\nimport yearLevels from './mocks/year-levels.json';\r\n\r\nconst MOCK_YEAR_LEVELS = 'year:levels';\r\n\r\nexport const YearLevelRequests = {\r\n getAll(): Flight.SimulatedRequest {\r\n return {\r\n url: '/api/domain/v1/yearlevels',\r\n key: 'yearlevels',\r\n successResponse: () => {\r\n return Flight.Simulator.getAll(MOCK_YEAR_LEVELS, yearLevels);\r\n }\r\n };\r\n }\r\n};\r\n","import * as React from 'react';\r\n\r\nimport { Flight } from 'libs/common/flight';\r\nimport { LanguageService } from 'libs/common/backbone/services/LanguageService';\r\nimport { HashObject } from 'libs/common/react/interfaces/HashObject';\r\nimport { useSetPageTitle } from 'libs/common/react/hooks/UseSetPageTitle';\r\nimport { LocationContext, EntityType } from 'libs/analytics/interfaces';\r\nimport { Pagination } from 'libs/shared/components/pagination/Pagination';\r\nimport { ContextService } from 'libs/shared/services/ContextService';\r\nimport { Text } from 'libs/shared/components/text/Text';\r\n\r\nimport { SchoolUserRequests } from 'apps/user-manager/flight-requests/SchoolUserRequests';\r\nimport { ManageUsersList } from 'apps/user-manager/components/manage-users-list/ManageUsersList';\r\nimport { PartialManageUsersList } from 'apps/user-manager/components/manage-users-list/partial-loading/PartialManageUsersList';\r\nimport { MockClassroom, MockYearLevel, MockStudentCollection } from 'apps/user-manager/interfaces';\r\nimport { YearLevelRequests } from 'apps/user-manager/flight-requests/YearLevelRequests';\r\nimport { MockUserType } from 'apps/user-manager/enums';\r\n\r\nimport { ClassroomRequests } from 'apps/classrooms/flight-requests/ClassroomRequests';\r\n\r\nimport { ScopedSearchBar } from 'apps/search/components/scoped-search-bar/ScopedSearchBar';\r\nimport { SearchFilters, PartialSearchFilters } from 'apps/search/components';\r\nimport { SearchFilter } from 'apps/search/interfaces';\r\nimport { Filters, FilterHelper } from 'apps/search/utils';\r\n\r\nimport { SchoolStudentManagerEmptyState } from './empty-state/SchoolStudentManagerEmptyState';\r\n\r\nconst namespace = 'userManager.schoolStudentManager';\r\nconst getPhrase = LanguageService.encloseNamespace(namespace);\r\n\r\ninterface SchoolStudentManagerViewProps {\r\n queryParams: HashObject;\r\n}\r\n\r\nexport function SchoolStudentManagerView(props: SchoolStudentManagerViewProps): JSX.Element {\r\n useSetPageTitle(getPhrase('pageTitle'));\r\n\r\n const students = Flight.useBasicFetch<MockStudentCollection>(\r\n SchoolUserRequests.getSchoolStudents(FilterHelper.getBackendQueryParams(props.queryParams)));\r\n const yearLevels = Flight.useBasicFetch<MockYearLevel[]>(YearLevelRequests.getAll());\r\n const classrooms = Flight.useBasicFetch<MockClassroom[]>(ClassroomRequests.getAll());\r\n\r\n function getFilters(): SearchFilter[] {\r\n if (!yearLevels.data || !classrooms.data)\r\n return [];\r\n\r\n return [\r\n Filters.SortByName(FilterHelper.getNameSortOptions()),\r\n Filters.YearLevel(FilterHelper.getYearLevelOptions(yearLevels.data)),\r\n Filters.Classroom(FilterHelper.getClassroomOptions(classrooms.data))\r\n ];\r\n }\r\n\r\n return (\r\n <div className='px-3'>\r\n <h1 className='pl-4'><Text namespace={namespace} phrase='heading' /></h1>\r\n\r\n <div className='pl-4 py-2 row'>\r\n <div className='col-9 p-0'>\r\n {getFilters().length\r\n ? <SearchFilters\r\n queryParams={props.queryParams}\r\n mainFilters={getFilters()}\r\n analyticsOptions={{\r\n entity: EntityType.User,\r\n location: LocationContext.StudentManager\r\n }}\r\n hideHeading\r\n />\r\n : <PartialSearchFilters hideHeading />\r\n }\r\n </div>\r\n\r\n <div className='col-3'>\r\n <ScopedSearchBar\r\n id='school-student-search'\r\n name='school-student-search'\r\n placeholder={getPhrase('searchBarPlaceholder')}\r\n />\r\n </div>\r\n </div>\r\n\r\n <p className='pl-4 mb-0 font-weight-bold'>\r\n <Text\r\n namespace={namespace}\r\n phrase='entries'\r\n options={{\r\n totalVisible: students.data?.data?.length || 0,\r\n absoluteTotal: students.data?.count || 0,\r\n smartCount: students.data?.count || 0\r\n }}\r\n />\r\n </p>\r\n\r\n <main className='py-3'>\r\n {(() => {\r\n if (!students.data?.data || !yearLevels.data)\r\n return <PartialManageUsersList />;\r\n\r\n if (!students.data.data.length)\r\n return <SchoolStudentManagerEmptyState />;\r\n\r\n return (\r\n <>\r\n <ManageUsersList\r\n users={students.data.data}\r\n userType={MockUserType.Student}\r\n yearLevels={yearLevels.data}\r\n analyticsOptions={{ location: LocationContext.StudentManager }}\r\n />\r\n <Pagination\r\n appLink={ContextService.getCurrentRoute().appLink}\r\n cursors={{\r\n next: students.data.pagination.cursors.next,\r\n previous: students.data.pagination.cursors.previous\r\n }}\r\n className='pt-3 d-flex justify-content-end'\r\n />\r\n </>\r\n );\r\n })()}\r\n </main>\r\n </div>\r\n );\r\n}","import React from 'react';\r\n\r\nimport { Core } from 'libs/common/core';\r\nimport { Text, LanguageNamespaceContext } from 'libs/shared/components/text/Text';\r\nimport { cvSvgLibrary } from 'libs/shared/utils/SvgHelper';\r\nimport { IconButton } from 'libs/shared/components/icon-button/IconButton';\r\n\r\nimport { AppChannels } from 'shared/constants/LiteRadioChannels';\r\nimport { Actions } from 'shared/constants/LiteActions';\r\nimport { VideoInfoButton } from 'shared/components/video-info-button/VideoInfoButton';\r\n\r\nconst namespace = 'userManager.schoolStudentManagerEmptyState';\r\n\r\nconst newStudentAppLink: Core.AppLink = {\r\n application: AppChannels.USER_MANAGER,\r\n action: Actions.UserManager.NEW_STUDENT\r\n};\r\n\r\nexport function SchoolStudentManagerEmptyState(): JSX.Element {\r\n return (\r\n <LanguageNamespaceContext.Provider value={namespace}>\r\n <div className='text-center py-5'>\r\n <p>TODO: add an actual empty state image once bev has one</p>\r\n <img src='/favicon.ico' className='pb-3' />\r\n\r\n <h2 className='h6'><Text phrase='heading' /></h2>\r\n <p className='w-33 mx-auto'><Text phrase='info' /></p>\r\n\r\n <VideoInfoButton>\r\n <Text phrase='videoLink' />\r\n </VideoInfoButton>\r\n\r\n <IconButton\r\n className='btn btn-dark mx-auto'\r\n svgName={cvSvgLibrary.Plus}\r\n appLink={newStudentAppLink}\r\n >\r\n <Text phrase='addNew' />\r\n </IconButton>\r\n </div>\r\n </LanguageNamespaceContext.Provider>\r\n );\r\n}"],"sourceRoot":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp_clickview_lite=window.webpackJsonp_clickview_lite||[]).push([[52],{1249:function(t,n,e){var o=e(25);t.exports=(o.default||o).template({1:function(t,n,e,o,i){return"disabled"},compiler:[8,">= 4.3.0"],main:function(t,n,e,o,i){t.propertyIsEnumerable;var r,a=null!=n?n:t.nullContext||{},s=t.hooks.helperMissing,c=t.escapeExpression;return'<div class="p-3">\r\n <a class="btn previous-applink btn-secondary '+(null!=(r=e.unless.call(a,null!=(r=null!=(r=null!=n?n.options:n)?r.cursors:r)?r.previous:r,{name:"unless",hash:{},fn:t.program(1,i,0),inverse:t.noop,data:i}))?r:"")+'">'+c((e.lang||n&&n.lang||s).call(a,"previous",{name:"lang",hash:{},data:i}))+'</a>\r\n <a class="btn next-applink btn-secondary '+(null!=(r=e.unless.call(a,null!=(r=null!=(r=null!=n?n.options:n)?r.cursors:r)?r.next:r,{name:"unless",hash:{},fn:t.program(1,i,0),inverse:t.noop,data:i}))?r:"")+'">'+c((e.lang||n&&n.lang||s).call(a,"next",{name:"lang",hash:{},data:i}))+"</a>\r\n</div>"},useData:!0})},1250:function(t,n,e){var o=e(25);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,n,e,o,i){t.propertyIsEnumerable;return'<div class="container-fluid bg-white p-3">\r\n <h1 class="h3 header border-bottom pb-2 m-0">'+t.escapeExpression((e.lang||n&&n.lang||t.hooks.helperMissing).call(null!=n?n:t.nullContext||{},"notifications",{name:"lang",hash:{},data:i}))+'</h1>\r\n <div class="list-region"></div>\r\n <div class="pagination-region"></div>\r\n</div>'},useData:!0})},1320:function(t,n,e){"use strict";e.r(n);var o=e(2),i=e(7),r=e(8),a=e(184),s=e(34),c=e(12),u=e(32),l=e(412),p=e(1),f=e(3),h=e(40),y=e(1249),g=e.n(y);function v(t){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function b(t,n){for(var e=0;e<n.length;e++){var o=n[e];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function d(t,n){return(d=Object.setPrototypeOf||function(t,n){return t.__proto__=n,t})(t,n)}function m(t){var n=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 e,o=w(t);if(n){var i=w(this).constructor;e=Reflect.construct(o,arguments,i)}else e=o.apply(this,arguments);return k(this,e)}}function k(t,n){return!n||"object"!==v(n)&&"function"!=typeof n?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):n}function w(t){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var O=function(t){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),n&&d(t,n)}(r,t);var n,e,o,i=m(r);function r(t){return function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,r),i.call(this,t)}return n=r,(e=[{key:"events",value:function(){return{"click .previous-applink":"onClickPrevious","click .next-applink":"onClickNext"}}},{key:"buildCursor",value:function(t){return{application:this.options.appLink.application,action:this.options.appLink.action,args:this.options.appLink.args,params:p.extend({},this.options.appLink.params,(n={},e=this.options.cursorParamName,o=t,e in n?Object.defineProperty(n,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[e]=o,n))};var n,e,o}},{key:"onClickPrevious",value:function(){this.logAction("previous")}},{key:"onClickNext",value:function(){this.logAction("next")}},{key:"logAction",value:function(t){var n=h.a.mergeOptions(this.options.analyticsOptions,{location:f.j.Pagination,entity:f.d.Pagination,actionType:f.n.Navigate}),e={id:this.options.collectionId,page:t};h.a.logUserAction(e,n)}},{key:"viewOptions",value:function(){return{cursors:this.options.cursors}}},{key:"onBeforeRender",value:function(){return!!this.options.cursors}},{key:"defaults",get:function(){return{cursors:{},cursorParamName:"cursor"}}},{key:"name",get:function(){return"PaginationComponent"}},{key:"template",get:function(){return g.a}},{key:"lang",get:function(){return"shared._pagination"}},{key:"appLinks",get:function(){var t={};if(!this.options.cursors)return{};if(this.options.cursors.previous){var n=this.options.cursors.previous,e=this.buildCursor(this.options.cursors.previous);+n<=1&&!0!==this.options.allowFirstPageCursor&&delete e.params.cursor,t[".previous-applink"]=e}return this.options.cursors.next&&(t[".next-applink"]=this.buildCursor(this.options.cursors.next)),t}}])&&b(n.prototype,e),o&&b(n,o),r}(o.a.Component),P=e(186),C=e(1250),x=e.n(C),_=e(354),j=e.n(_),S=e(355),I=e.n(S);function N(t){return(N="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 R(t,n){for(var e=0;e<n.length;e++){var o=n[e];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function E(t,n){return(E=Object.setPrototypeOf||function(t,n){return t.__proto__=n,t})(t,n)}function L(t){var n=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 e,o=D(t);if(n){var i=D(this).constructor;e=Reflect.construct(o,arguments,i)}else e=o.apply(this,arguments);return T(this,e)}}function T(t,n){return!n||"object"!==N(n)&&"function"!=typeof n?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):n}function D(t){return(D=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}e.d(n,"NotificationsView",(function(){return V}));var V=function(t){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),n&&E(t,n)}(f,t);var n,e,o,p=L(f);function f(t){return function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,f),p.call(this,t)}return n=f,(e=[{key:"regions",value:function(){return{notifications:{replaceElement:!0,el:".list-region",partialLoading:{component:a.a.ComponentCollection,options:{collectionLength:5,childOptions:{template:j.a,className:"px-1 py-2",viewOptions:{styles:I.a}}}}},pagination:{replaceElement:!0,el:".pagination-region"}}}},{key:"initialize",value:function(){this.notificationService=r.a.getInstance(c.b.Notification,this),this.appVariables=r.a.getInstance(u.a.NOTIFICATIONS,this)}},{key:"onData",value:function(t){this.collection=t,this.render()}},{key:"getCollectionIdentifier",value:function(){return this.collectionIdentifier?this.collectionIdentifier:this.collectionIdentifier=new l.a(Object.assign({collectionPrefix:s.a.NOTIFICATIONS},this.options.params))}},{key:"renderNotificationList",value:function(){var t=new P.b({collection:this.collection,childType:P.a.Default});this.showChildView("notifications",t)}},{key:"renderPagination",value:function(){if(this.collection.length){var t=this.notificationService.getNotificationsCursors(this.getCollectionIdentifier()),n=new O({cursors:t,appLink:Object.assign(Object.assign({},this.appVariables.appLinks.notifications),{args:[],params:this.getCollectionIdentifier().toParams()})});this.showChildView("pagination",n)}}},{key:"onBeforeRender",value:function(){var t=this;return this.collection||this.notificationService.getNotifications(this.options.params,this.getCollectionIdentifier(),(function(n){return t.onData(n)})),!!this.collection}},{key:"onRender",value:function(){this.renderNotificationList(),this.renderPagination()}},{key:"name",get:function(){return"NotificationsView"}},{key:"title",get:function(){return i.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"notifications.notifications"}},{key:"className",get:function(){return"notifications-container"}},{key:"template",get:function(){return x.a}}])&&R(n.prototype,e),o&&R(n,o),f}(o.a.View)}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp_clickview_lite=window.webpackJsonp_clickview_lite||[]).push([[52],{1233:function(t,n,e){var o=e(25);t.exports=(o.default||o).template({1:function(t,n,e,o,i){return"disabled"},compiler:[8,">= 4.3.0"],main:function(t,n,e,o,i){t.propertyIsEnumerable;var r,a=null!=n?n:t.nullContext||{},s=t.hooks.helperMissing,c=t.escapeExpression;return'<div class="p-3">\r\n <a class="btn previous-applink btn-secondary '+(null!=(r=e.unless.call(a,null!=(r=null!=(r=null!=n?n.options:n)?r.cursors:r)?r.previous:r,{name:"unless",hash:{},fn:t.program(1,i,0),inverse:t.noop,data:i}))?r:"")+'">'+c((e.lang||n&&n.lang||s).call(a,"previous",{name:"lang",hash:{},data:i}))+'</a>\r\n <a class="btn next-applink btn-secondary '+(null!=(r=e.unless.call(a,null!=(r=null!=(r=null!=n?n.options:n)?r.cursors:r)?r.next:r,{name:"unless",hash:{},fn:t.program(1,i,0),inverse:t.noop,data:i}))?r:"")+'">'+c((e.lang||n&&n.lang||s).call(a,"next",{name:"lang",hash:{},data:i}))+"</a>\r\n</div>"},useData:!0})},1234:function(t,n,e){var o=e(25);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,n,e,o,i){t.propertyIsEnumerable;return'<div class="container-fluid bg-white p-3">\r\n <h1 class="h3 header border-bottom pb-2 m-0">'+t.escapeExpression((e.lang||n&&n.lang||t.hooks.helperMissing).call(null!=n?n:t.nullContext||{},"notifications",{name:"lang",hash:{},data:i}))+'</h1>\r\n <div class="list-region"></div>\r\n <div class="pagination-region"></div>\r\n</div>'},useData:!0})},1305:function(t,n,e){"use strict";e.r(n);var o=e(2),i=e(7),r=e(8),a=e(182),s=e(33),c=e(12),u=e(32),l=e(407),p=e(1),f=e(3),h=e(40),y=e(1233),g=e.n(y);function v(t){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function b(t,n){for(var e=0;e<n.length;e++){var o=n[e];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function d(t,n){return(d=Object.setPrototypeOf||function(t,n){return t.__proto__=n,t})(t,n)}function m(t){var n=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 e,o=w(t);if(n){var i=w(this).constructor;e=Reflect.construct(o,arguments,i)}else e=o.apply(this,arguments);return k(this,e)}}function k(t,n){return!n||"object"!==v(n)&&"function"!=typeof n?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):n}function w(t){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var O=function(t){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),n&&d(t,n)}(r,t);var n,e,o,i=m(r);function r(t){return function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,r),i.call(this,t)}return n=r,(e=[{key:"events",value:function(){return{"click .previous-applink":"onClickPrevious","click .next-applink":"onClickNext"}}},{key:"buildCursor",value:function(t){return{application:this.options.appLink.application,action:this.options.appLink.action,args:this.options.appLink.args,params:p.extend({},this.options.appLink.params,(n={},e=this.options.cursorParamName,o=t,e in n?Object.defineProperty(n,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[e]=o,n))};var n,e,o}},{key:"onClickPrevious",value:function(){this.logAction("previous")}},{key:"onClickNext",value:function(){this.logAction("next")}},{key:"logAction",value:function(t){var n=h.a.mergeOptions(this.options.analyticsOptions,{location:f.j.Pagination,entity:f.d.Pagination,actionType:f.n.Navigate}),e={id:this.options.collectionId,page:t};h.a.logUserAction(e,n)}},{key:"viewOptions",value:function(){return{cursors:this.options.cursors}}},{key:"onBeforeRender",value:function(){return!!this.options.cursors}},{key:"defaults",get:function(){return{cursors:{},cursorParamName:"cursor"}}},{key:"name",get:function(){return"PaginationComponent"}},{key:"template",get:function(){return g.a}},{key:"lang",get:function(){return"shared._pagination"}},{key:"appLinks",get:function(){var t={};if(!this.options.cursors)return{};if(this.options.cursors.previous){var n=this.options.cursors.previous,e=this.buildCursor(this.options.cursors.previous);+n<=1&&!0!==this.options.allowFirstPageCursor&&delete e.params.cursor,t[".previous-applink"]=e}return this.options.cursors.next&&(t[".next-applink"]=this.buildCursor(this.options.cursors.next)),t}}])&&b(n.prototype,e),o&&b(n,o),r}(o.a.Component),P=e(185),C=e(1234),x=e.n(C),_=e(350),j=e.n(_),S=e(351),I=e.n(S);function N(t){return(N="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 R(t,n){for(var e=0;e<n.length;e++){var o=n[e];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function E(t,n){return(E=Object.setPrototypeOf||function(t,n){return t.__proto__=n,t})(t,n)}function L(t){var n=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 e,o=D(t);if(n){var i=D(this).constructor;e=Reflect.construct(o,arguments,i)}else e=o.apply(this,arguments);return T(this,e)}}function T(t,n){return!n||"object"!==N(n)&&"function"!=typeof n?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):n}function D(t){return(D=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}e.d(n,"NotificationsView",(function(){return V}));var V=function(t){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),n&&E(t,n)}(f,t);var n,e,o,p=L(f);function f(t){return function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,f),p.call(this,t)}return n=f,(e=[{key:"regions",value:function(){return{notifications:{replaceElement:!0,el:".list-region",partialLoading:{component:a.a.ComponentCollection,options:{collectionLength:5,childOptions:{template:j.a,className:"px-1 py-2",viewOptions:{styles:I.a}}}}},pagination:{replaceElement:!0,el:".pagination-region"}}}},{key:"initialize",value:function(){this.notificationService=r.a.getInstance(c.b.Notification,this),this.appVariables=r.a.getInstance(u.a.NOTIFICATIONS,this)}},{key:"onData",value:function(t){this.collection=t,this.render()}},{key:"getCollectionIdentifier",value:function(){return this.collectionIdentifier?this.collectionIdentifier:this.collectionIdentifier=new l.a(Object.assign({collectionPrefix:s.a.NOTIFICATIONS},this.options.params))}},{key:"renderNotificationList",value:function(){var t=new P.b({collection:this.collection,childType:P.a.Default});this.showChildView("notifications",t)}},{key:"renderPagination",value:function(){if(this.collection.length){var t=this.notificationService.getNotificationsCursors(this.getCollectionIdentifier()),n=new O({cursors:t,appLink:Object.assign(Object.assign({},this.appVariables.appLinks.notifications),{args:[],params:this.getCollectionIdentifier().toParams()})});this.showChildView("pagination",n)}}},{key:"onBeforeRender",value:function(){var t=this;return this.collection||this.notificationService.getNotifications(this.options.params,this.getCollectionIdentifier(),(function(n){return t.onData(n)})),!!this.collection}},{key:"onRender",value:function(){this.renderNotificationList(),this.renderPagination()}},{key:"name",get:function(){return"NotificationsView"}},{key:"title",get:function(){return i.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"notifications.notifications"}},{key:"className",get:function(){return"notifications-container"}},{key:"template",get:function(){return x.a}}])&&R(n.prototype,e),o&&R(n,o),f}(o.a.View)}}]);
|
package/dist/scripts/52.chunk.js
DELETED
|
@@ -1,318 +0,0 @@
|
|
|
1
|
-
(window["webpackJsonp_clickview_lite"] = window["webpackJsonp_clickview_lite"] || []).push([[52],{
|
|
2
|
-
|
|
3
|
-
/***/ "../../../node_modules/copy-to-clipboard/index.js":
|
|
4
|
-
/*!********************************************************************************!*\
|
|
5
|
-
!*** C:/ClickView Projects/@clickview/node_modules/copy-to-clipboard/index.js ***!
|
|
6
|
-
\********************************************************************************/
|
|
7
|
-
/*! no static exports found */
|
|
8
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
9
|
-
|
|
10
|
-
"use strict";
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
var deselectCurrent = __webpack_require__(/*! toggle-selection */ "../../../node_modules/toggle-selection/index.js");
|
|
14
|
-
|
|
15
|
-
var clipboardToIE11Formatting = {
|
|
16
|
-
"text/plain": "Text",
|
|
17
|
-
"text/html": "Url",
|
|
18
|
-
"default": "Text"
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
var defaultMessage = "Copy to clipboard: #{key}, Enter";
|
|
22
|
-
|
|
23
|
-
function format(message) {
|
|
24
|
-
var copyKey = (/mac os x/i.test(navigator.userAgent) ? "⌘" : "Ctrl") + "+C";
|
|
25
|
-
return message.replace(/#{\s*key\s*}/g, copyKey);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
function copy(text, options) {
|
|
29
|
-
var debug,
|
|
30
|
-
message,
|
|
31
|
-
reselectPrevious,
|
|
32
|
-
range,
|
|
33
|
-
selection,
|
|
34
|
-
mark,
|
|
35
|
-
success = false;
|
|
36
|
-
if (!options) {
|
|
37
|
-
options = {};
|
|
38
|
-
}
|
|
39
|
-
debug = options.debug || false;
|
|
40
|
-
try {
|
|
41
|
-
reselectPrevious = deselectCurrent();
|
|
42
|
-
|
|
43
|
-
range = document.createRange();
|
|
44
|
-
selection = document.getSelection();
|
|
45
|
-
|
|
46
|
-
mark = document.createElement("span");
|
|
47
|
-
mark.textContent = text;
|
|
48
|
-
// reset user styles for span element
|
|
49
|
-
mark.style.all = "unset";
|
|
50
|
-
// prevents scrolling to the end of the page
|
|
51
|
-
mark.style.position = "fixed";
|
|
52
|
-
mark.style.top = 0;
|
|
53
|
-
mark.style.clip = "rect(0, 0, 0, 0)";
|
|
54
|
-
// used to preserve spaces and line breaks
|
|
55
|
-
mark.style.whiteSpace = "pre";
|
|
56
|
-
// do not inherit user-select (it may be `none`)
|
|
57
|
-
mark.style.webkitUserSelect = "text";
|
|
58
|
-
mark.style.MozUserSelect = "text";
|
|
59
|
-
mark.style.msUserSelect = "text";
|
|
60
|
-
mark.style.userSelect = "text";
|
|
61
|
-
mark.addEventListener("copy", function(e) {
|
|
62
|
-
e.stopPropagation();
|
|
63
|
-
if (options.format) {
|
|
64
|
-
e.preventDefault();
|
|
65
|
-
if (typeof e.clipboardData === "undefined") { // IE 11
|
|
66
|
-
debug && console.warn("unable to use e.clipboardData");
|
|
67
|
-
debug && console.warn("trying IE specific stuff");
|
|
68
|
-
window.clipboardData.clearData();
|
|
69
|
-
var format = clipboardToIE11Formatting[options.format] || clipboardToIE11Formatting["default"]
|
|
70
|
-
window.clipboardData.setData(format, text);
|
|
71
|
-
} else { // all other browsers
|
|
72
|
-
e.clipboardData.clearData();
|
|
73
|
-
e.clipboardData.setData(options.format, text);
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
if (options.onCopy) {
|
|
77
|
-
e.preventDefault();
|
|
78
|
-
options.onCopy(e.clipboardData);
|
|
79
|
-
}
|
|
80
|
-
});
|
|
81
|
-
|
|
82
|
-
document.body.appendChild(mark);
|
|
83
|
-
|
|
84
|
-
range.selectNodeContents(mark);
|
|
85
|
-
selection.addRange(range);
|
|
86
|
-
|
|
87
|
-
var successful = document.execCommand("copy");
|
|
88
|
-
if (!successful) {
|
|
89
|
-
throw new Error("copy command was unsuccessful");
|
|
90
|
-
}
|
|
91
|
-
success = true;
|
|
92
|
-
} catch (err) {
|
|
93
|
-
debug && console.error("unable to copy using execCommand: ", err);
|
|
94
|
-
debug && console.warn("trying IE specific stuff");
|
|
95
|
-
try {
|
|
96
|
-
window.clipboardData.setData(options.format || "text", text);
|
|
97
|
-
options.onCopy && options.onCopy(window.clipboardData);
|
|
98
|
-
success = true;
|
|
99
|
-
} catch (err) {
|
|
100
|
-
debug && console.error("unable to copy using clipboardData: ", err);
|
|
101
|
-
debug && console.error("falling back to prompt");
|
|
102
|
-
message = format("message" in options ? options.message : defaultMessage);
|
|
103
|
-
window.prompt(message, text);
|
|
104
|
-
}
|
|
105
|
-
} finally {
|
|
106
|
-
if (selection) {
|
|
107
|
-
if (typeof selection.removeRange == "function") {
|
|
108
|
-
selection.removeRange(range);
|
|
109
|
-
} else {
|
|
110
|
-
selection.removeAllRanges();
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
if (mark) {
|
|
115
|
-
document.body.removeChild(mark);
|
|
116
|
-
}
|
|
117
|
-
reselectPrevious();
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
return success;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
module.exports = copy;
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
/***/ }),
|
|
127
|
-
|
|
128
|
-
/***/ "../../../node_modules/react-copy-to-clipboard/lib/Component.js":
|
|
129
|
-
/*!**********************************************************************************************!*\
|
|
130
|
-
!*** C:/ClickView Projects/@clickview/node_modules/react-copy-to-clipboard/lib/Component.js ***!
|
|
131
|
-
\**********************************************************************************************/
|
|
132
|
-
/*! no static exports found */
|
|
133
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
134
|
-
|
|
135
|
-
"use strict";
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
Object.defineProperty(exports, "__esModule", {
|
|
139
|
-
value: true
|
|
140
|
-
});
|
|
141
|
-
exports.CopyToClipboard = void 0;
|
|
142
|
-
|
|
143
|
-
var _react = _interopRequireDefault(__webpack_require__(/*! react */ "react"));
|
|
144
|
-
|
|
145
|
-
var _copyToClipboard = _interopRequireDefault(__webpack_require__(/*! copy-to-clipboard */ "../../../node_modules/copy-to-clipboard/index.js"));
|
|
146
|
-
|
|
147
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
148
|
-
|
|
149
|
-
function _typeof(obj) { 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); }
|
|
150
|
-
|
|
151
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
152
|
-
|
|
153
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
154
|
-
|
|
155
|
-
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
156
|
-
|
|
157
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
158
|
-
|
|
159
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
160
|
-
|
|
161
|
-
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); } }
|
|
162
|
-
|
|
163
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
164
|
-
|
|
165
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
166
|
-
|
|
167
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
168
|
-
|
|
169
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
170
|
-
|
|
171
|
-
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); }
|
|
172
|
-
|
|
173
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
174
|
-
|
|
175
|
-
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; }
|
|
176
|
-
|
|
177
|
-
var CopyToClipboard =
|
|
178
|
-
/*#__PURE__*/
|
|
179
|
-
function (_React$PureComponent) {
|
|
180
|
-
_inherits(CopyToClipboard, _React$PureComponent);
|
|
181
|
-
|
|
182
|
-
function CopyToClipboard() {
|
|
183
|
-
var _getPrototypeOf2;
|
|
184
|
-
|
|
185
|
-
var _this;
|
|
186
|
-
|
|
187
|
-
_classCallCheck(this, CopyToClipboard);
|
|
188
|
-
|
|
189
|
-
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
190
|
-
args[_key] = arguments[_key];
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
_this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(CopyToClipboard)).call.apply(_getPrototypeOf2, [this].concat(args)));
|
|
194
|
-
|
|
195
|
-
_defineProperty(_assertThisInitialized(_this), "onClick", function (event) {
|
|
196
|
-
var _this$props = _this.props,
|
|
197
|
-
text = _this$props.text,
|
|
198
|
-
onCopy = _this$props.onCopy,
|
|
199
|
-
children = _this$props.children,
|
|
200
|
-
options = _this$props.options;
|
|
201
|
-
|
|
202
|
-
var elem = _react["default"].Children.only(children);
|
|
203
|
-
|
|
204
|
-
var result = (0, _copyToClipboard["default"])(text, options);
|
|
205
|
-
|
|
206
|
-
if (onCopy) {
|
|
207
|
-
onCopy(text, result);
|
|
208
|
-
} // Bypass onClick if it was present
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
if (elem && elem.props && typeof elem.props.onClick === 'function') {
|
|
212
|
-
elem.props.onClick(event);
|
|
213
|
-
}
|
|
214
|
-
});
|
|
215
|
-
|
|
216
|
-
return _this;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
_createClass(CopyToClipboard, [{
|
|
220
|
-
key: "render",
|
|
221
|
-
value: function render() {
|
|
222
|
-
var _this$props2 = this.props,
|
|
223
|
-
_text = _this$props2.text,
|
|
224
|
-
_onCopy = _this$props2.onCopy,
|
|
225
|
-
_options = _this$props2.options,
|
|
226
|
-
children = _this$props2.children,
|
|
227
|
-
props = _objectWithoutProperties(_this$props2, ["text", "onCopy", "options", "children"]);
|
|
228
|
-
|
|
229
|
-
var elem = _react["default"].Children.only(children);
|
|
230
|
-
|
|
231
|
-
return _react["default"].cloneElement(elem, _objectSpread({}, props, {
|
|
232
|
-
onClick: this.onClick
|
|
233
|
-
}));
|
|
234
|
-
}
|
|
235
|
-
}]);
|
|
236
|
-
|
|
237
|
-
return CopyToClipboard;
|
|
238
|
-
}(_react["default"].PureComponent);
|
|
239
|
-
|
|
240
|
-
exports.CopyToClipboard = CopyToClipboard;
|
|
241
|
-
|
|
242
|
-
_defineProperty(CopyToClipboard, "defaultProps", {
|
|
243
|
-
onCopy: undefined,
|
|
244
|
-
options: undefined
|
|
245
|
-
});
|
|
246
|
-
|
|
247
|
-
/***/ }),
|
|
248
|
-
|
|
249
|
-
/***/ "../../../node_modules/react-copy-to-clipboard/lib/index.js":
|
|
250
|
-
/*!******************************************************************************************!*\
|
|
251
|
-
!*** C:/ClickView Projects/@clickview/node_modules/react-copy-to-clipboard/lib/index.js ***!
|
|
252
|
-
\******************************************************************************************/
|
|
253
|
-
/*! no static exports found */
|
|
254
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
255
|
-
|
|
256
|
-
"use strict";
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
var _require = __webpack_require__(/*! ./Component */ "../../../node_modules/react-copy-to-clipboard/lib/Component.js"),
|
|
260
|
-
CopyToClipboard = _require.CopyToClipboard;
|
|
261
|
-
|
|
262
|
-
CopyToClipboard.CopyToClipboard = CopyToClipboard;
|
|
263
|
-
module.exports = CopyToClipboard;
|
|
264
|
-
|
|
265
|
-
/***/ }),
|
|
266
|
-
|
|
267
|
-
/***/ "../../../node_modules/toggle-selection/index.js":
|
|
268
|
-
/*!*******************************************************************************!*\
|
|
269
|
-
!*** C:/ClickView Projects/@clickview/node_modules/toggle-selection/index.js ***!
|
|
270
|
-
\*******************************************************************************/
|
|
271
|
-
/*! no static exports found */
|
|
272
|
-
/***/ (function(module, exports) {
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
module.exports = function () {
|
|
276
|
-
var selection = document.getSelection();
|
|
277
|
-
if (!selection.rangeCount) {
|
|
278
|
-
return function () {};
|
|
279
|
-
}
|
|
280
|
-
var active = document.activeElement;
|
|
281
|
-
|
|
282
|
-
var ranges = [];
|
|
283
|
-
for (var i = 0; i < selection.rangeCount; i++) {
|
|
284
|
-
ranges.push(selection.getRangeAt(i));
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
switch (active.tagName.toUpperCase()) { // .toUpperCase handles XHTML
|
|
288
|
-
case 'INPUT':
|
|
289
|
-
case 'TEXTAREA':
|
|
290
|
-
active.blur();
|
|
291
|
-
break;
|
|
292
|
-
|
|
293
|
-
default:
|
|
294
|
-
active = null;
|
|
295
|
-
break;
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
selection.removeAllRanges();
|
|
299
|
-
return function () {
|
|
300
|
-
selection.type === 'Caret' &&
|
|
301
|
-
selection.removeAllRanges();
|
|
302
|
-
|
|
303
|
-
if (!selection.rangeCount) {
|
|
304
|
-
ranges.forEach(function(range) {
|
|
305
|
-
selection.addRange(range);
|
|
306
|
-
});
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
active &&
|
|
310
|
-
active.focus();
|
|
311
|
-
};
|
|
312
|
-
};
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
/***/ })
|
|
316
|
-
|
|
317
|
-
}]);
|
|
318
|
-
//# sourceMappingURL=52.chunk.js.map
|