@clickview/lite 0.35.0 → 0.35.2-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundles.json +2 -2
- package/dist/css/{1980-lite-3c1d9a0bd8.chunk.css → 1201-lite-c31c094e0b.chunk.css} +1 -1
- package/dist/css/1426-lite-840995aa62.chunk.css +26 -0
- package/dist/css/{6702-lite-7caa0be777.chunk.css → 1461-lite-8a6d9f8005.chunk.css} +1 -1
- package/dist/css/{6822-lite-2c4dbd6721.chunk.css → 1514-lite-b377d8aad7.chunk.css} +1 -1
- package/dist/css/{5611-lite-0ad79a4f81.chunk.css → 1519-lite-8818fa8d4c.chunk.css} +1 -1
- package/dist/css/{9622-lite-23f29cce3d.chunk.css → 1688-lite-cbde295a12.chunk.css} +1 -1
- package/dist/css/1805-lite-971ea2bd5a.chunk.css +5 -0
- package/dist/css/{1820-lite-e06465f5de.chunk.css → 1820-lite-983fc2b64e.chunk.css} +1 -1
- package/dist/css/{6154-lite-9de6d937cb.chunk.css → 2408-lite-d788a06bf3.chunk.css} +1 -1
- package/dist/css/{7564-lite-d60de6c7e1.chunk.css → 2469-lite-7a8e220d2f.chunk.css} +1 -1
- package/dist/css/{9522-lite-3c1d9a0bd8.chunk.css → 2651-lite-c31c094e0b.chunk.css} +1 -1
- package/dist/css/{9869-lite-baa5f27c85.chunk.css → 2703-lite-c11aaae4be.chunk.css} +6 -3
- package/dist/css/2819-lite-1ebce7bdcf.chunk.css +6 -0
- package/dist/css/{4373-lite-70e0bc4a9c.chunk.css → 3311-lite-8f53694323.chunk.css} +1 -1
- package/dist/css/{7286-lite-871baa523e.chunk.css → 3401-lite-0b8496b169.chunk.css} +2 -2
- package/dist/css/{817-lite-d4b875a3bb.chunk.css → 4210-lite-5f2e12e28a.chunk.css} +1 -1
- package/dist/css/{3755-lite-0da0cc9d62.chunk.css → 4463-lite-b9b1686d14.chunk.css} +1 -1
- package/dist/css/{6957-lite-d486456f1e.chunk.css → 4546-lite-3d08e5e8c2.chunk.css} +1 -1
- package/dist/css/{5151-lite-d4ae59eb2d.chunk.css → 4728-lite-be5b495f2e.chunk.css} +1 -1
- package/dist/css/487-lite-96ad0f943f.chunk.css +5 -0
- package/dist/css/{8095-lite-814daf86d6.chunk.css → 4956-lite-12f53a63d0.chunk.css} +1 -1
- package/dist/css/{4405-lite-d4ae59eb2d.chunk.css → 5127-lite-be5b495f2e.chunk.css} +1 -1
- package/dist/css/{275-lite-4f19640eb7.chunk.css → 5306-lite-40a1dcaba5.chunk.css} +1 -1
- package/dist/css/536-lite-b8b24bff42.chunk.css +29 -0
- package/dist/css/5379-lite-b9ce6d4999.chunk.css +29 -0
- package/dist/css/5442-lite-5b422a19e4.chunk.css +4 -0
- package/dist/css/{5659-lite-0ad79a4f81.chunk.css → 5965-lite-8818fa8d4c.chunk.css} +1 -1
- package/dist/css/{1366-lite-69969922c3.chunk.css → 6683-lite-bfbd8a654d.chunk.css} +1 -1
- package/dist/css/6746-lite-cbacfd109f.chunk.css +1 -0
- package/dist/css/7167-lite-e7bc934b47.chunk.css +5 -0
- package/dist/css/7178-lite-d470e2a870.chunk.css +3 -0
- package/dist/css/{9714-lite-ac0b76a84c.chunk.css → 757-lite-649ce0643d.chunk.css} +1 -1
- package/dist/css/{5555-lite-0ad79a4f81.chunk.css → 763-lite-8818fa8d4c.chunk.css} +1 -1
- package/dist/css/{7701-lite-6d26cc737a.chunk.css → 7679-lite-66e1f0dc57.chunk.css} +1 -0
- package/dist/css/{1944-lite-6cd5066b84.chunk.css → 7726-lite-25438ca851.chunk.css} +1 -0
- package/dist/css/7791-lite-afbd54454d.chunk.css +7 -0
- package/dist/css/7864-lite-eaa787cfb2.chunk.css +3 -0
- package/dist/css/7877-lite-753ceb57d9.chunk.css +7 -0
- package/dist/css/8296-lite-1e63b6b5d8.chunk.css +6 -0
- package/dist/css/{5171-lite-67352d5f48.chunk.css → 8364-lite-8c45fd1bcc.chunk.css} +1 -1
- package/dist/css/{6076-lite-26ebfc882b.chunk.css → 8469-lite-bc1a27e4da.chunk.css} +1 -1
- package/dist/css/{1781-lite-62db879d64.chunk.css → 8541-lite-0f6c636afb.chunk.css} +1 -1
- package/dist/css/{3987-lite-26ebfc882b.chunk.css → 9133-lite-bc1a27e4da.chunk.css} +1 -1
- package/dist/css/9230-lite-5010e72da6.chunk.css +4 -0
- package/dist/css/{3446-lite-1b1ec87a28.chunk.css → 9251-lite-3c8ef33419.chunk.css} +2 -2
- package/dist/css/{7164-lite-4424261809.chunk.css → 9516-lite-4751b1e0aa.chunk.css} +5 -5
- package/dist/css/{4145-lite-10dcae6491.chunk.css → 9704-lite-60ead9f8df.chunk.css} +1 -1
- package/dist/css/{519-lite-e5eb6a5c45.chunk.css → 9719-lite-f28f11cc5a.chunk.css} +2 -1
- package/dist/css/{7484-lite-bef9094c58.chunk.css → 9871-lite-71a39d9bb3.chunk.css} +1 -1
- package/dist/css/{lite-app-df99273901.css → lite-app-ddb4f64bbb.css} +7 -7
- package/dist/languages/en.json +1 -1
- package/dist/scripts/{1980-535747e896-lite.chunk.js → 1201-c93ac8a29a-lite.chunk.js} +1 -1
- package/dist/scripts/1285-d2e1267792-lite.chunk.js +1 -0
- package/dist/scripts/1316-a4f3ec3b20-lite.chunk.js +1 -0
- package/dist/scripts/1426-94857a953c-lite.chunk.js +2 -0
- package/dist/scripts/{6702-7f040268d0-lite.chunk.js → 1461-f7e964ae21-lite.chunk.js} +1 -1
- package/dist/scripts/{6822-35fc1ff6f9-lite.chunk.js → 1514-c423b48155-lite.chunk.js} +1 -1
- package/dist/scripts/{1518-eaabe78385-lite.chunk.js → 1518-bed0a6528c-lite.chunk.js} +1 -1
- package/dist/scripts/1519-5df8482b24-lite.chunk.js +1 -0
- package/dist/scripts/{1526-eda6832e12-lite.chunk.js → 1526-93624f65f1-lite.chunk.js} +1 -1
- package/dist/scripts/1672-9ae25f79a6-lite.chunk.js +2 -0
- package/dist/scripts/{9622-365c5b0e22-lite.chunk.js → 1688-ca1a2a9f04-lite.chunk.js} +1 -1
- package/dist/scripts/1805-05413695af-lite.chunk.js +2 -0
- package/dist/scripts/1820-e2042d77dd-lite.chunk.js +1 -0
- package/dist/scripts/{1830-8741ff0b49-lite.chunk.js → 1830-95f21db5dc-lite.chunk.js} +1 -1
- package/dist/scripts/{1863-e2e84114ee-lite.chunk.js → 1863-0c5334f2c2-lite.chunk.js} +1 -1
- package/dist/scripts/1913-fef63b944b-lite.chunk.js +1 -0
- package/dist/scripts/1919-7860ed3158-lite.chunk.js +1 -0
- package/dist/scripts/209-f1187b4df2-lite.chunk.js +1 -0
- package/dist/scripts/{2118-4e769f5020-lite.chunk.js → 2118-7741e69919-lite.chunk.js} +1 -1
- package/dist/scripts/214-4053c37c3f-lite.chunk.js +1 -0
- package/dist/scripts/2188-0278da007c-lite.chunk.js +1 -0
- package/dist/scripts/2208-1799924a6a-lite.chunk.js +1 -0
- package/dist/scripts/2235-4a03aae86f-lite.chunk.js +1 -0
- package/dist/scripts/2251-519ee9915e-lite.chunk.js +1 -0
- package/dist/scripts/2269-aa5750345e-lite.chunk.js +1 -0
- package/dist/scripts/2279-d09cf05062-lite.chunk.js +1 -0
- package/dist/scripts/{2318-a0fc0fe177-lite.chunk.js → 2318-0eb533e9f6-lite.chunk.js} +1 -1
- package/dist/scripts/{6154-05e9ba5525-lite.chunk.js → 2408-04112a0ed3-lite.chunk.js} +1 -1
- package/dist/scripts/{7564-b42d4f59a6-lite.chunk.js → 2469-436887b1ed-lite.chunk.js} +1 -1
- package/dist/scripts/{9522-f6a3bf5aa5-lite.chunk.js → 2651-1323807150-lite.chunk.js} +1 -1
- package/dist/scripts/2703-b8b40c84ef-lite.chunk.js +2 -0
- package/dist/scripts/2819-a949173a2e-lite.chunk.js +2 -0
- package/dist/scripts/{287-3eba510d3a-lite.chunk.js → 287-c53e62a45c-lite.chunk.js} +1 -1
- package/dist/scripts/3012-cd7060bdc9-lite.chunk.js +1 -0
- package/dist/scripts/{3020-1f43870f76-lite.chunk.js → 3020-b05e9ea141-lite.chunk.js} +1 -1
- package/dist/scripts/3154-eb045d3ab6-lite.chunk.js +1 -0
- package/dist/scripts/3216-d62de73736-lite.chunk.js +1 -0
- package/dist/scripts/3311-808538c9c6-lite.chunk.js +1 -0
- package/dist/scripts/3401-4f2a173341-lite.chunk.js +1 -0
- package/dist/scripts/355-59bd6e899f-lite.chunk.js +1 -0
- package/dist/scripts/3645-d1313ec6dc-lite.chunk.js +2 -0
- package/dist/scripts/3654-0961346057-lite.chunk.js +1 -0
- package/dist/scripts/3667-6ce2b5b14a-lite.chunk.js +2 -0
- package/dist/scripts/3728-51b81bfa83-lite.chunk.js +1 -0
- package/dist/scripts/3836-5487914e10-lite.chunk.js +1 -0
- package/dist/scripts/3848-b85b763432-lite.chunk.js +1 -0
- package/dist/scripts/3962-3738b0a52e-lite.chunk.js +1 -0
- package/dist/scripts/3966-80e9cd7a87-lite.chunk.js +1 -0
- package/dist/scripts/{4032-ad48f98700-lite.chunk.js → 4032-01f86c1e49-lite.chunk.js} +1 -1
- package/dist/scripts/407-1e3ffc6e32-lite.chunk.js +2 -0
- package/dist/scripts/414-50eeedf502-lite.chunk.js +1 -0
- package/dist/scripts/4210-dcf489c86f-lite.chunk.js +1 -0
- package/dist/scripts/4393-56a2324cff-lite.chunk.js +1 -0
- package/dist/scripts/4436-2615b1ce10-lite.chunk.js +1 -0
- package/dist/scripts/4441-372ecffa04-lite.chunk.js +2 -0
- package/dist/scripts/{3755-6ed23bfa7a-lite.chunk.js → 4463-7a07bc54f0-lite.chunk.js} +1 -1
- package/dist/scripts/4537-34124b109e-lite.chunk.js +1 -0
- package/dist/scripts/4546-a3452a1fd5-lite.chunk.js +1 -0
- package/dist/scripts/4612-60a22d0dd6-lite.chunk.js +1 -0
- package/dist/scripts/4617-940157b232-lite.chunk.js +1 -0
- package/dist/scripts/4632-450e2f3cf2-lite.chunk.js +1 -0
- package/dist/scripts/4676-9295ffc870-lite.chunk.js +2 -0
- package/dist/scripts/{4690-b7b01cea5f-lite.chunk.js → 4690-a714a10250-lite.chunk.js} +1 -1
- package/dist/scripts/{5151-28b95c9098-lite.chunk.js → 4728-8837108457-lite.chunk.js} +1 -1
- package/dist/scripts/{4753-d8e01a7af9-lite.chunk.js → 4753-e9cd640ceb-lite.chunk.js} +1 -1
- package/dist/scripts/487-55f69c7d70-lite.chunk.js +2 -0
- package/dist/scripts/4956-b0840f1cfa-lite.chunk.js +1 -0
- package/dist/scripts/5041-2af2a2541f-lite.chunk.js +1 -0
- package/dist/scripts/{5143-56be0b0492-lite.chunk.js → 5143-8ad2cd9a86-lite.chunk.js} +1 -1
- package/dist/scripts/5177-ea01e21af3-lite.chunk.js +2 -0
- package/dist/scripts/5271-da40b4f079-lite.chunk.js +1 -1
- package/dist/scripts/528-8cfebb9254-lite.chunk.js +1 -0
- package/dist/scripts/5306-b25542939f-lite.chunk.js +1 -0
- package/dist/scripts/536-7c7970277a-lite.chunk.js +2 -0
- package/dist/scripts/5379-95b5e191fe-lite.chunk.js +1 -0
- package/dist/scripts/5442-82e8147edc-lite.chunk.js +2 -0
- package/dist/scripts/5940-875bf13577-lite.chunk.js +1 -0
- package/dist/scripts/5965-ba2cf10fc0-lite.chunk.js +1 -0
- package/dist/scripts/5974-9d5df057b3-lite.chunk.js +1 -0
- package/dist/scripts/5986-6f6b2bdf89-lite.chunk.js +1 -0
- package/dist/scripts/6086-642813efbe-lite.chunk.js +2 -0
- package/dist/scripts/615-20af1b2df5-lite.chunk.js +1 -0
- package/dist/scripts/{6274-f3769a7518-lite.chunk.js → 6274-7545674bdd-lite.chunk.js} +1 -1
- package/dist/scripts/6290-b8e7be07c0-lite.chunk.js +1 -0
- package/dist/scripts/6330-34349d1457-lite.chunk.js +1 -0
- package/dist/scripts/6347-5fa92cd82e-lite.chunk.js +1 -0
- package/dist/scripts/6368-91be19eabb-lite.chunk.js +1 -0
- package/dist/scripts/{6433-7b2bd48f40-lite.chunk.js → 6433-8a473c7c44-lite.chunk.js} +2 -2
- package/dist/scripts/6532-19e258fc3e-lite.chunk.js +1 -0
- package/dist/scripts/6572-d500d16bea-lite.chunk.js +1 -0
- package/dist/scripts/6683-6a53507e03-lite.chunk.js +2 -0
- package/dist/scripts/6746-a32d22602e-lite.chunk.js +1 -0
- package/dist/scripts/6801-30961910e4-lite.chunk.js +1 -0
- package/dist/scripts/6823-ca63f0d5eb-lite.chunk.js +2 -0
- package/dist/scripts/689-165a5a700c-lite.chunk.js +1 -0
- package/dist/scripts/6891-8f643cb84b-lite.chunk.js +1 -0
- package/dist/scripts/6896-e0f3a08bf2-lite.chunk.js +2 -0
- package/dist/scripts/6930-91a3463106-lite.chunk.js +1 -0
- package/dist/scripts/6998-43af06b2d9-lite.chunk.js +1 -0
- package/dist/scripts/7017-5eb39ba9d6-lite.chunk.js +2 -0
- package/dist/scripts/7052-aeeed6bc6d-lite.chunk.js +2 -0
- package/dist/scripts/7052-aeeed6bc6d-lite.chunk.js.LICENSE.txt +1 -0
- package/dist/scripts/{7056-6d3a7715c8-lite.chunk.js → 7056-b2c401e297-lite.chunk.js} +1 -1
- package/dist/scripts/{7072-e5581f0660-lite.chunk.js → 7072-1cf02994dd-lite.chunk.js} +2 -2
- package/dist/scripts/7072-1cf02994dd-lite.chunk.js.LICENSE.txt +1 -0
- package/dist/scripts/7112-02e4fa8fd1-lite.chunk.js +2 -0
- package/dist/scripts/7112-02e4fa8fd1-lite.chunk.js.LICENSE.txt +1 -0
- package/dist/scripts/7115-0b2f29dca8-lite.chunk.js +1 -0
- package/dist/scripts/7117-a7ffb9474e-lite.chunk.js +1 -0
- package/dist/scripts/714-bb31ad5ca8-lite.chunk.js +1 -0
- package/dist/scripts/7167-9a5391a56e-lite.chunk.js +1 -0
- package/dist/scripts/7178-d9ec32d7d3-lite.chunk.js +1 -0
- package/dist/scripts/7205-1852c97c81-lite.chunk.js +1 -0
- package/dist/scripts/{7221-d71ae05428-lite.chunk.js → 7221-f5d0743e30-lite.chunk.js} +2 -2
- package/dist/scripts/7221-f5d0743e30-lite.chunk.js.LICENSE.txt +1 -0
- package/dist/scripts/7288-3d3041485c-lite.chunk.js +1 -0
- package/dist/scripts/{7293-9edf8dab3b-lite.chunk.js → 7293-026c162545-lite.chunk.js} +1 -1
- package/dist/scripts/7506-75116824b9-lite.chunk.js +1 -0
- package/dist/scripts/{7540-2694a96451-lite.chunk.js → 7540-419fef286c-lite.chunk.js} +1 -1
- package/dist/scripts/{7555-3d6fa65b58-lite.chunk.js → 7555-e79e8614f1-lite.chunk.js} +1 -1
- package/dist/scripts/757-67c0765021-lite.chunk.js +1 -0
- package/dist/scripts/763-beed241551-lite.chunk.js +1 -0
- package/dist/scripts/{7701-3eb0dab472-lite.chunk.js → 7679-0155d80ba4-lite.chunk.js} +1 -1
- package/dist/scripts/{7703-58a0f0e91e-lite.chunk.js → 7703-2cc80445d8-lite.chunk.js} +1 -1
- package/dist/scripts/7726-6d5241cf36-lite.chunk.js +1 -0
- package/dist/scripts/7791-45cbec4cb9-lite.chunk.js +2 -0
- package/dist/scripts/7791-45cbec4cb9-lite.chunk.js.LICENSE.txt +1 -0
- package/dist/scripts/{7855-4598a122c5-lite.chunk.js → 7855-f51632f802-lite.chunk.js} +1 -1
- package/dist/scripts/7864-eb01ccb48c-lite.chunk.js +2 -0
- package/dist/scripts/7864-eb01ccb48c-lite.chunk.js.LICENSE.txt +1 -0
- package/dist/scripts/7877-b7427a8fc3-lite.chunk.js +2 -0
- package/dist/scripts/7877-b7427a8fc3-lite.chunk.js.LICENSE.txt +1 -0
- package/dist/scripts/8046-55ad30beea-lite.chunk.js +1 -0
- package/dist/scripts/8296-61fbedf389-lite.chunk.js +2 -0
- package/dist/scripts/8296-61fbedf389-lite.chunk.js.LICENSE.txt +1 -0
- package/dist/scripts/{8323-e7e2a0a948-lite.chunk.js → 8323-5d423659d5-lite.chunk.js} +1 -1
- package/dist/scripts/8323-5d423659d5-lite.chunk.js.LICENSE.txt +1 -0
- package/dist/scripts/{5171-4e637c7361-lite.chunk.js → 8364-7054d36da8-lite.chunk.js} +1 -1
- package/dist/scripts/8466-627dcf6218-lite.chunk.js +1 -0
- package/dist/scripts/{3987-8a8da439f0-lite.chunk.js → 8469-c872f52295-lite.chunk.js} +1 -1
- package/dist/scripts/{1781-a04e438477-lite.chunk.js → 8541-e93ccc1e65-lite.chunk.js} +1 -1
- package/dist/scripts/8759-46b3f7b560-lite.chunk.js +1 -0
- package/dist/scripts/8763-8fc868e00e-lite.chunk.js +1 -0
- package/dist/scripts/{8771-4530cc4e58-lite.chunk.js → 8771-fdb379457c-lite.chunk.js} +1 -1
- package/dist/scripts/8834-bb079c32a4-lite.chunk.js +1 -0
- package/dist/scripts/{8873-e305e24d04-lite.chunk.js → 8873-514feb8faa-lite.chunk.js} +1 -1
- package/dist/scripts/8905-7e47ba1360-lite.chunk.js +1 -0
- package/dist/scripts/{9016-e97d214ce1-lite.chunk.js → 9016-68a0088483-lite.chunk.js} +1 -1
- package/dist/scripts/9118-43d2bf9226-lite.chunk.js +1 -0
- package/dist/scripts/{6076-d0ab857b36-lite.chunk.js → 9133-d324adda28-lite.chunk.js} +1 -1
- package/dist/scripts/{9151-a4b1b99c42-lite.chunk.js → 9151-97d4bda2a9-lite.chunk.js} +1 -1
- package/dist/scripts/9226-81363cd855-lite.chunk.js +1 -0
- package/dist/scripts/9230-b5f75f4b25-lite.chunk.js +2 -0
- package/dist/scripts/9230-b5f75f4b25-lite.chunk.js.LICENSE.txt +1 -0
- package/dist/scripts/9242-02b00e644d-lite.chunk.js +1 -0
- package/dist/scripts/{3446-f4de03ea76-lite.chunk.js → 9251-c959bef104-lite.chunk.js} +1 -1
- package/dist/scripts/9433-17de94d578-lite.chunk.js +1 -0
- package/dist/scripts/{9478-6f19948322-lite.chunk.js → 9478-48fd914e48-lite.chunk.js} +2 -2
- package/dist/scripts/9478-48fd914e48-lite.chunk.js.LICENSE.txt +1 -0
- package/dist/scripts/9516-c47539c35b-lite.chunk.js +1 -0
- package/dist/scripts/9657-50adfc790f-lite.chunk.js +1 -0
- package/dist/scripts/9704-a3a54ec316-lite.chunk.js +1 -0
- package/dist/scripts/9719-c890a68331-lite.chunk.js +2 -0
- package/dist/scripts/9719-c890a68331-lite.chunk.js.LICENSE.txt +1 -0
- package/dist/scripts/{7484-f15261951b-lite.chunk.js → 9871-239c33690a-lite.chunk.js} +1 -1
- package/dist/scripts/{9894-1e493082b6-lite.chunk.js → 9894-0e66baa841-lite.chunk.js} +1 -1
- package/dist/scripts/9894-0e66baa841-lite.chunk.js.LICENSE.txt +1 -0
- package/dist/scripts/993-51d56e4686-lite.chunk.js +2 -0
- package/dist/scripts/993-51d56e4686-lite.chunk.js.LICENSE.txt +1 -0
- package/dist/scripts/bundle-0846da5fd2.min.js +2 -0
- package/jest.config.js +11 -11
- package/package.json +62 -61
- package/typings/libs/CVEvents.d.ts +12 -12
- package/typings/libs/CVLanguages.d.ts +24 -24
- 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/css/109-lite-e638e5617a.chunk.css +0 -3
- package/dist/css/7178-lite-b4e4346f43.chunk.css +0 -3
- package/dist/css/8329-lite-1f86f27b10.chunk.css +0 -3
- package/dist/css/8978-lite-aa21368531.chunk.css +0 -3
- package/dist/scripts/109-c94f9ee532-lite.chunk.js +0 -1
- package/dist/scripts/1285-2d3299c556-lite.chunk.js +0 -1
- package/dist/scripts/1316-5123580c25-lite.chunk.js +0 -1
- package/dist/scripts/1366-e5b46ac15b-lite.chunk.js +0 -2
- package/dist/scripts/1517-9158f5a30a-lite.chunk.js +0 -1
- package/dist/scripts/1672-4ff30fe0d9-lite.chunk.js +0 -2
- package/dist/scripts/1820-d34eefdad4-lite.chunk.js +0 -1
- package/dist/scripts/1913-196e6dbf6e-lite.chunk.js +0 -1
- package/dist/scripts/1944-8faad6e742-lite.chunk.js +0 -1
- package/dist/scripts/209-03f1ffaa32-lite.chunk.js +0 -1
- package/dist/scripts/2208-8e54f2060f-lite.chunk.js +0 -1
- package/dist/scripts/2235-02fa6854c8-lite.chunk.js +0 -1
- package/dist/scripts/2269-48415bbc64-lite.chunk.js +0 -1
- package/dist/scripts/2279-02a72d36ec-lite.chunk.js +0 -1
- package/dist/scripts/2608-9d9eb7d113-lite.chunk.js +0 -1
- package/dist/scripts/2743-550d89b378-lite.chunk.js +0 -1
- package/dist/scripts/275-cfe76208a9-lite.chunk.js +0 -1
- package/dist/scripts/3012-cc96ee5265-lite.chunk.js +0 -1
- package/dist/scripts/3154-539a352006-lite.chunk.js +0 -1
- package/dist/scripts/3216-9caff8afdd-lite.chunk.js +0 -1
- package/dist/scripts/3371-bb9a674c07-lite.chunk.js +0 -1
- package/dist/scripts/3488-402969da0d-lite.chunk.js +0 -2
- package/dist/scripts/355-3eb0659bd4-lite.chunk.js +0 -1
- package/dist/scripts/3645-e68fabc894-lite.chunk.js +0 -2
- package/dist/scripts/3654-96999f107e-lite.chunk.js +0 -1
- package/dist/scripts/3667-289cb6db16-lite.chunk.js +0 -2
- package/dist/scripts/3706-e997fb8467-lite.chunk.js +0 -2
- package/dist/scripts/3728-8f767eeedd-lite.chunk.js +0 -1
- package/dist/scripts/3836-060f903a23-lite.chunk.js +0 -1
- package/dist/scripts/3848-a3b274c11c-lite.chunk.js +0 -1
- package/dist/scripts/3865-f7e73fec9c-lite.chunk.js +0 -1
- package/dist/scripts/3962-3dcedae047-lite.chunk.js +0 -1
- package/dist/scripts/3966-e4ad0f453d-lite.chunk.js +0 -1
- package/dist/scripts/4145-24137c0973-lite.chunk.js +0 -1
- package/dist/scripts/4373-d7d9c8effd-lite.chunk.js +0 -1
- package/dist/scripts/4393-bb6bbe6eb1-lite.chunk.js +0 -1
- package/dist/scripts/4417-1ef8363302-lite.chunk.js +0 -1
- package/dist/scripts/4436-b92639529d-lite.chunk.js +0 -1
- package/dist/scripts/4441-3d09d55849-lite.chunk.js +0 -2
- package/dist/scripts/4537-6383a3ea11-lite.chunk.js +0 -1
- package/dist/scripts/4612-cfc046e6e9-lite.chunk.js +0 -1
- package/dist/scripts/4617-94a4942af7-lite.chunk.js +0 -1
- package/dist/scripts/4632-ac71090d0d-lite.chunk.js +0 -1
- package/dist/scripts/5041-8e820ed93c-lite.chunk.js +0 -1
- package/dist/scripts/519-30f9dc5f0c-lite.chunk.js +0 -1
- package/dist/scripts/528-9a6deb93d3-lite.chunk.js +0 -1
- package/dist/scripts/5555-e3cdd91f35-lite.chunk.js +0 -1
- package/dist/scripts/5611-1eeee649ed-lite.chunk.js +0 -1
- package/dist/scripts/5659-176b355d0b-lite.chunk.js +0 -1
- package/dist/scripts/5974-8af9af8fae-lite.chunk.js +0 -1
- package/dist/scripts/5986-1e0b21c0d6-lite.chunk.js +0 -1
- package/dist/scripts/615-0322d641a3-lite.chunk.js +0 -1
- package/dist/scripts/6290-4f53628aac-lite.chunk.js +0 -1
- package/dist/scripts/6330-ff1a098eb1-lite.chunk.js +0 -1
- package/dist/scripts/6368-38cc77beda-lite.chunk.js +0 -1
- package/dist/scripts/6532-5bc872b460-lite.chunk.js +0 -1
- package/dist/scripts/6572-a77a3b657b-lite.chunk.js +0 -1
- package/dist/scripts/6609-5e0d55ee56-lite.chunk.js +0 -1
- package/dist/scripts/6725-6fe76436f5-lite.chunk.js +0 -1
- package/dist/scripts/6736-7223de888f-lite.chunk.js +0 -2
- package/dist/scripts/6801-fb5064f563-lite.chunk.js +0 -1
- package/dist/scripts/6823-b2eb2f9837-lite.chunk.js +0 -2
- package/dist/scripts/689-1c6a46496d-lite.chunk.js +0 -1
- package/dist/scripts/6896-8b4fc3fd6d-lite.chunk.js +0 -1
- package/dist/scripts/6930-9f739d475b-lite.chunk.js +0 -1
- package/dist/scripts/6957-691d6fbdc7-lite.chunk.js +0 -1
- package/dist/scripts/6998-1aa38379f3-lite.chunk.js +0 -1
- package/dist/scripts/7017-dc16719bf3-lite.chunk.js +0 -1
- package/dist/scripts/7052-d9ae572322-lite.chunk.js +0 -2
- package/dist/scripts/7112-25e9780c3f-lite.chunk.js +0 -2
- package/dist/scripts/7115-c73692fe3a-lite.chunk.js +0 -1
- package/dist/scripts/7117-1da2d8e101-lite.chunk.js +0 -1
- package/dist/scripts/714-676e0b469a-lite.chunk.js +0 -1
- package/dist/scripts/7164-9dec6a0e20-lite.chunk.js +0 -1
- package/dist/scripts/7178-a1115d825b-lite.chunk.js +0 -1
- package/dist/scripts/7205-20ace43ff9-lite.chunk.js +0 -1
- package/dist/scripts/7286-ba6c277af4-lite.chunk.js +0 -1
- package/dist/scripts/7288-8fca167593-lite.chunk.js +0 -1
- package/dist/scripts/7506-d91786f020-lite.chunk.js +0 -1
- package/dist/scripts/8046-1c2056961d-lite.chunk.js +0 -1
- package/dist/scripts/8095-ee8a101682-lite.chunk.js +0 -1
- package/dist/scripts/817-68aeef8671-lite.chunk.js +0 -1
- package/dist/scripts/8329-db3ca45cb6-lite.chunk.js +0 -2
- package/dist/scripts/8367-87790190cb-lite.chunk.js +0 -1
- package/dist/scripts/8466-2c58de04c4-lite.chunk.js +0 -1
- package/dist/scripts/8564-fbf34ea798-lite.chunk.js +0 -1
- package/dist/scripts/8759-d8e5c29a2e-lite.chunk.js +0 -1
- package/dist/scripts/8772-0cae662668-lite.chunk.js +0 -1
- package/dist/scripts/8905-039126dc2f-lite.chunk.js +0 -1
- package/dist/scripts/8978-2cb6319c36-lite.chunk.js +0 -2
- package/dist/scripts/9118-53bed185a5-lite.chunk.js +0 -1
- package/dist/scripts/9226-f59a8a5d53-lite.chunk.js +0 -1
- package/dist/scripts/9242-a9f54957c0-lite.chunk.js +0 -1
- package/dist/scripts/9581-41cb8eba5b-lite.chunk.js +0 -1
- package/dist/scripts/9714-f8d16adc4e-lite.chunk.js +0 -1
- package/dist/scripts/9869-601bc00f9b-lite.chunk.js +0 -2
- package/dist/scripts/bundle-6f143bc21b.min.js +0 -2
- /package/dist/css/{2743-lite-ab01f5dc3b.chunk.css → 1919-lite-ab01f5dc3b.chunk.css} +0 -0
- /package/dist/css/{6725-lite-db1dbcbd39.chunk.css → 414-lite-db1dbcbd39.chunk.css} +0 -0
- /package/dist/css/{3706-lite-8601f9a468.chunk.css → 5177-lite-8601f9a468.chunk.css} +0 -0
- /package/dist/css/{8367-lite-a3507f7491.chunk.css → 5940-lite-a3507f7491.chunk.css} +0 -0
- /package/dist/css/{3865-lite-a288188c68.chunk.css → 6891-lite-a288188c68.chunk.css} +0 -0
- /package/dist/css/{8772-lite-db1dbcbd39.chunk.css → 8763-lite-db1dbcbd39.chunk.css} +0 -0
- /package/dist/css/{6609-lite-08c053955f.chunk.css → 9657-lite-08c053955f.chunk.css} +0 -0
- /package/dist/scripts/{1366-e5b46ac15b-lite.chunk.js.LICENSE.txt → 1426-94857a953c-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{1672-4ff30fe0d9-lite.chunk.js.LICENSE.txt → 1672-9ae25f79a6-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{1725-082ef05b56-lite.chunk.js → 1725-0e284a32f3-lite.chunk.js} +0 -0
- /package/dist/scripts/{1750-dd4c1bf3fc-lite.chunk.js → 1750-82cf9361fb-lite.chunk.js} +0 -0
- /package/dist/scripts/{2118-4e769f5020-lite.chunk.js.LICENSE.txt → 1805-05413695af-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{1891-af9f943f4d-lite.chunk.js → 1891-dd253c3378-lite.chunk.js} +0 -0
- /package/dist/scripts/{3488-402969da0d-lite.chunk.js.LICENSE.txt → 2118-7741e69919-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{2452-446607a894-lite.chunk.js → 2452-f96e548d17-lite.chunk.js} +0 -0
- /package/dist/scripts/{3645-e68fabc894-lite.chunk.js.LICENSE.txt → 2703-b8b40c84ef-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{2767-5df93b7c43-lite.chunk.js → 2767-299f58bb17-lite.chunk.js} +0 -0
- /package/dist/scripts/{3667-289cb6db16-lite.chunk.js.LICENSE.txt → 2819-a949173a2e-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{3108-ae911e3d71-lite.chunk.js → 3108-86d4c73e29-lite.chunk.js} +0 -0
- /package/dist/scripts/{3171-663aa64cae-lite.chunk.js → 3171-9eda288c67-lite.chunk.js} +0 -0
- /package/dist/scripts/{3468-4d7076a979-lite.chunk.js → 3468-8926a9db70-lite.chunk.js} +0 -0
- /package/dist/scripts/{3706-e997fb8467-lite.chunk.js.LICENSE.txt → 3645-d1313ec6dc-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{4441-3d09d55849-lite.chunk.js.LICENSE.txt → 3667-6ce2b5b14a-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{389-e7037a0807-lite.chunk.js → 389-2ab260e7d2-lite.chunk.js} +0 -0
- /package/dist/scripts/{6433-7b2bd48f40-lite.chunk.js.LICENSE.txt → 407-1e3ffc6e32-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{4182-e9700be806-lite.chunk.js → 4182-6869dfda31-lite.chunk.js} +0 -0
- /package/dist/scripts/{6736-7223de888f-lite.chunk.js.LICENSE.txt → 4441-372ecffa04-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{4541-c08f765eab-lite.chunk.js → 4541-9ad274071e-lite.chunk.js} +0 -0
- /package/dist/scripts/{7052-d9ae572322-lite.chunk.js.LICENSE.txt → 4676-9295ffc870-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{482-8139ae4723-lite.chunk.js → 482-c9fd7b68d3-lite.chunk.js} +0 -0
- /package/dist/scripts/{7072-e5581f0660-lite.chunk.js.LICENSE.txt → 487-55f69c7d70-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{7112-25e9780c3f-lite.chunk.js.LICENSE.txt → 5177-ea01e21af3-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{5229-7329bd81e6-lite.chunk.js → 5229-fed729d13a-lite.chunk.js} +0 -0
- /package/dist/scripts/{7221-d71ae05428-lite.chunk.js.LICENSE.txt → 536-7c7970277a-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{5385-f53e603625-lite.chunk.js → 5385-2719aaaf84-lite.chunk.js} +0 -0
- /package/dist/scripts/{8323-e7e2a0a948-lite.chunk.js.LICENSE.txt → 5442-82e8147edc-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{5595-5ee4c1c5ed-lite.chunk.js → 5595-ed6e8d9ca0-lite.chunk.js} +0 -0
- /package/dist/scripts/{5606-404debcda3-lite.chunk.js → 5606-68f1afd060-lite.chunk.js} +0 -0
- /package/dist/scripts/{5877-d728cd98a7-lite.chunk.js → 5877-1dc9ca4f2d-lite.chunk.js} +0 -0
- /package/dist/scripts/{6057-a8b9812431-lite.chunk.js → 6057-3c43af21b1-lite.chunk.js} +0 -0
- /package/dist/scripts/{8329-db3ca45cb6-lite.chunk.js.LICENSE.txt → 6086-642813efbe-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{8978-2cb6319c36-lite.chunk.js.LICENSE.txt → 6433-8a473c7c44-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{6450-87b22756f6-lite.chunk.js → 6450-0bde4cef33-lite.chunk.js} +0 -0
- /package/dist/scripts/{6465-7a63bc80b6-lite.chunk.js → 6465-5b42f81416-lite.chunk.js} +0 -0
- /package/dist/scripts/{6480-3e17c41241-lite.chunk.js → 6480-93ab348bf1-lite.chunk.js} +0 -0
- /package/dist/scripts/{6604-19f0427fcc-lite.chunk.js → 6604-d331808398-lite.chunk.js} +0 -0
- /package/dist/scripts/{9478-6f19948322-lite.chunk.js.LICENSE.txt → 6683-6a53507e03-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{6689-ec5171ba5f-lite.chunk.js → 6689-65a1b86bb2-lite.chunk.js} +0 -0
- /package/dist/scripts/{6823-b2eb2f9837-lite.chunk.js.LICENSE.txt → 6823-ca63f0d5eb-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{6863-5dbc85c4b9-lite.chunk.js → 6863-d4f402b72e-lite.chunk.js} +0 -0
- /package/dist/scripts/{9869-601bc00f9b-lite.chunk.js.LICENSE.txt → 6896-e0f3a08bf2-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{9894-1e493082b6-lite.chunk.js.LICENSE.txt → 7017-5eb39ba9d6-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{7128-87b101d7b7-lite.chunk.js → 7128-bb219eed51-lite.chunk.js} +0 -0
- /package/dist/scripts/{7172-7dadcbf10c-lite.chunk.js → 7172-7710a90e85-lite.chunk.js} +0 -0
- /package/dist/scripts/{7338-e0306c666f-lite.chunk.js → 7338-a5d6a68d8e-lite.chunk.js} +0 -0
- /package/dist/scripts/{7432-337ec5be0e-lite.chunk.js → 7432-87ce1798ff-lite.chunk.js} +0 -0
- /package/dist/scripts/{7708-966b540945-lite.chunk.js → 7708-b642cddc03-lite.chunk.js} +0 -0
- /package/dist/scripts/{7715-b21edc60f0-lite.chunk.js → 7715-4f575c978b-lite.chunk.js} +0 -0
- /package/dist/scripts/{7818-c81c2d60b9-lite.chunk.js → 7818-a9ab33bdd4-lite.chunk.js} +0 -0
- /package/dist/scripts/{7925-c8cd8aace8-lite.chunk.js → 7925-29ca2fc37a-lite.chunk.js} +0 -0
- /package/dist/scripts/{8025-1982900b56-lite.chunk.js → 8025-0ef8f041ea-lite.chunk.js} +0 -0
- /package/dist/scripts/{8236-10fe50cf1f-lite.chunk.js → 8236-057a7f40db-lite.chunk.js} +0 -0
- /package/dist/scripts/{8830-16c2fd1319-lite.chunk.js → 8830-122c8ae807-lite.chunk.js} +0 -0
- /package/dist/scripts/{9016-e97d214ce1-lite.chunk.js.LICENSE.txt → 9016-68a0088483-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{9060-aea36d49b0-lite.chunk.js → 9060-c035711b40-lite.chunk.js} +0 -0
- /package/dist/scripts/{9455-283f477332-lite.chunk.js → 9455-c80c14ea98-lite.chunk.js} +0 -0
- /package/dist/scripts/{9674-25ccc9ee52-lite.chunk.js → 9674-f5e66f8c06-lite.chunk.js} +0 -0
- /package/dist/scripts/{9843-d084ed32bf-lite.chunk.js → 9843-07f0304cc4-lite.chunk.js} +0 -0
- /package/dist/scripts/{bundle-6f143bc21b.min.js.LICENSE.txt → bundle-0846da5fd2.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,3 +0,0 @@
|
|
|
1
|
-
.Y1xND{font-size:2rem}@media(max-width: 1199.98px){.Y1xND{font-size:1.25rem}}@media(max-width: 991.98px){.Y1xND{margin-bottom:0}}
|
|
2
|
-
.umlwF{width:50%;position:fixed;top:0;left:0;bottom:0;z-index:1;min-height:100vh}.JjoUT{position:relative;z-index:2;min-height:100vh;width:50%;margin-left:50%;background-color:#fff}.xKAjJ{padding:3.75rem 7.5rem}.eyQ3y{height:1.5rem;top:3.75rem;left:7.5rem}.sVF6v{height:1.5rem;width:50%;top:6.5rem;left:7.5rem}.sVF6v .yMTpw{width:2.5rem}.H5x66{bottom:3.75rem;padding-left:5.625rem;padding-right:7.5rem}@media(max-width: 1199.98px){.xKAjJ{padding-left:3.75rem;padding-right:3.75rem}.H5x66{padding-left:1.875rem;padding-right:3.75rem;bottom:1.25rem}.eyQ3y,.sVF6v{left:3.75rem}}@media(max-width: 991.98px){.JjoUT{width:100%;margin-left:0}.sVF6v{width:25%}}@media(max-width: 767.98px){.sVF6v{width:33.33333%}}@media(max-width: 575.98px){.xKAjJ{padding:1.25rem}.eyQ3y{top:1.25rem;left:1.25rem}.sVF6v{width:50%;top:4rem;left:1.25rem}.H5x66{padding-left:.625rem;padding-right:1.25rem;bottom:1.25rem}}
|
|
3
|
-
.pHDzd{padding:0 3.75rem}.pHDzd .cHXwv{padding-top:56.25%;top:0;left:0}.pHDzd .video-js{border-radius:.5rem;overflow:hidden}.cEpOT{width:8.1875rem;align-self:flex-end;margin-right:6rem}.ORgxa{bottom:3.75rem;right:5rem;display:flex}.ORgxa .BogCL{margin-left:-0.4rem}.ORgxa .uaLaz{margin-right:.625rem}@media(max-width: 991.98px){.pHDzd{position:relative;transform:none;top:unset;left:unset;padding:1.25rem 0}}@media(max-width: 575.98px){.ORgxa{flex-direction:column-reverse;right:0;left:0;padding-left:1.25rem;padding-right:1.25rem;width:100%;bottom:1.25rem}.ORgxa .uaLaz{margin-right:0;margin-top:.3125rem}}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
.bqV8U{width:3rem;height:3rem}.Rl7gP{background-color:#25a667}.qCgv4{background-color:#007dff}.GmPjw{left:0;top:0;right:0}._2Tuy{width:.7em;height:.7em;border-radius:.7em}.Q9uug{background-color:#5dc786}.kn43h{background-color:#ff9300}.Kx6Vr{background-color:#ff9300}
|
|
2
|
-
.p5int{height:10.9rem}
|
|
3
|
-
.roVyL{width:16rem}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
.Y1xND{font-size:2rem}@media(max-width: 1199.98px){.Y1xND{font-size:1.25rem}}@media(max-width: 991.98px){.Y1xND{margin-bottom:0}}
|
|
2
|
-
.umlwF{width:50%;position:fixed;top:0;left:0;bottom:0;z-index:1;min-height:100vh}.JjoUT{position:relative;z-index:2;min-height:100vh;width:50%;margin-left:50%;background-color:#fff}.xKAjJ{padding:3.75rem 7.5rem}.eyQ3y{height:1.5rem;top:3.75rem;left:7.5rem}.sVF6v{height:1.5rem;width:50%;top:6.5rem;left:7.5rem}.sVF6v .yMTpw{width:2.5rem}.H5x66{bottom:3.75rem;padding-left:5.625rem;padding-right:7.5rem}@media(max-width: 1199.98px){.xKAjJ{padding-left:3.75rem;padding-right:3.75rem}.H5x66{padding-left:1.875rem;padding-right:3.75rem;bottom:1.25rem}.eyQ3y,.sVF6v{left:3.75rem}}@media(max-width: 991.98px){.JjoUT{width:100%;margin-left:0}.sVF6v{width:25%}}@media(max-width: 767.98px){.sVF6v{width:33.33333%}}@media(max-width: 575.98px){.xKAjJ{padding:1.25rem}.eyQ3y{top:1.25rem;left:1.25rem}.sVF6v{width:50%;top:4rem;left:1.25rem}.H5x66{padding-left:.625rem;padding-right:1.25rem;bottom:1.25rem}}
|
|
3
|
-
.O0Fk5{width:2.5rem;height:2.5rem}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
.Y1xND{font-size:2rem}@media(max-width: 1199.98px){.Y1xND{font-size:1.25rem}}@media(max-width: 991.98px){.Y1xND{margin-bottom:0}}
|
|
2
|
-
.umlwF{width:50%;position:fixed;top:0;left:0;bottom:0;z-index:1;min-height:100vh}.JjoUT{position:relative;z-index:2;min-height:100vh;width:50%;margin-left:50%;background-color:#fff}.xKAjJ{padding:3.75rem 7.5rem}.eyQ3y{height:1.5rem;top:3.75rem;left:7.5rem}.sVF6v{height:1.5rem;width:50%;top:6.5rem;left:7.5rem}.sVF6v .yMTpw{width:2.5rem}.H5x66{bottom:3.75rem;padding-left:5.625rem;padding-right:7.5rem}@media(max-width: 1199.98px){.xKAjJ{padding-left:3.75rem;padding-right:3.75rem}.H5x66{padding-left:1.875rem;padding-right:3.75rem;bottom:1.25rem}.eyQ3y,.sVF6v{left:3.75rem}}@media(max-width: 991.98px){.JjoUT{width:100%;margin-left:0}.sVF6v{width:25%}}@media(max-width: 767.98px){.sVF6v{width:33.33333%}}@media(max-width: 575.98px){.xKAjJ{padding:1.25rem}.eyQ3y{top:1.25rem;left:1.25rem}.sVF6v{width:50%;top:4rem;left:1.25rem}.H5x66{padding-left:.625rem;padding-right:1.25rem;bottom:1.25rem}}
|
|
3
|
-
.t72Tg{min-width:3.125rem;max-width:3.125rem;min-height:3.125rem;max-height:3.125rem}.B1SFn{box-shadow:2px 2px 0px 0px #313543}.RXeb9:hover{text-decoration:underline}.H1Dk0{margin-bottom:1.25rem}.cZirR{padding-top:3.75rem}.BydFK{padding-bottom:3.75rem}.Z8lq8{padding-bottom:3.75rem}@media(max-width: 991.98px){.H1Dk0{margin-top:.625rem}}@media(max-width: 575.98px){.amojq{display:none}.t72Tg{min-width:2.5rem;max-width:2.5rem;min-height:2.5rem;max-height:2.5rem}.H1Dk0{margin-bottom:1.25rem}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[109],{75359:(e,t,a)=>{a.d(t,{W:()=>c});var n=a(32735);const r={heading:"Y1xND"};function c(e){return n.createElement("h1",{className:r.heading},e.children)}},27583:(e,t,a)=>{a.d(t,{z:()=>s});var n=a(32735),r=a(2102),c=a(2786),l=a(83345);function o(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 i="onboarding.onboardingLayout";function s(e){return n.createElement(l.D.Provider,{value:e.namespace},n.createElement("div",{className:"d-flex"},e.children))}s.Left=function(e){return n.createElement("div",{className:"".concat("umlwF"," ").concat(e.className?e.className:"")},e.children)},s.Right=function(e){var t,a,s=(t=n.useState(!1),a=2,function(e){if(Array.isArray(e))return e}(t)||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}}(t,a)||function(e,t){if(e){if("string"==typeof e)return o(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)?o(e,t):void 0}}(t,a)||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.")}()),d=s[0],u=s[1],m=e.progress?"".concat(e.progress.currentStep/e.progress.totalSteps*100,"%"):"";return n.createElement("div",{className:"".concat("JjoUT"," ").concat(e.className?e.className:"")},n.createElement("div",{className:"position-relative"},n.createElement("div",{className:"".concat("eyQ3y"," position-absolute")},n.createElement(c.$S,null)),e.progress&&n.createElement("div",{className:"".concat("sVF6v"," position-absolute rounded-pill bg-light-blue d-flex align-items-center")},n.createElement("div",{className:"yMTpw"},e.progress.currentStep," / ",e.progress.totalSteps),n.createElement("div",{className:"flex-grow-1 h-50"},n.createElement("div",{className:"h-100 rounded-pill bg-green",style:{width:m}})))),n.createElement("div",{className:"".concat("xKAjJ"," d-flex flex-column justify-content-center h-100")},e.children),!1===e.hasCustomButtons&&n.createElement("div",{className:"position-absolute d-flex justify-content-between w-100 ".concat("H5x66")},n.createElement("button",{className:"btn btn-link btn-lg text-info",onClick:e.onClickComeBackLater},n.createElement(l.x,{namespace:i,phrase:"comeBackLater"})),n.createElement("div",{className:"d-flex"},n.createElement("button",{className:"btn btn-outline-dark btn-lg me-2",onClick:e.onClickBack},n.createElement(l.x,{namespace:i,phrase:"back"})),n.createElement(r.m,{className:"".concat(e.disableNext?"disabled":""),onClick:function(){if(!0!==e.hasCustomButtons){u(!0);try{e.onClickNext()}catch(e){u(!1)}}},disabled:e.disableNext,showSpinner:d,variant:"dark",size:"lg"},n.createElement(l.x,{namespace:i,phrase:"next"})))))}},52179:(e,t,a)=>{a.d(t,{T:()=>i});var n=a(20354),r=a(31949),c=a(37802),l=a(75795),o=a(74427);function i(){var e=n.a.useBasicFetch(r.N.currentUser()),t=n.a.useBasicFetch(r.N.user(e.data.id)),a=(0,c.r)(null).userSettings;return{getPathway:function(){var e,n,r;return o.m.getOnboardingPathway(null===(r=null===(n=null===(e=t.data)||void 0===e?void 0:e.userProfile)||void 0===n?void 0:n.metadata)||void 0===r?void 0:r.jobTitle,a.data,l.O.getCurrentRoute().appLink)}}}},50109:(e,t,a)=>{a.r(t),a.d(t,{OnboardingWelcomeVideoView:()=>V});var n=a(32735),r=a(81886),c=a(20354),l=a(30439),o=a(83914),i=a(83345),s=a(60051),d=a(77963),u=a(39151),m=a(47812),h=a(31949),f=a(1575),v=a(79967),p=a(37802),g=a(35223),b=a(99742),y=a(57245),E=a(75359),N=a(27583),k=a(98480),x=a(52179),w=a(74427),C={getWelcomeVideo:function(e){return e?e.primaryUrl.includes("staging")?{videoId:"43000110",shareId:"GgX4xD"}:{videoId:"49331262",shareId:"0DYKrb"}:null}};const L={playerContainer:"pHDzd",fallback:"cHXwv",annotation:"cEpOT",buttonContainer:"ORgxa",icon:"BogCL",skipButton:"uaLaz"};var S="onboarding.welcomeVideo";function B(e){return n.createElement("div",{className:"".concat(L.playerContainer," w-100")},e.hasDataLoaded?n.createElement(y._,{config:e.config,video:e.video,currentUser:e.currentUser,shareLink:e.shareLink,viewKey:e.viewKey,onReady:e.onReady,allowPip:!1,allowCreateClip:!1}):n.createElement("div",{className:"".concat(L.fallback," w-100 h-100 bg-light rounded-3 overflow-hidden")}))}function V(){var e=(0,x.T)().getPathway,t=c.a.useBasicFetch(u.L.config()),a=c.a.useBasicFetch(h.N.currentUser()),y=e(),V=k.H[y.currentScreen],j=(0,p.r)(V.analyticsLocation).updateSetting,I=C.getWelcomeVideo(t.data),O=n.useRef(),R=c.a.useBasicFetch(I&&f.R.sharedVideo(I.videoId,I.shareId)),A=c.a.useBasicFetch(l.o.getShareObject(I.shareId)),F=c.a.useBasicFetch(m.k.createViewKey(I.shareId,s.f.Share)),P=(0,v.k)();function T(){j(a.data.id,{name:V.setting,value:!0,kind:d.g.Permanent},(function(){var e=w.m.getNextAppLink(y);r.Q.C$.trigger(e)}))}function U(e){O.current=e;var t=function(){e.currentTime()===e.duration()&&T()};e.on("timeupdate",t),e.one("dispose",(function(){e.off("timeupdate",t)}))}var D=R.data&&a.hasCompleted&&t.hasCompleted&&A.hasCompleted&&F.hasCompleted,z=P.lg||P.xl||P.xxl;return n.createElement(N.z,{namespace:S},n.createElement(N.z.Left,{className:"bg-dark-blue d-flex justify-content-center flex-column"},z&&n.createElement("div",{className:"mt-5"},n.createElement(B,{hasDataLoaded:D,config:t.data,video:R.data,currentUser:a.data,shareLink:A.data,viewKey:F.data,onReady:U})),n.createElement("div",{className:L.annotation},n.createElement("img",{src:b.W.OnboardingV2.WelcomeVideo.HIT_PLAY,className:"img-fluid"}))),n.createElement(N.z.Right,{hasCustomButtons:!0},n.createElement(E.W,null,n.createElement(i.x,{phrase:"heading"})),!z&&n.createElement(B,{hasDataLoaded:D,config:t.data,video:R.data,currentUser:a.data,shareLink:A.data,viewKey:F.data,onReady:U}),n.createElement("p",null,n.createElement(i.x,{phrase:"watchVideo"})),n.createElement("div",{className:"position-absolute ".concat(L.buttonContainer)},n.createElement("button",{className:"btn btn-link text-decoration-none btn-lg ".concat(L.skipButton),onClick:function(){T()}},n.createElement(i.x,{phrase:"skipVideo"})),n.createElement("button",{className:"btn btn-dark btn-lg",onClick:function(){var e;null===(e=O.current)||void 0===e||e.play()}},n.createElement(o.x,{svgName:g.vn.Play,className:"svg-container ".concat(L.icon)}),n.createElement(i.x,{phrase:"playVideo"})))))}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[1285],{299:(e,t,n)=>{n.d(t,{X:()=>s});var a=n(32735),r=n(69217),o=n(94631),s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.idField,s=void 0===n?"id":n,c=t.persistNamespace,l=t.initialState?t.initialState:new Map,i=a.useRef(l),u=(0,r.N)(),d=(0,o.D)(e),m=(0,o.D)(c);function g(){i.current.clear(),u()}function p(e){return"number"==typeof e?e=e.toString():"string"!=typeof e&&(e=e[s].toString()),i.current.get(e)}function f(){return!!(null==e?void 0:e.length)&&e.every(p)}function v(e){e.forEach((function(e){i.current.set(e,!0)})),u()}return a.useEffect((function(){t.initialState||c&&m===c||(null==d?void 0:d.map((function(e){return e[s]})).join())!==(null==e?void 0:e.map((function(e){return e[s]})).join())&&g()}),[d,m,e,t.initialState]),a.useEffect((function(){var e;(null===(e=t.preselectedIds)||void 0===e?void 0:e.length)&&v(t.preselectedIds)}),[]),{onToggleBulk:function(){var t=!f();e.forEach((function(e){t?i.current.set(e[s].toString(),!0):i.current.delete(e[s].toString())})),u()},onToggleItem:function(e){var t=!i.current.get(e.toString());t?i.current.set(e.toString(),t):i.current.delete(e.toString()),u()},getSelected:function(){return Array.from(i.current.keys())},isChecked:p,bulkChecked:f(),deselectAll:function(){(null==e?void 0:e.length)&&(e.forEach((function(e){i.current.delete(e[s].toString())})),u())},hasSomeSelections:function(){return!!(null==e?void 0:e.length)&&!!e.find((function(e){return p(e)}))},setSelected:v,getSelectedCount:function(){return i.current.size},reset:g,getMap:function(){return i.current}}}},94631:(e,t,n)=>{n.d(t,{D:()=>r});var a=n(32735);function r(e){var t=a.useRef();return a.useEffect((function(){t.current=e})),t.current}},36511:(e,t,n)=>{n.d(t,{I:()=>r});var a=n(98758);function r(e){switch(e){case a.R.Pink:return"pink";case a.R.Orange:return"orange";case a.R.Green:return"green";case a.R.Blue:return"blue";case a.R.Purple:return"purple";case a.R.Indigo:return"indigo";default:return"pink"}}},6925:(e,t,n)=>{n.r(t),n.d(t,{ClassroomStudentsView:()=>he});var a=n(32735),r=n(70680),o=n(23481),s=n(20354),c=n(49985),l=n(65858),i=n(16714),u=n(76881),d=n(39151),m=n(31949),g=n(22902),p=n(79612),f=n(23232),v=n(83345),S=n(35223),E=n(99742),h=n(14070),k=n(97291),C="classrooms.classroomsEmptyState";function y(e){return a.createElement(v.D.Provider,{value:C},a.createElement(f.u,null,a.createElement(f.u.Image,{src:E.W.EmptyStates.Classrooms.NO_STUDENTS_IN_SCHOOL}),a.createElement(f.u.Heading,null,a.createElement(v.x,{phrase:"noStudentsHeading"})),a.createElement(f.u.Info,{className:"w-33 ".concat(e.canManageUsers?"":"mb-0")},a.createElement(v.x,{phrase:"noStudentsInfo"})),e.canManageUsers?a.createElement(f.u.Cta,{text:o.T.getPhrase(C,"noStudentsCta"),appLink:{application:k.O.USER_MANAGER,action:h.e.UserManager.STUDENTS}}):a.createElement(f.u.Info,null,a.createElement(v.x,{phrase:"askAdmin"}))))}var N="classrooms.manageClassroomStudentsEmptyState",b="https://static.clickview.com.au/Primary/Documents/Student-engagement-ideas.pdf";function T(e){return e.schoolHasNoStudents?a.createElement(y,{canManageUsers:e.canManageUsers}):a.createElement(v.D.Provider,{value:N},a.createElement(f.u,null,a.createElement(f.u.Image,{src:E.W.EmptyStates.Classrooms.STUDENTS}),a.createElement(f.u.Heading,null,a.createElement(v.x,{phrase:"emptyStateHeading"})),a.createElement(f.u.Info,null,a.createElement(v.x,{phrase:"emptyStateInfo"})),a.createElement(f.u.Cta,{text:o.T.getPhrase(N,"addStudents"),icon:S.vn.Plus,appLink:{application:k.O.CLASSROOMS,action:h.e.Classrooms.ADD_STUDENTS_CHOICES,args:[e.classroom.id]}}),a.createElement("a",{className:"btn btn-link info-link",href:b,target:"_blank"},e.classroomIdeasText)))}var w=n(81886),x=n(11607),U=n(89965),I=n(10874),O=n(83914),M=n(86764),A=n(69883),G=n(299),R=n(3747),F=n(48548),L=n(36848),P=n(36511);function D(e){var t;return e.group?a.createElement("div",{className:"classroom-pill text-white bg-".concat((0,P.I)(null===(t=e.group.metadata)||void 0===t?void 0:t.colour))},e.group.name):a.createElement(a.Fragment,null)}function _(e){return e.count?a.createElement(x.L,{onClick:e.onClick,className:"classroom-pill bg-white border border-dark"},"+",e.count):a.createElement(a.Fragment,null)}var j="classrooms.classroomGroupDropdown",H=function(e,t){return{application:k.O.CLASSROOMS,action:h.e.Classrooms.NEW_GROUP,args:[e],params:{addStudents:t.map((function(e){return e.id}))}}},Z=function(e,t){return e.filter((function(e){return t.users.data.find((function(t){return t.id.toString()===e.id.toString()}))})).length};function B(e){var t,n=(0,G.X)(e.groups,{preselectedIds:e.preselections.map((function(e){return e.id}))}),r=n.onToggleItem,s=n.isChecked;a.useEffect((function(){e.groups.forEach((function(t){var n=Z(e.selectedStudents,t);(!n||n!==e.selectedStudents.length||s(t.id))&&(n||!s(t.id))||r(t.id)}))}));var i={align:e.alignRight?"end":"start"};return e.disabled&&(i.show=!1),a.createElement(F.Z,Object.assign({},i),a.createElement(F.Z.Toggle,{as:"div",id:e.id,className:"".concat(e.disabled?"text-light":"cursor-pointer"," ").concat("me-2 d-inline-block svg-container sm"," no-caret")},a.createElement(O.x,{svgName:S.vn.Group,title:o.T.getPhrase(j,"addToGroupTooltip"),tooltipPlacement:"top",tooltipSpanHack:!0,tooltipSpanHackClassName:""})),a.createElement(F.Z.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(v.x,{namespace:j,phrase:"addToGroup"})),a.createElement("ul",{className:"list-unstyled pe-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(U.X,{id:"".concat(e.id,":").concat(t.id),checked:s(t.id),onChange:function(){return function(t){var n=!s(t.id);e.onSelectGroup(t,n),r(t.id)}(t)},indeterminate:!!Z(e.selectedStudents,t)}),a.createElement(D,{group:t}))})))),a.createElement(L.F,{onClick:function(){c.k.logUserAction({},c.k.mergeOptions(e.analyticsOptions,{actionType:l.Vw.Create,workflowPhase:l.eu.Start,entity:l.py.ClassroomGroup}))},appLink:H(e.classroom.id,e.selectedStudents),className:"text-nowrap d-flex align-items-center px-2"},a.createElement(O.x,{svgName:S.vn.Plus}),a.createElement(v.x,{namespace:j,phrase:"createNew"}))))}B.defaultProps={preselections:[]};var V=n(79014),X=n(83657),Y=n(20789),W=n(10038),q=n(55452);const Q={avatarContainer:"rfVnC",name:"RYLWZ"};function $(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,o,s,c=[],l=!0,i=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(a=o.call(n)).done)&&(c.push(a.value),c.length!==t);l=!0);}catch(e){i=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(i)throw r}}return c}}(e,t)||z(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 z(e,t){if(e){if("string"==typeof e)return J(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)?J(e,t):void 0}}function J(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 K=o.T.encloseNamespace("classrooms.manageClassroomStudentItem"),ee=function(e){return{application:k.O.USER_MANAGER,action:h.e.UserManager.EDIT_USER,args:[e],params:{userType:u.Y.Learner}}},te=function(e,t){return{application:k.O.CLASSROOMS,action:h.e.Classrooms.REMOVE_STUDENTS,args:[t],params:{studentIds:[e]}}};function ne(e){var t,n=$(a.useState(!1),2),r=n[0],o=n[1],s=$(a.useState(!1),2),u=s[0],d=s[1],m=$(a.useState({}),2),p=m[0],f=m[1],v=a.useRef(null),S=a.useRef(null),E=(0,g.T)().hasPermissions;a.useEffect((function(){C(),u||o(!0)}),[e.selectedGroups.length]);var h,k=V.q.throttle((function(){C(),o(!0)}),300);function C(){f(e.selectedGroups.reduce((function(e,t){return e[t.id]=!0,e}),{}))}return(0,W.H)((function(){u||k()})),a.useEffect((function(){if(v.current&&S.current&&r){var e=v.current.firstElementChild;if(e){var t,n,a=e.getBoundingClientRect().y,s={},c=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=z(e))){n&&(e=n);var a=0,r=function(){};return{s:r,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:r}}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(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){c=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(c)throw o}}}}(v.current.children);try{for(c.s();!(n=c.n()).done;){var l=n.value;l.id&&(s[l.id]=l.getBoundingClientRect().y===a,t=s[l.id]?l.id:t)}}catch(e){c.e(e)}finally{c.f()}S.current.getBoundingClientRect().y!==a&&(s[t]=!1),f(s),o(!1)}}}),[r]),a.createElement("div",{className:"d-flex align-items-center py-1 px-4"},a.createElement(U.X,{id:e.student.id,checked:e.checked,onChange:e.onToggleCheckbox,className:"me-2"}),a.createElement("div",{className:"".concat(Q.avatarContainer," me-2")},a.createElement(Y.q,{imageCdnUrl:e.config.imageCdnUrl,initials:q.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:"me-2 ".concat(Q.name," text-truncate mb-0 text-nowrap")},e.student.name," ",e.student.surname),a.createElement("div",{className:"".concat(r?"invisible":""," me-auto d-flex flex-wrap mt-n1"),ref:v},e.selectedGroups.map((function(e){return p[e.id]?a.createElement("div",{key:e.id,className:"me-1 mt-1",id:e.id},a.createElement(D,{group:e})):a.createElement(a.Fragment,{key:e.id})})),a.createElement("div",{ref:S,className:"me-1 mt-1"},a.createElement(_,{count:Object.keys(p).reduce((function(e,t){return p[t]||e++,e}),0),onClick:function(){d(!0),C()}}))),a.createElement(B,{id:"add-group-".concat(e.student.id),classroom:e.classroom,groups:e.classroomGroups,selectedStudents:[e.student],preselections:e.selectedGroups,onSelectGroup:function(t,n){return e.onToggleGroup(e.student,t,n)},analyticsOptions:{location:l.LZ.ManageClassroomStudentListItem},alignRight:!0}),a.createElement(X.e,{actions:(h=[],E(i.C.ManageUsers)&&h.push({label:K("editStudent"),appLink:ee(e.student.id),onClick:function(){c.k.logUserAction({id:e.student.id},{actionType:l.Vw.Edit,entity:l.py.User,workflowPhase:l.eu.Start,location:l.LZ.ManageClassroomStudentListItem})}}),h.push({label:K("removeStudent"),appLink:te(e.student.id,e.classroom.id),className:"text-danger",onClick:function(){c.k.logUserAction({id:e.classroom.id,userId:e.student.id},{actionType:l.Vw.Dissociate,entity:l.py.Classroom,descriptor:l.iF.User,workflowPhase:l.eu.Start,location:l.LZ.ManageClassroomStudentListItem})}}),h),actionsDropdownClassName:"btn"}))}var ae=n(88630),re="classrooms.manageClassroomStudents",oe=o.T.encloseNamespace(re);function se(e){var t,n=e.classroom,i=e.students,u=e.groups,d=(0,r.I0)(),m=(0,A.Z)(),g=(0,G.X)(i.data),p=g.getSelected().length,f=u.filter((function(e){var t,n;if(!(null===(n=null===(t=e.users)||void 0===t?void 0:t.data)||void 0===n?void 0:n.length))return!1;var a=!0,r=0,o=g.getSelected();if(o.length){var s=function(){var t=o[r];e.users.data.find((function(e){return e.id.toString()===t.toString()}))||(a=!1),r++};do{s()}while(r<o.length);return a}})),E=(0,R.a)(M.r.XLDown);return(null===(t=i.data)||void 0===t?void 0:t.length)?a.createElement(a.Fragment,null,a.createElement("div",{className:"d-flex align-items-center py-2 ".concat(E?"ps-2":"ps-4")},a.createElement(U.X,{id:"manage-classroom-students-bulk",onChange:g.onToggleBulk,checked:g.bulkChecked,className:"me-2",indeterminate:g.hasSomeSelections()}),a.createElement(B,{id:"bulk-add-group",classroom:n,selectedStudents:g.getSelected().map((function(t){return e.students.data.find((function(e){return e.id.toString()===t.toString()}))})),groups:u,onSelectGroup:function(e,t){var a=g.getSelected(),r=t?ae.F.addStudentsToGroup:ae.F.removeStudentsFromGroup;s.a.fetch(d,r(a,e.id,n.id,(function(){c.k.logUserAction({id:e.id,studentCount:a.length},{actionType:l.Vw.Associate,entity:l.py.ClassroomGroup,descriptor:l.iF.User,workflowPhase:l.eu.Complete,location:l.LZ.ManageClassroomStudents}),m.success(oe("addSuccess",{groupName:e.name,escapeText:!0}))}),(function(){m.error(oe("addError",{groupName:e.name,escapeText:!0}))})))},disabled:!p,preselections:f,analyticsOptions:{location:l.LZ.ManageClassroomStudents}}),a.createElement(x.L,{className:"me-auto ".concat(p?"":"text-light cursor-default"),onClick:function(){if(p){var e=g.getSelected();c.k.logUserAction({id:n.id,studentCount:e.length},{entity:l.py.Classroom,descriptor:l.iF.User,workflowPhase:l.eu.Start,actionType:l.Vw.Dissociate,location:l.LZ.ManageClassroomStudents}),w.Q.C$.trigger({application:k.O.CLASSROOMS,action:h.e.Classrooms.REMOVE_STUDENTS,args:[n.id],params:{studentIds:e}})}}},a.createElement(O.x,{svgName:S.vn.Delete,title:o.T.getPhrase(re,"delete"),tooltipPlacement:"top",tooltipSpanHack:!0})),a.createElement(I.h,{onClick:function(){c.k.logUserAction({id:n.id},{entity:l.py.Classroom,descriptor:l.iF.User,workflowPhase:l.eu.Start,actionType:l.Vw.Associate,location:l.LZ.ManageClassroomStudents}),w.Q.C$.trigger({application:k.O.CLASSROOMS,action:h.e.Classrooms.ADD_STUDENTS_CHOICES,args:[n.id]})},svgName:S.vn.Plus,className:"btn btn-outline-dark"},a.createElement(v.x,{namespace:re,phrase:"addStudent"}))),a.createElement("ul",{className:"striped-list list-unstyled"},i.data.map((function(t){return a.createElement("li",{key:t.id},a.createElement(ne,{classroom:n,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:g.isChecked(t.id),onToggleCheckbox:function(){return g.onToggleItem(t.id)},onToggleGroup:e.onToggleGroup}))})))):a.createElement(T,{classroom:e.classroom,classroomIdeasText:oe("classroomIdeasText"),schoolHasNoStudents:e.schoolHasNoStudents,canManageUsers:e.canManageUsers})}var ce=n(49935),le=n(5062);const ie="pJf6R",ue="MSvzY",de="IFmvc",me="pOcvk";var ge=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(ce.b2,{numItems:2})),a.createElement("div",{className:"pb-2"},a.createElement(le.Z,null)),a.createElement("div",{className:"d-flex align-items-center py-2"},a.createElement("div",{className:"mx-4 partial-loading-background ".concat(ie)}),a.createElement("div",{className:"me-2 partial-loading-background ".concat(ue)}),a.createElement("div",{className:"me-auto partial-loading-background ".concat(ue)}),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:"me-2 partial-loading-background ".concat(ie)}),a.createElement("div",{className:"me-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:"me-auto d-flex"},Math.random()>.5?a.createElement(a.Fragment,null,a.createElement("div",{className:"partial-loading-background rounded-pill me-1 ".concat(de," ").concat("SdQ90")}),a.createElement("div",{className:"partial-loading-background rounded-pill ".concat(de," ").concat(me)})):a.createElement("div",{className:"partial-loading-background rounded-pill ".concat(de," ").concat(me)})),a.createElement("div",{className:"me-2 partial-loading-background ".concat(ue)}),a.createElement("div",{className:"partial-loading-background ".concat("S7p4K")})))}))))})),pe=n(31491),fe=n(5289),ve=n(47288),Se=o.T.encloseNamespace("classrooms.classroomStudents"),Ee={entity:l.py.ClassroomGroup,descriptor:l.iF.User,workflowPhase:l.eu.Complete,location:l.LZ.ManageClassroomStudentListItem};function he(e){var t,n,o,f,v,S,E,h,k,C=s.a.useBasicFetch(m.N.currentUser()),y=s.a.useBasicFetch(C.data&&ae.F.getClassroom(e.id,C.data.id)),N=s.a.useBasicFetch(ae.F.getClassroomStudents(e.id)),b=s.a.useBasicFetch(C.data&&ve.N.getUsers(C.data.customerId,u.Y.Learner)),w=s.a.useBasicFetch(ae.F.getClassroomGroups(e.id)),x=s.a.useBasicFetch(d.L.config()),U=(0,r.I0)(),I=(0,g.T)().hasPermissions;return(0,p.M)({title:Se("pageTitle",{classroomName:null===(t=y.data)||void 0===t?void 0:t.name})}),(0,pe._)(y),y.data&&(null===(n=N.data)||void 0===n?void 0:n.data)&&(null===(o=w.data)||void 0===o?void 0:o.data)&&x.data&&b.data?a.createElement(fe.R,{classroom:y.data,currentUser:C.data,onTogglePin:function(e,t,n){var a=e?ae.F.pinClassroom:ae.F.unpinClassroom;s.a.fetch(U,a(y.data,t,n))},activeTab:"students"},(null===(v=null===(f=N.data)||void 0===f?void 0:f.data)||void 0===v?void 0:v.length)?a.createElement(se,{classroom:y.data,students:N.data,groups:w.data.data,onToggleGroup:function(t,n,a){var r={id:n.id,studentCount:1},o=a?ae.F.addStudentsToGroup([t.id],n.id,e.id,(function(){c.k.logUserAction(r,Object.assign(Object.assign({},Ee),{actionType:l.Vw.Associate}))})):ae.F.removeStudentsFromGroup([t.id],n.id,e.id,(function(){c.k.logUserAction(r,Object.assign(Object.assign({},Ee),{actionType:l.Vw.Dissociate}))}));s.a.fetch(U,o)},config:x.data,schoolHasNoStudents:!(null===(E=null===(S=b.data)||void 0===S?void 0:S.data)||void 0===E?void 0:E.length),canManageUsers:I(i.C.ManageUsers)}):a.createElement(T,{classroom:y.data,classroomIdeasText:Se("classroomIdeasText"),schoolHasNoStudents:!(null===(k=null===(h=b.data)||void 0===h?void 0:h.data)||void 0===k?void 0:k.length),canManageUsers:I(i.C.ManageUsers)})):a.createElement(ge,null)}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[1316],{29711:(e,t,n)=>{n.d(t,{X:()=>S});var a=n(32735),r=n(110),o=n(23481),i=n(49439);const c={cellDate:"qcD_n",label:"sp6Gw",isHovering:"_6xWx",numberWrapper:"KZfe0"};function l(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 s=o.T.encloseNamespace("specialEventCalendar.calendarCellDate");function u(e){var t=r.O.isToday(e.date),n="".concat(c.cellDate," d-flex flex-nowrap");t&&(n+=" bg-dark text-white"),e.notCurrentMonth&&!e.isHovering&&(n+=" text-secondary"),e.hasEvent&&(n+=" text-white"),e.className&&(n+=" ".concat(e.className));var o,u,d=(o=(0,i.L)({delay:250}),u=2,function(e){if(Array.isArray(e))return e}(o)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,o,i,c=[],l=!0,s=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(a=o.call(n)).done)&&(c.push(a.value),c.length!==t);l=!0);}catch(e){s=!0,r=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw r}}return c}}(o,u)||function(e,t){if(e){if("string"==typeof e)return l(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)?l(e,t):void 0}}(o,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.")}()),m=d[0],v=d[1];return a.createElement("div",{className:"".concat(n," ").concat(v?c.isHovering:""),ref:m},a.createElement("div",{className:"".concat(c.numberWrapper," ").concat("d-flex text-center justify-content-center align-items-center flex-shrink-0")},r.O.format(e.date,"D")),t&&a.createElement("div",{className:"".concat(c.label," justify-content-start align-items-center")},s("today")))}var d=n(49985),m=n(65858),v=n(84963),f=n(12324),p=n(36848),y=n(11607),h=n(44435),g=n(83914),b=n(55171),E=n(2284),O=n(54610),D=n(67453),M=n(35223);const w={hardcodedCover:"ByD0q",tag:"ZHW8B",date:"AKOWh",backgroundImage:"RDtch",eventCard:"YtMiS",wrapper:"ylxwf",left:"iTqxB",right:"bUUXX",noAnimation:"oZacR",cover:"kpH3Y",tagWrap:"KvlZ8",appear:"xlSdc",displayDate:"rkBJb",title:"c4_Kj",titleText:"nRMvg",circle:"wu4hg",active:"tbdFj",arrow:"omZKz",bottomBar:"hxKUP",bottomPlaceholder:"dzeZ7",multiEventFilter:"dSxjc"};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}function k(e){var t,n,o,i,c=e.sliderStep,l=e.setSliderStep,s=e.eventsOnDay.length>1,k=e.eventsOnDay.find((function(e,t){return t===c})),N=!!k.endDate,S=k.content.metadata.backgroundColor,Y=b.e.SpecialEvents[k.content.id],A=Y?D.j.createUrl(Y.iconUrl,{size:O.h2.Medium}):D.j.createUrl(null===(t=k.content.icon)||void 0===t?void 0:t.url,{size:O.h2.Small}),L=D.j.createUrl(null===(n=k.content.cover)||void 0===n?void 0:n.url,{size:O.h2.Small}),I=k.content.status===E.W.ComingSoon,x=(o=a.useState(e.hasInitialized?w.appear:""),i=2,function(e){if(Array.isArray(e))return e}(o)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,o,i,c=[],l=!0,s=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(a=o.call(n)).done)&&(c.push(a.value),c.length!==t);l=!0);}catch(e){s=!0,r=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw r}}return c}}(o,i)||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}}(o,i)||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.")}()),T=x[0],j=x[1];a.useEffect((function(){if(!e.hasInitialized){var t=Math.floor(600*Math.random()+400);window.setTimeout((function(){j(w.appear),window.setTimeout((function(){e.setHasInitialized(!0)}),400)}),t)}}),[e.hasInitialized]),a.useEffect((function(){e.isHovering&&e.setHoveredEvent(k)}),[e.isHovering,k]),a.useEffect((function(){return function(){var t;e.isHovering&&(null===(t=e.hoveredEvent)||void 0===t?void 0:t.specialEventId)===k.specialEventId&&e.setHoveredEvent(null)}}),[e.isHovering,e.hoveredEvent,k]);var P=function(){var t={date:r.O.format(e.date,"YYYY-MM-DD"),presentationId:e.presentationId,eventCount:e.eventsOnDay.length};return s?(t.eventId=e.eventsOnDay.map((function(e){return e.specialEventId})).join(","),t.topicId=e.eventsOnDay.map((function(e){return e.content.id})).join(",")):(t.eventId=k.specialEventId,t.topicId=k.content.id,t.eventStatus=k.content.status),t}(),H={actionType:m.Vw.Click,entity:m.py.SpecialEvent,location:m.LZ.CalendarDay};function U(e){return r.O.format(e,"YYYY-MM-DD")}return a.createElement("div",{onClick:function(){I&&d.k.logUserAction(P,H)}},a.createElement(p.F,{appLink:function(){var t,n;return s?null===(t=e.getEventsListAppLink)||void 0===t?void 0:t.call(e):I?null:null===(n=e.getTopicAppLink)||void 0===n?void 0:n.call(e,k.content.id,k.name)}(),className:"d-flex justify-content-end",analyticsOptions:H,analyticsData:P},a.createElement("div",{className:"".concat(w.tagWrap," p-1")},I&&a.createElement(v.r,{className:"justify-content-center p-0 rounded-circle ".concat(w.tag," ").concat(T),onlyIcon:!0})),!e.hideDay&&a.createElement(u,{date:e.date,notCurrentMonth:e.notCurrentMonth,className:"".concat(w.date," ").concat(T),isHovering:e.isHovering,hasEvent:!0}),a.createElement("div",{className:"postion-relative ".concat(w.wrapper)},a.createElement("div",{style:{backgroundColor:S},className:"position-absolute d-flex flex-column justify-content-end align-items-center text-white px-1 pt-2 pb-1 ".concat(w.eventCard," ").concat(T," ").concat(e.isHovering?"rounded-3":""," ").concat(e.isMultiEventDate?w.multiEventFilter:""," ").concat(e.className)},a.createElement("div",{style:{backgroundImage:"url('".concat(A||L,"')")},className:"".concat(Y?"".concat(w.hardcodedCover," position-absolute"):w.backgroundImage," ").concat(A?"":w.cover," ").concat(I?w.comingSoon:""," ").concat(T," ").concat(e.hasInitialized?w.noAnimation:""," ").concat(e.isHovering?"rounded-3":""," ").concat(e.isMultiEventDate?w.multiEventFilter:""," ").concat(e.className)}),N&&a.createElement("div",{className:"".concat(w.displayDate)},f.T.getDisplayDate(k.startDate,k.endDate)),a.createElement("div",{className:"text-center ".concat(w.title," ").concat(s?"mb-1":"mb-2")},a.createElement("div",{className:"".concat(w.titleText," ").concat(e.isHovering?"":"clamp-2"," ").concat(e.isHovering?"mb-0":""," h6"),title:k.name},k.name)),s&&0!==c&&a.createElement("div",{className:"position-absolute bg-white rounded-circle ".concat(w.left)},a.createElement(y.L,{onClick:function(t){t.stopPropagation(),t.preventDefault(),l((function(e){return e-1})),d.k.logUserAction({date:U(e.date),action:"previous",eventCount:e.eventsOnDay.length},H)}},a.createElement(g.x,{svgName:M.vn.ChevronLeft,className:"d-inline-block svg-container text-dark ".concat(w.arrow)}))),s&&c!==e.eventsOnDay.length-1&&a.createElement("div",{className:"position-absolute bg-white rounded-circle ".concat(w.right)},a.createElement(y.L,{onClick:function(t){t.stopPropagation(),t.preventDefault(),l((function(e){return e+1})),d.k.logUserAction({date:U(e.date),action:"next",eventCount:e.eventsOnDay.length},H)}},a.createElement(g.x,{svgName:M.vn.ChevronRight,className:"d-inline-block svg-container text-dark ".concat(w.arrow)}))),s&&a.createElement("div",{className:"d-flex ".concat(w.bottomBar," ").concat(s?"":w.bottomPlaceholder)},a.createElement(h.e,{sliderStep:c,sliderLength:e.eventsOnDay.length,size:"sm",className:"".concat(e.isHovering?"mb-2":"mb-1"),onSliderDotClick:function(t){l(t),d.k.logUserAction({date:U(e.date),action:"jump",eventCount:e.eventsOnDay.length},H)}}))))))}const N={cell:"nsEjO",multiEventCell:"vvFYj",fadeIn:"BX0cX"};function S(e){var t,n,o=a.useMemo((function(){var t,n,a,o;return(null===(t=e.hoveredEvent)||void 0===t?void 0:t.endDate)&&!r.O.isSame(e.date,null===(n=e.hoveredEvent)||void 0===n?void 0:n.startDate)&&r.O.isBetween(r.O.format(e.date,"YYYY-MM-DD"),null===(a=e.hoveredEvent)||void 0===a?void 0:a.startDate,null===(o=e.hoveredEvent)||void 0===o?void 0:o.endDate)}),[e.hoveredEvent]),i=null===(t=e.hoveredEvent)||void 0===t?void 0:t.content.metadata.backgroundColor;return a.createElement("div",{className:"".concat(N.cell," fw-semibold")},!e.hideDay&&a.createElement(u,{date:e.date,notCurrentMonth:e.notCurrentMonth}),o&&a.createElement("div",{style:{backgroundColor:i},className:N.multiEventCell}),(null===(n=e.eventsOnDay)||void 0===n?void 0:n.length)>0&&a.createElement(k,Object.assign({},e,{isMultiEventDate:o})))}},84963:(e,t,n)=>{n.d(t,{r:()=>u});var a=n(32735),r=n(23481),o=n(83914),i=n(76177),c=n(35223);const l={tag:"XRj8d",tooltip:"X6mLk"};var s="specialEventCalendar.comingSoonTag";function u(e){return a.createElement(i.u,{title:r.T.getPhrase(s,"tooltip"),spanHackClassName:"d-block ".concat(l.tooltip),spanHack:!0},a.createElement("div",{className:"d-flex text-dark align-items-center ".concat(l.tag," ").concat(e.className)},a.createElement(o.x,{svgName:c.vn.Timer}),!e.onlyIcon&&r.T.getPhrase(s,"comingSoon")))}},12324:(e,t,n)=>{n.d(t,{T:()=>r});var a=n(110),r={getDisplayDate:function(e,t){return t?e.slice(5,7)!==t.slice(5,7)?"".concat(a.O.format(e,"D MMM")," - ").concat(a.O.format(t,"D MMM")):"".concat(a.O.format(e,"D")," - ").concat(a.O.format(t,"D")," ").concat(a.O.format(e,"MMM")):a.O.format(e,"D MMM")},getEventsInMonth:function(e,t){return e.filter((function(e){return a.O.format(e.startDate,"YYYY-MM")===a.O.format(t,"YYYY-MM")}))},getOrdinalDate:function(e){return"".concat(a.O.localeData().ordinal(a.O.get(e,"date"))," ").concat(a.O.format(e,"MMMM"))}}},3278:(e,t,n)=>{n.d(t,{z:()=>m});var a=n(32735),r=n(39202),o=n(23481),i=n(65858),c=n(38502),l=n(83345),s=n(98758);const u={pillTab:"bMJM0"};var d="discover.header";function m(e){var t,n,m,v,f,p;if(!e.type)return a.createElement(a.Fragment,null);if(e.type===s.Yv.Learner||e.hasStudentExperience)return a.createElement("div",{className:"py-3"},a.createElement("h1",{className:"h2 mb-0"},a.createElement(l.x,{namespace:d,phrase:"heading"})));var y=[{name:o.T.getPhrase(d,"forYou"),appLink:null===(t=e.appLinks)||void 0===t?void 0:t.forYou,active:"forYou"===e.active,analyticsData:{name:o.T.getPhrase(d,"forYou"),url:r.C$.getHref(null===(n=e.appLinks)||void 0===n?void 0:n.forYou)},analyticsOptions:{actionType:i.Vw.Click,entity:i.py.Url,location:i.LZ.MagicTabs}},{name:o.T.getPhrase(d,"whatsNew"),appLink:null===(m=e.appLinks)||void 0===m?void 0:m.whatsNew,active:"whatsNew"===e.active,analyticsData:{name:o.T.getPhrase(d,"whatsNew"),url:r.C$.getHref(null===(v=e.appLinks)||void 0===v?void 0:v.whatsNew)},analyticsOptions:{actionType:i.Vw.Click,entity:i.py.Url,location:i.LZ.MagicTabs}}];return e.showCalendar&&y.push({name:o.T.getPhrase(d,"calendar"),appLink:null===(f=e.appLinks)||void 0===f?void 0:f.calendar,active:"calendar"===e.active,analyticsData:{name:o.T.getPhrase(d,"calendar"),url:r.C$.getHref(null===(p=e.appLinks)||void 0===p?void 0:p.calendar)},analyticsOptions:{actionType:i.Vw.Click,entity:i.py.Url,location:i.LZ.MagicTabs}}),a.createElement("div",{className:"py-3 text-center"},a.createElement(c.r,{tabs:y,className:u.pillTab}))}},38502:(e,t,n)=>{n.d(t,{r:()=>s});var a=n(32735),r=n(49985),o=n(36848),i=n(76246),c=n(11607),l=n(87432);function s(e){var t;return a.createElement("nav",{className:null!==(t=e.className)&&void 0!==t?t:""},a.createElement("ul",{className:"list-unstyled d-inline-block m-0 ".concat(l.Z.pillTabSelector)},e.tabs.map((function(e){return a.createElement("li",{className:"p-0 ".concat(e.active?"btn btn-dark":"btn btn-outline-dark"),key:e.name},e.appLink?a.createElement(o.F,{appLink:e.appLink,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,className:"cursor-pointer d-flex justify-content-center text-decoration-none text-reset px-2 ".concat(l.Z.pillItem)},e.name,"number"==typeof e.count&&a.createElement("div",{className:"ps-2"},a.createElement(i.C,{type:i.g.Count,data:e.count}))):a.createElement(c.L,{className:"".concat(l.Z.pillItem," d-flex justify-content-center p-2"),onClick:function(){return function(e){!e.active&&e.onSelect&&(e.onSelect(),e.analyticsData&&e.analyticsOptions&&r.k.logUserAction(e.analyticsData,e.analyticsOptions))}(e)}},e.name,"number"==typeof e.count&&a.createElement("div",{className:"ps-2"},a.createElement(i.C,{type:i.g.Count,data:e.count}))))}))))}},2284:(e,t,n)=>{var a;n.d(t,{W:()=>a}),function(e){e.Draft="Draft",e.ComingSoon="ComingSoon",e.Published="Published"}(a||(a={}))},13037:(e,t,n)=>{n.d(t,{b:()=>g});var a=n(32735),r=n(23481),o=n(110),i=n(49985),c=n(65858),l=n(84963),s=n(12324),u=n(42735),d=n(36848),m=n(2284),v=n(54610),f=n(79967),p=n(67453);const y={modalWidth:"v5TkI",banner:"LlPSp",bannerContent:"upY3A",pill:"B7ypp"};var h="specialEventCalendar.eventsListItem";function g(e){var t,n=(0,f.k)(),g=e.getAppLink(e.event.content.id,e.event.name),b=e.event.content.metadata.backgroundColor,E=p.j.createUrl(null===(t=e.event.content.banner)||void 0===t?void 0:t.url,{size:v.h2.Large}),O=!!e.event.endDate,D=e.event.content.status===m.W.ComingSoon,M={actionType:c.Vw.Click,entity:c.py.SpecialEvent,location:e.inPopup?c.LZ.CalendarPopup:c.LZ.CalendarDay},w={topicId:e.event.content.id,eventId:e.event.specialEventId,presentationId:e.presentationId,date:o.O.format(new Date(e.event.startDate),"YYYY-MM-DD"),status:e.event.content.status};return a.createElement("div",{onClick:function(){D&&i.k.logUserAction(w,M)}},a.createElement(d.F,{appLink:!D&&g,className:"".concat(D?"":"cursor-pointer"," text-decoration-none"),onClick:e.onClick,analyticsOptions:M,analyticsData:w},a.createElement("div",{className:"banner rounded-3 position-relative ".concat(y.banner),style:{backgroundColor:b,backgroundImage:"url('".concat(E,"')")}},a.createElement("div",{className:"".concat(y.bannerContent," px-3")},a.createElement("div",{className:"text-white"},D&&a.createElement(l.r,{className:"pe-2 fw-semibold mb-1 rounded-pill justify-content-start ".concat(y.pill)}),O&&a.createElement("div",{className:"mb-1"},s.T.getDisplayDate(e.event.startDate,e.event.endDate)),a.createElement("h2",{className:"h4 clamp-1 text-white text-shadow",title:e.event.name},e.event.name)),a.createElement("div",{className:"flex-shrink-0"},!D&&a.createElement(u.K,{className:"btn btn-outline-dark fw-semibold"},r.T.getPhrase(h,n.xs?"mobileButtonLabel":"buttonLabel")))))),a.createElement("div",{className:"mt-2 mb-3"},e.event.description||e.event.content.description))}},39780:(e,t,n)=>{n.d(t,{N:()=>c});var a=n(97395),r=n(75896),o=n(110),i=n(4594),c={calendarEvents:function(e,t,n){return{url:a._.urlBuilder("{gateway}/v1/discover/special-events/content",{from:e,to:t,presentationId:n}),publicUrl:a._.urlBuilder("/api/discover/special-events/content",{from:e,to:t,presentationId:n}),key:"presentation:".concat(n,":events:from:").concat(e,":to").concat(t)}},nextTopicSpecialEvent:function(e,t){var n={presentationId:t,limit:1,from:o.O.format(new Date,"YYYY-MM-DD"),objectType:i.E.Subject};return{url:a._.urlBuilder("{gateway}/v1/discover/special-events/object/".concat(e,"/next-events"),n),publicUrl:a._.urlBuilder("/api/discover/special-events/object/".concat(e,"/next-events"),n),key:"presentation:".concat(t,":events:classification:").concat(e),formatData:function(e){return r.m.first(e)}}}}},74590:(e,t,n)=>{n.d(t,{N:()=>h});var a=n(32735),r=n(35242),o=n(20354),i=n(27022),c=n(72639),l=n(31949),s=n(37802),u=n(10144),d=n(86698);function m(e){return m="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},m(e)}function v(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,o,i,c=[],l=!0,s=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(a=o.call(n)).done)&&(c.push(a.value),c.length!==t);l=!0);}catch(e){s=!0,r=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw r}}return c}}(e,t)||function(e,t){if(e){if("string"==typeof e)return f(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)?f(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.")}()}function f(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 p(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==m(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,"string");if("object"!==m(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===m(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y=p(p(p(p(p(p({},i.t.AU,[c.p.Level_1]),i.t.US,[c.p.Level_1]),i.t.UK,[c.p.Level_1]),i.t.SCOT,[c.p.Level_1]),i.t.NZ,[]),i.t.GLOBAL,[]);function h(){var e,t=(0,s.r)(null),n=t.hasSpecialEventCalendar,i=t.isLoadingSettings,c=(0,d.y)({redirectOnError:!0}).activePresentation,m=o.a.useBasicFetch(l.N.currentUser()),f=y[null===(e=m.data)||void 0===e?void 0:e.contentRegion],p=u.i.getMappedPresentationLevel(null==c?void 0:c.learningLevel),h=!(null==f?void 0:f.find((function(e){return e.toString()===(null==p?void 0:p.toString())}))),g=!i&&!n,b=v(a.useState(!g&&!h),2),E=b[0],O=b[1],D=v(a.useState(i||!(null==c?void 0:c.id)),2),M=D[0],w=D[1];return a.useEffect((function(){g||h?O(!1):M||O(!0),w(i||!(null==c?void 0:c.id))}),[n,null==c?void 0:c.id,M]),r.h.isDevelopment?{showCalendar:!0,isLoading:!1}:{showCalendar:E,isLoading:M}}},81316:(e,t,n)=>{n.r(t),n.d(t,{CalendarView:()=>Oe});var a=n(32735),r=n(23481),o=n(81886),i=n(110),c=n(3278),l=n(79612),s=n(98758),u=n(14070),d=n(97291),m=n(86698),v=n(30241),f=n(56017),p=n(33192),y=n(80247),h=n(28400),g=n(12324),b=n(79967),E=n(29711),O=n(27867);const D={wrapper:"ID5BX",notCurrentMonth:"KThJz",weekend:"Le3vK"};function M(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 w(e){var t,n,r,o=e.date,c=e.notCurrentMonth,l=(n=a.useState(0),r=2,function(e){if(Array.isArray(e))return e}(n)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,o,i,c=[],l=!0,s=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(a=o.call(n)).done)&&(c.push(a.value),c.length!==t);l=!0);}catch(e){s=!0,r=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw r}}return c}}(n,r)||function(e,t){if(e){if("string"==typeof e)return M(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)?M(e,t):void 0}}(n,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],d="position-relative border border-light-blue ".concat(D.wrapper);(function(e){return 0===i.O.getWeekday(e)||6===i.O.getWeekday(e)})(o)&&(d+=" ".concat(D.weekend)),c&&(d+=" ".concat(D.notCurrentMonth));var m=(null===(t=e.events)||void 0===t?void 0:t.filter((function(t){return i.O.isSame(e.date,t.startDate)})))||[],v=Object.assign(Object.assign({},e),{eventsOnDay:m,sliderStep:s,setSliderStep:u});return a.createElement("td",{className:d},(null==m?void 0:m.length)>0?a.createElement(O.K,{hoverableComponent:E.X,componentProps:v,hoverScale:1.35}):a.createElement(E.X,Object.assign({},v,{isHovering:!1})))}var C=n(36848),k=n(23232),N=n(83345),S=n(99742),Y="specialEvent.eventsEmptyState",A=r.T.encloseNamespace(Y);function L(e){return a.createElement(N.D.Provider,{value:Y},a.createElement(k.u,null,a.createElement(k.u.Image,{src:S.W.EmptyStates.CALENDAR.NO_EVENTS,altText:A("info")}),a.createElement(k.u.Heading,null,a.createElement(N.x,{phrase:"heading"})),a.createElement(k.u.Info,null,a.createElement(N.x,{namespace:Y,phrase:"info"}),a.createElement(C.F,{appLink:e.appLink},a.createElement("span",{className:"text-blue"},A("link"))))))}var I=n(13037);const x={date:"dn7Hd",first:"axdj4"};function T(e){var t={};e.events.forEach((function(e){var n=e.startDate;t[n]?t[n].push(e):t[n]=[e]}));var n=Object.keys(t);return n.sort((function(e,t){return i.O.isBefore(e,t)?-1:0})),a.createElement("div",{className:"py-1"},n.map((function(n,r){return a.createElement("div",{key:n},a.createElement("div",{className:"h4 mt-4 ".concat(x.date," ").concat(0===r?x.first:"")},g.T.getOrdinalDate(n)),t[n].map((function(t){return a.createElement(I.b,{key:t.content.id,getAppLink:function(e,t){return{application:d.O.SUBJECT,action:u.e.Subjects.CLASSIFICATION,args:[e,h.m.slugify(t)]}},event:t,presentationId:e.presentationId})})))})))}const j={header:"xLOrx",thead:"ef_XJ"};function P(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,o,i,c=[],l=!0,s=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(a=o.call(n)).done)&&(c.push(a.value),c.length!==t);l=!0);}catch(e){s=!0,r=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw r}}return c}}(e,t)||function(e,t){if(e){if("string"==typeof e)return H(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)?H(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.")}()}function H(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 U(e){var t=(0,b.k)(),n=g.T.getEventsInMonth(e.events||[],e.viewingMonth),r=P(a.useState(!1),2),o=r[0],i=r[1],c=P(a.useState(null),2),l=c[0],s=c[1];return t.xs||t.sm||t.md?e.eventsLoaded?(null==n?void 0:n.length)?a.createElement(T,{events:n,presentationId:e.presentationId}):a.createElement(L,{appLink:{application:d.O.CONTENT_UPDATES,action:u.e.ContentUpdates.CONTENT_UPDATES}}):a.createElement("div",{className:"d-flex justify-content-center align-items-center"},a.createElement(y.Z,{as:"div",animation:"border",role:"status"})):a.createElement("table",{className:"user-select-none w-100 mt-3 overflow-hidden rounded-top-lg"},a.createElement("thead",{className:"border border-light-blue ".concat(j.thead)},a.createElement("tr",{className:"fw-semibold bg-light-blue ".concat(j.header)},e.weekDaysHeader.map((function(e){return a.createElement("th",{key:e,className:"px-2 h4"},e)})))),a.createElement("tbody",null,e.weekDays.map((function(t){return a.createElement("tr",{key:t[0].toString()},t.map((function(t){return a.createElement(w,{key:t.toString(),date:t,notCurrentMonth:!!t.notCurrentMonth,events:e.events,monthQuery:e.monthQuery,hasInitialized:o,setHasInitialized:i,presentationId:e.presentationId,hoveredEvent:l,setHoveredEvent:s,getEventsListAppLink:function(){return{application:d.O.CALENDAR,action:u.e.Calendar.SPECIAL_EVENT_LIST,params:Object.assign(Object.assign({},e.monthQuery),{date:t.toString(),presentationId:e.presentationId})}},getTopicAppLink:function(e,t){return{application:d.O.SUBJECT,action:u.e.Subjects.CLASSIFICATION,args:[e,h.m.slugify(t)]}}})})))}))))}var _=n(65858),B=n(11607),F=n(83914),R=n(35223),W=n(53806),z=n.n(W),Z=n(75896),V=new Date("2023-01-01"),$=12;function K(e,t){for(var n=i.O.startOf(e,"month"),a=i.O.getWeekday(n),r=[],o=t?0===a?6:a-1:a,c=t?1:0;c<=o;c++){var l=n,s=i.O.weekday(l,a-c);r.push(Object.assign(s,{notCurrentMonth:!0}))}return r.reverse()}function X(e,t){for(var n=i.O.endOf(e,"month"),a=i.O.getWeekday(n),r=[],o=t?7-(0===a?7:a):7-a,c=1;c<=o;c+=1){var l=i.O.add(n,c,"days");r.push(Object.assign(l,{notCurrentMonth:!0}))}return r}function J(e){var t=i.O.startOf(e,"month");return 1===i.O.getWeekday(t)?t:Z.m.first(K(e,!0))}function Q(e){var t=i.O.endOf(e,"month");return 0===i.O.getWeekday(t)?t:Z.m.last(X(e,!0))}function q(e){return[J(e),Q(e)]}var G=new Date;const ee={actions:"DpKMU",chevron:"IE4Ui",left:"AFmnx",right:"N1Rz_"};var te="specialEventCalendar.calendarNav";function ne(e){var t="previous"===e.action?R.vn.ChevronLeft:R.vn.ChevronRight,n="previous"===e.action?ee.left:ee.right;return a.createElement(B.L,{className:"".concat(ee.chevron," ").concat(n," border border-dark rounded-circle bg-white d-flex align-items-center justify-content-center"),onClick:e.onClick},a.createElement(F.x,{svgName:t,size:F.S.Medium,className:"svg-container d-inline-block ".concat(ee.svg)}))}var ae=new Date;function re(e){var t=(0,b.k)();function n(e){var t=i.O.format(e,"MMMM").toLocaleLowerCase(),n=(new Date).getFullYear(),a=e.getFullYear(),r={application:d.O.CALENDAR,action:u.e.Calendar.CALENDAR_MONTH,args:[t]};return n!==a&&(r.params={year:a}),r}var o,c,l=(o=e.monthDate,c=i.O.diffBetween(i.O.startOf(o,"month"),i.O.startOf(G,"month"),"months"),{showPrev:i.O.isAfter(o,V,"month"),showNext:c<$}),s=l.showPrev,m=l.showNext,v={actionType:_.Vw.Click,entity:_.py.SpecialEvent,location:_.LZ.CalendarNav};function f(e){return i.O.format(e,"YYYY-MM-DD")}return a.createElement("div",{className:"d-flex justify-content-between align-items-center"},a.createElement("h1",{className:"mb-0 h2"},i.O.format(e.monthDate,t.xs?"MMM YYYY":"MMMM YYYY")),a.createElement("div",{className:"d-flex ".concat(ee.actions)},s&&a.createElement(C.F,{appLink:n(i.O.startOf(i.O.subtract(e.monthDate,1,"month"),"month")),className:"d-flex",analyticsOptions:v,analyticsData:{action:"previous",date:f(i.O.startOf(i.O.add(e.monthDate,1,"month"),"month"))}},a.createElement(ne,{action:"previous",onClick:function(){var t=i.O.subtract(e.monthDate,1,"month");e.setViewingMonthDate(t)}})),a.createElement(C.F,{appLink:{application:d.O.CALENDAR,action:u.e.Calendar.CALENDAR},className:"d-flex",analyticsOptions:v,analyticsData:{action:"today",date:f(i.O.startOf(ae,"month"))}},a.createElement(B.L,{className:"".concat(ee.todayWrapper," btn btn-outline-dark fw-semibold"),onClick:function(){i.O.format(ae,"YYYY-MM-DD")!==i.O.format(e.monthDate,"YYYY-MM-DD")&&e.setViewingMonthDate()}},r.T.getPhrase(te,"today"))),m&&a.createElement(C.F,{appLink:n(i.O.startOf(i.O.add(e.monthDate,1,"month"),"month")),className:"d-flex",analyticsOptions:v,analyticsData:{action:"next",date:f(i.O.startOf(i.O.add(e.monthDate,1,"month"),"month"))}},a.createElement(ne,{action:"next",onClick:function(){var t=i.O.add(e.monthDate,1,"month");e.setViewingMonthDate(t)}}))))}var oe="specialEvent.eventsErrorState",ie=r.T.encloseNamespace(oe);function ce(e){return a.createElement(N.D.Provider,{value:oe},a.createElement(k.u,null,a.createElement(k.u.Image,{src:S.W.EmptyStates.CALENDAR.INVALID_DATE}),a.createElement(k.u.Heading,null,a.createElement(N.x,{phrase:"heading"})),a.createElement(k.u.Info,null,a.createElement(N.x,{namespace:oe,phrase:"info"}),a.createElement("br",null),a.createElement(C.F,{appLink:e.appLink},a.createElement("span",{className:"text-blue"},ie("link"))))))}var le=n(20354),se=n(39780);function ue(e){return function(e){if(Array.isArray(e))return ve(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||me(e)||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.")}()}function de(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,o,i,c=[],l=!0,s=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(a=o.call(n)).done)&&(c.push(a.value),c.length!==t);l=!0);}catch(e){s=!0,r=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw r}}return c}}(e,t)||me(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 me(e,t){if(e){if("string"==typeof e)return ve(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)?ve(e,t):void 0}}function ve(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 fe(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 pe=new Date;function ye(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:pe,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],c=function(e){var t=e?[1,2,3,4,5,6,0]:[0,1,2,3,4,5,6],n=new Date;return t.map((function(e){return i.O.format(i.O.weekday(n,e),"ddd")}))}(r),l=a.useRef({}),s=(e=a.useState([]),t=2,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,o,i,c=[],l=!0,s=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(a=o.call(n)).done)&&(c.push(a.value),c.length!==t);l=!0);}catch(e){s=!0,r=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw r}}return c}}(e,t)||function(e,t){if(e){if("string"==typeof e)return fe(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)?fe(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.")}()),m=s[0],v=s[1],f=i.O.format(n,"YYYY-MM");a.useEffect((function(){var e=l.current[f];if(e)v(e.weeksTable);else{var t=function(e,t){for(var n=[],a={},r=K(e,t).concat(function(e){for(var t=i.O.daysInMonth(e),n=[],a=1;a<=t;a++){var r=i.O.set(e,"date",a);n.push(Object.assign(r,{notCurrentMonth:!1}))}return n}(e)).concat(X(e,t)),o=function(e){var t=r.slice(c,c+7);t.forEach((function(t,n){a[i.O.format(t,"YYYY-MM-DD")]={row:e,col:n}})),n.push(t),e++,l=e},c=0,l=0;c<r.length;c+=7)o(l);return{datePositionMap:a,weeksTable:n}}(n,r),a=t.weeksTable,o=t.datePositionMap;l.current[f]={weeksTable:a,datePositionMap:o},v(a)}}),[i.O.format(n,"YYYY-MM")]);var p=Z.m.first(Z.m.first(m)),y=Z.m.last(Z.m.last(m));return{weekDaysHeader:c,weekDays:m,monthDate:n,setMonthDate:function(e){if(e){if(f!==i.O.format(e,"YYYY-MM")){var t=i.O.format(e,"MMMM").toLocaleLowerCase(),a=(new Date).getFullYear(),r=n.getFullYear(),c={application:d.O.CALENDAR,action:u.e.Calendar.CALENDAR_MONTH,args:[t]};a!==r&&(c.params={year:r}),o.Q.C$.trigger(c)}}else o.Q.C$.trigger({application:d.O.CALENDAR,action:u.e.Calendar.CALENDAR})},startDate:p,endDate:y}}var he=n(74590),ge=r.T.encloseNamespace("specialEventCalendar.calendarView"),be={whatsNew:{application:d.O.CONTENT_UPDATES,action:u.e.ContentUpdates.CONTENT_UPDATES},forYou:{application:d.O.DASHBOARD,action:u.e.Dashboard.HOME},calendar:{application:d.O.CALENDAR,action:u.e.Calendar.CALENDAR}},Ee=i.O.format(new Date,"MMMM-YYYY").toLocaleLowerCase();function Oe(e){var t=(0,m.y)({redirectOnError:!0}).activePresentation,n=(0,he.N)(),r=n.showCalendar,u=n.isLoading,d=function(e){if(!e)return!0;if(!i.O.formatIsValid(e,"MMMM-YYYY",!0))return!1;var t=z()(e,"MMMM-YYYY").toDate();return i.O.isSame(t,V,"month")||i.O.isAfter(t,V,"month")}(e.month);a.useEffect((function(){u||r||o.Q.C$.trigger(be.forYou,{replace:!0})}),[r,u]);var y,h=(y=e.month)?z()(y,"MMMM-YYYY").toDate():i.O.parseDateString(),g=ye(h),b=g.monthDate,E=g.setMonthDate,O=g.weekDays,D=g.weekDaysHeader,M=g.startDate,w=g.endDate,C=function(e){var t=(0,m.y)({redirectOnError:!0}).activePresentation,n=null==t?void 0:t.id,a=de(q(e),2),r=a[0],o=a[1],c=de(q(i.O.add(e,1,"month")),2),l=c[0],s=c[1],u=de(q(i.O.subtract(e,1,"month")),2),d=u[0],v=u[1],f=le.a.useBasicFetch(r&&o&&n&&se.N.calendarEvents(i.O.format(r,"YYYY-MM-DD"),i.O.format(o,"YYYY-MM-DD"),n)),p=le.a.useBasicFetch(l&&s&&n&&se.N.calendarEvents(i.O.format(l,"YYYY-MM-DD"),i.O.format(s,"YYYY-MM-DD"),n)),y=le.a.useBasicFetch(d&&v&&n&&se.N.calendarEvents(i.O.format(d,"YYYY-MM-DD"),i.O.format(v,"YYYY-MM-DD"),n));return{events:Z.m.uniq([].concat(ue(y.data||[]),ue(f.data||[]),ue(p.data||[])),(function(e){return e.specialEventId})),loaded:f.hasCompleted}}(h),k=C.events,N=C.loaded,S=i.O.format(b,"MMMM YYYY");return(0,l.M)(f.C.getDefaultMetadata({title:S,phraseContext:{phraseHandler:ge,titlePhrase:"pageTitle",descriptionPhrase:"pageDescription"},canonicalLink:p.f.getCanonicalLink({allowedParams:["year"]}),allowIndexing:p.f.allowIndexing(),hrefLang:p.f.getStaticRouteHrefLang(null==t?void 0:t.learningLevel,(function(){return be.calendar}),v.Bg)})),null===e.month||d?u||!(null==t?void 0:t.id)?a.createElement(a.Fragment,null):a.createElement("div",{className:"bg-white px-3"},a.createElement(c.z,{type:s.Yv.Staff,appLinks:be,showCalendar:r,active:"calendar"}),a.createElement(re,{monthDate:b,setViewingMonthDate:E}),a.createElement(U,{weekDays:O,weekDaysHeader:D,events:k,monthQuery:{from:null==M?void 0:M.toString(),to:null==w?void 0:w.toString()},viewingMonth:h,eventsLoaded:N,presentationId:t.id})):a.createElement(ce,{appLink:Object.assign(Object.assign({},be.calendar),{args:[Ee]})})}},87432:(e,t,n)=>{n.d(t,{Z:()=>a});const a={pillTabSelector:"Hdi6o",pillItem:"hUJx1"}}}]);
|