@hhgtech/hhg-components 1.29.135 → 1.29.137
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/build/{LastPeriod-03679801.js → LastPeriod-5dc24041.js} +1 -1
- package/build/{MobileBottomNavigationIcon-f0769735.js → MobileBottomNavigationIcon-9ef5936c.js} +3 -3
- package/build/{Spinner-ab7caad0.js → Spinner-b3e4b33e.js} +1 -1
- package/build/{WhatsApp-d729dea8.js → WhatsApp-8601a13e.js} +1 -1
- package/build/adapters.js +19 -19
- package/build/atoms.js +46 -46
- package/build/babyGrowth.js +83 -83
- package/build/cache.js +2 -2
- package/build/care.js +17 -17
- package/build/careBookingSearchBar.js +14 -14
- package/build/careBookingSearchBarV2.js +15 -15
- package/build/components.js +90 -90
- package/build/{constants-468d8c52.js → constants-126d4416.js} +1 -1
- package/build/constants.js +3 -3
- package/build/constantsDomainLocales.js +1 -1
- package/build/constantsRiskScreener.js +2 -2
- package/build/constantsSite.js +2 -2
- package/build/{core-9d2adcdf.js → core-8bb731eb.js} +1 -1
- package/build/{dataTransform-f2ff157c.js → dataTransform-9ebba450.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-3d2c78d7.js → editor-5c8ef2ef.js} +11 -11
- package/build/embeddedHeathToolCards_babyGrowth.js +23 -23
- package/build/embeddedHeathToolCards_babyPoop.js +19 -19
- package/build/embeddedHeathToolCards_babyVaccine.js +22 -22
- package/build/embeddedHeathToolCards_bmi_bmi.js +26 -26
- package/build/embeddedHeathToolCards_bmrBmr.js +26 -26
- package/build/embeddedHeathToolCards_dueDate_dueDate.js +22 -22
- package/build/embeddedHeathToolCards_ovulation_ovulation.js +22 -22
- package/build/embeddedHeathToolCards_pwg_pwg.js +27 -27
- package/build/embeddedHeathToolCards_targetHeartRate.js +28 -28
- package/build/esm/{LastPeriod-132471f4.js → LastPeriod-ff8d15ac.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-383c797e.js → MobileBottomNavigationIcon-e58ebed2.js} +3 -3
- package/build/esm/{Spinner-c2347059.js → Spinner-d78d4204.js} +1 -1
- package/build/esm/{WhatsApp-20482625.js → WhatsApp-0664b86e.js} +1 -1
- package/build/esm/adapters.js +19 -19
- package/build/esm/atoms.js +46 -46
- package/build/esm/babyGrowth.js +83 -83
- package/build/esm/cache.js +2 -2
- package/build/esm/care.js +17 -17
- package/build/esm/careBookingSearchBar.js +14 -14
- package/build/esm/careBookingSearchBarV2.js +15 -15
- package/build/esm/components.js +90 -90
- package/build/esm/{constants-b57306b5.js → constants-b45b66bb.js} +1 -1
- package/build/esm/constants.js +3 -3
- package/build/esm/constantsDomainLocales.js +1 -1
- package/build/esm/constantsRiskScreener.js +2 -2
- package/build/esm/constantsSite.js +2 -2
- package/build/esm/{core-fa67723f.js → core-7f3a442d.js} +1 -1
- package/build/esm/{dataTransform-1a7090aa.js → dataTransform-e57e06c5.js} +1 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-665675b1.js → editor-9c7784c5.js} +11 -11
- package/build/esm/embeddedHeathToolCards_babyGrowth.js +23 -23
- package/build/esm/embeddedHeathToolCards_babyPoop.js +19 -19
- package/build/esm/embeddedHeathToolCards_babyVaccine.js +22 -22
- package/build/esm/embeddedHeathToolCards_bmi_bmi.js +26 -26
- package/build/esm/embeddedHeathToolCards_bmrBmr.js +26 -26
- package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +22 -22
- package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +22 -22
- package/build/esm/embeddedHeathToolCards_pwg_pwg.js +27 -27
- package/build/esm/embeddedHeathToolCards_targetHeartRate.js +28 -28
- package/build/esm/{fixedBottomAdBlock-0e77403a.js → fixedBottomAdBlock-9cc0a2a5.js} +23 -23
- package/build/esm/footer.js +21 -21
- package/build/esm/gAssets.js +2 -2
- package/build/esm/healthToolsCardWrapper.js +18 -18
- package/build/esm/healthToolsForm.js +34 -34
- package/build/esm/hooks.js +14 -14
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-d35a6bd2.js → index-0c013566.js} +15 -15
- package/build/esm/{index-26c9306a.js → index-0f69d222.js} +6 -6
- package/build/esm/{index-c811db3e.js → index-0f6eff80.js} +3 -3
- package/build/esm/{index-79af91b2.js → index-10b92651.js} +1 -1
- package/build/esm/{index-91ce164c.js → index-1c8a8369.js} +1 -1
- package/build/esm/{index-61116886.js → index-1dc3558d.js} +18 -18
- package/build/esm/{index-9c1286b5.js → index-1e6eac52.js} +2 -2
- package/build/esm/{index-d7d37a84.js → index-20f3073e.js} +2 -2
- package/build/esm/{index-bd976581.js → index-2979e1e0.js} +2 -2
- package/build/esm/{index-d0baf6c2.js → index-2efdd34a.js} +2 -2
- package/build/esm/{index-e459e1c0.js → index-30fec346.js} +1 -1
- package/build/esm/{index-b156639e.js → index-42677f9b.js} +1 -1
- package/build/esm/{index-2bf41620.js → index-4966daf2.js} +7 -7
- package/build/esm/{index-9e162472.js → index-4c1d14db.js} +1 -1
- package/build/esm/{index-20808326.js → index-50649b98.js} +17 -17
- package/build/esm/{index-4f2aab2e.js → index-54fc99dd.js} +3 -3
- package/build/esm/{index-7e00472c.js → index-55936879.js} +5 -5
- package/build/esm/{index-2d4650d4.js → index-5bb2460f.js} +5 -5
- package/build/esm/{index-c5319a30.js → index-61351718.js} +17 -17
- package/build/esm/{index-5459ec90.js → index-643cbf29.js} +21 -21
- package/build/esm/{index-7e262527.js → index-66097eee.js} +24 -24
- package/build/esm/{index-baf4685f.js → index-66dc6c25.js} +13 -13
- package/build/esm/{index-034f16d9.js → index-6881a2f5.js} +3 -3
- package/build/esm/{index-06e542d7.js → index-79e75483.js} +2 -2
- package/build/esm/{index-6cf10530.js → index-81c7c425.js} +20 -20
- package/build/esm/{index-e6e4d922.js → index-8216492f.js} +2 -2
- package/build/esm/{index-745590d0.js → index-869415ce.js} +1 -1
- package/build/esm/{index-22a766c4.js → index-8812e999.js} +1 -1
- package/build/esm/{index-34ae5fbd.js → index-90b293e1.js} +15 -15
- package/build/esm/{index-f4ff1f39.js → index-915ee556.js} +13 -13
- package/build/esm/{index-09495ea0.js → index-92892809.js} +2 -2
- package/build/esm/{index-2c5d3fa3.js → index-937083f1.js} +1 -1
- package/build/esm/{index-7eaf16e0.js → index-938eb782.js} +13 -13
- package/build/esm/{index-0dbe86ca.js → index-971088c6.js} +12 -12
- package/build/esm/{index-3145079d.js → index-9a2df69e.js} +3 -3
- package/build/esm/{index-283756d5.js → index-9b15218e.js} +6 -6
- package/build/esm/{index-b1f6e659.js → index-a070e2dc.js} +1 -1
- package/build/esm/{index-b92fc6f3.js → index-a7305f71.js} +3 -3
- package/build/esm/{index-7737e98b.js → index-ab30eba5.js} +15 -15
- package/build/esm/{index-276b0168.js → index-ad21a82d.js} +27 -27
- package/build/esm/{index-52435422.js → index-afaec4b6.js} +13 -13
- package/build/esm/{index-f96d475c.js → index-b206430e.js} +2 -2
- package/build/esm/{index-92a29be3.js → index-b2605e5c.js} +6 -6
- package/build/esm/{index-dd7522dc.js → index-b2d28208.js} +18 -18
- package/build/esm/{index-bb1fe697.js → index-b73dd3c2.js} +16 -16
- package/build/esm/{index-7222b221.js → index-b81b0a95.js} +33 -33
- package/build/esm/{index-99048953.js → index-bc3a2b8d.js} +16 -16
- package/build/esm/{index-a457c3e9.js → index-bdf9cdc0.js} +23 -23
- package/build/esm/{index-49e67b70.js → index-c57a53ff.js} +6 -6
- package/build/esm/{index-f234016d.js → index-c89b259d.js} +2 -2
- package/build/esm/{index-72ec40bc.js → index-c9f053e5.js} +2 -2
- package/build/esm/{index-4771776a.js → index-ca9961f5.js} +4 -4
- package/build/esm/{index-1cc36d48.js → index-ce3aaf3f.js} +3 -3
- package/build/esm/{index-ee9e4d70.js → index-d0b52ed2.js} +10 -10
- package/build/esm/{index-7973a78a.js → index-d70e02c8.js} +2 -2
- package/build/esm/{index-d57793c7.js → index-d8d4bbc4.js} +17 -17
- package/build/esm/{index-d92a2daf.js → index-e5019ff2.js} +1 -1
- package/build/esm/{index-213c1685.js → index-e7242dea.js} +2 -2
- package/build/esm/{index-f477f8c5.js → index-eb3f5da4.js} +16 -16
- package/build/esm/{index-ac62214a.js → index-ffa0c2d2.js} +7 -7
- package/build/esm/index.js +113 -113
- package/build/esm/{index.styles-815e9ad0.js → index.styles-8c5ef7e8.js} +1 -1
- package/build/esm/{labelSorting-e1562978.js → labelSorting-66be710b.js} +4 -4
- package/build/esm/lead.js +23 -23
- package/build/esm/{logoIcon-d7995fba.js → logoIcon-0c7ad938.js} +2 -2
- package/build/esm/mantine.js +25 -25
- package/build/esm/misc.js +18 -18
- package/build/esm/miscGetDynamicHealthTool.js +5 -5
- package/build/esm/miscGetSocialList.js +8 -8
- package/build/esm/miscScreenSizeContext.js +1 -1
- package/build/esm/mobileBottomNavigation.js +5 -5
- package/build/esm/mobileBottomNavigationIcon.js +5 -5
- package/build/esm/molecules.js +69 -69
- package/build/esm/moleculesArticleCard.js +6 -6
- package/build/esm/moleculesArticleCardV2.js +16 -16
- package/build/esm/navigation.js +41 -41
- package/build/esm/navigationLogoutPopup.js +9 -9
- package/build/esm/navigationProfileButton.js +24 -24
- package/build/esm/onboardingV2.js +29 -29
- package/build/esm/organisms.js +45 -45
- package/build/esm/{post-8366b22e.js → post-54dfc2c6.js} +2 -2
- package/build/esm/profileNavigation.js +20 -20
- package/build/esm/progressBar.js +1 -1
- package/build/esm/pwg.js +22 -22
- package/build/esm/ssoV2/api/ecomCare.d.ts +3 -4
- package/build/esm/ssoV2/screens/otp.d.ts +1 -1
- package/build/esm/ssoV2/ssoStateManager/store.d.ts +2 -1
- package/build/esm/ssoV2.js +116 -29
- package/build/esm/{store-71e891f7.js → store-78aecb32.js} +3 -2
- package/build/esm/subot.js +32 -32
- package/build/esm/surveyOrPremiumBanner.js +31 -31
- package/build/esm/surveyQuestionCard.js +10 -10
- package/build/esm/{surveyThankyouCard-b8a5e8a1.js → surveyThankyouCard-b9b97d7d.js} +5 -5
- package/build/esm/together.js +53 -53
- package/build/esm/togetherApiUtils.js +4 -4
- package/build/esm/togetherAtoms.js +31 -31
- package/build/esm/togetherComponentGlobalContext.js +4 -4
- package/build/esm/togetherMolecules.js +43 -43
- package/build/esm/togetherMoleculesCardAuthor.js +24 -24
- package/build/esm/togetherMoleculesPostImagePreview.js +11 -11
- package/build/esm/togetherMoleculesProfileDetail.js +33 -33
- package/build/esm/togetherOrganisms.js +48 -48
- package/build/esm/togetherRichTextEditor.js +17 -17
- package/build/esm/togetherShareBox.js +10 -10
- package/build/esm/{treePopoverMenu-6e3dc1f1.js → treePopoverMenu-9c480d11.js} +19 -19
- package/build/esm/{types-e488f860.js → types-7791391c.js} +2 -2
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-99ff8c09.js → useCategory-2122c38c.js} +5 -5
- package/build/esm/{useHealthToolCache-a22b2740.js → useHealthToolCache-740cc081.js} +1 -1
- package/build/esm/{useMantineLocale-e387a749.js → useMantineLocale-33dbc013.js} +5 -5
- package/build/esm/{usePlacesAutocomplete-7f32d2ae.js → usePlacesAutocomplete-0e27fdfa.js} +1 -1
- package/build/esm/useTogetherAuthRequiredAction.js +8 -8
- package/build/esm/{utils-538bc8b4.js → utils-0de68f17.js} +2 -2
- package/build/esm/{utils-48ffee39.js → utils-6c6f2b04.js} +2 -2
- package/build/esm/{utils-7efd2470.js → utils-e1cc2e8a.js} +3 -3
- package/build/esm/vaccination.js +21 -21
- package/build/{fixedBottomAdBlock-79a3ebc4.js → fixedBottomAdBlock-28cf41b2.js} +23 -23
- package/build/footer.js +21 -21
- package/build/gAssets.js +2 -2
- package/build/healthToolsCardWrapper.js +18 -18
- package/build/healthToolsForm.js +34 -34
- package/build/hooks.js +14 -14
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-0a9ae6cf.js → index-0477f336.js} +2 -2
- package/build/{index-95886890.js → index-12517d27.js} +15 -15
- package/build/{index-c59c2604.js → index-1830efe8.js} +7 -7
- package/build/{index-2869b1c0.js → index-1deef11c.js} +2 -2
- package/build/{index-cbb2e798.js → index-1f9e5132.js} +18 -18
- package/build/{index-74aa8b2e.js → index-22c9f3f3.js} +3 -3
- package/build/{index-774d9d96.js → index-24eb3669.js} +6 -6
- package/build/{index-859c33e0.js → index-24ff5d45.js} +3 -3
- package/build/{index-6a4d9576.js → index-29af9fe0.js} +2 -2
- package/build/{index-ab0d64aa.js → index-2c159d4d.js} +2 -2
- package/build/{index-81150842.js → index-2c9a87e5.js} +4 -4
- package/build/{index-c2bc8cf1.js → index-2dd08418.js} +20 -20
- package/build/{index-e5d43833.js → index-30a7dd48.js} +1 -1
- package/build/{index-52586f0d.js → index-37b73d98.js} +3 -3
- package/build/{index-d188e064.js → index-3c83af61.js} +13 -13
- package/build/{index-f49e8023.js → index-3e612e86.js} +2 -2
- package/build/{index-c1d8ef1c.js → index-4121f62b.js} +27 -27
- package/build/{index-bc761a77.js → index-4139d7c6.js} +24 -24
- package/build/{index-a2477cd6.js → index-42a09365.js} +6 -6
- package/build/{index-8427e1af.js → index-476015b2.js} +17 -17
- package/build/{index-cc2d13ec.js → index-47e957bf.js} +3 -3
- package/build/{index-37f0e64e.js → index-55859d57.js} +17 -17
- package/build/{index-e9000032.js → index-5aff8900.js} +15 -15
- package/build/{index-99c1d795.js → index-5eb1b8d7.js} +2 -2
- package/build/{index-c4f4f933.js → index-62081dc9.js} +33 -33
- package/build/{index-006ae2f8.js → index-62da5262.js} +2 -2
- package/build/{index-53b9a5ed.js → index-63dc4b98.js} +1 -1
- package/build/{index-07fc326f.js → index-648741bc.js} +1 -1
- package/build/{index-b60821c5.js → index-64e4ec9a.js} +6 -6
- package/build/{index-9342e3e3.js → index-69b7f199.js} +1 -1
- package/build/{index-bab13382.js → index-6df23bb9.js} +5 -5
- package/build/{index-4a39b1e7.js → index-6f85bf63.js} +1 -1
- package/build/{index-72efdce5.js → index-74f89985.js} +13 -13
- package/build/{index-7f9363d5.js → index-76d01dcb.js} +3 -3
- package/build/{index-847177df.js → index-7823dec6.js} +17 -17
- package/build/{index-89ce3cac.js → index-7b618a3c.js} +2 -2
- package/build/{index-dd7b92e2.js → index-7e5a45e6.js} +1 -1
- package/build/{index-c6c490b1.js → index-813ba199.js} +5 -5
- package/build/{index-e5fa02ff.js → index-826ddea2.js} +7 -7
- package/build/{index-b4da6a79.js → index-82e321fe.js} +16 -16
- package/build/{index-82755d0a.js → index-882713d0.js} +2 -2
- package/build/{index-e7fc843b.js → index-8b049d89.js} +18 -18
- package/build/{index-a8c4091a.js → index-96817a9a.js} +21 -21
- package/build/{index-ce9a0d0b.js → index-9d518708.js} +2 -2
- package/build/{index-91a2c5fb.js → index-a0b808bf.js} +23 -23
- package/build/{index-cf6516fa.js → index-ae3be540.js} +13 -13
- package/build/{index-5706fc32.js → index-b78f31b5.js} +16 -16
- package/build/{index-1e469a64.js → index-b7d17a1f.js} +12 -12
- package/build/{index-45ec86f5.js → index-bbd27d41.js} +1 -1
- package/build/{index-f5b2b3bf.js → index-c12dd861.js} +1 -1
- package/build/{index-9a5b18b8.js → index-c777a62d.js} +13 -13
- package/build/{index-4f88181c.js → index-cbc2890c.js} +6 -6
- package/build/{index-ed1c09df.js → index-cdd2acc6.js} +2 -2
- package/build/{index-c3945b0e.js → index-d6eb9079.js} +16 -16
- package/build/{index-4ca36edc.js → index-d789c02a.js} +2 -2
- package/build/{index-fb27685c.js → index-de66cb79.js} +15 -15
- package/build/{index-f47b3df8.js → index-e13e017d.js} +3 -3
- package/build/{index-bdb4fdfd.js → index-ea1274dd.js} +10 -10
- package/build/{index-27cbd1fe.js → index-fc3339f3.js} +1 -1
- package/build/{index-1ea508ff.js → index-fc75188a.js} +1 -1
- package/build/index.js +113 -113
- package/build/{index.styles-575a2293.js → index.styles-4739e1d6.js} +1 -1
- package/build/{labelSorting-75887072.js → labelSorting-d1b3970f.js} +4 -4
- package/build/lead.js +23 -23
- package/build/{logoIcon-d06564d9.js → logoIcon-273977e9.js} +2 -2
- package/build/mantine.js +21 -21
- package/build/misc.js +18 -18
- package/build/miscGetDynamicHealthTool.js +5 -5
- package/build/miscGetSocialList.js +8 -8
- package/build/miscScreenSizeContext.js +1 -1
- package/build/mobileBottomNavigation.js +5 -5
- package/build/mobileBottomNavigationIcon.js +5 -5
- package/build/molecules.js +69 -69
- package/build/moleculesArticleCard.js +6 -6
- package/build/moleculesArticleCardV2.js +16 -16
- package/build/navigation.js +41 -41
- package/build/navigationLogoutPopup.js +9 -9
- package/build/navigationProfileButton.js +24 -24
- package/build/onboardingV2.js +28 -28
- package/build/organisms.js +45 -45
- package/build/{post-d8663f4d.js → post-ce09bf48.js} +2 -2
- package/build/profileNavigation.js +20 -20
- package/build/progressBar.js +1 -1
- package/build/pwg.js +22 -22
- package/build/ssoV2/api/ecomCare.d.ts +3 -4
- package/build/ssoV2/screens/otp.d.ts +1 -1
- package/build/ssoV2/ssoStateManager/store.d.ts +2 -1
- package/build/ssoV2.js +115 -28
- package/build/{store-2be903b6.js → store-8e77f2c7.js} +3 -2
- package/build/subot.js +31 -31
- package/build/surveyOrPremiumBanner.js +31 -31
- package/build/surveyQuestionCard.js +10 -10
- package/build/{surveyThankyouCard-d1d3b77f.js → surveyThankyouCard-a30c0ae9.js} +5 -5
- package/build/together.js +53 -53
- package/build/togetherApiUtils.js +4 -4
- package/build/togetherAtoms.js +31 -31
- package/build/togetherComponentGlobalContext.js +4 -4
- package/build/togetherMolecules.js +43 -43
- package/build/togetherMoleculesCardAuthor.js +24 -24
- package/build/togetherMoleculesPostImagePreview.js +11 -11
- package/build/togetherMoleculesProfileDetail.js +33 -33
- package/build/togetherOrganisms.js +48 -48
- package/build/togetherRichTextEditor.js +17 -17
- package/build/togetherShareBox.js +10 -10
- package/build/{treePopoverMenu-cc72de8d.js → treePopoverMenu-13e5be93.js} +19 -19
- package/build/{types-5c34966f.js → types-85779755.js} +2 -2
- package/build/types.js +2 -2
- package/build/{useCategory-497c3205.js → useCategory-c18ec702.js} +5 -5
- package/build/{useHealthToolCache-e5cefbfb.js → useHealthToolCache-5094a738.js} +1 -1
- package/build/{useMantineLocale-b6730670.js → useMantineLocale-d26324d8.js} +5 -5
- package/build/{usePlacesAutocomplete-4d1d4b0f.js → usePlacesAutocomplete-17d59bb3.js} +1 -1
- package/build/useTogetherAuthRequiredAction.js +8 -8
- package/build/{utils-dff75d80.js → utils-044d5de6.js} +2 -2
- package/build/{utils-362e4f85.js → utils-90d61267.js} +3 -3
- package/build/{utils-f04c4439.js → utils-b9e76b92.js} +2 -2
- package/build/vaccination.js +21 -21
- package/package.json +1 -1
- /package/build/{BMI_BOYS.percentile.monthly-b14c08f9.js → BMI_BOYS.percentile.monthly-e9be9fb4.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-a8cc9d24.js → BMI_BOYS.percentile.weekly-aba87497.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-1e1131af.js → BMI_BOYS.percentile.yearly-63ab1c24.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-e258b0df.js → BMI_BOYS.zscore.monthly-e285520a.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-f0d3551c.js → BMI_BOYS.zscore.weekly-1108254b.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-87a8d023.js → BMI_BOYS.zscore.yearly-9a1eed6b.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-c8e0e023.js → BMI_GIRLS.percentile.monthly-50c6bd8a.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-99ae05be.js → BMI_GIRLS.percentile.weekly-d6a26a71.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-f3921708.js → BMI_GIRLS.percentile.yearly-5b42c72f.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-6b045fd0.js → BMI_GIRLS.zscore.monthly-2ef1d9f1.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-a4a39405.js → BMI_GIRLS.zscore.weekly-84f7b2c6.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-ddc55dfa.js → BMI_GIRLS.zscore.yearly-4c10d698.js} +0 -0
- /package/build/{ChevronDown-b4faecfb.js → ChevronDown-4f06f50c.js} +0 -0
- /package/build/{Close-b4465a39.js → Close-b4be20ff.js} +0 -0
- /package/build/{Google-591055b0.js → Google-6d4ca57f.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-8744e4f0.js → HEAD CIRCUM_BOYS.percentile.monthly-a7685a5b.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-854575ca.js → HEAD CIRCUM_BOYS.percentile.weekly-61982ae5.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-b05dfbc3.js → HEAD CIRCUM_BOYS.percentile.yearly-a99af3cf.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-553b5d2a.js → HEAD CIRCUM_BOYS.zscore.monthly-50db2645.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-13a960c3.js → HEAD CIRCUM_BOYS.zscore.weekly-dae526fc.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-931c6ac9.js → HEAD CIRCUM_BOYS.zscore.yearly-79221049.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-85031d3d.js → HEAD CIRCUM_GIRLS.percentile.monthly-16c9f8fc.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-ad686de5.js → HEAD CIRCUM_GIRLS.percentile.weekly-3b8f3282.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-f39420fc.js → HEAD CIRCUM_GIRLS.percentile.yearly-475aa377.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-d7c80b25.js → HEAD CIRCUM_GIRLS.zscore.monthly-ac1ce030.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-ca16cc03.js → HEAD CIRCUM_GIRLS.zscore.weekly-9b7f48f6.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-5c23ad95.js → HEAD CIRCUM_GIRLS.zscore.yearly-61d2f9b6.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-1584c341.js → HEIGHT_BOYS.percentile.monthly-ca60b38e.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-4d3506c0.js → HEIGHT_BOYS.percentile.weekly-d23e36f6.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-90adaf2c.js → HEIGHT_BOYS.percentile.yearly-f196d6dc.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-fd79ac98.js → HEIGHT_BOYS.zscore.monthly-0476a51b.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-6471fda4.js → HEIGHT_BOYS.zscore.weekly-d454331d.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-4b845429.js → HEIGHT_BOYS.zscore.yearly-b5799556.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-dcd088df.js → HEIGHT_GIRLS.percentile.monthly-7f5fe4fb.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-7ae911ff.js → HEIGHT_GIRLS.percentile.weekly-e5f63fef.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-732668ed.js → HEIGHT_GIRLS.percentile.yearly-afc60348.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-10da66aa.js → HEIGHT_GIRLS.zscore.monthly-568543d6.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-c3953da3.js → HEIGHT_GIRLS.zscore.weekly-3d33c86e.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-33253f6e.js → HEIGHT_GIRLS.zscore.yearly-d34bde80.js} +0 -0
- /package/build/{Locale-a2291568.js → Locale-f422ae73.js} +0 -0
- /package/build/{Visible-93ab4365.js → Visible-1cc03ff0.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-48d9e446.js → WEIGHT_BOYS.percentile.monthly-e836ee3c.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-86797340.js → WEIGHT_BOYS.percentile.weekly-4f22d601.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-7def1e4c.js → WEIGHT_BOYS.percentile.yearly-58f8ecec.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-5bf10c72.js → WEIGHT_BOYS.zscore.monthly-c3f7f31e.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-9b78a5a1.js → WEIGHT_BOYS.zscore.weekly-329bdd7e.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-bdcfb2c1.js → WEIGHT_BOYS.zscore.yearly-6b5fc9b2.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-c724b2db.js → WEIGHT_GIRLS.percentile.monthly-601ba97c.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-b8c26ec8.js → WEIGHT_GIRLS.percentile.weekly-032c39fa.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-d8265563.js → WEIGHT_GIRLS.percentile.yearly-3b928e29.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-71d35357.js → WEIGHT_GIRLS.zscore.monthly-2940fab8.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-0c22def2.js → WEIGHT_GIRLS.zscore.weekly-2e656e6c.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-e09f8e41.js → WEIGHT_GIRLS.zscore.yearly-a69c6747.js} +0 -0
- /package/build/{animation-def71a91.js → animation-030d5ff1.js} +0 -0
- /package/build/{constants-51b63c53.js → constants-0fbbc5dd.js} +0 -0
- /package/build/{constants-c7ece436.js → constants-d5e0564d.js} +0 -0
- /package/build/{constants-67e47468.js → constants-e9ace8ff.js} +0 -0
- /package/build/{dataTransform-cf91c52f.js → dataTransform-2d5e8c3a.js} +0 -0
- /package/build/{doctor-923033bf.js → doctor-eb8ba59b.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-93a4c391.js → BMI_BOYS.percentile.monthly-ef27089b.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-da085dc6.js → BMI_BOYS.percentile.weekly-568574b8.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-2d5589f2.js → BMI_BOYS.percentile.yearly-677f9066.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-bb7519bd.js → BMI_BOYS.zscore.monthly-dce41c8e.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-97a8c3cf.js → BMI_BOYS.zscore.weekly-54554aba.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-6a1baab4.js → BMI_BOYS.zscore.yearly-20b00e4c.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-9e1d3f9d.js → BMI_GIRLS.percentile.monthly-cdb56a19.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-47c4d957.js → BMI_GIRLS.percentile.weekly-c6183db8.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-8152e952.js → BMI_GIRLS.percentile.yearly-19e9dc2f.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-6063236a.js → BMI_GIRLS.zscore.monthly-6fd403ef.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-4e135ed7.js → BMI_GIRLS.zscore.weekly-460bd897.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-7a91080b.js → BMI_GIRLS.zscore.yearly-5a150d1c.js} +0 -0
- /package/build/esm/{ChevronDown-e26ed35f.js → ChevronDown-97e64c39.js} +0 -0
- /package/build/esm/{Close-b267f043.js → Close-1fa95dc3.js} +0 -0
- /package/build/esm/{Google-13c9c02b.js → Google-cf34072b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-9c5074f3.js → HEAD CIRCUM_BOYS.percentile.monthly-50338b0b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-a08c3040.js → HEAD CIRCUM_BOYS.percentile.weekly-75421156.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-6553f1fb.js → HEAD CIRCUM_BOYS.percentile.yearly-0d72355e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-66b55b02.js → HEAD CIRCUM_BOYS.zscore.monthly-c3e530fb.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-5fba63da.js → HEAD CIRCUM_BOYS.zscore.weekly-f7e5718f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-f5222c66.js → HEAD CIRCUM_BOYS.zscore.yearly-d43602fc.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-655a52f7.js → HEAD CIRCUM_GIRLS.percentile.monthly-28b6a94c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-41879e50.js → HEAD CIRCUM_GIRLS.percentile.weekly-6fb840b9.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-a01debcd.js → HEAD CIRCUM_GIRLS.percentile.yearly-1b5165c2.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-bdfd63dd.js → HEAD CIRCUM_GIRLS.zscore.monthly-b063423f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-9af121cf.js → HEAD CIRCUM_GIRLS.zscore.weekly-fdfc2633.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-363923e9.js → HEAD CIRCUM_GIRLS.zscore.yearly-b59a7ca5.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-f8e64d83.js → HEIGHT_BOYS.percentile.monthly-e02f26a3.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-0ee09c18.js → HEIGHT_BOYS.percentile.weekly-167a5656.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-f1749007.js → HEIGHT_BOYS.percentile.yearly-60e849cd.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-e962ceb3.js → HEIGHT_BOYS.zscore.monthly-78a2ea65.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-6cc57bfb.js → HEIGHT_BOYS.zscore.weekly-463c721e.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-0635a94e.js → HEIGHT_BOYS.zscore.yearly-c8dbb700.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-baeb649a.js → HEIGHT_GIRLS.percentile.monthly-4ada5f1c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-d26d686e.js → HEIGHT_GIRLS.percentile.weekly-f9dc2cdb.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-1491f2f4.js → HEIGHT_GIRLS.percentile.yearly-d05f6a90.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-8ac8ae11.js → HEIGHT_GIRLS.zscore.monthly-b07b2068.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-a538d832.js → HEIGHT_GIRLS.zscore.weekly-4c5e060d.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-c57c166e.js → HEIGHT_GIRLS.zscore.yearly-e267983c.js} +0 -0
- /package/build/esm/{Locale-a1efefd8.js → Locale-fa4eace1.js} +0 -0
- /package/build/esm/{Visible-1f2ae933.js → Visible-730a3101.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-a209c18a.js → WEIGHT_BOYS.percentile.monthly-036cca70.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-4cd534bb.js → WEIGHT_BOYS.percentile.weekly-decfe9b0.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-0b75224f.js → WEIGHT_BOYS.percentile.yearly-0c5267e0.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-71d1bab0.js → WEIGHT_BOYS.zscore.monthly-3ff50cec.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-71c68813.js → WEIGHT_BOYS.zscore.weekly-456495ee.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-f65450e9.js → WEIGHT_BOYS.zscore.yearly-abb8a946.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-aeb19174.js → WEIGHT_GIRLS.percentile.monthly-e9e05f4e.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-faa193f2.js → WEIGHT_GIRLS.percentile.weekly-a81036ec.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-3284d104.js → WEIGHT_GIRLS.percentile.yearly-00331df9.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-02ee1d52.js → WEIGHT_GIRLS.zscore.monthly-b05296b5.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-4a0370a5.js → WEIGHT_GIRLS.zscore.weekly-c2b835f7.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-f040345e.js → WEIGHT_GIRLS.zscore.yearly-2dc40ace.js} +0 -0
- /package/build/esm/{animation-7a2ddec7.js → animation-ec9e44ea.js} +0 -0
- /package/build/esm/{constants-5647314d.js → constants-0e8a7f4e.js} +0 -0
- /package/build/esm/{constants-537c0628.js → constants-9f60eff3.js} +0 -0
- /package/build/esm/{constants-c0e4cc08.js → constants-bc4b5dec.js} +0 -0
- /package/build/esm/{dataTransform-1b981070.js → dataTransform-0b4a58c5.js} +0 -0
- /package/build/esm/{doctor-c64a56c2.js → doctor-074a0b31.js} +0 -0
- /package/build/esm/{index-1bbfabf9.js → index-1804aac9.js} +0 -0
- /package/build/esm/{index-9d8641dd.js → index-4a12ead2.js} +0 -0
- /package/build/esm/{index-3653ef3c.js → index-64efecba.js} +0 -0
- /package/build/esm/{index-2ff0f2e6.js → index-6630ae31.js} +0 -0
- /package/build/esm/{index-94ee0859.js → index-73e0be73.js} +0 -0
- /package/build/esm/{index-924eca6c.js → index-c2447b63.js} +0 -0
- /package/build/esm/{index-1648d422.js → index-c7dcaa53.js} +0 -0
- /package/build/esm/{index-a05728fe.js → index-e5865103.js} +0 -0
- /package/build/esm/{localizeNumberFormat-77643232.js → localizeNumberFormat-2319032b.js} +0 -0
- /package/build/esm/{normalizeLink-9bed1e27.js → normalizeLink-071d82db.js} +0 -0
- /package/build/esm/{number-e642136f.js → number-5b544908.js} +0 -0
- /package/build/esm/{other-a5a4ea51.js → other-b97646ad.js} +0 -0
- /package/build/esm/{paths-85c01683.js → paths-423ab2df.js} +0 -0
- /package/build/esm/{routing-7a758a89.js → routing-3ba6abb1.js} +0 -0
- /package/build/esm/{translationsContext-06750733.js → translationsContext-3b47c634.js} +0 -0
- /package/build/esm/{tslib.es6-69b2c389.js → tslib.es6-2b20c21f.js} +0 -0
- /package/build/esm/{types-45871d73.js → types-89763f32.js} +0 -0
- /package/build/esm/{useIsInit-f5e2872a.js → useIsInit-4ce76ac0.js} +0 -0
- /package/build/esm/{useOutsideClick-b17355b9.js → useOutsideClick-e61f4ec6.js} +0 -0
- /package/build/esm/{useScrollbarSize-5bca32d2.js → useScrollbarSize-9391416e.js} +0 -0
- /package/build/esm/{useUniqueId-e4bb1e62.js → useUniqueId-d8440d0a.js} +0 -0
- /package/build/esm/{utils-bd3e41c3.js → utils-260de650.js} +0 -0
- /package/build/{index-bca7b38a.js → index-07bdbc6c.js} +0 -0
- /package/build/{index-c5fdd223.js → index-07f728c5.js} +0 -0
- /package/build/{index-ac68ddfd.js → index-505c6407.js} +0 -0
- /package/build/{index-88b501d0.js → index-510928cb.js} +0 -0
- /package/build/{index-b83d5158.js → index-5838b050.js} +0 -0
- /package/build/{index-5ecee82b.js → index-6ac37b91.js} +0 -0
- /package/build/{index-76e88882.js → index-c91e1b15.js} +0 -0
- /package/build/{index-61a6fc1e.js → index-f99e14e7.js} +0 -0
- /package/build/{localizeNumberFormat-a533f0b4.js → localizeNumberFormat-f3c1f8d4.js} +0 -0
- /package/build/{normalizeLink-9e7b2355.js → normalizeLink-333a5289.js} +0 -0
- /package/build/{number-80e8f3bd.js → number-f5a49ad0.js} +0 -0
- /package/build/{other-06d775ca.js → other-152fd0ad.js} +0 -0
- /package/build/{paths-af9b373b.js → paths-a2e296ae.js} +0 -0
- /package/build/{routing-5872fa7b.js → routing-3ce2bef1.js} +0 -0
- /package/build/{translationsContext-571827e1.js → translationsContext-a3cd7012.js} +0 -0
- /package/build/{tslib.es6-47d67e4a.js → tslib.es6-1cebf2da.js} +0 -0
- /package/build/{types-70a01830.js → types-d7dd50dd.js} +0 -0
- /package/build/{useIsInit-69ec05b8.js → useIsInit-c236e3a0.js} +0 -0
- /package/build/{useOutsideClick-688676d5.js → useOutsideClick-5619dd79.js} +0 -0
- /package/build/{useScrollbarSize-a5988d7e.js → useScrollbarSize-67706b94.js} +0 -0
- /package/build/{useUniqueId-8adf63a1.js → useUniqueId-43a8b6de.js} +0 -0
- /package/build/{utils-3e457c21.js → utils-362147f6.js} +0 -0
package/build/esm/organisms.js
CHANGED
|
@@ -1,74 +1,74 @@
|
|
|
1
|
-
export { N as NavigationV2, g as getNavMenuContent, a as getNavMenuContentWithCache } from './index-
|
|
2
|
-
export { U as UserProfileNavigation, N as UserProfileNavigationHeader, a as UserProfileNavigationStats } from './index-
|
|
3
|
-
export { F as Footer } from './index-
|
|
1
|
+
export { N as NavigationV2, g as getNavMenuContent, a as getNavMenuContentWithCache } from './index-b81b0a95.js';
|
|
2
|
+
export { U as UserProfileNavigation, N as UserProfileNavigationHeader, a as UserProfileNavigationStats } from './index-9b15218e.js';
|
|
3
|
+
export { F as Footer } from './index-90b293e1.js';
|
|
4
4
|
export { NavigationLogoutPopup } from './navigationLogoutPopup.js';
|
|
5
|
-
export { N as NavigationProfileButton } from './index-
|
|
5
|
+
export { N as NavigationProfileButton } from './index-d0b52ed2.js';
|
|
6
6
|
export { ProfileNavigation } from './profileNavigation.js';
|
|
7
|
-
import './tslib.es6-
|
|
7
|
+
import './tslib.es6-2b20c21f.js';
|
|
8
8
|
import 'react';
|
|
9
|
-
import './index-
|
|
10
|
-
import './index-
|
|
9
|
+
import './index-ce3aaf3f.js';
|
|
10
|
+
import './index-971088c6.js';
|
|
11
11
|
import '@hhgtech/icons/other';
|
|
12
12
|
import '@mantine/core';
|
|
13
13
|
import '@mantine/hooks';
|
|
14
|
-
import './index-
|
|
14
|
+
import './index-1804aac9.js';
|
|
15
15
|
import './constantsDomainLocales.js';
|
|
16
|
-
import './Locale-
|
|
16
|
+
import './Locale-fa4eace1.js';
|
|
17
17
|
import './constantsIsProduction.js';
|
|
18
|
-
import './index.styles-
|
|
19
|
-
import './utils-
|
|
18
|
+
import './index.styles-8c5ef7e8.js';
|
|
19
|
+
import './utils-260de650.js';
|
|
20
20
|
import '@emotion/styled';
|
|
21
21
|
import '@mantine/carousel';
|
|
22
|
-
import './index-
|
|
23
|
-
import './other-
|
|
24
|
-
import './index-
|
|
22
|
+
import './index-2979e1e0.js';
|
|
23
|
+
import './other-b97646ad.js';
|
|
24
|
+
import './index-937083f1.js';
|
|
25
25
|
import './miscTheme.js';
|
|
26
|
-
import './useMantineLocale-
|
|
26
|
+
import './useMantineLocale-33dbc013.js';
|
|
27
27
|
import '@mantine/notifications';
|
|
28
28
|
import 'dayjs';
|
|
29
|
-
import './index-
|
|
29
|
+
import './index-c89b259d.js';
|
|
30
30
|
import 'date-fns/locale';
|
|
31
31
|
import './constantsSite.js';
|
|
32
32
|
import './constantsRiskScreener.js';
|
|
33
|
-
import './index-
|
|
34
|
-
import './index-
|
|
33
|
+
import './index-30fec346.js';
|
|
34
|
+
import './index-4c1d14db.js';
|
|
35
35
|
import 'classnames';
|
|
36
|
-
import './useUniqueId-
|
|
36
|
+
import './useUniqueId-d8440d0a.js';
|
|
37
37
|
import '@hhgtech/icons/core';
|
|
38
|
-
import './normalizeLink-
|
|
39
|
-
import './routing-
|
|
40
|
-
import './dataTransform-
|
|
41
|
-
import './index-
|
|
42
|
-
import './logoIcon-
|
|
43
|
-
import './index-
|
|
44
|
-
import './translationsContext-
|
|
38
|
+
import './normalizeLink-071d82db.js';
|
|
39
|
+
import './routing-3ba6abb1.js';
|
|
40
|
+
import './dataTransform-e57e06c5.js';
|
|
41
|
+
import './index-0f69d222.js';
|
|
42
|
+
import './logoIcon-0c7ad938.js';
|
|
43
|
+
import './index-10b92651.js';
|
|
44
|
+
import './translationsContext-3b47c634.js';
|
|
45
45
|
import 'lodash/throttle';
|
|
46
46
|
import '@mantine/dates';
|
|
47
|
-
import './index-
|
|
48
|
-
import './constants-
|
|
49
|
-
import './index-
|
|
50
|
-
import './utils-
|
|
51
|
-
import './index-
|
|
47
|
+
import './index-9a2df69e.js';
|
|
48
|
+
import './constants-b45b66bb.js';
|
|
49
|
+
import './index-b206430e.js';
|
|
50
|
+
import './utils-e1cc2e8a.js';
|
|
51
|
+
import './index-73e0be73.js';
|
|
52
52
|
import './miscCookieHelper.js';
|
|
53
53
|
import 'slugify';
|
|
54
54
|
import 'string-format';
|
|
55
55
|
import './togetherApiPaths.js';
|
|
56
|
-
import './constants-
|
|
57
|
-
import './constants-
|
|
58
|
-
import './index-
|
|
59
|
-
import './index-
|
|
60
|
-
import './useIsInit-
|
|
56
|
+
import './constants-bc4b5dec.js';
|
|
57
|
+
import './constants-0e8a7f4e.js';
|
|
58
|
+
import './index-d70e02c8.js';
|
|
59
|
+
import './index-869415ce.js';
|
|
60
|
+
import './useIsInit-4ce76ac0.js';
|
|
61
61
|
import './miscDefaultClassWrapper.js';
|
|
62
62
|
import 'dayjs/plugin/relativeTime';
|
|
63
|
-
import './index-
|
|
64
|
-
import './index-
|
|
65
|
-
import './store-
|
|
63
|
+
import './index-c9f053e5.js';
|
|
64
|
+
import './index-6630ae31.js';
|
|
65
|
+
import './store-78aecb32.js';
|
|
66
66
|
import 'zustand';
|
|
67
67
|
import 'lodash/debounce';
|
|
68
|
-
import './core-
|
|
69
|
-
import './index-
|
|
70
|
-
import './index-
|
|
71
|
-
import './index-
|
|
72
|
-
import './Spinner-
|
|
73
|
-
import './ChevronDown-
|
|
68
|
+
import './core-7f3a442d.js';
|
|
69
|
+
import './index-a070e2dc.js';
|
|
70
|
+
import './index-8812e999.js';
|
|
71
|
+
import './index-1c8a8369.js';
|
|
72
|
+
import './Spinner-d78d4204.js';
|
|
73
|
+
import './ChevronDown-97e64c39.js';
|
|
74
74
|
import '@emotion/react';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as __awaiter } from './tslib.es6-
|
|
1
|
+
import { a as __awaiter } from './tslib.es6-2b20c21f.js';
|
|
2
2
|
import { ADMIN_PATHS, PATHS } from './togetherApiPaths.js';
|
|
3
|
-
import { d as getApiPath, r as callApiWithAdminAuth, b as callApiWithAuth } from './utils-
|
|
3
|
+
import { d as getApiPath, r as callApiWithAdminAuth, b as callApiWithAuth } from './utils-e1cc2e8a.js';
|
|
4
4
|
|
|
5
5
|
const EncodeUrlRegexMap = {
|
|
6
6
|
edit: /<mocka ([^>]*)data-url="true"[^<>]*>(.*?)<\/mocka>/gim,
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import React__default, { useMemo, useState, Fragment, useEffect } from 'react';
|
|
2
|
-
import { a as CARE_LOCALES, T as TOGETHER_LOCALES, E as ECOM_LOCALES } from './index-
|
|
3
|
-
import { a as Avatar } from './index-
|
|
2
|
+
import { a as CARE_LOCALES, T as TOGETHER_LOCALES, E as ECOM_LOCALES } from './index-c89b259d.js';
|
|
3
|
+
import { a as Avatar } from './index-971088c6.js';
|
|
4
4
|
import '@mantine/core';
|
|
5
5
|
import '@mantine/dates';
|
|
6
|
-
import './index-
|
|
7
|
-
import { C as CommonGAssets } from './index-
|
|
8
|
-
import './useMantineLocale-
|
|
9
|
-
import { T as Text } from './index-
|
|
10
|
-
import './index-
|
|
11
|
-
import './index.styles-
|
|
12
|
-
import { u as useTranslations } from './index-
|
|
6
|
+
import './index-937083f1.js';
|
|
7
|
+
import { C as CommonGAssets } from './index-1804aac9.js';
|
|
8
|
+
import './useMantineLocale-33dbc013.js';
|
|
9
|
+
import { T as Text } from './index-2979e1e0.js';
|
|
10
|
+
import './index-30fec346.js';
|
|
11
|
+
import './index.styles-8c5ef7e8.js';
|
|
12
|
+
import { u as useTranslations } from './index-10b92651.js';
|
|
13
13
|
import '@mantine/hooks';
|
|
14
|
-
import './utils-
|
|
15
|
-
import './other-
|
|
16
|
-
import './index-
|
|
17
|
-
import { C as ChevronDown } from './ChevronDown-
|
|
18
|
-
import { a as normalizeLinkSlash } from './normalizeLink-
|
|
14
|
+
import './utils-260de650.js';
|
|
15
|
+
import './other-b97646ad.js';
|
|
16
|
+
import './index-9a2df69e.js';
|
|
17
|
+
import { C as ChevronDown } from './ChevronDown-97e64c39.js';
|
|
18
|
+
import { a as normalizeLinkSlash } from './normalizeLink-071d82db.js';
|
|
19
19
|
import { css } from '@emotion/react';
|
|
20
20
|
import styled from '@emotion/styled';
|
|
21
21
|
import { theme } from './miscTheme.js';
|
|
22
|
-
import './translationsContext-
|
|
23
|
-
import { a as getCurrentSsoUrl, g as getCurrentBaseUrl } from './routing-
|
|
22
|
+
import './translationsContext-3b47c634.js';
|
|
23
|
+
import { a as getCurrentSsoUrl, g as getCurrentBaseUrl } from './routing-3ba6abb1.js';
|
|
24
24
|
import 'date-fns/locale';
|
|
25
25
|
import './constantsSite.js';
|
|
26
|
-
import './Locale-
|
|
26
|
+
import './Locale-fa4eace1.js';
|
|
27
27
|
import './constantsDomainLocales.js';
|
|
28
28
|
import './constantsRiskScreener.js';
|
|
29
29
|
import './constantsIsProduction.js';
|
|
30
|
-
import './tslib.es6-
|
|
30
|
+
import './tslib.es6-2b20c21f.js';
|
|
31
31
|
import '@hhgtech/icons/other';
|
|
32
32
|
import '@mantine/carousel';
|
|
33
|
-
import './index-
|
|
33
|
+
import './index-4c1d14db.js';
|
|
34
34
|
import 'classnames';
|
|
35
|
-
import './useUniqueId-
|
|
35
|
+
import './useUniqueId-d8440d0a.js';
|
|
36
36
|
import '@hhgtech/icons/core';
|
|
37
37
|
import '@mantine/notifications';
|
|
38
38
|
import 'dayjs';
|
package/build/esm/progressBar.js
CHANGED
package/build/esm/pwg.js
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import React__default, { useMemo, useState, useRef } from 'react';
|
|
2
|
-
import { M as MarryBabyText, a as MarryBabyHeading } from './index-
|
|
3
|
-
import { T as Text } from './index-
|
|
4
|
-
import { P as PillCarousel } from './index-
|
|
5
|
-
import { u as useTranslations } from './index-
|
|
2
|
+
import { M as MarryBabyText, a as MarryBabyHeading } from './index-8812e999.js';
|
|
3
|
+
import { T as Text } from './index-2979e1e0.js';
|
|
4
|
+
import { P as PillCarousel } from './index-4966daf2.js';
|
|
5
|
+
import { u as useTranslations } from './index-10b92651.js';
|
|
6
6
|
import { theme } from './miscTheme.js';
|
|
7
7
|
import { ResponsiveContainer, AreaChart, CartesianGrid, Tooltip, XAxis, YAxis, Area, ReferenceDot } from 'recharts';
|
|
8
|
-
import { C as CustomReferenceDot } from './index-
|
|
9
|
-
import { a as useOutsideClick } from './useOutsideClick-
|
|
8
|
+
import { C as CustomReferenceDot } from './index-64efecba.js';
|
|
9
|
+
import { a as useOutsideClick } from './useOutsideClick-e61f4ec6.js';
|
|
10
10
|
import styled from '@emotion/styled';
|
|
11
|
-
import { _ as __rest } from './tslib.es6-
|
|
11
|
+
import { _ as __rest } from './tslib.es6-2b20c21f.js';
|
|
12
12
|
import '@mantine/core';
|
|
13
|
-
import './other-
|
|
14
|
-
import './index-
|
|
15
|
-
import './Locale-
|
|
16
|
-
import './index-
|
|
13
|
+
import './other-b97646ad.js';
|
|
14
|
+
import './index-937083f1.js';
|
|
15
|
+
import './Locale-fa4eace1.js';
|
|
16
|
+
import './index-1804aac9.js';
|
|
17
17
|
import './constantsDomainLocales.js';
|
|
18
18
|
import './constantsIsProduction.js';
|
|
19
|
-
import './index-
|
|
20
|
-
import './index-
|
|
21
|
-
import './index-
|
|
19
|
+
import './index-4c1d14db.js';
|
|
20
|
+
import './index-afaec4b6.js';
|
|
21
|
+
import './index-971088c6.js';
|
|
22
22
|
import '@hhgtech/icons/other';
|
|
23
23
|
import '@mantine/hooks';
|
|
24
|
-
import './index.styles-
|
|
25
|
-
import './utils-
|
|
24
|
+
import './index.styles-8c5ef7e8.js';
|
|
25
|
+
import './utils-260de650.js';
|
|
26
26
|
import '@mantine/carousel';
|
|
27
|
-
import './useMantineLocale-
|
|
27
|
+
import './useMantineLocale-33dbc013.js';
|
|
28
28
|
import '@mantine/notifications';
|
|
29
29
|
import 'dayjs';
|
|
30
|
-
import './index-
|
|
30
|
+
import './index-c89b259d.js';
|
|
31
31
|
import 'date-fns/locale';
|
|
32
32
|
import './constantsSite.js';
|
|
33
33
|
import './constantsRiskScreener.js';
|
|
34
|
-
import './index-
|
|
34
|
+
import './index-30fec346.js';
|
|
35
35
|
import 'classnames';
|
|
36
|
-
import './useUniqueId-
|
|
36
|
+
import './useUniqueId-d8440d0a.js';
|
|
37
37
|
import '@hhgtech/icons/core';
|
|
38
38
|
import '@mantine/dates';
|
|
39
|
-
import './translationsContext-
|
|
40
|
-
import './index-
|
|
39
|
+
import './translationsContext-3b47c634.js';
|
|
40
|
+
import './index-9a2df69e.js';
|
|
41
41
|
|
|
42
42
|
const CustomizedAxisTick = (props) => {
|
|
43
43
|
const { x, y, payload, activeWeek } = props;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const verifyEmailOTP: (otpCode: string) => Promise<import("./").ReturnType<LoggedInResponseType>>;
|
|
1
|
+
export declare const initSendUpdateEmailOtp: (email: string) => Promise<import("./").ReturnType<null>>;
|
|
2
|
+
export declare const resendUpdateEmailOTP: () => Promise<import("./").ReturnType<null>>;
|
|
3
|
+
export declare const verifyUpdateEmailOTP: (otpCode: string) => Promise<import("./").ReturnType<null>>;
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
export type SSOOTPConfigs = {
|
|
3
3
|
phone?: string;
|
|
4
4
|
email?: string;
|
|
5
|
-
otpType: 'phone-sms' | 'phone-zalo' | 'email';
|
|
5
|
+
otpType: 'phone-sms' | 'phone-zalo' | 'email' | 'update-email';
|
|
6
6
|
isUpdatePhone?: boolean;
|
|
7
7
|
afterAction?: 'setup' | 'submitSetup' | 'forgot';
|
|
8
8
|
setupData?: any;
|
|
@@ -9,9 +9,10 @@ export type SSOV2StoreType = {
|
|
|
9
9
|
setSource: (source: string) => void;
|
|
10
10
|
setupSource?: string;
|
|
11
11
|
setSetupSource: (source: string) => void;
|
|
12
|
-
triggerLogin: (
|
|
12
|
+
triggerLogin: (params?: {
|
|
13
13
|
source?: string;
|
|
14
14
|
returnUrl?: string;
|
|
15
15
|
}) => void;
|
|
16
|
+
triggerCareEmailVerify: () => void;
|
|
16
17
|
};
|
|
17
18
|
export declare const useSSOV2Store: import("zustand").UseBoundStore<import("zustand").StoreApi<SSOV2StoreType>>;
|
package/build/esm/ssoV2.js
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import React__default, { createContext, useState, useRef, useMemo, useEffect } from 'react';
|
|
2
2
|
import { ChevronLeft } from '@hhgtech/icons/arrow';
|
|
3
3
|
import { Close } from '@hhgtech/icons/core';
|
|
4
|
-
import { L as LogoIcon } from './logoIcon-
|
|
5
|
-
import { B as Button } from './index-
|
|
6
|
-
import { M as Modal } from './index-
|
|
4
|
+
import { L as LogoIcon } from './logoIcon-0c7ad938.js';
|
|
5
|
+
import { B as Button } from './index-30fec346.js';
|
|
6
|
+
import { M as Modal } from './index-1e6eac52.js';
|
|
7
7
|
import { Box, Stack, Group } from '@mantine/core';
|
|
8
8
|
import throttle from 'lodash/throttle';
|
|
9
|
-
import { f as Accordion, I as Input, P as Phone, O as OTP, g as PasswordInput, R as Radio } from './index-
|
|
9
|
+
import { f as Accordion, I as Input, P as Phone, O as OTP, g as PasswordInput, R as Radio } from './index-971088c6.js';
|
|
10
10
|
import '@mantine/dates';
|
|
11
|
-
import { L as LOCALE_SPECS, f as BEARER_REFRESH_TOKEN_COOKIE, S as STATIC_PAGES } from './index-
|
|
12
|
-
import './index-
|
|
13
|
-
import './index-
|
|
14
|
-
import { s as showNotification } from './useMantineLocale-
|
|
15
|
-
import { T as Text } from './index-
|
|
16
|
-
import { u as useTranslations } from './index-
|
|
11
|
+
import { L as LOCALE_SPECS, f as BEARER_REFRESH_TOKEN_COOKIE, S as STATIC_PAGES } from './index-c89b259d.js';
|
|
12
|
+
import './index-937083f1.js';
|
|
13
|
+
import './index-1804aac9.js';
|
|
14
|
+
import { s as showNotification } from './useMantineLocale-33dbc013.js';
|
|
15
|
+
import { T as Text } from './index-2979e1e0.js';
|
|
16
|
+
import { u as useTranslations } from './index-10b92651.js';
|
|
17
17
|
import '@mantine/hooks';
|
|
18
|
-
import './utils-
|
|
19
|
-
import './other-
|
|
20
|
-
import './index-
|
|
21
|
-
import { L as LOCALE } from './Locale-
|
|
22
|
-
import './translationsContext-
|
|
23
|
-
import { a as useSSOSteps, S as SSOStepTypeType, u as useSSOV2Store } from './store-
|
|
24
|
-
export { u as useSSOV2Store } from './store-
|
|
25
|
-
import { a as __awaiter, _ as __rest } from './tslib.es6-
|
|
18
|
+
import './utils-260de650.js';
|
|
19
|
+
import './other-b97646ad.js';
|
|
20
|
+
import './index-9a2df69e.js';
|
|
21
|
+
import { L as LOCALE } from './Locale-fa4eace1.js';
|
|
22
|
+
import './translationsContext-3b47c634.js';
|
|
23
|
+
import { a as useSSOSteps, S as SSOStepTypeType, u as useSSOV2Store } from './store-78aecb32.js';
|
|
24
|
+
export { u as useSSOV2Store } from './store-78aecb32.js';
|
|
25
|
+
import { a as __awaiter, _ as __rest } from './tslib.es6-2b20c21f.js';
|
|
26
26
|
import { isProduction } from './constantsIsProduction.js';
|
|
27
|
-
import { a as normalizeLinkSlash } from './normalizeLink-
|
|
28
|
-
import { a as getCurrentSsoUrl } from './routing-
|
|
27
|
+
import { a as normalizeLinkSlash } from './normalizeLink-071d82db.js';
|
|
28
|
+
import { a as getCurrentSsoUrl } from './routing-3ba6abb1.js';
|
|
29
29
|
import { setCookie } from './miscCookieHelper.js';
|
|
30
30
|
import { domainLocales } from './constantsDomainLocales.js';
|
|
31
|
-
import { G as Google, F as Facebook } from './Google-
|
|
31
|
+
import { G as Google, F as Facebook } from './Google-cf34072b.js';
|
|
32
32
|
import { Info } from '@hhgtech/icons/other';
|
|
33
|
-
import './index.styles-
|
|
33
|
+
import './index.styles-8c5ef7e8.js';
|
|
34
34
|
import styled from '@emotion/styled';
|
|
35
|
-
import { M as MAPPED_LOCALE } from './utils-
|
|
35
|
+
import { M as MAPPED_LOCALE } from './utils-0de68f17.js';
|
|
36
36
|
import { useForm, yupResolver } from '@mantine/form';
|
|
37
37
|
import * as yup from 'yup';
|
|
38
38
|
import dayjs from 'dayjs';
|
|
39
|
-
import { D as DatePicker } from './index-
|
|
40
|
-
import './index-
|
|
39
|
+
import { D as DatePicker } from './index-c57a53ff.js';
|
|
40
|
+
import './index-4c1d14db.js';
|
|
41
41
|
import '@mantine/carousel';
|
|
42
42
|
import './miscTheme.js';
|
|
43
43
|
import 'classnames';
|
|
44
|
-
import './useUniqueId-
|
|
44
|
+
import './useUniqueId-d8440d0a.js';
|
|
45
45
|
import './constantsSite.js';
|
|
46
46
|
import 'date-fns/locale';
|
|
47
47
|
import './constantsRiskScreener.js';
|
|
@@ -1274,6 +1274,30 @@ const SSOFirstScreen = ({ hidden }) => {
|
|
|
1274
1274
|
"of Hello Health Group."))));
|
|
1275
1275
|
};
|
|
1276
1276
|
|
|
1277
|
+
const initSendUpdateEmailOtp = (email) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1278
|
+
const formData = new FormData();
|
|
1279
|
+
formData.append('email', email);
|
|
1280
|
+
return fetchSSOV2Api(SSO_V2_PATHS.ECOM_CARE.SEND_OTP, {
|
|
1281
|
+
method: 'POST',
|
|
1282
|
+
body: formData,
|
|
1283
|
+
});
|
|
1284
|
+
});
|
|
1285
|
+
const resendUpdateEmailOTP = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
1286
|
+
const formData = new FormData();
|
|
1287
|
+
return fetchSSOV2Api(SSO_V2_PATHS.ECOM_CARE.RESEND_OTP, {
|
|
1288
|
+
method: 'POST',
|
|
1289
|
+
body: formData,
|
|
1290
|
+
});
|
|
1291
|
+
});
|
|
1292
|
+
const verifyUpdateEmailOTP = (otpCode) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1293
|
+
const formData = new FormData();
|
|
1294
|
+
formData.append('code', otpCode);
|
|
1295
|
+
return fetchSSOV2Api(SSO_V2_PATHS.ECOM_CARE.VERIFY_OTP, {
|
|
1296
|
+
method: 'POST',
|
|
1297
|
+
body: formData,
|
|
1298
|
+
});
|
|
1299
|
+
});
|
|
1300
|
+
|
|
1277
1301
|
const SSOOTPScreen = ({ hidden, index, }) => {
|
|
1278
1302
|
const { onClose } = useSSOState();
|
|
1279
1303
|
const { steps, setSteps, addStep, goNext } = useSSOSteps();
|
|
@@ -1282,7 +1306,7 @@ const SSOOTPScreen = ({ hidden, index, }) => {
|
|
|
1282
1306
|
const currentStepIndex = index;
|
|
1283
1307
|
const currentStep = steps[currentStepIndex];
|
|
1284
1308
|
const { phone, email, otpType, isUpdatePhone, afterAction, setupData } = currentStep.config;
|
|
1285
|
-
const isEmail = otpType === 'email';
|
|
1309
|
+
const isEmail = otpType === 'email' || otpType === 'update-email';
|
|
1286
1310
|
const sendOTPCode = (checkResend) => {
|
|
1287
1311
|
if (checkResend && resendTime > 0)
|
|
1288
1312
|
return;
|
|
@@ -1306,6 +1330,9 @@ const SSOOTPScreen = ({ hidden, index, }) => {
|
|
|
1306
1330
|
else if (otpType === 'email') {
|
|
1307
1331
|
resendEmailOTP(email);
|
|
1308
1332
|
}
|
|
1333
|
+
else if (otpType === 'update-email') {
|
|
1334
|
+
resendUpdateEmailOTP();
|
|
1335
|
+
}
|
|
1309
1336
|
}
|
|
1310
1337
|
setupResendTimer();
|
|
1311
1338
|
};
|
|
@@ -1369,12 +1396,19 @@ const SSOOTPScreen = ({ hidden, index, }) => {
|
|
|
1369
1396
|
else if (otpType === 'email') {
|
|
1370
1397
|
res = yield verifyByEmailOTP(email, otp);
|
|
1371
1398
|
}
|
|
1399
|
+
else if (otpType === 'update-email') {
|
|
1400
|
+
res = yield verifyUpdateEmailOTP(otp);
|
|
1401
|
+
}
|
|
1372
1402
|
if ((res === null || res === void 0 ? void 0 : res._status) !== 1) {
|
|
1373
1403
|
setOtp('');
|
|
1374
1404
|
// log error
|
|
1375
1405
|
setError(((_d = res._messages) === null || _d === void 0 ? void 0 : _d[0]) || 'API error');
|
|
1376
1406
|
return;
|
|
1377
1407
|
}
|
|
1408
|
+
if (otpType === 'update-email') {
|
|
1409
|
+
onClose === null || onClose === void 0 ? void 0 : onClose(true);
|
|
1410
|
+
return;
|
|
1411
|
+
}
|
|
1378
1412
|
handleAuthSuccess(res === null || res === void 0 ? void 0 : res._data);
|
|
1379
1413
|
if (afterAction === 'forgot') {
|
|
1380
1414
|
addStep({
|
|
@@ -2136,6 +2170,51 @@ const SSOSetupScreen = ({ hidden, index, }) => {
|
|
|
2136
2170
|
: 'Save'))));
|
|
2137
2171
|
};
|
|
2138
2172
|
|
|
2173
|
+
const SSOUpdateEmailScreen = ({ hidden, }) => {
|
|
2174
|
+
const [errMsg, setErrMsg] = React__default.useState('');
|
|
2175
|
+
const { addStep, goNext, setShareData } = useSSOSteps();
|
|
2176
|
+
return (React__default.createElement("form", { style: {
|
|
2177
|
+
display: hidden ? 'none' : 'block',
|
|
2178
|
+
}, onSubmit: (e) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2179
|
+
var _a, _b;
|
|
2180
|
+
e.preventDefault();
|
|
2181
|
+
const email = e.currentTarget.email.value;
|
|
2182
|
+
const existRes = yield checkUserExist({ email });
|
|
2183
|
+
if ((existRes === null || existRes === void 0 ? void 0 : existRes._status) === 1) {
|
|
2184
|
+
if (!existRes._data) {
|
|
2185
|
+
setShareData({
|
|
2186
|
+
authMethod: 'mail',
|
|
2187
|
+
authFlow: 'verify-mail',
|
|
2188
|
+
});
|
|
2189
|
+
const res = yield initSendUpdateEmailOtp(email);
|
|
2190
|
+
if ((res === null || res === void 0 ? void 0 : res._status) !== 1) {
|
|
2191
|
+
setErrMsg(((_a = res._messages) === null || _a === void 0 ? void 0 : _a[0]) || 'API error');
|
|
2192
|
+
return;
|
|
2193
|
+
}
|
|
2194
|
+
addStep({
|
|
2195
|
+
type: SSOStepTypeType.OTP,
|
|
2196
|
+
config: {
|
|
2197
|
+
email,
|
|
2198
|
+
otpType: 'update-email',
|
|
2199
|
+
},
|
|
2200
|
+
});
|
|
2201
|
+
goNext();
|
|
2202
|
+
}
|
|
2203
|
+
else {
|
|
2204
|
+
setErrMsg('Email đã tồn tại');
|
|
2205
|
+
}
|
|
2206
|
+
}
|
|
2207
|
+
else {
|
|
2208
|
+
setErrMsg(((_b = existRes._messages) === null || _b === void 0 ? void 0 : _b[0]) || 'api error');
|
|
2209
|
+
}
|
|
2210
|
+
}) },
|
|
2211
|
+
React__default.createElement(Stack, { spacing: 8 },
|
|
2212
|
+
React__default.createElement(Text, { size: "s1", weight: "semiBold" }, "Update Your Email"),
|
|
2213
|
+
React__default.createElement(Text, { size: "p4" }, "Please update and verify your email to continue using our services.")),
|
|
2214
|
+
React__default.createElement(Input, { name: "email", placeholder: "Email c\u1EE7a b\u1EA1n", error: errMsg || undefined, type: "email", required: true, mt: 24 }),
|
|
2215
|
+
React__default.createElement(Button, { type: "submit", size: "lg", variant: "primary", fullWidth: true, mt: 16 }, "Verify Your Email")));
|
|
2216
|
+
};
|
|
2217
|
+
|
|
2139
2218
|
const SSOScreenRenderer = () => {
|
|
2140
2219
|
const { steps, currentStepIndex } = useSSOSteps();
|
|
2141
2220
|
return (React__default.createElement(React__default.Fragment, null, steps.map((step, index) => {
|
|
@@ -2159,6 +2238,8 @@ const SSOScreenRenderer = () => {
|
|
|
2159
2238
|
return (React__default.createElement(SSOSetupScreen, { key: key, hidden: !isCurrentStep, index: index }));
|
|
2160
2239
|
case SSOStepTypeType.VERIFY_PHONE:
|
|
2161
2240
|
return (React__default.createElement(SSOPhoneVerify, { key: key, hidden: !isCurrentStep, index: index }));
|
|
2241
|
+
case SSOStepTypeType.UPDATE_EMAIL:
|
|
2242
|
+
return (React__default.createElement(SSOUpdateEmailScreen, { key: key, hidden: !isCurrentStep, index: index }));
|
|
2162
2243
|
default:
|
|
2163
2244
|
return React__default.createElement("div", { key: key }, "Not found");
|
|
2164
2245
|
}
|
|
@@ -2166,7 +2247,7 @@ const SSOScreenRenderer = () => {
|
|
|
2166
2247
|
};
|
|
2167
2248
|
|
|
2168
2249
|
const SSOV2 = ({ onClose: onCloseProps, locale }) => {
|
|
2169
|
-
const { isOpen, setOpen, returnUrl, setMounted } = useSSOV2Store();
|
|
2250
|
+
const { isOpen, setOpen, returnUrl, setMounted, source } = useSSOV2Store();
|
|
2170
2251
|
useEffect(() => {
|
|
2171
2252
|
setMounted(true);
|
|
2172
2253
|
return () => {
|
|
@@ -2178,9 +2259,15 @@ const SSOV2 = ({ onClose: onCloseProps, locale }) => {
|
|
|
2178
2259
|
}
|
|
2179
2260
|
const onClose = (success) => {
|
|
2180
2261
|
if (success && returnUrl && window.location.href !== returnUrl) {
|
|
2181
|
-
|
|
2262
|
+
const newReturnUrl = new URL(returnUrl);
|
|
2263
|
+
newReturnUrl.searchParams.set('source', source || '');
|
|
2264
|
+
window.location.href = newReturnUrl.href;
|
|
2182
2265
|
return;
|
|
2183
2266
|
}
|
|
2267
|
+
if (success && source) {
|
|
2268
|
+
window.history.pushState({}, '', window.location.href +
|
|
2269
|
+
`${window.location.href.includes('?') ? '&' : '?'}source=${source}`);
|
|
2270
|
+
}
|
|
2184
2271
|
setOpen(false);
|
|
2185
2272
|
onCloseProps === null || onCloseProps === void 0 ? void 0 : onCloseProps();
|
|
2186
2273
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { create } from 'zustand';
|
|
2
2
|
import { getCookie } from './miscCookieHelper.js';
|
|
3
|
-
import { B as BEARER_TOKEN_COOKIE } from './index-
|
|
3
|
+
import { B as BEARER_TOKEN_COOKIE } from './index-c89b259d.js';
|
|
4
4
|
|
|
5
5
|
var SSOStepTypeType;
|
|
6
6
|
(function (SSOStepTypeType) {
|
|
@@ -94,7 +94,8 @@ const useSSOV2Store = create()((set) => ({
|
|
|
94
94
|
setSource: (source) => set({ source }),
|
|
95
95
|
setupSource: undefined,
|
|
96
96
|
setSetupSource: (setupSource) => set({ setupSource }),
|
|
97
|
-
triggerLogin: (
|
|
97
|
+
triggerLogin: (params) => {
|
|
98
|
+
const { source, returnUrl } = params || {};
|
|
98
99
|
const alreadyHasToken = getCookie(BEARER_TOKEN_COOKIE);
|
|
99
100
|
if (alreadyHasToken) {
|
|
100
101
|
if (returnUrl && returnUrl !== window.location.href) {
|