@hhgtech/hhg-components 1.29.314-beta-12 → 1.29.314-beta-13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/{LastPeriod-efd058b1.js → LastPeriod-f5c5ac6a.js} +1 -1
- package/build/{MobileBottomNavigationIcon-85efd5ef.js → MobileBottomNavigationIcon-48644363.js} +3 -3
- package/build/{Spinner-4fcd4533.js → Spinner-7f078039.js} +1 -1
- package/build/{WhatsApp-555add94.js → WhatsApp-96b48d49.js} +1 -1
- package/build/adapters.js +19 -19
- package/build/atoms.js +46 -46
- package/build/babyGrowth.js +83 -83
- package/build/cache.js +2 -2
- package/build/care/components/organisms/bookingSearchBar/index.styled.d.ts +2 -2
- package/build/care.js +17 -17
- package/build/careBookingSearchBar.js +14 -14
- package/build/careBookingSearchBarV2.js +15 -15
- package/build/components/atoms/drawer/helpers.d.ts +1 -1
- package/build/components/mantine/helpers.d.ts +1 -1
- package/build/components/molecules/mobileBottomNavigation/index.styled.d.ts +6 -1
- package/build/components/onboardingV2/frisoForm/index.d.ts +1 -1
- package/build/components/onboardingV2/index.d.ts +1 -1
- package/build/components.js +90 -90
- package/build/{constants-da67a9f2.js → constants-e7e4bf1c.js} +1 -1
- package/build/constants.js +3 -3
- package/build/constantsDomainLocales.js +1 -1
- package/build/constantsRiskScreener.js +2 -2
- package/build/constantsSite.js +2 -2
- package/build/{core-0c9b7626.js → core-96395b35.js} +1 -1
- package/build/{dataTransform-55023fea.js → dataTransform-a7c2ab7b.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-fd311c4a.js → editor-4f21b08b.js} +11 -11
- package/build/embeddedHeathToolCards_babyGrowth.js +23 -23
- package/build/embeddedHeathToolCards_babyPoop.js +19 -19
- package/build/embeddedHeathToolCards_babyVaccine.js +22 -22
- package/build/embeddedHeathToolCards_bmi_bmi.js +25 -25
- package/build/embeddedHeathToolCards_bmrBmr.js +25 -25
- package/build/embeddedHeathToolCards_dueDate_dueDate.js +22 -22
- package/build/embeddedHeathToolCards_ovulation_ovulation.js +22 -22
- package/build/embeddedHeathToolCards_pwg_pwg.js +26 -26
- package/build/embeddedHeathToolCards_targetHeartRate.js +27 -27
- package/build/esm/{LastPeriod-dbced337.js → LastPeriod-d723514e.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-9958d36f.js → MobileBottomNavigationIcon-0bdd2046.js} +3 -3
- package/build/esm/{Spinner-74fb2795.js → Spinner-6a7aaaac.js} +1 -1
- package/build/esm/{WhatsApp-350d199d.js → WhatsApp-b4570a58.js} +1 -1
- package/build/esm/adapters.js +19 -19
- package/build/esm/atoms.js +46 -46
- package/build/esm/babyGrowth.js +83 -83
- package/build/esm/cache.js +2 -2
- package/build/esm/care/components/organisms/bookingSearchBar/index.styled.d.ts +2 -2
- package/build/esm/care.js +17 -17
- package/build/esm/careBookingSearchBar.js +14 -14
- package/build/esm/careBookingSearchBarV2.js +15 -15
- package/build/esm/components/atoms/drawer/helpers.d.ts +1 -1
- package/build/esm/components/mantine/helpers.d.ts +1 -1
- package/build/esm/components/molecules/mobileBottomNavigation/index.styled.d.ts +6 -1
- package/build/esm/components/onboardingV2/frisoForm/index.d.ts +1 -1
- package/build/esm/components/onboardingV2/index.d.ts +1 -1
- package/build/esm/components.js +90 -90
- package/build/esm/{constants-bf331885.js → constants-7876e451.js} +1 -1
- package/build/esm/constants.js +3 -3
- package/build/esm/constantsDomainLocales.js +1 -1
- package/build/esm/constantsRiskScreener.js +2 -2
- package/build/esm/constantsSite.js +2 -2
- package/build/esm/{core-33a9316e.js → core-81eb62d7.js} +1 -1
- package/build/esm/{dataTransform-74095d01.js → dataTransform-2d287369.js} +1 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-cf76f0c9.js → editor-5cda2af6.js} +11 -11
- package/build/esm/embeddedHeathToolCards_babyGrowth.js +23 -23
- package/build/esm/embeddedHeathToolCards_babyPoop.js +19 -19
- package/build/esm/embeddedHeathToolCards_babyVaccine.js +22 -22
- package/build/esm/embeddedHeathToolCards_bmi_bmi.js +25 -25
- package/build/esm/embeddedHeathToolCards_bmrBmr.js +25 -25
- package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +22 -22
- package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +22 -22
- package/build/esm/embeddedHeathToolCards_pwg_pwg.js +26 -26
- package/build/esm/embeddedHeathToolCards_targetHeartRate.js +27 -27
- package/build/esm/{fixedBottomAdBlock-8949ad35.js → fixedBottomAdBlock-c33c021f.js} +24 -24
- package/build/esm/footer.js +21 -21
- package/build/esm/gAssets.js +2 -2
- package/build/esm/healthToolsCardWrapper.js +18 -18
- package/build/esm/healthToolsForm.js +33 -33
- package/build/esm/hooks.js +13 -13
- package/build/esm/i18n/translationKeys.d.ts +1 -1
- package/build/esm/i18n-values/en-PH.js +1 -5
- package/build/esm/i18n-values/hi-IN.js +1 -5
- package/build/esm/i18n-values/id-ID.js +172 -176
- package/build/esm/i18n-values/km-KH.js +1 -5
- package/build/esm/i18n-values/ms-MY.js +313 -317
- package/build/esm/i18n-values/my-MM.js +0 -4
- package/build/esm/i18n-values/th-TH.js +0 -4
- package/build/esm/i18n-values/tl-PH.js +0 -4
- package/build/esm/i18n-values/vi-VN.js +0 -4
- package/build/esm/i18n-values/vi-VN_MB.js +0 -4
- package/build/esm/i18n-values/zh-TW.js +1 -5
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-5b17f4e1.js → index-07ae58be.js} +20 -20
- package/build/esm/{index-288f2227.js → index-0c869e16.js} +16 -16
- package/build/esm/{index-2f2bb8f3.js → index-0cef690a.js} +2 -2
- package/build/esm/{index-d6210591.js → index-17c221f9.js} +3 -3
- package/build/esm/{index-abf6abee.js → index-1883da3c.js} +18 -18
- package/build/esm/{index-585aa99c.js → index-263a56e8.js} +1 -1
- package/build/esm/{index-dac36133.js → index-27d53d49.js} +26 -26
- package/build/esm/{index-2d99ab05.js → index-28733f7e.js} +1 -1
- package/build/esm/{index-00604a0b.js → index-29077c2e.js} +2 -2
- package/build/esm/{index-ed05e95e.js → index-2a15559a.js} +2 -2
- package/build/esm/{index-fba93fbf.js → index-2f09a706.js} +15 -15
- package/build/esm/{index-23407670.js → index-2fb4c9d9.js} +6 -6
- package/build/esm/{index-ac630799.js → index-355b1ae5.js} +15 -15
- package/build/esm/{index-cc2272c2.js → index-3a038ed7.js} +1 -1
- package/build/esm/{index-057fbeab.js → index-3bd0b6b1.js} +1 -1
- package/build/esm/{index-21ce6eeb.js → index-3d262e7f.js} +3 -3
- package/build/esm/{index-dfa009c0.js → index-46a1c383.js} +3 -3
- package/build/esm/{index-7462a253.js → index-4758f9df.js} +5 -5
- package/build/esm/{index-3b3d6a1d.js → index-4aee81c4.js} +2 -2
- package/build/esm/{index-41fc2cec.js → index-4fccfbd8.js} +6 -6
- package/build/esm/{index-84d48158.js → index-5179509a.js} +7 -7
- package/build/esm/{index-13d8d02f.js → index-51ea51ee.js} +2 -2
- package/build/esm/{index-aaff1788.js → index-5206dc94.js} +1 -1
- package/build/esm/{index-830dea81.js → index-56d530af.js} +2 -2
- package/build/esm/{index-54bf9a6e.js → index-57477cf8.js} +13 -13
- package/build/esm/{index-bd681dd9.js → index-61de082c.js} +32 -32
- package/build/esm/{index-fee0e521.js → index-6488fec2.js} +17 -17
- package/build/esm/{index-002ee92e.js → index-6bef97e3.js} +13 -13
- package/build/esm/{index-dd9c0c16.js → index-6e250bc2.js} +1 -1
- package/build/esm/{index-8b9d02f6.js → index-7050db4f.js} +3 -3
- package/build/esm/{index-c17ed727.js → index-789f93f1.js} +13 -13
- package/build/esm/{index-78583ed9.js → index-7b183097.js} +2 -2
- package/build/esm/{index-8c9a6e14.js → index-7cd73d93.js} +6 -6
- package/build/esm/{index-88fc246b.js → index-7d1e8870.js} +1 -1
- package/build/esm/{index-bc910a0a.js → index-938540a9.js} +2 -2
- package/build/esm/{index-b8114c69.js → index-9715c506.js} +16 -16
- package/build/esm/{index-c4a22497.js → index-97f69348.js} +3 -3
- package/build/esm/{index-37b2313b.js → index-98e24a5a.js} +2 -2
- package/build/esm/{index-8c9f1f5e.js → index-9bf240ee.js} +7 -7
- package/build/esm/{index-71f95b54.js → index-9e041b52.js} +2 -2
- package/build/esm/{index-466cc210.js → index-9fc0d82d.js} +3 -3
- package/build/esm/{index-9cc05653.js → index-a1ac2ab9.js} +10 -10
- package/build/esm/{index-787e62bf.js → index-a1f0df58.js} +5 -5
- package/build/esm/{index-ac372261.js → index-a2726f10.js} +2 -2
- package/build/esm/{index-5a82cd53.js → index-a31af07d.js} +6 -6
- package/build/esm/{index-d868b94b.js → index-a4c988ee.js} +16 -16
- package/build/esm/{index-56247e7b.js → index-a4e8c0b9.js} +2 -2
- package/build/esm/{index-8ae14b5f.js → index-ab8d34a8.js} +13 -13
- package/build/esm/{index-099c20e0.js → index-afd2a401.js} +21 -21
- package/build/esm/{index-4d6d64a7.js → index-b8dbc7d1.js} +30 -30
- package/build/esm/{index-305c5a4d.js → index-bb18fe34.js} +17 -17
- package/build/esm/{index-1fc27107.js → index-be23e578.js} +17 -17
- package/build/esm/{index-b3403a06.js → index-c859ef7d.js} +4 -4
- package/build/esm/index-cba6e044.js +339 -0
- package/build/esm/{index-eb2db62a.js → index-cf8edaad.js} +2 -2
- package/build/esm/{index-b2d33ba5.js → index-d71ea2a7.js} +18 -18
- package/build/esm/{index-fcfab86e.js → index-dee41600.js} +11 -11
- package/build/esm/{index-42bebc2a.js → index-e14ca163.js} +24 -24
- package/build/esm/{index-9bbadb20.js → index-ea6ac545.js} +1 -1
- package/build/esm/{index-aa6dfdbd.js → index-ef08ec8a.js} +16 -16
- package/build/esm/{index-f04f4afb.js → index-f6e83ef2.js} +3 -3
- package/build/esm/index.js +112 -112
- package/build/esm/{labelSorting-91e4dc9f.js → labelSorting-04200abd.js} +4 -4
- package/build/esm/lead.js +24 -24
- package/build/esm/{logoIcon-fc54f3c2.js → logoIcon-dbcd10b0.js} +2 -2
- package/build/esm/mantine.js +25 -25
- package/build/esm/misc/animation.d.ts +54 -9
- package/build/esm/misc.js +16 -16
- package/build/esm/miscGetDynamicHealthTool.js +4 -4
- package/build/esm/miscGetSocialList.js +8 -8
- package/build/esm/miscScreenSizeContext.js +1 -1
- package/build/esm/mobileBottomNavigation.js +5 -5
- package/build/esm/mobileBottomNavigationIcon.js +5 -5
- package/build/esm/molecules.js +69 -69
- package/build/esm/moleculesArticleCard.js +6 -6
- package/build/esm/moleculesArticleCardV2.js +16 -16
- package/build/esm/navigation.js +40 -40
- package/build/esm/navigationLogoutPopup.js +9 -9
- package/build/esm/navigationProfileButton.js +23 -23
- package/build/esm/onboardingV2.js +29 -29
- package/build/esm/organisms.js +44 -44
- package/build/esm/{post-4875d35c.js → post-8790f02b.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 +0 -1
- package/build/esm/ssoV2/api/paths.d.ts +0 -7
- package/build/esm/ssoV2/api/phoneUtils.d.ts +1 -1
- package/build/esm/ssoV2/screens/components/progressBar.d.ts +0 -1
- package/build/esm/ssoV2/screens/otp.d.ts +1 -1
- package/build/esm/ssoV2/ssoStateManager/store.d.ts +1 -1
- package/build/esm/ssoV2.js +61 -340
- package/build/esm/{store-c1f9f3ca.js → store-9d39a617.js} +9 -21
- package/build/esm/subot/utils/index.d.ts +1 -1
- package/build/esm/subot.js +137 -174
- package/build/esm/surveyOrPremiumBanner.js +31 -31
- package/build/esm/surveyQuestionCard.js +10 -10
- package/build/esm/{surveyThankyouCard-efb98c5a.js → surveyThankyouCard-7487c5e7.js} +5 -5
- package/build/esm/together.js +53 -53
- package/build/esm/togetherApiUtils.js +4 -4
- package/build/esm/togetherAtoms.js +30 -30
- package/build/esm/togetherComponentGlobalContext.js +4 -4
- package/build/esm/togetherMolecules.js +48 -48
- package/build/esm/togetherMoleculesCardAuthor.js +27 -27
- package/build/esm/togetherMoleculesPostImagePreview.js +11 -11
- package/build/esm/togetherMoleculesProfileDetail.js +37 -37
- package/build/esm/togetherOrganisms.js +47 -47
- package/build/esm/togetherRichTextEditor.js +17 -17
- package/build/esm/togetherShareBox.js +10 -10
- package/build/esm/{treePopoverMenu-29b3102b.js → treePopoverMenu-12c51a13.js} +19 -19
- package/build/esm/{types-cf4a7769.js → types-73b6cbdb.js} +2 -2
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-2709b13f.js → useCategory-4da68996.js} +5 -5
- package/build/esm/{useHealthToolCache-ff377cdb.js → useHealthToolCache-0b48f8d2.js} +1 -1
- package/build/esm/{useMantineLocale-6f81ba1d.js → useMantineLocale-d2831aab.js} +6 -6
- package/build/esm/{usePlacesAutocomplete-0805e79f.js → usePlacesAutocomplete-3292eae0.js} +1 -1
- package/build/esm/{useScreenSize-3a059a11.js → useScreenSize-f7db8e47.js} +2 -2
- package/build/esm/useTogetherAuthRequiredAction.js +9 -9
- package/build/esm/{utils-22127224.js → utils-863a2958.js} +2 -2
- package/build/esm/{utils-d686957c.js → utils-8c704381.js} +3 -3
- package/build/esm/{utils-72068084.js → utils-b2514f34.js} +2 -2
- package/build/esm/vaccination.js +21 -21
- package/build/{fixedBottomAdBlock-aee78eb0.js → fixedBottomAdBlock-ebadd6b8.js} +24 -24
- package/build/footer.js +21 -21
- package/build/gAssets.js +2 -2
- package/build/healthToolsCardWrapper.js +18 -18
- package/build/healthToolsForm.js +33 -33
- package/build/hooks.js +13 -13
- package/build/i18n/translationKeys.d.ts +1 -1
- package/build/i18n-values/en-PH.js +1 -5
- package/build/i18n-values/hi-IN.js +1 -5
- package/build/i18n-values/id-ID.js +172 -176
- package/build/i18n-values/km-KH.js +1 -5
- package/build/i18n-values/ms-MY.js +313 -317
- package/build/i18n-values/my-MM.js +0 -4
- package/build/i18n-values/th-TH.js +0 -4
- package/build/i18n-values/tl-PH.js +0 -4
- package/build/i18n-values/vi-VN.js +0 -4
- package/build/i18n-values/vi-VN_MB.js +0 -4
- package/build/i18n-values/zh-TW.js +1 -5
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-83fa9fa3.js → index-00cacb11.js} +3 -3
- package/build/{index-8eb97d65.js → index-02e8b84e.js} +16 -16
- package/build/{index-4ec48087.js → index-03430aac.js} +17 -17
- package/build/{index-266b0564.js → index-14d8c62f.js} +2 -2
- package/build/{index-0232de87.js → index-1ee124fa.js} +4 -4
- package/build/{index-40f54fed.js → index-245ef554.js} +2 -2
- package/build/{index-cd4c68b9.js → index-28f40b65.js} +13 -13
- package/build/{index-19182614.js → index-2d3b6678.js} +3 -3
- package/build/{index-f8dd139d.js → index-3013221b.js} +5 -5
- package/build/{index-7a1f42e3.js → index-3147f59c.js} +26 -26
- package/build/{index-3cd5653c.js → index-35228015.js} +7 -7
- package/build/{index-651c9782.js → index-366eb12a.js} +1 -1
- package/build/{index-67b8f58e.js → index-38834962.js} +2 -2
- package/build/{index-8a849fc2.js → index-3ae5bba0.js} +5 -5
- package/build/{index-a983c151.js → index-3b372b19.js} +18 -18
- package/build/{index-f4e28f5b.js → index-3fe8e1d8.js} +15 -15
- package/build/{index-72630ccb.js → index-4364e279.js} +1 -1
- package/build/{index-ade2dda3.js → index-477e7720.js} +2 -2
- package/build/{index-a4394c54.js → index-4d4d4ff3.js} +2 -2
- package/build/{index-916f592e.js → index-4e6d7293.js} +13 -13
- package/build/{index-142b2265.js → index-4eb2dfd7.js} +16 -16
- package/build/{index-ce384ab0.js → index-553c3e1f.js} +3 -3
- package/build/{index-e324171a.js → index-5541e3fc.js} +1 -1
- package/build/{index-4e171e23.js → index-59e292b1.js} +20 -20
- package/build/{index-ca3354db.js → index-62329f41.js} +10 -10
- package/build/{index-1fb5a90f.js → index-68b351f2.js} +2 -2
- package/build/{index-bfba9545.js → index-6cb3fdb8.js} +2 -2
- package/build/{index-03eaa4b0.js → index-6ffaf2a5.js} +1 -1
- package/build/{index-71ec7e85.js → index-71bd9725.js} +21 -21
- package/build/{index-6234b3a0.js → index-726c09cf.js} +30 -30
- package/build/{index-e928a627.js → index-76a5567a.js} +6 -6
- package/build/{index-9c85decb.js → index-7a0d1363.js} +11 -11
- package/build/{index-bf17bb17.js → index-81b2ddc9.js} +2 -2
- package/build/{index-b0080c09.js → index-82df24e9.js} +3 -3
- package/build/{index-dcf2742b.js → index-89dde80c.js} +6 -6
- package/build/{index-b498e8f8.js → index-8aa4f9ed.js} +2 -2
- package/build/{index-5fa938cc.js → index-9361dfa3.js} +3 -3
- package/build/index-98c7c319.js +341 -0
- package/build/{index-df7109fc.js → index-9d30f1d1.js} +15 -15
- package/build/{index-1a35680f.js → index-a06a6afa.js} +24 -24
- package/build/{index-22f8f39b.js → index-a1ddd999.js} +13 -13
- package/build/{index-808f8be0.js → index-ae99f5f2.js} +32 -32
- package/build/{index-1f8b7684.js → index-afa73fa8.js} +18 -18
- package/build/{index-e56caa8a.js → index-b3212192.js} +1 -1
- package/build/{index-259e09b1.js → index-b37c7222.js} +2 -2
- package/build/{index-9dd4b1b9.js → index-bda215f6.js} +6 -6
- package/build/{index-d2409a16.js → index-c6b6bc0e.js} +17 -17
- package/build/{index-f4827f35.js → index-cbec3c30.js} +2 -2
- package/build/{index-228d8b3d.js → index-cc985720.js} +16 -16
- package/build/{index-e894dd9a.js → index-cef7f802.js} +6 -6
- package/build/{index-526b4d43.js → index-cfc9831c.js} +17 -17
- package/build/{index-11a92b9a.js → index-d84fd1fe.js} +16 -16
- package/build/{index-b01ef5a3.js → index-d8fdd087.js} +3 -3
- package/build/{index-454b8f55.js → index-dc640560.js} +1 -1
- package/build/{index-788ad292.js → index-df1ad3c1.js} +1 -1
- package/build/{index-eab8761c.js → index-e46f5383.js} +3 -3
- package/build/{index-bbdc588b.js → index-e95221d6.js} +2 -2
- package/build/{index-5efc7fbe.js → index-f01b7862.js} +7 -7
- package/build/{index-0b1c5525.js → index-f29720bf.js} +13 -13
- package/build/{index-eae78877.js → index-f7f2d963.js} +1 -1
- package/build/{index-adf6e4d9.js → index-f865def3.js} +2 -2
- package/build/index.js +112 -112
- package/build/{labelSorting-5e064c0c.js → labelSorting-9dea4911.js} +4 -4
- package/build/lead.js +24 -24
- package/build/{logoIcon-9ba31466.js → logoIcon-7909cc0f.js} +2 -2
- package/build/mantine.js +22 -22
- package/build/misc/animation.d.ts +54 -9
- package/build/misc.js +16 -16
- package/build/miscGetDynamicHealthTool.js +4 -4
- package/build/miscGetSocialList.js +8 -8
- package/build/miscScreenSizeContext.js +1 -1
- package/build/mobileBottomNavigation.js +5 -5
- package/build/mobileBottomNavigationIcon.js +5 -5
- package/build/molecules.js +69 -69
- package/build/moleculesArticleCard.js +6 -6
- package/build/moleculesArticleCardV2.js +16 -16
- package/build/navigation.js +40 -40
- package/build/navigationLogoutPopup.js +9 -9
- package/build/navigationProfileButton.js +23 -23
- package/build/onboardingV2.js +28 -28
- package/build/organisms.js +44 -44
- package/build/{post-605b19b8.js → post-8fdff6de.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 +0 -1
- package/build/ssoV2/api/paths.d.ts +0 -7
- package/build/ssoV2/api/phoneUtils.d.ts +1 -1
- package/build/ssoV2/screens/components/progressBar.d.ts +0 -1
- package/build/ssoV2/screens/otp.d.ts +1 -1
- package/build/ssoV2/ssoStateManager/store.d.ts +1 -1
- package/build/ssoV2.js +73 -352
- package/build/{store-af400662.js → store-21a18659.js} +8 -21
- package/build/subot/utils/index.d.ts +1 -1
- package/build/subot.js +136 -173
- package/build/surveyOrPremiumBanner.js +31 -31
- package/build/surveyQuestionCard.js +10 -10
- package/build/{surveyThankyouCard-1b69a3cf.js → surveyThankyouCard-4acebc19.js} +5 -5
- package/build/together.js +53 -53
- package/build/togetherApiUtils.js +4 -4
- package/build/togetherAtoms.js +30 -30
- package/build/togetherComponentGlobalContext.js +4 -4
- package/build/togetherMolecules.js +48 -48
- package/build/togetherMoleculesCardAuthor.js +27 -27
- package/build/togetherMoleculesPostImagePreview.js +11 -11
- package/build/togetherMoleculesProfileDetail.js +37 -37
- package/build/togetherOrganisms.js +47 -47
- package/build/togetherRichTextEditor.js +17 -17
- package/build/togetherShareBox.js +10 -10
- package/build/{treePopoverMenu-a273dd41.js → treePopoverMenu-66e7f624.js} +19 -19
- package/build/{types-6ff55f30.js → types-fab9f37a.js} +2 -2
- package/build/types.js +2 -2
- package/build/{useCategory-e5d509f6.js → useCategory-ff353ab6.js} +5 -5
- package/build/{useHealthToolCache-06b25196.js → useHealthToolCache-fa7a35bc.js} +1 -1
- package/build/{useMantineLocale-a53f9380.js → useMantineLocale-a247d7a7.js} +6 -6
- package/build/{usePlacesAutocomplete-6462aa87.js → usePlacesAutocomplete-720ab26d.js} +1 -1
- package/build/{useScreenSize-6ef8c14e.js → useScreenSize-c1ed16b0.js} +2 -2
- package/build/useTogetherAuthRequiredAction.js +9 -9
- package/build/{utils-97128143.js → utils-0403861d.js} +2 -2
- package/build/{utils-24a8968b.js → utils-26abfbc6.js} +3 -3
- package/build/{utils-6f7bd4a0.js → utils-b9d628e8.js} +2 -2
- package/build/vaccination.js +21 -21
- package/package.json +1 -1
- package/build/esm/index-c879adca.js +0 -275
- package/build/esm/ssoV2/api/whatsapp.d.ts +0 -6
- package/build/esm/ssoV2/screens/components/whatsapp.d.ts +0 -5
- package/build/esm/ssoV2/utils.d.ts +0 -3
- package/build/index-9ce0b0ea.js +0 -277
- package/build/ssoV2/api/whatsapp.d.ts +0 -6
- package/build/ssoV2/screens/components/whatsapp.d.ts +0 -5
- package/build/ssoV2/utils.d.ts +0 -3
- /package/build/{BMI_BOYS.percentile.monthly-30209d0f.js → BMI_BOYS.percentile.monthly-6d6006c8.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-d49e6e2e.js → BMI_BOYS.percentile.weekly-84d6e641.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-1a6f84a4.js → BMI_BOYS.percentile.yearly-e23814ab.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-f9ada50e.js → BMI_BOYS.zscore.monthly-8f629d2b.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-d2af617b.js → BMI_BOYS.zscore.weekly-85065cc5.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-7d207c4e.js → BMI_BOYS.zscore.yearly-234ecf95.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-3326917e.js → BMI_GIRLS.percentile.monthly-e7aa3ac7.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-c3839295.js → BMI_GIRLS.percentile.weekly-0161a3c5.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-36f09ff2.js → BMI_GIRLS.percentile.yearly-815fd785.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-fd2a5551.js → BMI_GIRLS.zscore.monthly-a348b3df.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-44965dbf.js → BMI_GIRLS.zscore.weekly-89f13f80.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-e326c0ff.js → BMI_GIRLS.zscore.yearly-235126e9.js} +0 -0
- /package/build/{ChevronDown-9835003d.js → ChevronDown-2061cc3f.js} +0 -0
- /package/build/{Close-995ca068.js → Close-8fa4af42.js} +0 -0
- /package/build/{Google-75756b13.js → Google-d694e0f6.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-bafa3cb4.js → HEAD CIRCUM_BOYS.percentile.monthly-8a55f5a3.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-7ccb2181.js → HEAD CIRCUM_BOYS.percentile.weekly-504d6ec4.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-361c5310.js → HEAD CIRCUM_BOYS.percentile.yearly-af02e141.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-162ab2ee.js → HEAD CIRCUM_BOYS.zscore.monthly-f61b87b4.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-69d73078.js → HEAD CIRCUM_BOYS.zscore.weekly-a2dd1af2.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-b7570e70.js → HEAD CIRCUM_BOYS.zscore.yearly-96d1bf31.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-55d3ecc5.js → HEAD CIRCUM_GIRLS.percentile.monthly-7d868ad9.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-284e3927.js → HEAD CIRCUM_GIRLS.percentile.weekly-97f79076.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-fa313784.js → HEAD CIRCUM_GIRLS.percentile.yearly-eaab5f5c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-06712709.js → HEAD CIRCUM_GIRLS.zscore.monthly-5b9733c7.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-a863b69a.js → HEAD CIRCUM_GIRLS.zscore.weekly-abdb3b63.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-2712544d.js → HEAD CIRCUM_GIRLS.zscore.yearly-cb894864.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-cf84d96b.js → HEIGHT_BOYS.percentile.monthly-b5b311d3.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-a696c0d3.js → HEIGHT_BOYS.percentile.weekly-c25902e1.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-d9b1eb58.js → HEIGHT_BOYS.percentile.yearly-20b13eb0.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-a3690c51.js → HEIGHT_BOYS.zscore.monthly-a4254827.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-8bc8fec8.js → HEIGHT_BOYS.zscore.weekly-f20fa6de.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-00549b0c.js → HEIGHT_BOYS.zscore.yearly-4f1fc284.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-d96136ec.js → HEIGHT_GIRLS.percentile.monthly-edd98144.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-519ea2a2.js → HEIGHT_GIRLS.percentile.weekly-6afe3a60.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-2cfcb678.js → HEIGHT_GIRLS.percentile.yearly-e77815c9.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-d71693f5.js → HEIGHT_GIRLS.zscore.monthly-25b1541c.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-822be58e.js → HEIGHT_GIRLS.zscore.weekly-906e1015.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-a125a539.js → HEIGHT_GIRLS.zscore.yearly-9159030a.js} +0 -0
- /package/build/{Locale-7c4082b3.js → Locale-55c33ec2.js} +0 -0
- /package/build/{Visible-4bf0b0a6.js → Visible-99f6669b.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-8a3b9ea4.js → WEIGHT_BOYS.percentile.monthly-f419abd1.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-f2f01911.js → WEIGHT_BOYS.percentile.weekly-a81af9a1.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-9650912a.js → WEIGHT_BOYS.percentile.yearly-8f3573e2.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-bd0f05c4.js → WEIGHT_BOYS.zscore.monthly-07d130f8.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-23c08b47.js → WEIGHT_BOYS.zscore.weekly-3693b203.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-a7c16789.js → WEIGHT_BOYS.zscore.yearly-b80c22e2.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-6fc743a2.js → WEIGHT_GIRLS.percentile.monthly-ba664c94.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-22ac0e9c.js → WEIGHT_GIRLS.percentile.weekly-41855938.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-1f485c95.js → WEIGHT_GIRLS.percentile.yearly-008b1100.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-591c97b8.js → WEIGHT_GIRLS.zscore.monthly-69bdf777.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-660356ab.js → WEIGHT_GIRLS.zscore.weekly-c503d793.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-c20dfe93.js → WEIGHT_GIRLS.zscore.yearly-b3155903.js} +0 -0
- /package/build/{animation-d3befe5e.js → animation-f375cb29.js} +0 -0
- /package/build/{constants-2a4ba371.js → constants-1ff3e7ff.js} +0 -0
- /package/build/{constants-45655e74.js → constants-82d89d04.js} +0 -0
- /package/build/{constants-76efac4e.js → constants-e72dea48.js} +0 -0
- /package/build/{dataTransform-4a980211.js → dataTransform-b5e5f7a7.js} +0 -0
- /package/build/{doctor-9199e91f.js → doctor-3188303c.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-ac8982f4.js → BMI_BOYS.percentile.monthly-44fe56de.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-93c4fecc.js → BMI_BOYS.percentile.weekly-1db75df2.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-7d81ca79.js → BMI_BOYS.percentile.yearly-07881964.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-b8ea50c4.js → BMI_BOYS.zscore.monthly-f8c0a3b4.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-06f317f8.js → BMI_BOYS.zscore.weekly-db97f0d3.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-c2da9246.js → BMI_BOYS.zscore.yearly-23fe51ab.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-1c553808.js → BMI_GIRLS.percentile.monthly-b6be10d9.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-bcd88b39.js → BMI_GIRLS.percentile.weekly-edf0ef50.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-9ef83dd9.js → BMI_GIRLS.percentile.yearly-509dcefc.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-70323f00.js → BMI_GIRLS.zscore.monthly-862af454.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-85001a22.js → BMI_GIRLS.zscore.weekly-96c07730.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-506f7c8e.js → BMI_GIRLS.zscore.yearly-cc10ab9b.js} +0 -0
- /package/build/esm/{ChevronDown-1ace2440.js → ChevronDown-cb8a4f86.js} +0 -0
- /package/build/esm/{Close-704cb222.js → Close-c588d15c.js} +0 -0
- /package/build/esm/{Google-215392fb.js → Google-0aaa7218.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-6981c4ab.js → HEAD CIRCUM_BOYS.percentile.monthly-ca59cd97.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-a0d5660b.js → HEAD CIRCUM_BOYS.percentile.weekly-7ca05779.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-83cfb11a.js → HEAD CIRCUM_BOYS.percentile.yearly-7183fbee.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-8433720b.js → HEAD CIRCUM_BOYS.zscore.monthly-a1fcde29.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-c82bfec7.js → HEAD CIRCUM_BOYS.zscore.weekly-3b391e2c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-364632d8.js → HEAD CIRCUM_BOYS.zscore.yearly-ab6221d0.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-fdcf6fa2.js → HEAD CIRCUM_GIRLS.percentile.monthly-fe239b59.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-9a01a48f.js → HEAD CIRCUM_GIRLS.percentile.weekly-e1b1ca4d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-599be890.js → HEAD CIRCUM_GIRLS.percentile.yearly-b4eff614.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-4cf2be14.js → HEAD CIRCUM_GIRLS.zscore.monthly-022084f3.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-c2916e1b.js → HEAD CIRCUM_GIRLS.zscore.weekly-94c6d210.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-65799542.js → HEAD CIRCUM_GIRLS.zscore.yearly-01a2b2b9.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-22500f15.js → HEIGHT_BOYS.percentile.monthly-7a87f002.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-ed0c4f5e.js → HEIGHT_BOYS.percentile.weekly-c71a2752.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-05742198.js → HEIGHT_BOYS.percentile.yearly-7f69bdd5.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-aa0827ab.js → HEIGHT_BOYS.zscore.monthly-d5d54269.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-1debd597.js → HEIGHT_BOYS.zscore.weekly-83f245de.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-3e8c2e8a.js → HEIGHT_BOYS.zscore.yearly-a9d2f287.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-1d37428c.js → HEIGHT_GIRLS.percentile.monthly-39d1a686.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-c0095644.js → HEIGHT_GIRLS.percentile.weekly-0e169e15.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-7aebe1f1.js → HEIGHT_GIRLS.percentile.yearly-eb235295.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-7ca85c5f.js → HEIGHT_GIRLS.zscore.monthly-53ce1891.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-6e5c6ed3.js → HEIGHT_GIRLS.zscore.weekly-34e24a0b.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-5395cb0f.js → HEIGHT_GIRLS.zscore.yearly-d2d152a5.js} +0 -0
- /package/build/esm/{Locale-49df1d8f.js → Locale-5d62e74b.js} +0 -0
- /package/build/esm/{Visible-bdc1fc5a.js → Visible-8f56cf04.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-42053672.js → WEIGHT_BOYS.percentile.monthly-8ff85414.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-dcf28679.js → WEIGHT_BOYS.percentile.weekly-876eb01b.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-65627c39.js → WEIGHT_BOYS.percentile.yearly-aab1526f.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-2bd13cf4.js → WEIGHT_BOYS.zscore.monthly-2777d058.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-82a5a5ba.js → WEIGHT_BOYS.zscore.weekly-a7752fa3.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-79576638.js → WEIGHT_BOYS.zscore.yearly-28b4bbb7.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-97a7a578.js → WEIGHT_GIRLS.percentile.monthly-bd5d595b.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-1979154c.js → WEIGHT_GIRLS.percentile.weekly-a482f3b9.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-5dac91fd.js → WEIGHT_GIRLS.percentile.yearly-56e1a469.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-a780c361.js → WEIGHT_GIRLS.zscore.monthly-4cf9e7fa.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-9403f43a.js → WEIGHT_GIRLS.zscore.weekly-6252aa66.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-f8b89de5.js → WEIGHT_GIRLS.zscore.yearly-0464994b.js} +0 -0
- /package/build/esm/{animation-c13df2d4.js → animation-dd19d7fb.js} +0 -0
- /package/build/esm/{constants-5be86221.js → constants-4ddeba4b.js} +0 -0
- /package/build/esm/{constants-44dda45d.js → constants-5cb1e9c6.js} +0 -0
- /package/build/esm/{constants-96861450.js → constants-7ffc6f8d.js} +0 -0
- /package/build/esm/{dataTransform-251f4fea.js → dataTransform-1a4717fb.js} +0 -0
- /package/build/esm/{doctor-4a2a792d.js → doctor-5a098180.js} +0 -0
- /package/build/esm/{index-b3c41de5.js → index-1c934ccd.js} +0 -0
- /package/build/esm/{index-288d5bd3.js → index-5293a10e.js} +0 -0
- /package/build/esm/{index-f4b51a9c.js → index-5bdc26e7.js} +0 -0
- /package/build/esm/{index-ecd8439d.js → index-60bcad8c.js} +0 -0
- /package/build/esm/{index-6fc96ee1.js → index-670422c3.js} +0 -0
- /package/build/esm/{index-b82084dd.js → index-7cb15876.js} +0 -0
- /package/build/esm/{index-dcb8e9b1.js → index-c42d5df9.js} +0 -0
- /package/build/esm/{index-a7dae778.js → index-cf735e62.js} +0 -0
- /package/build/esm/{index.styles-f3f2549b.js → index.styles-2ff128f8.js} +0 -0
- /package/build/esm/{localizeNumberFormat-d4a0dffd.js → localizeNumberFormat-c39f5920.js} +0 -0
- /package/build/esm/{normalizeLink-cbe9b863.js → normalizeLink-30dd1b58.js} +0 -0
- /package/build/esm/{other-1fa0e983.js → other-440119f7.js} +0 -0
- /package/build/esm/{paths-05677e0a.js → paths-83aa481b.js} +0 -0
- /package/build/esm/{translationsContext-75f757ca.js → translationsContext-589befbd.js} +0 -0
- /package/build/esm/{tslib.es6-341e9cb1.js → tslib.es6-876b500b.js} +0 -0
- /package/build/esm/{types-ac06daae.js → types-39d8e98f.js} +0 -0
- /package/build/esm/{useIsInit-2c9aa782.js → useIsInit-f226ca6d.js} +0 -0
- /package/build/esm/{useOutsideClick-871ba744.js → useOutsideClick-83cd1b79.js} +0 -0
- /package/build/esm/{useScrollbarSize-1019b1f8.js → useScrollbarSize-6fd8b5bf.js} +0 -0
- /package/build/esm/{useUniqueId-11cdf16a.js → useUniqueId-49a0a6dd.js} +0 -0
- /package/build/esm/{utils-329d8049.js → utils-0a447db9.js} +0 -0
- /package/build/{index-3b8b113a.js → index-02946a96.js} +0 -0
- /package/build/{index-dd7f298e.js → index-0aa78a23.js} +0 -0
- /package/build/{index-7d5d101a.js → index-387228f7.js} +0 -0
- /package/build/{index-854a3f0f.js → index-3c43bf75.js} +0 -0
- /package/build/{index-35b93ff9.js → index-9a831228.js} +0 -0
- /package/build/{index-130916bf.js → index-b023be99.js} +0 -0
- /package/build/{index-f72c4c57.js → index-c3fd8838.js} +0 -0
- /package/build/{index-e4feda1d.js → index-f454cc26.js} +0 -0
- /package/build/{index.styles-1127463b.js → index.styles-aecae242.js} +0 -0
- /package/build/{localizeNumberFormat-7726f080.js → localizeNumberFormat-480ac600.js} +0 -0
- /package/build/{normalizeLink-9e02b3d4.js → normalizeLink-11acdb68.js} +0 -0
- /package/build/{other-09365d71.js → other-5a632e94.js} +0 -0
- /package/build/{paths-fea0a041.js → paths-34409e01.js} +0 -0
- /package/build/{translationsContext-880f9989.js → translationsContext-7f583e39.js} +0 -0
- /package/build/{tslib.es6-20c4f50e.js → tslib.es6-81bd225c.js} +0 -0
- /package/build/{types-fb66c984.js → types-82ae5222.js} +0 -0
- /package/build/{useIsInit-77e8503d.js → useIsInit-7d4f469c.js} +0 -0
- /package/build/{useOutsideClick-d16fbbeb.js → useOutsideClick-0f7cc467.js} +0 -0
- /package/build/{useScrollbarSize-a8c5caf1.js → useScrollbarSize-2367e508.js} +0 -0
- /package/build/{useUniqueId-79daa5ec.js → useUniqueId-76701268.js} +0 -0
- /package/build/{utils-f8a13692.js → utils-c90505e9.js} +0 -0
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { a as __awaiter } from './tslib.es6-
|
|
1
|
+
import { a as __awaiter } from './tslib.es6-876b500b.js';
|
|
2
2
|
import { create } from 'zustand';
|
|
3
3
|
import { isProduction } from './constantsIsProduction.js';
|
|
4
|
-
import { e as normalizeLinkSlash, a as getCurrentSsoUrl } from './normalizeLink-
|
|
5
|
-
import { L as LOCALE_SPECS, B as BEARER_REFRESH_TOKEN_COOKIE, d as BEARER_TOKEN_COOKIE$1 } from './index-
|
|
4
|
+
import { e as normalizeLinkSlash, a as getCurrentSsoUrl } from './normalizeLink-30dd1b58.js';
|
|
5
|
+
import { L as LOCALE_SPECS, B as BEARER_REFRESH_TOKEN_COOKIE, d as BEARER_TOKEN_COOKIE$1 } from './index-98e24a5a.js';
|
|
6
6
|
import { setCookie, getCookie } from './miscCookieHelper.js';
|
|
7
|
-
import { L as LOCALE } from './Locale-49df1d8f.js';
|
|
8
7
|
import { domainLocales } from './constantsDomainLocales.js';
|
|
9
8
|
|
|
10
9
|
const SSO_V2_PATHS = {
|
|
@@ -23,13 +22,6 @@ const SSO_V2_PATHS = {
|
|
|
23
22
|
UPDATE_PHONE_SEND_OTP: 'login/sms-social/sent-otp',
|
|
24
23
|
UPDATE_PHONE_VERIFY_OTP: 'login/sms-social/phone-verify-code',
|
|
25
24
|
},
|
|
26
|
-
WHATSAPP: {
|
|
27
|
-
REGISTER_BY_SEND_OTP: 'login/login-with-whatsapp',
|
|
28
|
-
SEND_OTP: 'login/whatsapp/sent-otp',
|
|
29
|
-
UPDATE_PHONE_SEND_OTP: 'login/sms-social/whatsapp/sent-otp',
|
|
30
|
-
UPDATE_PHONE_VERIFY_OTP: 'login/sms-social/whatsapp-verify-code',
|
|
31
|
-
VERIFY_BY_OTP: 'login/whatsapp-verify-code',
|
|
32
|
-
},
|
|
33
25
|
ZALO: {
|
|
34
26
|
REGISTER_BY_SEND_OTP: 'login/login-with-zalo',
|
|
35
27
|
SEND_OTP: 'login/zalo/sent-otp',
|
|
@@ -48,12 +40,8 @@ const SSO_V2_PATHS = {
|
|
|
48
40
|
},
|
|
49
41
|
};
|
|
50
42
|
|
|
51
|
-
const locale = process.env.
|
|
52
|
-
const websiteId =
|
|
53
|
-
[LOCALE.Vietnam]: '1',
|
|
54
|
-
[LOCALE.Indonesia]: '2',
|
|
55
|
-
[LOCALE.Malaysia]: '3',
|
|
56
|
-
}[locale];
|
|
43
|
+
const locale = process.env.UNIFY_LOCALE || 'vi-VN';
|
|
44
|
+
const websiteId = LOCALE_SPECS[locale].SITE_ID;
|
|
57
45
|
LOCALE_SPECS[locale].PHONE;
|
|
58
46
|
const getSSOV2ApiUrl = (path) => {
|
|
59
47
|
return normalizeLinkSlash(`${getCurrentSsoUrl(locale)}/api/v2/${path}`);
|
|
@@ -166,14 +154,14 @@ const handleAuthSuccess = (res) => {
|
|
|
166
154
|
setCookie(BEARER_TOKEN_COOKIE, res.token, {
|
|
167
155
|
domain: window.location.hostname === 'localhost'
|
|
168
156
|
? 'localhost'
|
|
169
|
-
: `.${domainLocales[
|
|
157
|
+
: `.${domainLocales[process.env.UNIFY_LOCALE || 'vi-VN']}`,
|
|
170
158
|
expires: new Date(res.expire_in * 1000).toUTCString(),
|
|
171
159
|
});
|
|
172
160
|
(res === null || res === void 0 ? void 0 : res.refresh_token) &&
|
|
173
161
|
setCookie(BEARER_REFRESH_TOKEN_COOKIE, res.refresh_token, {
|
|
174
162
|
domain: window.location.hostname === 'localhost'
|
|
175
163
|
? 'localhost'
|
|
176
|
-
: `.${domainLocales[
|
|
164
|
+
: `.${domainLocales[process.env.UNIFY_LOCALE || 'vi-VN']}`,
|
|
177
165
|
});
|
|
178
166
|
};
|
|
179
167
|
|
|
@@ -451,7 +439,7 @@ const redirect = (returnUrl, source, forceReload) => {
|
|
|
451
439
|
return;
|
|
452
440
|
}
|
|
453
441
|
};
|
|
454
|
-
const SSOV2_LOCALES = ['vi-VN'
|
|
442
|
+
const SSOV2_LOCALES = ['vi-VN'];
|
|
455
443
|
const IS_SSOV2_ENABLED = (locale) => {
|
|
456
444
|
return (!process.env.NEXT_PUBLIC_MARRY_BABY &&
|
|
457
445
|
SSOV2_LOCALES.includes(locale ||
|
|
@@ -495,4 +483,4 @@ const isLoginWithPhoneNotVerifedYet = (flowData, userInfo) => {
|
|
|
495
483
|
!(userInfo === null || userInfo === void 0 ? void 0 : userInfo.phone_verified_at));
|
|
496
484
|
};
|
|
497
485
|
|
|
498
|
-
export { FacebookAppId as F, GoogleAuthClientId as G, IS_SSOV2_ENABLED as I, SSOStepTypeType as S, useSSOSteps as a, SSO_V2_PATHS as b, checkUserExist as c, updateUserInfo as d, isPhoneNotVerifedYet as e, fetchSSOV2Api as f, getUserInfo as g, handleAuthSuccess as h, isUserFinishedSetup as i, isLoginWithPhoneNotVerifedYet as j, isFlowFinishedSetup as k,
|
|
486
|
+
export { FacebookAppId as F, GoogleAuthClientId as G, IS_SSOV2_ENABLED as I, SSOStepTypeType as S, useSSOSteps as a, SSO_V2_PATHS as b, checkUserExist as c, updateUserInfo as d, isPhoneNotVerifedYet as e, fetchSSOV2Api as f, getUserInfo as g, handleAuthSuccess as h, isUserFinishedSetup as i, isLoginWithPhoneNotVerifedYet as j, isFlowFinishedSetup as k, redirect as l, resetPassword as r, useSSOV2Store as u, websiteId as w };
|
|
@@ -17,7 +17,7 @@ export declare const getUserInfoFromCookie: (reqCookie?: string) => {
|
|
|
17
17
|
email: any;
|
|
18
18
|
id: any;
|
|
19
19
|
};
|
|
20
|
-
export declare const getWindowId: () =>
|
|
20
|
+
export declare const getWindowId: () => string;
|
|
21
21
|
export declare const getHelloSitesUrl: (locale: LOCALE | LocaleType, ignoreLocal?: boolean) => string;
|
|
22
22
|
export declare const checkMobile: (userAgent: string) => boolean;
|
|
23
23
|
export declare const clickAndOpenInNewTab: (url: string) => void;
|
package/build/esm/subot.js
CHANGED
|
@@ -1,73 +1,73 @@
|
|
|
1
1
|
import React__default, { createContext, useContext, useRef, useState, useEffect, useCallback, useMemo, forwardRef, memo, useImperativeHandle } from 'react';
|
|
2
|
-
import { d as NodeType, c as NodePosition, f as NodeActionType, e as NodeFinalTypes, g as NodeMultipleOptions, E as ELEMENT_CONTROL_INPUT_TYPE, N as NodeIntentType, F as FULL_KEY_ADDRESS } from './index-
|
|
3
|
-
import { a as __awaiter, _ as __rest } from './tslib.es6-
|
|
4
|
-
import { e as basePath, G as GA_TOKEN_COOKIE, h as DATE_FNS_DATE_FORMAT, A as API_DATE_FORMAT, f as SSO_URL } from './index-
|
|
2
|
+
import { d as NodeType, c as NodePosition, f as NodeActionType, e as NodeFinalTypes, g as NodeMultipleOptions, E as ELEMENT_CONTROL_INPUT_TYPE, N as NodeIntentType, F as FULL_KEY_ADDRESS } from './index-ea6ac545.js';
|
|
3
|
+
import { a as __awaiter, _ as __rest } from './tslib.es6-876b500b.js';
|
|
4
|
+
import { e as basePath, G as GA_TOKEN_COOKIE, h as DATE_FNS_DATE_FORMAT, A as API_DATE_FORMAT, f as SSO_URL } from './index-98e24a5a.js';
|
|
5
5
|
import Cookies from 'js-cookie';
|
|
6
6
|
import fd from 'fastdom';
|
|
7
7
|
import fastdomPromised from 'fastdom/extensions/fastdom-promised';
|
|
8
|
-
import { G as GlobalData, c as callApi, t as locale, T as TogetherComponentGlobalContext } from './utils-
|
|
8
|
+
import { G as GlobalData, c as callApi, t as locale, T as TogetherComponentGlobalContext } from './utils-8c704381.js';
|
|
9
9
|
import formatString from 'string-format';
|
|
10
|
-
import { a as getUserIdFromCookie, b as getSubotCookieId, c as getUserInfoFromCookie, d as getWindowId, o as overrideParamsByQuery, e as checkUntilFinished, g as getHelloSitesUrl, f as checkMobile, h as clickAndOpenInNewTab, T as TIME_RESET_RESEND_OTP, i as isFakeEmail, s as ssoIntents, j as getHhgIdFromCookie } from './index-
|
|
11
|
-
export { T as TIME_RESET_RESEND_OTP, f as checkMobile, e as checkUntilFinished, h as clickAndOpenInNewTab, g as getHelloSitesUrl, j as getHhgIdFromCookie, b as getSubotCookieId, a as getUserIdFromCookie, c as getUserInfoFromCookie, d as getWindowId, i as isFakeEmail, o as overrideParamsByQuery, s as ssoIntents } from './index-
|
|
10
|
+
import { a as getUserIdFromCookie, b as getSubotCookieId, c as getUserInfoFromCookie, d as getWindowId, o as overrideParamsByQuery, e as checkUntilFinished, g as getHelloSitesUrl, f as checkMobile, h as clickAndOpenInNewTab, T as TIME_RESET_RESEND_OTP, i as isFakeEmail, s as ssoIntents, j as getHhgIdFromCookie } from './index-17c221f9.js';
|
|
11
|
+
export { T as TIME_RESET_RESEND_OTP, f as checkMobile, e as checkUntilFinished, h as clickAndOpenInNewTab, g as getHelloSitesUrl, j as getHhgIdFromCookie, b as getSubotCookieId, a as getUserIdFromCookie, c as getUserInfoFromCookie, d as getWindowId, i as isFakeEmail, o as overrideParamsByQuery, s as ssoIntents } from './index-17c221f9.js';
|
|
12
12
|
import { MAP_DOMAIN_BY_LOCALE } from './constantsDomainLocales.js';
|
|
13
13
|
import cn from 'classnames';
|
|
14
|
-
import { C as Container$w } from './index-
|
|
15
|
-
import { L as Loading } from './index-
|
|
14
|
+
import { C as Container$w } from './index-60bcad8c.js';
|
|
15
|
+
import { L as Loading } from './index-938540a9.js';
|
|
16
16
|
import { motion } from 'framer-motion';
|
|
17
17
|
import styled from '@emotion/styled';
|
|
18
|
-
import { M as MediaQueries } from './utils-
|
|
19
|
-
import { B as Button } from './index-
|
|
18
|
+
import { M as MediaQueries } from './utils-0a447db9.js';
|
|
19
|
+
import { B as Button } from './index-7b183097.js';
|
|
20
20
|
import { Remarkable } from 'remarkable';
|
|
21
21
|
import { ArrowRight } from '@hhgtech/icons/other';
|
|
22
22
|
import { useInView } from 'react-intersection-observer';
|
|
23
23
|
import { Box, Textarea } from '@mantine/core';
|
|
24
|
-
import { C as CommonGAssets } from './index-
|
|
24
|
+
import { C as CommonGAssets } from './index-c42d5df9.js';
|
|
25
25
|
import dayjs from 'dayjs';
|
|
26
26
|
import isSameOrBefore from 'dayjs/plugin/isSameOrBefore';
|
|
27
|
-
import { d as LEAD_TOKEN_COOKIE } from './constants-
|
|
27
|
+
import { d as LEAD_TOKEN_COOKIE } from './constants-5cb1e9c6.js';
|
|
28
28
|
import { v4 } from 'uuid';
|
|
29
|
-
import { T as Text } from './index-
|
|
29
|
+
import { T as Text } from './index-4aee81c4.js';
|
|
30
30
|
import { theme } from './miscTheme.js';
|
|
31
31
|
import { isProduction } from './constantsIsProduction.js';
|
|
32
|
-
import { S as Select } from './index-
|
|
32
|
+
import { S as Select } from './index-dee41600.js';
|
|
33
33
|
import '@mantine/dates';
|
|
34
|
-
import './useMantineLocale-
|
|
35
|
-
import './index.styles-
|
|
36
|
-
import './translationsContext-
|
|
34
|
+
import './useMantineLocale-d2831aab.js';
|
|
35
|
+
import './index.styles-2ff128f8.js';
|
|
36
|
+
import './translationsContext-589befbd.js';
|
|
37
37
|
import '@mantine/hooks';
|
|
38
|
-
import './other-
|
|
39
|
-
import './index-
|
|
38
|
+
import './other-440119f7.js';
|
|
39
|
+
import './index-f6e83ef2.js';
|
|
40
40
|
import isEmpty from 'lodash/isEmpty';
|
|
41
41
|
import { Controller, useForm } from 'react-hook-form';
|
|
42
42
|
import PhoneInputBase, { getCountryCallingCode, isPossiblePhoneNumber, parsePhoneNumber } from 'react-phone-number-input';
|
|
43
43
|
import { LoadScript } from '@react-google-maps/api';
|
|
44
|
-
import { u as usePlacesAutocomplete, G as GOOGLE_API_KEY, a as GOOGLE_API_LANGUAGE } from './usePlacesAutocomplete-
|
|
44
|
+
import { u as usePlacesAutocomplete, G as GOOGLE_API_KEY, a as GOOGLE_API_LANGUAGE } from './usePlacesAutocomplete-3292eae0.js';
|
|
45
45
|
import { setDefaultClass } from './miscDefaultClassWrapper.js';
|
|
46
|
-
import { L as LOCALE } from './Locale-
|
|
47
|
-
import { D as DatePicker } from './index-
|
|
48
|
-
import { D as Dropdown } from './index-
|
|
49
|
-
import { B as Button$1 } from './index-
|
|
50
|
-
import { u as useSSOV2Store, I as IS_SSOV2_ENABLED } from './store-
|
|
46
|
+
import { L as LOCALE } from './Locale-5d62e74b.js';
|
|
47
|
+
import { D as DatePicker } from './index-5293a10e.js';
|
|
48
|
+
import { D as Dropdown } from './index-7cb15876.js';
|
|
49
|
+
import { B as Button$1 } from './index-9e041b52.js';
|
|
50
|
+
import { u as useSSOV2Store, I as IS_SSOV2_ENABLED } from './store-9d39a617.js';
|
|
51
51
|
import 'date-fns/locale';
|
|
52
52
|
import './constantsSite.js';
|
|
53
53
|
import './constantsRiskScreener.js';
|
|
54
|
-
import './index-
|
|
54
|
+
import './index-cba6e044.js';
|
|
55
55
|
import './miscCookieHelper.js';
|
|
56
56
|
import 'slugify';
|
|
57
57
|
import './togetherApiPaths.js';
|
|
58
|
-
import './index-
|
|
59
|
-
import './WhatsApp-
|
|
60
|
-
import './Spinner-
|
|
61
|
-
import './index-
|
|
62
|
-
import './useScreenSize-
|
|
58
|
+
import './index-9fc0d82d.js';
|
|
59
|
+
import './WhatsApp-b4570a58.js';
|
|
60
|
+
import './Spinner-6a7aaaac.js';
|
|
61
|
+
import './index-3a038ed7.js';
|
|
62
|
+
import './useScreenSize-f7db8e47.js';
|
|
63
63
|
import '@mantine/carousel';
|
|
64
|
-
import './useUniqueId-
|
|
64
|
+
import './useUniqueId-49a0a6dd.js';
|
|
65
65
|
import '@hhgtech/icons/core';
|
|
66
66
|
import '@mantine/notifications';
|
|
67
67
|
import 'date-fns';
|
|
68
68
|
import 'react-day-picker/DayPickerInput';
|
|
69
69
|
import 'zustand';
|
|
70
|
-
import './normalizeLink-
|
|
70
|
+
import './normalizeLink-30dd1b58.js';
|
|
71
71
|
|
|
72
72
|
// extend fastdom
|
|
73
73
|
const fastdom = fd.extend(fastdomPromised);
|
|
@@ -1538,7 +1538,7 @@ const excludeNodeList = [
|
|
|
1538
1538
|
// return false
|
|
1539
1539
|
// }
|
|
1540
1540
|
const Container$u = () => {
|
|
1541
|
-
var _a, _b, _c
|
|
1541
|
+
var _a, _b, _c;
|
|
1542
1542
|
const { formatMessage: f, action: { pushNotifications }, } = useContext(TogetherComponentGlobalContext);
|
|
1543
1543
|
const currentUrl = useCurrentUrl();
|
|
1544
1544
|
const { listNodes, activeId, isShowFooter, onNext, onPrev, params, onStartOver, loading, } = useContext(SubotInlineContext);
|
|
@@ -1549,15 +1549,16 @@ const Container$u = () => {
|
|
|
1549
1549
|
const actionNextChoice = (_a = node === null || node === void 0 ? void 0 : node.actions) === null || _a === void 0 ? void 0 : _a.find((act) => act.type === NodeActionType.USER_CHOICE_NEXT);
|
|
1550
1550
|
const actionPollSubmit = (_b = node === null || node === void 0 ? void 0 : node.actions) === null || _b === void 0 ? void 0 : _b.find(({ type }) => type == NodeActionType.POLL_BUTTON);
|
|
1551
1551
|
const actionMultipleSubmit = (_c = node === null || node === void 0 ? void 0 : node.actions) === null || _c === void 0 ? void 0 : _c.find(({ type }) => type == NodeActionType.ACTION_MULTIPLE_BUTTON);
|
|
1552
|
-
const selectedWithOtherInput =
|
|
1553
|
-
|
|
1552
|
+
// const selectedWithOtherInput =
|
|
1553
|
+
// node?.actions?.find(({ id }) => id === value.action_id)?.type ===
|
|
1554
|
+
// NodeActionType.USER_CHOICE_TEXT_BY_INPUT
|
|
1554
1555
|
const handleNextChoice = () => {
|
|
1555
1556
|
const nextValue = {
|
|
1556
1557
|
node_id: node.id,
|
|
1557
1558
|
action_id: actionNextChoice === null || actionNextChoice === void 0 ? void 0 : actionNextChoice.id,
|
|
1558
1559
|
action_value: actionNextChoice === null || actionNextChoice === void 0 ? void 0 : actionNextChoice.key,
|
|
1559
1560
|
};
|
|
1560
|
-
onNext(Object.assign(Object.assign(Object.assign({}, params),
|
|
1561
|
+
onNext(Object.assign(Object.assign(Object.assign({}, params), node === null || node === void 0 ? void 0 : node._message), nextValue));
|
|
1561
1562
|
};
|
|
1562
1563
|
const handlePollSubmit = () => {
|
|
1563
1564
|
var _a;
|
|
@@ -1602,15 +1603,15 @@ const Container$u = () => {
|
|
|
1602
1603
|
});
|
|
1603
1604
|
}
|
|
1604
1605
|
else {
|
|
1605
|
-
onNext(Object.assign(Object.assign(Object.assign({}, params),
|
|
1606
|
+
onNext(Object.assign(Object.assign(Object.assign({}, params), node === null || node === void 0 ? void 0 : node._message), value));
|
|
1606
1607
|
}
|
|
1607
1608
|
};
|
|
1608
1609
|
if (!isShowFooter)
|
|
1609
1610
|
return null;
|
|
1610
1611
|
const found = listNodes.find((nodeItem) => nodeItem.id == activeId);
|
|
1611
1612
|
const isDisabled = disabledNodeList.includes((found === null || found === void 0 ? void 0 : found.type) || '') ||
|
|
1612
|
-
disabledPositionList.includes((found === null || found === void 0 ? void 0 : found.position) || '')
|
|
1613
|
-
|
|
1613
|
+
disabledPositionList.includes((found === null || found === void 0 ? void 0 : found.position) || '');
|
|
1614
|
+
// selectedWithOtherInput
|
|
1614
1615
|
const isDisplayAction = !excludeNodeList.includes((found === null || found === void 0 ? void 0 : found.type) || '');
|
|
1615
1616
|
return (React__default.createElement(StyledWrap$p, { "data-show-action": isDisplayAction },
|
|
1616
1617
|
React__default.createElement("button", { onClick: onStartOver, "data-event-category": "Service Connection", "data-event-action": "Risk Screening Start Over", "data-event-label": currentUrl, "data-bot-id": params.bot_id, className: "si-footer-start-over", disabled: Boolean((botItem === null || botItem === void 0 ? void 0 : botItem.subot_field_type) && activeId == (listNodes === null || listNodes === void 0 ? void 0 : listNodes[1].id)) },
|
|
@@ -5416,21 +5417,9 @@ const stylesTextarea = {
|
|
|
5416
5417
|
boxShadow: '0px 0px 0px 2px var(--subot-inline-primary-color-300) !important',
|
|
5417
5418
|
},
|
|
5418
5419
|
},
|
|
5419
|
-
};
|
|
5420
|
-
const stylesButtonSubmitOther = {
|
|
5421
|
-
root: {
|
|
5422
|
-
':not(:disabled)': {
|
|
5423
|
-
backgroundColor: 'var(--subot-inline-primary-color) !important',
|
|
5424
|
-
'&:hover': {
|
|
5425
|
-
backgroundColor: 'var(--subot-inline-primary-color-hover) !important',
|
|
5426
|
-
},
|
|
5427
|
-
},
|
|
5428
|
-
},
|
|
5429
5420
|
};
|
|
5430
5421
|
|
|
5431
5422
|
const Container$a = ({ action, onChange, active, htmlType, formSubmitMeta, }) => {
|
|
5432
|
-
const timeoutId = useRef(null);
|
|
5433
|
-
const { formatMessage: f } = useContext(TogetherComponentGlobalContext);
|
|
5434
5423
|
const currentUrl = useCurrentUrl();
|
|
5435
5424
|
const inputRef = useRef(null);
|
|
5436
5425
|
const [otherText, setOtherText] = useState('');
|
|
@@ -5438,14 +5427,6 @@ const Container$a = ({ action, onChange, active, htmlType, formSubmitMeta, }) =>
|
|
|
5438
5427
|
const isActionPollWithOther = (action === null || action === void 0 ? void 0 : action.type) === NodeActionType.POLL_CHOICE_TEXT_BY_INPUT;
|
|
5439
5428
|
const isActionSelectWithOther = (action === null || action === void 0 ? void 0 : action.type) === NodeActionType.USER_CHOICE_TEXT_BY_INPUT ||
|
|
5440
5429
|
isActionPollWithOther;
|
|
5441
|
-
const actionSubmitted = isActionPollWithOther
|
|
5442
|
-
? {
|
|
5443
|
-
key: action === null || action === void 0 ? void 0 : action.key,
|
|
5444
|
-
control: ELEMENT_CONTROL_INPUT_TYPE[action === null || action === void 0 ? void 0 : action.type],
|
|
5445
|
-
value: '',
|
|
5446
|
-
action_id: action === null || action === void 0 ? void 0 : action.id,
|
|
5447
|
-
}
|
|
5448
|
-
: action;
|
|
5449
5430
|
useEffect(() => {
|
|
5450
5431
|
var _a, _b;
|
|
5451
5432
|
if (active) {
|
|
@@ -5453,45 +5434,24 @@ const Container$a = ({ action, onChange, active, htmlType, formSubmitMeta, }) =>
|
|
|
5453
5434
|
(_b = inputRef.current) === null || _b === void 0 ? void 0 : _b.focus();
|
|
5454
5435
|
}
|
|
5455
5436
|
}, [active, formSubmitMeta]);
|
|
5456
|
-
const handleClickWithFormMeta = () => {
|
|
5457
|
-
if (otherText) {
|
|
5458
|
-
onChange &&
|
|
5459
|
-
onChange(actionSubmitted, [
|
|
5460
|
-
{
|
|
5461
|
-
key: KEY_OF_TEXT_CHOICE_WITH_OTHER_FIELD,
|
|
5462
|
-
control: 'text',
|
|
5463
|
-
value: otherText,
|
|
5464
|
-
},
|
|
5465
|
-
]);
|
|
5466
|
-
}
|
|
5467
|
-
};
|
|
5468
5437
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5469
5438
|
const onChangeTextArea = (evt) => {
|
|
5470
5439
|
setOtherText(evt.target.value);
|
|
5471
|
-
|
|
5472
|
-
|
|
5473
|
-
|
|
5474
|
-
|
|
5475
|
-
|
|
5476
|
-
|
|
5477
|
-
|
|
5478
|
-
|
|
5479
|
-
value: evt.target.value,
|
|
5480
|
-
},
|
|
5481
|
-
]);
|
|
5482
|
-
}, 300);
|
|
5483
|
-
}
|
|
5440
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(action, [
|
|
5441
|
+
{
|
|
5442
|
+
key: KEY_OF_TEXT_CHOICE_WITH_OTHER_FIELD,
|
|
5443
|
+
control: 'text',
|
|
5444
|
+
value: evt.target.value,
|
|
5445
|
+
action_id: action === null || action === void 0 ? void 0 : action.id,
|
|
5446
|
+
},
|
|
5447
|
+
]);
|
|
5484
5448
|
};
|
|
5485
5449
|
return (React__default.createElement(React__default.Fragment, null,
|
|
5486
|
-
React__default.createElement(StyledWrap$5, { id: "si-action-text-choice", active: !!active, onClick: () => onChange
|
|
5450
|
+
React__default.createElement(StyledWrap$5, { id: "si-action-text-choice", active: !!active, onClick: () => onChange === null || onChange === void 0 ? void 0 : onChange(action), "data-event-category": "Service Connection", "data-event-action": "Risk Screening Answer Click", "data-event-label": currentUrl, "data-bot-id": params.bot_id },
|
|
5487
5451
|
React__default.createElement(StyledRadioIcon, { active: !!active }, htmlType === 'checkbox' && (React__default.createElement(Checkbox, { className: "icon-checkbox", viewBox: "0 0 22 22" }))),
|
|
5488
5452
|
React__default.createElement("div", { className: "label" }, action === null || action === void 0 ? void 0 : action.label)),
|
|
5489
5453
|
isActionSelectWithOther && active && (React__default.createElement(Box, { px: "2px", style: { textAlign: 'right' } },
|
|
5490
|
-
React__default.createElement(Textarea, { ref: inputRef, placeholder: action === null || action === void 0 ? void 0 : action.label, styles: stylesTextarea, value: otherText, onChange: onChangeTextArea, maxLength: 360 })
|
|
5491
|
-
!isActionPollWithOther && (React__default.createElement(Button, { size: "sm", mt: "5px", styles: stylesButtonSubmitOther, disabled: !otherText, onClick: handleClickWithFormMeta }, f({
|
|
5492
|
-
id: 'feedback.submit',
|
|
5493
|
-
defaultMessage: 'Submit',
|
|
5494
|
-
})))))));
|
|
5454
|
+
React__default.createElement(Textarea, { ref: inputRef, placeholder: action === null || action === void 0 ? void 0 : action.label, styles: stylesTextarea, value: otherText, onChange: onChangeTextArea, maxLength: 360 })))));
|
|
5495
5455
|
};
|
|
5496
5456
|
Container$a.displayName = 'SubotInlineActionTextChoice';
|
|
5497
5457
|
|
|
@@ -5651,34 +5611,49 @@ const Container$5 = ({ node, indexNumber }) => {
|
|
|
5651
5611
|
}
|
|
5652
5612
|
return [];
|
|
5653
5613
|
}, [value, value === null || value === void 0 ? void 0 : value.selected_actions]);
|
|
5654
|
-
const handleOnChange = (action) => __awaiter(void 0, void 0, void 0, function* () {
|
|
5655
|
-
|
|
5656
|
-
|
|
5657
|
-
|
|
5658
|
-
|
|
5659
|
-
|
|
5660
|
-
|
|
5661
|
-
|
|
5662
|
-
|
|
5663
|
-
|
|
5664
|
-
|
|
5665
|
-
|
|
5666
|
-
|
|
5667
|
-
|
|
5668
|
-
|
|
5669
|
-
|
|
5670
|
-
|
|
5671
|
-
|
|
5672
|
-
|
|
5673
|
-
|
|
5674
|
-
|
|
5675
|
-
|
|
5614
|
+
const handleOnChange = (action, formSubmitMeta) => __awaiter(void 0, void 0, void 0, function* () {
|
|
5615
|
+
var _b, _c;
|
|
5616
|
+
if (action) {
|
|
5617
|
+
const _value = JSON.parse(JSON.stringify(Object.assign(Object.assign({}, value), { action_id: submitButton === null || submitButton === void 0 ? void 0 : submitButton.id, action_value: submitButton === null || submitButton === void 0 ? void 0 : submitButton.key, selected_actions: Object.assign({}, value === null || value === void 0 ? void 0 : value.selected_actions) })));
|
|
5618
|
+
if ((action === null || action === void 0 ? void 0 : action.type) === NodeActionType.POLL_CHOICE_TEXT_BY_INPUT ||
|
|
5619
|
+
(action === null || action === void 0 ? void 0 : action.type) === NodeActionType.USER_CHOICE_TEXT_BY_INPUT) {
|
|
5620
|
+
const isExistedPoll = (_value === null || _value === void 0 ? void 0 : _value.selected_actions) && action.id in _value.selected_actions;
|
|
5621
|
+
if (isExistedPoll) {
|
|
5622
|
+
if (formSubmitMeta) {
|
|
5623
|
+
_value.form_submit_meta = formSubmitMeta;
|
|
5624
|
+
}
|
|
5625
|
+
else {
|
|
5626
|
+
delete _value.form_submit_meta;
|
|
5627
|
+
(_b = _value.selected_actions) === null || _b === void 0 ? true : delete _b[action.id];
|
|
5628
|
+
}
|
|
5629
|
+
}
|
|
5630
|
+
else {
|
|
5631
|
+
if (action === null || action === void 0 ? void 0 : action.id) {
|
|
5632
|
+
_value.selected_actions = Object.assign(Object.assign({}, _value.selected_actions), { [action.id]: action.key || '' });
|
|
5633
|
+
}
|
|
5634
|
+
}
|
|
5635
|
+
setValue(_value);
|
|
5636
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(_value);
|
|
5637
|
+
return;
|
|
5638
|
+
}
|
|
5639
|
+
if (!((_c = _value.selected_actions) === null || _c === void 0 ? void 0 : _c[action.id])) {
|
|
5640
|
+
_value.selected_actions = Object.assign(Object.assign({}, _value.selected_actions), { [action.id]: action.key || '' });
|
|
5641
|
+
onChange && onChange(_value);
|
|
5642
|
+
setValue(_value);
|
|
5643
|
+
return;
|
|
5644
|
+
}
|
|
5645
|
+
if (_value.selected_actions[action.id]) {
|
|
5646
|
+
delete _value.selected_actions[action.id];
|
|
5647
|
+
onChange && onChange(_value);
|
|
5648
|
+
setValue(_value);
|
|
5649
|
+
return;
|
|
5650
|
+
}
|
|
5676
5651
|
}
|
|
5677
5652
|
});
|
|
5678
5653
|
const actionsRemoveMultipleBtn = (_a = node === null || node === void 0 ? void 0 : node.actions) === null || _a === void 0 ? void 0 : _a.filter((a) => a.type !== NodeActionType.ACTION_MULTIPLE_BUTTON);
|
|
5679
5654
|
return (React__default.createElement(StyledWrap$3, { id: "si-node-text" },
|
|
5680
5655
|
React__default.createElement(Container$h, { intents: (node === null || node === void 0 ? void 0 : node.intents) || [], indexNumber: indexNumber }),
|
|
5681
|
-
React__default.createElement(Container$7, { value: activeActions, actions: actionsRemoveMultipleBtn, onChange: handleOnChange })));
|
|
5656
|
+
React__default.createElement(Container$7, { value: activeActions, actions: actionsRemoveMultipleBtn, onChange: handleOnChange, formSubmitMeta: value === null || value === void 0 ? void 0 : value.form_submit_meta })));
|
|
5682
5657
|
};
|
|
5683
5658
|
Container$5.displayName = 'SubotInlineNodeMultipleContainer';
|
|
5684
5659
|
|
|
@@ -5722,8 +5697,7 @@ const StyledWrap$2 = styled.div `
|
|
|
5722
5697
|
`;
|
|
5723
5698
|
|
|
5724
5699
|
const Container$4 = ({ node, indexNumber }) => {
|
|
5725
|
-
|
|
5726
|
-
const { params, setIsShowFooter } = useContext(SubotInlineContext);
|
|
5700
|
+
const { onChange, setIsShowFooter } = useContext(SubotInlineContext);
|
|
5727
5701
|
const { value, setValue } = useContext(NodeContext);
|
|
5728
5702
|
const descriptionNode = useDescriptionPollNode({ node });
|
|
5729
5703
|
useMemo(() => {
|
|
@@ -5740,48 +5714,41 @@ const Container$4 = ({ node, indexNumber }) => {
|
|
|
5740
5714
|
return null;
|
|
5741
5715
|
}, [node === null || node === void 0 ? void 0 : node.actions]);
|
|
5742
5716
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5743
|
-
const handleOnChange = (
|
|
5744
|
-
|
|
5745
|
-
|
|
5746
|
-
|
|
5747
|
-
|
|
5748
|
-
|
|
5749
|
-
|
|
5750
|
-
|
|
5751
|
-
|
|
5752
|
-
|
|
5753
|
-
|
|
5754
|
-
const formUpdateIndex = currentSubmitMeta.findIndex(({ action_id }) => action_id === formValue.action_id);
|
|
5755
|
-
/**
|
|
5756
|
-
* The current logic when onChange is called will remove/add this poll action in the submit meta
|
|
5757
|
-
* But IF the onChange is called due to the input text other, this action will be not removed from the previous list
|
|
5758
|
-
*/
|
|
5759
|
-
if (formUpdateIndex !== -1) {
|
|
5760
|
-
tmpFormSubmitMeta = [
|
|
5761
|
-
...currentSubmitMeta.slice(0, formUpdateIndex),
|
|
5762
|
-
...currentSubmitMeta.slice(formUpdateIndex + 1),
|
|
5763
|
-
];
|
|
5764
|
-
}
|
|
5765
|
-
else {
|
|
5766
|
-
if (!is_multi_select) {
|
|
5767
|
-
tmpFormSubmitMeta = [Object.assign({}, formValue)];
|
|
5768
|
-
}
|
|
5769
|
-
else {
|
|
5770
|
-
tmpFormSubmitMeta = [...currentSubmitMeta];
|
|
5771
|
-
tmpFormSubmitMeta.push(formValue);
|
|
5772
|
-
}
|
|
5773
|
-
}
|
|
5717
|
+
const handleOnChange = (action, formSubmitMeta) => {
|
|
5718
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
5719
|
+
const newValue = JSON.parse(JSON.stringify(Object.assign(Object.assign({}, value), { node_id: node.id, action_id: submitButton === null || submitButton === void 0 ? void 0 : submitButton.id, action_value: submitButton === null || submitButton === void 0 ? void 0 : submitButton.key, form_submit_meta: [...((value === null || value === void 0 ? void 0 : value.form_submit_meta) || [])] })));
|
|
5720
|
+
if ((action === null || action === void 0 ? void 0 : action.type) === NodeActionType.POLL_CHOICE_TEXT_BY_INPUT ||
|
|
5721
|
+
(action === null || action === void 0 ? void 0 : action.type) === NodeActionType.USER_CHOICE_TEXT_BY_INPUT) {
|
|
5722
|
+
const isExistedPoll = (_a = newValue.form_submit_meta) === null || _a === void 0 ? void 0 : _a.some(({ action_id }) => action_id === action.id);
|
|
5723
|
+
if (isExistedPoll) {
|
|
5724
|
+
newValue.form_submit_meta =
|
|
5725
|
+
typeof formSubmitMeta === 'undefined'
|
|
5726
|
+
? (_b = newValue.form_submit_meta) === null || _b === void 0 ? void 0 : _b.filter(({ action_id }) => action_id !== action.id)
|
|
5727
|
+
: (_c = newValue.form_submit_meta) === null || _c === void 0 ? void 0 : _c.filter(({ action_id }) => action_id !== action.id).concat(formSubmitMeta);
|
|
5774
5728
|
}
|
|
5775
5729
|
else {
|
|
5776
|
-
|
|
5730
|
+
newValue.form_submit_meta = (_d = newValue.form_submit_meta) === null || _d === void 0 ? void 0 : _d.concat([
|
|
5731
|
+
{
|
|
5732
|
+
key: action === null || action === void 0 ? void 0 : action.key,
|
|
5733
|
+
control: ELEMENT_CONTROL_INPUT_TYPE[action === null || action === void 0 ? void 0 : action.type] || 'text',
|
|
5734
|
+
value: '',
|
|
5735
|
+
action_id: action === null || action === void 0 ? void 0 : action.id,
|
|
5736
|
+
},
|
|
5737
|
+
]);
|
|
5777
5738
|
}
|
|
5778
|
-
|
|
5779
|
-
|
|
5780
|
-
|
|
5781
|
-
|
|
5782
|
-
|
|
5783
|
-
|
|
5739
|
+
setValue(newValue);
|
|
5740
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
5741
|
+
return;
|
|
5742
|
+
}
|
|
5743
|
+
const isPoll = (_e = newValue.form_submit_meta) === null || _e === void 0 ? void 0 : _e.some(({ action_id }) => action_id === (action === null || action === void 0 ? void 0 : action.action_id));
|
|
5744
|
+
if (isPoll) {
|
|
5745
|
+
newValue.form_submit_meta = (_f = newValue.form_submit_meta) === null || _f === void 0 ? void 0 : _f.filter(({ action_id }) => action_id !== (action === null || action === void 0 ? void 0 : action.action_id));
|
|
5784
5746
|
}
|
|
5747
|
+
else {
|
|
5748
|
+
newValue.form_submit_meta = (_g = newValue.form_submit_meta) === null || _g === void 0 ? void 0 : _g.concat([action]);
|
|
5749
|
+
}
|
|
5750
|
+
setValue(newValue);
|
|
5751
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
5785
5752
|
};
|
|
5786
5753
|
const activeActions = useMemo(() => {
|
|
5787
5754
|
if (value === null || value === void 0 ? void 0 : value.form_submit_meta) {
|
|
@@ -5789,10 +5756,14 @@ const Container$4 = ({ node, indexNumber }) => {
|
|
|
5789
5756
|
}
|
|
5790
5757
|
return [];
|
|
5791
5758
|
}, [value, value === null || value === void 0 ? void 0 : value.form_submit_meta]);
|
|
5759
|
+
useEffect(() => {
|
|
5760
|
+
console.log('adfsafsdf');
|
|
5761
|
+
setValue(node === null || node === void 0 ? void 0 : node._message);
|
|
5762
|
+
}, []);
|
|
5792
5763
|
return (React__default.createElement(StyledWrap$2, null,
|
|
5793
5764
|
React__default.createElement(Container$h, { intents: node.intents || [], indexNumber: indexNumber }),
|
|
5794
5765
|
React__default.createElement("p", { className: "si-poll-description" }, descriptionNode),
|
|
5795
|
-
React__default.createElement(Container$7, { node_type: node === null || node === void 0 ? void 0 : node.type, value: activeActions, actions: node === null || node === void 0 ? void 0 : node.actions, onChange: handleOnChange, formSubmitMeta:
|
|
5766
|
+
React__default.createElement(Container$7, { node_type: node === null || node === void 0 ? void 0 : node.type, value: activeActions, actions: node === null || node === void 0 ? void 0 : node.actions, onChange: handleOnChange, formSubmitMeta: value === null || value === void 0 ? void 0 : value.form_submit_meta })));
|
|
5796
5767
|
};
|
|
5797
5768
|
Container$4.displayName = 'SubotinlineNodePoll';
|
|
5798
5769
|
|
|
@@ -5863,7 +5834,6 @@ const StyledWrap = styled.div `
|
|
|
5863
5834
|
`;
|
|
5864
5835
|
|
|
5865
5836
|
const Container$2 = ({ node, indexNumber }) => {
|
|
5866
|
-
var _a;
|
|
5867
5837
|
const { params, onSubmit, setIsShowFooter, listNodes, activeId, setLoading, onChange, } = useContext(SubotInlineContext);
|
|
5868
5838
|
const { value, setValue } = useContext(NodeContext);
|
|
5869
5839
|
useMemo(() => {
|
|
@@ -5883,7 +5853,7 @@ const Container$2 = ({ node, indexNumber }) => {
|
|
|
5883
5853
|
const res = yield subotInlineMessage(newParams);
|
|
5884
5854
|
setLoading(false);
|
|
5885
5855
|
if ((res === null || res === void 0 ? void 0 : res._status) === 1) {
|
|
5886
|
-
const
|
|
5856
|
+
const _a = res === null || res === void 0 ? void 0 : res._data, { node } = _a, restData = __rest(_a, ["node"]);
|
|
5887
5857
|
const nextNode = Object.assign(Object.assign({}, node), { _message: Object.assign(Object.assign({}, restData), { node_id: node.id }) });
|
|
5888
5858
|
onSubmit(nextNode, newParams);
|
|
5889
5859
|
}
|
|
@@ -5891,28 +5861,21 @@ const Container$2 = ({ node, indexNumber }) => {
|
|
|
5891
5861
|
const handleOnChange = (action, formSubmitMeta) => __awaiter(void 0, void 0, void 0, function* () {
|
|
5892
5862
|
if (!action)
|
|
5893
5863
|
return;
|
|
5894
|
-
const
|
|
5895
|
-
|
|
5896
|
-
|
|
5897
|
-
|
|
5864
|
+
const actionWithOther = (action === null || action === void 0 ? void 0 : action.type) === NodeActionType.USER_CHOICE_TEXT_BY_INPUT ||
|
|
5865
|
+
(action === null || action === void 0 ? void 0 : action.type) === NodeActionType.POLL_CHOICE_TEXT_BY_INPUT;
|
|
5866
|
+
const newValue = Object.assign(Object.assign({}, value), { action_id: action === null || action === void 0 ? void 0 : action.id, action_value: action === null || action === void 0 ? void 0 : action.key, form_submit_meta: formSubmitMeta });
|
|
5867
|
+
if (actionWithOther) {
|
|
5868
|
+
setValue(newValue);
|
|
5869
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
5898
5870
|
return;
|
|
5899
5871
|
}
|
|
5900
|
-
|
|
5901
|
-
|
|
5902
|
-
|
|
5903
|
-
setLoading(true);
|
|
5904
|
-
const res = yield subotInlineMessage(newParams);
|
|
5905
|
-
setLoading(false);
|
|
5906
|
-
if ((res === null || res === void 0 ? void 0 : res._status) === 1) {
|
|
5907
|
-
const _c = res === null || res === void 0 ? void 0 : res._data, { node } = _c, restData = __rest(_c, ["node"]);
|
|
5908
|
-
const nextNode = Object.assign(Object.assign({}, node), { _message: Object.assign(Object.assign({}, restData), { node_id: node.id }) });
|
|
5909
|
-
onSubmit(nextNode, newParams);
|
|
5910
|
-
}
|
|
5911
|
-
}
|
|
5872
|
+
delete newValue.form_submit_meta;
|
|
5873
|
+
setValue(newValue);
|
|
5874
|
+
handleOnChangeNormal(action);
|
|
5912
5875
|
});
|
|
5913
5876
|
return (React__default.createElement(StyledWrap, { id: "si-node-text" },
|
|
5914
5877
|
React__default.createElement(Container$h, { intents: (node === null || node === void 0 ? void 0 : node.intents) || [], indexNumber: indexNumber }),
|
|
5915
|
-
React__default.createElement(Container$7, { value: (value === null || value === void 0 ? void 0 : value.action_id) ? [value === null || value === void 0 ? void 0 : value.action_id] : [], actions: node === null || node === void 0 ? void 0 : node.actions, onChange: handleOnChange, formSubmitMeta:
|
|
5878
|
+
React__default.createElement(Container$7, { value: (value === null || value === void 0 ? void 0 : value.action_id) ? [value === null || value === void 0 ? void 0 : value.action_id] : [], actions: node === null || node === void 0 ? void 0 : node.actions, onChange: handleOnChange, formSubmitMeta: value === null || value === void 0 ? void 0 : value.form_submit_meta })));
|
|
5916
5879
|
};
|
|
5917
5880
|
Container$2.displayName = 'SubotInlineNodeTextContainer';
|
|
5918
5881
|
|