@hhgtech/hhg-components 1.29.144 → 1.29.146
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-31e38662.js → LastPeriod-79fcee6d.js} +1 -1
- package/build/{MobileBottomNavigationIcon-55c07f7d.js → MobileBottomNavigationIcon-0c302829.js} +3 -3
- package/build/{Spinner-211c9683.js → Spinner-3ef4b2c2.js} +1 -1
- package/build/{WhatsApp-e0c0bb9d.js → WhatsApp-1cd12bf8.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 +89 -90
- package/build/{constants-3143cc04.js → constants-f779c9f4.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-e2d64e34.js → core-b0921c0f.js} +1 -1
- package/build/{dataTransform-9197a12d.js → dataTransform-e26d3567.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-93874c8d.js → editor-b7c765bd.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 +25 -26
- package/build/embeddedHeathToolCards_bmrBmr.js +25 -26
- package/build/embeddedHeathToolCards_dueDate_dueDate.js +22 -22
- package/build/embeddedHeathToolCards_ovulation_ovulation.js +22 -22
- package/build/embeddedHeathToolCards_pwg_pwg.js +26 -27
- package/build/embeddedHeathToolCards_targetHeartRate.js +27 -28
- package/build/esm/{LastPeriod-bee3d13c.js → LastPeriod-e0631848.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-df6bd263.js → MobileBottomNavigationIcon-414d7f6d.js} +3 -3
- package/build/esm/{Spinner-35d5f45f.js → Spinner-7451b6e5.js} +1 -1
- package/build/esm/{WhatsApp-7907f0ff.js → WhatsApp-5e557a96.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 +89 -90
- package/build/esm/{constants-0e4cc63d.js → constants-c86e4b5b.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-7ab61698.js → core-733a7b61.js} +1 -1
- package/build/esm/{dataTransform-2baa60e5.js → dataTransform-7c53fc27.js} +1 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-a6b74262.js → editor-7221d317.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 +25 -26
- package/build/esm/embeddedHeathToolCards_bmrBmr.js +25 -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 +26 -27
- package/build/esm/embeddedHeathToolCards_targetHeartRate.js +27 -28
- package/build/esm/{fixedBottomAdBlock-840da8c7.js → fixedBottomAdBlock-3de8c886.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 +33 -34
- package/build/esm/hooks.js +13 -14
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-87e40b55.js → index-01845105.js} +13 -13
- package/build/esm/{index-cf32ae56.js → index-040b69c4.js} +2 -2
- package/build/esm/{index-6f0e8e38.js → index-09072035.js} +32 -33
- package/build/esm/{index-6db1f7bb.js → index-09f39a7f.js} +10 -10
- package/build/esm/{index-34adf106.js → index-0da33b55.js} +2 -2
- package/build/esm/{index-0ef73d9a.js → index-0f5393e9.js} +3 -3
- package/build/esm/{index-d1c88f67.js → index-103afe5e.js} +13 -13
- package/build/esm/{index-79d3e60f.js → index-18385a9e.js} +1 -1
- package/build/esm/{index-9aabcb4c.js → index-1861cd41.js} +2 -2
- package/build/esm/{index-bc3378d9.js → index-1a3eacd9.js} +1 -1
- package/build/esm/{index-2c776668.js → index-1ad8aa95.js} +23 -23
- package/build/esm/{index-8842f7d3.js → index-1e43e0f9.js} +2 -2
- package/build/esm/{index-5d4cdda7.js → index-215243b0.js} +6 -6
- package/build/esm/{index-af98299c.js → index-221b14c7.js} +20 -20
- package/build/esm/{index-2e958550.js → index-26ca8c05.js} +3 -3
- package/build/esm/{index-e03ee124.js → index-290b77c5.js} +6 -6
- package/build/esm/{index-b3fbac27.js → index-29fe6e4a.js} +30 -30
- package/build/esm/{index-8bd0e2d1.js → index-31c197f1.js} +1 -1
- package/build/esm/{index-47917d82.js → index-38a4a6b2.js} +2 -2
- package/build/esm/{index-7698a794.js → index-41660a3a.js} +2 -2
- package/build/esm/{index-7c753f0e.js → index-422c592d.js} +7 -7
- package/build/esm/{index-2c463fc4.js → index-4815ace6.js} +16 -16
- package/build/esm/{index-802c259d.js → index-4ac74f2d.js} +2 -2
- package/build/esm/{index-df4a7447.js → index-50114e00.js} +16 -16
- package/build/esm/{index-4a773b87.js → index-50db10eb.js} +13 -13
- package/build/esm/{index-bd78c9b6.js → index-5132c6bb.js} +24 -24
- package/build/esm/{index-01547752.js → index-5263905a.js} +3 -3
- package/build/esm/{index-a7394e1a.js → index-532ec9b8.js} +1 -1
- package/build/esm/{index-b17024e6.js → index-555c5f1e.js} +16 -16
- package/build/esm/{index-c1c7ebfa.js → index-5b71c798.js} +16 -16
- package/build/esm/{index-6634320b.js → index-65afe55a.js} +1 -1
- package/build/esm/{index-9643cba8.js → index-68483f2e.js} +15 -15
- package/build/esm/{index-0b5788f4.js → index-68d3eebd.js} +17 -17
- package/build/esm/{index-c52e2f1c.js → index-73303d7d.js} +5 -5
- package/build/esm/{index-8cf5a966.js → index-796e9bb2.js} +1 -1
- package/build/esm/{index-7902dd02.js → index-7ddcd269.js} +18 -18
- package/build/esm/{index-b4539ead.js → index-82785bfe.js} +3 -3
- package/build/esm/{index-15240fbf.js → index-85c2bfdb.js} +7 -7
- package/build/esm/{index-775ea1cd.js → index-88beac8c.js} +3 -3
- package/build/esm/{index-6ffb3a5d.js → index-8d2c985a.js} +4 -4
- package/build/esm/{index-98bfde75.js → index-8d33b43d.js} +3 -3
- package/build/esm/{index-2f52a995.js → index-8d56be31.js} +2 -2
- package/build/esm/{index-3236ae4d.js → index-8d821afe.js} +13 -13
- package/build/esm/{index-0dd71846.js → index-8fc74a20.js} +6 -6
- package/build/esm/{index-881c0081.js → index-90ad56b1.js} +17 -17
- package/build/esm/{index-7132d466.js → index-9b1e7d53.js} +2 -2
- package/build/esm/{index-cb929cc6.js → index-9c499e19.js} +17 -17
- package/build/esm/{index-02bd1efc.js → index-a135b3d1.js} +18 -18
- package/build/esm/{index-4b0b240d.js → index-a1fe15fa.js} +12 -12
- package/build/esm/{index-fc4b618d.js → index-ac1446eb.js} +3 -3
- package/build/esm/{index-808a94a1.js → index-b2b7deb5.js} +6 -6
- package/build/esm/{index-30db3dcf.js → index-c6d0d4e3.js} +1 -1
- package/build/esm/{index-bd1b8011.js → index-d4bbf0d1.js} +27 -23
- package/build/esm/{index-10aa35c0.js → index-d7e10fea.js} +1 -1
- package/build/esm/{index-1a955565.js → index-dbfdecc6.js} +1 -1
- package/build/esm/{index-317e7411.js → index-e1d80854.js} +2 -2
- package/build/esm/{index-acbb69aa.js → index-e20876f4.js} +2 -2
- package/build/esm/{index-dacf294b.js → index-e70637c7.js} +5 -5
- package/build/esm/{index-b20653eb.js → index-eaa20d1d.js} +1 -1
- package/build/esm/{index-e74c3b3d.js → index-f0a718ae.js} +15 -15
- package/build/esm/index.js +112 -113
- package/build/esm/{index.styles-454204a5.js → index.styles-66045747.js} +1 -1
- package/build/esm/{labelSorting-f3be2126.js → labelSorting-c24d2623.js} +4 -4
- package/build/esm/lead.js +23 -23
- package/build/esm/{logoIcon-2520a405.js → logoIcon-6a0f5c0d.js} +2 -2
- package/build/esm/mantine.js +25 -25
- package/build/esm/misc.js +17 -18
- package/build/esm/miscGetDynamicHealthTool.js +4 -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 +68 -69
- package/build/esm/moleculesArticleCard.js +6 -6
- package/build/esm/moleculesArticleCardV2.js +16 -16
- package/build/esm/navigation.js +40 -41
- package/build/esm/navigationLogoutPopup.js +9 -9
- package/build/esm/navigationProfileButton.js +23 -24
- package/build/esm/{routing-d5ae058a.js → normalizeLink-688c6b8d.js} +12 -1
- package/build/esm/onboardingV2.js +29 -29
- package/build/esm/organisms.js +44 -45
- package/build/esm/{post-eece10fc.js → post-d70c9403.js} +2 -2
- package/build/esm/profileNavigation.js +19 -20
- package/build/esm/progressBar.js +1 -1
- package/build/esm/pwg.js +22 -22
- package/build/esm/ssoV2/screens/otp.d.ts +1 -1
- package/build/esm/ssoV2/screens/phoneVerify.d.ts +1 -1
- package/build/esm/ssoV2/ssoStateManager/store.d.ts +2 -1
- package/build/esm/ssoV2.js +51 -197
- package/build/esm/store-ee2c1923.js +347 -0
- package/build/esm/subot.js +33 -32
- package/build/esm/surveyOrPremiumBanner.js +30 -31
- package/build/esm/surveyQuestionCard.js +10 -10
- package/build/esm/{surveyThankyouCard-4034442f.js → surveyThankyouCard-970e0a36.js} +5 -5
- package/build/esm/together.js +55 -55
- 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 +47 -46
- package/build/esm/togetherMoleculesCardAuthor.js +27 -27
- package/build/esm/togetherMoleculesPostImagePreview.js +11 -11
- package/build/esm/togetherMoleculesProfileDetail.js +37 -36
- 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-b40051bf.js → treePopoverMenu-2edaacb7.js} +19 -19
- package/build/esm/{types-7b750371.js → types-7c0385fa.js} +2 -2
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-19820a10.js → useCategory-b757fcc1.js} +5 -5
- package/build/esm/{useHealthToolCache-5175830a.js → useHealthToolCache-632df999.js} +1 -1
- package/build/esm/{useMantineLocale-f9942e9c.js → useMantineLocale-4aece5db.js} +5 -5
- package/build/esm/{usePlacesAutocomplete-812f1136.js → usePlacesAutocomplete-e604c5cd.js} +1 -1
- package/build/esm/useTogetherAuthRequiredAction.js +10 -9
- package/build/esm/{utils-b65a7ac6.js → utils-497897a7.js} +2 -2
- package/build/esm/{utils-77604353.js → utils-c204f794.js} +2 -2
- package/build/esm/{utils-6101a92d.js → utils-de9524a4.js} +3 -3
- package/build/esm/vaccination.js +21 -21
- package/build/{fixedBottomAdBlock-01ae68d0.js → fixedBottomAdBlock-9bbf8b22.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 +33 -34
- package/build/hooks.js +13 -14
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-9ed9890e.js → index-048235a4.js} +2 -2
- package/build/{index-5359823e.js → index-04b79dfa.js} +16 -16
- package/build/{index-27981aaf.js → index-0fa34020.js} +1 -1
- package/build/{index-603572d6.js → index-14e86c8e.js} +2 -2
- package/build/{index-fb08f228.js → index-222235b0.js} +30 -30
- package/build/{index-7bd84380.js → index-256b7703.js} +1 -1
- package/build/{index-9a97250c.js → index-2d673ddf.js} +3 -3
- package/build/{index-e47d3598.js → index-2fff6342.js} +2 -2
- package/build/{index-2f85cd3c.js → index-3817aecc.js} +13 -13
- package/build/{index-6e4b6719.js → index-3ded2bd9.js} +13 -13
- package/build/{index-daa65e94.js → index-43bb497a.js} +2 -2
- package/build/{index-d1f05e15.js → index-48bf25aa.js} +25 -25
- package/build/{index-123a7b80.js → index-4d169b95.js} +3 -3
- package/build/{index-041bc8e0.js → index-516cf54b.js} +7 -7
- package/build/{index-8a357c06.js → index-56396ef7.js} +1 -1
- package/build/{index-2ba0fd2a.js → index-59497848.js} +16 -16
- package/build/{index-465acea1.js → index-5dfe1929.js} +17 -17
- package/build/{index-46a9bbba.js → index-5f50cc1f.js} +3 -3
- package/build/{index-5b933e7f.js → index-6125f8f5.js} +6 -6
- package/build/{index-281d6c74.js → index-6b13018f.js} +2 -2
- package/build/{index-20866b6a.js → index-6b5793cd.js} +6 -6
- package/build/{index-0506306f.js → index-723ab1a2.js} +21 -21
- package/build/{index-2ef7016d.js → index-73bb9351.js} +1 -1
- package/build/{index-38bbf10a.js → index-7b38a133.js} +5 -5
- package/build/{index-b83448ba.js → index-7dca5424.js} +4 -4
- package/build/{index-0d43704f.js → index-7ddd1a07.js} +1 -1
- package/build/{index-784dbf26.js → index-850e8cfa.js} +44 -45
- package/build/{index-f40e1ec6.js → index-89b299c1.js} +3 -3
- package/build/{index-2789b736.js → index-8f176112.js} +10 -10
- package/build/{index-1330f8d9.js → index-8ff2c70f.js} +3 -3
- package/build/{index-4efe049d.js → index-991243b4.js} +15 -15
- package/build/{index-d6c83257.js → index-9a1595aa.js} +6 -6
- package/build/{index-4bdee0fb.js → index-a0ab80e6.js} +6 -6
- package/build/{index-5424dbfc.js → index-a1bdb947.js} +17 -17
- package/build/{index-b4c43128.js → index-a3eac86b.js} +2 -2
- package/build/{index-931be766.js → index-a6303d1a.js} +1 -1
- package/build/{index-3b354c21.js → index-a7a89b97.js} +24 -24
- package/build/{index-1e9ce3fe.js → index-a955451a.js} +13 -13
- package/build/{index-d0383825.js → index-b0e18359.js} +1 -1
- package/build/{index-1db52136.js → index-b0e283b1.js} +3 -3
- package/build/{index-512cfbdd.js → index-b2dbf841.js} +5 -5
- package/build/{index-b0639120.js → index-b421e410.js} +13 -13
- package/build/{index-7c4ea57d.js → index-b45fb29d.js} +2 -2
- package/build/{index-f66b7609.js → index-ba34bb36.js} +27 -23
- package/build/{index-5c333f2a.js → index-bbd2e6f1.js} +1 -1
- package/build/{index-77682323.js → index-bc38ae3a.js} +2 -2
- package/build/{index-02d8e84a.js → index-bcffcc04.js} +17 -17
- package/build/{index-b041f41b.js → index-c49a4b96.js} +1 -1
- package/build/{index-436b652c.js → index-cecbcd58.js} +15 -15
- package/build/{index-ddd521a4.js → index-dfe0f610.js} +16 -16
- package/build/{index-da52051a.js → index-e6d7a41e.js} +18 -18
- package/build/{index-4a77b84b.js → index-e8a3d8f3.js} +12 -12
- package/build/{index-8bb8bccb.js → index-e9ba1c59.js} +2 -2
- package/build/{index-62bb3232.js → index-eaaced3c.js} +2 -2
- package/build/{index-f1ec270f.js → index-eb0d30b5.js} +2 -2
- package/build/{index-e735c4ae.js → index-f106f68b.js} +1 -1
- package/build/{index-5f64df40.js → index-fa0afa1f.js} +7 -7
- package/build/{index-abddda6d.js → index-fa50372a.js} +16 -16
- package/build/{index-2fe84859.js → index-fac53e14.js} +2 -2
- package/build/{index-1d34c747.js → index-ff17404d.js} +18 -18
- package/build/index.js +117 -118
- package/build/{index.styles-b90e8ab5.js → index.styles-c7b4291f.js} +1 -1
- package/build/{labelSorting-b0a73dba.js → labelSorting-4c9794eb.js} +4 -4
- package/build/lead.js +23 -23
- package/build/{logoIcon-7b4c761d.js → logoIcon-111d7742.js} +2 -2
- package/build/mantine.js +21 -21
- package/build/misc.js +22 -23
- package/build/miscGetDynamicHealthTool.js +5 -6
- 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 +68 -69
- package/build/moleculesArticleCard.js +6 -6
- package/build/moleculesArticleCardV2.js +16 -16
- package/build/navigation.js +40 -41
- package/build/navigationLogoutPopup.js +9 -9
- package/build/navigationProfileButton.js +23 -24
- package/build/{routing-2afde838.js → normalizeLink-7cfdaf02.js} +13 -0
- package/build/onboardingV2.js +28 -28
- package/build/organisms.js +44 -45
- package/build/{post-ee810bf0.js → post-96c92719.js} +2 -2
- package/build/profileNavigation.js +21 -22
- package/build/progressBar.js +1 -1
- package/build/pwg.js +22 -22
- package/build/ssoV2/screens/otp.d.ts +1 -1
- package/build/ssoV2/screens/phoneVerify.d.ts +1 -1
- package/build/ssoV2/ssoStateManager/store.d.ts +2 -1
- package/build/ssoV2.js +99 -245
- package/build/store-63fd8650.js +361 -0
- package/build/subot.js +32 -31
- package/build/surveyOrPremiumBanner.js +30 -31
- package/build/surveyQuestionCard.js +10 -10
- package/build/{surveyThankyouCard-d8a7fb72.js → surveyThankyouCard-905919ad.js} +5 -5
- package/build/together.js +55 -55
- package/build/togetherApiUtils.js +4 -4
- package/build/togetherAtoms.js +31 -31
- package/build/togetherComponentGlobalContext.js +4 -4
- package/build/togetherMolecules.js +47 -46
- package/build/togetherMoleculesCardAuthor.js +27 -27
- package/build/togetherMoleculesPostImagePreview.js +11 -11
- package/build/togetherMoleculesProfileDetail.js +37 -36
- package/build/togetherOrganisms.js +48 -48
- package/build/togetherRichTextEditor.js +17 -17
- package/build/togetherShareBox.js +10 -10
- package/build/{treePopoverMenu-a0248bfd.js → treePopoverMenu-cb446155.js} +19 -19
- package/build/{types-fee9239e.js → types-bd3c8742.js} +2 -2
- package/build/types.js +2 -2
- package/build/{useCategory-3bec728f.js → useCategory-197342f7.js} +5 -5
- package/build/{useHealthToolCache-527ce31c.js → useHealthToolCache-bacf8fa2.js} +1 -1
- package/build/{useMantineLocale-17ef7576.js → useMantineLocale-f1f47fee.js} +5 -5
- package/build/{usePlacesAutocomplete-2df4283e.js → usePlacesAutocomplete-66c93818.js} +1 -1
- package/build/useTogetherAuthRequiredAction.js +10 -9
- package/build/{utils-2a08bb93.js → utils-4a24ce4c.js} +3 -3
- package/build/{utils-85fdb145.js → utils-9a3533f4.js} +2 -2
- package/build/{utils-1a4ee031.js → utils-fe185323.js} +2 -2
- package/build/vaccination.js +21 -21
- package/package.json +1 -1
- package/build/esm/normalizeLink-155153b5.js +0 -12
- package/build/esm/store-fbd61046.js +0 -136
- package/build/normalizeLink-d431d81a.js +0 -15
- package/build/store-b992d5fb.js +0 -139
- /package/build/{BMI_BOYS.percentile.monthly-c8fb6a9c.js → BMI_BOYS.percentile.monthly-3ba4b0a9.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-4c831eb9.js → BMI_BOYS.percentile.weekly-75cf2b36.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-09198cb0.js → BMI_BOYS.percentile.yearly-56ac09e0.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-c10a6d17.js → BMI_BOYS.zscore.monthly-45a57c36.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-34284bde.js → BMI_BOYS.zscore.weekly-f837e61d.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-c8e1a1e5.js → BMI_BOYS.zscore.yearly-a3bc121a.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-e360c3ec.js → BMI_GIRLS.percentile.monthly-8ec554f5.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-c69fdcf2.js → BMI_GIRLS.percentile.weekly-2c08ee25.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-753efc2b.js → BMI_GIRLS.percentile.yearly-cec410f4.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-17b22bfb.js → BMI_GIRLS.zscore.monthly-6174a2c2.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-28ce8fa0.js → BMI_GIRLS.zscore.weekly-1df947e3.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-cd6b8ace.js → BMI_GIRLS.zscore.yearly-dea3c676.js} +0 -0
- /package/build/{ChevronDown-12315638.js → ChevronDown-f2527430.js} +0 -0
- /package/build/{Close-276f1a35.js → Close-ef4b1716.js} +0 -0
- /package/build/{Google-22cc11d8.js → Google-f20ad22b.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-682f4c07.js → HEAD CIRCUM_BOYS.percentile.monthly-1d7cca19.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-bbe76d67.js → HEAD CIRCUM_BOYS.percentile.weekly-1542d286.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-867c2e2a.js → HEAD CIRCUM_BOYS.percentile.yearly-4ab15188.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-88b7eb71.js → HEAD CIRCUM_BOYS.zscore.monthly-dc0bc286.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-72ae16ca.js → HEAD CIRCUM_BOYS.zscore.weekly-5e68eea2.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-c952ee8e.js → HEAD CIRCUM_BOYS.zscore.yearly-669a03fd.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-c5f06cbe.js → HEAD CIRCUM_GIRLS.percentile.monthly-e45b8879.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-209e4e2d.js → HEAD CIRCUM_GIRLS.percentile.weekly-43070b5b.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-1872f7a7.js → HEAD CIRCUM_GIRLS.percentile.yearly-c91e86b4.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-725c9b03.js → HEAD CIRCUM_GIRLS.zscore.monthly-97c7c129.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-013cbc9a.js → HEAD CIRCUM_GIRLS.zscore.weekly-0431a3b2.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-93fc3a39.js → HEAD CIRCUM_GIRLS.zscore.yearly-e8a01e4a.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-efc81471.js → HEIGHT_BOYS.percentile.monthly-72eabfab.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-5c2e507a.js → HEIGHT_BOYS.percentile.weekly-9ce690b6.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-7c8a84ba.js → HEIGHT_BOYS.percentile.yearly-4d1e8c2b.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-ab7f1cc9.js → HEIGHT_BOYS.zscore.monthly-734247d8.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-15cb0519.js → HEIGHT_BOYS.zscore.weekly-7d6b5aec.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-192df913.js → HEIGHT_BOYS.zscore.yearly-f928f974.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-bd5b5eb1.js → HEIGHT_GIRLS.percentile.monthly-1435757e.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-2b940335.js → HEIGHT_GIRLS.percentile.weekly-5ffc16a4.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-829f1225.js → HEIGHT_GIRLS.percentile.yearly-3e0aee62.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-5d4c22b0.js → HEIGHT_GIRLS.zscore.monthly-41695ea8.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-253ef311.js → HEIGHT_GIRLS.zscore.weekly-42edf819.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-8caf065e.js → HEIGHT_GIRLS.zscore.yearly-58bef90e.js} +0 -0
- /package/build/{Locale-85443fad.js → Locale-526b6447.js} +0 -0
- /package/build/{Visible-d075ed27.js → Visible-95ebe5e8.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-c2b72230.js → WEIGHT_BOYS.percentile.monthly-387ba830.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-56c32002.js → WEIGHT_BOYS.percentile.weekly-ec1785e6.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-325c0d91.js → WEIGHT_BOYS.percentile.yearly-c3a56fa9.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-b80573db.js → WEIGHT_BOYS.zscore.monthly-d69db01d.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-0aa9f387.js → WEIGHT_BOYS.zscore.weekly-c335131a.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-bce3950b.js → WEIGHT_BOYS.zscore.yearly-0cb97ba0.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-d06ff4f0.js → WEIGHT_GIRLS.percentile.monthly-0755ae14.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-7b8a8dca.js → WEIGHT_GIRLS.percentile.weekly-86935282.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-15ca7f58.js → WEIGHT_GIRLS.percentile.yearly-2b537ecf.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-8b2d7ec4.js → WEIGHT_GIRLS.zscore.monthly-f1441ca1.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-1c1a4eff.js → WEIGHT_GIRLS.zscore.weekly-acf3aae7.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-fadcb52b.js → WEIGHT_GIRLS.zscore.yearly-9869f3d0.js} +0 -0
- /package/build/{animation-fd5132f6.js → animation-61d30791.js} +0 -0
- /package/build/{constants-916599e8.js → constants-75920640.js} +0 -0
- /package/build/{constants-98e5210b.js → constants-ba3c316c.js} +0 -0
- /package/build/{constants-c7453c20.js → constants-d6245c8e.js} +0 -0
- /package/build/{dataTransform-3dc73a76.js → dataTransform-9475ed45.js} +0 -0
- /package/build/{doctor-1d3bdf43.js → doctor-c94bce31.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-2fe8778f.js → BMI_BOYS.percentile.monthly-7fe70cc4.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-d36770b1.js → BMI_BOYS.percentile.weekly-819583af.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-589c9975.js → BMI_BOYS.percentile.yearly-f64e82b7.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-09376bcc.js → BMI_BOYS.zscore.monthly-63b90c16.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-35ba3905.js → BMI_BOYS.zscore.weekly-263388ad.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-c87d2049.js → BMI_BOYS.zscore.yearly-0d53f13d.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-c112c816.js → BMI_GIRLS.percentile.monthly-00e77a37.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-30dcb93a.js → BMI_GIRLS.percentile.weekly-6ce488b4.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-3229f3a3.js → BMI_GIRLS.percentile.yearly-cecd69e7.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-72219bf9.js → BMI_GIRLS.zscore.monthly-57f09829.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-88b52051.js → BMI_GIRLS.zscore.weekly-487c02e5.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-6283ab87.js → BMI_GIRLS.zscore.yearly-9644e167.js} +0 -0
- /package/build/esm/{ChevronDown-200119e8.js → ChevronDown-20c4b567.js} +0 -0
- /package/build/esm/{Close-0282e1de.js → Close-bb76ead0.js} +0 -0
- /package/build/esm/{Google-eb5051c0.js → Google-518b81f0.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-96df7fec.js → HEAD CIRCUM_BOYS.percentile.monthly-5880026b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-86172e95.js → HEAD CIRCUM_BOYS.percentile.weekly-79586739.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-2d10415c.js → HEAD CIRCUM_BOYS.percentile.yearly-c9b4cf57.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-94f4d438.js → HEAD CIRCUM_BOYS.zscore.monthly-3455fb17.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-9e88cc16.js → HEAD CIRCUM_BOYS.zscore.weekly-cc7d8eef.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-799bf838.js → HEAD CIRCUM_BOYS.zscore.yearly-5d34c859.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-c1bb097e.js → HEAD CIRCUM_GIRLS.percentile.monthly-ffcf272f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-8a1ae7c5.js → HEAD CIRCUM_GIRLS.percentile.weekly-3dca0875.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-8a0b0561.js → HEAD CIRCUM_GIRLS.percentile.yearly-fbb78fa4.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-e9539a4d.js → HEAD CIRCUM_GIRLS.zscore.monthly-b5209270.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-c5c92ef1.js → HEAD CIRCUM_GIRLS.zscore.weekly-16466f8f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-4337afe0.js → HEAD CIRCUM_GIRLS.zscore.yearly-4e383b92.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-4b104081.js → HEIGHT_BOYS.percentile.monthly-2007bdac.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-b44eb2bb.js → HEIGHT_BOYS.percentile.weekly-3bece969.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-bd7a1599.js → HEIGHT_BOYS.percentile.yearly-40741a46.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-73103eee.js → HEIGHT_BOYS.zscore.monthly-9c4c6b8b.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-d8902f8c.js → HEIGHT_BOYS.zscore.weekly-5a0cc42f.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-b9258fa7.js → HEIGHT_BOYS.zscore.yearly-b21aa820.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-e88dc334.js → HEIGHT_GIRLS.percentile.monthly-e01d48d1.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-41237a9d.js → HEIGHT_GIRLS.percentile.weekly-bd509f97.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-3a33bec1.js → HEIGHT_GIRLS.percentile.yearly-6321658b.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-d004a506.js → HEIGHT_GIRLS.zscore.monthly-0b40e78b.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-0a8a22b4.js → HEIGHT_GIRLS.zscore.weekly-4afec9fe.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-1dbd50c7.js → HEIGHT_GIRLS.zscore.yearly-c042bfcf.js} +0 -0
- /package/build/esm/{Locale-5993f0ee.js → Locale-1d47037e.js} +0 -0
- /package/build/esm/{Visible-36aaa0b0.js → Visible-cc59d8d6.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-e6ac40d1.js → WEIGHT_BOYS.percentile.monthly-4e5f8b81.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-703ebead.js → WEIGHT_BOYS.percentile.weekly-20ca2aa7.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-906d9815.js → WEIGHT_BOYS.percentile.yearly-535df747.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-d58d8611.js → WEIGHT_BOYS.zscore.monthly-26a7bb76.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-3a5d0372.js → WEIGHT_BOYS.zscore.weekly-cf0b698d.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-f7de8333.js → WEIGHT_BOYS.zscore.yearly-c412beae.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-231f872e.js → WEIGHT_GIRLS.percentile.monthly-16639c14.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-c8619e9f.js → WEIGHT_GIRLS.percentile.weekly-83590849.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-a0e39ac6.js → WEIGHT_GIRLS.percentile.yearly-f4b09138.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-81693a74.js → WEIGHT_GIRLS.zscore.monthly-33433481.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-0877a117.js → WEIGHT_GIRLS.zscore.weekly-9b239e83.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-630b6434.js → WEIGHT_GIRLS.zscore.yearly-39a1e8b9.js} +0 -0
- /package/build/esm/{animation-77e413e5.js → animation-8d731008.js} +0 -0
- /package/build/esm/{constants-28195c94.js → constants-12116270.js} +0 -0
- /package/build/esm/{constants-4e44d215.js → constants-a61634b6.js} +0 -0
- /package/build/esm/{constants-b12b65e5.js → constants-d10c55bf.js} +0 -0
- /package/build/esm/{dataTransform-d43be15e.js → dataTransform-1cb98559.js} +0 -0
- /package/build/esm/{doctor-10c5f2fe.js → doctor-e1b07c49.js} +0 -0
- /package/build/esm/{index-30f7e9e8.js → index-0c2f3879.js} +0 -0
- /package/build/esm/{index-ec60c85f.js → index-0f29c1bf.js} +0 -0
- /package/build/esm/{index-cefc7adb.js → index-1631acad.js} +0 -0
- /package/build/esm/{index-10ff8dee.js → index-31ea7e88.js} +0 -0
- /package/build/esm/{index-e89aa1f3.js → index-72fd8d69.js} +0 -0
- /package/build/esm/{index-8aa5e354.js → index-7c3ae825.js} +0 -0
- /package/build/esm/{index-2b5e72d7.js → index-83e3bac0.js} +0 -0
- /package/build/esm/{index-778a4fba.js → index-db6f9e29.js} +0 -0
- /package/build/esm/{localizeNumberFormat-2cd010a4.js → localizeNumberFormat-44072036.js} +0 -0
- /package/build/esm/{number-b3eec134.js → number-6c73ba1c.js} +0 -0
- /package/build/esm/{other-ebe4623b.js → other-68bb97c7.js} +0 -0
- /package/build/esm/{paths-2fc6e497.js → paths-ea61e3a9.js} +0 -0
- /package/build/esm/{translationsContext-e720c077.js → translationsContext-90c02030.js} +0 -0
- /package/build/esm/{tslib.es6-7e1b8109.js → tslib.es6-ef20411b.js} +0 -0
- /package/build/esm/{types-fa6090f6.js → types-33e6c1f1.js} +0 -0
- /package/build/esm/{useIsInit-09221e44.js → useIsInit-0c488a48.js} +0 -0
- /package/build/esm/{useOutsideClick-55f40916.js → useOutsideClick-db8979f8.js} +0 -0
- /package/build/esm/{useScrollbarSize-0be63170.js → useScrollbarSize-9b8a8746.js} +0 -0
- /package/build/esm/{useUniqueId-116701ce.js → useUniqueId-6311faae.js} +0 -0
- /package/build/esm/{utils-97b9160b.js → utils-b79a7ddf.js} +0 -0
- /package/build/{index-c19cf94b.js → index-0aff65c3.js} +0 -0
- /package/build/{index-f12e55e0.js → index-8c6d303a.js} +0 -0
- /package/build/{index-80b2e7bb.js → index-911c3560.js} +0 -0
- /package/build/{index-2e79b2b3.js → index-b6fd2f1a.js} +0 -0
- /package/build/{index-b6fff5b5.js → index-cb0c337d.js} +0 -0
- /package/build/{index-b1607697.js → index-d4e89903.js} +0 -0
- /package/build/{index-d89e652c.js → index-d567e41b.js} +0 -0
- /package/build/{index-fd821355.js → index-f204d1d5.js} +0 -0
- /package/build/{localizeNumberFormat-d36ad745.js → localizeNumberFormat-daaf7929.js} +0 -0
- /package/build/{number-99a61857.js → number-2480e915.js} +0 -0
- /package/build/{other-08aaedbd.js → other-c6692408.js} +0 -0
- /package/build/{paths-649aaac9.js → paths-56f4051f.js} +0 -0
- /package/build/{translationsContext-3ed8aa62.js → translationsContext-fb9b728b.js} +0 -0
- /package/build/{tslib.es6-d5bae7d3.js → tslib.es6-9342a95c.js} +0 -0
- /package/build/{types-1acca9f3.js → types-ef74463f.js} +0 -0
- /package/build/{useIsInit-fe64c2d5.js → useIsInit-b9597e7c.js} +0 -0
- /package/build/{useOutsideClick-cca567ae.js → useOutsideClick-c3071688.js} +0 -0
- /package/build/{useScrollbarSize-797d863a.js → useScrollbarSize-9d59ff53.js} +0 -0
- /package/build/{useUniqueId-6bdddfb7.js → useUniqueId-ab2c8c18.js} +0 -0
- /package/build/{utils-895f9bde.js → utils-48c93fc5.js} +0 -0
package/build/esm/organisms.js
CHANGED
|
@@ -1,74 +1,73 @@
|
|
|
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-09072035.js';
|
|
2
|
+
export { U as UserProfileNavigation, N as UserProfileNavigationHeader, a as UserProfileNavigationStats } from './index-8fc74a20.js';
|
|
3
|
+
export { F as Footer } from './index-f0a718ae.js';
|
|
4
4
|
export { NavigationLogoutPopup } from './navigationLogoutPopup.js';
|
|
5
|
-
export { N as NavigationProfileButton } from './index-
|
|
5
|
+
export { N as NavigationProfileButton } from './index-09f39a7f.js';
|
|
6
6
|
export { ProfileNavigation } from './profileNavigation.js';
|
|
7
|
-
import './tslib.es6-
|
|
7
|
+
import './tslib.es6-ef20411b.js';
|
|
8
8
|
import 'react';
|
|
9
|
-
import './index-
|
|
10
|
-
import './index-
|
|
9
|
+
import './index-0f5393e9.js';
|
|
10
|
+
import './index-a1fe15fa.js';
|
|
11
11
|
import '@hhgtech/icons/other';
|
|
12
12
|
import '@mantine/core';
|
|
13
13
|
import '@mantine/hooks';
|
|
14
|
-
import './index-
|
|
14
|
+
import './index-83e3bac0.js';
|
|
15
15
|
import './constantsDomainLocales.js';
|
|
16
|
-
import './Locale-
|
|
16
|
+
import './Locale-1d47037e.js';
|
|
17
17
|
import './constantsIsProduction.js';
|
|
18
|
-
import './index.styles-
|
|
19
|
-
import './utils-
|
|
18
|
+
import './index.styles-66045747.js';
|
|
19
|
+
import './utils-b79a7ddf.js';
|
|
20
20
|
import '@emotion/styled';
|
|
21
21
|
import '@mantine/carousel';
|
|
22
|
-
import './index-
|
|
23
|
-
import './other-
|
|
24
|
-
import './index-
|
|
22
|
+
import './index-040b69c4.js';
|
|
23
|
+
import './other-68bb97c7.js';
|
|
24
|
+
import './index-d7e10fea.js';
|
|
25
25
|
import './miscTheme.js';
|
|
26
|
-
import './useMantineLocale-
|
|
26
|
+
import './useMantineLocale-4aece5db.js';
|
|
27
27
|
import '@mantine/notifications';
|
|
28
28
|
import 'dayjs';
|
|
29
|
-
import './index-
|
|
29
|
+
import './index-ac1446eb.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-c6d0d4e3.js';
|
|
34
|
+
import './index-65afe55a.js';
|
|
35
35
|
import 'classnames';
|
|
36
|
-
import './useUniqueId-
|
|
36
|
+
import './useUniqueId-6311faae.js';
|
|
37
37
|
import '@hhgtech/icons/core';
|
|
38
|
-
import './normalizeLink-
|
|
39
|
-
import './
|
|
40
|
-
import './
|
|
41
|
-
import './
|
|
42
|
-
import './
|
|
43
|
-
import './
|
|
44
|
-
import './translationsContext-e720c077.js';
|
|
38
|
+
import './normalizeLink-688c6b8d.js';
|
|
39
|
+
import './dataTransform-7c53fc27.js';
|
|
40
|
+
import './index-290b77c5.js';
|
|
41
|
+
import './logoIcon-6a0f5c0d.js';
|
|
42
|
+
import './index-dbfdecc6.js';
|
|
43
|
+
import './translationsContext-90c02030.js';
|
|
45
44
|
import 'lodash/throttle';
|
|
46
45
|
import '@mantine/dates';
|
|
47
|
-
import './index-
|
|
48
|
-
import './constants-
|
|
49
|
-
import './index-
|
|
50
|
-
import './utils-
|
|
51
|
-
import './index-
|
|
46
|
+
import './index-5263905a.js';
|
|
47
|
+
import './constants-c86e4b5b.js';
|
|
48
|
+
import './index-8d56be31.js';
|
|
49
|
+
import './utils-de9524a4.js';
|
|
50
|
+
import './index-31ea7e88.js';
|
|
52
51
|
import './miscCookieHelper.js';
|
|
53
52
|
import 'slugify';
|
|
54
53
|
import 'string-format';
|
|
55
54
|
import './togetherApiPaths.js';
|
|
56
|
-
import './constants-
|
|
57
|
-
import './constants-
|
|
58
|
-
import './index-
|
|
59
|
-
import './index-
|
|
60
|
-
import './useIsInit-
|
|
55
|
+
import './constants-d10c55bf.js';
|
|
56
|
+
import './constants-a61634b6.js';
|
|
57
|
+
import './index-38a4a6b2.js';
|
|
58
|
+
import './index-18385a9e.js';
|
|
59
|
+
import './useIsInit-0c488a48.js';
|
|
61
60
|
import './miscDefaultClassWrapper.js';
|
|
62
61
|
import 'dayjs/plugin/relativeTime';
|
|
63
|
-
import './index-
|
|
64
|
-
import './index-
|
|
65
|
-
import './store-
|
|
62
|
+
import './index-1861cd41.js';
|
|
63
|
+
import './index-72fd8d69.js';
|
|
64
|
+
import './store-ee2c1923.js';
|
|
66
65
|
import 'zustand';
|
|
67
66
|
import 'lodash/debounce';
|
|
68
|
-
import './core-
|
|
69
|
-
import './index-
|
|
70
|
-
import './index-
|
|
71
|
-
import './index-
|
|
72
|
-
import './Spinner-
|
|
73
|
-
import './ChevronDown-
|
|
67
|
+
import './core-733a7b61.js';
|
|
68
|
+
import './index-1a3eacd9.js';
|
|
69
|
+
import './index-796e9bb2.js';
|
|
70
|
+
import './index-eaa20d1d.js';
|
|
71
|
+
import './Spinner-7451b6e5.js';
|
|
72
|
+
import './ChevronDown-20c4b567.js';
|
|
74
73
|
import '@emotion/react';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as __awaiter } from './tslib.es6-
|
|
1
|
+
import { a as __awaiter } from './tslib.es6-ef20411b.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-de9524a4.js';
|
|
4
4
|
|
|
5
5
|
const EncodeUrlRegexMap = {
|
|
6
6
|
edit: /<mocka ([^>]*)data-url="true"[^<>]*>(.*?)<\/mocka>/gim,
|
|
@@ -1,38 +1,37 @@
|
|
|
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-ac1446eb.js';
|
|
3
|
+
import { a as Avatar } from './index-a1fe15fa.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-d7e10fea.js';
|
|
7
|
+
import { C as CommonGAssets } from './index-83e3bac0.js';
|
|
8
|
+
import './useMantineLocale-4aece5db.js';
|
|
9
|
+
import { T as Text } from './index-040b69c4.js';
|
|
10
|
+
import './index-c6d0d4e3.js';
|
|
11
|
+
import './index.styles-66045747.js';
|
|
12
|
+
import { u as useTranslations } from './index-dbfdecc6.js';
|
|
13
13
|
import '@mantine/hooks';
|
|
14
|
-
import './utils-
|
|
15
|
-
import './other-
|
|
16
|
-
import './index-
|
|
17
|
-
import { C as ChevronDown } from './ChevronDown-
|
|
18
|
-
import {
|
|
14
|
+
import './utils-b79a7ddf.js';
|
|
15
|
+
import './other-68bb97c7.js';
|
|
16
|
+
import './index-5263905a.js';
|
|
17
|
+
import { C as ChevronDown } from './ChevronDown-20c4b567.js';
|
|
18
|
+
import { e as normalizeLinkSlash, a as getCurrentSsoUrl, g as getCurrentBaseUrl } from './normalizeLink-688c6b8d.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-d5ae058a.js';
|
|
22
|
+
import './translationsContext-90c02030.js';
|
|
24
23
|
import 'date-fns/locale';
|
|
25
24
|
import './constantsSite.js';
|
|
26
|
-
import './Locale-
|
|
25
|
+
import './Locale-1d47037e.js';
|
|
27
26
|
import './constantsDomainLocales.js';
|
|
28
27
|
import './constantsRiskScreener.js';
|
|
29
28
|
import './constantsIsProduction.js';
|
|
30
|
-
import './tslib.es6-
|
|
29
|
+
import './tslib.es6-ef20411b.js';
|
|
31
30
|
import '@hhgtech/icons/other';
|
|
32
31
|
import '@mantine/carousel';
|
|
33
|
-
import './index-
|
|
32
|
+
import './index-65afe55a.js';
|
|
34
33
|
import 'classnames';
|
|
35
|
-
import './useUniqueId-
|
|
34
|
+
import './useUniqueId-6311faae.js';
|
|
36
35
|
import '@hhgtech/icons/core';
|
|
37
36
|
import '@mantine/notifications';
|
|
38
37
|
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-796e9bb2.js';
|
|
3
|
+
import { T as Text } from './index-040b69c4.js';
|
|
4
|
+
import { P as PillCarousel } from './index-85c2bfdb.js';
|
|
5
|
+
import { u as useTranslations } from './index-dbfdecc6.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-db6f9e29.js';
|
|
9
|
+
import { a as useOutsideClick } from './useOutsideClick-db8979f8.js';
|
|
10
10
|
import styled from '@emotion/styled';
|
|
11
|
-
import { _ as __rest } from './tslib.es6-
|
|
11
|
+
import { _ as __rest } from './tslib.es6-ef20411b.js';
|
|
12
12
|
import '@mantine/core';
|
|
13
|
-
import './other-
|
|
14
|
-
import './index-
|
|
15
|
-
import './Locale-
|
|
16
|
-
import './index-
|
|
13
|
+
import './other-68bb97c7.js';
|
|
14
|
+
import './index-d7e10fea.js';
|
|
15
|
+
import './Locale-1d47037e.js';
|
|
16
|
+
import './index-83e3bac0.js';
|
|
17
17
|
import './constantsDomainLocales.js';
|
|
18
18
|
import './constantsIsProduction.js';
|
|
19
|
-
import './index-
|
|
20
|
-
import './index-
|
|
21
|
-
import './index-
|
|
19
|
+
import './index-65afe55a.js';
|
|
20
|
+
import './index-103afe5e.js';
|
|
21
|
+
import './index-a1fe15fa.js';
|
|
22
22
|
import '@hhgtech/icons/other';
|
|
23
23
|
import '@mantine/hooks';
|
|
24
|
-
import './index.styles-
|
|
25
|
-
import './utils-
|
|
24
|
+
import './index.styles-66045747.js';
|
|
25
|
+
import './utils-b79a7ddf.js';
|
|
26
26
|
import '@mantine/carousel';
|
|
27
|
-
import './useMantineLocale-
|
|
27
|
+
import './useMantineLocale-4aece5db.js';
|
|
28
28
|
import '@mantine/notifications';
|
|
29
29
|
import 'dayjs';
|
|
30
|
-
import './index-
|
|
30
|
+
import './index-ac1446eb.js';
|
|
31
31
|
import 'date-fns/locale';
|
|
32
32
|
import './constantsSite.js';
|
|
33
33
|
import './constantsRiskScreener.js';
|
|
34
|
-
import './index-
|
|
34
|
+
import './index-c6d0d4e3.js';
|
|
35
35
|
import 'classnames';
|
|
36
|
-
import './useUniqueId-
|
|
36
|
+
import './useUniqueId-6311faae.js';
|
|
37
37
|
import '@hhgtech/icons/core';
|
|
38
38
|
import '@mantine/dates';
|
|
39
|
-
import './translationsContext-
|
|
40
|
-
import './index-
|
|
39
|
+
import './translationsContext-90c02030.js';
|
|
40
|
+
import './index-5263905a.js';
|
|
41
41
|
|
|
42
42
|
const CustomizedAxisTick = (props) => {
|
|
43
43
|
const { x, y, payload, activeWeek } = props;
|
|
@@ -4,7 +4,7 @@ export type SSOOTPConfigs = {
|
|
|
4
4
|
email?: string;
|
|
5
5
|
otpType: 'phone-sms' | 'phone-zalo' | 'email' | 'update-email';
|
|
6
6
|
isUpdatePhone?: boolean;
|
|
7
|
-
afterAction?: 'setup' | 'submitSetup' | 'forgot';
|
|
7
|
+
afterAction?: 'setup' | 'submitSetup' | 'forgot' | 'update-email';
|
|
8
8
|
setupData?: any;
|
|
9
9
|
};
|
|
10
10
|
export declare const SSOOTPScreen: ({ hidden, index, }: {
|
|
@@ -13,9 +13,10 @@ export type SSOV2StoreType = {
|
|
|
13
13
|
source?: string;
|
|
14
14
|
returnUrl?: string;
|
|
15
15
|
}) => void;
|
|
16
|
-
|
|
16
|
+
triggerCareEmailPhoneVerify: (params?: {
|
|
17
17
|
source?: string;
|
|
18
18
|
returnUrl?: string;
|
|
19
19
|
}) => void;
|
|
20
|
+
overrideClose?: () => Promise<boolean>;
|
|
20
21
|
};
|
|
21
22
|
export declare const useSSOV2Store: import("zustand").UseBoundStore<import("zustand").StoreApi<SSOV2StoreType>>;
|
package/build/esm/ssoV2.js
CHANGED
|
@@ -1,52 +1,51 @@
|
|
|
1
|
+
import { a as __awaiter, _ as __rest } from './tslib.es6-ef20411b.js';
|
|
1
2
|
import React__default, { createContext, useState, useRef, useMemo, useEffect } from 'react';
|
|
2
3
|
import { ChevronLeft } from '@hhgtech/icons/arrow';
|
|
3
4
|
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-
|
|
5
|
+
import { L as LogoIcon } from './logoIcon-6a0f5c0d.js';
|
|
6
|
+
import { B as Button } from './index-c6d0d4e3.js';
|
|
7
|
+
import { M as Modal } from './index-0da33b55.js';
|
|
7
8
|
import { Box, Stack, Group } from '@mantine/core';
|
|
8
9
|
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-
|
|
10
|
+
import { f as Accordion, I as Input, P as Phone, O as OTP, g as PasswordInput, R as Radio } from './index-a1fe15fa.js';
|
|
10
11
|
import '@mantine/dates';
|
|
11
|
-
import { L as LOCALE_SPECS,
|
|
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-
|
|
12
|
+
import { L as LOCALE_SPECS, S as STATIC_PAGES } from './index-ac1446eb.js';
|
|
13
|
+
import './index-d7e10fea.js';
|
|
14
|
+
import './index-83e3bac0.js';
|
|
15
|
+
import { s as showNotification } from './useMantineLocale-4aece5db.js';
|
|
16
|
+
import { T as Text } from './index-040b69c4.js';
|
|
17
|
+
import { u as useTranslations } from './index-dbfdecc6.js';
|
|
17
18
|
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 {
|
|
26
|
-
import { isProduction } from './constantsIsProduction.js';
|
|
27
|
-
import { a as normalizeLinkSlash } from './normalizeLink-155153b5.js';
|
|
28
|
-
import { a as getCurrentSsoUrl } from './routing-d5ae058a.js';
|
|
29
|
-
import { setCookie } from './miscCookieHelper.js';
|
|
30
|
-
import { domainLocales } from './constantsDomainLocales.js';
|
|
31
|
-
import { G as Google, F as Facebook } from './Google-eb5051c0.js';
|
|
19
|
+
import './utils-b79a7ddf.js';
|
|
20
|
+
import './other-68bb97c7.js';
|
|
21
|
+
import './index-5263905a.js';
|
|
22
|
+
import { L as LOCALE } from './Locale-1d47037e.js';
|
|
23
|
+
import './translationsContext-90c02030.js';
|
|
24
|
+
import { a as useSSOSteps, f as fetchSSOV2Api, w as websiteId, S as SSO_V2_PATHS, c as checkUserExist, b as SSOStepTypeType, d as allAvailableAreaCodes, F as FacebookAppId, G as GoogleAuthClientId, h as handleAuthSuccess, g as getUserInfo, e as updateUserInfo, r as resetPassword, u as useSSOV2Store } from './store-ee2c1923.js';
|
|
25
|
+
export { u as useSSOV2Store } from './store-ee2c1923.js';
|
|
26
|
+
import { G as Google, F as Facebook } from './Google-518b81f0.js';
|
|
32
27
|
import { Info } from '@hhgtech/icons/other';
|
|
33
|
-
import './index.styles-
|
|
28
|
+
import './index.styles-66045747.js';
|
|
34
29
|
import styled from '@emotion/styled';
|
|
35
|
-
import { M as MAPPED_LOCALE } from './utils-
|
|
30
|
+
import { M as MAPPED_LOCALE } from './utils-c204f794.js';
|
|
31
|
+
import { domainLocales } from './constantsDomainLocales.js';
|
|
36
32
|
import { useForm, yupResolver } from '@mantine/form';
|
|
37
33
|
import * as yup from 'yup';
|
|
38
34
|
import dayjs from 'dayjs';
|
|
39
|
-
import { D as DatePicker } from './index-
|
|
40
|
-
import './index-
|
|
35
|
+
import { D as DatePicker } from './index-215243b0.js';
|
|
36
|
+
import './index-65afe55a.js';
|
|
41
37
|
import '@mantine/carousel';
|
|
42
38
|
import './miscTheme.js';
|
|
43
39
|
import 'classnames';
|
|
44
|
-
import './useUniqueId-
|
|
40
|
+
import './useUniqueId-6311faae.js';
|
|
45
41
|
import './constantsSite.js';
|
|
46
42
|
import 'date-fns/locale';
|
|
47
43
|
import './constantsRiskScreener.js';
|
|
44
|
+
import './constantsIsProduction.js';
|
|
48
45
|
import '@mantine/notifications';
|
|
49
46
|
import 'zustand';
|
|
47
|
+
import './normalizeLink-688c6b8d.js';
|
|
48
|
+
import './miscCookieHelper.js';
|
|
50
49
|
|
|
51
50
|
const SSOStateContext = createContext({
|
|
52
51
|
locale: LOCALE.Vietnam,
|
|
@@ -501,165 +500,6 @@ const SSOPopupWrapper = ({ children, opened, onClose, }) => {
|
|
|
501
500
|
React__default.createElement(CollectInfoTextPopup, null)));
|
|
502
501
|
};
|
|
503
502
|
|
|
504
|
-
const SSO_V2_PATHS = {
|
|
505
|
-
LOGIN_BY_SOCIAL: 'member/social-login',
|
|
506
|
-
EMAIL: {
|
|
507
|
-
REGISTER_BY_SEND_OTP: 'login/login-with-email',
|
|
508
|
-
LOGIN_BY_PASSWORD: 'member/login',
|
|
509
|
-
VERIFY_BY_OTP: 'login/email-verify-code',
|
|
510
|
-
SEND_OTP: 'login/email-resend-otp-code', // FOR RESEND OTP IN CASE FAIL
|
|
511
|
-
},
|
|
512
|
-
PHONE: {
|
|
513
|
-
REGISTER_BY_SEND_OTP: 'login/login-with-sms',
|
|
514
|
-
SEND_OTP: 'login/sms/sent-otp',
|
|
515
|
-
VERIFY_BY_OTP: 'login/phone-verify-code',
|
|
516
|
-
LOGIN_BY_PASSWORD: 'member/login-by-phone',
|
|
517
|
-
UPDATE_PHONE_SEND_OTP: 'login/sms-social/sent-otp',
|
|
518
|
-
UPDATE_PHONE_VERIFY_OTP: 'login/sms-social/phone-verify-code',
|
|
519
|
-
},
|
|
520
|
-
ZALO: {
|
|
521
|
-
REGISTER_BY_SEND_OTP: 'login/login-with-zalo',
|
|
522
|
-
SEND_OTP: 'login/zalo/sent-otp',
|
|
523
|
-
VERIFY_BY_OTP: 'login/zalo-verify-code',
|
|
524
|
-
UPDATE_PHONE_SEND_OTP: 'login/sms-social/zalo/sent-otp',
|
|
525
|
-
UPDATE_PHONE_VERIFY_OTP: 'login/sms-social/zalo-verify-code',
|
|
526
|
-
},
|
|
527
|
-
RESET_PASSWORD: 'login/reset-password',
|
|
528
|
-
CHECK_USER_EXIST: 'member/check-user-exist',
|
|
529
|
-
UPDATE_USER_INFO: 'login/update-first-info',
|
|
530
|
-
ECOM_CARE: {
|
|
531
|
-
SEND_OTP: 'login/ecom-care/send-email-otp-code',
|
|
532
|
-
VERIFY_OTP: 'login/ecom-care/email-verify-code',
|
|
533
|
-
RESEND_OTP: 'login/ecom-care/resend-email-otp-code',
|
|
534
|
-
},
|
|
535
|
-
};
|
|
536
|
-
|
|
537
|
-
const locale = process.env.UNIFY_LOCALE || 'vi-VN';
|
|
538
|
-
const websiteId = LOCALE_SPECS[locale].SITE_ID;
|
|
539
|
-
LOCALE_SPECS[locale].PHONE;
|
|
540
|
-
const allAvailableAreaCodes = Object.keys(LOCALE_SPECS).map((locale) => LOCALE_SPECS[locale].PHONE);
|
|
541
|
-
const getSSOV2ApiUrl = (path) => {
|
|
542
|
-
return normalizeLinkSlash(`${getCurrentSsoUrl(locale)}/api/v2/${path}`);
|
|
543
|
-
};
|
|
544
|
-
const getSSOApiUrl = (path) => {
|
|
545
|
-
return normalizeLinkSlash(`${getCurrentSsoUrl(locale)}/api/${path}`);
|
|
546
|
-
};
|
|
547
|
-
const BEARER_TOKEN_COOKIE = 'hhg_user_token';
|
|
548
|
-
// NOTICE: RUN ONLY CLIENT SIDE
|
|
549
|
-
const fetchSSOV2Api = (path, options = {}, noAuth) => __awaiter(void 0, void 0, void 0, function* () {
|
|
550
|
-
var _a;
|
|
551
|
-
let response;
|
|
552
|
-
const authToken = noAuth
|
|
553
|
-
? ''
|
|
554
|
-
: (_a = document.cookie
|
|
555
|
-
.split('; ')
|
|
556
|
-
.find((row) => row.startsWith(BEARER_TOKEN_COOKIE))) === null || _a === void 0 ? void 0 : _a.split('=')[1];
|
|
557
|
-
try {
|
|
558
|
-
response = yield fetch(getSSOV2ApiUrl(path), authToken
|
|
559
|
-
? Object.assign(Object.assign({}, options), { headers: Object.assign({ Authorization: `Bearer ${authToken}` }, options === null || options === void 0 ? void 0 : options.headers) }) : options);
|
|
560
|
-
}
|
|
561
|
-
catch (error) {
|
|
562
|
-
console.error(error);
|
|
563
|
-
return null;
|
|
564
|
-
}
|
|
565
|
-
return response === null || response === void 0 ? void 0 : response.json();
|
|
566
|
-
});
|
|
567
|
-
const fetchSSOApi = (path, options = {}, noAuth) => __awaiter(void 0, void 0, void 0, function* () {
|
|
568
|
-
var _b;
|
|
569
|
-
let response;
|
|
570
|
-
const authToken = noAuth
|
|
571
|
-
? ''
|
|
572
|
-
: (_b = document.cookie
|
|
573
|
-
.split('; ')
|
|
574
|
-
.find((row) => row.startsWith(BEARER_TOKEN_COOKIE))) === null || _b === void 0 ? void 0 : _b.split('=')[1];
|
|
575
|
-
try {
|
|
576
|
-
response = yield fetch(getSSOApiUrl(path), authToken
|
|
577
|
-
? Object.assign(Object.assign({}, options), { headers: Object.assign({ Authorization: `Bearer ${authToken}` }, options === null || options === void 0 ? void 0 : options.headers) }) : options);
|
|
578
|
-
}
|
|
579
|
-
catch (error) {
|
|
580
|
-
console.error(error);
|
|
581
|
-
return null;
|
|
582
|
-
}
|
|
583
|
-
return response === null || response === void 0 ? void 0 : response.json();
|
|
584
|
-
});
|
|
585
|
-
const resetPassword = (password, confirmPassword) => __awaiter(void 0, void 0, void 0, function* () {
|
|
586
|
-
const formData = new FormData();
|
|
587
|
-
formData.append('password', password);
|
|
588
|
-
formData.append('confirm-password', confirmPassword);
|
|
589
|
-
return fetchSSOV2Api(SSO_V2_PATHS.RESET_PASSWORD, {
|
|
590
|
-
method: 'POST',
|
|
591
|
-
body: formData,
|
|
592
|
-
});
|
|
593
|
-
});
|
|
594
|
-
// "email":"kenny_test2201_11@mailinator.com"
|
|
595
|
-
// "phone_number":"906911910"
|
|
596
|
-
const checkUserExist = ({ email, phone, // no +
|
|
597
|
-
}) => __awaiter(void 0, void 0, void 0, function* () {
|
|
598
|
-
// "provider": "email",
|
|
599
|
-
// "is_pass": true,
|
|
600
|
-
// "is_status": "Active"
|
|
601
|
-
const formData = new FormData();
|
|
602
|
-
if (email) {
|
|
603
|
-
formData.append('email', email);
|
|
604
|
-
}
|
|
605
|
-
else {
|
|
606
|
-
formData.append('phone_number', phone);
|
|
607
|
-
}
|
|
608
|
-
return fetchSSOV2Api(SSO_V2_PATHS.CHECK_USER_EXIST, {
|
|
609
|
-
method: 'POST',
|
|
610
|
-
body: formData,
|
|
611
|
-
});
|
|
612
|
-
});
|
|
613
|
-
// "name": "Huy Tran 888",
|
|
614
|
-
// "birthday": "1989-04-26",
|
|
615
|
-
// "email":"kenny_test2201_02@mailinator.com", // optional chỉ require khi source là care | ecom
|
|
616
|
-
// "password": "Kenny2103",
|
|
617
|
-
// "confirm_password":"Kenny2103",
|
|
618
|
-
// "phone_number":"906911912", // require khi user register bằng email hoặc social
|
|
619
|
-
// "area_code":"+84", // require khi có phone number
|
|
620
|
-
// "gender": 1,
|
|
621
|
-
// "validate": false, // true validate sau khi validate xong truyền false để update
|
|
622
|
-
// "source": "care" | "ecom" // default sẽ ko require email. nếu source là care sẽ require email. ==> support cho business care
|
|
623
|
-
const updateUserInfo = (data) => __awaiter(void 0, void 0, void 0, function* () {
|
|
624
|
-
const formData = new FormData();
|
|
625
|
-
Object.keys(data).forEach((key) => {
|
|
626
|
-
const value = data[key];
|
|
627
|
-
if (typeof value !== 'undefined' &&
|
|
628
|
-
value !== null &&
|
|
629
|
-
(typeof value !== 'string' || !!value.trim())) {
|
|
630
|
-
formData.append(key, data[key]);
|
|
631
|
-
}
|
|
632
|
-
});
|
|
633
|
-
return fetchSSOV2Api(SSO_V2_PATHS.UPDATE_USER_INFO, {
|
|
634
|
-
method: 'POST',
|
|
635
|
-
body: formData,
|
|
636
|
-
});
|
|
637
|
-
});
|
|
638
|
-
const GoogleAuthClientId = isProduction
|
|
639
|
-
? '289442006438-040a42cbidr6v5d178f3iqi9q95821r3.apps.googleusercontent.com'
|
|
640
|
-
: '289442006438-cihobuq1h3r4426pur7u0e43fqdnep59.apps.googleusercontent.com';
|
|
641
|
-
const FacebookAppId = '2759888574045636';
|
|
642
|
-
const getUserInfo = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
643
|
-
return fetchSSOApi('user/profile', {
|
|
644
|
-
method: 'POST',
|
|
645
|
-
});
|
|
646
|
-
});
|
|
647
|
-
const handleAuthSuccess = (res) => {
|
|
648
|
-
(res === null || res === void 0 ? void 0 : res.token) &&
|
|
649
|
-
setCookie(BEARER_TOKEN_COOKIE, res.token, {
|
|
650
|
-
domain: window.location.hostname === 'localhost'
|
|
651
|
-
? 'localhost'
|
|
652
|
-
: `.${domainLocales[process.env.UNIFY_LOCALE || 'vi-VN']}`,
|
|
653
|
-
expires: new Date(res.expire_in * 1000).toUTCString(),
|
|
654
|
-
});
|
|
655
|
-
(res === null || res === void 0 ? void 0 : res.refresh_token) &&
|
|
656
|
-
setCookie(BEARER_REFRESH_TOKEN_COOKIE, res.refresh_token, {
|
|
657
|
-
domain: window.location.hostname === 'localhost'
|
|
658
|
-
? 'localhost'
|
|
659
|
-
: `.${domainLocales[process.env.UNIFY_LOCALE || 'vi-VN']}`,
|
|
660
|
-
});
|
|
661
|
-
};
|
|
662
|
-
|
|
663
503
|
const loginByEmailPassword = (email, password) => __awaiter(void 0, void 0, void 0, function* () {
|
|
664
504
|
const formData = new FormData();
|
|
665
505
|
formData.append('email', email);
|
|
@@ -1083,7 +923,7 @@ const SSOFirstScreen = ({ hidden }) => {
|
|
|
1083
923
|
if ((userExist === null || userExist === void 0 ? void 0 : userExist._status) === 1) {
|
|
1084
924
|
const provider = (_h = userExist._data) === null || _h === void 0 ? void 0 : _h.provider;
|
|
1085
925
|
if (provider === 'google' || provider === 'facebook') {
|
|
1086
|
-
setErrMsg('Email này đã được sử dụng, vui lòng chọn
|
|
926
|
+
setErrMsg('Email này đã được sử dụng, vui lòng chọn số điện thoại khác.');
|
|
1087
927
|
return;
|
|
1088
928
|
}
|
|
1089
929
|
setShareData({
|
|
@@ -1134,7 +974,7 @@ const SSOFirstScreen = ({ hidden }) => {
|
|
|
1134
974
|
if ((userExist === null || userExist === void 0 ? void 0 : userExist._status) === 1) {
|
|
1135
975
|
const provider = (_m = userExist._data) === null || _m === void 0 ? void 0 : _m.provider;
|
|
1136
976
|
if (provider === 'google' || provider === 'facebook') {
|
|
1137
|
-
setErrMsg('Email này đã được sử dụng, vui lòng chọn
|
|
977
|
+
setErrMsg('Email này đã được sử dụng, vui lòng chọn số điện thoại khác.');
|
|
1138
978
|
return;
|
|
1139
979
|
}
|
|
1140
980
|
setShareData({
|
|
@@ -1437,6 +1277,12 @@ const SSOOTPScreen = ({ hidden, index, }) => {
|
|
|
1437
1277
|
});
|
|
1438
1278
|
goNext();
|
|
1439
1279
|
}
|
|
1280
|
+
else if (afterAction === 'update-email') {
|
|
1281
|
+
addStep({
|
|
1282
|
+
type: SSOStepTypeType.UPDATE_EMAIL,
|
|
1283
|
+
});
|
|
1284
|
+
goNext();
|
|
1285
|
+
}
|
|
1440
1286
|
else {
|
|
1441
1287
|
onClose === null || onClose === void 0 ? void 0 : onClose(true);
|
|
1442
1288
|
}
|
|
@@ -1813,11 +1659,13 @@ const SSOPasswordForgotSetup = ({ hidden }) => {
|
|
|
1813
1659
|
React__default.createElement(Button, { type: "submit", size: "lg", variant: "primary", fullWidth: true }, "Save"))));
|
|
1814
1660
|
};
|
|
1815
1661
|
|
|
1816
|
-
const SSOPhoneVerify = ({ hidden, }) => {
|
|
1662
|
+
const SSOPhoneVerify = ({ hidden, index, }) => {
|
|
1817
1663
|
const [phone, setPhone] = React__default.useState('');
|
|
1818
1664
|
const [errMsg, setErrMsg] = React__default.useState('');
|
|
1819
1665
|
const { locale } = useSSOState();
|
|
1820
|
-
const { addStep, goNext } = useSSOSteps();
|
|
1666
|
+
const { addStep, goNext, steps } = useSSOSteps();
|
|
1667
|
+
const currentStep = steps[index];
|
|
1668
|
+
const { afterAction } = (currentStep === null || currentStep === void 0 ? void 0 : currentStep.config) || {};
|
|
1821
1669
|
const onClickContinueZalo = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
1822
1670
|
var _a, _b;
|
|
1823
1671
|
const { areaCode, phoneNumber } = splitPhone(phone);
|
|
@@ -1835,7 +1683,7 @@ const SSOPhoneVerify = ({ hidden, }) => {
|
|
|
1835
1683
|
phone,
|
|
1836
1684
|
otpType: 'phone-zalo',
|
|
1837
1685
|
isUpdatePhone: true,
|
|
1838
|
-
afterAction: 'setup',
|
|
1686
|
+
afterAction: afterAction || 'setup',
|
|
1839
1687
|
},
|
|
1840
1688
|
});
|
|
1841
1689
|
goNext();
|
|
@@ -1865,7 +1713,7 @@ const SSOPhoneVerify = ({ hidden, }) => {
|
|
|
1865
1713
|
phone,
|
|
1866
1714
|
otpType: 'phone-sms',
|
|
1867
1715
|
isUpdatePhone: true,
|
|
1868
|
-
afterAction: 'setup',
|
|
1716
|
+
afterAction: afterAction || 'setup',
|
|
1869
1717
|
},
|
|
1870
1718
|
});
|
|
1871
1719
|
goNext();
|
|
@@ -2252,7 +2100,7 @@ const SSOScreenRenderer = () => {
|
|
|
2252
2100
|
};
|
|
2253
2101
|
|
|
2254
2102
|
const SSOV2 = ({ onClose: onCloseProps, locale }) => {
|
|
2255
|
-
const { isOpen, setOpen, returnUrl, setMounted, source } = useSSOV2Store();
|
|
2103
|
+
const { isOpen, setOpen, returnUrl, setMounted, source, overrideClose } = useSSOV2Store();
|
|
2256
2104
|
useEffect(() => {
|
|
2257
2105
|
setMounted(true);
|
|
2258
2106
|
return () => {
|
|
@@ -2262,7 +2110,13 @@ const SSOV2 = ({ onClose: onCloseProps, locale }) => {
|
|
|
2262
2110
|
if (!isOpen) {
|
|
2263
2111
|
return null;
|
|
2264
2112
|
}
|
|
2265
|
-
const onClose = (success) => {
|
|
2113
|
+
const onClose = (success) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2114
|
+
if (success && overrideClose) {
|
|
2115
|
+
const allowContinue = yield overrideClose();
|
|
2116
|
+
if (!allowContinue) {
|
|
2117
|
+
return;
|
|
2118
|
+
}
|
|
2119
|
+
}
|
|
2266
2120
|
if (success && returnUrl && window.location.href !== returnUrl) {
|
|
2267
2121
|
const newReturnUrl = new URL(returnUrl);
|
|
2268
2122
|
if (source) {
|
|
@@ -2277,7 +2131,7 @@ const SSOV2 = ({ onClose: onCloseProps, locale }) => {
|
|
|
2277
2131
|
}
|
|
2278
2132
|
setOpen(false);
|
|
2279
2133
|
onCloseProps === null || onCloseProps === void 0 ? void 0 : onCloseProps();
|
|
2280
|
-
};
|
|
2134
|
+
});
|
|
2281
2135
|
return (React__default.createElement(SSOStateProvider, { onClose: onClose, locale: locale },
|
|
2282
2136
|
React__default.createElement(SSOPopupWrapper, { opened: true, onClose: onClose },
|
|
2283
2137
|
React__default.createElement(SSOScreenRenderer, null))));
|