@hhgtech/hhg-components 1.29.535 → 1.29.537-beta-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/{InputDate-3427be78.js → InputDate-19ce6c32.js} +5 -5
- package/build/{LastPeriod-1446b769.js → LastPeriod-e03a0c85.js} +1 -1
- package/build/{MobileBottomNavigationIcon-6fe8c437.js → MobileBottomNavigationIcon-5bbac21d.js} +3 -3
- package/build/{SiteWideBanner-0a8bb37a.js → SiteWideBanner-72a3cdcc.js} +11 -11
- package/build/{Spinner-1131034f.js → Spinner-221c2cb1.js} +1 -1
- package/build/{WhatsApp-43f3cbb3.js → WhatsApp-79dbfddf.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/molecules/productDetail/generalInfo/constants.d.ts +1 -0
- package/build/components/molecules/productDetail/generalInfo/index.styled.d.ts +1 -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-f6241cd0.js → constants-362d1299.js} +3 -2
- package/build/{constants-a3ede3a6.js → constants-7487e6fd.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-bcd6170d.js → core-65b00c19.js} +1 -1
- package/build/{dataTransform-d8bdb5d6.js → dataTransform-90042446.js} +1 -1
- package/build/ecom.js +5 -5
- package/build/{editor-5d66a3a4.js → editor-cedf6a19.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-948c7279.js → InputDate-e0ddb571.js} +5 -5
- package/build/esm/{LastPeriod-fa56d43c.js → LastPeriod-d35f20e0.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-af2cca24.js → MobileBottomNavigationIcon-d3f63232.js} +3 -3
- package/build/esm/{SiteWideBanner-01ff6f25.js → SiteWideBanner-e5ec5bce.js} +11 -11
- package/build/esm/{Spinner-98bd4461.js → Spinner-32d7f162.js} +1 -1
- package/build/esm/{WhatsApp-5c39b7d4.js → WhatsApp-b50480a1.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/molecules/productDetail/generalInfo/constants.d.ts +1 -0
- package/build/esm/components/molecules/productDetail/generalInfo/index.styled.d.ts +1 -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-bca49486.js → constants-2398da08.js} +3 -3
- package/build/esm/{constants-0ff9e2c6.js → constants-fb2d85b7.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-039176c1.js → core-6784eea3.js} +1 -1
- package/build/esm/{dataTransform-31be9d98.js → dataTransform-1cf6bd7f.js} +2 -2
- package/build/esm/ecom.js +5 -5
- package/build/esm/{editor-c6123809.js → editor-4f27faa4.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-ba3cfbff.js → healthTools-587af33d.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-d1d6192f.js → index-00c1029f.js} +3 -3
- package/build/esm/{index-8bde61e4.js → index-0142d22a.js} +3 -3
- package/build/esm/{index-81155d65.js → index-09f6ef1e.js} +11 -11
- package/build/esm/{index-9587bce9.js → index-0ba6e582.js} +2 -2
- package/build/esm/{index-c026f5c8.js → index-0e32619b.js} +9 -9
- package/build/esm/{index-560abde8.js → index-0f306c2c.js} +2 -2
- package/build/esm/{index-bd830446.js → index-157ac67c.js} +1 -1
- package/build/esm/{index-2a6aac91.js → index-19ee9e8f.js} +8 -3
- package/build/esm/{index-7a953a92.js → index-1a817f23.js} +25 -24
- package/build/esm/{index-3cff246c.js → index-22c474de.js} +8 -8
- package/build/esm/{index-70c594ce.js → index-258a0f64.js} +6 -6
- package/build/esm/{index-3477fe0a.js → index-268f9404.js} +3 -3
- package/build/esm/{index-619190b6.js → index-271395d2.js} +1 -1
- package/build/esm/{index-2c729872.js → index-2e041ba1.js} +2 -2
- package/build/esm/index-2fb9d703.js +120 -0
- package/build/esm/{index-21fa110f.js → index-307b43b4.js} +13 -13
- package/build/esm/{index-21ca5a54.js → index-327ef6b3.js} +32 -32
- package/build/esm/{index-570af628.js → index-36070e8a.js} +2 -2
- package/build/esm/{index-129e6e82.js → index-3a0b12b5.js} +34 -34
- package/build/esm/{index-41ffc38e.js → index-3a5eaf24.js} +14 -14
- package/build/esm/{index-63dafe5b.js → index-416b0279.js} +16 -16
- package/build/esm/{index-f4f00ca5.js → index-4916f94a.js} +12 -12
- package/build/esm/{index-733b3482.js → index-4c4d22c7.js} +1 -1
- package/build/esm/{index-8fcd05f8.js → index-514d24db.js} +32 -32
- package/build/esm/{index-4e5ca389.js → index-538e8cd2.js} +18 -18
- package/build/esm/{index-79aff428.js → index-5529ebed.js} +3 -3
- package/build/esm/{index-ab91bcc6.js → index-557cec93.js} +3 -3
- package/build/esm/{index-3ab20bcc.js → index-5f8525e0.js} +18 -18
- package/build/esm/{index-3e97c2e1.js → index-649ac860.js} +1 -1
- package/build/esm/{index-c2d2601e.js → index-65f0d350.js} +16 -16
- package/build/esm/{index-b0ab4d59.js → index-6b03daea.js} +14 -14
- package/build/esm/{index-2144f0d9.js → index-723442ee.js} +2 -2
- package/build/esm/{index-83058912.js → index-75b1470c.js} +15 -15
- package/build/esm/{index-6286381d.js → index-776e9af1.js} +22 -22
- package/build/esm/{index-1151b9b1.js → index-7deaccf5.js} +15 -15
- package/build/esm/{index-7267f522.js → index-82e4c85c.js} +3 -3
- package/build/esm/{index-877b68ac.js → index-861983a5.js} +26 -26
- package/build/esm/{index-dcfa0484.js → index-87e6d4d7.js} +2 -2
- package/build/esm/{index-82bd811a.js → index-88af445b.js} +2 -2
- package/build/esm/{index-4faae617.js → index-9519f3a5.js} +5 -5
- package/build/esm/{index-75af317c.js → index-9897596d.js} +6 -6
- package/build/esm/{index-350a2179.js → index-9c3e78a9.js} +4 -4
- package/build/esm/{index-8d9fd526.js → index-9d859c38.js} +2 -2
- package/build/esm/{index-b5cb43be.js → index-9f068e82.js} +13 -13
- package/build/esm/{index-782d07dd.js → index-a0f53a60.js} +6 -6
- package/build/esm/{index-5ebe77e1.js → index-ab982b84.js} +25 -25
- package/build/esm/{index-d864ad10.js → index-af9c7faa.js} +2 -2
- package/build/esm/{index-c5e586a7.js → index-b1d5d780.js} +14 -14
- package/build/esm/{index-0840ce77.js → index-b29b69af.js} +15 -15
- package/build/esm/{index-6045ff70.js → index-b91873a4.js} +7 -7
- package/build/esm/{index-63eaf38b.js → index-bd700402.js} +2 -2
- package/build/esm/{index-d7adbd8c.js → index-be940957.js} +3 -3
- package/build/esm/{index-4bed6d97.js → index-bf5f9c8a.js} +17 -17
- package/build/esm/{index-6c2f1f11.js → index-c5bb5e9d.js} +21 -21
- package/build/esm/{index-f6da221e.js → index-cd656759.js} +9 -9
- package/build/esm/{index-07cff58f.js → index-cdc53951.js} +2 -2
- package/build/esm/{index-8efcbfda.js → index-d1241d2e.js} +2 -2
- package/build/esm/{index-ed2192ef.js → index-d213dade.js} +2 -2
- package/build/esm/{index-2c81a088.js → index-d55f39c4.js} +6 -6
- package/build/esm/{index-52919b50.js → index-d7de0fac.js} +3 -111
- package/build/esm/{index-326c69bb.js → index-db23aa37.js} +3 -3
- package/build/esm/{index-4c3d7535.js → index-e28977c2.js} +3 -3
- package/build/esm/{index-8545dfd2.js → index-e8688d7d.js} +1 -1
- package/build/esm/{index-1c6a96de.js → index-e880f40e.js} +2 -2
- package/build/esm/{index-826143cb.js → index-ed4d86d2.js} +7 -7
- package/build/esm/{index-53ceacfd.js → index-f0a9ebe8.js} +16 -16
- package/build/esm/{index-8c303676.js → index-f2d22d03.js} +16 -16
- package/build/esm/{index-6000efaf.js → index-f3039502.js} +2 -2
- package/build/esm/{index-328686fe.js → index-f49d6b72.js} +2 -2
- package/build/esm/{index-7bea1647.js → index-faa0c8a9.js} +29 -6
- package/build/esm/{index-4cd240df.js → index-fb958c00.js} +1 -1
- package/build/esm/{index-9b269038.js → index-fe82ec92.js} +3 -3
- package/build/esm/index.js +131 -131
- package/build/esm/{labelSorting-8ba44e64.js → labelSorting-ed4161eb.js} +4 -4
- package/build/esm/lead.js +37 -38
- package/build/esm/{logoIcon-39bb2792.js → logoIcon-eafea823.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-032c21c3.js → post-90fc50a4.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-1f700d5c.js → store-16651a70.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-cb68e35b.js → surveyThankyouCard-985011dc.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-213aeec0.js → transform-31c4d3f9.js} +677 -37
- package/build/esm/{translationsProvider-ac3ca133.js → translationsProvider-b7bd0d66.js} +1 -1
- package/build/esm/{treePopoverMenu-73251d0f.js → treePopoverMenu-2e8f2376.js} +19 -19
- package/build/esm/types.js +2 -2
- package/build/esm/{useCartCareService-f3cf6ad8.js → useCartCareService-4239020d.js} +1 -1
- package/build/esm/{useHealthToolCache-33c882e6.js → useHealthToolCache-39c405e4.js} +1 -1
- package/build/esm/{usePhoneValidator-b80b46bd.js → usePhoneValidator-4b9b7fea.js} +5 -5
- package/build/esm/{usePlacesAutocomplete-ac231c8d.js → usePlacesAutocomplete-0639eae9.js} +1 -1
- package/build/esm/useTogetherAuthRequiredAction.js +11 -10
- package/build/esm/{utils-ae3038d0.js → utils-01d7bd5f.js} +5 -5
- package/build/esm/{utils-4ee1af8f.js → utils-0a1d6790.js} +2 -2
- package/build/esm/{utils-f3753abb.js → utils-2e4a3855.js} +2 -2
- package/build/esm/{utils-e2a73a44.js → utils-9f1de9e6.js} +4 -4
- package/build/esm/{utils-5f0dc921.js → utils-ab3bb43d.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-b5177f59.js → healthTools-3b6c6294.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-4ed10482.js → index-021aebf5.js} +25 -25
- package/build/{index-4ea58bb5.js → index-03511f85.js} +16 -16
- package/build/{index-708d5d53.js → index-04add9dd.js} +1 -1
- package/build/{index-cbdc44f1.js → index-0dfbd196.js} +3 -3
- package/build/{index-96ee02a6.js → index-0ff2e63a.js} +17 -17
- package/build/{index-9699bfa6.js → index-11131b6a.js} +32 -9
- package/build/{index-a886bf9b.js → index-135df1f0.js} +3 -3
- package/build/{index-9ef87a42.js → index-189ee940.js} +2 -2
- package/build/{index-f501ca9a.js → index-202e1e1c.js} +16 -16
- package/build/{index-8109c7c0.js → index-25e608da.js} +68 -67
- package/build/{index-f72b0a9a.js → index-26f56c09.js} +2 -2
- package/build/{index-0e3e839d.js → index-2b33e137.js} +18 -18
- package/build/{index-34be4a1b.js → index-30ba3421.js} +2 -2
- package/build/{index-53087815.js → index-31cd5a23.js} +3 -3
- package/build/{index-8f25a809.js → index-3264d87e.js} +2 -2
- package/build/{index-6afa25cb.js → index-33856b60.js} +29 -5
- package/build/{index-ac47cabb.js → index-364a35aa.js} +14 -14
- package/build/{index-3a3c7223.js → index-389de256.js} +4 -4
- package/build/{index-28c0c07b.js → index-3952067d.js} +8 -8
- package/build/{index-56a444ab.js → index-39956db2.js} +18 -18
- package/build/{index-ccff099d.js → index-3edff2b5.js} +12 -12
- package/build/{index-4b75f01a.js → index-3f8f54c3.js} +13 -13
- package/build/{index-81dc039f.js → index-408de451.js} +6 -6
- package/build/{index-c2d77523.js → index-51355cb8.js} +1 -1
- package/build/{index-d5c4759f.js → index-5b758033.js} +22 -22
- package/build/{index-29cb99a7.js → index-5c8d5fbd.js} +10 -10
- package/build/{index-8b6959c3.js → index-5def0110.js} +2 -2
- package/build/{index-f4b3f00b.js → index-60792db5.js} +2 -1
- package/build/{index-c2f9216c.js → index-64c64404.js} +2 -2
- package/build/{index-3f2344ca.js → index-6b2bc60b.js} +1 -1
- package/build/{index-04d733ac.js → index-70f9ff0e.js} +9 -9
- package/build/{index-5571d903.js → index-75d901d0.js} +7 -7
- package/build/{index-d92170e8.js → index-77661dad.js} +14 -14
- package/build/{index-aa1c12d9.js → index-777c0603.js} +2 -2
- package/build/{index-754106e7.js → index-7abd2785.js} +26 -25
- package/build/{index-edcf8907.js → index-7b341291.js} +16 -16
- package/build/index-823b9326.js +127 -0
- package/build/{index-1d6a906d.js → index-826e675d.js} +3 -3
- package/build/{index-a155cd7b.js → index-8a764efc.js} +16 -16
- package/build/{index-373bf93c.js → index-8d03d824.js} +2 -2
- package/build/{index-0c6c079c.js → index-8e990811.js} +2 -2
- package/build/{index-8cf17774.js → index-93ec4fbc.js} +2 -2
- package/build/{index-dff724c3.js → index-971b2cdb.js} +3 -3
- package/build/{index-f739830c.js → index-9e6f849f.js} +16 -16
- package/build/{index-27222656.js → index-a1321425.js} +2 -2
- package/build/{index-bd29a75f.js → index-a64ba2a9.js} +2 -2
- package/build/{index-fe2f3511.js → index-a9d6b7b1.js} +6 -6
- package/build/{index-26e5b308.js → index-aad2e511.js} +1 -1
- package/build/{index-e6216e46.js → index-acc3ce39.js} +34 -34
- package/build/{index-41a4c2e2.js → index-ace4bc84.js} +15 -15
- package/build/{index-87c41679.js → index-ae63284b.js} +6 -6
- package/build/{index-f4298d46.js → index-b20a1694.js} +15 -15
- package/build/{index-9f2ef351.js → index-b3869ea6.js} +3 -3
- package/build/{index-2031ac01.js → index-b41e8a8e.js} +2 -2
- package/build/{index-66c4d3d2.js → index-b5d4ae40.js} +21 -21
- package/build/{index-25dab138.js → index-c19e54c8.js} +1 -1
- package/build/{index-f16f4998.js → index-c2e8a80f.js} +14 -14
- package/build/{index-7c9b4421.js → index-cc127230.js} +2 -111
- package/build/{index-03196425.js → index-ccfe3773.js} +3 -3
- package/build/{index-2d012bb6.js → index-d1ea79b2.js} +2 -2
- package/build/{index-d8b17a4b.js → index-d48dcf89.js} +32 -32
- package/build/{index-61c0e140.js → index-d6fea011.js} +7 -7
- package/build/{index-6488fa2a.js → index-d821c3f0.js} +1 -1
- package/build/{index-24ad96e8.js → index-dc3a66a6.js} +32 -32
- package/build/{index-3bc52d52.js → index-dd6a5461.js} +6 -6
- package/build/{index-05e4b1ab.js → index-dfd0679d.js} +13 -13
- package/build/{index-0dc9b5ef.js → index-e17b35d9.js} +5 -5
- package/build/{index-8e012c2d.js → index-e8b2623f.js} +2 -2
- package/build/{index-c7a90b78.js → index-f500863c.js} +11 -11
- package/build/{index-c9f8f9a4.js → index-f5c98be1.js} +3 -3
- package/build/{index-c55ae5b1.js → index-f7de0729.js} +3 -3
- package/build/{index-d9f35748.js → index-fa2c9740.js} +3 -3
- package/build/index.js +219 -216
- package/build/{labelSorting-95f3645e.js → labelSorting-8193bccd.js} +4 -4
- package/build/lead.js +38 -39
- package/build/{logoIcon-18c1561d.js → logoIcon-7a263cd5.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-2732df9d.js → post-f603fb4e.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-6dfc8a9c.js → store-483c56d4.js} +66 -3
- package/build/subot.js +39 -39
- package/build/surveyOrPremiumBanner.js +35 -34
- package/build/surveyQuestionCard.js +11 -11
- package/build/{surveyThankyouCard-60038fca.js → surveyThankyouCard-680e630d.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-bfd7a500.js → transform-e15a4a9a.js} +683 -39
- package/build/{translationsProvider-88fce3af.js → translationsProvider-b46bf413.js} +1 -1
- package/build/{treePopoverMenu-0052aac2.js → treePopoverMenu-f26f78d5.js} +19 -19
- package/build/types.js +2 -2
- package/build/{useCartCareService-c40b7b9e.js → useCartCareService-74e2b733.js} +1 -1
- package/build/{useHealthToolCache-cc8fdabe.js → useHealthToolCache-1373169e.js} +1 -1
- package/build/{usePhoneValidator-518992e1.js → usePhoneValidator-adedb390.js} +5 -5
- package/build/{usePlacesAutocomplete-a4fd01b4.js → usePlacesAutocomplete-70a88d05.js} +1 -1
- package/build/useTogetherAuthRequiredAction.js +11 -10
- package/build/{utils-5740f62f.js → utils-2c14adf6.js} +2 -2
- package/build/{utils-80b5ee93.js → utils-2d3c7c56.js} +4 -4
- package/build/{utils-b9a07f10.js → utils-63a88554.js} +3 -3
- package/build/{utils-b7f70a01.js → utils-b944235c.js} +2 -2
- package/build/{utils-ee598e4a.js → utils-d524ad36.js} +5 -5
- package/build/vaccination.js +22 -22
- package/package.json +1 -1
- package/build/Close-481b1188.js +0 -29
- package/build/esm/Close-95af7d68.js +0 -7
- /package/build/{BMI_BOYS.percentile.monthly-7765cd83.js → BMI_BOYS.percentile.monthly-14873292.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-c84a018e.js → BMI_BOYS.percentile.weekly-67196bbd.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-187efb16.js → BMI_BOYS.percentile.yearly-2d701710.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-ba673729.js → BMI_BOYS.zscore.monthly-ed14fd10.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-f3b80109.js → BMI_BOYS.zscore.weekly-9f45a35d.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-988e4ccb.js → BMI_BOYS.zscore.yearly-78fbc926.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-a32fd123.js → BMI_GIRLS.percentile.monthly-36446645.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-1e09b385.js → BMI_GIRLS.percentile.weekly-73c73536.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-78e97925.js → BMI_GIRLS.percentile.yearly-c58b1032.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-d68a56dd.js → BMI_GIRLS.zscore.monthly-d8d73827.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-e45f2065.js → BMI_GIRLS.zscore.weekly-d46682c5.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-1ea6ced1.js → BMI_GIRLS.zscore.yearly-944f77b1.js} +0 -0
- /package/build/{ChevronDown-9b97784a.js → ChevronDown-e0b91cc1.js} +0 -0
- /package/build/{Google-1ea12bee.js → Google-a5347711.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-97d39389.js → HEAD CIRCUM_BOYS.percentile.monthly-fee16754.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-c2362a75.js → HEAD CIRCUM_BOYS.percentile.weekly-17bb70ed.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-2bd28907.js → HEAD CIRCUM_BOYS.percentile.yearly-ae93b0e0.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-5f625d6b.js → HEAD CIRCUM_BOYS.zscore.monthly-ca793df6.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-75070e4c.js → HEAD CIRCUM_BOYS.zscore.weekly-84796e9d.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-97d4a757.js → HEAD CIRCUM_BOYS.zscore.yearly-ba9e3b42.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-516121fa.js → HEAD CIRCUM_GIRLS.percentile.monthly-f5060610.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-eaf15748.js → HEAD CIRCUM_GIRLS.percentile.weekly-87642825.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-d0f4f898.js → HEAD CIRCUM_GIRLS.percentile.yearly-2091b708.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-67760729.js → HEAD CIRCUM_GIRLS.zscore.monthly-67d33731.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-e2a5961f.js → HEAD CIRCUM_GIRLS.zscore.weekly-b76a5c71.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-40de7251.js → HEAD CIRCUM_GIRLS.zscore.yearly-1fad9a4e.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-4100dba0.js → HEIGHT_BOYS.percentile.monthly-4990bcbe.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-fa2b3234.js → HEIGHT_BOYS.percentile.weekly-a464b0dc.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-188ef54d.js → HEIGHT_BOYS.percentile.yearly-c5e1e85f.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-1159425d.js → HEIGHT_BOYS.zscore.monthly-8d1bb61c.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-91e40279.js → HEIGHT_BOYS.zscore.weekly-12dbea5c.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-28f83679.js → HEIGHT_BOYS.zscore.yearly-2b82faf8.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-f2ee3a93.js → HEIGHT_GIRLS.percentile.monthly-a74914c3.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-188b9e9f.js → HEIGHT_GIRLS.percentile.weekly-8df25f32.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-885e6c9a.js → HEIGHT_GIRLS.percentile.yearly-07b39ddc.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-c3486aa2.js → HEIGHT_GIRLS.zscore.monthly-3e8e9286.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-75f70e7b.js → HEIGHT_GIRLS.zscore.weekly-8f287400.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-58c98edc.js → HEIGHT_GIRLS.zscore.yearly-0e8795ac.js} +0 -0
- /package/build/{Locale-43df1985.js → Locale-76638afe.js} +0 -0
- /package/build/{Visible-7152ca76.js → Visible-0b931bd5.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-88e5fa67.js → WEIGHT_BOYS.percentile.monthly-9e3411a9.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-97487c84.js → WEIGHT_BOYS.percentile.weekly-63796d56.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-23c67d07.js → WEIGHT_BOYS.percentile.yearly-9741641b.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-8c01c78a.js → WEIGHT_BOYS.zscore.monthly-dcd9c35c.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-58c6a750.js → WEIGHT_BOYS.zscore.weekly-43bf5c92.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-9cdfa18f.js → WEIGHT_BOYS.zscore.yearly-b07533f8.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-b6aded0c.js → WEIGHT_GIRLS.percentile.monthly-02ec8c09.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-b4769138.js → WEIGHT_GIRLS.percentile.weekly-fd9a4c0d.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-f09552da.js → WEIGHT_GIRLS.percentile.yearly-e3f4bdf1.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-4974b14f.js → WEIGHT_GIRLS.zscore.monthly-421dd235.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-35602ab5.js → WEIGHT_GIRLS.zscore.weekly-d15509b3.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-4695ad6d.js → WEIGHT_GIRLS.zscore.yearly-4c36f452.js} +0 -0
- /package/build/{ageGenerate-d57a2a14.js → ageGenerate-a2c34efa.js} +0 -0
- /package/build/{animation-86c0dd05.js → animation-56bca183.js} +0 -0
- /package/build/{constants-6eb78cd1.js → constants-421ff351.js} +0 -0
- /package/build/{constants-52d3c2a4.js → constants-82e354f7.js} +0 -0
- /package/build/{constants-41d2f9b3.js → constants-e17e808f.js} +0 -0
- /package/build/{context-15b56707.js → context-f3c58a1e.js} +0 -0
- /package/build/{dataTransform-9a17546c.js → dataTransform-c36ec863.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-78640359.js → BMI_BOYS.percentile.monthly-e94014ac.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-defd8e02.js → BMI_BOYS.percentile.weekly-cf3b26ca.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-e43716a1.js → BMI_BOYS.percentile.yearly-4e776553.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-d6b3450c.js → BMI_BOYS.zscore.monthly-96a79a05.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-ae701367.js → BMI_BOYS.zscore.weekly-bba7c87a.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-ef820b3b.js → BMI_BOYS.zscore.yearly-5b3d410c.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-a0cdac1b.js → BMI_GIRLS.percentile.monthly-5b2bb8df.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-eb361b60.js → BMI_GIRLS.percentile.weekly-83635a0e.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-37bf4a25.js → BMI_GIRLS.percentile.yearly-f8ded313.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-fc309a81.js → BMI_GIRLS.zscore.monthly-14c03f4c.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-5c5df811.js → BMI_GIRLS.zscore.weekly-baf805fc.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-d89a5813.js → BMI_GIRLS.zscore.yearly-f9ca2fa6.js} +0 -0
- /package/build/esm/{ChevronDown-bc6d4198.js → ChevronDown-8322b610.js} +0 -0
- /package/build/esm/{Google-394c451b.js → Google-4e1d0b33.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-510a8ff1.js → HEAD CIRCUM_BOYS.percentile.monthly-7e56cd6a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-502a9fb7.js → HEAD CIRCUM_BOYS.percentile.weekly-ccdf0d8a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-887174fc.js → HEAD CIRCUM_BOYS.percentile.yearly-bad968e5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-0075acf6.js → HEAD CIRCUM_BOYS.zscore.monthly-8630e4dd.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-6cc809c7.js → HEAD CIRCUM_BOYS.zscore.weekly-2a585297.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-8ed18f00.js → HEAD CIRCUM_BOYS.zscore.yearly-67e76c4c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-4c3daeff.js → HEAD CIRCUM_GIRLS.percentile.monthly-72d0d4a4.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-b2db86a8.js → HEAD CIRCUM_GIRLS.percentile.weekly-b78f88a6.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-b44c7825.js → HEAD CIRCUM_GIRLS.percentile.yearly-52503bbb.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-c0b185fc.js → HEAD CIRCUM_GIRLS.zscore.monthly-eb0b758b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-aac6b030.js → HEAD CIRCUM_GIRLS.zscore.weekly-2575340b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-c7eea373.js → HEAD CIRCUM_GIRLS.zscore.yearly-c9cad9ec.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-d90bd8a6.js → HEIGHT_BOYS.percentile.monthly-4b1605a8.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-adc3e255.js → HEIGHT_BOYS.percentile.weekly-0b1ac81e.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-f52f52b7.js → HEIGHT_BOYS.percentile.yearly-d6bef504.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-4ea9bd18.js → HEIGHT_BOYS.zscore.monthly-53d3127e.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-c41bea3a.js → HEIGHT_BOYS.zscore.weekly-1fc39bd8.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-7ed02a79.js → HEIGHT_BOYS.zscore.yearly-aa54e984.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-7d274122.js → HEIGHT_GIRLS.percentile.monthly-b8f49a69.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-ac8d1134.js → HEIGHT_GIRLS.percentile.weekly-e6c9119e.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-3babe617.js → HEIGHT_GIRLS.percentile.yearly-ef33f74f.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-9f4c9dd8.js → HEIGHT_GIRLS.zscore.monthly-514a9a1e.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-76dbffa4.js → HEIGHT_GIRLS.zscore.weekly-55a8cc67.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-1d649480.js → HEIGHT_GIRLS.zscore.yearly-adc7e668.js} +0 -0
- /package/build/esm/{Locale-7d1c6b26.js → Locale-8aeb6d32.js} +0 -0
- /package/build/esm/{Visible-afb3d9b1.js → Visible-9440460c.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-59673d76.js → WEIGHT_BOYS.percentile.monthly-db77618e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-21abf048.js → WEIGHT_BOYS.percentile.weekly-32ccfe09.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-d2e398cc.js → WEIGHT_BOYS.percentile.yearly-616433ca.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-ee4655d2.js → WEIGHT_BOYS.zscore.monthly-84f77528.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-17fc146c.js → WEIGHT_BOYS.zscore.weekly-f1bf771c.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-37c77a37.js → WEIGHT_BOYS.zscore.yearly-6d9c5302.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-d5403a88.js → WEIGHT_GIRLS.percentile.monthly-fb7baf2a.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-940a8478.js → WEIGHT_GIRLS.percentile.weekly-f1a5f920.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-0e56cbc7.js → WEIGHT_GIRLS.percentile.yearly-fb25d9ef.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-28900de5.js → WEIGHT_GIRLS.zscore.monthly-d9292e66.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-4d9e1a65.js → WEIGHT_GIRLS.zscore.weekly-5f05a9c4.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-d2e6658c.js → WEIGHT_GIRLS.zscore.yearly-d6fd4762.js} +0 -0
- /package/build/esm/{ageGenerate-d750c310.js → ageGenerate-c04259b8.js} +0 -0
- /package/build/esm/{animation-79e8c15b.js → animation-6b523976.js} +0 -0
- /package/build/esm/{constants-99982074.js → constants-4fcb4107.js} +0 -0
- /package/build/esm/{constants-c69968dd.js → constants-78ff1d26.js} +0 -0
- /package/build/esm/{constants-e62c892a.js → constants-fd31b544.js} +0 -0
- /package/build/esm/{context-dcf2f50a.js → context-a127c10a.js} +0 -0
- /package/build/esm/{dataTransform-b577cf3e.js → dataTransform-2286bd06.js} +0 -0
- /package/build/esm/{index-294e58af.js → index-37e16100.js} +0 -0
- /package/build/esm/{index-1be18719.js → index-389ca966.js} +0 -0
- /package/build/esm/{index-580b9497.js → index-8515713a.js} +0 -0
- /package/build/esm/{index-90b70591.js → index-887abcf4.js} +0 -0
- /package/build/esm/{index-9a8419ed.js → index-b77c05a5.js} +0 -0
- /package/build/esm/{index-a34daac2.js → index-d455df81.js} +0 -0
- /package/build/esm/{index-2b013c48.js → index-d7e6093a.js} +0 -0
- /package/build/esm/{index-e745537d.js → index-ed9488db.js} +0 -0
- /package/build/esm/{index-959917ac.js → index-f2c34602.js} +0 -0
- /package/build/esm/{index.styles-2ff6ebfe.js → index.styles-0a7b8af0.js} +0 -0
- /package/build/esm/{localizeNumberFormat-60f7ee2b.js → localizeNumberFormat-ca8e7c34.js} +0 -0
- /package/build/esm/{normalizeLink-156c5870.js → normalizeLink-233a9807.js} +0 -0
- /package/build/esm/{number-422d542f.js → number-acd68aba.js} +0 -0
- /package/build/esm/{paths-8345bde5.js → paths-258d8e08.js} +0 -0
- /package/build/esm/{shared-d06a9253.js → shared-bc0427be.js} +0 -0
- /package/build/esm/{translationsContext-e6c3e73e.js → translationsContext-9687e179.js} +0 -0
- /package/build/esm/{tslib.es6-a0384612.js → tslib.es6-21073c93.js} +0 -0
- /package/build/esm/{types-983d2f6a.js → types-89309471.js} +0 -0
- /package/build/esm/{types-fd449320.js → types-ddc0d134.js} +0 -0
- /package/build/esm/{useOutsideClick-0a274f76.js → useOutsideClick-6a06a79e.js} +0 -0
- /package/build/esm/{useScrollbarSize-53636dd3.js → useScrollbarSize-42408f21.js} +0 -0
- /package/build/esm/{useUniqueId-e8c5f49b.js → useUniqueId-65a759d1.js} +0 -0
- /package/build/esm/{utils-75979f59.js → utils-0c1f4154.js} +0 -0
- /package/build/esm/{utils-7812f9d4.js → utils-3fc4ae39.js} +0 -0
- /package/build/{index-adc4d46b.js → index-1b04c7e3.js} +0 -0
- /package/build/{index-03dadaf6.js → index-2db9ec51.js} +0 -0
- /package/build/{index-1319db01.js → index-5c743544.js} +0 -0
- /package/build/{index-c9fea751.js → index-7b1fabeb.js} +0 -0
- /package/build/{index-d2f0016a.js → index-99834b8d.js} +0 -0
- /package/build/{index-3d01beb9.js → index-9ec7a152.js} +0 -0
- /package/build/{index-4cac7c29.js → index-d3ee5b19.js} +0 -0
- /package/build/{index-650dd3c0.js → index-e6af4610.js} +0 -0
- /package/build/{index-2193dd3d.js → index-fe1844ea.js} +0 -0
- /package/build/{index.styles-5ea3e194.js → index.styles-cb786859.js} +0 -0
- /package/build/{localizeNumberFormat-163d8505.js → localizeNumberFormat-63e33fcd.js} +0 -0
- /package/build/{normalizeLink-744086e1.js → normalizeLink-2d9e4263.js} +0 -0
- /package/build/{number-fc662762.js → number-35f3e68f.js} +0 -0
- /package/build/{paths-3fe516a0.js → paths-95a8bcbe.js} +0 -0
- /package/build/{shared-bf743bec.js → shared-b5dd4ebe.js} +0 -0
- /package/build/{translationsContext-63f9475c.js → translationsContext-f7171033.js} +0 -0
- /package/build/{tslib.es6-b8ed19ca.js → tslib.es6-23ee393d.js} +0 -0
- /package/build/{types-5299e7aa.js → types-79ede9c1.js} +0 -0
- /package/build/{types-dbe51e36.js → types-d7711350.js} +0 -0
- /package/build/{useOutsideClick-830d0ef0.js → useOutsideClick-742ba261.js} +0 -0
- /package/build/{useScrollbarSize-a7ca29c4.js → useScrollbarSize-78521a3f.js} +0 -0
- /package/build/{useUniqueId-ded8627b.js → useUniqueId-52e6f76d.js} +0 -0
- /package/build/{utils-1ddb71a3.js → utils-2cdd5fb0.js} +0 -0
- /package/build/{utils-7b13808f.js → utils-5d61c1bc.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-649ac860.js';
|
|
3
|
+
import { T as Text } from './index-f3039502.js';
|
|
4
|
+
import { P as PillCarousel } from './index-b91873a4.js';
|
|
5
|
+
import { u as useTranslations } from './index-36070e8a.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-389ca966.js';
|
|
9
|
+
import { a as useOutsideClick } from './useOutsideClick-6a06a79e.js';
|
|
10
10
|
import styled from '@emotion/styled';
|
|
11
|
-
import { _ as __rest } from './tslib.es6-
|
|
11
|
+
import { _ as __rest } from './tslib.es6-21073c93.js';
|
|
12
12
|
import '@mantine/core';
|
|
13
|
-
import './index-
|
|
14
|
-
import './index-
|
|
15
|
-
import './Locale-
|
|
16
|
-
import './index-
|
|
13
|
+
import './index-d7e6093a.js';
|
|
14
|
+
import './index-157ac67c.js';
|
|
15
|
+
import './Locale-8aeb6d32.js';
|
|
16
|
+
import './index-37e16100.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-0ba6e582.js';
|
|
20
|
+
import './utils-0c1f4154.js';
|
|
21
|
+
import './index-9f068e82.js';
|
|
22
|
+
import './index-cd656759.js';
|
|
23
23
|
import '@hhgtech/icons/other';
|
|
24
24
|
import '@mantine/hooks';
|
|
25
25
|
import '@mantine/carousel';
|
|
26
|
-
import './index-
|
|
26
|
+
import './index-22c474de.js';
|
|
27
27
|
import 'dayjs';
|
|
28
28
|
import '@mantine/notifications';
|
|
29
|
-
import './index-
|
|
29
|
+
import './index-cdc53951.js';
|
|
30
30
|
import 'date-fns/locale';
|
|
31
31
|
import './constantsSite.js';
|
|
32
32
|
import './constantsRiskScreener.js';
|
|
33
|
-
import './shared-
|
|
33
|
+
import './shared-bc0427be.js';
|
|
34
34
|
import 'classnames';
|
|
35
35
|
import 'uuid';
|
|
36
|
-
import './useUniqueId-
|
|
36
|
+
import './useUniqueId-65a759d1.js';
|
|
37
37
|
import '@emotion/react';
|
|
38
38
|
import '@hhgtech/icons/core';
|
|
39
|
-
import './index-
|
|
39
|
+
import './index-be940957.js';
|
|
40
40
|
import '@mantine/dates';
|
|
41
|
-
import './index.styles-
|
|
42
|
-
import './translationsContext-
|
|
43
|
-
import './index-
|
|
41
|
+
import './index.styles-0a7b8af0.js';
|
|
42
|
+
import './translationsContext-9687e179.js';
|
|
43
|
+
import './index-e28977c2.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-21073c93.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-cd656759.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-faa0c8a9.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-cdc53951.js';
|
|
10
|
+
import { L as LogoIcon } from './logoIcon-eafea823.js';
|
|
11
|
+
import { B as Button } from './index-be940957.js';
|
|
12
|
+
import { M as Modal } from './index-87e6d4d7.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-157ac67c.js';
|
|
16
|
+
import { C as CommonGAssets } from './index-37e16100.js';
|
|
17
|
+
import { s as showNotification } from './index-22c474de.js';
|
|
18
|
+
import { T as Text } from './index-f3039502.js';
|
|
19
|
+
import './index-d7e6093a.js';
|
|
20
|
+
import { u as useTranslations } from './index-36070e8a.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-0c1f4154.js';
|
|
23
|
+
import './index-e28977c2.js';
|
|
24
|
+
import { L as LOCALE } from './Locale-8aeb6d32.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-16651a70.js';
|
|
26
|
+
export { u as useSSOV2Store } from './store-16651a70.js';
|
|
27
|
+
import { I as ImageWrap, u as useScreenSize } from './index-0ba6e582.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-d1d6192f.js';
|
|
29
|
+
import { G as Google, F as Facebook } from './Google-4e1d0b33.js';
|
|
30
|
+
import { i as isFeatureWhatsAppEnabled, a as isFeatureZaloEnabled, b as isFeatureSMSEnabled, c as isSupportProduct } from './utils-01d7bd5f.js';
|
|
31
|
+
export { g as getURLwithSSOTracking } from './utils-01d7bd5f.js';
|
|
32
|
+
import { S as Spoiler } from './index-00c1029f.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-2e4a3855.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-258a0f64.js';
|
|
47
47
|
import '@mantine/carousel';
|
|
48
48
|
import './miscTheme.js';
|
|
49
|
-
import './shared-
|
|
49
|
+
import './shared-bc0427be.js';
|
|
50
50
|
import 'uuid';
|
|
51
|
-
import './useUniqueId-
|
|
51
|
+
import './useUniqueId-65a759d1.js';
|
|
52
52
|
import './constantsSite.js';
|
|
53
53
|
import '@emotion/react';
|
|
54
|
-
import './normalizeLink-
|
|
54
|
+
import './normalizeLink-233a9807.js';
|
|
55
55
|
import 'date-fns/locale';
|
|
56
56
|
import './constantsRiskScreener.js';
|
|
57
|
-
import './index.styles-
|
|
57
|
+
import './index.styles-0a7b8af0.js';
|
|
58
58
|
import '@mantine/notifications';
|
|
59
|
-
import './translationsContext-
|
|
59
|
+
import './translationsContext-9687e179.js';
|
|
60
60
|
import 'zustand';
|
|
61
|
-
import './healthTools-
|
|
61
|
+
import './healthTools-587af33d.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
|
+
? yield resendUpdatePhoneWhatsAppOTP(phoneNumber, areaCode)
|
|
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:
|