@hhgtech/hhg-components 1.29.536 → 1.29.537-beta-2
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/{InputDate-ff78f6e6.js → InputDate-e2c42c9c.js} +5 -5
- package/build/{LastPeriod-ceca4869.js → LastPeriod-9cc3ce1c.js} +1 -1
- package/build/{MobileBottomNavigationIcon-5e334b1e.js → MobileBottomNavigationIcon-7f7f9e8c.js} +3 -3
- package/build/{SiteWideBanner-428b0eed.js → SiteWideBanner-c2efb851.js} +11 -11
- package/build/{Spinner-29eba46b.js → Spinner-a75096f7.js} +1 -1
- package/build/{WhatsApp-fedf6866.js → WhatsApp-3913a0cf.js} +1 -1
- package/build/adapters.js +20 -20
- package/build/atoms.js +54 -54
- package/build/babyGrowth.js +86 -86
- package/build/cache.js +2 -2
- package/build/care.js +22 -22
- package/build/careBookingSearchBar.js +14 -14
- package/build/careBookingSearchBarV2.js +19 -19
- package/build/components/atoms/drawerBottom/index.d.ts +6 -3
- package/build/components/mantine/modal/index.d.ts +3 -3
- package/build/components/molecules/healthTools/form/bmiForm/UnitPicker.d.ts +4 -5
- package/build/components/molecules/healthTools/form/bmiForm/index.d.ts +2 -1
- package/build/components/molecules/index.d.ts +5 -1
- package/build/components/molecules/popupBoostArticleCard/boostCardArticleAuthorName.d.ts +10 -0
- package/build/components/molecules/popupBoostArticleCard/getAuthorForBoostCard.d.ts +19 -0
- package/build/components/molecules/popupBoostArticleCard/index.d.ts +11 -0
- package/build/components/molecules/popupBoostArticleCard/index.styled.d.ts +16 -0
- package/build/components/molecules/popupBoostArticleCard/renderBoostUploadTime.d.ts +2 -0
- package/build/components/molecules/popupBoostPageView/index.d.ts +33 -0
- package/build/components/molecules/popupBoostPageView/tracking.d.ts +13 -0
- package/build/components/organisms/collectPhoneNumber/index.styled.d.ts +1 -0
- package/build/components/organisms/popupRequestConsultation/index.styled.d.ts +1 -0
- package/build/components.js +157 -154
- package/build/{constants-86dae49a.js → constants-3df257a3.js} +3 -2
- package/build/{constants-c079fc09.js → constants-a1d5ba45.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-ca9ba9aa.js → core-96382e05.js} +1 -1
- package/build/{dataTransform-c5b4c003.js → dataTransform-d87ab186.js} +1 -1
- package/build/ecom.js +5 -5
- package/build/{editor-eebb3c84.js → editor-bd09f69f.js} +11 -11
- package/build/embeddedHeathToolCards_babyGrowth.js +25 -25
- package/build/embeddedHeathToolCards_babyPoop.js +22 -22
- package/build/embeddedHeathToolCards_babyVaccine.js +24 -24
- package/build/embeddedHeathToolCards_bmi_bmi.js +28 -28
- package/build/embeddedHeathToolCards_bmrBmr.js +29 -29
- package/build/embeddedHeathToolCards_dueDate_dueDate.js +24 -24
- package/build/embeddedHeathToolCards_ovulation_ovulation.js +24 -24
- package/build/embeddedHeathToolCards_pwg_pwg.js +28 -28
- package/build/embeddedHeathToolCards_targetHeartRate.js +29 -29
- package/build/esm/{InputDate-31a84d45.js → InputDate-b6343322.js} +5 -5
- package/build/esm/{LastPeriod-6aa9ea42.js → LastPeriod-36e7e59f.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-904969d8.js → MobileBottomNavigationIcon-31a3e071.js} +3 -3
- package/build/esm/{SiteWideBanner-e16cd363.js → SiteWideBanner-0de7821d.js} +11 -11
- package/build/esm/{Spinner-c968c269.js → Spinner-ec08ef5a.js} +1 -1
- package/build/esm/{WhatsApp-9f8600f9.js → WhatsApp-e2ef0ca4.js} +1 -1
- package/build/esm/adapters.js +20 -20
- package/build/esm/atoms.js +53 -53
- package/build/esm/babyGrowth.js +86 -86
- package/build/esm/cache.js +2 -2
- package/build/esm/care.js +22 -22
- package/build/esm/careBookingSearchBar.js +14 -14
- package/build/esm/careBookingSearchBarV2.js +19 -19
- package/build/esm/components/atoms/drawerBottom/index.d.ts +6 -3
- package/build/esm/components/mantine/modal/index.d.ts +3 -3
- package/build/esm/components/molecules/healthTools/form/bmiForm/UnitPicker.d.ts +4 -5
- package/build/esm/components/molecules/healthTools/form/bmiForm/index.d.ts +2 -1
- package/build/esm/components/molecules/index.d.ts +5 -1
- package/build/esm/components/molecules/popupBoostArticleCard/boostCardArticleAuthorName.d.ts +10 -0
- package/build/esm/components/molecules/popupBoostArticleCard/getAuthorForBoostCard.d.ts +19 -0
- package/build/esm/components/molecules/popupBoostArticleCard/index.d.ts +11 -0
- package/build/esm/components/molecules/popupBoostArticleCard/index.styled.d.ts +16 -0
- package/build/esm/components/molecules/popupBoostArticleCard/renderBoostUploadTime.d.ts +2 -0
- package/build/esm/components/molecules/popupBoostPageView/index.d.ts +33 -0
- package/build/esm/components/molecules/popupBoostPageView/tracking.d.ts +13 -0
- package/build/esm/components/organisms/collectPhoneNumber/index.styled.d.ts +1 -0
- package/build/esm/components/organisms/popupRequestConsultation/index.styled.d.ts +1 -0
- package/build/esm/components.js +110 -110
- package/build/esm/{constants-0d72efc9.js → constants-031a5fce.js} +3 -3
- package/build/esm/{constants-659b2ff5.js → constants-2694967a.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-324380b2.js → core-731398c2.js} +1 -1
- package/build/esm/{dataTransform-985adbed.js → dataTransform-a0d9bc34.js} +2 -2
- package/build/esm/ecom.js +5 -5
- package/build/esm/{editor-5f5caaca.js → editor-1123b17b.js} +11 -11
- package/build/esm/embeddedHeathToolCards_babyGrowth.js +25 -25
- package/build/esm/embeddedHeathToolCards_babyPoop.js +22 -22
- package/build/esm/embeddedHeathToolCards_babyVaccine.js +24 -24
- package/build/esm/embeddedHeathToolCards_bmi_bmi.js +28 -28
- package/build/esm/embeddedHeathToolCards_bmrBmr.js +29 -29
- package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +24 -24
- package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +24 -24
- package/build/esm/embeddedHeathToolCards_pwg_pwg.js +28 -28
- package/build/esm/embeddedHeathToolCards_targetHeartRate.js +29 -29
- package/build/esm/footer.js +22 -22
- package/build/esm/gAssets.js +2 -2
- package/build/esm/{healthTools-e6cef33b.js → healthTools-ec75fc73.js} +1 -1
- package/build/esm/healthToolsCardWrapper.js +20 -20
- package/build/esm/healthToolsForm.js +36 -36
- package/build/esm/hooks.js +14 -14
- package/build/esm/i18n/translationKeys.d.ts +1 -1
- package/build/esm/i18n-values/en-PH.js +12 -0
- package/build/esm/i18n-values/hi-IN.js +12 -0
- package/build/esm/i18n-values/id-ID.js +12 -0
- package/build/esm/i18n-values/km-KH.js +12 -0
- package/build/esm/i18n-values/ms-MY.js +12 -0
- package/build/esm/i18n-values/my-MM.js +12 -0
- package/build/esm/i18n-values/th-TH.js +12 -0
- package/build/esm/i18n-values/tl-PH.js +12 -0
- package/build/esm/i18n-values/vi-VN.js +12 -0
- package/build/esm/i18n-values/vi-VN_MB.js +12 -0
- package/build/esm/i18n-values/zh-SG.js +12 -0
- package/build/esm/i18n-values/zh-TW.js +12 -0
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-73be6e73.js → index-051159aa.js} +2 -2
- package/build/esm/{index-4d145ba4.js → index-09d2cb67.js} +13 -13
- package/build/esm/{index-1ebe862c.js → index-0c11d8cb.js} +2 -2
- package/build/esm/{index-93da3200.js → index-0ef87b09.js} +3 -3
- package/build/esm/{index-2bb7f510.js → index-15173239.js} +18 -18
- package/build/esm/{index-c4d8e6ce.js → index-15ae2f64.js} +32 -32
- package/build/esm/{index-2906635b.js → index-1847d78f.js} +34 -34
- package/build/esm/{index-41966ff9.js → index-18aa0ee5.js} +3 -3
- package/build/esm/{index-c30c776e.js → index-20204619.js} +3 -3
- package/build/esm/{index-0302841d.js → index-22970d29.js} +3 -3
- package/build/esm/{index-673921f2.js → index-22f2b6db.js} +3 -3
- package/build/esm/{index-ab64efc3.js → index-2398f766.js} +6 -6
- package/build/esm/{index-7a670e71.js → index-2438891a.js} +11 -11
- package/build/esm/{index-f8eaa404.js → index-2cb583eb.js} +3 -3
- package/build/esm/{index-5ffa3f78.js → index-2ecc213c.js} +1 -1
- package/build/esm/{index-6aa38f4a.js → index-3140e763.js} +1 -1
- package/build/esm/{index-fdc2d81a.js → index-3712855a.js} +7 -7
- package/build/esm/{index-444c89db.js → index-38e12cea.js} +6 -6
- package/build/esm/{index-b0b33b44.js → index-3d22c8e3.js} +15 -15
- package/build/esm/{index-755eb9c0.js → index-43000554.js} +17 -17
- package/build/esm/{index-5e9efd56.js → index-45b39f54.js} +1 -1
- package/build/esm/{index-30d3ee51.js → index-47bd2594.js} +14 -14
- package/build/esm/{index-58da05c9.js → index-48d9d63c.js} +3 -3
- package/build/esm/{index-04f5a769.js → index-4ab448d4.js} +2 -2
- package/build/esm/{index-31d66653.js → index-4bd90da1.js} +2 -2
- package/build/esm/{index-1d613728.js → index-552314fa.js} +7 -7
- package/build/esm/{index-520f502d.js → index-5a6b957c.js} +2 -2
- package/build/esm/{index-ef45163b.js → index-5ee09ce8.js} +3 -3
- package/build/esm/{index-641bb70d.js → index-6422e4dc.js} +1 -1
- package/build/esm/{index-b716f178.js → index-651c11e5.js} +9 -9
- package/build/esm/{index-52242cb7.js → index-65d88e81.js} +16 -16
- package/build/esm/{index-444c42db.js → index-6603869c.js} +2 -2
- package/build/esm/{index-abcabf7a.js → index-667667b9.js} +14 -14
- package/build/esm/{index-231d2515.js → index-69b28b13.js} +25 -25
- package/build/esm/{index-2a13ecc2.js → index-6b76c17c.js} +2 -2
- package/build/esm/{index-d1af90ef.js → index-72f0ab61.js} +25 -24
- package/build/esm/{index-b362ec75.js → index-78dbe5f7.js} +26 -26
- package/build/esm/{index-d5731299.js → index-7d866ffb.js} +22 -22
- package/build/esm/{index-c6bbfde7.js → index-8155cc1c.js} +3 -3
- package/build/esm/{index-37ee534c.js → index-81626c09.js} +2 -2
- package/build/esm/{index-e5c6c334.js → index-820660ea.js} +1 -1
- package/build/esm/{index-044f1b3d.js → index-8299221b.js} +32 -32
- package/build/esm/{index-afdb4057.js → index-86d9ced0.js} +6 -6
- package/build/esm/{index-555fbbe4.js → index-92a47e45.js} +2 -2
- package/build/esm/{index-88c8037d.js → index-9884adb4.js} +2 -2
- package/build/esm/{index-1cb466b1.js → index-9f1b26b6.js} +6 -6
- package/build/esm/{index-6a32d067.js → index-a47baab1.js} +8 -3
- package/build/esm/{index-a2b26a52.js → index-b4fc5d36.js} +2 -2
- package/build/esm/{index-a4516e6f.js → index-b679a450.js} +4 -4
- package/build/esm/{index-27a453db.js → index-b93c507d.js} +2 -2
- package/build/esm/{index-dcaa0ec5.js → index-c191c53d.js} +15 -15
- package/build/esm/{index-305ea4ff.js → index-c5633877.js} +9 -9
- package/build/esm/{index-fadefee8.js → index-c60ed871.js} +13 -13
- package/build/esm/{index-b123cb26.js → index-cacef511.js} +2 -2
- package/build/esm/{index-1f70e65e.js → index-cb68c4eb.js} +5 -5
- package/build/esm/{index-acb0e372.js → index-cbb07c08.js} +29 -6
- package/build/esm/{index-aba99a3c.js → index-d0d54d04.js} +2 -2
- package/build/esm/{index-c008607a.js → index-d29c6b84.js} +16 -16
- package/build/esm/{index-5563937f.js → index-d40707da.js} +16 -16
- package/build/esm/{index-18596a50.js → index-d8c16b27.js} +15 -15
- package/build/esm/{index-da0a7092.js → index-d9e11dde.js} +2 -2
- package/build/esm/{index-148eaa77.js → index-da18ffd2.js} +8 -8
- package/build/esm/{index-d1a07321.js → index-db45c5bd.js} +18 -18
- package/build/esm/{index-ad262028.js → index-dc30f610.js} +12 -12
- package/build/esm/{index-7b30efdc.js → index-ddd41534.js} +14 -14
- package/build/esm/{index-b13d372a.js → index-e9673c04.js} +16 -16
- package/build/esm/{index-dbecf86b.js → index-ee248c9c.js} +1 -1
- package/build/esm/{index-b86f481e.js → index-efbbd379.js} +3 -3
- package/build/esm/{index-8a984a01.js → index-f08e609b.js} +3 -111
- package/build/esm/{index-291d0e7b.js → index-f5bacace.js} +2 -2
- package/build/esm/{index-86ba39ab.js → index-f8f1107b.js} +21 -21
- package/build/esm/index-fa32c87a.js +120 -0
- package/build/esm/index.js +131 -131
- package/build/esm/{labelSorting-7a5d39a6.js → labelSorting-92f94ef2.js} +4 -4
- package/build/esm/lead.js +37 -38
- package/build/esm/{logoIcon-4af03905.js → logoIcon-0b554ed9.js} +2 -2
- package/build/esm/mantine.js +27 -27
- package/build/esm/misc.js +19 -19
- package/build/esm/miscGetDynamicHealthTool.js +4 -4
- 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 +88 -85
- package/build/esm/moleculesArticleCard.js +6 -6
- package/build/esm/moleculesArticleCardV2.js +17 -17
- package/build/esm/navigation.js +51 -50
- package/build/esm/navigationLogoutPopup.js +11 -11
- package/build/esm/navigationProfileButton.js +27 -27
- package/build/esm/onboardingV2.js +30 -30
- package/build/esm/organisms.js +65 -65
- package/build/esm/{post-3773713e.js → post-b1e83fa8.js} +2 -2
- package/build/esm/profileNavigation.js +20 -20
- package/build/esm/progressBar.js +1 -1
- package/build/esm/pwg.js +23 -23
- package/build/esm/ssoV2/api/index.d.ts +2 -0
- package/build/esm/ssoV2/api/paths.d.ts +1 -0
- package/build/esm/ssoV2/api/whatsapp.d.ts +5 -1
- package/build/esm/ssoV2/screens/components/progressBar.utils.d.ts +1 -0
- package/build/esm/ssoV2/screens/whatsAppOTP.d.ts +13 -0
- package/build/esm/ssoV2/screens/whatsAppPhoneVerify.d.ts +9 -0
- package/build/esm/ssoV2/ssoStateManager/store.d.ts +16 -0
- package/build/esm/ssoV2/stepsManager/index.d.ts +2 -0
- package/build/esm/ssoV2.js +312 -47
- package/build/esm/{store-39a0405a.js → store-fec8c367.js} +66 -4
- package/build/esm/subot.js +40 -40
- package/build/esm/surveyOrPremiumBanner.js +35 -34
- package/build/esm/surveyQuestionCard.js +11 -11
- package/build/esm/{surveyThankyouCard-553a0536.js → surveyThankyouCard-5da3d4a7.js} +5 -5
- package/build/esm/together/api/paths.d.ts +1 -0
- package/build/esm/together.js +58 -57
- package/build/esm/togetherApiPaths.js +1 -0
- package/build/esm/togetherApiUtils.js +6 -6
- package/build/esm/togetherAtoms.js +31 -31
- package/build/esm/togetherComponentGlobalContext.js +6 -6
- package/build/esm/togetherMolecules.js +53 -52
- package/build/esm/togetherMoleculesCardAuthor.js +29 -29
- package/build/esm/togetherMoleculesPostImagePreview.js +13 -13
- package/build/esm/togetherMoleculesProfileDetail.js +41 -40
- package/build/esm/togetherOrganisms.js +52 -51
- package/build/esm/togetherRichTextEditor.js +20 -20
- package/build/esm/togetherShareBox.js +12 -12
- package/build/esm/{transform-0eb7203a.js → transform-e3599601.js} +667 -32
- package/build/esm/{translationsProvider-f9118eb7.js → translationsProvider-27a4cfb9.js} +1 -1
- package/build/esm/{treePopoverMenu-cca053c7.js → treePopoverMenu-c5de0a77.js} +19 -19
- package/build/esm/types.js +2 -2
- package/build/esm/{useCartCareService-0d93f1a2.js → useCartCareService-a7395073.js} +1 -1
- package/build/esm/{useHealthToolCache-34a8ea40.js → useHealthToolCache-567aba36.js} +1 -1
- package/build/esm/{usePhoneValidator-b0d4c43f.js → usePhoneValidator-753b0d6a.js} +5 -5
- package/build/esm/{usePlacesAutocomplete-f44ebed0.js → usePlacesAutocomplete-48d5a661.js} +1 -1
- package/build/esm/useTogetherAuthRequiredAction.js +11 -10
- package/build/esm/{utils-bb8ef83e.js → utils-18a15f6e.js} +2 -2
- package/build/esm/{utils-82ce3bea.js → utils-1e513a19.js} +4 -4
- package/build/esm/{utils-29a6e3dc.js → utils-a2748de0.js} +5 -5
- package/build/esm/{utils-17cfbfab.js → utils-e1059f7f.js} +2 -2
- package/build/esm/{utils-e6a554db.js → utils-e929db0f.js} +4 -4
- package/build/esm/vaccination.js +22 -22
- package/build/footer.js +22 -22
- package/build/gAssets.js +2 -2
- package/build/{healthTools-d10cb2b9.js → healthTools-36cc7dd9.js} +1 -1
- package/build/healthToolsCardWrapper.js +20 -20
- package/build/healthToolsForm.js +36 -36
- package/build/hooks.js +14 -14
- package/build/i18n/translationKeys.d.ts +1 -1
- package/build/i18n-values/en-PH.js +12 -0
- package/build/i18n-values/hi-IN.js +12 -0
- package/build/i18n-values/id-ID.js +12 -0
- package/build/i18n-values/km-KH.js +12 -0
- package/build/i18n-values/ms-MY.js +12 -0
- package/build/i18n-values/my-MM.js +12 -0
- package/build/i18n-values/th-TH.js +12 -0
- package/build/i18n-values/tl-PH.js +12 -0
- package/build/i18n-values/vi-VN.js +12 -0
- package/build/i18n-values/vi-VN_MB.js +12 -0
- package/build/i18n-values/zh-SG.js +12 -0
- package/build/i18n-values/zh-TW.js +12 -0
- package/build/i18n.js +2 -2
- package/build/i18nV2.js +1 -1
- package/build/{index-afa3dc6b.js → index-04affef4.js} +2 -2
- package/build/{index-f854ed7a.js → index-04d4c670.js} +26 -25
- package/build/{index-44806890.js → index-09f44f08.js} +16 -16
- package/build/{index-e629093f.js → index-0be2492c.js} +1 -1
- package/build/{index-85411e49.js → index-0c81750f.js} +13 -13
- package/build/{index-f32c6987.js → index-0eff5a6f.js} +7 -7
- package/build/{index-6984b858.js → index-168f7df4.js} +6 -6
- package/build/{index-6c3c397c.js → index-17e5e057.js} +1 -1
- package/build/{index-f62272d2.js → index-1bcb5aec.js} +3 -3
- package/build/{index-c1df2b6b.js → index-1ea0bae2.js} +16 -16
- package/build/{index-4a64c7b3.js → index-25287a1c.js} +9 -9
- package/build/{index-4598f96f.js → index-26fc24d2.js} +34 -34
- package/build/{index-9426f1c1.js → index-2f5534a8.js} +14 -14
- package/build/{index-1f23a7d3.js → index-320d3bb6.js} +29 -5
- package/build/{index-065924ed.js → index-335a0782.js} +2 -2
- package/build/{index-2fbeef9c.js → index-34cde802.js} +8 -8
- package/build/{index-4c42cad6.js → index-3694431f.js} +2 -2
- package/build/{index-c3808ec2.js → index-38e6c96b.js} +2 -2
- package/build/{index-d611cedd.js → index-39bc295b.js} +14 -14
- package/build/{index-d9b4c880.js → index-4332dead.js} +32 -32
- package/build/{index-6495b599.js → index-46dc4cbd.js} +4 -4
- package/build/{index-5b366f07.js → index-48737b83.js} +1 -1
- package/build/{index-42d32482.js → index-4b7f4c43.js} +25 -25
- package/build/{index-6ecd062d.js → index-4ea7a7ec.js} +21 -21
- package/build/{index-83e3614e.js → index-4f564b94.js} +2 -1
- package/build/{index-e7b06dcf.js → index-54d30f34.js} +5 -5
- package/build/{index-ef81931a.js → index-59a0edf4.js} +16 -16
- package/build/{index-0cdb86a8.js → index-5a5426d4.js} +2 -2
- package/build/{index-0a45b1d0.js → index-5a5918e5.js} +2 -2
- package/build/{index-4a95b05a.js → index-61107ee3.js} +2 -2
- package/build/{index-27e5d692.js → index-676127d3.js} +3 -3
- package/build/index-69cd1541.js +127 -0
- package/build/{index-1ecbe263.js → index-69f99658.js} +3 -3
- package/build/{index-9c82989e.js → index-6a35d7d9.js} +13 -13
- package/build/{index-2fe3ceeb.js → index-6d717860.js} +15 -15
- package/build/{index-e44909ab.js → index-76c0f6e2.js} +7 -7
- package/build/{index-e403675e.js → index-7a46a13f.js} +16 -16
- package/build/{index-ff3b41f4.js → index-7fa1eee6.js} +3 -3
- package/build/{index-e13f79db.js → index-84ee150f.js} +3 -3
- package/build/{index-fbff8bae.js → index-85016476.js} +15 -15
- package/build/{index-cb5894a3.js → index-85f8c16f.js} +3 -3
- package/build/{index-2c7c637b.js → index-879b7605.js} +32 -32
- package/build/{index-a58bb756.js → index-89fb7f7b.js} +3 -3
- package/build/{index-9fbde625.js → index-8a2423b1.js} +3 -3
- package/build/{index-3b227ca6.js → index-8f0ff936.js} +2 -2
- package/build/{index-e98d920e.js → index-9271408c.js} +10 -10
- package/build/{index-2d4c8ad4.js → index-954df995.js} +2 -2
- package/build/{index-1cd33c7a.js → index-9629973f.js} +18 -18
- package/build/{index-c28a4099.js → index-972c2b95.js} +6 -6
- package/build/{index-6907df53.js → index-9f194061.js} +2 -2
- package/build/{index-75a0f3a2.js → index-a70cc5ce.js} +32 -9
- package/build/{index-01436280.js → index-a7a66423.js} +2 -2
- package/build/{index-9e57d5ce.js → index-aaa2ca75.js} +12 -12
- package/build/{index-710ccdb6.js → index-ac291db1.js} +14 -14
- package/build/{index-09fade11.js → index-ad7a568a.js} +1 -1
- package/build/{index-83ef722f.js → index-b4e2545c.js} +6 -6
- package/build/{index-a9ed52dc.js → index-b4ef7e6f.js} +3 -3
- package/build/{index-c3b20299.js → index-b6569a5b.js} +2 -2
- package/build/{index-d8e68056.js → index-bf8c6212.js} +17 -17
- package/build/{index-2c26fd5f.js → index-c05c444f.js} +1 -1
- package/build/{index-7bea8be0.js → index-c6e76d62.js} +1 -1
- package/build/{index-f5173b2f.js → index-c8ec2039.js} +16 -16
- package/build/{index-4110a485.js → index-d07cdaad.js} +22 -22
- package/build/{index-338c0144.js → index-d1fde65f.js} +3 -3
- package/build/{index-f6aaac2a.js → index-d3b82c86.js} +2 -2
- package/build/{index-582b6b2b.js → index-d4a0af50.js} +68 -67
- package/build/{index-cbfbd43e.js → index-d52b947d.js} +11 -11
- package/build/{index-178383f6.js → index-e1842c0d.js} +18 -18
- package/build/{index-4319f797.js → index-e28b9963.js} +2 -111
- package/build/{index-e662cbe0.js → index-e6752d3c.js} +2 -2
- package/build/{index-1e4f90c4.js → index-efc8b1ae.js} +6 -6
- package/build/{index-2085a085.js → index-f8f9ccc2.js} +2 -2
- package/build/index.js +219 -216
- package/build/{labelSorting-4b2787a1.js → labelSorting-dc247081.js} +4 -4
- package/build/lead.js +38 -39
- package/build/{logoIcon-ddbd1a9f.js → logoIcon-740dc179.js} +2 -2
- package/build/mantine.js +25 -25
- package/build/misc.js +19 -19
- package/build/miscGetDynamicHealthTool.js +4 -4
- 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 +91 -85
- package/build/moleculesArticleCard.js +6 -6
- package/build/moleculesArticleCardV2.js +17 -17
- package/build/navigation.js +51 -50
- package/build/navigationLogoutPopup.js +11 -11
- package/build/navigationProfileButton.js +27 -27
- package/build/onboardingV2.js +29 -29
- package/build/organisms.js +65 -65
- package/build/{post-56987069.js → post-ce4760f3.js} +2 -2
- package/build/profileNavigation.js +20 -20
- package/build/progressBar.js +1 -1
- package/build/pwg.js +23 -23
- package/build/ssoV2/api/index.d.ts +2 -0
- package/build/ssoV2/api/paths.d.ts +1 -0
- package/build/ssoV2/api/whatsapp.d.ts +5 -1
- package/build/ssoV2/screens/components/progressBar.utils.d.ts +1 -0
- package/build/ssoV2/screens/whatsAppOTP.d.ts +13 -0
- package/build/ssoV2/screens/whatsAppPhoneVerify.d.ts +9 -0
- package/build/ssoV2/ssoStateManager/store.d.ts +16 -0
- package/build/ssoV2/stepsManager/index.d.ts +2 -0
- package/build/ssoV2.js +325 -60
- package/build/{store-2ad5a77f.js → store-1ee2b1ab.js} +66 -3
- package/build/subot.js +39 -39
- package/build/surveyOrPremiumBanner.js +35 -34
- package/build/surveyQuestionCard.js +11 -11
- package/build/{surveyThankyouCard-855b87ad.js → surveyThankyouCard-74dfd92c.js} +5 -5
- package/build/together/api/paths.d.ts +1 -0
- package/build/together.js +58 -57
- package/build/togetherApiPaths.js +1 -0
- package/build/togetherApiUtils.js +6 -6
- package/build/togetherAtoms.js +31 -31
- package/build/togetherComponentGlobalContext.js +6 -6
- package/build/togetherMolecules.js +53 -52
- package/build/togetherMoleculesCardAuthor.js +29 -29
- package/build/togetherMoleculesPostImagePreview.js +13 -13
- package/build/togetherMoleculesProfileDetail.js +41 -40
- package/build/togetherOrganisms.js +52 -51
- package/build/togetherRichTextEditor.js +20 -20
- package/build/togetherShareBox.js +12 -12
- package/build/{transform-c7e91b90.js → transform-76a2f453.js} +673 -34
- package/build/{translationsProvider-0febe0f5.js → translationsProvider-6fc3ac5f.js} +1 -1
- package/build/{treePopoverMenu-242a293c.js → treePopoverMenu-d9a8ece0.js} +19 -19
- package/build/types.js +2 -2
- package/build/{useCartCareService-f252d3af.js → useCartCareService-b349c242.js} +1 -1
- package/build/{useHealthToolCache-bd9bc44d.js → useHealthToolCache-696a89c0.js} +1 -1
- package/build/{usePhoneValidator-4756d790.js → usePhoneValidator-4631f6c2.js} +5 -5
- package/build/{usePlacesAutocomplete-8795d0b4.js → usePlacesAutocomplete-3ceaa68d.js} +1 -1
- package/build/useTogetherAuthRequiredAction.js +11 -10
- package/build/{utils-6eab4fd9.js → utils-1caf8748.js} +4 -4
- package/build/{utils-f2ce9983.js → utils-26b25522.js} +2 -2
- package/build/{utils-21b9c7f7.js → utils-859022da.js} +5 -5
- package/build/{utils-451cd6ba.js → utils-cc6c5d8e.js} +2 -2
- package/build/{utils-9dea4291.js → utils-d1b6f85e.js} +3 -3
- package/build/vaccination.js +22 -22
- package/package.json +1 -1
- package/build/Close-f4d517c5.js +0 -29
- package/build/esm/Close-8cf9c873.js +0 -7
- /package/build/{BMI_BOYS.percentile.monthly-69bf876b.js → BMI_BOYS.percentile.monthly-d37f3e10.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-3ac49c7a.js → BMI_BOYS.percentile.weekly-b8a676bd.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-5ea9d097.js → BMI_BOYS.percentile.yearly-ec8106d1.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-359d39d8.js → BMI_BOYS.zscore.monthly-c9eca637.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-13df0249.js → BMI_BOYS.zscore.weekly-b1d7a6b6.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-8d948c8b.js → BMI_BOYS.zscore.yearly-c34a34f9.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-11fdd1ef.js → BMI_GIRLS.percentile.monthly-02d6a90d.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-4970055a.js → BMI_GIRLS.percentile.weekly-8f01c0dd.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-d782096c.js → BMI_GIRLS.percentile.yearly-6fb477f7.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-dc321533.js → BMI_GIRLS.zscore.monthly-53b80b7e.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-8182a6eb.js → BMI_GIRLS.zscore.weekly-10e18c70.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-e96e3439.js → BMI_GIRLS.zscore.yearly-9b22c3e6.js} +0 -0
- /package/build/{ChevronDown-545b8473.js → ChevronDown-76fb4c60.js} +0 -0
- /package/build/{Google-cca7c01f.js → Google-4279f6ec.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-6a1cb6e2.js → HEAD CIRCUM_BOYS.percentile.monthly-25250a8c.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-b73b9610.js → HEAD CIRCUM_BOYS.percentile.weekly-7f6a6b37.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-485737cd.js → HEAD CIRCUM_BOYS.percentile.yearly-70803015.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-078d56a4.js → HEAD CIRCUM_BOYS.zscore.monthly-34147fb9.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-2d849cd1.js → HEAD CIRCUM_BOYS.zscore.weekly-de5882df.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-372caa38.js → HEAD CIRCUM_BOYS.zscore.yearly-64ced005.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-d67d579d.js → HEAD CIRCUM_GIRLS.percentile.monthly-6a60b569.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-a6d1f646.js → HEAD CIRCUM_GIRLS.percentile.weekly-ade37899.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-a8995799.js → HEAD CIRCUM_GIRLS.percentile.yearly-a64cdc84.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-302bcd43.js → HEAD CIRCUM_GIRLS.zscore.monthly-34c87123.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-fa34692c.js → HEAD CIRCUM_GIRLS.zscore.weekly-5e7dbe2d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-0c18703f.js → HEAD CIRCUM_GIRLS.zscore.yearly-fb3907ca.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-1a361a9f.js → HEIGHT_BOYS.percentile.monthly-97649d71.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-cbe7a93c.js → HEIGHT_BOYS.percentile.weekly-6d109ed1.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-3fd15d6c.js → HEIGHT_BOYS.percentile.yearly-291d6232.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-0b965ba9.js → HEIGHT_BOYS.zscore.monthly-fca1bd50.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-6ba35639.js → HEIGHT_BOYS.zscore.weekly-0d87e2dc.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-cff176a5.js → HEIGHT_BOYS.zscore.yearly-7f6e6c5d.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-c0abdd1f.js → HEIGHT_GIRLS.percentile.monthly-d786d04e.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-f4f67b1d.js → HEIGHT_GIRLS.percentile.weekly-3f6638a6.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-6e815f67.js → HEIGHT_GIRLS.percentile.yearly-57c504a7.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-a8cc5ad6.js → HEIGHT_GIRLS.zscore.monthly-f5ce2f55.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-d2cb4797.js → HEIGHT_GIRLS.zscore.weekly-ecaca520.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-24bf6854.js → HEIGHT_GIRLS.zscore.yearly-f6d616d2.js} +0 -0
- /package/build/{Locale-47d85db4.js → Locale-e9952fa3.js} +0 -0
- /package/build/{Visible-f39875d1.js → Visible-76a50e29.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-c0f06a01.js → WEIGHT_BOYS.percentile.monthly-2051ae1d.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-4fbc6e53.js → WEIGHT_BOYS.percentile.weekly-eaf11a68.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-339d1303.js → WEIGHT_BOYS.percentile.yearly-551ccc72.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-ac267c91.js → WEIGHT_BOYS.zscore.monthly-52da218e.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-9e4300f8.js → WEIGHT_BOYS.zscore.weekly-5e354f4e.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-8a04ef52.js → WEIGHT_BOYS.zscore.yearly-6700bfbe.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-9ebc5d87.js → WEIGHT_GIRLS.percentile.monthly-fa43a784.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-f9a7395c.js → WEIGHT_GIRLS.percentile.weekly-c38d3ace.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-2330e611.js → WEIGHT_GIRLS.percentile.yearly-67a13a53.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-40396578.js → WEIGHT_GIRLS.zscore.monthly-794a5a50.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-067c38c2.js → WEIGHT_GIRLS.zscore.weekly-bf437943.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-0676d453.js → WEIGHT_GIRLS.zscore.yearly-6bbacef5.js} +0 -0
- /package/build/{ageGenerate-9fcfcda1.js → ageGenerate-0cf30664.js} +0 -0
- /package/build/{animation-3c2812c0.js → animation-67aaee72.js} +0 -0
- /package/build/{constants-1aec8bc7.js → constants-446ae81f.js} +0 -0
- /package/build/{constants-11dc2a07.js → constants-950dd742.js} +0 -0
- /package/build/{constants-02ea44fa.js → constants-a4483cae.js} +0 -0
- /package/build/{context-61312655.js → context-01bc148e.js} +0 -0
- /package/build/{dataTransform-6bf989b6.js → dataTransform-7e6aa877.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-b995bfb3.js → BMI_BOYS.percentile.monthly-2f7d0b32.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-342909c8.js → BMI_BOYS.percentile.weekly-22cdf75c.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-8a955b98.js → BMI_BOYS.percentile.yearly-9588dbbf.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-76071a45.js → BMI_BOYS.zscore.monthly-b7a82e6c.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-053c635a.js → BMI_BOYS.zscore.weekly-4605c9b1.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-281ce475.js → BMI_BOYS.zscore.yearly-bc056510.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-cf67cf57.js → BMI_GIRLS.percentile.monthly-8a38bf61.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-ce116da0.js → BMI_GIRLS.percentile.weekly-dbda7481.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-ad101dee.js → BMI_GIRLS.percentile.yearly-9460486f.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-4549842a.js → BMI_GIRLS.zscore.monthly-a4e4c7ef.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-b096009b.js → BMI_GIRLS.zscore.weekly-0549636b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-0ff601dc.js → BMI_GIRLS.zscore.yearly-bc11468c.js} +0 -0
- /package/build/esm/{ChevronDown-ac5e1dc6.js → ChevronDown-23f1b2be.js} +0 -0
- /package/build/esm/{Google-5c126384.js → Google-94bdc850.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-8ef04afe.js → HEAD CIRCUM_BOYS.percentile.monthly-8f12c99d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-7dd16690.js → HEAD CIRCUM_BOYS.percentile.weekly-970698b2.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-56191657.js → HEAD CIRCUM_BOYS.percentile.yearly-82f59942.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-9dd5bfff.js → HEAD CIRCUM_BOYS.zscore.monthly-2af5dde7.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-901e3d1d.js → HEAD CIRCUM_BOYS.zscore.weekly-4609fb3d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-3046ee08.js → HEAD CIRCUM_BOYS.zscore.yearly-4db4d5fa.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-0a08de45.js → HEAD CIRCUM_GIRLS.percentile.monthly-c7c0f8e4.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-ff04624d.js → HEAD CIRCUM_GIRLS.percentile.weekly-f3054a52.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-cf7b5944.js → HEAD CIRCUM_GIRLS.percentile.yearly-37f7d068.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-50183176.js → HEAD CIRCUM_GIRLS.zscore.monthly-6760fdd9.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-549a6076.js → HEAD CIRCUM_GIRLS.zscore.weekly-a361df7b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-e2234a35.js → HEAD CIRCUM_GIRLS.zscore.yearly-579668a3.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-ccfb9446.js → HEIGHT_BOYS.percentile.monthly-f954029a.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-f02c25e6.js → HEIGHT_BOYS.percentile.weekly-5efc930b.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-83ef8057.js → HEIGHT_BOYS.percentile.yearly-ac2446bb.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-9f12e4f3.js → HEIGHT_BOYS.zscore.monthly-1dd76059.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-48f902b3.js → HEIGHT_BOYS.zscore.weekly-8f83a3fc.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-16a5b04b.js → HEIGHT_BOYS.zscore.yearly-71ba715d.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-ee185769.js → HEIGHT_GIRLS.percentile.monthly-43feffaa.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-e49b05c9.js → HEIGHT_GIRLS.percentile.weekly-15fc47f6.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-5cee409a.js → HEIGHT_GIRLS.percentile.yearly-0c0ca07e.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-9d455a92.js → HEIGHT_GIRLS.zscore.monthly-95406de1.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-76b4910f.js → HEIGHT_GIRLS.zscore.weekly-929d6758.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-f27d1290.js → HEIGHT_GIRLS.zscore.yearly-f128ae23.js} +0 -0
- /package/build/esm/{Locale-bde3683e.js → Locale-9da7d42f.js} +0 -0
- /package/build/esm/{Visible-e180df92.js → Visible-9831574e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-3a5f8b8b.js → WEIGHT_BOYS.percentile.monthly-2c90aa4b.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-acf17709.js → WEIGHT_BOYS.percentile.weekly-5fadf2e6.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-da65ed7f.js → WEIGHT_BOYS.percentile.yearly-61761068.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-06dd42b4.js → WEIGHT_BOYS.zscore.monthly-bbd444e3.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-a96caedd.js → WEIGHT_BOYS.zscore.weekly-94ee529e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-daabf2cd.js → WEIGHT_BOYS.zscore.yearly-68a653bc.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-549ffee0.js → WEIGHT_GIRLS.percentile.monthly-752bc2c8.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-f6082b18.js → WEIGHT_GIRLS.percentile.weekly-792e79d9.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-cb451f40.js → WEIGHT_GIRLS.percentile.yearly-3141debd.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-cc11ec88.js → WEIGHT_GIRLS.zscore.monthly-861aee3d.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-df39dd41.js → WEIGHT_GIRLS.zscore.weekly-203fcb54.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-ad5c6098.js → WEIGHT_GIRLS.zscore.yearly-d6597e25.js} +0 -0
- /package/build/esm/{ageGenerate-05be0918.js → ageGenerate-473a5e33.js} +0 -0
- /package/build/esm/{animation-2d2f6e93.js → animation-96892764.js} +0 -0
- /package/build/esm/{constants-edf29533.js → constants-c907bdd9.js} +0 -0
- /package/build/esm/{constants-53aa519c.js → constants-d345eb5c.js} +0 -0
- /package/build/esm/{constants-0f0c4f14.js → constants-ec1742e9.js} +0 -0
- /package/build/esm/{context-18f22e3e.js → context-a021e22a.js} +0 -0
- /package/build/esm/{dataTransform-657dffc8.js → dataTransform-438eb312.js} +0 -0
- /package/build/esm/{index-0e289cc5.js → index-055a7647.js} +0 -0
- /package/build/esm/{index-2a8fb87d.js → index-2ae856e1.js} +0 -0
- /package/build/esm/{index-73bc6f9a.js → index-386833db.js} +0 -0
- /package/build/esm/{index-e5bf4cd6.js → index-49187074.js} +0 -0
- /package/build/esm/{index-881bfc89.js → index-9a738fe7.js} +0 -0
- /package/build/esm/{index-b4757bbf.js → index-aeea68fd.js} +0 -0
- /package/build/esm/{index-dbc8c87d.js → index-cfb6bb24.js} +0 -0
- /package/build/esm/{index-4fca4ac5.js → index-d860ed77.js} +0 -0
- /package/build/esm/{index-cab45190.js → index-d9bbcb8c.js} +0 -0
- /package/build/esm/{index.styles-5b593573.js → index.styles-e7a5cac8.js} +0 -0
- /package/build/esm/{localizeNumberFormat-6d8bf345.js → localizeNumberFormat-e9ea3d92.js} +0 -0
- /package/build/esm/{normalizeLink-ca423f45.js → normalizeLink-17cf924f.js} +0 -0
- /package/build/esm/{number-8de99c9d.js → number-ea8ed400.js} +0 -0
- /package/build/esm/{paths-e041802a.js → paths-f8a4e71c.js} +0 -0
- /package/build/esm/{shared-8bf3d323.js → shared-79188512.js} +0 -0
- /package/build/esm/{translationsContext-17fbb119.js → translationsContext-498d83bb.js} +0 -0
- /package/build/esm/{tslib.es6-fe9009b6.js → tslib.es6-49579c8e.js} +0 -0
- /package/build/esm/{types-34b9d775.js → types-94dbadfa.js} +0 -0
- /package/build/esm/{types-7ab9f26b.js → types-dad8a654.js} +0 -0
- /package/build/esm/{useOutsideClick-b8be9ada.js → useOutsideClick-a8f577a1.js} +0 -0
- /package/build/esm/{useScrollbarSize-9c2d2a59.js → useScrollbarSize-7c8e2b0d.js} +0 -0
- /package/build/esm/{useUniqueId-43fd3cbc.js → useUniqueId-d9fbd2cd.js} +0 -0
- /package/build/esm/{utils-47932302.js → utils-0a729022.js} +0 -0
- /package/build/esm/{utils-5695d65c.js → utils-37c32e5f.js} +0 -0
- /package/build/{index-ab4df761.js → index-012b3be7.js} +0 -0
- /package/build/{index-e02f058c.js → index-0980e6b7.js} +0 -0
- /package/build/{index-68defcd2.js → index-13080d9f.js} +0 -0
- /package/build/{index-61e646b3.js → index-427da1a9.js} +0 -0
- /package/build/{index-d52a168f.js → index-73041da3.js} +0 -0
- /package/build/{index-1bdcb35d.js → index-98abae20.js} +0 -0
- /package/build/{index-c082533c.js → index-a9098118.js} +0 -0
- /package/build/{index-906eb2f0.js → index-bba10dc0.js} +0 -0
- /package/build/{index-697a6dd5.js → index-c6bf4230.js} +0 -0
- /package/build/{index.styles-3032593e.js → index.styles-4a5164c0.js} +0 -0
- /package/build/{localizeNumberFormat-a521a72e.js → localizeNumberFormat-7e3e7cd3.js} +0 -0
- /package/build/{normalizeLink-e08fe260.js → normalizeLink-289b74db.js} +0 -0
- /package/build/{number-e3c2e1b7.js → number-0e5c0fcd.js} +0 -0
- /package/build/{paths-ba7c88c4.js → paths-23276737.js} +0 -0
- /package/build/{shared-141f69d5.js → shared-f552d561.js} +0 -0
- /package/build/{translationsContext-35de9e89.js → translationsContext-48cdfafd.js} +0 -0
- /package/build/{tslib.es6-7283d678.js → tslib.es6-c527a00f.js} +0 -0
- /package/build/{types-8f5be5d3.js → types-56326624.js} +0 -0
- /package/build/{types-e6f0f177.js → types-673e2f95.js} +0 -0
- /package/build/{useOutsideClick-663f3a21.js → useOutsideClick-21107609.js} +0 -0
- /package/build/{useScrollbarSize-3c8fc3b9.js → useScrollbarSize-1a9ad118.js} +0 -0
- /package/build/{useUniqueId-54ff2d44.js → useUniqueId-09283742.js} +0 -0
- /package/build/{utils-9be5732f.js → utils-20dbae0b.js} +0 -0
- /package/build/{utils-ea9873c8.js → utils-ab7957c1.js} +0 -0
package/build/esm/pwg.js
CHANGED
|
@@ -1,46 +1,46 @@
|
|
|
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-45b39f54.js';
|
|
3
|
+
import { T as Text } from './index-b93c507d.js';
|
|
4
|
+
import { P as PillCarousel } from './index-3712855a.js';
|
|
5
|
+
import { u as useTranslations } from './index-4ab448d4.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-386833db.js';
|
|
9
|
+
import { a as useOutsideClick } from './useOutsideClick-a8f577a1.js';
|
|
10
10
|
import styled from '@emotion/styled';
|
|
11
|
-
import { _ as __rest } from './tslib.es6-
|
|
11
|
+
import { _ as __rest } from './tslib.es6-49579c8e.js';
|
|
12
12
|
import '@mantine/core';
|
|
13
|
-
import './index-
|
|
14
|
-
import './index-
|
|
15
|
-
import './Locale-
|
|
16
|
-
import './index-
|
|
13
|
+
import './index-055a7647.js';
|
|
14
|
+
import './index-3140e763.js';
|
|
15
|
+
import './Locale-9da7d42f.js';
|
|
16
|
+
import './index-d860ed77.js';
|
|
17
17
|
import './constantsDomainLocales.js';
|
|
18
18
|
import './constantsIsProduction.js';
|
|
19
|
-
import './index-
|
|
20
|
-
import './utils-
|
|
21
|
-
import './index-
|
|
22
|
-
import './index-
|
|
19
|
+
import './index-f5bacace.js';
|
|
20
|
+
import './utils-37c32e5f.js';
|
|
21
|
+
import './index-09d2cb67.js';
|
|
22
|
+
import './index-c5633877.js';
|
|
23
23
|
import '@hhgtech/icons/other';
|
|
24
24
|
import '@mantine/hooks';
|
|
25
25
|
import '@mantine/carousel';
|
|
26
|
-
import './index-
|
|
26
|
+
import './index-da18ffd2.js';
|
|
27
27
|
import 'dayjs';
|
|
28
28
|
import '@mantine/notifications';
|
|
29
|
-
import './index-
|
|
29
|
+
import './index-d0d54d04.js';
|
|
30
30
|
import 'date-fns/locale';
|
|
31
31
|
import './constantsSite.js';
|
|
32
32
|
import './constantsRiskScreener.js';
|
|
33
|
-
import './shared-
|
|
33
|
+
import './shared-79188512.js';
|
|
34
34
|
import 'classnames';
|
|
35
35
|
import 'uuid';
|
|
36
|
-
import './useUniqueId-
|
|
36
|
+
import './useUniqueId-d9fbd2cd.js';
|
|
37
37
|
import '@emotion/react';
|
|
38
38
|
import '@hhgtech/icons/core';
|
|
39
|
-
import './index-
|
|
39
|
+
import './index-8155cc1c.js';
|
|
40
40
|
import '@mantine/dates';
|
|
41
|
-
import './index.styles-
|
|
42
|
-
import './translationsContext-
|
|
43
|
-
import './index-
|
|
41
|
+
import './index.styles-e7a5cac8.js';
|
|
42
|
+
import './translationsContext-498d83bb.js';
|
|
43
|
+
import './index-22970d29.js';
|
|
44
44
|
|
|
45
45
|
const CustomizedAxisTick = (props) => {
|
|
46
46
|
const { x, y, payload, activeWeek } = props;
|
|
@@ -12,6 +12,8 @@ export type ReturnType<T = any> = {
|
|
|
12
12
|
code?: string;
|
|
13
13
|
};
|
|
14
14
|
export declare const fetchSSOV2Api: <T>(path: string, options?: RequestInit, noAuth?: boolean) => Promise<ReturnType<T>>;
|
|
15
|
+
/** JSON body (e.g. WhatsApp login-otp / verify-code); omits FormData-only ga/referrer append. */
|
|
16
|
+
export declare const fetchSSOV2ApiJson: <T>(path: string, body: Record<string, unknown>, noAuth?: boolean) => Promise<ReturnType<T>>;
|
|
15
17
|
export declare const fetchSSOApi: <T>(path: string, options?: RequestInit, noAuth?: boolean) => Promise<ReturnType<T>>;
|
|
16
18
|
export declare const resetPassword: (password: string, confirmPassword: string) => Promise<ReturnType<LoggedInResponseType>>;
|
|
17
19
|
export declare const checkUserExist: ({ email, phone, }: {
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { LoggedInResponseType } from "./";
|
|
2
|
+
/** Guest: send or resend OTP (same endpoint). Optional referrer e.g. payment page URL. */
|
|
3
|
+
export declare const sendLoginOtpWhatsapp: (phoneNumber: string, areaCode: string, referrer?: string) => Promise<import("./").ReturnType<LoggedInResponseType>>;
|
|
4
|
+
/** Guest: verify OTP after WhatsApp login send; `login_type` required by API. */
|
|
5
|
+
export declare const verifyWhatsappOtpGuest: (phoneNumber: string, areaCode: string, otpCode: string) => Promise<import("./").ReturnType<LoggedInResponseType>>;
|
|
2
6
|
export declare const registerBySendWhatsAppOTP: (phone: string, areaCode: string) => Promise<import("./").ReturnType<unknown>>;
|
|
3
7
|
export declare const resendWhatsAppOTP: (phone: string, areaCode: string) => Promise<import("./").ReturnType<unknown>>;
|
|
4
8
|
export declare const resendUpdatePhoneWhatsAppOTP: (phone: string, areaCode: string) => Promise<import("./").ReturnType<unknown>>;
|
|
5
|
-
export declare const verifyUpdatePhoneWhatsAppOTP: (phone: string, areaCode: string, otpCode: string) => Promise<import("./").ReturnType<
|
|
9
|
+
export declare const verifyUpdatePhoneWhatsAppOTP: (phone: string, areaCode: string, otpCode: string) => Promise<import("./").ReturnType<LoggedInResponseType>>;
|
|
6
10
|
export declare const verifyByWhatsAppOTP: (phone: string, areaCode: string, otpCode: string) => Promise<import("./").ReturnType<LoggedInResponseType>>;
|
|
@@ -7,3 +7,4 @@ export declare const isExistUpdateEmailStep: (steps: SSOStepsContextType['steps'
|
|
|
7
7
|
export declare const isVerifyPhoneInTheSignUp: (steps: SSOStepsContextType['steps'], flowData: SSOV2StoreType['flowData']) => boolean;
|
|
8
8
|
export declare const isVerifyPhoneInTheLogin: (steps: SSOStepsContextType['steps'], flowData: SSOV2StoreType['flowData']) => boolean;
|
|
9
9
|
export declare const parseEmailFromToken: (token: string) => any;
|
|
10
|
+
export declare const parsePhoneFromToken: (token: string) => string;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/** Matches data set in steps; optional fields because step.config is loosely typed. */
|
|
3
|
+
export type WhatsAppOTPStepConfig = {
|
|
4
|
+
phone?: string;
|
|
5
|
+
referrer?: string;
|
|
6
|
+
/** Logged-in WhatsApp verification: Bearer `sms-social/whatsapp` send + verify APIs. */
|
|
7
|
+
useAuthenticatedWhatsAppApis?: boolean;
|
|
8
|
+
};
|
|
9
|
+
export declare const SSOWhatsAppOTPScreen: ({ hidden, config, }: {
|
|
10
|
+
hidden?: boolean;
|
|
11
|
+
index?: number;
|
|
12
|
+
config?: WhatsAppOTPStepConfig;
|
|
13
|
+
}) => React.JSX.Element;
|
|
@@ -20,6 +20,22 @@ export type SSOV2StoreType = {
|
|
|
20
20
|
legalTextType?: 'community' | 'default';
|
|
21
21
|
forceReloadOnClose?: boolean;
|
|
22
22
|
}) => void;
|
|
23
|
+
/** WhatsApp-only flow; always opens (no bearer-token short-circuit). */
|
|
24
|
+
triggerWhatsappLogin: (params?: {
|
|
25
|
+
source?: string;
|
|
26
|
+
returnUrl?: string;
|
|
27
|
+
/** Prefer payment or product URL for `referrer` on send-OTP API. */
|
|
28
|
+
referrer?: string;
|
|
29
|
+
forceReloadOnClose?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Logged-in user still needs WhatsApp verification (`whatsapp_verify` from profile).
|
|
32
|
+
* With `phone_number` + `area_code`: skip to OTP; Bearer `sent-otp` + `whatsapp-verify-code`.
|
|
33
|
+
* With `isAlreadyLogin` only (no phone/area): start at phone step; send uses Bearer `sms-social/whatsapp/sent-otp`.
|
|
34
|
+
*/
|
|
35
|
+
isAlreadyLogin?: boolean;
|
|
36
|
+
phone_number?: string;
|
|
37
|
+
area_code?: string;
|
|
38
|
+
}) => void;
|
|
23
39
|
triggerCareEmailPhoneVerify: (params?: {
|
|
24
40
|
source?: string;
|
|
25
41
|
returnUrl?: string;
|
package/build/esm/ssoV2.js
CHANGED
|
@@ -1,64 +1,64 @@
|
|
|
1
|
-
import { a as __awaiter, _ as __rest } from './tslib.es6-
|
|
1
|
+
import { a as __awaiter, _ as __rest } from './tslib.es6-49579c8e.js';
|
|
2
2
|
import React__default, { createContext, useMemo, useEffect, useRef, useImperativeHandle, useState, useCallback, forwardRef } from 'react';
|
|
3
3
|
import { getCookie, setCookie, deleteCookie } from './miscCookieHelper.js';
|
|
4
|
-
import { I as Input, h as ErrorBoundary, s as styles, O as OTP, i as PasswordInput } from './index-
|
|
5
|
-
import { f as fetchSSOV2Api, w as websiteId, S as SSO_V2_PATHS, c as checkUserExist, F as FacebookAppId, G as GoogleAuthClientId, h as handleAuthSuccess, g as getUserInfo, u as updateUserInfo, r as resetPassword } from './index-
|
|
4
|
+
import { I as Input, h as ErrorBoundary, s as styles, O as OTP, i as PasswordInput } from './index-c5633877.js';
|
|
5
|
+
import { f as fetchSSOV2Api, w as websiteId, S as SSO_V2_PATHS, c as checkUserExist, a as fetchSSOV2ApiJson, F as FacebookAppId, G as GoogleAuthClientId, h as handleAuthSuccess, g as getUserInfo, u as updateUserInfo, r as resetPassword } from './index-cbb07c08.js';
|
|
6
6
|
import { isProduction } from './constantsIsProduction.js';
|
|
7
7
|
import { ChevronLeft } from '@hhgtech/icons/arrow';
|
|
8
8
|
import { Close, Search, ReplySquare } from '@hhgtech/icons/core';
|
|
9
|
-
import { Z as ZINDEX_SSO, L as LOCALE_SPECS, S as STATIC_PAGES, Q as QUERY_HEALTH_TOOL } from './index-
|
|
10
|
-
import { L as LogoIcon } from './logoIcon-
|
|
11
|
-
import { B as Button } from './index-
|
|
12
|
-
import { M as Modal } from './index-
|
|
9
|
+
import { Z as ZINDEX_SSO, L as LOCALE_SPECS, S as STATIC_PAGES, Q as QUERY_HEALTH_TOOL } from './index-d0d54d04.js';
|
|
10
|
+
import { L as LogoIcon } from './logoIcon-0b554ed9.js';
|
|
11
|
+
import { B as Button } from './index-8155cc1c.js';
|
|
12
|
+
import { M as Modal } from './index-9884adb4.js';
|
|
13
13
|
import { Stack, Flex, Box, Group, Divider } from '@mantine/core';
|
|
14
14
|
import '@mantine/dates';
|
|
15
|
-
import './index-
|
|
16
|
-
import { C as CommonGAssets } from './index-
|
|
17
|
-
import { s as showNotification } from './index-
|
|
18
|
-
import { T as Text } from './index-
|
|
19
|
-
import './index-
|
|
20
|
-
import { u as useTranslations } from './index-
|
|
15
|
+
import './index-3140e763.js';
|
|
16
|
+
import { C as CommonGAssets } from './index-d860ed77.js';
|
|
17
|
+
import { s as showNotification } from './index-da18ffd2.js';
|
|
18
|
+
import { T as Text } from './index-b93c507d.js';
|
|
19
|
+
import './index-055a7647.js';
|
|
20
|
+
import { u as useTranslations } from './index-4ab448d4.js';
|
|
21
21
|
import '@mantine/hooks';
|
|
22
|
-
import './utils-
|
|
23
|
-
import './index-
|
|
24
|
-
import { L as LOCALE } from './Locale-
|
|
25
|
-
import { S as SSOStepTypeType, a as useSSOSteps, u as useSSOV2Store, i as isUserFinishedSetup, I as IS_SSOV2_ENABLED, b as isPhoneNotVerifedYet, c as isLoginWithPhoneNotVerifedYet, d as isFlowFinishedSetup, r as redirect } from './store-
|
|
26
|
-
export { u as useSSOV2Store } from './store-
|
|
27
|
-
import { I as ImageWrap, u as useScreenSize } from './index-
|
|
22
|
+
import './utils-37c32e5f.js';
|
|
23
|
+
import './index-22970d29.js';
|
|
24
|
+
import { L as LOCALE } from './Locale-9da7d42f.js';
|
|
25
|
+
import { S as SSOStepTypeType, a as useSSOSteps, u as useSSOV2Store, i as isUserFinishedSetup, I as IS_SSOV2_ENABLED, s as splitPhone, b as isPhoneNotVerifedYet, c as isLoginWithPhoneNotVerifedYet, d as isFlowFinishedSetup, r as redirect } from './store-fec8c367.js';
|
|
26
|
+
export { u as useSSOV2Store } from './store-fec8c367.js';
|
|
27
|
+
import { I as ImageWrap, u as useScreenSize } from './index-f5bacace.js';
|
|
28
28
|
import ReCAPTCHA from 'react-google-recaptcha';
|
|
29
|
-
import { G as Google, F as Facebook } from './Google-
|
|
30
|
-
import {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
import { S as Spoiler } from './index-ef45163b.js';
|
|
29
|
+
import { G as Google, F as Facebook } from './Google-94bdc850.js';
|
|
30
|
+
import { i as isFeatureWhatsAppEnabled, a as isFeatureZaloEnabled, b as isFeatureSMSEnabled, c as isSupportProduct } from './utils-a2748de0.js';
|
|
31
|
+
export { g as getURLwithSSOTracking } from './utils-a2748de0.js';
|
|
32
|
+
import { S as Spoiler } from './index-5ee09ce8.js';
|
|
34
33
|
import { domainLocales, MAP_DOMAIN_BY_LOCALE } from './constantsDomainLocales.js';
|
|
35
34
|
import styled from '@emotion/styled';
|
|
36
35
|
import classNames from 'classnames';
|
|
37
36
|
import { CaretDown } from '@hhgtech/icons/other';
|
|
38
37
|
import debounce from 'lodash/debounce';
|
|
39
38
|
import throttle from 'lodash/throttle';
|
|
39
|
+
import { getCountryCallingCode } from 'react-phone-number-input';
|
|
40
40
|
import Flags from 'react-phone-number-input/flags';
|
|
41
41
|
import { Drawer } from 'vaul';
|
|
42
|
-
import { M as MAPPED_LOCALE } from './utils-
|
|
42
|
+
import { M as MAPPED_LOCALE } from './utils-e1059f7f.js';
|
|
43
43
|
import { useForm, yupResolver } from '@mantine/form';
|
|
44
44
|
import * as yup from 'yup';
|
|
45
45
|
import dayjs from 'dayjs';
|
|
46
|
-
import { D as DatePicker } from './index-
|
|
46
|
+
import { D as DatePicker } from './index-2398f766.js';
|
|
47
47
|
import '@mantine/carousel';
|
|
48
48
|
import './miscTheme.js';
|
|
49
|
-
import './shared-
|
|
49
|
+
import './shared-79188512.js';
|
|
50
50
|
import 'uuid';
|
|
51
|
-
import './useUniqueId-
|
|
51
|
+
import './useUniqueId-d9fbd2cd.js';
|
|
52
52
|
import './constantsSite.js';
|
|
53
53
|
import '@emotion/react';
|
|
54
|
-
import './normalizeLink-
|
|
54
|
+
import './normalizeLink-17cf924f.js';
|
|
55
55
|
import 'date-fns/locale';
|
|
56
56
|
import './constantsRiskScreener.js';
|
|
57
|
-
import './index.styles-
|
|
57
|
+
import './index.styles-e7a5cac8.js';
|
|
58
58
|
import '@mantine/notifications';
|
|
59
|
-
import './translationsContext-
|
|
59
|
+
import './translationsContext-498d83bb.js';
|
|
60
60
|
import 'zustand';
|
|
61
|
-
import './healthTools-
|
|
61
|
+
import './healthTools-ec75fc73.js';
|
|
62
62
|
|
|
63
63
|
// const fakeData = {
|
|
64
64
|
const fetchFeatureFlag = (site) => __awaiter(void 0, void 0, void 0, function* () {
|
|
@@ -425,6 +425,7 @@ const SSOPopupWrapper = ({ children, opened, onClose, }) => {
|
|
|
425
425
|
const showProgressBar = isDisplayProgressBarFn(flowData, currentStep);
|
|
426
426
|
const showBack = (steps.length > 1 && !showProgressBar) ||
|
|
427
427
|
(currentStep === null || currentStep === void 0 ? void 0 : currentStep.type) === SSOStepTypeType.OTP ||
|
|
428
|
+
((currentStep === null || currentStep === void 0 ? void 0 : currentStep.type) === SSOStepTypeType.WHATSAPP_OTP && steps.length > 1) ||
|
|
428
429
|
(currentStep === null || currentStep === void 0 ? void 0 : currentStep.type) === SSOStepTypeType.PASSWORD ||
|
|
429
430
|
(currentStep === null || currentStep === void 0 ? void 0 : currentStep.type) === SSOStepTypeType.EMAIL;
|
|
430
431
|
const showClose = (currentStep === null || currentStep === void 0 ? void 0 : currentStep.type) === SSOStepTypeType.FIRST;
|
|
@@ -434,15 +435,25 @@ const SSOPopupWrapper = ({ children, opened, onClose, }) => {
|
|
|
434
435
|
const onCloseClick = () => {
|
|
435
436
|
setCloseConfirmOpen(true);
|
|
436
437
|
};
|
|
438
|
+
const isWhatsAppPhoneVerify = (currentStep === null || currentStep === void 0 ? void 0 : currentStep.type) === SSOStepTypeType.WHATSAPP_PHONE_VERIFY;
|
|
439
|
+
const isWhatsAppLoginFlow = (currentStep === null || currentStep === void 0 ? void 0 : currentStep.type) === SSOStepTypeType.WHATSAPP_PHONE_VERIFY ||
|
|
440
|
+
(currentStep === null || currentStep === void 0 ? void 0 : currentStep.type) === SSOStepTypeType.WHATSAPP_OTP;
|
|
441
|
+
const onModalRequestClose = () => {
|
|
442
|
+
if (isWhatsAppLoginFlow)
|
|
443
|
+
return;
|
|
444
|
+
onCloseClick();
|
|
445
|
+
};
|
|
437
446
|
return (React__default.createElement(React__default.Fragment, null,
|
|
438
|
-
React__default.createElement(Modal, { opened: opened, onClose:
|
|
447
|
+
React__default.createElement(Modal, { opened: opened, onClose: onModalRequestClose, closeOnClickOutside: !isWhatsAppLoginFlow, closeOnEscape: !isWhatsAppLoginFlow, styles: (theme) => ({
|
|
439
448
|
body: {
|
|
440
449
|
display: 'flex',
|
|
441
450
|
flexDirection: 'column',
|
|
442
|
-
gap: 16,
|
|
451
|
+
gap: isWhatsAppPhoneVerify ? 24 : 16,
|
|
443
452
|
padding: '32px 24px',
|
|
444
453
|
position: 'relative',
|
|
445
|
-
background:
|
|
454
|
+
background: isWhatsAppPhoneVerify
|
|
455
|
+
? 'linear-gradient(180deg, #A5D4FF 0%, #FFFFFF 70px)'
|
|
456
|
+
: 'linear-gradient(180deg, #A5D4FF 0%, #FFFFFF 150px)',
|
|
446
457
|
overflow: 'auto',
|
|
447
458
|
[theme.fn.smallerThan('sm')]: {
|
|
448
459
|
height: '100%',
|
|
@@ -786,18 +797,6 @@ const useGRecaptchaHandler = () => {
|
|
|
786
797
|
};
|
|
787
798
|
};
|
|
788
799
|
|
|
789
|
-
const splitPhone = (phone) => {
|
|
790
|
-
if (!phone)
|
|
791
|
-
return { areaCode: undefined, phoneNumber: undefined };
|
|
792
|
-
const parsedPhone = parsePhoneNumber(phone);
|
|
793
|
-
return {
|
|
794
|
-
areaCode: parsedPhone.countryCallingCode
|
|
795
|
-
? '+' + parsedPhone.countryCallingCode
|
|
796
|
-
: '',
|
|
797
|
-
phoneNumber: parsedPhone.nationalNumber || '',
|
|
798
|
-
};
|
|
799
|
-
};
|
|
800
|
-
|
|
801
800
|
// "phone_number":"906911910",
|
|
802
801
|
// "password":"Kenny2103!"
|
|
803
802
|
const loginByPhonePassword = (phone, password) => __awaiter(void 0, void 0, void 0, function* () {
|
|
@@ -880,6 +879,25 @@ const loginBySocial = (token, social) => __awaiter(void 0, void 0, void 0, funct
|
|
|
880
879
|
});
|
|
881
880
|
});
|
|
882
881
|
|
|
882
|
+
/** Guest: send or resend OTP (same endpoint). Optional referrer e.g. payment page URL. */
|
|
883
|
+
const sendLoginOtpWhatsapp = (phoneNumber, areaCode, referrer) => __awaiter(void 0, void 0, void 0, function* () {
|
|
884
|
+
return fetchSSOV2ApiJson(SSO_V2_PATHS.WHATSAPP.LOGIN_OTP_WHATSAPP, {
|
|
885
|
+
phone_number: phoneNumber,
|
|
886
|
+
area_code: areaCode,
|
|
887
|
+
website_id: Number(websiteId),
|
|
888
|
+
ga_client_id: getCookie('_ga') || '',
|
|
889
|
+
referrer: referrer || (typeof window !== 'undefined' ? window.location.href : ''),
|
|
890
|
+
}, true);
|
|
891
|
+
});
|
|
892
|
+
/** Guest: verify OTP after WhatsApp login send; `login_type` required by API. */
|
|
893
|
+
const verifyWhatsappOtpGuest = (phoneNumber, areaCode, otpCode) => __awaiter(void 0, void 0, void 0, function* () {
|
|
894
|
+
return fetchSSOV2ApiJson(SSO_V2_PATHS.WHATSAPP.VERIFY_BY_OTP, {
|
|
895
|
+
otp_code: otpCode,
|
|
896
|
+
phone_number: phoneNumber,
|
|
897
|
+
area_code: areaCode,
|
|
898
|
+
login_type: 'otp-whatsapp',
|
|
899
|
+
}, true);
|
|
900
|
+
});
|
|
883
901
|
// "phone_number": "906911910",
|
|
884
902
|
// "area_code":"+84",
|
|
885
903
|
const registerBySendWhatsAppOTP = (phone, areaCode) => __awaiter(void 0, void 0, void 0, function* () {
|
|
@@ -4572,6 +4590,249 @@ const SSOUpdateEmailScreen = ({ hidden, config, }) => {
|
|
|
4572
4590
|
React__default.createElement(Button, { type: "submit", size: "lg", variant: "primary", fullWidth: true, mt: 16, loading: loading, disabled: loading, "data-event-category": trackingCategory, "data-event-action": trackingAction, "data-event-label": "Verify Your Email" }, t('ssov2.updateEmail.button'))));
|
|
4573
4591
|
};
|
|
4574
4592
|
|
|
4593
|
+
const SSOWhatsAppOTPScreen = ({ hidden, config, }) => {
|
|
4594
|
+
const { t } = useTranslations();
|
|
4595
|
+
const { onClose, setTracking } = useSSOState();
|
|
4596
|
+
const [loading, setLoading] = React__default.useState(false);
|
|
4597
|
+
const [otp, setOtp] = React__default.useState('');
|
|
4598
|
+
const [error, setError] = React__default.useState('');
|
|
4599
|
+
const submitButtonRef = React__default.useRef(null);
|
|
4600
|
+
const otpRef = React__default.useRef(null);
|
|
4601
|
+
const phone = (config === null || config === void 0 ? void 0 : config.phone) || '';
|
|
4602
|
+
const referrer = config === null || config === void 0 ? void 0 : config.referrer;
|
|
4603
|
+
const useAuthenticatedWhatsAppApis = !!(config === null || config === void 0 ? void 0 : config.useAuthenticatedWhatsAppApis);
|
|
4604
|
+
const trackingCategory = 'SSO - WhatsApp Login';
|
|
4605
|
+
const trackingAction = 'Verify WhatsApp OTP';
|
|
4606
|
+
useEffect(() => {
|
|
4607
|
+
if (!hidden) {
|
|
4608
|
+
setError('');
|
|
4609
|
+
setTracking({
|
|
4610
|
+
category: trackingCategory,
|
|
4611
|
+
action: trackingAction,
|
|
4612
|
+
});
|
|
4613
|
+
}
|
|
4614
|
+
}, [hidden]);
|
|
4615
|
+
const [resendTime, setResendTime] = React__default.useState(30);
|
|
4616
|
+
const setupResendTimer = () => {
|
|
4617
|
+
setResendTime(30);
|
|
4618
|
+
const countdown = () => {
|
|
4619
|
+
setResendTime((time) => {
|
|
4620
|
+
if (time - 1 > 0) {
|
|
4621
|
+
setTimeout(() => countdown(), 1000);
|
|
4622
|
+
}
|
|
4623
|
+
return time - 1;
|
|
4624
|
+
});
|
|
4625
|
+
};
|
|
4626
|
+
countdown();
|
|
4627
|
+
};
|
|
4628
|
+
const sendOTPCode = (checkResend) => __awaiter(void 0, void 0, void 0, function* () {
|
|
4629
|
+
if (checkResend && resendTime > 0)
|
|
4630
|
+
return;
|
|
4631
|
+
setLoading(true);
|
|
4632
|
+
try {
|
|
4633
|
+
const { areaCode, phoneNumber } = splitPhone(phone);
|
|
4634
|
+
if (!areaCode || !phoneNumber) {
|
|
4635
|
+
setError(t('ssov2.validate.phone.required'));
|
|
4636
|
+
return setLoading(false);
|
|
4637
|
+
}
|
|
4638
|
+
const res = useAuthenticatedWhatsAppApis
|
|
4639
|
+
? yield resendUpdatePhoneWhatsAppOTP(phoneNumber, areaCode)
|
|
4640
|
+
: yield sendLoginOtpWhatsapp(phoneNumber, areaCode, referrer);
|
|
4641
|
+
if ((res === null || res === void 0 ? void 0 : res._status) !== 1) {
|
|
4642
|
+
setError(getErrorTextFromCode(t, res === null || res === void 0 ? void 0 : res.code));
|
|
4643
|
+
return setLoading(false);
|
|
4644
|
+
}
|
|
4645
|
+
setupResendTimer();
|
|
4646
|
+
}
|
|
4647
|
+
catch (e) {
|
|
4648
|
+
console.error(e);
|
|
4649
|
+
setError(getErrorTextFromCode(t, ''));
|
|
4650
|
+
}
|
|
4651
|
+
setLoading(false);
|
|
4652
|
+
});
|
|
4653
|
+
const submitOtp = (otpValue) => __awaiter(void 0, void 0, void 0, function* () {
|
|
4654
|
+
var _a;
|
|
4655
|
+
if (!otpValue || otpValue.length < 6) {
|
|
4656
|
+
setError(t('ssov2.validate.otp.required'));
|
|
4657
|
+
return;
|
|
4658
|
+
}
|
|
4659
|
+
setLoading(true);
|
|
4660
|
+
try {
|
|
4661
|
+
const { areaCode, phoneNumber } = splitPhone(phone);
|
|
4662
|
+
if (!areaCode || !phoneNumber) {
|
|
4663
|
+
setError(t('ssov2.validate.phone.required'));
|
|
4664
|
+
return setLoading(false);
|
|
4665
|
+
}
|
|
4666
|
+
const res = useAuthenticatedWhatsAppApis
|
|
4667
|
+
? yield verifyUpdatePhoneWhatsAppOTP(phoneNumber, areaCode, otpValue)
|
|
4668
|
+
: yield verifyWhatsappOtpGuest(phoneNumber, areaCode, otpValue);
|
|
4669
|
+
if ((res === null || res === void 0 ? void 0 : res._status) !== 1) {
|
|
4670
|
+
setOtp('');
|
|
4671
|
+
(_a = otpRef.current) === null || _a === void 0 ? void 0 : _a.focus();
|
|
4672
|
+
setError(getErrorTextFromCode(t, res === null || res === void 0 ? void 0 : res.code));
|
|
4673
|
+
return setLoading(false);
|
|
4674
|
+
}
|
|
4675
|
+
if (!useAuthenticatedWhatsAppApis && (res === null || res === void 0 ? void 0 : res._data)) {
|
|
4676
|
+
handleAuthSuccess(res._data);
|
|
4677
|
+
}
|
|
4678
|
+
onClose === null || onClose === void 0 ? void 0 : onClose(true);
|
|
4679
|
+
}
|
|
4680
|
+
catch (e) {
|
|
4681
|
+
console.error(e);
|
|
4682
|
+
setError(getErrorTextFromCode(t, ''));
|
|
4683
|
+
}
|
|
4684
|
+
setLoading(false);
|
|
4685
|
+
});
|
|
4686
|
+
useEffect(() => {
|
|
4687
|
+
setupResendTimer();
|
|
4688
|
+
}, []);
|
|
4689
|
+
const initialAuthOtpSentRef = React__default.useRef(false);
|
|
4690
|
+
useEffect(() => {
|
|
4691
|
+
if (hidden ||
|
|
4692
|
+
!useAuthenticatedWhatsAppApis ||
|
|
4693
|
+
!phone ||
|
|
4694
|
+
initialAuthOtpSentRef.current) {
|
|
4695
|
+
return;
|
|
4696
|
+
}
|
|
4697
|
+
initialAuthOtpSentRef.current = true;
|
|
4698
|
+
sendOTPCode(false);
|
|
4699
|
+
}, [hidden, useAuthenticatedWhatsAppApis, phone]);
|
|
4700
|
+
return (React__default.createElement("form", { style: {
|
|
4701
|
+
display: hidden ? 'none' : 'block',
|
|
4702
|
+
}, onSubmit: (e) => {
|
|
4703
|
+
e.preventDefault();
|
|
4704
|
+
submitOtp(String(otp));
|
|
4705
|
+
} },
|
|
4706
|
+
React__default.createElement(Stack, { spacing: 8 },
|
|
4707
|
+
React__default.createElement(Text, { size: "s1", weight: "semiBold" }, t('ssov2.otp.phone.title')),
|
|
4708
|
+
React__default.createElement(Text, { size: "p4", sx: {
|
|
4709
|
+
b: {
|
|
4710
|
+
fontWeight: 'bold',
|
|
4711
|
+
},
|
|
4712
|
+
} },
|
|
4713
|
+
React__default.createElement("span", { dangerouslySetInnerHTML: {
|
|
4714
|
+
__html: t('ssov2.otp.phone.description', {
|
|
4715
|
+
phone,
|
|
4716
|
+
method: 'WhatsApp',
|
|
4717
|
+
}),
|
|
4718
|
+
} }))),
|
|
4719
|
+
React__default.createElement(Stack, { mt: 24, spacing: 8 },
|
|
4720
|
+
React__default.createElement(Input.Wrapper, { error: error },
|
|
4721
|
+
React__default.createElement(OTP, { ref: otpRef, value: otp, onChange: (value) => {
|
|
4722
|
+
setOtp(String(value));
|
|
4723
|
+
if (String(value).length === 6) {
|
|
4724
|
+
setTimeout(() => {
|
|
4725
|
+
var _a;
|
|
4726
|
+
(_a = submitButtonRef.current) === null || _a === void 0 ? void 0 : _a.click();
|
|
4727
|
+
}, 100);
|
|
4728
|
+
}
|
|
4729
|
+
setError('');
|
|
4730
|
+
}, otpShareProps: {
|
|
4731
|
+
'data-event-category': trackingCategory,
|
|
4732
|
+
'data-event-action': trackingAction,
|
|
4733
|
+
'data-event-label': 'Enter Code',
|
|
4734
|
+
}, placeholder: "*" })),
|
|
4735
|
+
React__default.createElement(Group, { spacing: 8, align: "center", style: {
|
|
4736
|
+
height: 40,
|
|
4737
|
+
} },
|
|
4738
|
+
React__default.createElement(Text, { size: "p4" }, t('ssov2.otp.resendQuestion')),
|
|
4739
|
+
React__default.createElement(Text, { style: {
|
|
4740
|
+
pointerEvents: resendTime > 0 ? 'none' : 'auto',
|
|
4741
|
+
cursor: resendTime > 0 ? 'not-allowed' : 'pointer',
|
|
4742
|
+
}, size: "s4", color: "blue.6", onClick: () => sendOTPCode(true), "data-event-category": trackingCategory, "data-event-action": trackingAction, "data-event-label": "Resend OTP" }, t('ssov2.otp.resendText', {
|
|
4743
|
+
count: resendTime,
|
|
4744
|
+
})))),
|
|
4745
|
+
React__default.createElement(Button, { type: "submit", size: "lg", variant: "primary", mt: 12, fullWidth: true, disabled: loading, loading: loading, "data-event-category": trackingCategory, "data-event-action": trackingAction, "data-event-label": "Verify", ref: submitButtonRef }, t('ssov2.whatsappLogin.verifySubmit'))));
|
|
4746
|
+
};
|
|
4747
|
+
|
|
4748
|
+
const InfoIcon = () => {
|
|
4749
|
+
return (React__default.createElement("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", style: { minWidth: '16px', position: 'relative', top: '2px' } },
|
|
4750
|
+
React__default.createElement("path", { d: "M8.00004 11.166C8.14177 11.166 8.2605 11.1181 8.35622 11.0222C8.45194 10.9264 8.4998 10.8077 8.4998 10.666V7.83265C8.4998 7.69099 8.45187 7.57225 8.356 7.47642C8.26013 7.38058 8.14133 7.33267 7.9996 7.33267C7.85787 7.33267 7.73914 7.38058 7.64342 7.47642C7.5477 7.57225 7.49984 7.69099 7.49984 7.83265V10.666C7.49984 10.8077 7.54777 10.9264 7.64364 11.0222C7.73951 11.1181 7.85831 11.166 8.00004 11.166ZM7.99982 6.19165C8.15239 6.19165 8.28027 6.14005 8.38347 6.03685C8.48667 5.93365 8.53827 5.80577 8.53827 5.6532C8.53827 5.50064 8.48667 5.37276 8.38347 5.26955C8.28027 5.16635 8.15239 5.11475 7.99982 5.11475C7.84725 5.11475 7.71937 5.16635 7.61617 5.26955C7.51297 5.37276 7.46137 5.50064 7.46137 5.6532C7.46137 5.80577 7.51297 5.93365 7.61617 6.03685C7.71937 6.14005 7.84725 6.19165 7.99982 6.19165ZM8.00094 14.3327C7.12498 14.3327 6.30163 14.1664 5.53087 13.834C4.7601 13.5015 4.08965 13.0504 3.5195 12.4805C2.94935 11.9106 2.49798 11.2404 2.16539 10.47C1.8328 9.69959 1.6665 8.8764 1.6665 8.00045C1.6665 7.12449 1.83273 6.30114 2.16517 5.53038C2.49762 4.75962 2.94878 4.08916 3.51867 3.51902C4.08857 2.94886 4.75873 2.49749 5.52915 2.1649C6.29956 1.83231 7.12275 1.66602 7.9987 1.66602C8.87466 1.66602 9.69802 1.83224 10.4688 2.16468C11.2395 2.49713 11.91 2.94829 12.4801 3.51818C13.0503 4.08808 13.5017 4.75824 13.8343 5.52867C14.1668 6.29908 14.3331 7.12226 14.3331 7.99822C14.3331 8.87417 14.1669 9.69753 13.8345 10.4683C13.502 11.239 13.0509 11.9095 12.481 12.4796C11.9111 13.0498 11.2409 13.5012 10.4705 13.8338C9.70008 14.1664 8.87689 14.3327 8.00094 14.3327ZM7.99982 13.3327C9.48871 13.3327 10.7498 12.816 11.7832 11.7827C12.8165 10.7493 13.3332 9.48822 13.3332 7.99933C13.3332 6.51044 12.8165 5.24933 11.7832 4.216C10.7498 3.18267 9.48871 2.666 7.99982 2.666C6.51093 2.666 5.24982 3.18267 4.21649 4.216C3.18315 5.24933 2.66649 6.51044 2.66649 7.99933C2.66649 9.48822 3.18315 10.7493 4.21649 11.7827C5.24982 12.816 6.51093 13.3327 7.99982 13.3327Z", fill: "#2D87F3" })));
|
|
4751
|
+
};
|
|
4752
|
+
const SSOWhatsAppPhoneVerifyScreen = ({ hidden, config, }) => {
|
|
4753
|
+
const { t } = useTranslations();
|
|
4754
|
+
const [phone, setPhone] = React__default.useState('');
|
|
4755
|
+
const [loading, setLoading] = React__default.useState(false);
|
|
4756
|
+
const [errMsg, setErrMsg] = React__default.useState('');
|
|
4757
|
+
const { locale, setTracking } = useSSOState();
|
|
4758
|
+
const { addStep, goNext } = useSSOSteps();
|
|
4759
|
+
const referrer = config === null || config === void 0 ? void 0 : config.referrer;
|
|
4760
|
+
const useAuthenticatedWhatsAppApis = !!(config === null || config === void 0 ? void 0 : config.useAuthenticatedWhatsAppApis);
|
|
4761
|
+
const trackingCategory = 'SSO - WhatsApp Login';
|
|
4762
|
+
const trackingAction = 'Enter WhatsApp phone';
|
|
4763
|
+
useEffect(() => {
|
|
4764
|
+
if (!hidden) {
|
|
4765
|
+
setErrMsg('');
|
|
4766
|
+
setTracking({
|
|
4767
|
+
category: trackingCategory,
|
|
4768
|
+
action: trackingAction,
|
|
4769
|
+
});
|
|
4770
|
+
}
|
|
4771
|
+
}, [hidden]);
|
|
4772
|
+
const onContinue = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
4773
|
+
setLoading(true);
|
|
4774
|
+
try {
|
|
4775
|
+
const { areaCode, phoneNumber } = splitPhone(phone);
|
|
4776
|
+
if (!areaCode || !phoneNumber || !phone) {
|
|
4777
|
+
setErrMsg(t('ssov2.validate.phone.required'));
|
|
4778
|
+
return setLoading(false);
|
|
4779
|
+
}
|
|
4780
|
+
const res = useAuthenticatedWhatsAppApis
|
|
4781
|
+
? { _status: 1, code: 'Fake_Code' }
|
|
4782
|
+
: yield sendLoginOtpWhatsapp(phoneNumber, areaCode, referrer);
|
|
4783
|
+
if ((res === null || res === void 0 ? void 0 : res._status) !== 1) {
|
|
4784
|
+
setErrMsg(getErrorTextFromCode(t, res === null || res === void 0 ? void 0 : res.code));
|
|
4785
|
+
return setLoading(false);
|
|
4786
|
+
}
|
|
4787
|
+
addStep({
|
|
4788
|
+
type: SSOStepTypeType.WHATSAPP_OTP,
|
|
4789
|
+
config: Object.assign({ phone,
|
|
4790
|
+
referrer }, (useAuthenticatedWhatsAppApis
|
|
4791
|
+
? { useAuthenticatedWhatsAppApis: true }
|
|
4792
|
+
: {})),
|
|
4793
|
+
});
|
|
4794
|
+
goNext();
|
|
4795
|
+
}
|
|
4796
|
+
catch (e) {
|
|
4797
|
+
console.error(e);
|
|
4798
|
+
setErrMsg(getErrorTextFromCode(t, ''));
|
|
4799
|
+
}
|
|
4800
|
+
setLoading(false);
|
|
4801
|
+
});
|
|
4802
|
+
return (React__default.createElement("div", { style: {
|
|
4803
|
+
display: hidden ? 'none' : 'block',
|
|
4804
|
+
} },
|
|
4805
|
+
React__default.createElement(Stack, { spacing: 24 },
|
|
4806
|
+
React__default.createElement(Box, { sx: {
|
|
4807
|
+
backgroundColor: '#E3F2FF',
|
|
4808
|
+
padding: '12px 16px',
|
|
4809
|
+
borderRadius: '8px',
|
|
4810
|
+
display: 'flex',
|
|
4811
|
+
gap: '8px',
|
|
4812
|
+
} },
|
|
4813
|
+
React__default.createElement(InfoIcon, null),
|
|
4814
|
+
React__default.createElement(Text, { styles: {
|
|
4815
|
+
root: {
|
|
4816
|
+
fontSize: '13px',
|
|
4817
|
+
},
|
|
4818
|
+
}, color: "gray700" }, t('ssov2.whatsappLogin.phoneNotice'))),
|
|
4819
|
+
React__default.createElement(Stack, { spacing: 16 },
|
|
4820
|
+
React__default.createElement(Input.Wrapper, { error: errMsg },
|
|
4821
|
+
React__default.createElement(StyledPhone, { defaultCountry: (locale ? MAPPED_LOCALE[locale] || 'VN' : 'VN'), value: phone, onChange: (value) => {
|
|
4822
|
+
setPhone(value);
|
|
4823
|
+
setErrMsg('');
|
|
4824
|
+
}, isError: !!errMsg, required: true, name: "phone", disabled: loading, placeholder: t('ssov2.setup.field.phone.label'), "data-event-category": trackingCategory, "data-event-action": trackingAction, "data-event-label": "Enter Phone", trackingFn: useCallback((option) => {
|
|
4825
|
+
if (!(option === null || option === void 0 ? void 0 : option.label))
|
|
4826
|
+
return;
|
|
4827
|
+
return {
|
|
4828
|
+
'data-event-action': 'Country Selection',
|
|
4829
|
+
'data-event-label': option.label,
|
|
4830
|
+
'data-event-category': trackingCategory,
|
|
4831
|
+
};
|
|
4832
|
+
}, []) })),
|
|
4833
|
+
React__default.createElement(Button, { size: "lg", variant: "primary", onClick: onContinue, loading: loading, disabled: loading, "data-event-category": trackingCategory, "data-event-action": trackingAction, "data-event-label": "Continue" }, t('ssov2.button.continue'))))));
|
|
4834
|
+
};
|
|
4835
|
+
|
|
4575
4836
|
const SSOScreenRenderer = () => {
|
|
4576
4837
|
const { steps, currentStepIndex } = useSSOSteps();
|
|
4577
4838
|
return (React__default.createElement(React__default.Fragment, null, steps.map((step, index) => {
|
|
@@ -4580,6 +4841,10 @@ const SSOScreenRenderer = () => {
|
|
|
4580
4841
|
switch (step.type) {
|
|
4581
4842
|
case SSOStepTypeType.FIRST:
|
|
4582
4843
|
return (React__default.createElement(SSOFirstScreen, { key: key, hidden: !isCurrentStep, config: step.config }));
|
|
4844
|
+
case SSOStepTypeType.WHATSAPP_PHONE_VERIFY:
|
|
4845
|
+
return (React__default.createElement(SSOWhatsAppPhoneVerifyScreen, { key: key, hidden: !isCurrentStep, index: index, config: step.config }));
|
|
4846
|
+
case SSOStepTypeType.WHATSAPP_OTP:
|
|
4847
|
+
return (React__default.createElement(SSOWhatsAppOTPScreen, { key: key, hidden: !isCurrentStep, index: index, config: step.config }));
|
|
4583
4848
|
case SSOStepTypeType.PASSWORD:
|
|
4584
4849
|
return (React__default.createElement(SSOPasswordScreen, { key: key + '-' + currentStepIndex, hidden: !isCurrentStep, index: index, config: step.config }));
|
|
4585
4850
|
case SSOStepTypeType.FORGOT_PASSWORD_PHONE:
|