@clickview/lite 0.17.2-dev.2 → 0.18.0-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/.eslintrc.json +2 -2
- package/dist/bundles.json +2 -2
- package/dist/css/{1219-lite-0dd137abff.chunk.css → 1219-lite-e5009a049c.chunk.css} +1 -1
- package/dist/css/{2135-lite-71731f47e3.chunk.css → 2135-lite-defe9f955c.chunk.css} +1 -1
- package/dist/css/{2841-lite-827ca4a846.chunk.css → 2841-lite-37c211f2ef.chunk.css} +1 -1
- package/dist/css/{6061-lite-9c93f1a6ad.chunk.css → 2937-lite-2b1610093d.chunk.css} +1 -1
- package/dist/css/{3240-lite-3844f04678.chunk.css → 3240-lite-949de64172.chunk.css} +2 -2
- package/dist/css/{3565-lite-9463f49257.chunk.css → 3565-lite-bf8ca9a160.chunk.css} +1 -1
- package/dist/css/{5104-lite-424edc03e8.chunk.css → 5104-lite-bd8ea8e227.chunk.css} +1 -1
- package/dist/css/{5687-lite-88e2184c26.chunk.css → 5687-lite-7959662677.chunk.css} +1 -1
- package/dist/css/{2937-lite-9c93f1a6ad.chunk.css → 6061-lite-2b1610093d.chunk.css} +1 -1
- package/dist/css/{6810-lite-85c1ec3385.chunk.css → 6810-lite-88e93bd216.chunk.css} +1 -1
- package/dist/css/{7737-lite-9463f49257.chunk.css → 7737-lite-bf8ca9a160.chunk.css} +1 -1
- package/dist/css/{7967-lite-accbb080df.chunk.css → 7967-lite-dc1c2e8b0f.chunk.css} +2 -2
- package/dist/css/{969-lite-3e2104d78a.chunk.css → 969-lite-7140acaf0b.chunk.css} +1 -1
- package/dist/css/{9863-lite-546920a1b9.chunk.css → 9863-lite-9f8cedefda.chunk.css} +1 -1
- package/dist/scripts/1075-90255430fb-lite.chunk.js +1 -0
- package/dist/scripts/1160-86d411f9e8-lite.chunk.js +1 -0
- package/dist/scripts/{1200-9464d849aa-lite.chunk.js → 1200-0b2df6e770-lite.chunk.js} +2 -2
- package/dist/scripts/1219-9157179bdd-lite.chunk.js +1 -0
- package/dist/scripts/1285-4501141c29-lite.chunk.js +1 -0
- package/dist/scripts/1291-70427d0f12-lite.chunk.js +1 -0
- package/dist/scripts/1518-0873d61518-lite.chunk.js +1 -0
- package/dist/scripts/1592-14e9f658fd-lite.chunk.js +2 -0
- package/dist/scripts/1684-98ed45307f-lite.chunk.js +2 -0
- package/dist/scripts/1725-2b1d9c5266-lite.chunk.js +1 -0
- package/dist/scripts/1726-a44c01e562-lite.chunk.js +1 -0
- package/dist/scripts/1792-d40f895c3a-lite.chunk.js +1 -0
- package/dist/scripts/1837-2a096dbabd-lite.chunk.js +1 -0
- package/dist/scripts/1863-5e8d59b0ed-lite.chunk.js +1 -0
- package/dist/scripts/1891-6be69177b3-lite.chunk.js +1 -0
- package/dist/scripts/1924-91d2ce3025-lite.chunk.js +1 -0
- package/dist/scripts/1958-990cb7754f-lite.chunk.js +1 -0
- package/dist/scripts/209-539b6299c6-lite.chunk.js +1 -0
- package/dist/scripts/{2097-5b8d15d472-lite.chunk.js → 2097-1fec9b4c86-lite.chunk.js} +2 -2
- package/dist/scripts/2208-ae1669cce3-lite.chunk.js +1 -0
- package/dist/scripts/2215-2d2ba45a81-lite.chunk.js +1 -0
- package/dist/scripts/2279-673600a92b-lite.chunk.js +1 -0
- package/dist/scripts/2281-b38a7a5794-lite.chunk.js +2 -0
- package/dist/scripts/2303-c8806a714e-lite.chunk.js +1 -0
- package/dist/scripts/249-45f1f74613-lite.chunk.js +1 -0
- package/dist/scripts/2838-b4ee79c6d1-lite.chunk.js +1 -0
- package/dist/scripts/2841-2551475208-lite.chunk.js +1 -0
- package/dist/scripts/291-dc43ed44d2-lite.chunk.js +1 -0
- package/dist/scripts/3012-385bc14160-lite.chunk.js +1 -0
- package/dist/scripts/3019-121abfc7d3-lite.chunk.js +1 -0
- package/dist/scripts/3020-9aa88e14ad-lite.chunk.js +1 -0
- package/dist/scripts/3108-4e2349fae5-lite.chunk.js +1 -0
- package/dist/scripts/3171-48a107d621-lite.chunk.js +1 -0
- package/dist/scripts/3216-029fc03dc3-lite.chunk.js +1 -0
- package/dist/scripts/3231-8036c953ca-lite.chunk.js +1 -0
- package/dist/scripts/3237-f976897749-lite.chunk.js +1 -0
- package/dist/scripts/3240-7bc528811a-lite.chunk.js +1 -0
- package/dist/scripts/3285-f85056c04f-lite.chunk.js +1 -0
- package/dist/scripts/3468-2f385ce0dd-lite.chunk.js +1 -0
- package/dist/scripts/3533-1bfb5747d2-lite.chunk.js +1 -0
- package/dist/scripts/3626-f5fa249209-lite.chunk.js +1 -0
- package/dist/scripts/3667-b8ef9efadf-lite.chunk.js +2 -0
- package/dist/scripts/3728-7a337f4dc1-lite.chunk.js +1 -0
- package/dist/scripts/3754-fa7f42936a-lite.chunk.js +1 -0
- package/dist/scripts/3787-6a23e0bbc6-lite.chunk.js +1 -0
- package/dist/scripts/389-9943206114-lite.chunk.js +1 -0
- package/dist/scripts/3948-908c532b57-lite.chunk.js +1 -0
- package/dist/scripts/4113-220d0e945f-lite.chunk.js +1 -0
- package/dist/scripts/4182-554dab5f52-lite.chunk.js +1 -0
- package/dist/scripts/4343-62c6b29bfc-lite.chunk.js +1 -0
- package/dist/scripts/4380-250987f344-lite.chunk.js +1 -0
- package/dist/scripts/4423-00f0762359-lite.chunk.js +1 -0
- package/dist/scripts/4453-c859261c08-lite.chunk.js +1 -0
- package/dist/scripts/4484-934cafe764-lite.chunk.js +1 -0
- package/dist/scripts/4519-ef4a945c19-lite.chunk.js +1 -0
- package/dist/scripts/4541-8a5f2fb33e-lite.chunk.js +1 -0
- package/dist/scripts/4559-10942d0d49-lite.chunk.js +1 -0
- package/dist/scripts/4609-562a9b85c8-lite.chunk.js +1 -0
- package/dist/scripts/4617-3530a84536-lite.chunk.js +1 -0
- package/dist/scripts/4722-02ba508014-lite.chunk.js +1 -0
- package/dist/scripts/482-b797830da6-lite.chunk.js +1 -0
- package/dist/scripts/4893-81662a0c1c-lite.chunk.js +1 -0
- package/dist/scripts/5081-86adb76b64-lite.chunk.js +2 -0
- package/dist/scripts/5134-086b35a21c-lite.chunk.js +1 -0
- package/dist/scripts/5173-ad4994bc60-lite.chunk.js +1 -0
- package/dist/scripts/5229-ab66e95fb9-lite.chunk.js +1 -0
- package/dist/scripts/5293-5d84db20ed-lite.chunk.js +1 -0
- package/dist/scripts/5509-281f22f4de-lite.chunk.js +1 -0
- package/dist/scripts/5606-a95d7bec15-lite.chunk.js +1 -0
- package/dist/scripts/5823-f3245b4199-lite.chunk.js +1 -0
- package/dist/scripts/5875-679a563954-lite.chunk.js +2 -0
- package/dist/scripts/5877-ffdafeda59-lite.chunk.js +1 -0
- package/dist/scripts/5956-eb98106bf1-lite.chunk.js +1 -0
- package/dist/scripts/5974-c26980f894-lite.chunk.js +1 -0
- package/dist/scripts/598-2d7c3c8d2e-lite.chunk.js +1 -0
- package/dist/scripts/5986-c8b15d56d4-lite.chunk.js +1 -0
- package/dist/scripts/6014-724f921a28-lite.chunk.js +1 -0
- package/dist/scripts/6080-f3c955754f-lite.chunk.js +1 -0
- package/dist/scripts/6086-f7e07745bc-lite.chunk.js +1 -0
- package/dist/scripts/6117-202667041b-lite.chunk.js +1 -0
- package/dist/scripts/614-cee9d42a10-lite.chunk.js +1 -0
- package/dist/scripts/6158-48f018bbdb-lite.chunk.js +1 -0
- package/dist/scripts/6255-b0a6aa4a23-lite.chunk.js +1 -0
- package/dist/scripts/6263-131d7f5c14-lite.chunk.js +1 -0
- package/dist/scripts/6274-87d8a27451-lite.chunk.js +1 -0
- package/dist/scripts/6290-f35b8451f4-lite.chunk.js +1 -0
- package/dist/scripts/6302-bd98a0f211-lite.chunk.js +1 -0
- package/dist/scripts/6368-3400596edf-lite.chunk.js +1 -0
- package/dist/scripts/6369-c0bddb6f53-lite.chunk.js +1 -0
- package/dist/scripts/6370-62127696d9-lite.chunk.js +1 -0
- package/dist/scripts/6379-1b29e0491b-lite.chunk.js +1 -0
- package/dist/scripts/6381-df33ada1f6-lite.chunk.js +1 -0
- package/dist/scripts/6387-ba3224aa3b-lite.chunk.js +1 -0
- package/dist/scripts/6450-6016b12fa6-lite.chunk.js +1 -0
- package/dist/scripts/6465-5781dde945-lite.chunk.js +1 -0
- package/dist/scripts/6480-2a4e357bf8-lite.chunk.js +1 -0
- package/dist/scripts/6507-a22e294394-lite.chunk.js +1 -0
- package/dist/scripts/6604-3d09473f89-lite.chunk.js +1 -0
- package/dist/scripts/6689-9959def9cb-lite.chunk.js +1 -0
- package/dist/scripts/6725-4681caad1e-lite.chunk.js +1 -0
- package/dist/scripts/6736-cffe5aabea-lite.chunk.js +2 -0
- package/dist/scripts/6801-a381d427d2-lite.chunk.js +1 -0
- package/dist/scripts/6823-a7fc572f4e-lite.chunk.js +2 -0
- package/dist/scripts/6866-ee6fc0a0b5-lite.chunk.js +1 -0
- package/dist/scripts/6896-3193d908ba-lite.chunk.js +1 -0
- package/dist/scripts/6913-3bcc9ffab5-lite.chunk.js +1 -0
- package/dist/scripts/6930-f000b60fe7-lite.chunk.js +1 -0
- package/dist/scripts/7007-c677dd3033-lite.chunk.js +1 -0
- package/dist/scripts/7017-b08b7b5dd2-lite.chunk.js +1 -0
- package/dist/scripts/7056-3d009caae3-lite.chunk.js +1 -0
- package/dist/scripts/{7112-a8fbba768e-lite.chunk.js → 7112-1f91af81de-lite.chunk.js} +2 -2
- package/dist/scripts/7115-04ab64ed64-lite.chunk.js +1 -0
- package/dist/scripts/7128-79f02bfd39-lite.chunk.js +1 -0
- package/dist/scripts/7172-8ad03692bd-lite.chunk.js +1 -0
- package/dist/scripts/7178-87d1bdf5de-lite.chunk.js +1 -0
- package/dist/scripts/7307-ddf40c08db-lite.chunk.js +1 -0
- package/dist/scripts/7318-2624f3e7a8-lite.chunk.js +2 -0
- package/dist/scripts/7327-96c43a1ae2-lite.chunk.js +2 -0
- package/dist/scripts/7332-8f3a5b8ef5-lite.chunk.js +1 -0
- package/dist/scripts/7397-d28706a4cb-lite.chunk.js +1 -0
- package/dist/scripts/7407-a65ab04887-lite.chunk.js +1 -0
- package/dist/scripts/7409-4c14128df0-lite.chunk.js +1 -0
- package/dist/scripts/7416-67821964bb-lite.chunk.js +2 -0
- package/dist/scripts/7478-9a21328b88-lite.chunk.js +1 -0
- package/dist/scripts/7490-653c999904-lite.chunk.js +1 -0
- package/dist/scripts/7506-09a70fbf9f-lite.chunk.js +1 -0
- package/dist/scripts/{7515-bf476781db-lite.chunk.js → 7515-8b1cb2acef-lite.chunk.js} +2 -2
- package/dist/scripts/7524-ccb68238a9-lite.chunk.js +1 -0
- package/dist/scripts/{754-555d370678-lite.chunk.js → 754-22cd39c043-lite.chunk.js} +1 -1
- package/dist/scripts/7708-cd0bc87fee-lite.chunk.js +1 -0
- package/dist/scripts/7739-66ac056fc4-lite.chunk.js +1 -0
- package/dist/scripts/7756-2528a5880e-lite.chunk.js +1 -0
- package/dist/scripts/7831-3b7c6f532d-lite.chunk.js +1 -0
- package/dist/scripts/7855-27e0da95eb-lite.chunk.js +1 -0
- package/dist/scripts/7888-77a06a9360-lite.chunk.js +1 -0
- package/dist/scripts/7919-967360242e-lite.chunk.js +2 -0
- package/dist/scripts/7939-640b0a3ed9-lite.chunk.js +1 -0
- package/dist/scripts/7967-744904c147-lite.chunk.js +1 -0
- package/dist/scripts/8025-ccb49cd4aa-lite.chunk.js +1 -0
- package/dist/scripts/{8038-4c3d785f60-lite.chunk.js → 8038-f21a61b1ff-lite.chunk.js} +1 -1
- package/dist/scripts/8046-787309872c-lite.chunk.js +1 -0
- package/dist/scripts/8114-690a8c5eb7-lite.chunk.js +1 -0
- package/dist/scripts/8187-c8ec1f5842-lite.chunk.js +1 -0
- package/dist/scripts/823-15eec091e8-lite.chunk.js +1 -0
- package/dist/scripts/824-488f354e66-lite.chunk.js +1 -0
- package/dist/scripts/8252-25f5dcecbf-lite.chunk.js +1 -0
- package/dist/scripts/8323-abba3829a3-lite.chunk.js +2 -0
- package/dist/scripts/8377-02852ec841-lite.chunk.js +1 -0
- package/dist/scripts/8466-6fc579e8a5-lite.chunk.js +1 -0
- package/dist/scripts/8621-347ed37736-lite.chunk.js +1 -0
- package/dist/scripts/8627-79ebb5eeee-lite.chunk.js +1 -0
- package/dist/scripts/8729-ba56364bc5-lite.chunk.js +1 -0
- package/dist/scripts/8772-e0ef7f5cd6-lite.chunk.js +1 -0
- package/dist/scripts/8801-457b1ca8e1-lite.chunk.js +1 -0
- package/dist/scripts/8820-bdaa6084e5-lite.chunk.js +1 -0
- package/dist/scripts/8830-557ddfca1c-lite.chunk.js +1 -0
- package/dist/scripts/8868-f58dea6bba-lite.chunk.js +1 -0
- package/dist/scripts/8944-d290828f67-lite.chunk.js +1 -0
- package/dist/scripts/9035-0eb175113c-lite.chunk.js +1 -0
- package/dist/scripts/9038-6c5951d312-lite.chunk.js +1 -0
- package/dist/scripts/9060-2846accc15-lite.chunk.js +1 -0
- package/dist/scripts/9107-2920fc271c-lite.chunk.js +1 -0
- package/dist/scripts/9133-0cf22ea834-lite.chunk.js +1 -0
- package/dist/scripts/9154-6acfcb21e5-lite.chunk.js +1 -0
- package/dist/scripts/9242-5a2d447f21-lite.chunk.js +1 -0
- package/dist/scripts/9264-30bf5991c7-lite.chunk.js +1 -0
- package/dist/scripts/9273-b11d622c62-lite.chunk.js +1 -0
- package/dist/scripts/9455-15f92cc7cf-lite.chunk.js +1 -0
- package/dist/scripts/{9478-3b40a54353-lite.chunk.js → 9478-98989f923c-lite.chunk.js} +2 -2
- package/dist/scripts/9552-4f26e4c573-lite.chunk.js +1 -0
- package/dist/scripts/9674-3d429f1f50-lite.chunk.js +1 -0
- package/dist/scripts/9686-f9ddd9a8ee-lite.chunk.js +1 -0
- package/dist/scripts/969-14cf1224cb-lite.chunk.js +1 -0
- package/dist/scripts/9749-4c78d6ab76-lite.chunk.js +1 -0
- package/dist/scripts/9767-56c1eec3d8-lite.chunk.js +1 -0
- package/dist/scripts/9798-370870abef-lite.chunk.js +1 -0
- package/dist/scripts/9863-339e76d9af-lite.chunk.js +1 -0
- package/dist/scripts/9880-f624350e3f-lite.chunk.js +1 -0
- package/dist/scripts/bundle-589f35b436.min.js +2 -0
- package/dist/scripts/pdf.worker.entry-df5108a90e.min.worker.js +2 -0
- package/dist/scripts/polyfills-7acbc0c997.min.js +2 -0
- package/jest.config.js +11 -11
- package/package.json +62 -62
- package/typings/libs/CVEvents.d.ts +12 -12
- package/typings/libs/CVLanguages.d.ts +24 -24
- package/typings/libs/backbone.validation.d.ts +99 -99
- package/typings/libs/cloneDeep.d.ts +4 -4
- package/typings/libs/cookiesjs.d.ts +25 -25
- package/typings/libs/draft-convert.d.ts +3 -3
- package/typings/libs/google-api.d.ts +93 -93
- package/typings/libs/intersection-observer.d.ts +82 -82
- package/typings/libs/microsoft-teams.d.ts +2 -2
- package/typings/libs/react-table-config.d.ts +138 -138
- package/typings/libs/trackjs.d.ts +2 -2
- package/typings/libs/videojs-contrib-quality-levels.d.ts +28 -28
- package/typings/utils/imports.d.ts +13 -13
- package/dist/scripts/1075-fea376305b-lite.chunk.js +0 -1
- package/dist/scripts/1160-d0e98044c1-lite.chunk.js +0 -1
- package/dist/scripts/1219-516d45a1a6-lite.chunk.js +0 -1
- package/dist/scripts/1285-6fb30fc0a1-lite.chunk.js +0 -1
- package/dist/scripts/1291-706ea5ec38-lite.chunk.js +0 -1
- package/dist/scripts/1518-b811ea846d-lite.chunk.js +0 -1
- package/dist/scripts/1592-ad32d06d0e-lite.chunk.js +0 -2
- package/dist/scripts/1684-51f03e85d6-lite.chunk.js +0 -2
- package/dist/scripts/1725-a0edf2cc8e-lite.chunk.js +0 -1
- package/dist/scripts/1726-9e67d5dad6-lite.chunk.js +0 -1
- package/dist/scripts/1792-f72f5918d7-lite.chunk.js +0 -1
- package/dist/scripts/1837-b51c3e35d5-lite.chunk.js +0 -1
- package/dist/scripts/1863-0418b6efba-lite.chunk.js +0 -1
- package/dist/scripts/1891-cb9e793dcd-lite.chunk.js +0 -1
- package/dist/scripts/1924-7e6c279282-lite.chunk.js +0 -1
- package/dist/scripts/1958-0198e2c350-lite.chunk.js +0 -1
- package/dist/scripts/209-d6fb3ba4b3-lite.chunk.js +0 -1
- package/dist/scripts/2208-903428f5a0-lite.chunk.js +0 -1
- package/dist/scripts/2215-da27d248d7-lite.chunk.js +0 -1
- package/dist/scripts/2279-e524379a62-lite.chunk.js +0 -1
- package/dist/scripts/2281-e04490741a-lite.chunk.js +0 -2
- package/dist/scripts/2303-438c90ccdd-lite.chunk.js +0 -1
- package/dist/scripts/249-c53c9502d5-lite.chunk.js +0 -1
- package/dist/scripts/2838-dfe592b3b6-lite.chunk.js +0 -1
- package/dist/scripts/2841-adcdbb5054-lite.chunk.js +0 -1
- package/dist/scripts/291-98aa4d621e-lite.chunk.js +0 -1
- package/dist/scripts/3012-9e2742a042-lite.chunk.js +0 -1
- package/dist/scripts/3019-d6dd66162f-lite.chunk.js +0 -1
- package/dist/scripts/3020-44e32e9a20-lite.chunk.js +0 -1
- package/dist/scripts/3108-696c32179b-lite.chunk.js +0 -1
- package/dist/scripts/3171-ca3656aec1-lite.chunk.js +0 -1
- package/dist/scripts/3216-1802bdd0de-lite.chunk.js +0 -1
- package/dist/scripts/3231-0ed31953ca-lite.chunk.js +0 -1
- package/dist/scripts/3237-ba03ae7add-lite.chunk.js +0 -1
- package/dist/scripts/3240-5f1768cecc-lite.chunk.js +0 -1
- package/dist/scripts/3285-c4317b05f8-lite.chunk.js +0 -1
- package/dist/scripts/3468-852268650b-lite.chunk.js +0 -1
- package/dist/scripts/3533-42f411f61a-lite.chunk.js +0 -1
- package/dist/scripts/3626-44f84ee2af-lite.chunk.js +0 -1
- package/dist/scripts/3667-ef5a500032-lite.chunk.js +0 -2
- package/dist/scripts/3728-928305624c-lite.chunk.js +0 -1
- package/dist/scripts/3754-b54aae1986-lite.chunk.js +0 -1
- package/dist/scripts/3787-7b96f4d4a7-lite.chunk.js +0 -1
- package/dist/scripts/389-e79bad42b1-lite.chunk.js +0 -1
- package/dist/scripts/3948-5642962181-lite.chunk.js +0 -1
- package/dist/scripts/4113-79a6e007ab-lite.chunk.js +0 -1
- package/dist/scripts/4182-a9ccbaaf91-lite.chunk.js +0 -1
- package/dist/scripts/4343-9cdc01bcf4-lite.chunk.js +0 -1
- package/dist/scripts/4380-11c6854916-lite.chunk.js +0 -1
- package/dist/scripts/4423-4badf061c7-lite.chunk.js +0 -1
- package/dist/scripts/4453-470cd3d641-lite.chunk.js +0 -1
- package/dist/scripts/4484-54245c8820-lite.chunk.js +0 -1
- package/dist/scripts/4519-6b876ff6e7-lite.chunk.js +0 -1
- package/dist/scripts/4541-4d78904280-lite.chunk.js +0 -1
- package/dist/scripts/4559-57eeeb0f78-lite.chunk.js +0 -1
- package/dist/scripts/4609-fcdaed74c2-lite.chunk.js +0 -1
- package/dist/scripts/4617-79257249bf-lite.chunk.js +0 -1
- package/dist/scripts/4722-54fc5063c8-lite.chunk.js +0 -1
- package/dist/scripts/482-d2d8fd4bda-lite.chunk.js +0 -1
- package/dist/scripts/4893-f19c6f1593-lite.chunk.js +0 -1
- package/dist/scripts/5081-51aecc5374-lite.chunk.js +0 -2
- package/dist/scripts/5134-557dac36db-lite.chunk.js +0 -1
- package/dist/scripts/5173-3f1b431216-lite.chunk.js +0 -1
- package/dist/scripts/5229-a5a826a741-lite.chunk.js +0 -1
- package/dist/scripts/5293-9f76ad8f1e-lite.chunk.js +0 -1
- package/dist/scripts/5509-bb2c1781b9-lite.chunk.js +0 -1
- package/dist/scripts/5606-ef87f63ecf-lite.chunk.js +0 -1
- package/dist/scripts/5823-99243f8094-lite.chunk.js +0 -1
- package/dist/scripts/5875-95fbcaaa30-lite.chunk.js +0 -2
- package/dist/scripts/5877-4576e87beb-lite.chunk.js +0 -1
- package/dist/scripts/5956-d9b835e8dd-lite.chunk.js +0 -1
- package/dist/scripts/5974-1a23d799ca-lite.chunk.js +0 -1
- package/dist/scripts/598-e640813980-lite.chunk.js +0 -1
- package/dist/scripts/5986-1d890b8b92-lite.chunk.js +0 -1
- package/dist/scripts/6014-60904fec14-lite.chunk.js +0 -1
- package/dist/scripts/6080-a9aa4e7f74-lite.chunk.js +0 -1
- package/dist/scripts/6086-979266c2c6-lite.chunk.js +0 -1
- package/dist/scripts/6117-8f2cdf490f-lite.chunk.js +0 -1
- package/dist/scripts/614-9364f06d34-lite.chunk.js +0 -1
- package/dist/scripts/6158-586db767e1-lite.chunk.js +0 -1
- package/dist/scripts/6255-0613937a45-lite.chunk.js +0 -1
- package/dist/scripts/6263-495f52dc7f-lite.chunk.js +0 -1
- package/dist/scripts/6274-3f826f9e45-lite.chunk.js +0 -1
- package/dist/scripts/6290-da4c9942fa-lite.chunk.js +0 -1
- package/dist/scripts/6302-f47a1262be-lite.chunk.js +0 -1
- package/dist/scripts/6368-6e6e962492-lite.chunk.js +0 -1
- package/dist/scripts/6369-72d977b629-lite.chunk.js +0 -1
- package/dist/scripts/6370-407ad0543a-lite.chunk.js +0 -1
- package/dist/scripts/6379-3af314ce12-lite.chunk.js +0 -1
- package/dist/scripts/6381-0f546947f8-lite.chunk.js +0 -1
- package/dist/scripts/6387-286bfa4b20-lite.chunk.js +0 -1
- package/dist/scripts/6450-533ae8461a-lite.chunk.js +0 -1
- package/dist/scripts/6465-c11641adbe-lite.chunk.js +0 -1
- package/dist/scripts/6480-37eccdc02b-lite.chunk.js +0 -1
- package/dist/scripts/6507-4307a5f087-lite.chunk.js +0 -1
- package/dist/scripts/6604-56f5c9a66d-lite.chunk.js +0 -1
- package/dist/scripts/6689-e5d9f27111-lite.chunk.js +0 -1
- package/dist/scripts/6725-f44c9ebc0c-lite.chunk.js +0 -1
- package/dist/scripts/6736-807f6b6c82-lite.chunk.js +0 -2
- package/dist/scripts/6801-8e542cded8-lite.chunk.js +0 -1
- package/dist/scripts/6823-909c248562-lite.chunk.js +0 -2
- package/dist/scripts/6866-0ba7543875-lite.chunk.js +0 -1
- package/dist/scripts/6896-17de0fc356-lite.chunk.js +0 -1
- package/dist/scripts/6913-8c3281b311-lite.chunk.js +0 -1
- package/dist/scripts/6930-892e4e9465-lite.chunk.js +0 -1
- package/dist/scripts/7007-279ed97272-lite.chunk.js +0 -1
- package/dist/scripts/7017-ecb254e80b-lite.chunk.js +0 -1
- package/dist/scripts/7056-91f8a7e829-lite.chunk.js +0 -1
- package/dist/scripts/7115-04d195d4c9-lite.chunk.js +0 -1
- package/dist/scripts/7128-e78381873f-lite.chunk.js +0 -1
- package/dist/scripts/7172-6b7be396b2-lite.chunk.js +0 -1
- package/dist/scripts/7178-a1b683d071-lite.chunk.js +0 -1
- package/dist/scripts/7307-f7c9a20e40-lite.chunk.js +0 -1
- package/dist/scripts/7318-6cc811f662-lite.chunk.js +0 -2
- package/dist/scripts/7327-178164fd2c-lite.chunk.js +0 -2
- package/dist/scripts/7332-7894fa3f30-lite.chunk.js +0 -1
- package/dist/scripts/7397-1a2f0a8b1a-lite.chunk.js +0 -1
- package/dist/scripts/7407-db6e0f1149-lite.chunk.js +0 -1
- package/dist/scripts/7409-4440fe2429-lite.chunk.js +0 -1
- package/dist/scripts/7416-571043c67f-lite.chunk.js +0 -2
- package/dist/scripts/7478-dff454cb70-lite.chunk.js +0 -1
- package/dist/scripts/7490-cac0cd2515-lite.chunk.js +0 -1
- package/dist/scripts/7506-e8afdcf7c1-lite.chunk.js +0 -1
- package/dist/scripts/7524-c73a4bdedf-lite.chunk.js +0 -1
- package/dist/scripts/7708-2de7606ca2-lite.chunk.js +0 -1
- package/dist/scripts/7739-1a6953af69-lite.chunk.js +0 -1
- package/dist/scripts/7756-7d56f99cd8-lite.chunk.js +0 -1
- package/dist/scripts/7831-55d99b2ae5-lite.chunk.js +0 -1
- package/dist/scripts/7855-29e19a59c1-lite.chunk.js +0 -1
- package/dist/scripts/7888-2f6d672f99-lite.chunk.js +0 -1
- package/dist/scripts/7919-3ec0f37103-lite.chunk.js +0 -2
- package/dist/scripts/7939-36f426cfc9-lite.chunk.js +0 -1
- package/dist/scripts/7967-ae9068f154-lite.chunk.js +0 -1
- package/dist/scripts/8025-a57448366a-lite.chunk.js +0 -1
- package/dist/scripts/8046-f5a9bca578-lite.chunk.js +0 -1
- package/dist/scripts/8114-a67382343b-lite.chunk.js +0 -1
- package/dist/scripts/8187-5b85d31822-lite.chunk.js +0 -1
- package/dist/scripts/823-a7b464433f-lite.chunk.js +0 -1
- package/dist/scripts/824-2ee9558d57-lite.chunk.js +0 -1
- package/dist/scripts/8252-09f92bf0cb-lite.chunk.js +0 -1
- package/dist/scripts/8323-1d3591cb2d-lite.chunk.js +0 -2
- package/dist/scripts/8377-371830b813-lite.chunk.js +0 -1
- package/dist/scripts/8466-cd2bc68564-lite.chunk.js +0 -1
- package/dist/scripts/8621-e4b53cb359-lite.chunk.js +0 -1
- package/dist/scripts/8627-4c5b304987-lite.chunk.js +0 -1
- package/dist/scripts/8729-26492db7fc-lite.chunk.js +0 -1
- package/dist/scripts/8772-26c0380407-lite.chunk.js +0 -1
- package/dist/scripts/8801-1aad8ca5ac-lite.chunk.js +0 -1
- package/dist/scripts/8820-fdcbf49a5e-lite.chunk.js +0 -1
- package/dist/scripts/8830-72a7f2b5bc-lite.chunk.js +0 -1
- package/dist/scripts/8868-013d237d7f-lite.chunk.js +0 -1
- package/dist/scripts/8944-d9d197d53c-lite.chunk.js +0 -1
- package/dist/scripts/9035-929ea95106-lite.chunk.js +0 -1
- package/dist/scripts/9038-2abcbf5553-lite.chunk.js +0 -1
- package/dist/scripts/9060-5b1bdb98eb-lite.chunk.js +0 -1
- package/dist/scripts/9107-3d473ae66c-lite.chunk.js +0 -1
- package/dist/scripts/9133-146c73b62d-lite.chunk.js +0 -1
- package/dist/scripts/9154-9fdd582493-lite.chunk.js +0 -1
- package/dist/scripts/9242-89631c2740-lite.chunk.js +0 -1
- package/dist/scripts/9264-c1d7bc6953-lite.chunk.js +0 -1
- package/dist/scripts/9273-727f8d93f1-lite.chunk.js +0 -1
- package/dist/scripts/9455-4200b1193d-lite.chunk.js +0 -1
- package/dist/scripts/9552-2b7f33d5ec-lite.chunk.js +0 -1
- package/dist/scripts/9674-55613c0322-lite.chunk.js +0 -1
- package/dist/scripts/9686-02fd0e796c-lite.chunk.js +0 -1
- package/dist/scripts/969-cc2344986f-lite.chunk.js +0 -1
- package/dist/scripts/9749-cb4d3b4baa-lite.chunk.js +0 -1
- package/dist/scripts/9767-adacba3022-lite.chunk.js +0 -1
- package/dist/scripts/9798-0e389ed33d-lite.chunk.js +0 -1
- package/dist/scripts/9863-8276860e3b-lite.chunk.js +0 -1
- package/dist/scripts/9880-925e037850-lite.chunk.js +0 -1
- package/dist/scripts/bundle-03b52ee5cc.min.js +0 -2
- package/dist/scripts/pdf.worker.entry-cdaf8e504d.min.worker.js +0 -2
- package/dist/scripts/polyfills-6009776bd8.min.js +0 -2
- /package/dist/scripts/{1106-277c9eb019-lite.chunk.js → 1106-49a75d3108-lite.chunk.js} +0 -0
- /package/dist/scripts/{1200-9464d849aa-lite.chunk.js.LICENSE.txt → 1200-0b2df6e770-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{1592-ad32d06d0e-lite.chunk.js.LICENSE.txt → 1592-14e9f658fd-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{1628-cc1cdbedda-lite.chunk.js → 1628-9b31419a6b-lite.chunk.js} +0 -0
- /package/dist/scripts/{1684-51f03e85d6-lite.chunk.js.LICENSE.txt → 1684-98ed45307f-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{1913-ec8f291a4e-lite.chunk.js → 1913-5f7b65e004-lite.chunk.js} +0 -0
- /package/dist/scripts/{2097-5b8d15d472-lite.chunk.js.LICENSE.txt → 2097-1fec9b4c86-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{2135-e187c35954-lite.chunk.js → 2135-e846e647f6-lite.chunk.js} +0 -0
- /package/dist/scripts/{2175-7443a6bbd2-lite.chunk.js → 2175-7d0a94fb90-lite.chunk.js} +0 -0
- /package/dist/scripts/{2229-e6fef215c2-lite.chunk.js → 2229-a17489a3b1-lite.chunk.js} +0 -0
- /package/dist/scripts/{227-0c4bb367a5-lite.chunk.js → 227-47d9d69b18-lite.chunk.js} +0 -0
- /package/dist/scripts/{2281-e04490741a-lite.chunk.js.LICENSE.txt → 2281-b38a7a5794-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{2319-cc0b9d7edb-lite.chunk.js → 2319-b1ef9434b3-lite.chunk.js} +0 -0
- /package/dist/scripts/{2452-ed97feb8f4-lite.chunk.js → 2452-4a1c9e0123-lite.chunk.js} +0 -0
- /package/dist/scripts/{2561-08ee3b287c-lite.chunk.js → 2561-e4f9cf04ee-lite.chunk.js} +0 -0
- /package/dist/scripts/{2566-b8482d05ad-lite.chunk.js → 2566-8e4bd2ceb7-lite.chunk.js} +0 -0
- /package/dist/scripts/{2665-53f972cbe0-lite.chunk.js → 2665-165a0944de-lite.chunk.js} +0 -0
- /package/dist/scripts/{276-5cee084435-lite.chunk.js → 276-2f012038d5-lite.chunk.js} +0 -0
- /package/dist/scripts/{2937-778cba8b54-lite.chunk.js → 2937-dc0a9cef5b-lite.chunk.js} +0 -0
- /package/dist/scripts/{2966-541625267b-lite.chunk.js → 2966-a4d65b2891-lite.chunk.js} +0 -0
- /package/dist/scripts/{3007-d1dcacab45-lite.chunk.js → 3007-ff224c6b4a-lite.chunk.js} +0 -0
- /package/dist/scripts/{3053-ae99c4fa3c-lite.chunk.js → 3053-a80bc38385-lite.chunk.js} +0 -0
- /package/dist/scripts/{3565-fd4712b1ab-lite.chunk.js → 3565-111534490d-lite.chunk.js} +0 -0
- /package/dist/scripts/{3667-ef5a500032-lite.chunk.js.LICENSE.txt → 3667-b8ef9efadf-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{3729-9f1b5c059f-lite.chunk.js → 3729-c127276a1d-lite.chunk.js} +0 -0
- /package/dist/scripts/{3962-4383596d79-lite.chunk.js → 3962-af911624cb-lite.chunk.js} +0 -0
- /package/dist/scripts/{4067-19dfa93185-lite.chunk.js → 4067-a0d41767e2-lite.chunk.js} +0 -0
- /package/dist/scripts/{4770-568994c6a6-lite.chunk.js → 4770-f4d9d3424b-lite.chunk.js} +0 -0
- /package/dist/scripts/{4777-1b47908d01-lite.chunk.js → 4777-f1e81a112c-lite.chunk.js} +0 -0
- /package/dist/scripts/{4895-3b67c08e33-lite.chunk.js → 4895-fbdc7e2f11-lite.chunk.js} +0 -0
- /package/dist/scripts/{5018-67695be6d6-lite.chunk.js → 5018-ad9ea5ae37-lite.chunk.js} +0 -0
- /package/dist/scripts/{5081-51aecc5374-lite.chunk.js.LICENSE.txt → 5081-86adb76b64-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{510-a37e6f9b68-lite.chunk.js → 510-8db6b39fd5-lite.chunk.js} +0 -0
- /package/dist/scripts/{5104-096670f09e-lite.chunk.js → 5104-ac953a963b-lite.chunk.js} +0 -0
- /package/dist/scripts/{5271-2f8368b0c3-lite.chunk.js → 5271-5171e797e9-lite.chunk.js} +0 -0
- /package/dist/scripts/{528-7845e4c922-lite.chunk.js → 528-c8dae6e504-lite.chunk.js} +0 -0
- /package/dist/scripts/{5291-c166374506-lite.chunk.js → 5291-9a78823986-lite.chunk.js} +0 -0
- /package/dist/scripts/{5687-fc086f2be2-lite.chunk.js → 5687-1a1feacde0-lite.chunk.js} +0 -0
- /package/dist/scripts/{5875-95fbcaaa30-lite.chunk.js.LICENSE.txt → 5875-679a563954-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{5914-5c809bdca8-lite.chunk.js → 5914-e3beb91ffc-lite.chunk.js} +0 -0
- /package/dist/scripts/{6061-82822bcb9b-lite.chunk.js → 6061-86607dadc7-lite.chunk.js} +0 -0
- /package/dist/scripts/{6285-01df6e582b-lite.chunk.js → 6285-ab385978b3-lite.chunk.js} +0 -0
- /package/dist/scripts/{6493-7497177528-lite.chunk.js → 6493-331029d2a9-lite.chunk.js} +0 -0
- /package/dist/scripts/{655-318f55696a-lite.chunk.js → 655-26c79c3810-lite.chunk.js} +0 -0
- /package/dist/scripts/{6736-807f6b6c82-lite.chunk.js.LICENSE.txt → 6736-cffe5aabea-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{6810-4c79e9dfd1-lite.chunk.js → 6810-3391e356f3-lite.chunk.js} +0 -0
- /package/dist/scripts/{6817-6f2d28e1c8-lite.chunk.js → 6817-95f0611422-lite.chunk.js} +0 -0
- /package/dist/scripts/{6821-a985554f7d-lite.chunk.js → 6821-c2c09e0258-lite.chunk.js} +0 -0
- /package/dist/scripts/{6823-909c248562-lite.chunk.js.LICENSE.txt → 6823-a7fc572f4e-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{6873-e73c869b94-lite.chunk.js → 6873-dd7240df43-lite.chunk.js} +0 -0
- /package/dist/scripts/{7045-aefaf9d51a-lite.chunk.js → 7045-aa30ff4722-lite.chunk.js} +0 -0
- /package/dist/scripts/{7112-a8fbba768e-lite.chunk.js.LICENSE.txt → 7112-1f91af81de-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{7318-6cc811f662-lite.chunk.js.LICENSE.txt → 7318-2624f3e7a8-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{7327-178164fd2c-lite.chunk.js.LICENSE.txt → 7327-96c43a1ae2-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{7385-3ff72674e5-lite.chunk.js → 7385-bfe8953cd9-lite.chunk.js} +0 -0
- /package/dist/scripts/{7416-571043c67f-lite.chunk.js.LICENSE.txt → 7416-67821964bb-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{7515-bf476781db-lite.chunk.js.LICENSE.txt → 7515-8b1cb2acef-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{7706-ce4597c053-lite.chunk.js → 7706-6ad967c7ea-lite.chunk.js} +0 -0
- /package/dist/scripts/{7737-1bd197e1a9-lite.chunk.js → 7737-38869c947f-lite.chunk.js} +0 -0
- /package/dist/scripts/{7767-8fcbc6668d-lite.chunk.js → 7767-7daefc5fac-lite.chunk.js} +0 -0
- /package/dist/scripts/{7919-3ec0f37103-lite.chunk.js.LICENSE.txt → 7919-967360242e-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{7925-1236157fe7-lite.chunk.js → 7925-088d8201ec-lite.chunk.js} +0 -0
- /package/dist/scripts/{7946-5338d3f1a6-lite.chunk.js → 7946-5e62f902af-lite.chunk.js} +0 -0
- /package/dist/scripts/{8056-67a0d6b280-lite.chunk.js → 8056-2ab549ad96-lite.chunk.js} +0 -0
- /package/dist/scripts/{811-a91a94fd46-lite.chunk.js → 811-aa0f757429-lite.chunk.js} +0 -0
- /package/dist/scripts/{8323-1d3591cb2d-lite.chunk.js.LICENSE.txt → 8323-abba3829a3-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{8383-dda3afb747-lite.chunk.js → 8383-beccd20f8b-lite.chunk.js} +0 -0
- /package/dist/scripts/{849-eb627cc82f-lite.chunk.js → 849-018a6e85e8-lite.chunk.js} +0 -0
- /package/dist/scripts/{872-f3e867f928-lite.chunk.js → 872-33ef8a2f97-lite.chunk.js} +0 -0
- /package/dist/scripts/{8955-c9b3a3ae41-lite.chunk.js → 8955-92a584db62-lite.chunk.js} +0 -0
- /package/dist/scripts/{9005-4e2917fe06-lite.chunk.js → 9005-199d6ce591-lite.chunk.js} +0 -0
- /package/dist/scripts/{9016-3cafe6e461-lite.chunk.js → 9016-2ff1550ba8-lite.chunk.js} +0 -0
- /package/dist/scripts/{9325-fcdbccf47a-lite.chunk.js → 9325-e63bfa161f-lite.chunk.js} +0 -0
- /package/dist/scripts/{9478-3b40a54353-lite.chunk.js.LICENSE.txt → 9478-98989f923c-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{9482-4e99d51dd9-lite.chunk.js → 9482-272127a50b-lite.chunk.js} +0 -0
- /package/dist/scripts/{bundle-03b52ee5cc.min.js.LICENSE.txt → bundle-589f35b436.min.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{pdf.worker.entry-cdaf8e504d.min.worker.js.LICENSE.txt → pdf.worker.entry-df5108a90e.min.worker.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{polyfills-6009776bd8.min.js.LICENSE.txt → polyfills-7acbc0c997.min.js.LICENSE.txt} +0 -0
|
@@ -1,139 +1,139 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* In order to add typings for various react-table plugins, the below should be selectively
|
|
3
|
-
* uncommented based on what we are using.
|
|
4
|
-
*
|
|
5
|
-
* Refer: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-table
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import {
|
|
9
|
-
// UseColumnOrderInstanceProps,
|
|
10
|
-
// UseColumnOrderState,
|
|
11
|
-
// UseExpandedHooks,
|
|
12
|
-
// UseExpandedInstanceProps,
|
|
13
|
-
// UseExpandedOptions,
|
|
14
|
-
// UseExpandedRowProps,
|
|
15
|
-
// UseExpandedState,
|
|
16
|
-
UseFiltersColumnOptions,
|
|
17
|
-
UseFiltersColumnProps,
|
|
18
|
-
UseFiltersInstanceProps,
|
|
19
|
-
UseFiltersOptions,
|
|
20
|
-
UseFiltersState,
|
|
21
|
-
UseGlobalFiltersColumnOptions,
|
|
22
|
-
UseGlobalFiltersInstanceProps,
|
|
23
|
-
UseGlobalFiltersOptions,
|
|
24
|
-
UseGlobalFiltersState,
|
|
25
|
-
// UseGroupByCellProps,
|
|
26
|
-
// UseGroupByColumnOptions,
|
|
27
|
-
// UseGroupByColumnProps,
|
|
28
|
-
// UseGroupByHooks,
|
|
29
|
-
// UseGroupByInstanceProps,
|
|
30
|
-
// UseGroupByOptions,
|
|
31
|
-
// UseGroupByRowProps,
|
|
32
|
-
// UseGroupByState,
|
|
33
|
-
// UsePaginationInstanceProps,
|
|
34
|
-
// UsePaginationOptions,
|
|
35
|
-
// UsePaginationState,
|
|
36
|
-
// UseResizeColumnsColumnOptions,
|
|
37
|
-
// UseResizeColumnsColumnProps,
|
|
38
|
-
// UseResizeColumnsOptions,
|
|
39
|
-
// UseResizeColumnsState,
|
|
40
|
-
UseRowSelectHooks,
|
|
41
|
-
UseRowSelectInstanceProps,
|
|
42
|
-
UseRowSelectOptions,
|
|
43
|
-
UseRowSelectRowProps,
|
|
44
|
-
UseRowSelectState,
|
|
45
|
-
// UseRowStateCellProps,
|
|
46
|
-
// UseRowStateInstanceProps,
|
|
47
|
-
// UseRowStateOptions,
|
|
48
|
-
// UseRowStateRowProps,
|
|
49
|
-
// UseRowStateState,
|
|
50
|
-
UseSortByColumnOptions,
|
|
51
|
-
UseSortByColumnProps,
|
|
52
|
-
UseSortByHooks,
|
|
53
|
-
UseSortByInstanceProps,
|
|
54
|
-
UseSortByOptions,
|
|
55
|
-
UseSortByState
|
|
56
|
-
} from 'react-table';
|
|
57
|
-
|
|
58
|
-
declare module 'react-table' {
|
|
59
|
-
// take this file as-is, or comment out the sections that don't apply to your plugin configuration
|
|
60
|
-
|
|
61
|
-
export interface TableOptions<D extends Record<string, unknown>>
|
|
62
|
-
extends UseSortByOptions<D>,
|
|
63
|
-
UseRowSelectOptions<D>,
|
|
64
|
-
UseFiltersOptions<D>,
|
|
65
|
-
UseGlobalFiltersOptions<D>{}
|
|
66
|
-
|
|
67
|
-
// extends UseExpandedOptions<D>,
|
|
68
|
-
// UseGroupByOptions<D>,
|
|
69
|
-
// UsePaginationOptions<D>,
|
|
70
|
-
// UseResizeColumnsOptions<D>,
|
|
71
|
-
// UseRowSelectOptions<D>,
|
|
72
|
-
// UseRowStateOptions<D>,
|
|
73
|
-
// UseSortByOptions<D>,
|
|
74
|
-
// // note that having Record here allows you to add anything to the options, this matches the spirit of the
|
|
75
|
-
// // underlying js library, but might be cleaner if it's replaced by a more specific type that matches your
|
|
76
|
-
// // feature set, this is a safe default.
|
|
77
|
-
// Record<string, any> {}
|
|
78
|
-
|
|
79
|
-
export interface Hooks<D extends Record<string, unknown> = Record<string, unknown>>
|
|
80
|
-
extends UseSortByHooks<D>,
|
|
81
|
-
UseRowSelectHooks {}
|
|
82
|
-
// extends UseExpandedHooks<D>,
|
|
83
|
-
// UseGroupByHooks<D>,
|
|
84
|
-
// UseRowSelectHooks<D>,
|
|
85
|
-
// UseSortByHooks<D> {}
|
|
86
|
-
|
|
87
|
-
export interface TableInstance<D extends Record<string, unknown> = Record<string, unknown>>
|
|
88
|
-
extends UseSortByInstanceProps<D>,
|
|
89
|
-
UseRowSelectInstanceProps<D>,
|
|
90
|
-
UseFiltersInstanceProps<D>,
|
|
91
|
-
UseGlobalFiltersInstanceProps<D>{}
|
|
92
|
-
// extends UseColumnOrderInstanceProps<D>,
|
|
93
|
-
// UseExpandedInstanceProps<D>,
|
|
94
|
-
// UseGroupByInstanceProps<D>,
|
|
95
|
-
// UsePaginationInstanceProps<D>,
|
|
96
|
-
// UseRowSelectInstanceProps<D>,
|
|
97
|
-
// UseRowStateInstanceProps<D>,
|
|
98
|
-
// UseSortByInstanceProps<D> {}
|
|
99
|
-
|
|
100
|
-
export interface TableState<D extends Record<string, unknown> = Record<string, unknown>>
|
|
101
|
-
extends UseSortByState<D>,
|
|
102
|
-
UseRowSelectState<D>,
|
|
103
|
-
UseFiltersState<D>,
|
|
104
|
-
UseGlobalFiltersState<D> {}
|
|
105
|
-
// extends UseColumnOrderState<D>,
|
|
106
|
-
// UseExpandedState<D>,
|
|
107
|
-
// UseGroupByState<D>,
|
|
108
|
-
// UsePaginationState<D>,
|
|
109
|
-
// UseResizeColumnsState<D>,
|
|
110
|
-
// UseRowSelectState<D>,
|
|
111
|
-
// UseRowStateState<D>,
|
|
112
|
-
// UseSortByState<D> {}
|
|
113
|
-
|
|
114
|
-
export interface ColumnInterface<D extends Record<string, unknown> = Record<string, unknown>>
|
|
115
|
-
extends UseSortByColumnOptions<D>,
|
|
116
|
-
UseFiltersColumnOptions<D>,
|
|
117
|
-
UseGlobalFiltersColumnOptions<D> {}
|
|
118
|
-
// UseGroupByColumnOptions<D>,
|
|
119
|
-
// UseResizeColumnsColumnOptions<D>,
|
|
120
|
-
// UseSortByColumnOptions<D> {}
|
|
121
|
-
|
|
122
|
-
export interface ColumnInstance<D extends Record<string, unknown> = Record<string, unknown>>
|
|
123
|
-
extends UseSortByColumnProps<D>,
|
|
124
|
-
UseFiltersColumnProps<D> {}
|
|
125
|
-
// UseGroupByColumnProps<D>,
|
|
126
|
-
// UseResizeColumnsColumnProps<D>,
|
|
127
|
-
// UseSortByColumnProps<D> {}
|
|
128
|
-
|
|
129
|
-
// export interface Cell<D extends Record<string, unknown> = Record<string, unknown>, V = any>
|
|
130
|
-
// extends UseGroupByCellProps<D>,
|
|
131
|
-
// UseRowStateCellProps<D> {}
|
|
132
|
-
|
|
133
|
-
export interface Row<D extends Record<string, unknown> = Record<string, unknown>>
|
|
134
|
-
extends UseRowSelectRowProps<D> {}
|
|
135
|
-
// extends UseExpandedRowProps<D>,
|
|
136
|
-
// UseGroupByRowProps<D>,
|
|
137
|
-
// UseRowSelectRowProps<D>,
|
|
138
|
-
// UseRowStateRowProps<D> {}
|
|
1
|
+
/**
|
|
2
|
+
* In order to add typings for various react-table plugins, the below should be selectively
|
|
3
|
+
* uncommented based on what we are using.
|
|
4
|
+
*
|
|
5
|
+
* Refer: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-table
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import {
|
|
9
|
+
// UseColumnOrderInstanceProps,
|
|
10
|
+
// UseColumnOrderState,
|
|
11
|
+
// UseExpandedHooks,
|
|
12
|
+
// UseExpandedInstanceProps,
|
|
13
|
+
// UseExpandedOptions,
|
|
14
|
+
// UseExpandedRowProps,
|
|
15
|
+
// UseExpandedState,
|
|
16
|
+
UseFiltersColumnOptions,
|
|
17
|
+
UseFiltersColumnProps,
|
|
18
|
+
UseFiltersInstanceProps,
|
|
19
|
+
UseFiltersOptions,
|
|
20
|
+
UseFiltersState,
|
|
21
|
+
UseGlobalFiltersColumnOptions,
|
|
22
|
+
UseGlobalFiltersInstanceProps,
|
|
23
|
+
UseGlobalFiltersOptions,
|
|
24
|
+
UseGlobalFiltersState,
|
|
25
|
+
// UseGroupByCellProps,
|
|
26
|
+
// UseGroupByColumnOptions,
|
|
27
|
+
// UseGroupByColumnProps,
|
|
28
|
+
// UseGroupByHooks,
|
|
29
|
+
// UseGroupByInstanceProps,
|
|
30
|
+
// UseGroupByOptions,
|
|
31
|
+
// UseGroupByRowProps,
|
|
32
|
+
// UseGroupByState,
|
|
33
|
+
// UsePaginationInstanceProps,
|
|
34
|
+
// UsePaginationOptions,
|
|
35
|
+
// UsePaginationState,
|
|
36
|
+
// UseResizeColumnsColumnOptions,
|
|
37
|
+
// UseResizeColumnsColumnProps,
|
|
38
|
+
// UseResizeColumnsOptions,
|
|
39
|
+
// UseResizeColumnsState,
|
|
40
|
+
UseRowSelectHooks,
|
|
41
|
+
UseRowSelectInstanceProps,
|
|
42
|
+
UseRowSelectOptions,
|
|
43
|
+
UseRowSelectRowProps,
|
|
44
|
+
UseRowSelectState,
|
|
45
|
+
// UseRowStateCellProps,
|
|
46
|
+
// UseRowStateInstanceProps,
|
|
47
|
+
// UseRowStateOptions,
|
|
48
|
+
// UseRowStateRowProps,
|
|
49
|
+
// UseRowStateState,
|
|
50
|
+
UseSortByColumnOptions,
|
|
51
|
+
UseSortByColumnProps,
|
|
52
|
+
UseSortByHooks,
|
|
53
|
+
UseSortByInstanceProps,
|
|
54
|
+
UseSortByOptions,
|
|
55
|
+
UseSortByState
|
|
56
|
+
} from 'react-table';
|
|
57
|
+
|
|
58
|
+
declare module 'react-table' {
|
|
59
|
+
// take this file as-is, or comment out the sections that don't apply to your plugin configuration
|
|
60
|
+
|
|
61
|
+
export interface TableOptions<D extends Record<string, unknown>>
|
|
62
|
+
extends UseSortByOptions<D>,
|
|
63
|
+
UseRowSelectOptions<D>,
|
|
64
|
+
UseFiltersOptions<D>,
|
|
65
|
+
UseGlobalFiltersOptions<D>{}
|
|
66
|
+
|
|
67
|
+
// extends UseExpandedOptions<D>,
|
|
68
|
+
// UseGroupByOptions<D>,
|
|
69
|
+
// UsePaginationOptions<D>,
|
|
70
|
+
// UseResizeColumnsOptions<D>,
|
|
71
|
+
// UseRowSelectOptions<D>,
|
|
72
|
+
// UseRowStateOptions<D>,
|
|
73
|
+
// UseSortByOptions<D>,
|
|
74
|
+
// // note that having Record here allows you to add anything to the options, this matches the spirit of the
|
|
75
|
+
// // underlying js library, but might be cleaner if it's replaced by a more specific type that matches your
|
|
76
|
+
// // feature set, this is a safe default.
|
|
77
|
+
// Record<string, any> {}
|
|
78
|
+
|
|
79
|
+
export interface Hooks<D extends Record<string, unknown> = Record<string, unknown>>
|
|
80
|
+
extends UseSortByHooks<D>,
|
|
81
|
+
UseRowSelectHooks {}
|
|
82
|
+
// extends UseExpandedHooks<D>,
|
|
83
|
+
// UseGroupByHooks<D>,
|
|
84
|
+
// UseRowSelectHooks<D>,
|
|
85
|
+
// UseSortByHooks<D> {}
|
|
86
|
+
|
|
87
|
+
export interface TableInstance<D extends Record<string, unknown> = Record<string, unknown>>
|
|
88
|
+
extends UseSortByInstanceProps<D>,
|
|
89
|
+
UseRowSelectInstanceProps<D>,
|
|
90
|
+
UseFiltersInstanceProps<D>,
|
|
91
|
+
UseGlobalFiltersInstanceProps<D>{}
|
|
92
|
+
// extends UseColumnOrderInstanceProps<D>,
|
|
93
|
+
// UseExpandedInstanceProps<D>,
|
|
94
|
+
// UseGroupByInstanceProps<D>,
|
|
95
|
+
// UsePaginationInstanceProps<D>,
|
|
96
|
+
// UseRowSelectInstanceProps<D>,
|
|
97
|
+
// UseRowStateInstanceProps<D>,
|
|
98
|
+
// UseSortByInstanceProps<D> {}
|
|
99
|
+
|
|
100
|
+
export interface TableState<D extends Record<string, unknown> = Record<string, unknown>>
|
|
101
|
+
extends UseSortByState<D>,
|
|
102
|
+
UseRowSelectState<D>,
|
|
103
|
+
UseFiltersState<D>,
|
|
104
|
+
UseGlobalFiltersState<D> {}
|
|
105
|
+
// extends UseColumnOrderState<D>,
|
|
106
|
+
// UseExpandedState<D>,
|
|
107
|
+
// UseGroupByState<D>,
|
|
108
|
+
// UsePaginationState<D>,
|
|
109
|
+
// UseResizeColumnsState<D>,
|
|
110
|
+
// UseRowSelectState<D>,
|
|
111
|
+
// UseRowStateState<D>,
|
|
112
|
+
// UseSortByState<D> {}
|
|
113
|
+
|
|
114
|
+
export interface ColumnInterface<D extends Record<string, unknown> = Record<string, unknown>>
|
|
115
|
+
extends UseSortByColumnOptions<D>,
|
|
116
|
+
UseFiltersColumnOptions<D>,
|
|
117
|
+
UseGlobalFiltersColumnOptions<D> {}
|
|
118
|
+
// UseGroupByColumnOptions<D>,
|
|
119
|
+
// UseResizeColumnsColumnOptions<D>,
|
|
120
|
+
// UseSortByColumnOptions<D> {}
|
|
121
|
+
|
|
122
|
+
export interface ColumnInstance<D extends Record<string, unknown> = Record<string, unknown>>
|
|
123
|
+
extends UseSortByColumnProps<D>,
|
|
124
|
+
UseFiltersColumnProps<D> {}
|
|
125
|
+
// UseGroupByColumnProps<D>,
|
|
126
|
+
// UseResizeColumnsColumnProps<D>,
|
|
127
|
+
// UseSortByColumnProps<D> {}
|
|
128
|
+
|
|
129
|
+
// export interface Cell<D extends Record<string, unknown> = Record<string, unknown>, V = any>
|
|
130
|
+
// extends UseGroupByCellProps<D>,
|
|
131
|
+
// UseRowStateCellProps<D> {}
|
|
132
|
+
|
|
133
|
+
export interface Row<D extends Record<string, unknown> = Record<string, unknown>>
|
|
134
|
+
extends UseRowSelectRowProps<D> {}
|
|
135
|
+
// extends UseExpandedRowProps<D>,
|
|
136
|
+
// UseGroupByRowProps<D>,
|
|
137
|
+
// UseRowSelectRowProps<D>,
|
|
138
|
+
// UseRowStateRowProps<D> {}
|
|
139
139
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare namespace trackJs {
|
|
2
|
-
declare function track(error: string | Error): void;
|
|
1
|
+
declare namespace trackJs {
|
|
2
|
+
declare function track(error: string | Error): void;
|
|
3
3
|
}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import videojs from 'video.js';
|
|
2
|
-
|
|
3
|
-
declare module 'video.js' {
|
|
4
|
-
export interface VideoJsPlayer {
|
|
5
|
-
qualityLevels(): QualityLevelList;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
declare module 'videojs-contrib-quality-levels' {
|
|
10
|
-
export interface QualityLevelList extends videojs.EventTarget {
|
|
11
|
-
[id: string]: QualityLevel;
|
|
12
|
-
selectedIndex: number;
|
|
13
|
-
length: number;
|
|
14
|
-
addQualityLevel(representation: Representation): QualityLevel;
|
|
15
|
-
removeQualityLevel(qualityLevel: QualityLevel): QualityLevel;
|
|
16
|
-
getQualityLevelById(id: string): QualityLevel;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export interface QualityLevel {
|
|
20
|
-
id: string;
|
|
21
|
-
label: string;
|
|
22
|
-
enabled: boolean;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export interface Representation {
|
|
26
|
-
id: string;
|
|
27
|
-
enabled(enabled: boolean): boolean;
|
|
28
|
-
}
|
|
1
|
+
import videojs from 'video.js';
|
|
2
|
+
|
|
3
|
+
declare module 'video.js' {
|
|
4
|
+
export interface VideoJsPlayer {
|
|
5
|
+
qualityLevels(): QualityLevelList;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
declare module 'videojs-contrib-quality-levels' {
|
|
10
|
+
export interface QualityLevelList extends videojs.EventTarget {
|
|
11
|
+
[id: string]: QualityLevel;
|
|
12
|
+
selectedIndex: number;
|
|
13
|
+
length: number;
|
|
14
|
+
addQualityLevel(representation: Representation): QualityLevel;
|
|
15
|
+
removeQualityLevel(qualityLevel: QualityLevel): QualityLevel;
|
|
16
|
+
getQualityLevelById(id: string): QualityLevel;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export interface QualityLevel {
|
|
20
|
+
id: string;
|
|
21
|
+
label: string;
|
|
22
|
+
enabled: boolean;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export interface Representation {
|
|
26
|
+
id: string;
|
|
27
|
+
enabled(enabled: boolean): boolean;
|
|
28
|
+
}
|
|
29
29
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Define our templates as a module so that we can use
|
|
3
|
-
* import statements just the same as we do for other
|
|
4
|
-
* ts/js code.
|
|
5
|
-
*/
|
|
6
|
-
declare module '*.handlebars';
|
|
7
|
-
declare module '*.hbs';
|
|
8
|
-
declare module '*.scss';
|
|
9
|
-
declare module '*.svg';
|
|
10
|
-
|
|
11
|
-
declare module '*.json' {
|
|
12
|
-
export const value: any;
|
|
13
|
-
export default value;
|
|
1
|
+
/**
|
|
2
|
+
* Define our templates as a module so that we can use
|
|
3
|
+
* import statements just the same as we do for other
|
|
4
|
+
* ts/js code.
|
|
5
|
+
*/
|
|
6
|
+
declare module '*.handlebars';
|
|
7
|
+
declare module '*.hbs';
|
|
8
|
+
declare module '*.scss';
|
|
9
|
+
declare module '*.svg';
|
|
10
|
+
|
|
11
|
+
declare module '*.json' {
|
|
12
|
+
export const value: any;
|
|
13
|
+
export default value;
|
|
14
14
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[1075],{33249:(e,t,r)=>{"use strict";r.d(t,{T:()=>g});var n=r(1024),o=r.n(n),a=r(45500),l=r(50030),i=r(23481),c=r(2948),s=r(57900),u=r(83914),p=r(8493),f=r(58130),m=r(38143);function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function y(e){var t,r,o=(t=(0,c.D)(m.g.LOOKING_FOR_INTEGRATION,{show:!0},{storage:s.Z1.LocalStorage}),r=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,l,i=[],c=!0,s=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=a.call(r)).done)&&(i.push(n.value),i.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=r.return&&(l=r.return(),Object(l)!==l))return}finally{if(s)throw o}}return i}}(t,r)||function(e,t){if(e){if("string"==typeof e)return d(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?d(e,t):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),a=o[0],l=o[1];return a.show?n.createElement("div",{className:"d-flex justify-content-between rounded mt-3 p-2 ".concat("hVQto")},n.createElement(p.F,{appLink:e.appLink,onClick:function(){var t;return null===(t=e.closePopup)||void 0===t?void 0:t.call(e)},className:"d-inline-flex align-items-center mb-0"},n.createElement("span",{className:"ml-1 font-weight-500 text-info"},i.T.getPhrase("shared.lookingForIntegration","lookingForIntegration"))),n.createElement(u.x,{svgName:f.vn.Close,size:u.S.Small,className:"text-info d-inline-block svg-container cursor-pointer",onClick:function(){return l({show:!1})}})):n.createElement(n.Fragment,null)}var b="g-share-to-classroom";function g(e){var t;if(t=e.integrations,o().useEffect((function(){var e;t.includes(a.p.GoogleClassroom)&&(null===(e=null===gapi||void 0===gapi?void 0:gapi.sharetoclassroom)||void 0===e||e.go(b))}),[t.includes(a.p.GoogleClassroom)]),o().useEffect((function(){t.includes(a.p.MicrosoftTeams)&&(null===shareToMicrosoftTeams||void 0===shareToMicrosoftTeams||shareToMicrosoftTeams.renderButtons())}),[t.includes(a.p.MicrosoftTeams)]),!e.integrations.length)return o().createElement(y,{appLink:e.appLink,closePopup:e.closePopup});var r="".concat(l.Z.integrationContainer," rounded mx-1");return o().createElement("div",{className:"d-flex mt-2 mx-n1"},e.integrations.includes(a.p.GoogleClassroom)&&o().createElement("div",{id:b,className:"".concat(r," partial-loading-background")},o().createElement("div",{className:"g-sharetoclassroom","data-size":"32","data-url":e.url})),e.integrations.includes(a.p.MicrosoftTeams)&&o().createElement("div",{className:"teams-share-button ".concat(r," ").concat(l.Z.msTeamsContainer),"data-href":e.url,"data-button-type":"smallTransWhite","data-preview":"false","data-icon-px-size":"32"}))}},66903:(e,t,r)=>{"use strict";r.d(t,{k:()=>s});var n=r(1024),o=r(59087),a=r(99910),l=r(23481);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var c=l.T.encloseNamespace("shared.copyInput");function s(e){var t,r,l=(t=n.useState(!1),r=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,l,i=[],c=!0,s=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=a.call(r)).done)&&(i.push(n.value),i.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=r.return&&(l=r.return(),Object(l)!==l))return}finally{if(s)throw o}}return i}}(t,r)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),s=l[0],u=l[1],p=n.createElement("div",{className:"input-group"},n.createElement("input",{type:"text",autoComplete:"off",className:"form-control ".concat("normal"===e.styling?"Q1UGv":""),spellCheck:!1,value:e.value,readOnly:!0}),n.createElement("div",{className:"input-group-append"},n.createElement(o,{text:e.value},n.createElement("button",{className:"btn btn-outline-dark border border-secondary py-0 text-nowrap ".concat("J3fBx"),onClick:function(t){t.preventDefault(),e.onCopy&&e.onCopy(),s||(u(!0),setTimeout((function(){return u(!1)}),2e3))}},c(s?"copied":"copy")))));return e.label?n.createElement(a.Form.Group,null,n.createElement(a.Form.Label,null,e.label),p):p}s.defaultProps={styling:"normal"}},45500:(e,t,r)=>{"use strict";var n;r.d(t,{p:()=>n}),function(e){e.GoogleClassroom="google-classroom",e.MicrosoftTeams="microsoft-teams"}(n||(n={}))},40841:(e,t,r)=>{"use strict";r.d(t,{_:()=>i});var n=r(23481),o=r(65728),a=r(45500),l=n.T.encloseNamespace("shared.shared-utils"),i={getShareIntegrations:function(e,t){return[{id:a.p.GoogleClassroom,name:l("googleClassroom"),enabled:null!=e&&e,settingName:o.E.ShareToGoogleClassroom},{id:a.p.MicrosoftTeams,name:l("msftTeams"),enabled:null!=t&&t,settingName:o.E.ShareToMicrosoftTeams}]}}},91969:(e,t,r)=>{"use strict";var n=r(47033),o={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var r,a,l,i,c,s,u=!1;t||(t={}),r=t.debug||!1;try{if(l=n(),i=document.createRange(),c=document.getSelection(),(s=document.createElement("span")).textContent=e,s.ariaHidden="true",s.style.all="unset",s.style.position="fixed",s.style.top=0,s.style.clip="rect(0, 0, 0, 0)",s.style.whiteSpace="pre",s.style.webkitUserSelect="text",s.style.MozUserSelect="text",s.style.msUserSelect="text",s.style.userSelect="text",s.addEventListener("copy",(function(n){if(n.stopPropagation(),t.format)if(n.preventDefault(),void 0===n.clipboardData){r&&console.warn("unable to use e.clipboardData"),r&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var a=o[t.format]||o.default;window.clipboardData.setData(a,e)}else n.clipboardData.clearData(),n.clipboardData.setData(t.format,e);t.onCopy&&(n.preventDefault(),t.onCopy(n.clipboardData))})),document.body.appendChild(s),i.selectNodeContents(s),c.addRange(i),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");u=!0}catch(n){r&&console.error("unable to copy using execCommand: ",n),r&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),u=!0}catch(n){r&&console.error("unable to copy using clipboardData: ",n),r&&console.error("falling back to prompt"),a=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(a,e)}}finally{c&&("function"==typeof c.removeRange?c.removeRange(i):c.removeAllRanges()),s&&document.body.removeChild(s),l()}return u}},50030:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const n={integrationContainer:"Rkyqz",msTeamsContainer:"mPAD2",avatar:"qmP52"}},44818:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CopyToClipboard=void 0;var n=a(r(1024)),o=a(r(91969));function a(e){return e&&e.__esModule?e:{default:e}}function l(e){return l="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},l(e)}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function u(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?f(e):t}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var y=function(e){function t(){var e,r;c(this,t);for(var a=arguments.length,l=new Array(a),i=0;i<a;i++)l[i]=arguments[i];return d(f(r=u(this,(e=p(t)).call.apply(e,[this].concat(l)))),"onClick",(function(e){var t=r.props,a=t.text,l=t.onCopy,i=t.children,c=t.options,s=n.default.Children.only(i),u=(0,o.default)(a,c);l&&l(a,u),s&&s.props&&"function"==typeof s.props.onClick&&s.props.onClick(e)})),r}var r,a;return 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)}(t,e),r=t,a=[{key:"render",value:function(){var e=this.props,t=(e.text,e.onCopy,e.options,e.children),r=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["text","onCopy","options","children"]),o=n.default.Children.only(t);return n.default.cloneElement(o,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(r,!0).forEach((function(t){d(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(r).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},r,{onClick:this.onClick}))}}],a&&s(r.prototype,a),t}(n.default.PureComponent);t.CopyToClipboard=y,d(y,"defaultProps",{onCopy:void 0,options:void 0})},59087:(e,t,r)=>{"use strict";var n=r(44818).CopyToClipboard;n.CopyToClipboard=n,e.exports=n},47033:e=>{e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,r=[],n=0;n<e.rangeCount;n++)r.push(e.getRangeAt(n));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||r.forEach((function(t){e.addRange(t)})),t&&t.focus()}}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[1160],{98981:(e,t,n)=>{n.d(t,{PX:()=>r.P,YA:()=>a.Y,tN:()=>i.t});var a=n(91200),r=n(31273),i=n(48745)},3626:(e,t,n)=>{n.d(t,{J:()=>C,F:()=>j});var a=n(1024),r=n.n(a),i=n(99910),l=n(23019),c=n(96022),o=n(17464),s=n(76246),u=n(40955),d=n(91743),m=n(83345),v=n(8493),f=n(68626),p=n(54610),g=n(65858),y=n(49985),h=n(80143),b=n(85784),E=n(11025),w=n(79686),x=n(47325),A=n(90927);const N="FlUpr";var S=function(e){return!!(e&&e.data&&e.data.length)};function C(e){var t,n,a=e.video,N=e.presentationAudiences,C=e.videoAppLink,j=e.seriesAppLink,O=e.hideInteractiveBadge,I=null===(t=null==a?void 0:a.subjectPresentationAudiences)||void 0===t?void 0:t.data,k=(0,h.n)(I,N),P=(null==a?void 0:a.series)&&!!(null==a?void 0:a.series.id),L=e.thumbnailBadgePosition===w.d.Independent,T=e.thumbnailBadgePosition===w.d.Overlay,M=y.k.mergeOptions(e.analyticsOptions,{location:g.LocationContext.ClassificationHero,entity:E.M.getAnalyticsEntity(a)});return a?r().createElement(m.D.Provider,{value:"subjects.heroVideo"},r().createElement(i.Row,null,r().createElement(i.Col,{xs:12,md:6},r().createElement(l.u,{analyticsData:e.analyticsData,analyticsOptions:M,video:a,appLink:C,seriesAppLink:P?j:null,imageOptions:{size:p.h2.Medium},textPosition:f.z.Independent,type:"static",setFavourite:e.setFavourite,canFavourite:e.canFavourite,hideRating:!T||!!k,audience:T?k:null,inThumbnailBadge:e.inThumbnailBadge,newDurationStyle:e.newDurationStyle})),r().createElement(i.Col,{xs:12,md:6,className:"".concat("MRyVe"," position-relative")},r().createElement(b.Q,{analyticsData:e.analyticsData,analyticsOptions:M,video:a}),P&&r().createElement(c.M,{analyticsData:e.analyticsData,analyticsOptions:M,video:a,appLink:j,className:"text-reset"}),r().createElement("div",null,r().createElement(v.F,{analyticsData:e.analyticsData,analyticsOptions:Object.assign(Object.assign({},M),{actionType:g.UserAction.Click,descriptor:g.ClickDescriptor.Title}),appLink:C,className:"d-inline-block"},r().createElement("h3",{className:"h4"},a.name))),L&&r().createElement(o.c,{className:"pb-1"},!O&&r().createElement(s.C,{type:s.g.Interactive,data:a.interactives}),r().createElement(s.C,{type:s.g.Rating,data:a.rating}),r().createElement(s.C,{type:s.g.ProductionYear,data:a.productionYear})),r().createElement("p",{className:"mb-1"},r().createElement("span",{className:"zejMP"},a.description)),L&&r().createElement(u.P,{audience:k,border:"dark"}),e.showExtraMetadata&&r().createElement(i.Row,{className:"pt-2"},r().createElement(i.Col,{xs:2},S(a.resources)&&r().createElement("p",{className:"font-weight-bold"},r().createElement(m.x,{phrase:"resourcesHeading"})),S(a.links)&&r().createElement("p",{className:"font-weight-bold"},r().createElement(m.x,{phrase:"linksHeading"})),S(a.clips)&&r().createElement("p",{className:"font-weight-bold"},r().createElement(m.x,{phrase:"clipsHeading"})),S(a.tags)&&r().createElement("p",{className:"font-weight-bold"},r().createElement(m.x,{phrase:"tagsHeading"}))),r().createElement(i.Col,{xs:10},S(a.resources)&&r().createElement("p",null,r().createElement(m.x,{phrase:"resources",options:{smartCount:a.resources.data.length}})),S(a.links)&&r().createElement("p",null,r().createElement(m.x,{phrase:"links",options:{smartCount:a.links.data.length}})),S(a.clips)&&r().createElement("p",null,r().createElement(m.x,{phrase:"clips",options:{smartCount:a.clips.data.length}})),S(a.tags)&&r().createElement(d.P,{tags:null===(n=a.tags)||void 0===n?void 0:n.data}))),e.showVideoGuidance&&r().createElement("div",{className:"d-flex ".concat("Ax9h2")},r().createElement(A.N,{video:a}),r().createElement(x.I,{video:a,imageCdnUrl:e.imageCdnUrl}))))):r().createElement(r().Fragment,null)}function j(){return r().createElement(r().Fragment,null,r().createElement("div",{className:"partial-loading-background mb-2 ".concat("S__E9")}),r().createElement("div",{className:"row pb-3"},r().createElement("div",{className:"col-6 p1"},r().createElement("div",{className:"".concat("z0_Sm"," partial-loading-background rounded-lg")})),r().createElement("div",{className:"col-6 p1"},r().createElement("div",{className:"partial-loading-background mb-1 ".concat("xuWtC")}),r().createElement("div",{className:"partial-loading-background my-1 ".concat("fXYdC")}),r().createElement("div",{className:"d-flex"},r().createElement("div",{className:"partial-loading-background my-1 mr-1 ".concat(N)}),r().createElement("div",{className:"partial-loading-background my-1 ml-1 ".concat(N)})),r().createElement("div",{className:"partial-loading-background my-1 ".concat("YgWxP")}),r().createElement("div",{className:"partial-loading-background mt-2 ".concat("QBKwQ")}))))}C.defaultProps={thumbnailBadgePosition:w.d.Independent}},34004:(e,t,n)=>{n.d(t,{r:()=>p});var a=n(1024),r=n.n(a),i=n(49439),l=n(86764),c=n(78276),o=n(5465),s=n(40955),u=n(76246),d=n(54610),m=n(80143);function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function f(e){var t="".concat("OW8x1"," mb-0");switch(e){case l.r.LG:case l.r.MD:t+=" ".concat("uqxiL");break;case l.r.SM:case l.r.XS:t+=" ".concat("slxI5")}return t}function p(e){var t,n,a=(t=(0,i.L)({className:"vqHCl"}),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i,l,c=[],o=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;o=!1}else for(;!(o=(a=i.call(n)).done)&&(c.push(a.value),c.length!==t);o=!0);}catch(e){s=!0,r=e}finally{try{if(!o&&null!=n.return&&(l=n.return(),Object(l)!==l))return}finally{if(s)throw r}}return c}}(t,n)||function(e,t){if(e){if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?v(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),l=a[0],p=a[1],g=e.series&&e.series.subjectPresentationAudiences&&e.series.subjectPresentationAudiences.data||[],y=(0,m.n)(g,e.presentationAudiences),h=!!(g&&g.length&&y);return r().createElement("div",{ref:l},p&&r().createElement("div",{className:"p-3 text-white text-center mb-3 ".concat("qEOPN")},r().createElement("h3",{className:"h4 clamp-3"},e.series.name),!!e.series.description&&r().createElement("p",{className:f(e.mediaQuery)},e.series.description)),r().createElement(c.Z,{data:e.series.tallPoster,imageType:d.__.TallPosters,preload:e.preloadImage,imageOptions:{size:d.h2.Large},imageClassName:e.imageClass?e.imageClass:"rounded-lg"},r().createElement(o.oy,{type:o.mS.Series}),r().createElement("div",{className:"position-absolute text-white ".concat("ieonz")},h?r().createElement(s.P,{audience:y,border:"white",className:e.labelClass?e.labelClass:""}):r().createElement(u.C,{type:u.g.Rating,data:e.series.rating}))))}},87648:(e,t,n)=>{n.d(t,{$:()=>l});var a=n(1024),r=n.n(a);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var l=function(e){var t,n,a=(t=r().useState(!1),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i,l,c=[],o=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;o=!1}else for(;!(o=(a=i.call(n)).done)&&(c.push(a.value),c.length!==t);o=!0);}catch(e){s=!0,r=e}finally{try{if(!o&&null!=n.return&&(l=n.return(),Object(l)!==l))return}finally{if(s)throw r}}return c}}(t,n)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),l=a[0],c=a[1];return r().useEffect((function(){c(!!e)}),[e]),{active:l,setActive:c}}},47721:(e,t,n)=>{n.d(t,{j:()=>s});var a=n(1024),r=n.n(a),i=n(54976),l=n.n(i),c=n(83914);function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function s(e){var t,n,a=(t=r().useState(!1),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i,l,c=[],o=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;o=!1}else for(;!(o=(a=i.call(n)).done)&&(c.push(a.value),c.length!==t);o=!0);}catch(e){s=!0,r=e}finally{try{if(!o&&null!=n.return&&(l=n.return(),Object(l)!==l))return}finally{if(s)throw r}}return c}}(t,n)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),i=a[0],s=a[1];return r().createElement("div",{className:"".concat("h9Cyj"," bg-white rounded-lg box-shadow overflow-hidden"),style:{maxHeight:"".concat(285,"px")}},r().createElement("div",null,r().createElement("div",{className:"".concat("kiea4"," d-flex align-items-center p-3 ").concat(i?"box-shadow":"")},r().createElement("div",{className:"".concat("C3rvx"," bg-").concat(e.iconVariant," text-white rounded-circle")},r().createElement(c.x,{svgName:e.svgName,size:c.S.Large})),r().createElement("h2",{className:"h6 mb-0 pl-2"},e.heading)),r().createElement(l(),{onUpdate:function(e){var t=e.top;i&&0===t?s(!1):!i&&t>0&&s(!0)},autoHeight:!0,autoHeightMax:215},r().createElement("div",{className:"pb-3 px-3"},e.children))))}},956:(e,t,n)=>{n.d(t,{C:()=>s});var a=n(1024),r=n.n(a),i=n(30314),l=n(49439);function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var o=10,s=r().forwardRef((function(e,t){var n,a,s,u,d=r().useRef(),m=document.body.getBoundingClientRect(),v=null===(n=t.current)||void 0===n?void 0:n.getBoundingClientRect(),f=null===(a=d.current)||void 0===a?void 0:a.getBoundingClientRect(),p=(s=(0,l.X)(),u=2,function(e){if(Array.isArray(e))return e}(s)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i,l,c=[],o=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;o=!1}else for(;!(o=(a=i.call(n)).done)&&(c.push(a.value),c.length!==t);o=!0);}catch(e){s=!0,r=e}finally{try{if(!o&&null!=n.return&&(l=n.return(),Object(l)!==l))return}finally{if(s)throw r}}return c}}(s,u)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}(s,u)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),g=p[0],y=p[1];if(r().useEffect((function(){e.setActive(y)}),[y]),!t.current)return r().createElement(r().Fragment,null);var h=e.childComponent,b=(e.show||y)&&!!d.current;return(0,i.createPortal)(r().createElement("div",{ref:g,className:"gZ3Ae",style:function(){if(!b||!f)return{};var e=(null==f?void 0:f.height)+20,t=v.left-m.left-(240-v.width/2),n=m.right-f.width;t>n&&(t-=t-n+o),t<o&&(t+=Math.abs(t)+o);var a=v.top-m.top-f.height-20;return a<window.scrollY+o&&a+v.height+e+e<window.scrollY+window.innerHeight-o&&(a+=v.height+e),{left:t,top:a,height:e,padding:"".concat(o,"px 0"),visibility:"visible"}}()},r().createElement(h,Object.assign({ref:d,isShowing:b},e.childProps))),document.body)}))},47325:(e,t,n)=>{n.d(t,{I:()=>y});var a=n(1024),r=n.n(a),i=n(49439),l=n(11025),c=n(6296),o=n(23481),s=n(58130),u=n(47721),d=n(75931),m=o.T.encloseNamespace("shared.whatsIncluded"),v=r().forwardRef((function(e,t){return r().createElement("div",{ref:t},r().createElement(u.j,{iconVariant:"blue",heading:m("whatsIncluded"),svgName:s.vn.Video},r().createElement(d.V,{video:e.video,imageCdnUrl:e.imageCdnUrl,isShowing:e.isShowing})))})),f=n(956),p=n(87648);function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function y(e){var t,n,a=(t=(0,i.L)({delay:50}),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i,l,c=[],o=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;o=!1}else for(;!(o=(a=i.call(n)).done)&&(c.push(a.value),c.length!==t);o=!0);}catch(e){s=!0,r=e}finally{try{if(!o&&null!=n.return&&(l=n.return(),Object(l)!==l))return}finally{if(s)throw r}}return c}}(t,n)||function(e,t){if(e){if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?g(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),o=a[0],s=a[1],u=(0,p.$)(s),d=u.active,m=u.setActive;return r().useMemo((function(){return l.M.showWhatsIncluded(e.video)}),[e.video])?r().createElement(r().Fragment,null,r().createElement(c.V,{ref:o,active:d,setActive:m}),r().createElement(f.C,{childComponent:v,childProps:{video:e.video,imageCdnUrl:e.imageCdnUrl},show:d,ref:o,setActive:m})):r().createElement(r().Fragment,null)}},90927:(e,t,n)=>{n.d(t,{N:()=>y});var a=n(1024),r=n.n(a),i=n(49439),l=n(16226),c=n(23481),o=n(58130),s=n(47721),u=n(38803),d=c.T.encloseNamespace("shared.whyThisVideo"),m=r().forwardRef((function(e,t){return r().createElement("div",{ref:t},r().createElement(s.j,{iconVariant:"navy",heading:d("whyThisVideo"),svgName:o.vn.StarOutline},r().createElement(u.p,{video:e.video})))})),v=n(956),f=n(11025),p=n(87648);function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function y(e){var t,n,a=(t=(0,i.L)({delay:50}),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i,l,c=[],o=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;o=!1}else for(;!(o=(a=i.call(n)).done)&&(c.push(a.value),c.length!==t);o=!0);}catch(e){s=!0,r=e}finally{try{if(!o&&null!=n.return&&(l=n.return(),Object(l)!==l))return}finally{if(s)throw r}}return c}}(t,n)||function(e,t){if(e){if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?g(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),c=a[0],o=a[1],s=(0,p.$)(o),u=s.active,d=s.setActive;return r().useMemo((function(){return f.M.showWhyThisVideo(e.video)}),[e.video])?r().createElement(r().Fragment,null,r().createElement(l.A,{ref:c,active:u,setActive:d}),r().createElement(v.C,{childComponent:m,childProps:{video:e.video},show:u,ref:c,setActive:d})):r().createElement(r().Fragment,null)}},91028:(e,t,n)=>{n.d(t,{V:()=>y,l:()=>v});var a=n(1024),r=n(52641),i=n(67453),l=n(54610),c=n(8493),o=n(5465),s=n(83345),u=n(2284),d=n(65858),m=n(17836),v=82,f=function(e){var t=e.name,n=e.multiline,r="".concat(m.Z.comingSoonPanel," \n d-flex flex-column align-items-center justify-content-center px-3 text-center"),i="";return n?i+=" ".concat(m.Z.clamped," clamp-2"):(r+=" text-nowrap",i+=" text-truncate"),a.createElement("div",{className:r},a.createElement("small",{className:"text-muted"},a.createElement(s.x,{namespace:"shared.subjectWidgetItem",phrase:"comingSoon"})),a.createElement("p",{className:"".concat(m.Z.name," h6")},a.createElement("span",{className:i},t)))},p=function(e){var t=e.name,n=e.multiline,r=e.subtitle,i="px-3 text-center d-flex flex-column justify-content-center",l="".concat(m.Z.name," h6");return n?l+=" clamp-2 text-left":(i+=" text-nowrap text-truncate",l+=" text-truncate mb-0 pb-1"),a.createElement("div",{className:i},r&&a.createElement("div",{className:"text-secondary clamp-1 ".concat(m.Z.text)},r),a.createElement("div",{className:l,title:n?"":t},t))};function g(e){var t,n,c,s=(null===(t=e.data)||void 0===t?void 0:t.status)===u.W.ComingSoon,d=i.j.createUrl(null===(n=e.data.cover)||void 0===n?void 0:n.url,{size:e.isLarge?l.h2.Medium:l.h2.Small}),v=function(e,t){var n;if((null==t?void 0:t.length)>=r._.MULTI_PRESENTATION_THRESHOLD)return null===(n=null==t?void 0:t.find((function(t){return t.id===e})))||void 0===n?void 0:n.name}(null==e?void 0:e.data.presentationId,null==e?void 0:e.availablePresentations),g={name:e.data.name,multiline:e.isLarge||e.multiline,subtitle:(null===(c=e.getSubtitle)||void 0===c?void 0:c.call(e,e.data))||v};return a.createElement("div",{className:"border d-flex position-relative ".concat(m.Z.widgetItem),id:e.data.id},a.createElement("div",{className:"".concat(m.Z.imagePanel," ").concat(e.isLarge?m.Z.large:"")},a.createElement("div",{className:m.Z.image,style:d?{backgroundImage:"url('".concat(d,"')")}:{}}),a.createElement(o.oy,{type:o.mS.Subject,extraClasses:e.isLarge?m.Z.large:""})),s?a.createElement(f,Object.assign({},g)):a.createElement(p,Object.assign({},g)))}var y=a.memo((function(e){var t,n,r,i,l=e.getChildAppLink?e.getChildAppLink(e.data):null,o=(null===(t=e.data)||void 0===t?void 0:t.status)===u.W.ComingSoon,s=Object.assign(Object.assign({},e.analyticsData),{id:null===(n=e.data)||void 0===n?void 0:n.id,name:null===(r=e.data)||void 0===r?void 0:r.name,presentationId:null===(i=e.data)||void 0===i?void 0:i.presentationId,comingSoon:!!o}),v=Object.assign(Object.assign({location:d.LocationContext.ClassificationListItem},e.analyticsOptions),{actionType:d.UserAction.Click,entity:d.EntityType.Classification,descriptor:d.ClickDescriptor.Cover}),f={data:e.data,isLarge:e.isLarge,availablePresentations:e.availablePresentations,getSubtitle:e.getSubtitle,multiline:e.multiline};return l?a.createElement(c.F,{className:m.Z.appLink,appLink:l,analyticsData:s,analyticsOptions:v},a.createElement(g,Object.assign({},f))):a.createElement(g,Object.assign({},f))}))},2284:(e,t,n)=>{var a;n.d(t,{W:()=>a}),function(e){e.Draft="Draft",e.ComingSoon="ComingSoon",e.Published="Published"}(a||(a={}))},79686:(e,t,n)=>{var a;n.d(t,{d:()=>a}),function(e){e[e.Overlay=1]="Overlay",e[e.Independent=2]="Independent"}(a||(a={}))},17836:(e,t,n)=>{n.d(t,{Z:()=>a});const a={appLink:"AiJnp",name:"YvZtY",widgetItem:"h7_j7",text:"eu1no",imagePanel:"RYgR7",partialLargeImage:"g9eTq",image:"RNQOy",dragHandle:"duGE3",large:"YdRuN",comingSoonPanel:"Qjdcy",editSubjectsItem:"JD4tV",allSubjectsItem:"TxMRU",logoContainer:"KzrsJ",draggingItem:"eOdAc",partialLargeFallback:"_Lyi1",partialIcon:"Aft7O"}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[1219],{92869:(e,t,a)=>{a.d(t,{t:()=>c});var n=a(48088),r=a(95846),c={preventScrollTop:function(){n.Radio.channel(r.G.SHELL).trigger("prevent:scroll:top")}}},30727:(e,t,a)=>{a.d(t,{U:()=>r});var n=a(1024);function r(e){var t=e.count,a=void 0===t?6:t;return n.createElement("div",{className:"d-flex"},n.createElement("div",{className:"d-flex pl-1"},Array(a).fill(null).map((function(e,t){return n.createElement("div",{key:t,className:"".concat("ThKam"," partial-loading-background mx-1")})}))))}},49935:(e,t,a)=>{a.d(t,{Oo:()=>m,b2:()=>d});var n=a(1024),r=a(8493),c=a(5859),l=a(86764),o=a(3747),i=a(83914),s=a(58130),u=function(e){var t=e.breadcrumb,a=t.name,c=t.appLink,l=t.active,o=e.withBackIcon;return n.createElement("li",{className:"breadcrumb-item".concat(l?" active":"")},l?n.createElement("strong",null,a):n.createElement(r.F,{appLink:c},o&&n.createElement(i.x,{svgName:s.vn.ChevronLeft,size:i.S.Small}),n.createElement("span",{className:o?"ml-2":""},a)))},m=function(e){var t=e.breadcrumbs,a=(0,o.a)(l.r.XS),r=null==t?void 0:t.length;return!r||a&&r<2?n.createElement(n.Fragment,null):a?n.createElement("ol",{className:"breadcrumb m-0 p-0"},n.createElement(u,{breadcrumb:t[r-2],withBackIcon:!0})):n.createElement("ol",{className:"breadcrumb m-0 p-0"},t.map((function(e,t){return n.createElement(u,{key:t,breadcrumb:e})})))},d=n.memo((function(e){var t=e.numItems,a=void 0===t?3:t;return(0,o.a)(l.r.XS)?n.createElement("div",{className:"partial-loading-background",style:{height:"1.3125rem",width:"6rem"}}):n.createElement("nav",{"aria-label":"breadcrumb"},n.createElement("ol",{className:"breadcrumb m-0 p-0"},c.u.getPartialLoadingItems({numItems:a}).map((function(e,t){var a=e.width;return n.createElement("li",{key:t,className:"breadcrumb-item"},n.createElement("span",{className:"d-inline-block partial-loading-background",style:{width:a},dangerouslySetInnerHTML:{__html:" "}}))}))))}))},37395:(e,t,a)=>{a.d(t,{t:()=>m});var n=a(1024),r=a(99910),c=a(92869),l=a(8493),o=a(83345),i=a(49985),s=a(65858);function u(e,t){var a;if(!t)return null;var n=null!==(a=e.params)&&void 0!==a?a:{};return{application:e.application,action:e.action,args:e.args,params:Object.assign(Object.assign({},n),{cursor:t})}}function m(e){var t=e.appLink,a=e.cursors,m=e.className,d=e.buttonVariant,p=e.onClick;function g(e){t&&c.t.preventScrollTop(),i.k.logUserAction({page:e},{location:s.LocationContext.Pagination,entity:s.EntityType.Pagination,actionType:s.UserAction.Navigate}),p&&p(a[e])}return t?n.createElement(o.D.Provider,{value:"shared.pagination"},n.createElement("div",{className:m},n.createElement(l.F,{appLink:u(t,a.previous),className:"btn btn-".concat(d," mr-1 ").concat(a.previous?"":"disabled"),onClick:function(){return g("previous")}},n.createElement(o.x,{phrase:"previous"})),n.createElement(l.F,{appLink:u(t,a.next),className:"btn btn-".concat(d," ").concat(a.next?"":"disabled"),onClick:function(){return g("next")}},n.createElement(o.x,{phrase:"next"})))):n.createElement(o.D.Provider,{value:"shared.pagination"},n.createElement("div",{className:m},n.createElement(r.Button,{variant:d,className:"mr-1 ".concat(a.previous?"":"disabled"),onClick:function(){return g("previous")}},n.createElement(o.x,{phrase:"previous"})),n.createElement(r.Button,{variant:d,className:"btn ".concat(a.next?"":"disabled"),onClick:function(){return g("next")}},n.createElement(o.x,{phrase:"next"}))))}m.defaultProps={className:"py-2",buttonVariant:"secondary"}},16035:(e,t,a)=>{a.d(t,{z:()=>u});var n=a(1024),r=a.n(n),c=a(8493),l=a(44829),o=a(58130),i=a(83914),s=a(91807);function u(e){var t,a,n=e.tag,u=e.appLink,m=e.onClick,d=e.disabled,p=e.tagClass,g=void 0===p?"tag":p,v=n.name.toLowerCase(),f=null===(t=n.tagType)||void 0===t?void 0:t.toLowerCase(),b="badge-pill py-1 px-2 my-1 mr-1 ".concat(g," ").concat(function(e){switch(e){case l.Q.Pedagogy:case l.Q.Skill:return"pedagogy-tag text-white";case l.Q.Hidden:return"hidden-tag";case l.Q.Normal:default:return""}}(f)),y=f===l.Q.Normal&&!!(null===(a=e.themeColours)||void 0===a?void 0:a.secondary);y&&(b+=" text-white"),!u&&!m||d||(b+=" cursor-pointer"),d&&(b+=" "+s.Z.disabled),e.onRemove&&(b+=" "+s.Z.badge),u||(b+=" d-inline-block");var E=y?{backgroundColor:e.themeColours.secondary}:{};return u?r().createElement(c.F,{onClick:m,appLink:u,className:b,title:v,style:E},r().createElement("span",{className:"text-truncate text-nowrap"},v)):r().createElement("span",{onClick:m,className:b,title:v,style:E},r().createElement("span",{className:"text-truncate text-nowrap"},v,e.onRemove&&r().createElement("button",{onClick:e.onRemove,className:"".concat(s.Z.close," close font-size-normal")},r().createElement(i.x,{size:i.S.Small,svgName:o.vn.Close,className:"d-inline-block svg-container"}))))}},91286:(e,t,a)=>{a.d(t,{v:()=>l});var n=a(1024),r=a(94644);function c(e){return e.map((function(e){return e.statusCode})).join(":")}function l(e,t,a){var l=Array.isArray(e)?e:[e];(0,n.useEffect)((function(){l.forEach((function(e){(0,r.r)(e.statusCode,t,a)}))}),[c(l),t,a])}},299:(e,t,a)=>{a.d(t,{X:()=>o});var n=a(1024),r=a.n(n),c=a(94631),l=a(69217),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=t.idField,n=void 0===a?"id":a,o=t.persistNamespace,i=t.initialState?t.initialState:new Map,s=r().useRef(i),u=(0,l.N)(),m=(0,c.D)(e),d=(0,c.D)(o);function p(){s.current.clear(),u()}function g(){var t=!h();e.forEach((function(e){t?s.current.set(e[n].toString(),!0):s.current.delete(e[n].toString())})),u()}function v(e){var t=!s.current.get(e.toString());t?s.current.set(e.toString(),t):s.current.delete(e.toString()),u()}function f(e){return"number"==typeof e?e=e.toString():"string"!=typeof e&&(e=e[n].toString()),s.current.get(e)}function b(){return Array.from(s.current.keys())}function y(){(null==e?void 0:e.length)&&(e.forEach((function(e){s.current.delete(e[n].toString())})),u())}function E(){return!!(null==e?void 0:e.length)&&!!e.find((function(e){return f(e)}))}function h(){return!!(null==e?void 0:e.length)&&e.every(f)}function k(e){e.forEach((function(e){s.current.set(e,!0)})),u()}function N(){return s.current.size}function w(){return s.current}return r().useEffect((function(){t.initialState||o&&d===o||(null==m?void 0:m.map((function(e){return e[n]})).join())!==(null==e?void 0:e.map((function(e){return e[n]})).join())&&p()}),[m,d,e,t.initialState]),r().useEffect((function(){var e;(null===(e=t.preselectedIds)||void 0===e?void 0:e.length)&&k(t.preselectedIds)}),[]),{onToggleBulk:g,onToggleItem:v,getSelected:b,isChecked:f,bulkChecked:h(),deselectAll:y,hasSomeSelections:E,setSelected:k,getSelectedCount:N,reset:p,getMap:w}}},69217:(e,t,a)=>{a.d(t,{N:()=>l});var n=a(1024),r=a.n(n);function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=new Array(t);a<t;a++)n[a]=e[a];return n}var l=function(){var e,t,a=(e=r().useState(Date.now()),t=2,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,r,c,l,o=[],i=!0,s=!1;try{if(c=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;i=!1}else for(;!(i=(n=c.call(a)).done)&&(o.push(n.value),o.length!==t);i=!0);}catch(e){s=!0,r=e}finally{try{if(!i&&null!=a.return&&(l=a.return(),Object(l)!==l))return}finally{if(s)throw r}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?c(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[1];return function(){a(Date.now())}}},94631:(e,t,a)=>{a.d(t,{D:()=>c});var n=a(1024),r=a.n(n);function c(e){var t=r().useRef();return r().useEffect((function(){t.current=e})),t.current}},58418:(e,t,a)=>{a.r(t),a.d(t,{UserAuditLogView:()=>le});var n=a(1024),r=a.n(n),c=a(20354),l=a(23049),o=a(23481),i=a(91286),s=a(57900),u=a(76881),m=a(83345),d=a(49935),p=a(89422),g=a(89965),v=a(299),f=a(37395),b=a(75795),y=a(69883),E=a(2102),h=a(69674),k=a(110),N=a(8493),w=a(92583);var S=a(89725),x=a(86794),j=a(83914);function C(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=new Array(t);a<t;a++)n[a]=e[a];return n}var T="userManager.userAuditLogTable",L=o.T.encloseNamespace(T),A={table:"striped-list no-full-width pb-3",header:"font-weight-500 pb-1",headerCell:"px-2 py-1",row:"striped-row rounded audit-log-row",cell:"d-flex align-items-center py-3 px-2"};function I(e){var t,a,n,c,l=(t=e.jobs.data,a=e.isChecked,t.map((function(e){var t=k.O.format(e.dateCreated,"DD/MM/YYYY, hh:mmA");return{id:e.id,checked:a(e.id),actionType:w.b.mapJobTypeToName(e.type),userType:w.b.mapDataTypeToUserType(e.dataType),date:t,performedBy:{name:e.submitterName,submittedByClickView:e.submittedByClickView}}})));return r().createElement(h.i,{columns:(n=e.appLinks.bulkActionSummary,c=e.onToggleCheckbox,[{Header:"",id:"checkboxes",accessor:function(e){return{id:e.id,checked:e.checked}},Cell:function(e){return r().createElement("div",{className:"w-100 text-center"},r().createElement(g.X,{id:e.value.id,checked:e.value.checked,onChange:function(){return c(e.value.id)}}))},width:10},{Header:L("action"),accessor:"actionType",id:"actionType",Cell:function(e){var t=e.value;return r().createElement("div",{className:"w-100"},t)},width:20},{Header:L("users"),accessor:"userType",id:"userType",Cell:function(e){var t=e.value;return r().createElement("div",{className:"w-100"},function(){switch(t){case u.Y.Learner:return L("students");case u.Y.Staff:return L("staff");case u.Y.Unknown:default:return L("unknown")}}())},width:10},{Header:L("date"),accessor:"date",id:"date",Cell:function(e){var t=e.value;return r().createElement("div",{className:"w-100"},t)},width:20},{Header:L("performedBy"),accessor:"performedBy",id:"performedBy",Cell:function(e){return r().createElement("div",{className:"w-100 d-flex align-items-center"},e.value.submittedByClickView&&r().createElement(x.b,{className:"mr-1",size:j.S.Small},r().createElement(S.F,null)),e.value.name)},width:20},{Header:"",accessor:"id",id:"seeMore",Cell:function(e){var t,a,c=e.value;return r().createElement("div",{className:"w-100 d-flex justify-content-right"},r().createElement(N.F,{className:"info-link text-right mr-3 ml-auto ".concat("uymuO"),appLink:Object.assign(Object.assign({},n),{args:(null===(t=n.args)||void 0===t?void 0:t.length)?[].concat((a=n.args,function(e){if(Array.isArray(e))return C(e)}(a)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(a)||function(e,t){if(e){if("string"==typeof e)return C(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?C(e,t):void 0}}(a)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),[c]):[c]})},r().createElement(m.x,{namespace:T,phrase:"seeMore"})))},width:30}]),data:l,theme:A})}var O=a(63660),M=a(61717),P=a(65858),R="userManager.userAuditLogFilters";function B(e){var t=[O.x$.SortBy([{id:"newest",name:o.T.getPhrase(R,"newest"),default:!0},{id:"oldest",name:o.T.getPhrase(R,"oldest")}]),O.x$.BulkActionType(),O.x$.UserType()];return r().createElement(M.J,{queryParams:e.queryParams,mainFilters:t,appLink:e.appLinks.auditLog,analyticsOptions:{entity:P.EntityType.BatchJob,location:P.LocationContext.UserAuditLog},hideHeading:!0,hideDivider:!0,constantIndices:[]})}var U=a(23232),F="userManager.auditLogEmptyState";function _(e){return r().createElement(U.u,null,r().createElement(U.u.Image,{src:e.imageUrl}),r().createElement(U.u.Heading,null,r().createElement(m.x,{namespace:F,phrase:"heading"})),r().createElement(U.u.Info,null,r().createElement(m.x,{namespace:F,phrase:"info"})))}function D(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=new Array(t);a<t;a++)n[a]=e[a];return n}var J="userManager.auditLog",Y=o.T.encloseNamespace(J);function H(e){var t,a,n,c,l=s.SG.get(p.K.AUDIT_LOG_REFERRER_KEY),o=(n=r().useState(!1),c=2,function(e){if(Array.isArray(e))return e}(n)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,r,c,l,o=[],i=!0,s=!1;try{if(c=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;i=!1}else for(;!(i=(n=c.call(a)).done)&&(o.push(n.value),o.length!==t);i=!0);}catch(e){s=!0,r=e}finally{try{if(!i&&null!=a.return&&(l=a.return(),Object(l)!==l))return}finally{if(s)throw r}}return o}}(n,c)||function(e,t){if(e){if("string"==typeof e)return D(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?D(e,t):void 0}}(n,c)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),i=o[0],h=o[1],k=(0,v.X)(e.jobs.data),N=(0,y.Z)();return r().createElement(r().Fragment,null,r().createElement("h1",{className:"h2"},r().createElement(m.x,{namespace:J,phrase:"heading"})),r().createElement("div",{className:"pb-3"},r().createElement("div",{className:"d-flex justify-content-between"},r().createElement(d.Oo,{breadcrumbs:[{name:Y("settingsBreadcrumb"),appLink:e.appLinks.settings},{name:Y(l===u.Y.Learner?"studentManager":"staffManager"),appLink:e.appLinks.userManager},{name:Y("heading"),active:!0}]}),r().createElement("p",{className:"mb-0 font-weight-500"},r().createElement(m.x,{namespace:J,phrase:"totalJobs",options:{showing:e.jobs.data.length,smartCount:e.jobs.count}})))),r().createElement("div",{className:"d-flex align-items-center pb-2"},r().createElement(g.X,{className:"NMw5T",id:"bulk-audit-log-checkbox",checked:k.bulkChecked,onChange:k.onToggleBulk,indeterminate:k.hasSomeSelections()}),r().createElement("div",{className:"ml-4 pl-3"},r().createElement(B,{queryParams:e.queryParams,appLinks:e.appLinks})),r().createElement(E.m,{variant:"dark",className:"ml-auto",onClick:function(){if(!i){h(!0);var t=k.getSelected();e.onClickExport(t).then((function(){return N.success(Y("exportSuccess"))})).catch((function(){return N.error(Y("exportError"))})).finally((function(){return h(!1)}))}},disabled:!k.hasSomeSelections()||i,showSpinner:i},r().createElement(m.x,{namespace:J,phrase:"export"}))),(null===(t=e.jobs.data)||void 0===t?void 0:t.length)?r().createElement(I,{jobs:e.jobs,appLinks:e.appLinks,onToggleCheckbox:k.onToggleItem,isChecked:k.isChecked}):r().createElement(_,{imageUrl:e.emptyStateImageUrl}),!!(null===(a=e.jobs.pagination)||void 0===a?void 0:a.cursors)&&r().createElement(f.t,{className:"p-0 text-right pb-3",cursors:e.jobs.pagination.cursors,appLink:b.O.getCurrentRoute().appLink,buttonVariant:"outline-dark"}))}var q=a(30727);const G="HkuOS",V="Z5jLG",X="rLxYh",Z="QZzab",z="Wf_Jp",K="Ubtmj",Q="XdP6u",$="kRMMH";function W(){return r().createElement("div",{className:"d-flex striped-row rounded py-3 ".concat("mwigG")},r().createElement("div",{className:"".concat(V," d-flex justify-content-center")},r().createElement("div",{className:"partial-loading-background ".concat(G," ml-0")})),r().createElement("div",{className:"".concat(X)},r().createElement("div",{className:"partial-loading-background ".concat("DvDvW")})),r().createElement("div",{className:"".concat(Z)},r().createElement("div",{className:"partial-loading-background ".concat("goKpg")})),r().createElement("div",{className:"".concat(z)},r().createElement("div",{className:"partial-loading-background ".concat("ejYGb")})),r().createElement("div",{className:"".concat(K)},r().createElement("div",{className:"partial-loading-background ".concat("NhjyL")})),r().createElement("div",{className:"".concat(Q)}," "))}function ee(){return r().createElement("div",{className:"d-flex py-2 mb-1"},r().createElement("div",{className:"".concat(V)}," "),r().createElement("div",{className:"".concat(X)},r().createElement("div",{className:"partial-loading-background ".concat($)})),r().createElement("div",{className:"".concat(Z)},r().createElement("div",{className:"partial-loading-background ".concat($)})),r().createElement("div",{className:"".concat(z)},r().createElement("div",{className:"partial-loading-background ".concat($)})),r().createElement("div",{className:"".concat(K)},r().createElement("div",{className:"partial-loading-background ".concat($)})),r().createElement("div",{className:"".concat(Q)}," "))}function te(){return r().createElement(r().Fragment,null,r().createElement("div",{className:"mb-3 mt-n1"},r().createElement(ee,null),r().createElement("div",{className:"striped-list no-full-width"},r().createElement(W,null),r().createElement(W,null),r().createElement(W,null),r().createElement(W,null),r().createElement(W,null),r().createElement(W,null),r().createElement(W,null),r().createElement(W,null),r().createElement(W,null),r().createElement(W,null),r().createElement(W,null),r().createElement(W,null))))}function ae(){return r().createElement(r().Fragment,null,r().createElement("div",{className:"partial-loading-background mb-2 ".concat("rfiJl")}),r().createElement("div",{className:"pb-3"},r().createElement("div",{className:"d-flex justify-content-between"},r().createElement(d.b2,null),r().createElement("div",{className:"partial-loading-background ".concat("h8k_u")}))),r().createElement("div",{className:"d-flex align-items-center pb-2"},r().createElement("div",{className:"partial-loading-background ".concat(G)}),r().createElement("div",{className:"ml-4 pl-3"},r().createElement(q.U,{count:3})),r().createElement("div",{className:"ml-auto partial-loading-background ".concat("Iul7S")})),r().createElement(te,null))}var ne=a(99742),re=a(29613),ce=a(18087);function le(e){var t=s.SG.get(p.K.AUDIT_LOG_REFERRER_KEY),a=c.a.useBasicFetch(re.q.getJobs(e.queryParams));(0,i.v)(a),(0,l.o)(o.T.getPhrase("userManager.userAuditLogView","pageTitle"));var n=c.a.useGetFetchAsync(),u=(0,ce.Y)(t);return a.hasCompleted?r().createElement("div",{className:"px-3"},r().createElement(H,{jobs:a.data,appLinks:u,queryParams:e.queryParams,onClickExport:function(e){return n(re.q.sendJobReports(e))},emptyStateImageUrl:ne.W.EmptyStates.Search.RESULTS})):r().createElement("div",{className:"px-3"},r().createElement(ae,null))}},29613:(e,t,a)=>{a.d(t,{q:()=>c});var n=a(99940),r=a(97395),c={createJob:function(e,t,a){return{url:"{gateway}/v1/batch/jobs",key:"create:job",type:n.k.POST,data:e,success:t,error:a}},getJobs:function(e){var t={},a=[],n=[];return e.cursor&&(t.cursor=e.cursor),e.sort&&("oldest"===e.sort?t.order="ASC":t.order="DESC"),e.bulkActionType&&(a=Array.isArray(e.bulkActionType)?e.bulkActionType:[e.bulkActionType],t.type=a),e.userType&&(n=Array.isArray(e.userType)?e.userType:[e.userType],t.dataType=n),{url:r._.urlBuilder("{gateway}/v1/batch/jobs",t),key:"batch:jobs:".concat(e.cursor,":").concat(e.sort,":").concat(a.sort().join(":"),":").concat(n.sort().join(":"))}},getJob:function(e){return{url:"{gateway}/v1/batch/jobs/".concat(e),key:"job:".concat(e)}},getJobProgress:function(e,t,a){return{url:"{gateway}/v1/batch/jobs/".concat(e,"/progress"),key:"job:".concat(e,":progress"),invalidationKeys:"job:".concat(e,":progress"),success:t,error:a}},getJobResults:function(e,t,a,n,c){var l={status:t};return a&&(l.cursor=a),{url:r._.urlBuilder("{gateway}/v1/batch/jobs/".concat(e,"/results"),l),key:"job:".concat(e,":results:").concat(t,":").concat(a),success:n,error:c}},getYearGroupRolloverStatus:function(e){return{url:"{gateway}/v1/batch/validations/customers/".concat(e,"/year-group-roll-over"),key:"year:group:rollover:status"}},sendJobReports:function(e){return{url:"{gateway}/v1/batch/results/export",key:"send:job:reports:".concat(e.sort().join(":")),type:n.k.POST,data:{jobIds:e}}},getJobSummary:function(e){return{url:"{gateway}/v1/batch/jobs/".concat(e,"/summary"),key:"job:summary:".concat(e)}}}},91807:(e,t,a)=>{a.d(t,{Z:()=>n});const n={tagList:"Zw6d9",disabled:"jlL1c",partialTag:"too_N",badge:"OjtN8",close:"X9joI"}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[1285],{70197:(e,t,r)=>{var n;r.d(t,{q:()=>n}),function(e){e.YearGroupValues="yearGroupValues",e.Status="status"}(n||(n={}))},299:(e,t,r)=>{r.d(t,{X:()=>c});var n=r(1024),a=r.n(n),o=r(94631),s=r(69217),c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.idField,n=void 0===r?"id":r,c=t.persistNamespace,i=t.initialState?t.initialState:new Map,l=a().useRef(i),u=(0,s.N)(),d=(0,o.D)(e),m=(0,o.D)(c);function p(){l.current.clear(),u()}function g(){var t=!E();e.forEach((function(e){t?l.current.set(e[n].toString(),!0):l.current.delete(e[n].toString())})),u()}function f(e){var t=!l.current.get(e.toString());t?l.current.set(e.toString(),t):l.current.delete(e.toString()),u()}function v(e){return"number"==typeof e?e=e.toString():"string"!=typeof e&&(e=e[n].toString()),l.current.get(e)}function y(){return Array.from(l.current.keys())}function h(){(null==e?void 0:e.length)&&(e.forEach((function(e){l.current.delete(e[n].toString())})),u())}function S(){return!!(null==e?void 0:e.length)&&!!e.find((function(e){return v(e)}))}function E(){return!!(null==e?void 0:e.length)&&e.every(v)}function k(e){e.forEach((function(e){l.current.set(e,!0)})),u()}function b(){return l.current.size}function w(){return l.current}return a().useEffect((function(){t.initialState||c&&m===c||(null==d?void 0:d.map((function(e){return e[n]})).join())!==(null==e?void 0:e.map((function(e){return e[n]})).join())&&p()}),[d,m,e,t.initialState]),a().useEffect((function(){var e;(null===(e=t.preselectedIds)||void 0===e?void 0:e.length)&&k(t.preselectedIds)}),[]),{onToggleBulk:g,onToggleItem:f,getSelected:y,isChecked:v,bulkChecked:E(),deselectAll:h,hasSomeSelections:S,setSelected:k,getSelectedCount:b,reset:p,getMap:w}}},69217:(e,t,r)=>{r.d(t,{N:()=>s});var n=r(1024),a=r.n(n);function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var s=function(){var e,t,r=(e=a().useState(Date.now()),t=2,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,o,s,c=[],i=!0,l=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;i=!1}else for(;!(i=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);i=!0);}catch(e){l=!0,a=e}finally{try{if(!i&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(l)throw a}}return c}}(e,t)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[1];return function(){r(Date.now())}}},94631:(e,t,r)=>{r.d(t,{D:()=>o});var n=r(1024),a=r.n(n);function o(e){var t=a().useRef();return a().useEffect((function(){t.current=e})),t.current}},36511:(e,t,r)=>{r.d(t,{I:()=>a});var n=r(53957);function a(e){switch(e){case n.ClassroomGroupColour.Pink:return"pink";case n.ClassroomGroupColour.Orange:return"orange";case n.ClassroomGroupColour.Green:return"green";case n.ClassroomGroupColour.Blue:return"blue";case n.ClassroomGroupColour.Purple:return"purple";case n.ClassroomGroupColour.Indigo:return"indigo";default:return"pink"}}},6925:(e,t,r)=>{r.r(t),r.d(t,{ClassroomStudentsView:()=>fe});var n=r(1024),a=r.n(n),o=r(58566),s=r(20354),c=r(23481),i=r(23049),l=r(31949),u=r(39151),d=r(76881),m=r(16714),p=r(22902),g=r(65858),f=r(49985),v=r(88630),y=r(81886),h=r(69883),S=r(83345),E=r(11607),k=r(10874),b=r(83914),w=r(58130),C=r(89965),T=r(3747),N=r(86764),U=r(97291),I=r(14070),A=r(299),P=r(79014),O=r(83657),x=r(10038),G=r(20789),D=r(55452),j=r(99910),M=r(8493),L=r(36511);function R(e){var t;return e.group?a().createElement("div",{className:"classroom-pill text-white bg-".concat((0,L.I)(null===(t=e.group.metadata)||void 0===t?void 0:t.colour))},e.group.name):a().createElement(a().Fragment,null)}function F(e){return e.count?a().createElement(E.L,{onClick:e.onClick,className:"classroom-pill bg-white border border-dark"},"+",e.count):a().createElement(a().Fragment,null)}var _="classrooms.classroomGroupDropdown",B=function(e,t){return e.filter((function(e){return t.users.data.find((function(t){return t.id.toString()===e.id.toString()}))})).length};function H(e){var t,r=(0,A.X)(e.groups,{preselectedIds:e.preselections.map((function(e){return e.id}))}),n=r.onToggleItem,o=r.isChecked;a().useEffect((function(){e.groups.forEach((function(t){var r=B(e.selectedStudents,t);(!r||r!==e.selectedStudents.length||o(t.id))&&(r||!o(t.id))||n(t.id)}))}));var s,i,l={alignRight:!!e.alignRight};return e.disabled&&(l.show=!1),a().createElement(j.Dropdown,Object.assign({},l),a().createElement(j.Dropdown.Toggle,{as:"div",id:e.id,className:"".concat(e.disabled?"text-light":"cursor-pointer"," ").concat("mr-2 d-inline-block svg-container sm"," no-caret")},a().createElement(b.x,{svgName:w.vn.Group,title:c.T.getPhrase(_,"addToGroupTooltip"),tooltipPlacement:"top",tooltipSpanHack:!0,tooltipSpanHackClassName:""})),a().createElement(j.Dropdown.Menu,null,!!(null===(t=e.groups)||void 0===t?void 0:t.length)&&a().createElement("div",{className:"px-2 border-bottom mb-1"},a().createElement("p",{className:"mb-0"},a().createElement(S.x,{namespace:_,phrase:"addToGroup"})),a().createElement("ul",{className:"list-unstyled pr-3"},e.groups.map((function(t){return a().createElement("li",{key:t.id,className:"d-flex align-items-center bg-white my-1"},a().createElement(C.X,{id:"".concat(e.id,":").concat(t.id),checked:o(t.id),onChange:function(){return function(t){var r=!o(t.id);e.onSelectGroup(t,r),n(t.id)}(t)},indeterminate:!!B(e.selectedStudents,t)}),a().createElement(R,{group:t}))})))),a().createElement(M.F,{onClick:function(){f.k.logUserAction({},f.k.mergeOptions(e.analyticsOptions,{actionType:g.UserAction.Create,workflowPhase:g.WorkflowPhase.Start,entity:g.EntityType.ClassroomGroup}))},appLink:(s=e.classroom.id,i=e.selectedStudents,{application:U.O.CLASSROOMS,action:I.e.Classrooms.NEW_GROUP,args:[s],params:{addStudents:i.map((function(e){return e.id}))}}),className:"text-nowrap d-flex align-items-center px-2"},a().createElement(b.x,{svgName:w.vn.Plus}),a().createElement(S.x,{namespace:_,phrase:"createNew"}))))}H.defaultProps={preselections:[]};function z(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,o,s,c=[],i=!0,l=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;i=!1}else for(;!(i=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);i=!0);}catch(e){l=!0,a=e}finally{try{if(!i&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(l)throw a}}return c}}(e,t)||W(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function W(e,t){if(e){if("string"==typeof e)return q(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?q(e,t):void 0}}function q(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var K=c.T.encloseNamespace("classrooms.manageClassroomStudentItem");function V(e){var t,r=z(a().useState(!1),2),n=r[0],o=r[1],s=z(a().useState(!1),2),c=s[0],i=s[1],l=z(a().useState({}),2),u=l[0],v=l[1],y=a().useRef(null),h=a().useRef(null),S=(0,p.T)().hasPermissions;a().useEffect((function(){N(),c||o(!0)}),[e.selectedGroups.length]);var E,k,b,w,T=P.q.throttle((function(){N(),o(!0)}),300);function N(){v(e.selectedGroups.reduce((function(e,t){return e[t.id]=!0,e}),{}))}return(0,x.H)((function(){c||T()})),a().useEffect((function(){if(y.current&&h.current&&n){var e=y.current.firstElementChild;if(e){var t,r,a=e.getBoundingClientRect().y,s={},c=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=W(e))){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){c=!0,o=e},f:function(){try{s||null==r.return||r.return()}finally{if(c)throw o}}}}(y.current.children);try{for(c.s();!(r=c.n()).done;){var i=r.value;i.id&&(s[i.id]=i.getBoundingClientRect().y===a,t=s[i.id]?i.id:t)}}catch(e){c.e(e)}finally{c.f()}h.current.getBoundingClientRect().y!==a&&(s[t]=!1),v(s),o(!1)}}}),[n]),a().createElement("div",{className:"d-flex align-items-center py-1 px-4"},a().createElement(C.X,{id:e.student.id,checked:e.checked,onChange:e.onToggleCheckbox,className:"mr-2"}),a().createElement("div",{className:"".concat("rfVnC"," mr-2")},a().createElement(G.q,{imageCdnUrl:e.config.imageCdnUrl,initials:D.l.getInitials(e.student.name,e.student.surname),imageUrl:null===(t=e.student.avatar)||void 0===t?void 0:t.url})),a().createElement("p",{className:"mr-2 ".concat("RYLWZ"," text-truncate mb-0 text-nowrap")},e.student.name," ",e.student.surname),a().createElement("div",{className:"".concat(n?"invisible":""," mr-auto d-flex flex-wrap mt-n1"),ref:y},e.selectedGroups.map((function(e){return u[e.id]?a().createElement("div",{key:e.id,className:"mr-1 mt-1",id:e.id},a().createElement(R,{group:e})):a().createElement(a().Fragment,{key:e.id})})),a().createElement("div",{ref:h,className:"mr-1 mt-1"},a().createElement(F,{count:Object.keys(u).reduce((function(e,t){return u[t]||e++,e}),0),onClick:function(){i(!0),N()}}))),a().createElement(H,{id:"add-group-".concat(e.student.id),classroom:e.classroom,groups:e.classroomGroups,selectedStudents:[e.student],preselections:e.selectedGroups,onSelectGroup:function(t,r){return e.onToggleGroup(e.student,t,r)},analyticsOptions:{location:g.LocationContext.ManageClassroomStudentListItem},alignRight:!0}),a().createElement(O.e,{actions:(w=[],S(m.C.ManageUsers)&&w.push({label:K("editStudent"),appLink:(E=e.student.id,{application:U.O.USER_MANAGER,action:I.e.UserManager.EDIT_USER,args:[E],params:{userType:d.Y.Learner}}),onClick:function(){f.k.logUserAction({id:e.student.id},{actionType:g.UserAction.Edit,entity:g.EntityType.User,workflowPhase:g.WorkflowPhase.Start,location:g.LocationContext.ManageClassroomStudentListItem})}}),w.push({label:K("removeStudent"),appLink:(k=e.student.id,b=e.classroom.id,{application:U.O.CLASSROOMS,action:I.e.Classrooms.REMOVE_STUDENTS,args:[b],params:{studentIds:[k]}}),className:"text-danger",onClick:function(){f.k.logUserAction({id:e.classroom.id,userId:e.student.id},{actionType:g.UserAction.Dissociate,entity:g.EntityType.Classroom,descriptor:g.AssocDescriptor.User,workflowPhase:g.WorkflowPhase.Start,location:g.LocationContext.ManageClassroomStudentListItem})}}),w),actionsDropdownClassName:"btn"}))}var X=r(99742),Y=r(23232),Q="classrooms.classroomsEmptyState";function Z(e){return a().createElement(S.D.Provider,{value:Q},a().createElement(Y.u,null,a().createElement(Y.u.Image,{src:X.W.EmptyStates.Classrooms.NO_STUDENTS_IN_SCHOOL}),a().createElement(Y.u.Heading,null,a().createElement(S.x,{phrase:"noStudentsHeading"})),a().createElement(Y.u.Info,{className:"w-33 ".concat(e.canManageUsers?"":"mb-0")},a().createElement(S.x,{phrase:"noStudentsInfo"})),e.canManageUsers?a().createElement(Y.u.Cta,{text:c.T.getPhrase(Q,"noStudentsCta"),appLink:{application:U.O.USER_MANAGER,action:I.e.UserManager.STUDENTS}}):a().createElement(Y.u.Info,null,a().createElement(S.x,{phrase:"askAdmin"}))))}var $="classrooms.manageClassroomStudentsEmptyState";function J(e){return e.schoolHasNoStudents?a().createElement(Z,{canManageUsers:e.canManageUsers}):a().createElement(S.D.Provider,{value:$},a().createElement(Y.u,null,a().createElement(Y.u.Image,{src:X.W.EmptyStates.Classrooms.STUDENTS}),a().createElement(Y.u.Heading,null,a().createElement(S.x,{phrase:"emptyStateHeading"})),a().createElement(Y.u.Info,null,a().createElement(S.x,{phrase:"emptyStateInfo"})),a().createElement(Y.u.Cta,{text:c.T.getPhrase($,"addStudents"),icon:w.vn.Plus,appLink:{application:U.O.CLASSROOMS,action:I.e.Classrooms.ADD_STUDENTS_CHOICES,args:[e.classroom.id]}}),a().createElement("a",{className:"btn btn-link info-link",href:"https://static.clickview.com.au/Primary/Documents/Student-engagement-ideas.pdf",target:"_blank"},e.classroomIdeasText)))}var ee="classrooms.manageClassroomStudents",te=c.T.encloseNamespace(ee);function re(e){var t,r=e.classroom,a=e.students,i=e.groups,l=(0,o.useDispatch)(),u=(0,h.Z)(),d=(0,A.X)(a.data),m=d.getSelected().length,p=i.filter((function(e){var t,r;if(!(null===(r=null===(t=e.users)||void 0===t?void 0:t.data)||void 0===r?void 0:r.length))return!1;var n=!0,a=0,o=d.getSelected();if(o.length){var s=function(){var t=o[a];e.users.data.find((function(e){return e.id.toString()===t.toString()}))||(n=!1),a++};do{s()}while(a<o.length);return n}})),P=(0,T.a)(N.r.XLDown);return(null===(t=a.data)||void 0===t?void 0:t.length)?n.createElement(n.Fragment,null,n.createElement("div",{className:"d-flex align-items-center py-2 ".concat(P?"pl-2":"pl-4")},n.createElement(C.X,{id:"manage-classroom-students-bulk",onChange:d.onToggleBulk,checked:d.bulkChecked,className:"mr-2",indeterminate:d.hasSomeSelections()}),n.createElement(H,{id:"bulk-add-group",classroom:r,selectedStudents:d.getSelected().map((function(t){return e.students.data.find((function(e){return e.id.toString()===t.toString()}))})),groups:i,onSelectGroup:function(e,t){var n=d.getSelected(),a=t?v.F.addStudentsToGroup:v.F.removeStudentsFromGroup;s.a.fetch(l,a(n,e.id,r.id,(function(){f.k.logUserAction({id:e.id,studentCount:n.length},{actionType:g.UserAction.Associate,entity:g.EntityType.ClassroomGroup,descriptor:g.AssocDescriptor.User,workflowPhase:g.WorkflowPhase.Complete,location:g.LocationContext.ManageClassroomStudents}),u.success(te("addSuccess",{groupName:e.name,escapeText:!0}))}),(function(){u.error(te("addError",{groupName:e.name,escapeText:!0}))})))},disabled:!m,preselections:p,analyticsOptions:{location:g.LocationContext.ManageClassroomStudents}}),n.createElement(E.L,{className:"mr-auto ".concat(m?"":"text-light cursor-default"),onClick:function(){if(m){var e=d.getSelected();f.k.logUserAction({id:r.id,studentCount:e.length},{entity:g.EntityType.Classroom,descriptor:g.AssocDescriptor.User,workflowPhase:g.WorkflowPhase.Start,actionType:g.UserAction.Dissociate,location:g.LocationContext.ManageClassroomStudents}),y.Q.AppLinkHelper.trigger({application:U.O.CLASSROOMS,action:I.e.Classrooms.REMOVE_STUDENTS,args:[r.id],params:{studentIds:e}})}}},n.createElement(b.x,{svgName:w.vn.Delete,title:c.T.getPhrase(ee,"delete"),tooltipPlacement:"top",tooltipSpanHack:!0})),n.createElement(k.h,{onClick:function(){f.k.logUserAction({id:r.id},{entity:g.EntityType.Classroom,descriptor:g.AssocDescriptor.User,workflowPhase:g.WorkflowPhase.Start,actionType:g.UserAction.Associate,location:g.LocationContext.ManageClassroomStudents}),y.Q.AppLinkHelper.trigger({application:U.O.CLASSROOMS,action:I.e.Classrooms.ADD_STUDENTS_CHOICES,args:[r.id]})},svgName:w.vn.Plus,className:"btn btn-outline-dark"},n.createElement(S.x,{namespace:ee,phrase:"addStudent"}))),n.createElement("ul",{className:"striped-list list-unstyled"},a.data.map((function(t){return n.createElement("li",{key:t.id},n.createElement(V,{classroom:r,student:t,classroomGroups:e.groups,config:e.config,selectedGroups:e.groups.filter((function(e){return e.users.data.find((function(e){return e.id===t.id}))})),checked:d.isChecked(t.id),onToggleCheckbox:function(){return d.onToggleItem(t.id)},onToggleGroup:e.onToggleGroup}))})))):n.createElement(J,{classroom:e.classroom,classroomIdeasText:te("classroomIdeasText"),schoolHasNoStudents:e.schoolHasNoStudents,canManageUsers:e.canManageUsers})}var ne=r(49935),ae=r(5062);const oe="pJf6R",se="MSvzY",ce="IFmvc",ie="pOcvk";var le=a().memo((function(){return a().createElement("div",{className:"px-3"},a().createElement("div",{className:"mb-1 partial-loading-background ".concat("YrP_G")}),a().createElement("div",{className:"pb-3"},a().createElement(ne.b2,{numItems:2})),a().createElement("div",{className:"pb-2"},a().createElement(ae.Z,null)),a().createElement("div",{className:"d-flex align-items-center py-2"},a().createElement("div",{className:"mx-4 partial-loading-background ".concat(oe)}),a().createElement("div",{className:"mr-2 partial-loading-background ".concat(se)}),a().createElement("div",{className:"mr-auto partial-loading-background ".concat(se)}),a().createElement("div",{className:"partial-loading-background ".concat("j62jt")})),a().createElement("ul",{className:"striped-list list-unstyled"},Array(20).fill(null).map((function(e,t){return a().createElement("li",{key:t},a().createElement("div",{className:"d-flex align-items-center py-1 px-4"},a().createElement("div",{className:"mr-2 partial-loading-background ".concat(oe)}),a().createElement("div",{className:"mr-2 partial-loading-background ".concat("droqZ")}),a().createElement("div",{className:"w-25"},a().createElement("div",{className:"partial-loading-background ".concat("gorcb")})),a().createElement("div",{className:"mr-auto d-flex"},Math.random()>.5?a().createElement(a().Fragment,null,a().createElement("div",{className:"partial-loading-background rounded-pill mr-1 ".concat(ce," ").concat("SdQ90")}),a().createElement("div",{className:"partial-loading-background rounded-pill ".concat(ce," ").concat(ie)})):a().createElement("div",{className:"partial-loading-background rounded-pill ".concat(ce," ").concat(ie)})),a().createElement("div",{className:"mr-2 partial-loading-background ".concat(se)}),a().createElement("div",{className:"partial-loading-background ".concat("S7p4K")})))}))))})),ue=r(5289),de=r(31491),me=r(39872),pe=c.T.encloseNamespace("classrooms.classroomStudents"),ge={entity:g.EntityType.ClassroomGroup,descriptor:g.AssocDescriptor.User,workflowPhase:g.WorkflowPhase.Complete,location:g.LocationContext.ManageClassroomStudentListItem};function fe(e){var t,r,n,c,y,h,S,E,k,b=s.a.useBasicFetch(l.N.currentUser()),w=s.a.useBasicFetch(b.data&&v.F.getClassroom(e.id,b.data.id)),C=s.a.useBasicFetch(v.F.getClassroomStudents(e.id)),T=s.a.useBasicFetch(b.data&&me.N.getUsers(b.data.customerId,d.Y.Learner)),N=s.a.useBasicFetch(v.F.getClassroomGroups(e.id)),U=s.a.useBasicFetch(u.L.config()),I=(0,o.useDispatch)(),A=(0,p.T)().hasPermissions;return(0,i.o)(pe("pageTitle",{classroomName:null===(t=w.data)||void 0===t?void 0:t.name})),(0,de._)(w),w.data&&(null===(r=C.data)||void 0===r?void 0:r.data)&&(null===(n=N.data)||void 0===n?void 0:n.data)&&U.data&&T.data?a().createElement(ue.R,{classroom:w.data,currentUser:b.data,onTogglePin:function(e,t,r){var n=e?v.F.pinClassroom:v.F.unpinClassroom;s.a.fetch(I,n(w.data,t,r))},activeTab:"students"},(null===(y=null===(c=C.data)||void 0===c?void 0:c.data)||void 0===y?void 0:y.length)?a().createElement(re,{classroom:w.data,students:C.data,groups:N.data.data,onToggleGroup:function(t,r,n){var a={id:r.id,studentCount:1},o=n?v.F.addStudentsToGroup([t.id],r.id,e.id,(function(){f.k.logUserAction(a,Object.assign(Object.assign({},ge),{actionType:g.UserAction.Associate}))})):v.F.removeStudentsFromGroup([t.id],r.id,e.id,(function(){f.k.logUserAction(a,Object.assign(Object.assign({},ge),{actionType:g.UserAction.Dissociate}))}));s.a.fetch(I,o)},config:U.data,schoolHasNoStudents:!(null===(S=null===(h=T.data)||void 0===h?void 0:h.data)||void 0===S?void 0:S.length),canManageUsers:A(m.C.ManageUsers)}):a().createElement(J,{classroom:w.data,classroomIdeasText:pe("classroomIdeasText"),schoolHasNoStudents:!(null===(k=null===(E=T.data)||void 0===E?void 0:E.data)||void 0===k?void 0:k.length),canManageUsers:A(m.C.ManageUsers)})):a().createElement(le,null)}},39872:(e,t,r)=>{r.d(t,{N:()=>p});var n,a,o=r(97395),s=r(99940),c=r(54610),i=r(39739);!function(e){e.Content="content",e.OnlineContent="online_content",e.User="user",e.Customer="customer",e.Tag="tag",e.Organisation="organisation",e.Channel="channel"}(n||(n={})),function(e){e.TermsGroupBy="terms-group-by"}(a||(a={}));var l=r(70197);function u(e){return u="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},u(e)}function d(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==u(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t);if("object"!==u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"===u(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var p={getUsers:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0,s=arguments.length>5?arguments[5]:void 0,c={query:i.P.buildGetUsersQuery(t,r)};n&&(c.cursor=n);var l="school:users:".concat(e,":").concat(t);return l+=Object.keys(c).map((function(e){return c[e]})).join(":"),{url:o._.urlBuilder("{gateway}/v1/customers/".concat(e,"/users"),c),key:l,success:a,error:s}},getUser:function(e){return{url:"{gateway}/v1/users/".concat(e,"?query=avatar"),key:"school:users:".concat(e)}},bulkRemoveUsers:function(e,t,r,n){var a,o=["school:users","search:users","search:aggregation"];return(null===(a=e.userIds)||void 0===a?void 0:a.length)&&e.userIds.forEach((function(e){return o.push("school:users:".concat(e))})),{url:"{gateway}/v1/users/delete",key:"remove:school:users",invalidationKeys:o,type:s.k.POST,data:e,success:t,error:r,always:n}},createUsers:function(e,t,r,n,a){return{url:"{gateway}/v1/users",key:"create:users",data:e,type:s.k.POST,invalidationKeys:["school:users","user:count"],success:r,error:n,always:a,normalize:!1}},updateUser:function(e,t,r,n,a){var o=["school:users:".concat(e.userId)];return t.toString()===e.userId.toString()&&o.push("currentuser"),{url:"{gateway}/v1/users",key:"edit:user",type:s.k.PUT,data:e,invalidationKeys:["search:aggregation"],success:r,error:n,always:a}},searchUsers:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0,s=arguments.length>5?arguments[5]:void 0,c=i.P.buildSearchParams(e,t,r);n&&(c.cursor=n);var l="search:users:".concat(n);return l+=Object.keys(c).sort().map((function(e){return c[e]})).join(":"),{url:o._.urlBuilder("{gateway}/v1/search/users",c),key:l,success:a,error:s}},getSearchUserIds:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0,s=i.P.buildSearchParams(e,t,r),c="search:user:ids";return c+=Object.keys(s).sort().map((function(e){return s[e]})).join(":"),{url:o._.urlBuilder("{gateway}/v1/search/user/ids",s),key:c,normalize:!1,success:n,error:a}},getSearchAggregation:function(e){var t=e.userId,r=e.customerId,o=e.userType,c=e.queryParams,u=void 0===c?{}:c,d=e.userIds,m=e.field,p=i.P.buildSearchFiltersObject(r,o,u),g="search:aggregation:".concat(t,":").concat(r,":").concat(m,":");g+=Object.keys(p).sort().map((function(e){return p[e]})).join(":"),g+=":"+d.join(":");var f={indices:["user"],searchType:n.User,isLearner:!1,type:a.TermsGroupBy,userId:t.toString(),customerId:r.toString(),data:{field:m},idFilters:d,filters:p};return{url:"{gateway}/v1/search/aggregation",type:s.k.POST,key:g,data:f,normalize:!1,formatData:function(e){var t=e.termCount;return m!==l.q.Status?t:Object.keys(t).reduce((function(e,r){return e[r.charAt(0).toUpperCase()+r.slice(1)]=t[r],e}),{})}}},bulkToggleActivation:function(e,t,r,n,a){return{url:"{gateway}/v1/users/status",key:"update:users:status",type:s.k.PUT,data:e,success:r,error:n,always:a,invalidationKeys:["school:users:".concat(e.customerId,":").concat(t)].concat((o=e.users.map((function(e){return"school:users:".concat(e.userId)})),function(e){if(Array.isArray(e))return m(e)}(o)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(o)||function(e,t){if(e){if("string"==typeof e)return m(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?m(e,t):void 0}}(o)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),["search:aggregation"])};var o},bulkValidate:function(e,t,r,n,a){return{url:"{gateway}/v1/users/validate",type:s.k.POST,key:"validate:users",data:e,success:r,error:n,always:a,normalize:!1,formatData:function(e){return e.failedResults.map((function(e){return{errorCodes:e.errorCodes,users:[e.user]}}))}}},yearGroups:function(e){return{url:"{gateway}/v1/customers/".concat(e,"/year-groups?query={orderby:value}"),key:"yeargroups:".concat(e)}},updateAvatar:function(e,t,r,n){return{url:"{gateway}/v1/users/me/avatar",key:"update:avatar",type:s.k.PUT,invalidationKeys:["currentuser","school:users:".concat(t)],data:{fileId:e,fileIdType:c.z9.ImageAPIv2},success:r,error:n}},deleteAvatar:function(e,t,r,n){return{url:"{gateway}/v1/users/me/avatar/".concat(e),key:"delete:avatar",type:s.k.DELETE,updateState:{keys:["school:users:".concat(t),"currentuser"],updateData:function(e){var r,n=e["school:users:".concat(t)],a=e.currentuser;return n.avatar=null,a.avatar=null,d(r={},"school:users:".concat(t),n),d(r,"currentuser",a),r}},success:r,error:n}},changeEmail:function(e,t,r,n){return{url:"{gateway}/v1/users/me/email",key:"change:email",type:s.k.PUT,data:{email:e},success:t,error:r,always:n}},changePassword:function(e,t,r,n){return{url:"{gateway}/v1/users/me/password",key:"change:password",type:s.k.PUT,data:{currentPassword:e.currentPassword,newPassword:e.newPassword},success:t,error:r,always:n}},changeUserPassword:function(e,t,r,n,a,o,c){return{url:"{gateway}/v1/users/admin/change-password",key:"change:password:".concat(t,":").concat(e),type:s.k.PUT,data:{userId:e,newPassword:r,changeOnNextLogin:n},success:a,error:o,always:c}},resendActivationEmail:function(e,t,r){return{url:"{gateway}/v1/users/admin/activation",key:"send:activation:email",type:s.k.POST,data:{userId:e},success:t,error:r}},sendPasswordResetEmail:function(e,t,r,n){return{url:"{gateway}/v1/users/admin/account-reminder",key:"send:password:reset:email",type:s.k.POST,data:{userIds:[e],customerId:t},success:r,error:n}},resendVerificationEmail:function(e,t,r,n){return{url:"{gateway}/v1/users/admin/email-verification",key:"send:verification:email",type:s.k.POST,data:{userId:e,customerId:t},success:r,error:n}},exportList:function(e,t,r,n){return{url:o._.urlBuilder("{gateway}/v1/customers/".concat(e,"/users/report"),{userType:t}),key:"export:users:".concat(t),type:s.k.GET,formatData:function(e){return"data:text/csv;charset=utf-8,".concat(e)},success:r,error:n,invalidationKeys:["export:users:".concat(t)],normalize:!1}},userCount:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=i.P.buildSearchParams(e,t,r),a="search:user:count";return a+=Object.keys(n).sort().map((function(e){return n[e]})).join(":"),{url:o._.urlBuilder("{gateway}/v1/search/user/count",n),key:a,normalize:!1}},authenticationMethods:function(e){return{url:o._.urlBuilder("{gateway}/v1/users/authentication-methods",{id:e}),key:"login:methods:".concat(e.sort().join(":")),normalizeOptions:{idAttribute:"userId"}}},getIdentityProviders:function(e){return{url:"{gateway}/v1/customers/".concat(e,"/identity-providers"),key:"identity:providers:".concat(e),normalize:!1}},getSsoMappings:function(e){return{url:"{gateway}/v1/customers/".concat(e,"/sso-year-group-mappings"),key:"sso:year:group:mappings:".concat(e),normalize:!1}},updateSsoMappings:function(e,t){return{url:"{gateway}/v1/customers/".concat(e,"/sso-year-group-mappings"),key:"sso:year:group:mappings:".concat(e,":update"),type:s.k.POST,invalidationKeys:"sso:year:group:mappings:".concat(e),data:t}}}}}]);
|