@hhgtech/hhg-components 1.29.567-beta-2 → 1.29.568
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-16952a6c.js → InputDate-5d68d6d6.js} +8 -8
- package/build/{LastPeriod-3e72cc10.js → LastPeriod-85373df2.js} +1 -1
- package/build/{MobileBottomNavigationIcon-28dd33ab.js → MobileBottomNavigationIcon-f90b397b.js} +3 -3
- package/build/{SiteWideBanner-47cc1c7d.js → SiteWideBanner-c3a3aa9c.js} +13 -13
- package/build/{Spinner-d03ec234.js → Spinner-89b1408f.js} +1 -1
- package/build/{WhatsApp-264e0c50.js → WhatsApp-61c7eb4a.js} +1 -1
- package/build/adapters.js +20 -20
- package/build/appearance-a27c939a.js +38 -0
- package/build/atoms.js +53 -58
- package/build/babyGrowth.js +86 -85
- package/build/cache.js +2 -2
- package/build/care.js +21 -21
- package/build/careBookingSearchBar.js +13 -13
- package/build/careBookingSearchBarV2.js +18 -18
- package/build/components/atoms/datePickerV2/DatePickerInput.d.ts +5 -6
- package/build/components/atoms/datePickerV2/date-picker-v2-calendar-panel.d.ts +11 -0
- package/build/components/atoms/datePickerV2/helpers.d.ts +27 -29
- package/build/components/atoms/datePickerV2/index.d.ts +4 -8
- package/build/components/atoms/datePickerV2/index.styled.d.ts +18 -6
- package/build/components/mantine/datepicker/appearance.d.ts +35 -0
- package/build/components/molecules/datePicker/helpers.d.ts +2 -0
- package/build/components.js +111 -116
- package/build/{constants-ad043b51.js → constants-7f21df7a.js} +1 -1
- package/build/{constants-541de17c.js → constants-a29cfde7.js} +1 -1
- package/build/constants.js +2 -2
- package/build/constantsRiskScreener.js +1 -1
- package/build/constantsSite.js +1 -1
- package/build/{core-f24c1352.js → core-addaef80.js} +1 -1
- package/build/{dataTransform-b774a32c.js → dataTransform-c3845bc5.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-67cb8bf3.js → editor-b009232c.js} +11 -11
- package/build/embeddedHeathToolCards_babyGrowth.js +25 -24
- package/build/embeddedHeathToolCards_babyPoop.js +21 -21
- package/build/embeddedHeathToolCards_babyVaccine.js +25 -27
- package/build/embeddedHeathToolCards_bmi_bmi.js +28 -28
- package/build/embeddedHeathToolCards_bmrBmr.js +28 -28
- package/build/embeddedHeathToolCards_dueDate_dueDate.js +25 -27
- package/build/embeddedHeathToolCards_helpers.js +2 -2
- package/build/embeddedHeathToolCards_ovulation_ovulation.js +25 -27
- package/build/embeddedHeathToolCards_pwg_pwg.js +27 -27
- package/build/embeddedHeathToolCards_targetHeartRate.js +30 -32
- package/build/esm/{InputDate-586a5896.js → InputDate-250b5c0b.js} +7 -7
- package/build/esm/{LastPeriod-22c39fab.js → LastPeriod-a17abf30.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-5a352482.js → MobileBottomNavigationIcon-5d4e2233.js} +3 -3
- package/build/esm/{SiteWideBanner-f4706c43.js → SiteWideBanner-afa64073.js} +13 -13
- package/build/esm/{Spinner-a77c1e1e.js → Spinner-b09419c7.js} +1 -1
- package/build/esm/{WhatsApp-a73993e8.js → WhatsApp-1287d4f0.js} +1 -1
- package/build/esm/adapters.js +20 -20
- package/build/esm/appearance-dbbab6fd.js +33 -0
- package/build/esm/atoms.js +53 -55
- package/build/esm/babyGrowth.js +86 -85
- package/build/esm/cache.js +2 -2
- package/build/esm/care.js +21 -21
- package/build/esm/careBookingSearchBar.js +13 -13
- package/build/esm/careBookingSearchBarV2.js +18 -18
- package/build/esm/components/atoms/datePickerV2/DatePickerInput.d.ts +5 -6
- package/build/esm/components/atoms/datePickerV2/date-picker-v2-calendar-panel.d.ts +11 -0
- package/build/esm/components/atoms/datePickerV2/helpers.d.ts +27 -29
- package/build/esm/components/atoms/datePickerV2/index.d.ts +4 -8
- package/build/esm/components/atoms/datePickerV2/index.styled.d.ts +18 -6
- package/build/esm/components/mantine/datepicker/appearance.d.ts +35 -0
- package/build/esm/components/molecules/datePicker/helpers.d.ts +2 -0
- package/build/esm/components.js +111 -113
- package/build/esm/{constants-f3655eec.js → constants-2e283292.js} +1 -1
- package/build/esm/{constants-01414f26.js → constants-623de0b8.js} +1 -1
- package/build/esm/constants.js +2 -2
- package/build/esm/constantsRiskScreener.js +1 -1
- package/build/esm/constantsSite.js +1 -1
- package/build/esm/{core-1df026e9.js → core-a0f7910b.js} +1 -1
- package/build/esm/{dataTransform-6f608409.js → dataTransform-a7b68923.js} +1 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-2cfeaf6d.js → editor-d110203d.js} +11 -11
- package/build/esm/embeddedHeathToolCards_babyGrowth.js +25 -24
- package/build/esm/embeddedHeathToolCards_babyPoop.js +21 -21
- package/build/esm/embeddedHeathToolCards_babyVaccine.js +25 -27
- package/build/esm/embeddedHeathToolCards_bmi_bmi.js +28 -28
- package/build/esm/embeddedHeathToolCards_bmrBmr.js +28 -28
- package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +25 -27
- package/build/esm/embeddedHeathToolCards_helpers.js +2 -2
- package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +25 -27
- package/build/esm/embeddedHeathToolCards_pwg_pwg.js +27 -27
- package/build/esm/embeddedHeathToolCards_targetHeartRate.js +30 -32
- package/build/esm/footer.js +22 -22
- package/build/esm/gAssets.js +1 -1
- package/build/esm/{healthTools-d7f4ff5c.js → healthTools-f9efbce2.js} +1 -1
- package/build/esm/healthToolsCardWrapper.js +19 -19
- package/build/esm/healthToolsForm.js +42 -44
- package/build/esm/{helpers-b7e5bd81.js → helpers-37cb0fbf.js} +1 -1
- package/build/esm/hooks.js +14 -14
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-5baf0f98.js → index-1704be2b.js} +17 -17
- package/build/esm/{index-411399cd.js → index-172386b5.js} +1 -1
- package/build/esm/{index-b5c54bb4.js → index-18ca80de.js} +34 -34
- package/build/esm/{index-34135bb0.js → index-1928de3a.js} +3 -3
- package/build/esm/{index-88974c03.js → index-192a738d.js} +2 -2
- package/build/esm/{index-dbcc3c14.js → index-19f4b5e8.js} +29 -29
- package/build/esm/{index-30e94681.js → index-1a26a66f.js} +3 -3
- package/build/esm/{index-093c24d3.js → index-1bd2415d.js} +14 -14
- package/build/esm/{index-24585de3.js → index-2473ae33.js} +6 -6
- package/build/esm/{index-273416c0.js → index-260fb6cf.js} +1 -1
- package/build/esm/{index-1cfaf6b1.js → index-2d241660.js} +2 -2
- package/build/esm/{index-6297d26a.js → index-324caf19.js} +2 -2
- package/build/esm/{index-c5b0ed29.js → index-32d38856.js} +26 -40
- package/build/esm/{index-ae8af2d0.js → index-363374f6.js} +2 -2
- package/build/esm/{index-384d2069.js → index-3bcf9113.js} +16 -16
- package/build/esm/{index-f6ba0de2.js → index-3da3e3bb.js} +2 -2
- package/build/esm/{index-9ae3c9fb.js → index-3db50781.js} +2 -2
- package/build/esm/{index-f39f5739.js → index-3eb6af56.js} +3 -3
- package/build/esm/{index-aaecac13.js → index-3f5230a0.js} +4 -4
- package/build/esm/{index-1aaa109b.js → index-418426ed.js} +6 -6
- package/build/esm/index-423288a4.js +662 -0
- package/build/esm/{index-ec0a9dce.js → index-46f400b5.js} +19 -19
- package/build/esm/{index-90c848b1.js → index-4a6c8eed.js} +1 -1
- package/build/esm/{index-fe942a24.js → index-4c3b4f92.js} +15 -15
- package/build/esm/{index-f4cac6eb.js → index-4dc1b46c.js} +2 -2
- package/build/esm/{index-ed3aa604.js → index-5137b582.js} +13 -13
- package/build/esm/{index-e8323d0a.js → index-52bc4262.js} +2 -2
- package/build/esm/{index-a0d66146.js → index-52bc69ac.js} +17 -17
- package/build/esm/{index-6a22b9dc.js → index-59dbaf55.js} +2 -2
- package/build/esm/{index-9413b8c5.js → index-5ae285bc.js} +3 -3
- package/build/esm/{index-a3a6aab0.js → index-5c32b0b1.js} +7 -7
- package/build/esm/{index-c7fe4937.js → index-5d3ea2b7.js} +9 -9
- package/build/esm/{index-4300330d.js → index-62c9b6cc.js} +19 -19
- package/build/esm/{index-1a8ab504.js → index-637e50e3.js} +2 -2
- package/build/esm/{index-3c4fec9b.js → index-651116e3.js} +2 -2
- package/build/esm/{index-7a4566db.js → index-66640bd9.js} +5 -5
- package/build/esm/{index-428ba4d3.js → index-6a8c9fd4.js} +1 -1
- package/build/esm/{index-70ef7c5f.js → index-76e81932.js} +16 -16
- package/build/esm/{index-8b09633f.js → index-7d775123.js} +17 -17
- package/build/esm/{index-22fb7341.js → index-7df2e7a0.js} +2 -2
- package/build/esm/{index-8eb4deb4.js → index-7f977e99.js} +8 -12
- package/build/esm/{index-d88ecf7d.js → index-84f8ebe6.js} +2 -2
- package/build/esm/{index-d84646ca.js → index-8533afdc.js} +14 -14
- package/build/esm/{index-190c1c3b.js → index-85d32439.js} +13 -13
- package/build/esm/{index-d802036f.js → index-87efada6.js} +7 -7
- package/build/esm/{index-2f657683.js → index-891c1f0a.js} +22 -22
- package/build/esm/{index-9896f62b.js → index-8b7063c4.js} +31 -31
- package/build/esm/{index-ebf61ce7.js → index-8b96ad24.js} +3 -3
- package/build/esm/{index-3a0023d0.js → index-9331eda1.js} +17 -17
- package/build/esm/{index-6cc59c36.js → index-9696667e.js} +13 -13
- package/build/esm/{index-37df6ffc.js → index-a2f8bb0f.js} +1 -1
- package/build/esm/{index-028c41b1.js → index-a4df53ae.js} +21 -21
- package/build/esm/{index-78e9e154.js → index-ab4aaff2.js} +1 -1
- package/build/esm/{index-d215f536.js → index-b0d5ea7e.js} +3 -3
- package/build/esm/{index-8cfb5acc.js → index-b2b26704.js} +31 -31
- package/build/esm/{index-0a708dbe.js → index-b5e36f70.js} +2 -2
- package/build/esm/{index-6432d682.js → index-ba5ecb39.js} +12 -12
- package/build/esm/{index-cdf46754.js → index-c0e0068b.js} +3 -3
- package/build/esm/{index-e376abd2.js → index-c4916bf8.js} +1 -1
- package/build/esm/{index-7a971531.js → index-cfda0787.js} +2 -2
- package/build/esm/{index-e2c9da23.js → index-d1298e2c.js} +17 -17
- package/build/esm/{index-9e35d4be.js → index-d16048f7.js} +18 -18
- package/build/esm/{index-77f9376e.js → index-d40cbd71.js} +16 -16
- package/build/esm/{index-bd7d0f9d.js → index-d622adb7.js} +3 -3
- package/build/esm/{index-f9a0d18c.js → index-d8b25794.js} +2 -2
- package/build/esm/{index-4a9c0b10.js → index-dc773182.js} +6 -6
- package/build/esm/{index-5167a9e1.js → index-e1d5ddcd.js} +5 -5
- package/build/esm/{index-e0ae8e85.js → index-e40de511.js} +7 -7
- package/build/esm/{index-aac21bd6.js → index-e4197fec.js} +2 -2
- package/build/esm/{index-6ff4ad0e.js → index-e57e7dcb.js} +7 -7
- package/build/esm/{index-7c8ab7f0.js → index-ecd088c2.js} +2 -2
- package/build/esm/{index-a3ad0876.js → index-f39666b9.js} +20 -20
- package/build/esm/{index-b4d87247.js → index-fe6c0be6.js} +24 -24
- package/build/esm/index.js +131 -133
- package/build/esm/{labelSorting-ef362cb4.js → labelSorting-fd6b3bdd.js} +4 -4
- package/build/esm/lead/LeadGenTranslationContext.d.ts +1 -4
- package/build/esm/lead/i18n/index.d.ts +1 -1
- package/build/esm/lead/index.d.ts +40 -2
- package/build/esm/lead.js +5674 -642
- package/build/esm/{logoIcon-b3648dab.js → logoIcon-9e4048be.js} +2 -2
- package/build/esm/mantine.js +27 -26
- package/build/esm/misc.js +17 -17
- package/build/esm/miscGetDynamicHealthTool.js +3 -3
- package/build/esm/miscGetSocialList.js +6 -6
- 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 +86 -88
- package/build/esm/moleculesArticleCard.js +5 -5
- package/build/esm/moleculesArticleCardV2.js +17 -17
- package/build/esm/navigation.js +50 -50
- package/build/esm/navigationLogoutPopup.js +10 -10
- package/build/esm/navigationProfileButton.js +26 -26
- package/build/esm/onboardingV2.js +30 -29
- package/build/esm/organisms.js +63 -63
- package/build/esm/{post-f85200c5.js → post-e60bccc1.js} +2 -2
- package/build/esm/profileNavigation.js +19 -19
- package/build/esm/progressBar.js +1 -1
- package/build/esm/pwg.js +22 -22
- package/build/esm/ssoV2/api/index.d.ts +2 -4
- package/build/esm/ssoV2.js +46 -46
- package/build/esm/{store-a7a5c8e6.js → store-a91c686d.js} +3 -4
- package/build/esm/subot/index.d.ts +0 -1
- package/build/esm/subot/subotInline/index.d.ts +1 -1
- package/build/esm/subot/subotInline/subotInline.config.d.ts +0 -3
- package/build/esm/subot/subotInlineRevamp/context.d.ts +1 -1
- package/build/esm/subot/subotInlineRevamp/types.d.ts +0 -12
- package/build/esm/subot/subotInlineRevamp/utils.d.ts +2 -4
- package/build/esm/subot.js +70 -107
- package/build/esm/surveyOrPremiumBanner.js +33 -33
- package/build/esm/surveyQuestionCard.js +11 -11
- package/build/esm/{surveyThankyouCard-e47097fc.js → surveyThankyouCard-ddbdf7aa.js} +5 -5
- package/build/esm/together.js +57 -57
- package/build/esm/togetherApiUtils.js +6 -6
- package/build/esm/togetherAtoms.js +30 -30
- package/build/esm/togetherComponentGlobalContext.js +6 -6
- package/build/esm/togetherMolecules.js +51 -51
- package/build/esm/togetherMoleculesCardAuthor.js +28 -28
- package/build/esm/togetherMoleculesPostImagePreview.js +13 -13
- package/build/esm/togetherMoleculesProfileDetail.js +39 -39
- package/build/esm/togetherOrganisms.js +50 -50
- package/build/esm/togetherRichTextEditor.js +20 -20
- package/build/esm/togetherShareBox.js +12 -12
- package/build/esm/{transform-1e45f8cf.js → transform-dc32a084.js} +40 -168
- package/build/esm/{translationsProvider-46a9b414.js → translationsProvider-21671cda.js} +1 -1
- package/build/esm/{treePopoverMenu-108cbbd7.js → treePopoverMenu-9213f85e.js} +18 -18
- package/build/esm/{types-cc6fa8ec.js → types-b3a90d44.js} +1 -1
- package/build/esm/types.js +1 -1
- package/build/esm/{useCartCareService-bf840ca9.js → useCartCareService-69ffd9c2.js} +1 -1
- package/build/esm/{useHealthToolCache-06ab9bab.js → useHealthToolCache-fe96bece.js} +1 -1
- package/build/esm/{usePhoneValidator-fdf69560.js → usePhoneValidator-8d506a04.js} +4 -4
- package/build/esm/{usePlacesAutocomplete-b2cd114b.js → usePlacesAutocomplete-ea37f364.js} +1 -1
- package/build/esm/{useResolvedCaptureUrls-b6a4c452.js → useResolvedCaptureUrls-77d05a0b.js} +1 -1
- package/build/esm/useTogetherAuthRequiredAction.js +9 -9
- package/build/esm/{utils-5a68a1b0.js → utils-0583a8a5.js} +2 -2
- package/build/esm/{utils-6dad1238.js → utils-2b7fd2a2.js} +1 -1
- package/build/esm/{utils-7ae1ea3d.js → utils-a443dbca.js} +4 -4
- package/build/esm/{utils-91bb99ef.js → utils-e4655d57.js} +5 -5
- package/build/esm/{utils-ecf18619.js → utils-f810db6c.js} +4 -4
- package/build/esm/vaccination.js +22 -21
- package/build/footer.js +22 -22
- package/build/gAssets.js +1 -1
- package/build/{healthTools-396edb10.js → healthTools-7569edd0.js} +1 -1
- package/build/healthToolsCardWrapper.js +19 -19
- package/build/healthToolsForm.js +42 -44
- package/build/{helpers-a331ad64.js → helpers-05cbcb94.js} +1 -1
- package/build/hooks.js +14 -14
- package/build/i18n.js +2 -2
- package/build/i18nV2.js +1 -1
- package/build/{index-3a7d4f2e.js → index-01c166dc.js} +5 -5
- package/build/{index-792cdbcc.js → index-034fa8ee.js} +6 -6
- package/build/{index-d76b9c69.js → index-04253a71.js} +3 -3
- package/build/{index-8dba5040.js → index-045a912c.js} +1 -1
- package/build/{index-7c45e8fb.js → index-080d0976.js} +1 -1
- package/build/{index-62d4d236.js → index-0b6fdcc5.js} +24 -24
- package/build/{index-7fbb2a87.js → index-0bc29f2a.js} +2 -2
- package/build/{index-5346f94a.js → index-0c636ec3.js} +17 -17
- package/build/{index-a11e2981.js → index-0cea9486.js} +14 -14
- package/build/{index-aeb128a9.js → index-0f0cdd25.js} +16 -16
- package/build/{index-6e690d2d.js → index-14e36716.js} +3 -3
- package/build/{index-7d42a4af.js → index-17f2d09d.js} +20 -20
- package/build/{index-16af7f18.js → index-1b17d3e9.js} +3 -3
- package/build/{index-445c9a53.js → index-2d8be724.js} +1 -1
- package/build/{index-724a968a.js → index-317e2e05.js} +2 -2
- package/build/{index-db0dbf62.js → index-31bf3972.js} +2 -2
- package/build/{index-8981d733.js → index-32e06ac3.js} +2 -2
- package/build/{index-ed628694.js → index-3a8d1456.js} +2 -2
- package/build/{index-5b631551.js → index-3e8f6fde.js} +2 -2
- package/build/{index-f02323ca.js → index-3f09b3f4.js} +14 -14
- package/build/{index-a5b6ec13.js → index-4298694e.js} +2 -2
- package/build/{index-edb96b9e.js → index-4456aec4.js} +3 -3
- package/build/{index-691519e5.js → index-44e516db.js} +1 -1
- package/build/{index-e463fca5.js → index-45a7081c.js} +4 -4
- package/build/{index-f7dee6e0.js → index-47b4e43f.js} +2 -2
- package/build/{index-db47483b.js → index-49e4519c.js} +17 -17
- package/build/{index-3d981ed3.js → index-4a3957b4.js} +9 -9
- package/build/{index-438001e7.js → index-4f140233.js} +22 -22
- package/build/{index-aba5f27c.js → index-554cf58e.js} +31 -31
- package/build/{index-2dbf0a9b.js → index-58aebfd7.js} +1 -1
- package/build/{index-385b3050.js → index-5d1f83d7.js} +13 -13
- package/build/{index-4618264d.js → index-60704ab2.js} +8 -8
- package/build/{index-9f4ce9f4.js → index-615d5147.js} +2 -2
- package/build/{index-62bdd6b8.js → index-654bb60c.js} +25 -40
- package/build/{index-ec8a3677.js → index-6a05002d.js} +17 -17
- package/build/{index-9f8bcb30.js → index-6a9ca749.js} +1 -1
- package/build/{index-c68a7eb6.js → index-6af39013.js} +3 -3
- package/build/{index-98abef60.js → index-6be417d7.js} +7 -7
- package/build/{index-7433da7a.js → index-6c010755.js} +2 -2
- package/build/{index-3bbe389c.js → index-70d29c35.js} +16 -16
- package/build/{index-e508e6cb.js → index-74cf773b.js} +2 -2
- package/build/{index-5022244d.js → index-7831cf1c.js} +2 -2
- package/build/{index-e609356a.js → index-7f80ff7c.js} +34 -34
- package/build/{index-e0d724d1.js → index-80ecd48b.js} +2 -2
- package/build/{index-a14a82f8.js → index-916c7c7c.js} +3 -3
- package/build/{index-24f1439c.js → index-91a961cc.js} +30 -30
- package/build/{index-e66f78e2.js → index-925b1654.js} +31 -31
- package/build/{index-b7a8f9d8.js → index-98585708.js} +17 -17
- package/build/{index-dc334bad.js → index-9ca6eeaa.js} +7 -7
- package/build/{index-6bd5d1da.js → index-9cf8185d.js} +2 -2
- package/build/{index-a1f6accb.js → index-9dde5684.js} +14 -14
- package/build/{index-cb832e8d.js → index-a39f96ba.js} +12 -12
- package/build/{index-e2e3ce61.js → index-a54f14c5.js} +18 -18
- package/build/{index-5b630715.js → index-b136e505.js} +7 -7
- package/build/{index-84e5d4d6.js → index-b63e2afb.js} +6 -6
- package/build/{index-3b5d891f.js → index-b6693f0b.js} +21 -21
- package/build/{index-80b3cf2c.js → index-bfefd586.js} +2 -2
- package/build/{index-50bc68b4.js → index-c2ccd683.js} +3 -3
- package/build/{index-6e54e26b.js → index-c52715a6.js} +3 -3
- package/build/{index-6726aca7.js → index-c559f257.js} +8 -12
- package/build/{index-c0a43f81.js → index-ca3bde17.js} +7 -7
- package/build/{index-9d6f439c.js → index-d3037720.js} +13 -13
- package/build/{index-6648513a.js → index-da9d0ac9.js} +16 -16
- package/build/{index-fd06cb15.js → index-db698e79.js} +5 -5
- package/build/{index-ae61f8e4.js → index-e0a7197e.js} +20 -20
- package/build/{index-95ae31d3.js → index-e6e864d8.js} +2 -2
- package/build/{index-b3e883f9.js → index-e777aeaa.js} +2 -2
- package/build/index-ec4abfbf.js +672 -0
- package/build/{index-aad16cda.js → index-f00ab0b5.js} +2 -2
- package/build/{index-1512f07f.js → index-f6a15a45.js} +15 -15
- package/build/{index-6be309f8.js → index-fad95c19.js} +17 -17
- package/build/{index-04512593.js → index-fd6199fa.js} +19 -19
- package/build/{index-1669687a.js → index-ff5ade81.js} +1 -1
- package/build/index.js +131 -136
- package/build/{labelSorting-1844c416.js → labelSorting-68fca354.js} +4 -4
- package/build/lead/LeadGenTranslationContext.d.ts +1 -4
- package/build/lead/i18n/index.d.ts +1 -1
- package/build/lead/index.d.ts +40 -2
- package/build/lead.js +5704 -652
- package/build/{logoIcon-6f5f5693.js → logoIcon-4b39d3b4.js} +2 -2
- package/build/mantine.js +25 -24
- package/build/misc.js +17 -17
- package/build/miscGetDynamicHealthTool.js +3 -3
- package/build/miscGetSocialList.js +6 -6
- package/build/miscScreenSizeContext.js +1 -1
- package/build/mobileBottomNavigation.js +5 -5
- package/build/mobileBottomNavigationIcon.js +5 -5
- package/build/molecules.js +86 -88
- package/build/moleculesArticleCard.js +5 -5
- package/build/moleculesArticleCardV2.js +17 -17
- package/build/navigation.js +50 -50
- package/build/navigationLogoutPopup.js +10 -10
- package/build/navigationProfileButton.js +26 -26
- package/build/onboardingV2.js +29 -28
- package/build/organisms.js +63 -63
- package/build/{post-c7c1e562.js → post-15bd776a.js} +2 -2
- package/build/profileNavigation.js +19 -19
- package/build/progressBar.js +1 -1
- package/build/pwg.js +22 -22
- package/build/ssoV2/api/index.d.ts +2 -4
- package/build/ssoV2.js +44 -44
- package/build/{store-5d9e3ee8.js → store-57ae262f.js} +3 -4
- package/build/subot/index.d.ts +0 -1
- package/build/subot/subotInline/index.d.ts +1 -1
- package/build/subot/subotInline/subotInline.config.d.ts +0 -3
- package/build/subot/subotInlineRevamp/context.d.ts +1 -1
- package/build/subot/subotInlineRevamp/types.d.ts +0 -12
- package/build/subot/subotInlineRevamp/utils.d.ts +2 -4
- package/build/subot.js +70 -107
- package/build/surveyOrPremiumBanner.js +33 -33
- package/build/surveyQuestionCard.js +11 -11
- package/build/{surveyThankyouCard-f3b256da.js → surveyThankyouCard-135dd168.js} +5 -5
- package/build/together.js +57 -57
- package/build/togetherApiUtils.js +6 -6
- package/build/togetherAtoms.js +30 -30
- package/build/togetherComponentGlobalContext.js +6 -6
- package/build/togetherMolecules.js +51 -51
- package/build/togetherMoleculesCardAuthor.js +28 -28
- package/build/togetherMoleculesPostImagePreview.js +13 -13
- package/build/togetherMoleculesProfileDetail.js +39 -39
- package/build/togetherOrganisms.js +50 -50
- package/build/togetherRichTextEditor.js +20 -20
- package/build/togetherShareBox.js +12 -12
- package/build/{transform-baa2ac38.js → transform-949182ae.js} +99 -227
- package/build/{translationsProvider-69eb57aa.js → translationsProvider-3f3154a0.js} +1 -1
- package/build/{treePopoverMenu-6612e89a.js → treePopoverMenu-14922469.js} +18 -18
- package/build/{types-bd3b6910.js → types-f0f8c59d.js} +1 -1
- package/build/types.js +1 -1
- package/build/{useCartCareService-1103ff1b.js → useCartCareService-c146c47b.js} +1 -1
- package/build/{useHealthToolCache-35adcd47.js → useHealthToolCache-9c55a48e.js} +1 -1
- package/build/{usePhoneValidator-7397c4bd.js → usePhoneValidator-d114aece.js} +4 -4
- package/build/{usePlacesAutocomplete-b8dc2910.js → usePlacesAutocomplete-1de0fbd1.js} +1 -1
- package/build/{useResolvedCaptureUrls-9ec7d3df.js → useResolvedCaptureUrls-63ca6511.js} +1 -1
- package/build/useTogetherAuthRequiredAction.js +9 -9
- package/build/{utils-9c054e84.js → utils-0721a73b.js} +4 -4
- package/build/{utils-01b50016.js → utils-12d0806a.js} +1 -1
- package/build/{utils-1ee79a65.js → utils-9b548c3d.js} +4 -4
- package/build/{utils-fdd642d2.js → utils-aaa8edf3.js} +5 -5
- package/build/{utils-46affe8a.js → utils-cb5ea10f.js} +2 -2
- package/build/vaccination.js +22 -21
- package/package.json +6 -4
- package/build/LeadGenCore-18dafb12.js +0 -5131
- package/build/components/atoms/datePickerV2/Calendar.d.ts +0 -6
- package/build/esm/LeadGenCore-da4c032b.js +0 -5092
- package/build/esm/components/atoms/datePickerV2/Calendar.d.ts +0 -6
- package/build/esm/index-ac25de08.js +0 -543
- package/build/esm/lead/LeadGenCore.d.ts +0 -75
- package/build/esm/lead/LeadGenSlim.d.ts +0 -33
- package/build/esm/lead/i18n/leadTranslations.d.ts +0 -6
- package/build/esm/leadSlim.d.ts +0 -1
- package/build/esm/leadSlim.js +0 -74
- package/build/index-362cc312.js +0 -574
- package/build/lead/LeadGenCore.d.ts +0 -75
- package/build/lead/LeadGenSlim.d.ts +0 -33
- package/build/lead/i18n/leadTranslations.d.ts +0 -6
- package/build/leadSlim.d.ts +0 -1
- package/build/leadSlim.js +0 -82
- /package/build/{BMI_BOYS.percentile.monthly-6a330e16.js → BMI_BOYS.percentile.monthly-346a065a.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-c6133977.js → BMI_BOYS.percentile.weekly-08923aa5.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-f22b9a99.js → BMI_BOYS.percentile.yearly-a271f74f.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-dc2486fa.js → BMI_BOYS.zscore.monthly-9d036871.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-19b62836.js → BMI_BOYS.zscore.weekly-50b1b8e2.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-01063821.js → BMI_BOYS.zscore.yearly-e27ca6cf.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-ec895112.js → BMI_GIRLS.percentile.monthly-c92ff670.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-23bf80f0.js → BMI_GIRLS.percentile.weekly-0473116c.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-f8123ae9.js → BMI_GIRLS.percentile.yearly-b781b97c.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-9e831f45.js → BMI_GIRLS.zscore.monthly-6e079ce6.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-752ae2f3.js → BMI_GIRLS.zscore.weekly-cd4574b0.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-28b081e2.js → BMI_GIRLS.zscore.yearly-d9c6aa74.js} +0 -0
- /package/build/{ChevronDown-0aa6dab7.js → ChevronDown-a1cba1b6.js} +0 -0
- /package/build/{Google-7c552369.js → Google-fc1ac514.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-79b9ec01.js → HEAD CIRCUM_BOYS.percentile.monthly-1aacb73f.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-5e4c6be5.js → HEAD CIRCUM_BOYS.percentile.weekly-43484041.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-bf74f892.js → HEAD CIRCUM_BOYS.percentile.yearly-9e784237.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-19207efc.js → HEAD CIRCUM_BOYS.zscore.monthly-a52f1123.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-08bfa929.js → HEAD CIRCUM_BOYS.zscore.weekly-1ff53c68.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-2345c472.js → HEAD CIRCUM_BOYS.zscore.yearly-97675e52.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-76d50df9.js → HEAD CIRCUM_GIRLS.percentile.monthly-c80f8cb2.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-88a57331.js → HEAD CIRCUM_GIRLS.percentile.weekly-8c99a35b.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-0fa9d887.js → HEAD CIRCUM_GIRLS.percentile.yearly-6d6692ec.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-5fe68496.js → HEAD CIRCUM_GIRLS.zscore.monthly-f08c2c4c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-a96524dc.js → HEAD CIRCUM_GIRLS.zscore.weekly-ac2c663d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-6d0885ee.js → HEAD CIRCUM_GIRLS.zscore.yearly-5583785e.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-ec61e7ab.js → HEIGHT_BOYS.percentile.monthly-4cfb335e.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-37e83dfe.js → HEIGHT_BOYS.percentile.weekly-b5bb17ac.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-56ad57c3.js → HEIGHT_BOYS.percentile.yearly-9accf3db.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-2b9bd211.js → HEIGHT_BOYS.zscore.monthly-c51c1bf4.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-7c9402ad.js → HEIGHT_BOYS.zscore.weekly-55c8d31f.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-881e5313.js → HEIGHT_BOYS.zscore.yearly-531e01ef.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-1474650a.js → HEIGHT_GIRLS.percentile.monthly-ad344d04.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-2dd9bda4.js → HEIGHT_GIRLS.percentile.weekly-92206181.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-6450d9d0.js → HEIGHT_GIRLS.percentile.yearly-3851b6ff.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-e3331b55.js → HEIGHT_GIRLS.zscore.monthly-6402b905.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-560b2ee0.js → HEIGHT_GIRLS.zscore.weekly-1817a856.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-e43e13e5.js → HEIGHT_GIRLS.zscore.yearly-92f7fc96.js} +0 -0
- /package/build/{Visible-c4aa5635.js → Visible-cb47f4f1.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-6bd2113e.js → WEIGHT_BOYS.percentile.monthly-3db14a13.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-1e9c7d6b.js → WEIGHT_BOYS.percentile.weekly-dee72736.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-0cda9b49.js → WEIGHT_BOYS.percentile.yearly-d20f56af.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-4d25eeeb.js → WEIGHT_BOYS.zscore.monthly-a1d0d1c5.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-0140fc1b.js → WEIGHT_BOYS.zscore.weekly-7533d0a5.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-0058e432.js → WEIGHT_BOYS.zscore.yearly-06efa305.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-6fe7d121.js → WEIGHT_GIRLS.percentile.monthly-0b1d2923.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-60ba0a1f.js → WEIGHT_GIRLS.percentile.weekly-62f7f4b8.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-0f90e388.js → WEIGHT_GIRLS.percentile.yearly-52fa314d.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-db6c5759.js → WEIGHT_GIRLS.zscore.monthly-01922c94.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-53a4dff9.js → WEIGHT_GIRLS.zscore.weekly-52eae952.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-758cb807.js → WEIGHT_GIRLS.zscore.yearly-ad4d2afa.js} +0 -0
- /package/build/{ageGenerate-2c8b68b1.js → ageGenerate-2a66f815.js} +0 -0
- /package/build/{animation-76f354d1.js → animation-563ee89a.js} +0 -0
- /package/build/{constants-13a83424.js → constants-0da283e1.js} +0 -0
- /package/build/{constants-7d1984a4.js → constants-70deeef6.js} +0 -0
- /package/build/{constants-16308d83.js → constants-9b269303.js} +0 -0
- /package/build/{context-3e6914b2.js → context-7832b6e5.js} +0 -0
- /package/build/{dataTransform-a9cab1ad.js → dataTransform-f386ce1b.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-6d2573e9.js → BMI_BOYS.percentile.monthly-848c0c6e.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-505ba25b.js → BMI_BOYS.percentile.weekly-41640ec0.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-dd5889ce.js → BMI_BOYS.percentile.yearly-ee0be92a.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-63ea97fc.js → BMI_BOYS.zscore.monthly-88c094c8.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-34d5c90b.js → BMI_BOYS.zscore.weekly-c334ae43.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-9ef852c6.js → BMI_BOYS.zscore.yearly-4d5bf106.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-9f97272c.js → BMI_GIRLS.percentile.monthly-5a61e45f.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-5d7b2094.js → BMI_GIRLS.percentile.weekly-72cb4b8c.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-0079feed.js → BMI_GIRLS.percentile.yearly-47320043.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-89ddcac7.js → BMI_GIRLS.zscore.monthly-cad52bf7.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-6094b6d3.js → BMI_GIRLS.zscore.weekly-63a4e3e4.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-2102189d.js → BMI_GIRLS.zscore.yearly-e2326065.js} +0 -0
- /package/build/esm/{ChevronDown-a26df514.js → ChevronDown-d440d444.js} +0 -0
- /package/build/esm/{Google-bfb3d6fc.js → Google-db786a0f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-10fcb06c.js → HEAD CIRCUM_BOYS.percentile.monthly-1d8a645b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-80440466.js → HEAD CIRCUM_BOYS.percentile.weekly-21505b75.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-37cef57a.js → HEAD CIRCUM_BOYS.percentile.yearly-a9b60c74.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-d8a45360.js → HEAD CIRCUM_BOYS.zscore.monthly-bc8c3972.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-dad69a86.js → HEAD CIRCUM_BOYS.zscore.weekly-c616433d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-00469046.js → HEAD CIRCUM_BOYS.zscore.yearly-4dcadab8.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-4a98517d.js → HEAD CIRCUM_GIRLS.percentile.monthly-f292f515.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-2c4e29fa.js → HEAD CIRCUM_GIRLS.percentile.weekly-de5c94f1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-8ddc589e.js → HEAD CIRCUM_GIRLS.percentile.yearly-33dc43f3.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-87f9f555.js → HEAD CIRCUM_GIRLS.zscore.monthly-61371a2c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-e2531eb2.js → HEAD CIRCUM_GIRLS.zscore.weekly-4309ed66.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-93bd8fbb.js → HEAD CIRCUM_GIRLS.zscore.yearly-44684044.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-23ea6479.js → HEIGHT_BOYS.percentile.monthly-ee5addd6.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-b6033694.js → HEIGHT_BOYS.percentile.weekly-3d8e08d5.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-ffb40a06.js → HEIGHT_BOYS.percentile.yearly-73565d71.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-da298b9f.js → HEIGHT_BOYS.zscore.monthly-9689cc0f.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-17ff6793.js → HEIGHT_BOYS.zscore.weekly-2f419356.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-b550e028.js → HEIGHT_BOYS.zscore.yearly-f7bdeb14.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-6d0d75f7.js → HEIGHT_GIRLS.percentile.monthly-9e00a3c5.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-e33213c5.js → HEIGHT_GIRLS.percentile.weekly-205dfcc5.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-8a07e212.js → HEIGHT_GIRLS.percentile.yearly-d1d3d7ff.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-d468f95d.js → HEIGHT_GIRLS.zscore.monthly-1d7d4fb4.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-da13cb0e.js → HEIGHT_GIRLS.zscore.weekly-a9050af2.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-9cef635e.js → HEIGHT_GIRLS.zscore.yearly-f6559c1d.js} +0 -0
- /package/build/esm/{Visible-2e90980f.js → Visible-077d0378.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-628bb2a5.js → WEIGHT_BOYS.percentile.monthly-00624424.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-8a3b102d.js → WEIGHT_BOYS.percentile.weekly-dc4ff008.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-0023338e.js → WEIGHT_BOYS.percentile.yearly-6fc15c28.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-85f2e198.js → WEIGHT_BOYS.zscore.monthly-19511a35.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-59fece93.js → WEIGHT_BOYS.zscore.weekly-2473a2f2.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-bf57fbe4.js → WEIGHT_BOYS.zscore.yearly-ab05a4ce.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-e5b5bf35.js → WEIGHT_GIRLS.percentile.monthly-590da89a.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-88107f18.js → WEIGHT_GIRLS.percentile.weekly-d72cf8da.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-48196342.js → WEIGHT_GIRLS.percentile.yearly-5442f9fc.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-a4533131.js → WEIGHT_GIRLS.zscore.monthly-63849f47.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-fc6fa0ab.js → WEIGHT_GIRLS.zscore.weekly-f002ab5c.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-437fe569.js → WEIGHT_GIRLS.zscore.yearly-55081b6e.js} +0 -0
- /package/build/esm/{ageGenerate-b2218e34.js → ageGenerate-b53c4ebb.js} +0 -0
- /package/build/esm/{animation-826e1d58.js → animation-8be7a4de.js} +0 -0
- /package/build/esm/{constants-c079f029.js → constants-5558458c.js} +0 -0
- /package/build/esm/{constants-c212b81a.js → constants-9fa2154a.js} +0 -0
- /package/build/esm/{constants-3bdcd664.js → constants-df7b8411.js} +0 -0
- /package/build/esm/{context-35f52bad.js → context-725b51ab.js} +0 -0
- /package/build/esm/{dataTransform-d23a4e0a.js → dataTransform-2bcea364.js} +0 -0
- /package/build/esm/{index-8507ddd7.js → index-0cd2e9c2.js} +0 -0
- /package/build/esm/{index-7bc5f2f2.js → index-1edeb754.js} +0 -0
- /package/build/esm/{index-403a3eec.js → index-2b4b36f1.js} +0 -0
- /package/build/esm/{index-90972b91.js → index-9a280a73.js} +0 -0
- /package/build/esm/{index-4046ee2e.js → index-a9bd608f.js} +0 -0
- /package/build/esm/{index-1cb17a42.js → index-b2717af7.js} +0 -0
- /package/build/esm/{index-ee6f157b.js → index-d48313f5.js} +0 -0
- /package/build/esm/{index-ec87e8b2.js → index-e16f5a94.js} +0 -0
- /package/build/esm/{index-2b42049a.js → index-ead19745.js} +0 -0
- /package/build/esm/{index.styles-7597a44e.js → index.styles-622a9225.js} +0 -0
- /package/build/esm/{localizeNumberFormat-c7326354.js → localizeNumberFormat-220144f6.js} +0 -0
- /package/build/esm/{number-0d6835e8.js → number-0afc47fb.js} +0 -0
- /package/build/esm/{paths-a0fb43da.js → paths-3bc116a9.js} +0 -0
- /package/build/esm/{routing-8c46c2b2.js → routing-941074ed.js} +0 -0
- /package/build/esm/{shared-9f223841.js → shared-15bb776a.js} +0 -0
- /package/build/esm/{translationsContext-acece8fa.js → translationsContext-a6bf76d9.js} +0 -0
- /package/build/esm/{tslib.es6-55db3c85.js → tslib.es6-f9725aa4.js} +0 -0
- /package/build/esm/{types-411535b1.js → types-264dacb8.js} +0 -0
- /package/build/esm/{useImageAspectRatio-bb25f275.js → useImageAspectRatio-c7e3f76e.js} +0 -0
- /package/build/esm/{useOutsideClick-c6a3e348.js → useOutsideClick-3d3ee062.js} +0 -0
- /package/build/esm/{useScrollbarSize-37514a56.js → useScrollbarSize-ccf76db8.js} +0 -0
- /package/build/esm/{useUniqueId-9c41f60f.js → useUniqueId-a7a77daa.js} +0 -0
- /package/build/esm/{utils-c22b2d6b.js → utils-4f630add.js} +0 -0
- /package/build/esm/{utils-cbf7d169.js → utils-7acd0804.js} +0 -0
- /package/build/{index-68e2d632.js → index-047bc97d.js} +0 -0
- /package/build/{index-25d10ba2.js → index-0d379465.js} +0 -0
- /package/build/{index-7a178e88.js → index-446bd753.js} +0 -0
- /package/build/{index-dc4824a2.js → index-6bfbb2a1.js} +0 -0
- /package/build/{index-e8b262c2.js → index-8be2f501.js} +0 -0
- /package/build/{index-833d9331.js → index-db602972.js} +0 -0
- /package/build/{index-562323b6.js → index-df11b679.js} +0 -0
- /package/build/{index-b2308092.js → index-ec7e5840.js} +0 -0
- /package/build/{index-fd06bec3.js → index-fc71f972.js} +0 -0
- /package/build/{index.styles-494c4585.js → index.styles-2fdd4291.js} +0 -0
- /package/build/{localizeNumberFormat-0df85c8a.js → localizeNumberFormat-58762f9e.js} +0 -0
- /package/build/{number-17deffea.js → number-26073621.js} +0 -0
- /package/build/{paths-79769afc.js → paths-1611c51c.js} +0 -0
- /package/build/{routing-cae1d792.js → routing-da358226.js} +0 -0
- /package/build/{shared-34a0c7f7.js → shared-e8928647.js} +0 -0
- /package/build/{translationsContext-c9d11485.js → translationsContext-5a59bfde.js} +0 -0
- /package/build/{tslib.es6-b6943142.js → tslib.es6-28c765de.js} +0 -0
- /package/build/{types-0fe9831f.js → types-897a6f42.js} +0 -0
- /package/build/{useImageAspectRatio-8f640360.js → useImageAspectRatio-e29f02c5.js} +0 -0
- /package/build/{useOutsideClick-591c2456.js → useOutsideClick-3a8855e1.js} +0 -0
- /package/build/{useScrollbarSize-ab0ad851.js → useScrollbarSize-2ed0a89c.js} +0 -0
- /package/build/{useUniqueId-7f03fbaa.js → useUniqueId-4ce5f3c7.js} +0 -0
- /package/build/{utils-df72ae47.js → utils-4a1fbc42.js} +0 -0
- /package/build/{utils-f307adb6.js → utils-b1660723.js} +0 -0
package/build/esm/pwg.js
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
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-a2f8bb0f.js';
|
|
3
|
+
import { T as Text } from './index-e4197fec.js';
|
|
4
|
+
import { P as PillCarousel } from './index-dc773182.js';
|
|
5
|
+
import { u as useTranslations } from './index-172386b5.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-d48313f5.js';
|
|
9
|
+
import { a as useOutsideClick } from './useOutsideClick-3d3ee062.js';
|
|
10
10
|
import styled from '@emotion/styled';
|
|
11
|
-
import { a as __rest } from './tslib.es6-
|
|
11
|
+
import { a as __rest } from './tslib.es6-f9725aa4.js';
|
|
12
12
|
import '@mantine/core';
|
|
13
|
-
import './index-
|
|
14
|
-
import './index-
|
|
15
|
-
import './index-
|
|
13
|
+
import './index-b2717af7.js';
|
|
14
|
+
import './index-a9bd608f.js';
|
|
15
|
+
import './index-e16f5a94.js';
|
|
16
16
|
import './constantsDomainLocales.js';
|
|
17
17
|
import './constantsIsProduction.js';
|
|
18
|
-
import './index-
|
|
19
|
-
import './utils-
|
|
20
|
-
import './index-
|
|
21
|
-
import './index-
|
|
18
|
+
import './index-192a738d.js';
|
|
19
|
+
import './utils-4f630add.js';
|
|
20
|
+
import './index-85d32439.js';
|
|
21
|
+
import './index-46f400b5.js';
|
|
22
22
|
import '@hhgtech/icons/other';
|
|
23
23
|
import '@mantine/hooks';
|
|
24
24
|
import '@mantine/carousel';
|
|
25
|
-
import './index-
|
|
25
|
+
import './index-e40de511.js';
|
|
26
26
|
import 'dayjs';
|
|
27
27
|
import '@mantine/notifications';
|
|
28
|
-
import './index-
|
|
28
|
+
import './index-6a8c9fd4.js';
|
|
29
29
|
import 'date-fns/locale';
|
|
30
30
|
import './constantsSite.js';
|
|
31
31
|
import './constantsRiskScreener.js';
|
|
32
|
-
import './shared-
|
|
32
|
+
import './shared-15bb776a.js';
|
|
33
33
|
import 'classnames';
|
|
34
34
|
import 'uuid';
|
|
35
|
-
import './useUniqueId-
|
|
35
|
+
import './useUniqueId-a7a77daa.js';
|
|
36
36
|
import '@hhgtech/icons/core';
|
|
37
37
|
import 'lodash/debounce';
|
|
38
38
|
import 'lodash/throttle';
|
|
@@ -40,11 +40,11 @@ import 'react-phone-number-input';
|
|
|
40
40
|
import 'react-phone-number-input/flags';
|
|
41
41
|
import 'vaul';
|
|
42
42
|
import '@emotion/react';
|
|
43
|
-
import './index-
|
|
43
|
+
import './index-8b96ad24.js';
|
|
44
44
|
import '@mantine/dates';
|
|
45
|
-
import './index.styles-
|
|
46
|
-
import './translationsContext-
|
|
47
|
-
import './index-
|
|
45
|
+
import './index.styles-622a9225.js';
|
|
46
|
+
import './translationsContext-a6bf76d9.js';
|
|
47
|
+
import './index-1928de3a.js';
|
|
48
48
|
|
|
49
49
|
const CustomizedAxisTick = (props) => {
|
|
50
50
|
const { x, y, payload, activeWeek } = props;
|
|
@@ -15,8 +15,6 @@ export declare const getSSODomainLocaleKey: () => string;
|
|
|
15
15
|
export declare const getSSOV2ApiUrl: (path: string, overrideLocale?: string) => string;
|
|
16
16
|
export declare const getSSOApiUrl: (path: string, overrideLocale?: string) => string;
|
|
17
17
|
export declare const BEARER_TOKEN_COOKIE = "hhg_user_token";
|
|
18
|
-
/** Drop access/refresh cookies on current host and site apex (stale Bearer causes SSO_ERR_041). */
|
|
19
|
-
export declare const clearBearerAuthCookies: () => void;
|
|
20
18
|
export type ReturnType<T = any> = {
|
|
21
19
|
_status: number;
|
|
22
20
|
_messages: string[];
|
|
@@ -26,7 +24,7 @@ export type ReturnType<T = any> = {
|
|
|
26
24
|
export declare const fetchSSOV2Api: <T>(path: string, options?: RequestInit, noAuth?: boolean) => Promise<ReturnType<T>>;
|
|
27
25
|
/** JSON body (e.g. WhatsApp login-otp / verify-code); omits FormData-only ga/referrer append. */
|
|
28
26
|
export declare const fetchSSOV2ApiJson: <T>(path: string, body: Record<string, unknown>, noAuth?: boolean) => Promise<ReturnType<T>>;
|
|
29
|
-
export declare const fetchSSOApi: <T>(path: string, options?: RequestInit, noAuth?: boolean
|
|
27
|
+
export declare const fetchSSOApi: <T>(path: string, options?: RequestInit, noAuth?: boolean) => Promise<ReturnType<T>>;
|
|
30
28
|
export declare const resetPassword: (password: string, confirmPassword: string) => Promise<ReturnType<LoggedInResponseType>>;
|
|
31
29
|
export declare const checkUserExist: ({ email, phone, }: {
|
|
32
30
|
email?: string;
|
|
@@ -58,5 +56,5 @@ export type LoggedInResponseType = {
|
|
|
58
56
|
};
|
|
59
57
|
export declare const GoogleAuthClientId: string;
|
|
60
58
|
export declare const FacebookAppId = "2759888574045636";
|
|
61
|
-
export declare const getUserInfo: (
|
|
59
|
+
export declare const getUserInfo: () => Promise<ReturnType<UserInfo>>;
|
|
62
60
|
export declare const handleAuthSuccess: (res: LoggedInResponseType) => void;
|
package/build/esm/ssoV2.js
CHANGED
|
@@ -1,63 +1,64 @@
|
|
|
1
|
-
import { _ as __awaiter, a as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __awaiter, a as __rest } from './tslib.es6-f9725aa4.js';
|
|
2
2
|
import React__default, { createContext, useMemo, useEffect, useRef, useImperativeHandle, useCallback, useState } from 'react';
|
|
3
3
|
import { getCookie, setCookie, deleteCookie } from './miscCookieHelper.js';
|
|
4
|
-
import { I as Input, h as ErrorBoundary, d as Checkbox, i as PhoneWithCustomCountrySelect, O as OTP, j as PasswordInput } from './index-
|
|
5
|
-
import { f as fetchSSOV2Api, b as getWebsiteId, S as SSO_V2_PATHS,
|
|
4
|
+
import { I as Input, h as ErrorBoundary, d as Checkbox, i as PhoneWithCustomCountrySelect, O as OTP, j as PasswordInput } from './index-46f400b5.js';
|
|
5
|
+
import { f as fetchSSOV2Api, b as getWebsiteId, S as SSO_V2_PATHS, c as checkUserExist, d as fetchSSOV2ApiJson, F as FacebookAppId, G as GoogleAuthClientId, h as handleAuthSuccess, g as getUserInfo, u as updateUserInfo, r as resetPassword, s as setSSOCurrentLocale, e as setSSOIsMarryBaby } from './index-32d38856.js';
|
|
6
6
|
import { isProduction } from './constantsIsProduction.js';
|
|
7
7
|
import { ChevronLeft } from '@hhgtech/icons/arrow';
|
|
8
8
|
import { Close, ReplySquare } from '@hhgtech/icons/core';
|
|
9
|
-
import { L as LOCALE_SPECS, c as ZINDEX_SSO, 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 { L as LOCALE_SPECS, c as ZINDEX_SSO, S as STATIC_PAGES, Q as QUERY_HEALTH_TOOL } from './index-6a8c9fd4.js';
|
|
10
|
+
import { L as LogoIcon } from './logoIcon-9e4048be.js';
|
|
11
|
+
import { B as Button } from './index-8b96ad24.js';
|
|
12
|
+
import { M as Modal } from './index-52bc4262.js';
|
|
13
13
|
import { Stack, Flex, Box, Group, Divider } from '@mantine/core';
|
|
14
14
|
import '@mantine/dates';
|
|
15
|
-
import { L as LOCALE } from './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 { L as LOCALE } from './index-a9bd608f.js';
|
|
16
|
+
import { C as CommonGAssets } from './index-e16f5a94.js';
|
|
17
|
+
import { s as showNotification } from './index-e40de511.js';
|
|
18
|
+
import { T as Text } from './index-e4197fec.js';
|
|
19
|
+
import './index-b2717af7.js';
|
|
20
|
+
import { u as useTranslations } from './index-172386b5.js';
|
|
21
21
|
import '@mantine/hooks';
|
|
22
|
-
import './utils-
|
|
23
|
-
import './index-
|
|
24
|
-
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-
|
|
25
|
-
export { u as useSSOV2Store } from './store-
|
|
26
|
-
import { I as ImageWrap } from './index-
|
|
22
|
+
import './utils-4f630add.js';
|
|
23
|
+
import './index-1928de3a.js';
|
|
24
|
+
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-a91c686d.js';
|
|
25
|
+
export { u as useSSOV2Store } from './store-a91c686d.js';
|
|
26
|
+
import { I as ImageWrap } from './index-192a738d.js';
|
|
27
27
|
import ReCAPTCHA from 'react-google-recaptcha';
|
|
28
|
-
import { G as Google, F as Facebook } from './Google-
|
|
29
|
-
import { i as isFeaturePolicyUpdateEnabled, a as isFeatureWhatsAppEnabled, b as isFeatureZaloEnabled, c as isFeatureSMSEnabled, d as isSupportProduct } from './utils-
|
|
30
|
-
export { g as getURLwithSSOTracking } from './utils-
|
|
28
|
+
import { G as Google, F as Facebook } from './Google-db786a0f.js';
|
|
29
|
+
import { i as isFeaturePolicyUpdateEnabled, a as isFeatureWhatsAppEnabled, b as isFeatureZaloEnabled, c as isFeatureSMSEnabled, d as isSupportProduct } from './utils-f810db6c.js';
|
|
30
|
+
export { g as getURLwithSSOTracking } from './utils-f810db6c.js';
|
|
31
31
|
import { getDomainByLocale, getDomainLocaleKey } from './constantsDomainLocales.js';
|
|
32
|
-
import { S as Spoiler } from './index-
|
|
32
|
+
import { S as Spoiler } from './index-c0e0068b.js';
|
|
33
33
|
import { theme } from './miscTheme.js';
|
|
34
34
|
import styled from '@emotion/styled';
|
|
35
|
-
import { M as MAPPED_LOCALE } from './utils-
|
|
35
|
+
import { M as MAPPED_LOCALE } from './utils-2b7fd2a2.js';
|
|
36
36
|
import { useForm, yupResolver } from '@mantine/form';
|
|
37
37
|
import * as yup from 'yup';
|
|
38
38
|
import dayjs from 'dayjs';
|
|
39
|
-
import { D as DatePicker } from './index-
|
|
39
|
+
import { D as DatePicker } from './index-7f977e99.js';
|
|
40
40
|
import '@hhgtech/icons/other';
|
|
41
41
|
import '@mantine/carousel';
|
|
42
42
|
import 'classnames';
|
|
43
43
|
import 'uuid';
|
|
44
|
-
import './useUniqueId-
|
|
44
|
+
import './useUniqueId-a7a77daa.js';
|
|
45
45
|
import './constantsSite.js';
|
|
46
46
|
import 'lodash/debounce';
|
|
47
47
|
import 'lodash/throttle';
|
|
48
48
|
import 'react-phone-number-input';
|
|
49
49
|
import 'react-phone-number-input/flags';
|
|
50
50
|
import 'vaul';
|
|
51
|
-
import './shared-
|
|
51
|
+
import './shared-15bb776a.js';
|
|
52
52
|
import '@emotion/react';
|
|
53
|
-
import './routing-
|
|
53
|
+
import './routing-941074ed.js';
|
|
54
54
|
import 'date-fns/locale';
|
|
55
55
|
import './constantsRiskScreener.js';
|
|
56
|
-
import './index.styles-
|
|
56
|
+
import './index.styles-622a9225.js';
|
|
57
57
|
import '@mantine/notifications';
|
|
58
|
-
import './translationsContext-
|
|
58
|
+
import './translationsContext-a6bf76d9.js';
|
|
59
59
|
import 'zustand';
|
|
60
|
-
import './healthTools-
|
|
60
|
+
import './healthTools-f9efbce2.js';
|
|
61
|
+
import './appearance-dbbab6fd.js';
|
|
61
62
|
|
|
62
63
|
// const fakeData = {
|
|
63
64
|
const fetchFeatureFlag = (site) => __awaiter(void 0, void 0, void 0, function* () {
|
|
@@ -906,7 +907,7 @@ const loginBySocial = (token, social) => __awaiter(void 0, void 0, void 0, funct
|
|
|
906
907
|
return fetchSSOV2Api(SSO_V2_PATHS.LOGIN_BY_SOCIAL, {
|
|
907
908
|
method: 'POST',
|
|
908
909
|
body: formData,
|
|
909
|
-
}
|
|
910
|
+
});
|
|
910
911
|
});
|
|
911
912
|
|
|
912
913
|
/** Guest: send or resend OTP (same endpoint). Optional referrer e.g. payment page URL. */
|
|
@@ -1256,11 +1257,10 @@ const SSOFirstScreen = ({ hidden, config, }) => {
|
|
|
1256
1257
|
const [loading, setLoading] = React__default.useState(false);
|
|
1257
1258
|
// onTrigger -> handleLoginBySocial -> loginBySocial
|
|
1258
1259
|
const handleLoginBySocial = (credential, provider) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1259
|
-
var _a;
|
|
1260
1260
|
const res = yield loginBySocial(credential, provider);
|
|
1261
1261
|
if ((res === null || res === void 0 ? void 0 : res._status) === 1) {
|
|
1262
1262
|
handleAuthSuccess(res === null || res === void 0 ? void 0 : res._data);
|
|
1263
|
-
const userInfo = yield getUserInfo(
|
|
1263
|
+
const userInfo = yield getUserInfo();
|
|
1264
1264
|
setUserInfo(userInfo === null || userInfo === void 0 ? void 0 : userInfo._data);
|
|
1265
1265
|
if ((userInfo === null || userInfo === void 0 ? void 0 : userInfo._status) === 1 && userInfo._data) {
|
|
1266
1266
|
useSSOV2Store.setState({
|
|
@@ -1367,7 +1367,7 @@ const SSOFirstScreen = ({ hidden, config, }) => {
|
|
|
1367
1367
|
});
|
|
1368
1368
|
};
|
|
1369
1369
|
const onClickContinueZalo = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
1370
|
-
var
|
|
1370
|
+
var _a, _b;
|
|
1371
1371
|
setLoading(true);
|
|
1372
1372
|
const { areaCode, phoneNumber } = splitPhone(phone);
|
|
1373
1373
|
if (!areaCode || !phoneNumber || !phone) {
|
|
@@ -1376,8 +1376,8 @@ const SSOFirstScreen = ({ hidden, config, }) => {
|
|
|
1376
1376
|
}
|
|
1377
1377
|
const userExist = yield checkUserExist({ phone: phoneNumber });
|
|
1378
1378
|
if ((userExist === null || userExist === void 0 ? void 0 : userExist._status) === 1) {
|
|
1379
|
-
const provider = (
|
|
1380
|
-
if ((
|
|
1379
|
+
const provider = (_a = userExist._data) === null || _a === void 0 ? void 0 : _a.provider;
|
|
1380
|
+
if ((_b = userExist._data) === null || _b === void 0 ? void 0 : _b.is_pass) {
|
|
1381
1381
|
useSSOV2Store.setState({
|
|
1382
1382
|
flowData: {
|
|
1383
1383
|
method: 'zalo',
|
|
@@ -1430,7 +1430,7 @@ const SSOFirstScreen = ({ hidden, config, }) => {
|
|
|
1430
1430
|
setLoading(false);
|
|
1431
1431
|
});
|
|
1432
1432
|
const onClickContinueWhatsApp = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
1433
|
-
var
|
|
1433
|
+
var _c, _d;
|
|
1434
1434
|
setLoading(true);
|
|
1435
1435
|
const { areaCode, phoneNumber } = splitPhone(phone);
|
|
1436
1436
|
if (!areaCode || !phoneNumber || !phone || !isHaveReadAndAgreePolicy) {
|
|
@@ -1442,8 +1442,8 @@ const SSOFirstScreen = ({ hidden, config, }) => {
|
|
|
1442
1442
|
}
|
|
1443
1443
|
const userExist = yield checkUserExist({ phone: phoneNumber });
|
|
1444
1444
|
if ((userExist === null || userExist === void 0 ? void 0 : userExist._status) === 1) {
|
|
1445
|
-
const provider = (
|
|
1446
|
-
if ((
|
|
1445
|
+
const provider = (_c = userExist._data) === null || _c === void 0 ? void 0 : _c.provider;
|
|
1446
|
+
if ((_d = userExist._data) === null || _d === void 0 ? void 0 : _d.is_pass) {
|
|
1447
1447
|
useSSOV2Store.setState({
|
|
1448
1448
|
flowData: {
|
|
1449
1449
|
method: 'whatsapp',
|
|
@@ -1496,7 +1496,7 @@ const SSOFirstScreen = ({ hidden, config, }) => {
|
|
|
1496
1496
|
setLoading(false);
|
|
1497
1497
|
});
|
|
1498
1498
|
const onClickContinuePhone = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
1499
|
-
var
|
|
1499
|
+
var _e, _f;
|
|
1500
1500
|
setLoading(true);
|
|
1501
1501
|
const { areaCode, phoneNumber } = splitPhone(phone);
|
|
1502
1502
|
if (!areaCode || !phoneNumber || !phone || !isHaveReadAndAgreePolicy) {
|
|
@@ -1507,8 +1507,8 @@ const SSOFirstScreen = ({ hidden, config, }) => {
|
|
|
1507
1507
|
}
|
|
1508
1508
|
const userExist = yield checkUserExist({ phone: phoneNumber });
|
|
1509
1509
|
if ((userExist === null || userExist === void 0 ? void 0 : userExist._status) === 1) {
|
|
1510
|
-
const provider = (
|
|
1511
|
-
if ((
|
|
1510
|
+
const provider = (_e = userExist._data) === null || _e === void 0 ? void 0 : _e.provider;
|
|
1511
|
+
if ((_f = userExist._data) === null || _f === void 0 ? void 0 : _f.is_pass) {
|
|
1512
1512
|
useSSOV2Store.setState({
|
|
1513
1513
|
flowData: {
|
|
1514
1514
|
method: 'sms',
|
|
@@ -1562,7 +1562,7 @@ const SSOFirstScreen = ({ hidden, config, }) => {
|
|
|
1562
1562
|
setLoading(false);
|
|
1563
1563
|
});
|
|
1564
1564
|
const onClickLoginWithPhone = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
1565
|
-
var
|
|
1565
|
+
var _g, _h;
|
|
1566
1566
|
setLoading(true);
|
|
1567
1567
|
const { areaCode, phoneNumber } = splitPhone(phone);
|
|
1568
1568
|
if (!areaCode || !phoneNumber || !phone) {
|
|
@@ -1571,7 +1571,7 @@ const SSOFirstScreen = ({ hidden, config, }) => {
|
|
|
1571
1571
|
}
|
|
1572
1572
|
const userExist = yield checkUserExist({ phone: phoneNumber });
|
|
1573
1573
|
if ((userExist === null || userExist === void 0 ? void 0 : userExist._status) === 1) {
|
|
1574
|
-
if (!userExist._data || !((
|
|
1574
|
+
if (!userExist._data || !((_g = userExist._data) === null || _g === void 0 ? void 0 : _g.is_pass)) {
|
|
1575
1575
|
showNotification({
|
|
1576
1576
|
message: t('ssov2.first.noAccountOrPass'),
|
|
1577
1577
|
type: 'danger',
|
|
@@ -1579,7 +1579,7 @@ const SSOFirstScreen = ({ hidden, config, }) => {
|
|
|
1579
1579
|
setActiveTab('signup');
|
|
1580
1580
|
return setLoading(false);
|
|
1581
1581
|
}
|
|
1582
|
-
if ((
|
|
1582
|
+
if ((_h = userExist._data) === null || _h === void 0 ? void 0 : _h.is_pass) {
|
|
1583
1583
|
useSSOV2Store.setState({
|
|
1584
1584
|
flowData: {
|
|
1585
1585
|
method: 'phone',
|
|
@@ -2275,7 +2275,7 @@ const SSOPasswordScreen = ({ hidden, config, }) => {
|
|
|
2275
2275
|
});
|
|
2276
2276
|
const onAuthSuccess = (data) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2277
2277
|
handleAuthSuccess(data);
|
|
2278
|
-
const userInfo = yield getUserInfo(
|
|
2278
|
+
const userInfo = yield getUserInfo();
|
|
2279
2279
|
const isPhoneFlow = isPhoneFlowFn(flowData);
|
|
2280
2280
|
const isEmailFlow = isEmailFlowFn(flowData);
|
|
2281
2281
|
setUserInfo(userInfo === null || userInfo === void 0 ? void 0 : userInfo._data);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as __awaiter } from './tslib.es6-
|
|
1
|
+
import { _ as __awaiter } from './tslib.es6-f9725aa4.js';
|
|
2
2
|
import { create } from 'zustand';
|
|
3
|
-
import { s as setSSOCurrentLocale,
|
|
3
|
+
import { s as setSSOCurrentLocale, g as getUserInfo, a as getSSOCurrentLocale } from './index-32d38856.js';
|
|
4
4
|
import { parsePhoneNumber } from 'react-phone-number-input';
|
|
5
|
-
import { B as BEARER_TOKEN_COOKIE } from './index-
|
|
5
|
+
import { B as BEARER_TOKEN_COOKIE } from './index-6a8c9fd4.js';
|
|
6
6
|
import { getCookie } from './miscCookieHelper.js';
|
|
7
7
|
|
|
8
8
|
const mergePhone = (phone, areaCode) => {
|
|
@@ -144,7 +144,6 @@ const useSSOV2Store = create()((set, get) => ({
|
|
|
144
144
|
(_b = (_a = get()).onCloseProp) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
145
145
|
}
|
|
146
146
|
else {
|
|
147
|
-
clearBearerAuthCookies();
|
|
148
147
|
useSSOSteps.setState({
|
|
149
148
|
steps: [
|
|
150
149
|
{
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export { default } from "./subotInlineRevamp";
|
|
2
|
-
export type { SubotInlineHostHandlers, SubotInlineSsoLoginPayload, } from "./subotInlineRevamp/types";
|
|
3
2
|
export { default as SubotInlineRevampWithTheme } from "./subotInlineRevamp/with-theme";
|
|
4
3
|
export { UserInfoForm } from "./components/userInfoForm";
|
|
5
4
|
export { Markdown } from "./components/markdown";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { SubotInlineProps } from "./subotInline.config";
|
|
3
|
-
declare const SubotInline: ({ id, isMobile, articleLink, customUrl,
|
|
3
|
+
declare const SubotInline: ({ id, isMobile, articleLink, customUrl, }: SubotInlineProps) => React.JSX.Element;
|
|
4
4
|
export { SubotInline };
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { SubotMessage, SubotNodeAction, SubotNodeItem, SubotNodeMessage } from "../../interfaces/types";
|
|
3
3
|
import { UserInfo } from "../../together/togetherComponentGlobalContext";
|
|
4
|
-
import { SubotInlineHostHandlers } from "../subotInlineRevamp/types";
|
|
5
4
|
export type SubotInlineProps = {
|
|
6
5
|
id?: string | number;
|
|
7
6
|
isMobile?: boolean;
|
|
8
7
|
asPath?: string;
|
|
9
8
|
articleLink: string;
|
|
10
9
|
customUrl?: string;
|
|
11
|
-
hostHandlers?: SubotInlineHostHandlers;
|
|
12
10
|
};
|
|
13
11
|
export type SubotInlineContextProps = {
|
|
14
12
|
activeId?: string;
|
|
@@ -23,7 +21,6 @@ export type SubotInlineContextProps = {
|
|
|
23
21
|
onReset?: () => void;
|
|
24
22
|
trackingCommonInline: Record<string, string | number | undefined | null>;
|
|
25
23
|
userInfo?: UserInfo;
|
|
26
|
-
hostHandlers?: SubotInlineHostHandlers;
|
|
27
24
|
};
|
|
28
25
|
export type ActionsClickProps = {
|
|
29
26
|
node_id: string | number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ContextProps, ContextType } from "./types";
|
|
3
3
|
export declare const SubotInlineContext: React.Context<ContextType>;
|
|
4
|
-
export declare const SubotInlineProvider: ({ children, articleLink, subotId, isFullContainer, bgColor: _bgColor, primaryColor: _primaryColor, textColor, textButtonColor, bgContentColor, bgImgFullContainer, isDisabledAnimationOnMobile, onCloseMobile, userInfo, typeFormProps, customUrl, isMobile, locale,
|
|
4
|
+
export declare const SubotInlineProvider: ({ children, articleLink, subotId, isFullContainer, bgColor: _bgColor, primaryColor: _primaryColor, textColor, textButtonColor, bgContentColor, bgImgFullContainer, isDisabledAnimationOnMobile, onCloseMobile, userInfo, typeFormProps, customUrl, isMobile, locale, }: ContextProps) => React.JSX.Element;
|
|
@@ -12,15 +12,6 @@ export type TypeFormProp = {
|
|
|
12
12
|
id: string;
|
|
13
13
|
params: any;
|
|
14
14
|
};
|
|
15
|
-
export type SubotInlineSsoLoginPayload = {
|
|
16
|
-
botId: string | number;
|
|
17
|
-
returnUrl: string;
|
|
18
|
-
source: string;
|
|
19
|
-
};
|
|
20
|
-
export type SubotInlineHostHandlers = {
|
|
21
|
-
/** Host opens SSO (e.g. discover-fe-v2 `ssoV2Actions`); Subot skips `triggerLogin`. */
|
|
22
|
-
onRequireLogin?: (payload: SubotInlineSsoLoginPayload) => void;
|
|
23
|
-
};
|
|
24
15
|
export type ContextProps = {
|
|
25
16
|
subotId: number;
|
|
26
17
|
articleLink: string;
|
|
@@ -33,7 +24,6 @@ export type ContextProps = {
|
|
|
33
24
|
userInfo: UserInfo | undefined | null;
|
|
34
25
|
typeFormProps?: TypeFormProp;
|
|
35
26
|
locale?: LOCALE;
|
|
36
|
-
hostHandlers?: SubotInlineHostHandlers;
|
|
37
27
|
} & CommonProps;
|
|
38
28
|
export type ContextType = {
|
|
39
29
|
activeId: string;
|
|
@@ -57,7 +47,6 @@ export type ContextType = {
|
|
|
57
47
|
typeFormProps?: TypeFormProp;
|
|
58
48
|
isMobile?: boolean;
|
|
59
49
|
locale?: LOCALE;
|
|
60
|
-
hostHandlers?: SubotInlineHostHandlers;
|
|
61
50
|
};
|
|
62
51
|
export type SubotInlineRevampContainerProps = {
|
|
63
52
|
id: string | number;
|
|
@@ -72,7 +61,6 @@ export type SubotInlineRevampContainerProps = {
|
|
|
72
61
|
locale?: LOCALE;
|
|
73
62
|
onLoadFirstNode?: (data: any) => void;
|
|
74
63
|
withoutSkeleton?: boolean;
|
|
75
|
-
hostHandlers?: SubotInlineHostHandlers;
|
|
76
64
|
} & CommonProps;
|
|
77
65
|
export type SubotInlineRevampViewProps = {
|
|
78
66
|
loading: boolean;
|
|
@@ -14,13 +14,11 @@ export type SubotInlineSsoRestoreResult = {
|
|
|
14
14
|
export declare const buildSubotInlineSsoReturnUrl: () => string;
|
|
15
15
|
export declare const isActiveSubotInlineSsoNode: (listNodes: SubotNodeItem[], activeId: string) => boolean;
|
|
16
16
|
export declare const hasPendingSubotInlineSsoState: (botId: string | number) => boolean;
|
|
17
|
-
export declare const restoreSubotInlineFromSsoStorage: (botId: string | number, { getParams
|
|
17
|
+
export declare const restoreSubotInlineFromSsoStorage: (botId: string | number, { getParams }: {
|
|
18
18
|
getParams: () => SubotMessage;
|
|
19
|
-
accountId?: number | string | null;
|
|
20
19
|
}) => Promise<SubotInlineSsoRestoreResult | null>;
|
|
21
|
-
export declare const getPreviousStateFromStorage: (botId: string | number, { getParams
|
|
20
|
+
export declare const getPreviousStateFromStorage: (botId: string | number, { getParams }: {
|
|
22
21
|
getParams: () => SubotMessage;
|
|
23
|
-
accountId?: number | string | null;
|
|
24
22
|
}) => {
|
|
25
23
|
listNodes: SubotNodeItem[];
|
|
26
24
|
activeId: string;
|