@hhgtech/hhg-components 1.29.566 → 1.29.567-beta-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/{InputDate-b8118635.js → InputDate-16952a6c.js} +8 -8
- package/build/{LastPeriod-19ebeec0.js → LastPeriod-3e72cc10.js} +1 -1
- package/build/LeadGenCore-18dafb12.js +5131 -0
- package/build/{MobileBottomNavigationIcon-cb65e80f.js → MobileBottomNavigationIcon-28dd33ab.js} +3 -3
- package/build/{SiteWideBanner-b573e41b.js → SiteWideBanner-47cc1c7d.js} +13 -13
- package/build/{Spinner-17016453.js → Spinner-d03ec234.js} +1 -1
- package/build/{WhatsApp-61b6804a.js → WhatsApp-264e0c50.js} +1 -1
- package/build/adapters.js +20 -20
- package/build/atoms.js +62 -51
- package/build/babyGrowth.js +85 -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/Calendar.d.ts +6 -0
- package/build/components/atoms/datePickerV2/DatePickerInput.d.ts +20 -0
- package/build/components/atoms/datePickerV2/helpers.d.ts +33 -0
- package/build/components/atoms/datePickerV2/index.d.ts +27 -0
- package/build/components/atoms/datePickerV2/index.styled.d.ts +31 -0
- package/build/components/atoms/index.d.ts +1 -0
- package/build/components/molecules/embeddedHeathToolCards/bmi/bmi.d.ts +2 -1
- package/build/components/molecules/embeddedHeathToolCards/due-date/dueDate.d.ts +1 -0
- package/build/components/molecules/embeddedHeathToolCards/helpers.d.ts +1 -0
- package/build/components/molecules/healthTools/common.d.ts +18 -0
- package/build/components/molecules/healthTools/components/healthToolDatePicker/index.d.ts +20 -0
- package/build/components/molecules/index.d.ts +1 -1
- package/build/components.js +171 -157
- package/build/{constants-db94bbec.js → constants-541de17c.js} +1 -1
- package/build/{constants-9c92ac99.js → constants-ad043b51.js} +1 -1
- package/build/constants.js +2 -2
- package/build/constantsRiskScreener.js +1 -1
- package/build/constantsSite.js +1 -1
- package/build/{core-f766176d.js → core-f24c1352.js} +1 -1
- package/build/{dataTransform-7082636e.js → dataTransform-b774a32c.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-1288ad52.js → editor-67cb8bf3.js} +11 -11
- package/build/embeddedHeathToolCards_babyGrowth.js +24 -24
- package/build/embeddedHeathToolCards_babyPoop.js +21 -21
- package/build/embeddedHeathToolCards_babyVaccine.js +28 -23
- package/build/embeddedHeathToolCards_bmi_bmi.js +40 -34
- package/build/embeddedHeathToolCards_bmrBmr.js +28 -28
- package/build/embeddedHeathToolCards_dueDate_dueDate.js +28 -23
- package/build/embeddedHeathToolCards_helpers.js +8 -6
- package/build/embeddedHeathToolCards_ovulation_ovulation.js +28 -23
- package/build/embeddedHeathToolCards_pwg_pwg.js +27 -27
- package/build/embeddedHeathToolCards_targetHeartRate.js +33 -28
- package/build/esm/{InputDate-6e39208b.js → InputDate-586a5896.js} +7 -7
- package/build/esm/{LastPeriod-183056b0.js → LastPeriod-22c39fab.js} +1 -1
- package/build/esm/LeadGenCore-da4c032b.js +5092 -0
- package/build/esm/{MobileBottomNavigationIcon-a2272251.js → MobileBottomNavigationIcon-5a352482.js} +3 -3
- package/build/esm/{SiteWideBanner-50495984.js → SiteWideBanner-f4706c43.js} +13 -13
- package/build/esm/{Spinner-4149d426.js → Spinner-a77c1e1e.js} +1 -1
- package/build/esm/{WhatsApp-257bb520.js → WhatsApp-a73993e8.js} +1 -1
- package/build/esm/adapters.js +20 -20
- package/build/esm/atoms.js +56 -51
- package/build/esm/babyGrowth.js +85 -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/Calendar.d.ts +6 -0
- package/build/esm/components/atoms/datePickerV2/DatePickerInput.d.ts +20 -0
- package/build/esm/components/atoms/datePickerV2/helpers.d.ts +33 -0
- package/build/esm/components/atoms/datePickerV2/index.d.ts +27 -0
- package/build/esm/components/atoms/datePickerV2/index.styled.d.ts +31 -0
- package/build/esm/components/atoms/index.d.ts +1 -0
- package/build/esm/components/molecules/embeddedHeathToolCards/bmi/bmi.d.ts +2 -1
- package/build/esm/components/molecules/embeddedHeathToolCards/due-date/dueDate.d.ts +1 -0
- package/build/esm/components/molecules/embeddedHeathToolCards/helpers.d.ts +1 -0
- package/build/esm/components/molecules/healthTools/common.d.ts +18 -0
- package/build/esm/components/molecules/healthTools/components/healthToolDatePicker/index.d.ts +20 -0
- package/build/esm/components/molecules/index.d.ts +1 -1
- package/build/esm/components.js +114 -109
- package/build/esm/{constants-02901273.js → constants-01414f26.js} +1 -1
- package/build/esm/{constants-e9074c24.js → constants-f3655eec.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-23212ef2.js → core-1df026e9.js} +1 -1
- package/build/esm/{dataTransform-778cd3ef.js → dataTransform-6f608409.js} +1 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-51c6ab7f.js → editor-2cfeaf6d.js} +11 -11
- package/build/esm/embeddedHeathToolCards_babyGrowth.js +24 -24
- package/build/esm/embeddedHeathToolCards_babyPoop.js +21 -21
- package/build/esm/embeddedHeathToolCards_babyVaccine.js +28 -23
- package/build/esm/embeddedHeathToolCards_bmi_bmi.js +40 -34
- package/build/esm/embeddedHeathToolCards_bmrBmr.js +28 -28
- package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +28 -23
- package/build/esm/embeddedHeathToolCards_helpers.js +2 -7
- package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +28 -23
- package/build/esm/embeddedHeathToolCards_pwg_pwg.js +27 -27
- package/build/esm/embeddedHeathToolCards_targetHeartRate.js +33 -28
- package/build/esm/footer.js +22 -22
- package/build/esm/gAssets.js +1 -1
- package/build/esm/{healthTools-6202ae58.js → healthTools-d7f4ff5c.js} +1 -1
- package/build/esm/healthToolsCardWrapper.js +19 -19
- package/build/esm/healthToolsForm.js +49 -44
- package/build/esm/helpers-b7e5bd81.js +31 -0
- 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-9511e069.js → index-028c41b1.js} +21 -21
- package/build/esm/{index-e98cb26c.js → index-093c24d3.js} +14 -14
- package/build/esm/{index-e7c2cf9a.js → index-0a708dbe.js} +2 -2
- package/build/esm/{index-e6ca570a.js → index-190c1c3b.js} +13 -13
- package/build/esm/{index-1184f030.js → index-1a8ab504.js} +2 -2
- package/build/esm/{index-658e788d.js → index-1aaa109b.js} +6 -6
- package/build/esm/{index-8fb32013.js → index-1cfaf6b1.js} +2 -2
- package/build/esm/{index-e37aaa01.js → index-22fb7341.js} +2 -2
- package/build/esm/{index-f649b51f.js → index-24585de3.js} +6 -6
- package/build/esm/{index-f0561210.js → index-273416c0.js} +1 -1
- package/build/esm/{index-b78e3b4c.js → index-2f657683.js} +22 -22
- package/build/esm/{index-c917904f.js → index-30e94681.js} +3 -3
- package/build/esm/{index-a71e34e6.js → index-34135bb0.js} +3 -3
- package/build/esm/{index-f1fbfcc4.js → index-37df6ffc.js} +1 -1
- package/build/esm/{index-18e92ec2.js → index-384d2069.js} +16 -16
- package/build/esm/{index-cdf32b80.js → index-3a0023d0.js} +21 -23
- package/build/esm/{index-91cb311b.js → index-3c4fec9b.js} +2 -2
- package/build/esm/{index-db63bfc2.js → index-411399cd.js} +1 -1
- package/build/esm/{index-10f17701.js → index-428ba4d3.js} +1 -1
- package/build/esm/{index-50bc9f66.js → index-4300330d.js} +22 -24
- package/build/esm/{index-12e7060b.js → index-4a9c0b10.js} +6 -6
- package/build/esm/{index-b9588ecd.js → index-5167a9e1.js} +5 -5
- package/build/esm/{index-de82b7bf.js → index-5baf0f98.js} +17 -17
- package/build/esm/{index-8a909dde.js → index-6297d26a.js} +2 -2
- package/build/esm/{index-52a87433.js → index-6432d682.js} +12 -12
- package/build/esm/{index-9c66d982.js → index-6a22b9dc.js} +2 -2
- package/build/esm/{index-353fb019.js → index-6cc59c36.js} +13 -13
- package/build/esm/{index-79d58f00.js → index-6ff4ad0e.js} +7 -7
- package/build/esm/{index-8beb6254.js → index-70ef7c5f.js} +16 -16
- package/build/esm/{index-b9d6ae82.js → index-77f9376e.js} +16 -16
- package/build/esm/{index-9cefd633.js → index-78e9e154.js} +1 -1
- package/build/esm/{index-4e22812e.js → index-7a4566db.js} +5 -5
- package/build/esm/{index-f99307d8.js → index-7a971531.js} +2 -2
- package/build/esm/{index-9d2e6a1f.js → index-7c8ab7f0.js} +2 -2
- package/build/esm/{index-671b3b3f.js → index-88974c03.js} +2 -2
- package/build/esm/{index-21bd3377.js → index-8b09633f.js} +33 -61
- package/build/esm/{index-73384536.js → index-8cfb5acc.js} +31 -31
- package/build/esm/{index-9ca62747.js → index-8eb4deb4.js} +5 -5
- package/build/esm/{index-cf5f1a4a.js → index-90c848b1.js} +1 -1
- package/build/esm/{index-36934467.js → index-9413b8c5.js} +3 -3
- package/build/esm/{index-6e1ffe82.js → index-9896f62b.js} +31 -31
- package/build/esm/{index-c257c93a.js → index-9ae3c9fb.js} +2 -2
- package/build/esm/{index-f84cb48a.js → index-9e35d4be.js} +18 -18
- package/build/esm/{index-9199f963.js → index-a0d66146.js} +17 -17
- package/build/esm/{index-6271239c.js → index-a3a6aab0.js} +7 -7
- package/build/esm/{index-20210b3b.js → index-a3ad0876.js} +20 -20
- package/build/esm/{index-794f95cb.js → index-aac21bd6.js} +2 -2
- package/build/esm/{index-904ce25d.js → index-aaecac13.js} +4 -4
- package/build/esm/index-ac25de08.js +543 -0
- package/build/esm/{index-513bf860.js → index-ae8af2d0.js} +2 -2
- package/build/esm/{index-762f57c9.js → index-b4d87247.js} +24 -24
- package/build/esm/{index-1de2c3cc.js → index-b5c54bb4.js} +34 -34
- package/build/esm/{index-bfd2a793.js → index-bd7d0f9d.js} +3 -3
- package/build/esm/{index-bedafd4d.js → index-c5b0ed29.js} +40 -26
- package/build/esm/{index-70718aa4.js → index-c7fe4937.js} +9 -9
- package/build/esm/{index-bb049c6d.js → index-cdf46754.js} +3 -3
- package/build/esm/{index-1451adb4.js → index-d215f536.js} +3 -3
- package/build/esm/{index-d0b3a132.js → index-d802036f.js} +7 -7
- package/build/esm/{index-c4856541.js → index-d84646ca.js} +14 -14
- package/build/esm/{index-c258af48.js → index-d88ecf7d.js} +2 -2
- package/build/esm/{index-146c3b8f.js → index-dbcc3c14.js} +29 -29
- package/build/esm/{index-52f91d02.js → index-e0ae8e85.js} +7 -7
- package/build/esm/{index-f9634c10.js → index-e2c9da23.js} +21 -23
- package/build/esm/{index-346d44b5.js → index-e376abd2.js} +1 -1
- package/build/esm/{index-5cf34dcc.js → index-e8323d0a.js} +2 -2
- package/build/esm/{index-5375eb4d.js → index-ebf61ce7.js} +3 -3
- package/build/esm/{index-351ff3dd.js → index-ec0a9dce.js} +19 -19
- package/build/esm/{index-c93f4d6c.js → index-ed3aa604.js} +13 -13
- package/build/esm/{index-c8ecca0a.js → index-f39f5739.js} +3 -3
- package/build/esm/{index-908862a2.js → index-f4cac6eb.js} +2 -2
- package/build/esm/index-f6ba0de2.js +55 -0
- package/build/esm/{index-72ef4bd7.js → index-f9a0d18c.js} +2 -2
- package/build/esm/{index-23a4bd81.js → index-fe942a24.js} +15 -15
- package/build/esm/index.js +133 -128
- package/build/esm/{labelSorting-2876ebd7.js → labelSorting-ef362cb4.js} +4 -4
- package/build/esm/lead/LeadGenCore.d.ts +75 -0
- package/build/esm/lead/LeadGenSlim.d.ts +33 -0
- package/build/esm/lead/LeadGenTranslationContext.d.ts +4 -1
- package/build/esm/lead/i18n/index.d.ts +1 -1
- package/build/esm/lead/i18n/leadTranslations.d.ts +6 -0
- package/build/esm/lead/index.d.ts +2 -40
- package/build/esm/lead.js +104 -5135
- package/build/esm/leadSlim.d.ts +1 -0
- package/build/esm/leadSlim.js +74 -0
- package/build/esm/{logoIcon-d86d3e4e.js → logoIcon-b3648dab.js} +2 -2
- package/build/esm/mantine.js +26 -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 +87 -82
- 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 +29 -29
- package/build/esm/organisms.js +63 -63
- package/build/esm/{post-79dbcaf8.js → post-f85200c5.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 +4 -2
- package/build/esm/ssoV2/index.d.ts +10 -1
- package/build/esm/ssoV2/phoneVerifyConflict.d.ts +18 -0
- package/build/esm/ssoV2/ssoDismiss.d.ts +18 -0
- package/build/esm/ssoV2/ssoStateManager/store.d.ts +17 -0
- package/build/esm/ssoV2.js +155 -66
- package/build/esm/{store-e8671705.js → store-a7a5c8e6.js} +53 -35
- package/build/esm/subot/index.d.ts +1 -0
- package/build/esm/subot/subotInline/index.d.ts +1 -1
- package/build/esm/subot/subotInline/subotInline.config.d.ts +3 -0
- package/build/esm/subot/subotInlineRevamp/context.d.ts +1 -1
- package/build/esm/subot/subotInlineRevamp/types.d.ts +12 -0
- package/build/esm/subot/subotInlineRevamp/utils.d.ts +21 -1
- package/build/esm/subot.js +324 -141
- package/build/esm/surveyOrPremiumBanner.js +33 -33
- package/build/esm/surveyQuestionCard.js +11 -11
- package/build/esm/{surveyThankyouCard-ad00aaa6.js → surveyThankyouCard-e47097fc.js} +5 -5
- package/build/esm/together/interfaces/types.d.ts +5 -0
- 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-e6b60164.js → transform-1e45f8cf.js} +40 -45
- package/build/esm/{translationsProvider-2251f83e.js → translationsProvider-46a9b414.js} +1 -1
- package/build/esm/{treePopoverMenu-44ecfb21.js → treePopoverMenu-108cbbd7.js} +18 -18
- package/build/esm/{types-7eaccf70.js → types-cc6fa8ec.js} +1 -1
- package/build/esm/types.js +1 -1
- package/build/esm/{useCartCareService-2561ea09.js → useCartCareService-bf840ca9.js} +1 -1
- package/build/esm/{useHealthToolCache-48928f66.js → useHealthToolCache-06ab9bab.js} +1 -1
- package/build/esm/{usePhoneValidator-89435b8d.js → usePhoneValidator-fdf69560.js} +4 -4
- package/build/esm/{usePlacesAutocomplete-476d8fe2.js → usePlacesAutocomplete-b2cd114b.js} +1 -1
- package/build/esm/{useResolvedCaptureUrls-f065f5ae.js → useResolvedCaptureUrls-b6a4c452.js} +1 -1
- package/build/esm/useTogetherAuthRequiredAction.js +9 -9
- package/build/esm/{utils-e4361e09.js → utils-5a68a1b0.js} +2 -2
- package/build/esm/{utils-d75af55c.js → utils-6dad1238.js} +1 -1
- package/build/esm/{utils-4aeb889a.js → utils-7ae1ea3d.js} +4 -4
- package/build/esm/{utils-e6d6df3b.js → utils-91bb99ef.js} +5 -5
- package/build/esm/{utils-f2c8141d.js → utils-ecf18619.js} +4 -4
- package/build/esm/vaccination.js +21 -21
- package/build/footer.js +22 -22
- package/build/gAssets.js +1 -1
- package/build/{healthTools-ca7a5d43.js → healthTools-396edb10.js} +1 -1
- package/build/healthToolsCardWrapper.js +19 -19
- package/build/healthToolsForm.js +49 -44
- package/build/helpers-a331ad64.js +38 -0
- package/build/hooks.js +14 -14
- package/build/i18n.js +2 -2
- package/build/i18nV2.js +1 -1
- package/build/{index-912a45b4.js → index-04512593.js} +22 -24
- package/build/{index-4e5bdbe6.js → index-1512f07f.js} +15 -15
- package/build/{index-cf6f3108.js → index-1669687a.js} +1 -1
- package/build/{index-e933aea7.js → index-16af7f18.js} +3 -3
- package/build/{index-bf9f580e.js → index-24f1439c.js} +30 -30
- package/build/{index-135d8ff2.js → index-2dbf0a9b.js} +1 -1
- package/build/index-362cc312.js +574 -0
- package/build/{index-849069c2.js → index-385b3050.js} +13 -13
- package/build/{index-01da09ab.js → index-3a7d4f2e.js} +5 -5
- package/build/{index-f53241d8.js → index-3b5d891f.js} +21 -21
- package/build/{index-2087185c.js → index-3bbe389c.js} +16 -16
- package/build/{index-226b48ab.js → index-3d981ed3.js} +9 -9
- package/build/{index-91d7b888.js → index-438001e7.js} +22 -22
- package/build/{index-821aaa28.js → index-445c9a53.js} +1 -1
- package/build/{index-b388c399.js → index-4618264d.js} +8 -8
- package/build/{index-2f3e9748.js → index-5022244d.js} +2 -2
- package/build/{index-d19a4627.js → index-50bc68b4.js} +3 -3
- package/build/{index-273307da.js → index-5346f94a.js} +33 -61
- package/build/{index-20d85026.js → index-5b630715.js} +7 -7
- package/build/{index-6125b213.js → index-5b631551.js} +2 -2
- package/build/{index-177d6b04.js → index-62bdd6b8.js} +40 -25
- package/build/{index-2191645e.js → index-62d4d236.js} +24 -24
- package/build/{index-771c2016.js → index-6648513a.js} +16 -16
- package/build/{index-a5a79577.js → index-6726aca7.js} +5 -5
- package/build/{index-f329e7f7.js → index-691519e5.js} +1 -1
- package/build/{index-95e097b6.js → index-6bd5d1da.js} +2 -2
- package/build/{index-b4f99103.js → index-6be309f8.js} +17 -17
- package/build/{index-b2535512.js → index-6e54e26b.js} +3 -3
- package/build/{index-d32e1388.js → index-6e690d2d.js} +3 -3
- package/build/{index-075c7c9c.js → index-724a968a.js} +2 -2
- package/build/{index-f0175001.js → index-7433da7a.js} +2 -2
- package/build/{index-1d81a574.js → index-792cdbcc.js} +6 -6
- package/build/{index-0ef6baaf.js → index-7c45e8fb.js} +1 -1
- package/build/{index-32d4bfd2.js → index-7d42a4af.js} +20 -20
- package/build/{index-87e052af.js → index-7fbb2a87.js} +2 -2
- package/build/index-80b3cf2c.js +61 -0
- package/build/{index-a7298f68.js → index-84e5d4d6.js} +6 -6
- package/build/{index-5dde95b0.js → index-8981d733.js} +2 -2
- package/build/{index-40b30c51.js → index-8dba5040.js} +1 -1
- package/build/{index-0997422b.js → index-95ae31d3.js} +2 -2
- package/build/{index-85558956.js → index-98abef60.js} +7 -7
- package/build/{index-2b99975a.js → index-9d6f439c.js} +13 -13
- package/build/{index-1063ece9.js → index-9f4ce9f4.js} +2 -2
- package/build/{index-9ec0cffe.js → index-9f8bcb30.js} +1 -1
- package/build/{index-b086dd2b.js → index-a11e2981.js} +14 -14
- package/build/{index-2add1c1e.js → index-a14a82f8.js} +3 -3
- package/build/{index-9ed771ec.js → index-a1f6accb.js} +14 -14
- package/build/{index-523fb746.js → index-a5b6ec13.js} +2 -2
- package/build/{index-1623c4f5.js → index-aad16cda.js} +2 -2
- package/build/{index-df9d7260.js → index-aba5f27c.js} +31 -31
- package/build/{index-23abdc72.js → index-ae61f8e4.js} +20 -20
- package/build/{index-5c375c62.js → index-aeb128a9.js} +16 -16
- package/build/{index-8fae2b8f.js → index-b3e883f9.js} +2 -2
- package/build/{index-07f2c258.js → index-b7a8f9d8.js} +17 -17
- package/build/{index-ee069894.js → index-c0a43f81.js} +7 -7
- package/build/{index-926ac7ab.js → index-c68a7eb6.js} +3 -3
- package/build/{index-c0cfd756.js → index-cb832e8d.js} +12 -12
- package/build/{index-a010b836.js → index-d76b9c69.js} +3 -3
- package/build/{index-9fd967d1.js → index-db0dbf62.js} +2 -2
- package/build/{index-421ae364.js → index-db47483b.js} +21 -23
- package/build/{index-12dabf7b.js → index-dc334bad.js} +7 -7
- package/build/{index-1e7bd5b2.js → index-e0d724d1.js} +2 -2
- package/build/{index-bcbe1933.js → index-e2e3ce61.js} +18 -18
- package/build/{index-1aef3f36.js → index-e463fca5.js} +4 -4
- package/build/{index-742f546c.js → index-e508e6cb.js} +2 -2
- package/build/{index-18a9d890.js → index-e609356a.js} +34 -34
- package/build/{index-0f7ba91c.js → index-e66f78e2.js} +31 -31
- package/build/{index-5a67a69a.js → index-ec8a3677.js} +21 -23
- package/build/{index-597603d4.js → index-ed628694.js} +2 -2
- package/build/{index-afdd332d.js → index-edb96b9e.js} +3 -3
- package/build/{index-1a367679.js → index-f02323ca.js} +14 -14
- package/build/{index-14a9eb86.js → index-f7dee6e0.js} +2 -2
- package/build/{index-43e702aa.js → index-fd06cb15.js} +5 -5
- package/build/index.js +234 -220
- package/build/{labelSorting-a219f387.js → labelSorting-1844c416.js} +4 -4
- package/build/lead/LeadGenCore.d.ts +75 -0
- package/build/lead/LeadGenSlim.d.ts +33 -0
- package/build/lead/LeadGenTranslationContext.d.ts +4 -1
- package/build/lead/i18n/index.d.ts +1 -1
- package/build/lead/i18n/leadTranslations.d.ts +6 -0
- package/build/lead/index.d.ts +2 -40
- package/build/lead.js +166 -5217
- package/build/leadSlim.d.ts +1 -0
- package/build/leadSlim.js +82 -0
- package/build/{logoIcon-fc4f478b.js → logoIcon-6f5f5693.js} +2 -2
- package/build/mantine.js +24 -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 +92 -84
- 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 +28 -28
- package/build/organisms.js +63 -63
- package/build/{post-1cc3827e.js → post-c7c1e562.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 +4 -2
- package/build/ssoV2/index.d.ts +10 -1
- package/build/ssoV2/phoneVerifyConflict.d.ts +18 -0
- package/build/ssoV2/ssoDismiss.d.ts +18 -0
- package/build/ssoV2/ssoStateManager/store.d.ts +17 -0
- package/build/ssoV2.js +153 -64
- package/build/{store-d844608d.js → store-5d9e3ee8.js} +53 -35
- package/build/subot/index.d.ts +1 -0
- package/build/subot/subotInline/index.d.ts +1 -1
- package/build/subot/subotInline/subotInline.config.d.ts +3 -0
- package/build/subot/subotInlineRevamp/context.d.ts +1 -1
- package/build/subot/subotInlineRevamp/types.d.ts +12 -0
- package/build/subot/subotInlineRevamp/utils.d.ts +21 -1
- package/build/subot.js +329 -140
- package/build/surveyOrPremiumBanner.js +33 -33
- package/build/surveyQuestionCard.js +11 -11
- package/build/{surveyThankyouCard-1d8cf859.js → surveyThankyouCard-f3b256da.js} +5 -5
- package/build/together/interfaces/types.d.ts +5 -0
- 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-16f1f623.js → transform-baa2ac38.js} +40 -47
- package/build/{translationsProvider-7f20f84d.js → translationsProvider-69eb57aa.js} +1 -1
- package/build/{treePopoverMenu-7d5203c4.js → treePopoverMenu-6612e89a.js} +18 -18
- package/build/{types-5a399b55.js → types-bd3b6910.js} +1 -1
- package/build/types.js +1 -1
- package/build/{useCartCareService-3a922f59.js → useCartCareService-1103ff1b.js} +1 -1
- package/build/{useHealthToolCache-80115703.js → useHealthToolCache-35adcd47.js} +1 -1
- package/build/{usePhoneValidator-a1c693c4.js → usePhoneValidator-7397c4bd.js} +4 -4
- package/build/{usePlacesAutocomplete-f33a811e.js → usePlacesAutocomplete-b8dc2910.js} +1 -1
- package/build/{useResolvedCaptureUrls-dd10e0e8.js → useResolvedCaptureUrls-9ec7d3df.js} +1 -1
- package/build/useTogetherAuthRequiredAction.js +9 -9
- package/build/{utils-b500bd16.js → utils-01b50016.js} +1 -1
- package/build/{utils-0ee3e792.js → utils-1ee79a65.js} +4 -4
- package/build/{utils-1aa31278.js → utils-46affe8a.js} +2 -2
- package/build/{utils-ca6cc1e2.js → utils-9c054e84.js} +4 -4
- package/build/{utils-260db2f3.js → utils-fdd642d2.js} +5 -5
- package/build/vaccination.js +21 -21
- package/package.json +5 -7
- /package/build/{BMI_BOYS.percentile.monthly-7a335916.js → BMI_BOYS.percentile.monthly-6a330e16.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-8c4fef13.js → BMI_BOYS.percentile.weekly-c6133977.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-b265c416.js → BMI_BOYS.percentile.yearly-f22b9a99.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-889bc073.js → BMI_BOYS.zscore.monthly-dc2486fa.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-9cbce300.js → BMI_BOYS.zscore.weekly-19b62836.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-18e05e84.js → BMI_BOYS.zscore.yearly-01063821.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-32435a09.js → BMI_GIRLS.percentile.monthly-ec895112.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-d7dc3e09.js → BMI_GIRLS.percentile.weekly-23bf80f0.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-383398db.js → BMI_GIRLS.percentile.yearly-f8123ae9.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-1afc1815.js → BMI_GIRLS.zscore.monthly-9e831f45.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-996e85c6.js → BMI_GIRLS.zscore.weekly-752ae2f3.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-48121995.js → BMI_GIRLS.zscore.yearly-28b081e2.js} +0 -0
- /package/build/{ChevronDown-cfaa5f37.js → ChevronDown-0aa6dab7.js} +0 -0
- /package/build/{Google-ca3ed617.js → Google-7c552369.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-69c2b1b5.js → HEAD CIRCUM_BOYS.percentile.monthly-79b9ec01.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-845e68e8.js → HEAD CIRCUM_BOYS.percentile.weekly-5e4c6be5.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-593a9857.js → HEAD CIRCUM_BOYS.percentile.yearly-bf74f892.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-dd1ac392.js → HEAD CIRCUM_BOYS.zscore.monthly-19207efc.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-9dd699dc.js → HEAD CIRCUM_BOYS.zscore.weekly-08bfa929.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-0d4ebda7.js → HEAD CIRCUM_BOYS.zscore.yearly-2345c472.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-026b4b65.js → HEAD CIRCUM_GIRLS.percentile.monthly-76d50df9.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-45672230.js → HEAD CIRCUM_GIRLS.percentile.weekly-88a57331.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-bce812ad.js → HEAD CIRCUM_GIRLS.percentile.yearly-0fa9d887.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-24394b6e.js → HEAD CIRCUM_GIRLS.zscore.monthly-5fe68496.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-7f504018.js → HEAD CIRCUM_GIRLS.zscore.weekly-a96524dc.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-4733c33d.js → HEAD CIRCUM_GIRLS.zscore.yearly-6d0885ee.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-3d7f65c9.js → HEIGHT_BOYS.percentile.monthly-ec61e7ab.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-5439e48b.js → HEIGHT_BOYS.percentile.weekly-37e83dfe.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-c203bed3.js → HEIGHT_BOYS.percentile.yearly-56ad57c3.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-8271f5c8.js → HEIGHT_BOYS.zscore.monthly-2b9bd211.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-bfba099e.js → HEIGHT_BOYS.zscore.weekly-7c9402ad.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-52dbe5a8.js → HEIGHT_BOYS.zscore.yearly-881e5313.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-1c8181d0.js → HEIGHT_GIRLS.percentile.monthly-1474650a.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-f079f13e.js → HEIGHT_GIRLS.percentile.weekly-2dd9bda4.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-d266800c.js → HEIGHT_GIRLS.percentile.yearly-6450d9d0.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-41ca67ef.js → HEIGHT_GIRLS.zscore.monthly-e3331b55.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-e48478f0.js → HEIGHT_GIRLS.zscore.weekly-560b2ee0.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-793193e2.js → HEIGHT_GIRLS.zscore.yearly-e43e13e5.js} +0 -0
- /package/build/{Visible-e6fd31fe.js → Visible-c4aa5635.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-539260bf.js → WEIGHT_BOYS.percentile.monthly-6bd2113e.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-6399c894.js → WEIGHT_BOYS.percentile.weekly-1e9c7d6b.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-0b4506a0.js → WEIGHT_BOYS.percentile.yearly-0cda9b49.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-b02535fc.js → WEIGHT_BOYS.zscore.monthly-4d25eeeb.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-6a440e5e.js → WEIGHT_BOYS.zscore.weekly-0140fc1b.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-5bdd7652.js → WEIGHT_BOYS.zscore.yearly-0058e432.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-544b48b4.js → WEIGHT_GIRLS.percentile.monthly-6fe7d121.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-2f89e0a2.js → WEIGHT_GIRLS.percentile.weekly-60ba0a1f.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-e1fee70f.js → WEIGHT_GIRLS.percentile.yearly-0f90e388.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-b255d997.js → WEIGHT_GIRLS.zscore.monthly-db6c5759.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-5bc5ee2b.js → WEIGHT_GIRLS.zscore.weekly-53a4dff9.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-969f7d88.js → WEIGHT_GIRLS.zscore.yearly-758cb807.js} +0 -0
- /package/build/{ageGenerate-70274de8.js → ageGenerate-2c8b68b1.js} +0 -0
- /package/build/{animation-545c3845.js → animation-76f354d1.js} +0 -0
- /package/build/{constants-5c34eb19.js → constants-13a83424.js} +0 -0
- /package/build/{constants-e2534f67.js → constants-16308d83.js} +0 -0
- /package/build/{constants-879264ec.js → constants-7d1984a4.js} +0 -0
- /package/build/{context-1ed1d238.js → context-3e6914b2.js} +0 -0
- /package/build/{dataTransform-ccd3d254.js → dataTransform-a9cab1ad.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-0b5b180c.js → BMI_BOYS.percentile.monthly-6d2573e9.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-b070fd21.js → BMI_BOYS.percentile.weekly-505ba25b.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-8f711651.js → BMI_BOYS.percentile.yearly-dd5889ce.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-a4e99b76.js → BMI_BOYS.zscore.monthly-63ea97fc.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-8ce08c86.js → BMI_BOYS.zscore.weekly-34d5c90b.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-9f487efb.js → BMI_BOYS.zscore.yearly-9ef852c6.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-20d86c35.js → BMI_GIRLS.percentile.monthly-9f97272c.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-be2e5522.js → BMI_GIRLS.percentile.weekly-5d7b2094.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-ab0a7178.js → BMI_GIRLS.percentile.yearly-0079feed.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-0e994dff.js → BMI_GIRLS.zscore.monthly-89ddcac7.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-b3c834c6.js → BMI_GIRLS.zscore.weekly-6094b6d3.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-e7c1d220.js → BMI_GIRLS.zscore.yearly-2102189d.js} +0 -0
- /package/build/esm/{ChevronDown-cf7a70be.js → ChevronDown-a26df514.js} +0 -0
- /package/build/esm/{Google-6f30a87a.js → Google-bfb3d6fc.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-a018ba09.js → HEAD CIRCUM_BOYS.percentile.monthly-10fcb06c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-d0888d5f.js → HEAD CIRCUM_BOYS.percentile.weekly-80440466.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-f6049e93.js → HEAD CIRCUM_BOYS.percentile.yearly-37cef57a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-4c3676e5.js → HEAD CIRCUM_BOYS.zscore.monthly-d8a45360.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-8d968dc3.js → HEAD CIRCUM_BOYS.zscore.weekly-dad69a86.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-1ad17b59.js → HEAD CIRCUM_BOYS.zscore.yearly-00469046.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-00188cf9.js → HEAD CIRCUM_GIRLS.percentile.monthly-4a98517d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-7b9cef12.js → HEAD CIRCUM_GIRLS.percentile.weekly-2c4e29fa.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-a7534ab8.js → HEAD CIRCUM_GIRLS.percentile.yearly-8ddc589e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-7a014836.js → HEAD CIRCUM_GIRLS.zscore.monthly-87f9f555.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-f7bb13a4.js → HEAD CIRCUM_GIRLS.zscore.weekly-e2531eb2.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-1c571a77.js → HEAD CIRCUM_GIRLS.zscore.yearly-93bd8fbb.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-3f81f2e6.js → HEIGHT_BOYS.percentile.monthly-23ea6479.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-e1c7b47e.js → HEIGHT_BOYS.percentile.weekly-b6033694.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-32a74cc8.js → HEIGHT_BOYS.percentile.yearly-ffb40a06.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-afac958e.js → HEIGHT_BOYS.zscore.monthly-da298b9f.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-b683490f.js → HEIGHT_BOYS.zscore.weekly-17ff6793.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-3bc5cfcd.js → HEIGHT_BOYS.zscore.yearly-b550e028.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-1555c683.js → HEIGHT_GIRLS.percentile.monthly-6d0d75f7.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-ac266729.js → HEIGHT_GIRLS.percentile.weekly-e33213c5.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-b2a33450.js → HEIGHT_GIRLS.percentile.yearly-8a07e212.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-c59d7023.js → HEIGHT_GIRLS.zscore.monthly-d468f95d.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-3bc0b400.js → HEIGHT_GIRLS.zscore.weekly-da13cb0e.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-11ebfac2.js → HEIGHT_GIRLS.zscore.yearly-9cef635e.js} +0 -0
- /package/build/esm/{Visible-9531b61a.js → Visible-2e90980f.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-a56b2d16.js → WEIGHT_BOYS.percentile.monthly-628bb2a5.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-c8549ae9.js → WEIGHT_BOYS.percentile.weekly-8a3b102d.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-21b55b63.js → WEIGHT_BOYS.percentile.yearly-0023338e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-f86871d6.js → WEIGHT_BOYS.zscore.monthly-85f2e198.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-5af8c3a2.js → WEIGHT_BOYS.zscore.weekly-59fece93.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-86a5dc0a.js → WEIGHT_BOYS.zscore.yearly-bf57fbe4.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-a7bad001.js → WEIGHT_GIRLS.percentile.monthly-e5b5bf35.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-03afc028.js → WEIGHT_GIRLS.percentile.weekly-88107f18.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-02eb5aaf.js → WEIGHT_GIRLS.percentile.yearly-48196342.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-23b8102a.js → WEIGHT_GIRLS.zscore.monthly-a4533131.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-387726b9.js → WEIGHT_GIRLS.zscore.weekly-fc6fa0ab.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-8e2739a7.js → WEIGHT_GIRLS.zscore.yearly-437fe569.js} +0 -0
- /package/build/esm/{ageGenerate-c1872d67.js → ageGenerate-b2218e34.js} +0 -0
- /package/build/esm/{animation-ac253c4a.js → animation-826e1d58.js} +0 -0
- /package/build/esm/{constants-2f160865.js → constants-3bdcd664.js} +0 -0
- /package/build/esm/{constants-5f6b363c.js → constants-c079f029.js} +0 -0
- /package/build/esm/{constants-3d1898d5.js → constants-c212b81a.js} +0 -0
- /package/build/esm/{context-d599e7dc.js → context-35f52bad.js} +0 -0
- /package/build/esm/{dataTransform-5a962134.js → dataTransform-d23a4e0a.js} +0 -0
- /package/build/esm/{index-4477435c.js → index-1cb17a42.js} +0 -0
- /package/build/esm/{index-47ba3e18.js → index-2b42049a.js} +0 -0
- /package/build/esm/{index-d7c385e9.js → index-403a3eec.js} +0 -0
- /package/build/esm/{index-32875b05.js → index-4046ee2e.js} +0 -0
- /package/build/esm/{index-1c980507.js → index-7bc5f2f2.js} +0 -0
- /package/build/esm/{index-53bd0bdf.js → index-8507ddd7.js} +0 -0
- /package/build/esm/{index-62f1463f.js → index-90972b91.js} +0 -0
- /package/build/esm/{index-407dcda5.js → index-ec87e8b2.js} +0 -0
- /package/build/esm/{index-21130e1b.js → index-ee6f157b.js} +0 -0
- /package/build/esm/{index.styles-b0090ff0.js → index.styles-7597a44e.js} +0 -0
- /package/build/esm/{localizeNumberFormat-1f1e811d.js → localizeNumberFormat-c7326354.js} +0 -0
- /package/build/esm/{number-107806ff.js → number-0d6835e8.js} +0 -0
- /package/build/esm/{paths-1cfcec63.js → paths-a0fb43da.js} +0 -0
- /package/build/esm/{routing-ea8d670a.js → routing-8c46c2b2.js} +0 -0
- /package/build/esm/{shared-b3ef7840.js → shared-9f223841.js} +0 -0
- /package/build/esm/{translationsContext-76fa891e.js → translationsContext-acece8fa.js} +0 -0
- /package/build/esm/{tslib.es6-f8676dd9.js → tslib.es6-55db3c85.js} +0 -0
- /package/build/esm/{types-5434e92d.js → types-411535b1.js} +0 -0
- /package/build/esm/{useImageAspectRatio-3e071148.js → useImageAspectRatio-bb25f275.js} +0 -0
- /package/build/esm/{useOutsideClick-aec33dda.js → useOutsideClick-c6a3e348.js} +0 -0
- /package/build/esm/{useScrollbarSize-e34ea237.js → useScrollbarSize-37514a56.js} +0 -0
- /package/build/esm/{useUniqueId-700011ed.js → useUniqueId-9c41f60f.js} +0 -0
- /package/build/esm/{utils-d418c7c0.js → utils-c22b2d6b.js} +0 -0
- /package/build/esm/{utils-835c2ec3.js → utils-cbf7d169.js} +0 -0
- /package/build/{index-3511d6a1.js → index-25d10ba2.js} +0 -0
- /package/build/{index-e1172b9b.js → index-562323b6.js} +0 -0
- /package/build/{index-f52bbbfa.js → index-68e2d632.js} +0 -0
- /package/build/{index-72a354b2.js → index-7a178e88.js} +0 -0
- /package/build/{index-11bf8414.js → index-833d9331.js} +0 -0
- /package/build/{index-f95654ce.js → index-b2308092.js} +0 -0
- /package/build/{index-6668a83f.js → index-dc4824a2.js} +0 -0
- /package/build/{index-524d268b.js → index-e8b262c2.js} +0 -0
- /package/build/{index-688d1f65.js → index-fd06bec3.js} +0 -0
- /package/build/{index.styles-0b3a8242.js → index.styles-494c4585.js} +0 -0
- /package/build/{localizeNumberFormat-44ed977f.js → localizeNumberFormat-0df85c8a.js} +0 -0
- /package/build/{number-e6c2753e.js → number-17deffea.js} +0 -0
- /package/build/{paths-25e926f2.js → paths-79769afc.js} +0 -0
- /package/build/{routing-12e9d94b.js → routing-cae1d792.js} +0 -0
- /package/build/{shared-07989997.js → shared-34a0c7f7.js} +0 -0
- /package/build/{translationsContext-3fabf462.js → translationsContext-c9d11485.js} +0 -0
- /package/build/{tslib.es6-8606a9a8.js → tslib.es6-b6943142.js} +0 -0
- /package/build/{types-0ee94296.js → types-0fe9831f.js} +0 -0
- /package/build/{useImageAspectRatio-7b6f55e8.js → useImageAspectRatio-8f640360.js} +0 -0
- /package/build/{useOutsideClick-eacb034a.js → useOutsideClick-591c2456.js} +0 -0
- /package/build/{useScrollbarSize-527836e9.js → useScrollbarSize-ab0ad851.js} +0 -0
- /package/build/{useUniqueId-064a28fa.js → useUniqueId-7f03fbaa.js} +0 -0
- /package/build/{utils-19268855.js → utils-df72ae47.js} +0 -0
- /package/build/{utils-fac8b1d4.js → utils-f307adb6.js} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as __awaiter } from './tslib.es6-
|
|
1
|
+
import { _ as __awaiter } from './tslib.es6-55db3c85.js';
|
|
2
2
|
import { create } from 'zustand';
|
|
3
|
-
import { s as setSSOCurrentLocale, g as getUserInfo, a as getSSOCurrentLocale } from './index-
|
|
3
|
+
import { s as setSSOCurrentLocale, c as clearBearerAuthCookies, g as getUserInfo, a as getSSOCurrentLocale } from './index-c5b0ed29.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-428ba4d3.js';
|
|
6
6
|
import { getCookie } from './miscCookieHelper.js';
|
|
7
7
|
|
|
8
8
|
const mergePhone = (phone, areaCode) => {
|
|
@@ -116,6 +116,7 @@ const useSSOV2Store = create()((set, get) => ({
|
|
|
116
116
|
setOpen: (isOpen) => set({ isOpen }),
|
|
117
117
|
returnUrl: undefined,
|
|
118
118
|
setReturnUrl: (returnUrl) => set({ returnUrl }),
|
|
119
|
+
dismissUrl: undefined,
|
|
119
120
|
mounted: false,
|
|
120
121
|
setMounted: (mounted) => set({ mounted }),
|
|
121
122
|
source: undefined,
|
|
@@ -123,10 +124,16 @@ const useSSOV2Store = create()((set, get) => ({
|
|
|
123
124
|
setupSource: undefined,
|
|
124
125
|
setSetupSource: (setupSource) => set({ setupSource }),
|
|
125
126
|
setOnCloseProp: (onClose) => set({ onCloseProp: onClose }),
|
|
127
|
+
phoneVerifyConflict: null,
|
|
128
|
+
setPhoneVerifyConflict: (phoneVerifyConflict) => set({ phoneVerifyConflict }),
|
|
129
|
+
allowDismissOnPhoneConflict: false,
|
|
130
|
+
skipNavigationOnDismiss: false,
|
|
131
|
+
phoneVerifyHostHandlers: undefined,
|
|
132
|
+
setPhoneVerifyHostHandlers: (phoneVerifyHostHandlers) => set({ phoneVerifyHostHandlers }),
|
|
126
133
|
setSSOCurrentLocale: (locale) => setSSOCurrentLocale(locale),
|
|
127
134
|
triggerLogin: (params) => {
|
|
128
135
|
var _a, _b;
|
|
129
|
-
const { source, returnUrl, locale } = params || {};
|
|
136
|
+
const { source, returnUrl, dismissUrl, locale } = params || {};
|
|
130
137
|
setSSOCurrentLocale(locale);
|
|
131
138
|
const alreadyHasToken = getCookie(BEARER_TOKEN_COOKIE);
|
|
132
139
|
if (alreadyHasToken) {
|
|
@@ -137,6 +144,7 @@ const useSSOV2Store = create()((set, get) => ({
|
|
|
137
144
|
(_b = (_a = get()).onCloseProp) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
138
145
|
}
|
|
139
146
|
else {
|
|
147
|
+
clearBearerAuthCookies();
|
|
140
148
|
useSSOSteps.setState({
|
|
141
149
|
steps: [
|
|
142
150
|
{
|
|
@@ -153,6 +161,7 @@ const useSSOV2Store = create()((set, get) => ({
|
|
|
153
161
|
set({
|
|
154
162
|
isOpen: true,
|
|
155
163
|
returnUrl,
|
|
164
|
+
dismissUrl,
|
|
156
165
|
source,
|
|
157
166
|
overrideClose: undefined,
|
|
158
167
|
forceReloadOnClose: (returnUrl === null || returnUrl === void 0 ? void 0 : returnUrl.includes('joincommunity=1'))
|
|
@@ -164,7 +173,7 @@ const useSSOV2Store = create()((set, get) => ({
|
|
|
164
173
|
}
|
|
165
174
|
},
|
|
166
175
|
triggerWhatsappLogin: (params) => {
|
|
167
|
-
const { source, returnUrl, referrer, forceReloadOnClose, isAlreadyLogin, phone_number, area_code, } = params || {};
|
|
176
|
+
const { source, returnUrl, referrer, forceReloadOnClose, isAlreadyLogin, phone_number, area_code, closable, } = params || {};
|
|
168
177
|
const skipPhoneStep = isAlreadyLogin && phone_number && area_code;
|
|
169
178
|
if (skipPhoneStep) {
|
|
170
179
|
const phone = mergePhone(String(phone_number), area_code);
|
|
@@ -202,35 +211,44 @@ const useSSOV2Store = create()((set, get) => ({
|
|
|
202
211
|
overrideClose: undefined,
|
|
203
212
|
forceReloadOnClose: forceReloadOnClose || false,
|
|
204
213
|
flowData: { method: 'whatsapp', flow: 'login' },
|
|
214
|
+
closable: !!closable,
|
|
205
215
|
userInfo: undefined,
|
|
206
216
|
});
|
|
207
217
|
},
|
|
208
218
|
triggerCareEmailPhoneVerify: (params) => __awaiter(void 0, void 0, void 0, function* () {
|
|
209
|
-
var _a, _b, _c;
|
|
219
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
220
|
+
(_b = (_a = get().phoneVerifyHostHandlers) === null || _a === void 0 ? void 0 : _a.onFlowStart) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
221
|
+
const allowDismissOnPhoneConflict = (_d = (_c = params === null || params === void 0 ? void 0 : params.phoneAlreadyUsed) === null || _c === void 0 ? void 0 : _c.allowDismiss) !== null && _d !== void 0 ? _d : (params === null || params === void 0 ? void 0 : params.source) === 'care_onboarding';
|
|
222
|
+
set({
|
|
223
|
+
phoneVerifyConflict: null,
|
|
224
|
+
allowDismissOnPhoneConflict,
|
|
225
|
+
skipNavigationOnDismiss: (params === null || params === void 0 ? void 0 : params.source) === 'care_onboarding',
|
|
226
|
+
phoneAlreadyUsedOnConflict: (_e = params === null || params === void 0 ? void 0 : params.phoneAlreadyUsed) === null || _e === void 0 ? void 0 : _e.onPhoneAlreadyUsed,
|
|
227
|
+
});
|
|
210
228
|
const userInfo = yield getUserInfo();
|
|
211
|
-
if ((
|
|
229
|
+
if ((_f = userInfo === null || userInfo === void 0 ? void 0 : userInfo._data) === null || _f === void 0 ? void 0 : _f.first_time_login) {
|
|
212
230
|
userInfo._data.first_time_login = 0;
|
|
213
231
|
}
|
|
214
232
|
set({ userInfo: userInfo === null || userInfo === void 0 ? void 0 : userInfo._data });
|
|
215
233
|
const forceUpdatePhoneEmail = (alreadyLoggedIn) => __awaiter(void 0, void 0, void 0, function* () {
|
|
216
|
-
var
|
|
234
|
+
var _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y;
|
|
217
235
|
const userInfo = yield getUserInfo();
|
|
218
|
-
const emailFromProfile = (
|
|
236
|
+
const emailFromProfile = (_j = userInfo === null || userInfo === void 0 ? void 0 : userInfo._data) === null || _j === void 0 ? void 0 : _j.email;
|
|
219
237
|
const usableEmailFromProfile = emailFromProfile &&
|
|
220
238
|
!emailFromProfile.endsWith('@hhg.com') &&
|
|
221
239
|
!emailFromProfile.endsWith('@facebook.com')
|
|
222
240
|
? emailFromProfile
|
|
223
241
|
: undefined;
|
|
224
242
|
const carriedEmail = (params === null || params === void 0 ? void 0 : params.email) || usableEmailFromProfile;
|
|
225
|
-
const hasPhone = !!((
|
|
226
|
-
const hasEmail = !!((
|
|
227
|
-
!!((
|
|
228
|
-
!((
|
|
229
|
-
!((
|
|
230
|
-
const hasName = !!((
|
|
231
|
-
const hasBirthday = !!((
|
|
232
|
-
const hasGender = typeof ((
|
|
233
|
-
const provider = (
|
|
243
|
+
const hasPhone = !!((_k = userInfo === null || userInfo === void 0 ? void 0 : userInfo._data) === null || _k === void 0 ? void 0 : _k.phone) && !!((_l = userInfo === null || userInfo === void 0 ? void 0 : userInfo._data) === null || _l === void 0 ? void 0 : _l.phone_verified_at);
|
|
244
|
+
const hasEmail = !!((_m = userInfo === null || userInfo === void 0 ? void 0 : userInfo._data) === null || _m === void 0 ? void 0 : _m.email) &&
|
|
245
|
+
!!((_o = userInfo === null || userInfo === void 0 ? void 0 : userInfo._data) === null || _o === void 0 ? void 0 : _o.email_verified_at) &&
|
|
246
|
+
!((_q = (_p = userInfo === null || userInfo === void 0 ? void 0 : userInfo._data) === null || _p === void 0 ? void 0 : _p.email) === null || _q === void 0 ? void 0 : _q.endsWith('@hhg.com')) &&
|
|
247
|
+
!((_s = (_r = userInfo === null || userInfo === void 0 ? void 0 : userInfo._data) === null || _r === void 0 ? void 0 : _r.email) === null || _s === void 0 ? void 0 : _s.endsWith('@facebook.com'));
|
|
248
|
+
const hasName = !!((_t = userInfo === null || userInfo === void 0 ? void 0 : userInfo._data) === null || _t === void 0 ? void 0 : _t.name);
|
|
249
|
+
const hasBirthday = !!((_u = userInfo === null || userInfo === void 0 ? void 0 : userInfo._data) === null || _u === void 0 ? void 0 : _u.birthday);
|
|
250
|
+
const hasGender = typeof ((_v = userInfo === null || userInfo === void 0 ? void 0 : userInfo._data) === null || _v === void 0 ? void 0 : _v.gender) === 'number';
|
|
251
|
+
const provider = (_w = userInfo === null || userInfo === void 0 ? void 0 : userInfo._data) === null || _w === void 0 ? void 0 : _w.provider;
|
|
234
252
|
const finishedSetup = hasName && hasBirthday && hasGender;
|
|
235
253
|
if (!hasPhone || !hasEmail) {
|
|
236
254
|
useSSOSteps.setState({
|
|
@@ -280,16 +298,16 @@ const useSSOV2Store = create()((set, get) => ({
|
|
|
280
298
|
isOpen: false,
|
|
281
299
|
forceReloadOnClose: false,
|
|
282
300
|
});
|
|
283
|
-
(
|
|
301
|
+
(_y = (_x = get()).onCloseProp) === null || _y === void 0 ? void 0 : _y.call(_x);
|
|
284
302
|
}
|
|
285
303
|
});
|
|
286
|
-
if (!((
|
|
304
|
+
if (!((_g = userInfo === null || userInfo === void 0 ? void 0 : userInfo._data) === null || _g === void 0 ? void 0 : _g.id)) {
|
|
287
305
|
useSSOSteps.setState({
|
|
288
306
|
steps: [
|
|
289
307
|
{
|
|
290
308
|
type: SSOStepTypeType.FIRST,
|
|
291
309
|
config: {
|
|
292
|
-
legalTextType: (((
|
|
310
|
+
legalTextType: (((_h = params === null || params === void 0 ? void 0 : params.returnUrl) === null || _h === void 0 ? void 0 : _h.includes('joincommunity=1'))
|
|
293
311
|
? 'community'
|
|
294
312
|
: params === null || params === void 0 ? void 0 : params.legalTextType) || 'default',
|
|
295
313
|
},
|
|
@@ -312,23 +330,23 @@ const useSSOV2Store = create()((set, get) => ({
|
|
|
312
330
|
}
|
|
313
331
|
}),
|
|
314
332
|
triggerCommunityEmailVerify: (params) => __awaiter(void 0, void 0, void 0, function* () {
|
|
315
|
-
var
|
|
333
|
+
var _z, _0, _1;
|
|
316
334
|
const userInfo = yield getUserInfo();
|
|
317
|
-
if ((
|
|
335
|
+
if ((_z = userInfo === null || userInfo === void 0 ? void 0 : userInfo._data) === null || _z === void 0 ? void 0 : _z.first_time_login) {
|
|
318
336
|
userInfo._data.first_time_login = 0;
|
|
319
337
|
}
|
|
320
338
|
set({ userInfo: userInfo === null || userInfo === void 0 ? void 0 : userInfo._data });
|
|
321
339
|
const forceUpdateEmail = (alreadyLoggedIn) => __awaiter(void 0, void 0, void 0, function* () {
|
|
322
|
-
var
|
|
340
|
+
var _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13;
|
|
323
341
|
const userInfo = yield getUserInfo();
|
|
324
|
-
const hasEmail = !!((
|
|
325
|
-
!!((
|
|
326
|
-
!((
|
|
327
|
-
!((
|
|
328
|
-
const hasName = !!((
|
|
329
|
-
const hasBirthday = !!((
|
|
330
|
-
const hasGender = typeof ((
|
|
331
|
-
const provider = (
|
|
342
|
+
const hasEmail = !!((_2 = userInfo === null || userInfo === void 0 ? void 0 : userInfo._data) === null || _2 === void 0 ? void 0 : _2.email) &&
|
|
343
|
+
!!((_3 = userInfo === null || userInfo === void 0 ? void 0 : userInfo._data) === null || _3 === void 0 ? void 0 : _3.email_verified_at) &&
|
|
344
|
+
!((_5 = (_4 = userInfo === null || userInfo === void 0 ? void 0 : userInfo._data) === null || _4 === void 0 ? void 0 : _4.email) === null || _5 === void 0 ? void 0 : _5.endsWith('@hhg.com')) &&
|
|
345
|
+
!((_7 = (_6 = userInfo === null || userInfo === void 0 ? void 0 : userInfo._data) === null || _6 === void 0 ? void 0 : _6.email) === null || _7 === void 0 ? void 0 : _7.endsWith('@facebook.com'));
|
|
346
|
+
const hasName = !!((_8 = userInfo === null || userInfo === void 0 ? void 0 : userInfo._data) === null || _8 === void 0 ? void 0 : _8.name);
|
|
347
|
+
const hasBirthday = !!((_9 = userInfo === null || userInfo === void 0 ? void 0 : userInfo._data) === null || _9 === void 0 ? void 0 : _9.birthday);
|
|
348
|
+
const hasGender = typeof ((_10 = userInfo === null || userInfo === void 0 ? void 0 : userInfo._data) === null || _10 === void 0 ? void 0 : _10.gender) === 'number';
|
|
349
|
+
const provider = (_11 = userInfo === null || userInfo === void 0 ? void 0 : userInfo._data) === null || _11 === void 0 ? void 0 : _11.provider;
|
|
332
350
|
const finishedSetup = hasName && hasBirthday && hasGender;
|
|
333
351
|
if (!hasEmail) {
|
|
334
352
|
useSSOSteps.setState({
|
|
@@ -369,16 +387,16 @@ const useSSOV2Store = create()((set, get) => ({
|
|
|
369
387
|
isOpen: false,
|
|
370
388
|
forceReloadOnClose: false,
|
|
371
389
|
});
|
|
372
|
-
(
|
|
390
|
+
(_13 = (_12 = get()).onCloseProp) === null || _13 === void 0 ? void 0 : _13.call(_12);
|
|
373
391
|
}
|
|
374
392
|
});
|
|
375
|
-
if (!((
|
|
393
|
+
if (!((_0 = userInfo === null || userInfo === void 0 ? void 0 : userInfo._data) === null || _0 === void 0 ? void 0 : _0.id)) {
|
|
376
394
|
useSSOSteps.setState({
|
|
377
395
|
steps: [
|
|
378
396
|
{
|
|
379
397
|
type: SSOStepTypeType.FIRST,
|
|
380
398
|
config: {
|
|
381
|
-
legalTextType: (((
|
|
399
|
+
legalTextType: (((_1 = params === null || params === void 0 ? void 0 : params.returnUrl) === null || _1 === void 0 ? void 0 : _1.includes('joincommunity=1'))
|
|
382
400
|
? 'community'
|
|
383
401
|
: params === null || params === void 0 ? void 0 : params.legalTextType) || 'default',
|
|
384
402
|
},
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { default } from "./subotInlineRevamp";
|
|
2
|
+
export type { SubotInlineHostHandlers, SubotInlineSsoLoginPayload, } from "./subotInlineRevamp/types";
|
|
2
3
|
export { default as SubotInlineRevampWithTheme } from "./subotInlineRevamp/with-theme";
|
|
3
4
|
export { UserInfoForm } from "./components/userInfoForm";
|
|
4
5
|
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, }: SubotInlineProps) => React.JSX.Element;
|
|
3
|
+
declare const SubotInline: ({ id, isMobile, articleLink, customUrl, hostHandlers, }: SubotInlineProps) => React.JSX.Element;
|
|
4
4
|
export { SubotInline };
|
|
@@ -1,12 +1,14 @@
|
|
|
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";
|
|
4
5
|
export type SubotInlineProps = {
|
|
5
6
|
id?: string | number;
|
|
6
7
|
isMobile?: boolean;
|
|
7
8
|
asPath?: string;
|
|
8
9
|
articleLink: string;
|
|
9
10
|
customUrl?: string;
|
|
11
|
+
hostHandlers?: SubotInlineHostHandlers;
|
|
10
12
|
};
|
|
11
13
|
export type SubotInlineContextProps = {
|
|
12
14
|
activeId?: string;
|
|
@@ -21,6 +23,7 @@ export type SubotInlineContextProps = {
|
|
|
21
23
|
onReset?: () => void;
|
|
22
24
|
trackingCommonInline: Record<string, string | number | undefined | null>;
|
|
23
25
|
userInfo?: UserInfo;
|
|
26
|
+
hostHandlers?: SubotInlineHostHandlers;
|
|
24
27
|
};
|
|
25
28
|
export type ActionsClickProps = {
|
|
26
29
|
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, }: ContextProps) => React.JSX.Element;
|
|
4
|
+
export declare const SubotInlineProvider: ({ children, articleLink, subotId, isFullContainer, bgColor: _bgColor, primaryColor: _primaryColor, textColor, textButtonColor, bgContentColor, bgImgFullContainer, isDisabledAnimationOnMobile, onCloseMobile, userInfo, typeFormProps, customUrl, isMobile, locale, hostHandlers, }: ContextProps) => React.JSX.Element;
|
|
@@ -12,6 +12,15 @@ 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
|
+
};
|
|
15
24
|
export type ContextProps = {
|
|
16
25
|
subotId: number;
|
|
17
26
|
articleLink: string;
|
|
@@ -24,6 +33,7 @@ export type ContextProps = {
|
|
|
24
33
|
userInfo: UserInfo | undefined | null;
|
|
25
34
|
typeFormProps?: TypeFormProp;
|
|
26
35
|
locale?: LOCALE;
|
|
36
|
+
hostHandlers?: SubotInlineHostHandlers;
|
|
27
37
|
} & CommonProps;
|
|
28
38
|
export type ContextType = {
|
|
29
39
|
activeId: string;
|
|
@@ -47,6 +57,7 @@ export type ContextType = {
|
|
|
47
57
|
typeFormProps?: TypeFormProp;
|
|
48
58
|
isMobile?: boolean;
|
|
49
59
|
locale?: LOCALE;
|
|
60
|
+
hostHandlers?: SubotInlineHostHandlers;
|
|
50
61
|
};
|
|
51
62
|
export type SubotInlineRevampContainerProps = {
|
|
52
63
|
id: string | number;
|
|
@@ -61,6 +72,7 @@ export type SubotInlineRevampContainerProps = {
|
|
|
61
72
|
locale?: LOCALE;
|
|
62
73
|
onLoadFirstNode?: (data: any) => void;
|
|
63
74
|
withoutSkeleton?: boolean;
|
|
75
|
+
hostHandlers?: SubotInlineHostHandlers;
|
|
64
76
|
} & CommonProps;
|
|
65
77
|
export type SubotInlineRevampViewProps = {
|
|
66
78
|
loading: boolean;
|
|
@@ -1,6 +1,26 @@
|
|
|
1
1
|
import { SubotNodeItem, SubotMessage, SubotBotItem, SubotFormSubmitMeta } from "../../interfaces/types";
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const SUBOT_INLINE_SSO_QUERY_KEYS: readonly ["bot_id", "mode", "embeddedType", "toolName"];
|
|
3
|
+
/**
|
|
4
|
+
* Remove subot-inline SSO returnUrl params from the address bar after a successful
|
|
5
|
+
* post-login restore so a later SSO attempt is not stuck when redirect() compares URLs.
|
|
6
|
+
*/
|
|
7
|
+
export declare const stripSubotInlineSsoQueryFromUrl: () => boolean;
|
|
8
|
+
export type SubotInlineSsoRestoreResult = {
|
|
9
|
+
listNodes: SubotNodeItem[];
|
|
10
|
+
activeId: string;
|
|
11
|
+
params: SubotMessage;
|
|
12
|
+
};
|
|
13
|
+
/** Current page URL without subot-inline SSO query noise (for SSO V2 popup returnUrl). */
|
|
14
|
+
export declare const buildSubotInlineSsoReturnUrl: () => string;
|
|
15
|
+
export declare const isActiveSubotInlineSsoNode: (listNodes: SubotNodeItem[], activeId: string) => boolean;
|
|
16
|
+
export declare const hasPendingSubotInlineSsoState: (botId: string | number) => boolean;
|
|
17
|
+
export declare const restoreSubotInlineFromSsoStorage: (botId: string | number, { getParams, accountId, }: {
|
|
18
|
+
getParams: () => SubotMessage;
|
|
19
|
+
accountId?: number | string | null;
|
|
20
|
+
}) => Promise<SubotInlineSsoRestoreResult | null>;
|
|
21
|
+
export declare const getPreviousStateFromStorage: (botId: string | number, { getParams, accountId, }: {
|
|
3
22
|
getParams: () => SubotMessage;
|
|
23
|
+
accountId?: number | string | null;
|
|
4
24
|
}) => {
|
|
5
25
|
listNodes: SubotNodeItem[];
|
|
6
26
|
activeId: string;
|