@hhgtech/hhg-components 1.29.314-beta-14 → 1.29.315
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-d69eca06.js → LastPeriod-399127f3.js} +1 -1
- package/build/{MobileBottomNavigationIcon-ceb73c53.js → MobileBottomNavigationIcon-85bb8186.js} +3 -3
- package/build/{Spinner-19113ea7.js → Spinner-831813bd.js} +1 -1
- package/build/{WhatsApp-76ca0f91.js → WhatsApp-c4c30a46.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 +1 -6
- 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-4f288ba0.js → constants-2f3f4a32.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-fb1a3ee5.js → core-a175766a.js} +1 -1
- package/build/{dataTransform-5d86d4aa.js → dataTransform-cce542ae.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-f2b18131.js → editor-e43de058.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-fe7bc209.js → LastPeriod-e1a56a9d.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-54a90796.js → MobileBottomNavigationIcon-3123ba15.js} +3 -3
- package/build/esm/{Spinner-56331978.js → Spinner-d28e2789.js} +1 -1
- package/build/esm/{WhatsApp-8254e72f.js → WhatsApp-e917af5d.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 +1 -6
- 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-b3c0de30.js → constants-a30059db.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-92270d00.js → core-2278a3f4.js} +1 -1
- package/build/esm/{dataTransform-ed569492.js → dataTransform-e7d04f1a.js} +1 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-14e431aa.js → editor-01cf4588.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-6e0698f1.js → fixedBottomAdBlock-246390aa.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-cf646e5b.js → index-0218cd4c.js} +2 -2
- package/build/esm/{index-423ca167.js → index-0528c887.js} +1 -1
- package/build/esm/{index-d00fbd4b.js → index-095d65c4.js} +15 -15
- package/build/esm/{index-652d77eb.js → index-09ae8772.js} +3 -3
- package/build/esm/{index-e29992a0.js → index-09e90ce8.js} +7 -7
- package/build/esm/{index-358b56f1.js → index-0ab3dc50.js} +3 -3
- package/build/esm/{index-50a1ad54.js → index-0b52c6d7.js} +16 -16
- package/build/esm/{index-06560e8a.js → index-113b0d38.js} +2 -2
- package/build/esm/{index-1898d32b.js → index-162fd73d.js} +21 -21
- package/build/esm/{index-feaf791d.js → index-16867b47.js} +2 -2
- package/build/esm/{index-cc5a647d.js → index-16ff2dcb.js} +13 -13
- package/build/esm/{index-3dfa9349.js → index-208f847c.js} +11 -11
- package/build/esm/{index-3a3b6cbe.js → index-25a8eee9.js} +5 -5
- package/build/esm/{index-89bba1bc.js → index-2f1118a0.js} +3 -3
- package/build/esm/{index-3be07119.js → index-3566e22e.js} +2 -2
- package/build/esm/{index-bb807a69.js → index-372b192c.js} +13 -13
- package/build/esm/{index-d28b54f2.js → index-38e7df62.js} +2 -2
- package/build/esm/{index-fc544012.js → index-42893067.js} +10 -10
- package/build/esm/{index-8e56ec89.js → index-45839ff0.js} +24 -24
- package/build/esm/{index-2ddebe13.js → index-4584ac41.js} +17 -17
- package/build/esm/{index-565d7f57.js → index-470db0b9.js} +30 -30
- package/build/esm/{index-e1a17eae.js → index-49e1625e.js} +2 -2
- package/build/esm/{index-16ac98f0.js → index-4ba32059.js} +1 -1
- package/build/esm/{index-4c84452a.js → index-4e1a25c5.js} +3 -3
- package/build/esm/{index-c884fcbe.js → index-56dceb35.js} +13 -13
- package/build/esm/{index-33ffdd43.js → index-5b374418.js} +32 -32
- package/build/esm/{index-7e34b9b0.js → index-5b7bc292.js} +16 -16
- package/build/esm/{index-7a7a0172.js → index-64243680.js} +1 -1
- package/build/esm/{index-b04816c8.js → index-684aad84.js} +20 -20
- package/build/esm/{index-5f55ac8f.js → index-6a9fb840.js} +7 -7
- package/build/esm/index-708e9c73.js +275 -0
- package/build/esm/{index-2851c41d.js → index-72469c93.js} +16 -16
- package/build/esm/{index-0b74abbf.js → index-7b032cb2.js} +2 -2
- package/build/esm/{index-9d6d73bf.js → index-8724abda.js} +1 -1
- package/build/esm/{index-20b50b83.js → index-8daf228c.js} +16 -16
- package/build/esm/{index-b0c6b8ba.js → index-8f767550.js} +6 -6
- package/build/esm/{index-84b37ca1.js → index-9ada7ed7.js} +15 -15
- package/build/esm/{index-67a05e8b.js → index-a8aa5875.js} +1 -1
- package/build/esm/{index-f62f2c51.js → index-a918e93d.js} +6 -6
- package/build/esm/{index-9cb11355.js → index-a9d08a7a.js} +2 -2
- package/build/esm/{index-cbb3fcd6.js → index-ab7a2034.js} +18 -18
- package/build/esm/{index-d0a2d7ee.js → index-af8b68f3.js} +2 -2
- package/build/esm/{index-5c633cc6.js → index-b3cc4c4e.js} +6 -6
- package/build/esm/{index-678ef23e.js → index-b551f961.js} +1 -1
- package/build/esm/{index-fb788953.js → index-bb1ff84d.js} +3 -3
- package/build/esm/{index-4e863234.js → index-bb35ce33.js} +26 -26
- package/build/esm/{index-d994fc09.js → index-bfd40ed5.js} +3 -3
- package/build/esm/{index-e66b62ac.js → index-c800a73c.js} +1 -1
- package/build/esm/{index-cd4f1483.js → index-d85c6d43.js} +5 -2
- package/build/esm/{index-7e82709d.js → index-dddecf13.js} +6 -6
- package/build/esm/{index-589c02a3.js → index-de51ef01.js} +2 -2
- package/build/esm/{index-c6d57c2b.js → index-df6c41d1.js} +4 -4
- package/build/esm/{index-21f7be62.js → index-ec2353dd.js} +5 -5
- package/build/esm/{index-188e5960.js → index-ecbfffdb.js} +3 -3
- package/build/esm/{index-47de3558.js → index-ef1f0ceb.js} +13 -13
- package/build/esm/{index-181058d9.js → index-ef46126e.js} +17 -17
- package/build/esm/{index-11d162e1.js → index-f5ca6734.js} +18 -18
- package/build/esm/{index-386a16ee.js → index-fbbfa8e1.js} +2 -2
- package/build/esm/{index-fce22db0.js → index-fdca539f.js} +1 -1
- package/build/esm/{index-0b0e75d8.js → index-fe12e954.js} +2 -2
- package/build/esm/{index-4fcd03f2.js → index-ff203f0f.js} +17 -17
- package/build/esm/index.js +112 -112
- package/build/esm/interfaces/constants/index.d.ts +4 -1
- package/build/esm/{labelSorting-21c6fed8.js → labelSorting-371d5720.js} +4 -4
- package/build/esm/lead.js +24 -24
- package/build/esm/{logoIcon-a74e2c16.js → logoIcon-c230ea02.js} +2 -2
- package/build/esm/mantine.js +25 -25
- package/build/esm/misc/animation.d.ts +9 -54
- 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-3727191a.js → post-3c3525dc.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 +64 -343
- package/build/esm/{store-73ff33b5.js → store-d17bd9ef.js} +9 -21
- package/build/esm/subot/utils/index.d.ts +1 -1
- package/build/esm/subot.js +174 -137
- package/build/esm/surveyOrPremiumBanner.js +31 -31
- package/build/esm/surveyQuestionCard.js +10 -10
- package/build/esm/{surveyThankyouCard-b5de25f4.js → surveyThankyouCard-dae6de80.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-258cb43f.js → treePopoverMenu-306841ea.js} +19 -19
- package/build/esm/{types-d6f28ecb.js → types-5996a251.js} +2 -2
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-35c4e36d.js → useCategory-09d3585b.js} +5 -5
- package/build/esm/{useHealthToolCache-2cacb90e.js → useHealthToolCache-5a7f86be.js} +1 -1
- package/build/esm/{useMantineLocale-0ba0ecb6.js → useMantineLocale-d71ce863.js} +6 -6
- package/build/esm/{usePlacesAutocomplete-479dc7c7.js → usePlacesAutocomplete-09c8cc83.js} +1 -1
- package/build/esm/{useScreenSize-809adcd8.js → useScreenSize-fbbdb880.js} +2 -2
- package/build/esm/useTogetherAuthRequiredAction.js +9 -9
- package/build/esm/{utils-c83bdd26.js → utils-1a19bf54.js} +2 -2
- package/build/esm/{utils-813533ea.js → utils-c6ca6c1f.js} +2 -2
- package/build/esm/{utils-cb6cc1fc.js → utils-f8a0118f.js} +3 -3
- package/build/esm/vaccination.js +21 -21
- package/build/{fixedBottomAdBlock-b5612f89.js → fixedBottomAdBlock-26545433.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-c2706343.js → index-03b5388a.js} +4 -4
- package/build/{index-813c123e.js → index-057c5667.js} +6 -6
- package/build/{index-7087de20.js → index-07bfb8de.js} +1 -1
- package/build/{index-5b9515a4.js → index-089e4816.js} +2 -2
- package/build/{index-17b20abb.js → index-11cfbfc6.js} +6 -6
- package/build/{index-41cfc156.js → index-1c545b22.js} +1 -1
- package/build/{index-88313670.js → index-1de56fca.js} +3 -3
- package/build/{index-5e52769d.js → index-22ee39ae.js} +3 -3
- package/build/{index-a4c0de8c.js → index-24703e8f.js} +5 -2
- package/build/{index-3b6e5460.js → index-24a26c24.js} +13 -13
- package/build/{index-e55ef1b8.js → index-2556df99.js} +17 -17
- package/build/{index-c68b8879.js → index-26c1154c.js} +26 -26
- package/build/{index-e900ba25.js → index-28d5cd45.js} +13 -13
- package/build/{index-888ee1c9.js → index-3103ff2e.js} +18 -18
- package/build/{index-667057a4.js → index-3578de33.js} +2 -2
- package/build/{index-c1f41988.js → index-38c79b62.js} +5 -5
- package/build/{index-568d1e34.js → index-38e8e374.js} +6 -6
- package/build/{index-bf887d09.js → index-3a03c4db.js} +16 -16
- package/build/{index-c7b962b6.js → index-3ec3e2fe.js} +2 -2
- package/build/index-40080fb4.js +277 -0
- package/build/{index-44bf96a1.js → index-4248215f.js} +3 -3
- package/build/{index-1c99f510.js → index-437b5a73.js} +2 -2
- package/build/{index-30767393.js → index-4e288c53.js} +1 -1
- package/build/{index-58e75230.js → index-53d6a276.js} +13 -13
- package/build/{index-ae27bb9c.js → index-57470259.js} +21 -21
- package/build/{index-67258b98.js → index-5b8f0ddf.js} +30 -30
- package/build/{index-86ada07b.js → index-6412753c.js} +1 -1
- package/build/{index-b3eb909d.js → index-67be90f0.js} +16 -16
- package/build/{index-0615e5cb.js → index-6926c114.js} +7 -7
- package/build/{index-40a82e6a.js → index-6f1ce4f1.js} +2 -2
- package/build/{index-1e1a8d68.js → index-70faa125.js} +3 -3
- package/build/{index-0ac2752e.js → index-735554f4.js} +2 -2
- package/build/{index-9233100e.js → index-77ba4766.js} +32 -32
- package/build/{index-4c64613f.js → index-7cafd690.js} +3 -3
- package/build/{index-679587fc.js → index-7e6afe52.js} +10 -10
- package/build/{index-6a137573.js → index-7ebfc000.js} +5 -5
- package/build/{index-8cf2aea5.js → index-80350077.js} +24 -24
- package/build/{index-d34a57a4.js → index-877cc53a.js} +16 -16
- package/build/{index-653c41cd.js → index-896d1932.js} +18 -18
- package/build/{index-7d21aaab.js → index-8e6c5fb1.js} +2 -2
- package/build/{index-780d2816.js → index-9f60ef69.js} +16 -16
- package/build/{index-895977d8.js → index-a99e0254.js} +2 -2
- package/build/{index-a1cde0ec.js → index-aa3468fd.js} +2 -2
- package/build/{index-3457576b.js → index-ad8df46f.js} +7 -7
- package/build/{index-cbe5944e.js → index-b4b2076e.js} +17 -17
- package/build/{index-b7e27dc8.js → index-bc6d0c9e.js} +15 -15
- package/build/{index-8e52a15d.js → index-be8d8de4.js} +3 -3
- package/build/{index-839b3b8f.js → index-c07785a9.js} +2 -2
- package/build/{index-a5e81644.js → index-d1b9e7ac.js} +15 -15
- package/build/{index-96f3c31b.js → index-d4f0cea1.js} +13 -13
- package/build/{index-e0bc1a9e.js → index-e0761f4a.js} +1 -1
- package/build/{index-c6b86772.js → index-e3af0d00.js} +2 -2
- package/build/{index-47aa8d5a.js → index-e562d832.js} +3 -3
- package/build/{index-379f63de.js → index-e6f53fbf.js} +17 -17
- package/build/{index-7b77e111.js → index-e9163a92.js} +1 -1
- package/build/{index-eb43fd61.js → index-eb7ca401.js} +1 -1
- package/build/{index-9837cf92.js → index-ebb62b99.js} +1 -1
- package/build/{index-ee88f5a5.js → index-ebec9d07.js} +20 -20
- package/build/{index-2d5909e7.js → index-f024ff39.js} +2 -2
- package/build/{index-03ab0027.js → index-f24da7fa.js} +6 -6
- package/build/{index-885f6871.js → index-f9254156.js} +11 -11
- package/build/index.js +112 -112
- package/build/interfaces/constants/index.d.ts +4 -1
- package/build/{labelSorting-b951437d.js → labelSorting-7a548a9f.js} +4 -4
- package/build/lead.js +24 -24
- package/build/{logoIcon-48a8700d.js → logoIcon-23de57dc.js} +2 -2
- package/build/mantine.js +22 -22
- package/build/misc/animation.d.ts +9 -54
- 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-62af3f2a.js → post-aa0ddebc.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 +76 -355
- package/build/{store-b92e2b20.js → store-f2722742.js} +8 -21
- package/build/subot/utils/index.d.ts +1 -1
- package/build/subot.js +173 -136
- package/build/surveyOrPremiumBanner.js +31 -31
- package/build/surveyQuestionCard.js +10 -10
- package/build/{surveyThankyouCard-a2f97beb.js → surveyThankyouCard-b1d823e1.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-0e657caf.js → treePopoverMenu-5ff541a6.js} +19 -19
- package/build/{types-4194be81.js → types-e576b6a9.js} +2 -2
- package/build/types.js +2 -2
- package/build/{useCategory-71ce198d.js → useCategory-8ffecf7e.js} +5 -5
- package/build/{useHealthToolCache-b490b209.js → useHealthToolCache-61e43a7c.js} +1 -1
- package/build/{useMantineLocale-2f14fd9c.js → useMantineLocale-0e8caa51.js} +6 -6
- package/build/{usePlacesAutocomplete-8666d83d.js → usePlacesAutocomplete-9f40b301.js} +1 -1
- package/build/{useScreenSize-a0254a25.js → useScreenSize-13312268.js} +2 -2
- package/build/useTogetherAuthRequiredAction.js +9 -9
- package/build/{utils-42fc2cfa.js → utils-72804395.js} +2 -2
- package/build/{utils-7456fa06.js → utils-ca8344ca.js} +3 -3
- package/build/{utils-1c21bc99.js → utils-d5c452cc.js} +2 -2
- package/build/vaccination.js +21 -21
- package/package.json +1 -1
- package/build/esm/index-4adb8d96.js +0 -339
- 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-d677aeea.js +0 -341
- 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-143e1559.js → BMI_BOYS.percentile.monthly-f9b3c3ed.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-082e571f.js → BMI_BOYS.percentile.weekly-e874e4f8.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-c3c03ed7.js → BMI_BOYS.percentile.yearly-4f0502db.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-7ee6b4e9.js → BMI_BOYS.zscore.monthly-9a9feb02.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-2b89c99d.js → BMI_BOYS.zscore.weekly-7e72d595.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-3e42936a.js → BMI_BOYS.zscore.yearly-108178e3.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-6a5385d0.js → BMI_GIRLS.percentile.monthly-6242c62b.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-7fd003f4.js → BMI_GIRLS.percentile.weekly-0add5702.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-e3c5d01a.js → BMI_GIRLS.percentile.yearly-4152167d.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-503623b4.js → BMI_GIRLS.zscore.monthly-128ca194.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-8960f640.js → BMI_GIRLS.zscore.weekly-ca676528.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-80e3236b.js → BMI_GIRLS.zscore.yearly-e08c29d1.js} +0 -0
- /package/build/{ChevronDown-b2195c3c.js → ChevronDown-57bc884b.js} +0 -0
- /package/build/{Close-bca677b0.js → Close-df830c4c.js} +0 -0
- /package/build/{Google-84cbf269.js → Google-c89265b8.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-fb7f7331.js → HEAD CIRCUM_BOYS.percentile.monthly-87429d30.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-673c8341.js → HEAD CIRCUM_BOYS.percentile.weekly-91c4b200.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-3b21eb40.js → HEAD CIRCUM_BOYS.percentile.yearly-8bc1adee.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-a826c61a.js → HEAD CIRCUM_BOYS.zscore.monthly-5d01881c.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-f08720c4.js → HEAD CIRCUM_BOYS.zscore.weekly-ee5e76f3.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-a4a95115.js → HEAD CIRCUM_BOYS.zscore.yearly-ae4aa4e7.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-f796e3ba.js → HEAD CIRCUM_GIRLS.percentile.monthly-fe6a2c2f.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-825ef172.js → HEAD CIRCUM_GIRLS.percentile.weekly-67dfd40d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-d3e58242.js → HEAD CIRCUM_GIRLS.percentile.yearly-ed0b2c26.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-0088061b.js → HEAD CIRCUM_GIRLS.zscore.monthly-2aa3bb52.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-512d3c8d.js → HEAD CIRCUM_GIRLS.zscore.weekly-15d544c3.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-bc09260b.js → HEAD CIRCUM_GIRLS.zscore.yearly-6f8e2015.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-acbba3b0.js → HEIGHT_BOYS.percentile.monthly-60f64abd.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-f31dbf8e.js → HEIGHT_BOYS.percentile.weekly-ab66b5ed.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-eb19d191.js → HEIGHT_BOYS.percentile.yearly-fe761b28.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-c095e6e0.js → HEIGHT_BOYS.zscore.monthly-ae155fb0.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-2d2b1c4a.js → HEIGHT_BOYS.zscore.weekly-98c6c53f.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-49cde907.js → HEIGHT_BOYS.zscore.yearly-c813016f.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-ac2c2dd8.js → HEIGHT_GIRLS.percentile.monthly-98798d5e.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-69849d79.js → HEIGHT_GIRLS.percentile.weekly-c01b3d34.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-d97a4570.js → HEIGHT_GIRLS.percentile.yearly-7cce68f3.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-5ff0b909.js → HEIGHT_GIRLS.zscore.monthly-991a2021.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-194e2a2a.js → HEIGHT_GIRLS.zscore.weekly-815080ba.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-489a3bce.js → HEIGHT_GIRLS.zscore.yearly-475186f4.js} +0 -0
- /package/build/{Locale-0b1d80be.js → Locale-242593ca.js} +0 -0
- /package/build/{Visible-909376d8.js → Visible-403b3b1f.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-250a81e3.js → WEIGHT_BOYS.percentile.monthly-1d5b3264.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-1444f8c1.js → WEIGHT_BOYS.percentile.weekly-6e79f3ee.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-f7ee893d.js → WEIGHT_BOYS.percentile.yearly-51cbb059.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-3987bfa1.js → WEIGHT_BOYS.zscore.monthly-4fbc17bb.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-2601a41a.js → WEIGHT_BOYS.zscore.weekly-b97b36d9.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-106561c8.js → WEIGHT_BOYS.zscore.yearly-7ee60f4f.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-6fecf09d.js → WEIGHT_GIRLS.percentile.monthly-93cb34fd.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-9b726644.js → WEIGHT_GIRLS.percentile.weekly-ce75b87e.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-02e4b9e2.js → WEIGHT_GIRLS.percentile.yearly-ea8b7b42.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-4841a113.js → WEIGHT_GIRLS.zscore.monthly-9d891d7f.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-233b33ec.js → WEIGHT_GIRLS.zscore.weekly-19a1b907.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-1f338cde.js → WEIGHT_GIRLS.zscore.yearly-706d9c0a.js} +0 -0
- /package/build/{animation-9d4fa861.js → animation-8bc157b4.js} +0 -0
- /package/build/{constants-f69f3ae9.js → constants-0656cf3a.js} +0 -0
- /package/build/{constants-e4dd5974.js → constants-db39434e.js} +0 -0
- /package/build/{constants-3cfe089e.js → constants-fc951ce9.js} +0 -0
- /package/build/{dataTransform-937fbf8e.js → dataTransform-95bd8bda.js} +0 -0
- /package/build/{doctor-707b977f.js → doctor-99f2c57d.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-e8f373a4.js → BMI_BOYS.percentile.monthly-e8ebdb94.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-13679f12.js → BMI_BOYS.percentile.weekly-582ded52.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-167daa76.js → BMI_BOYS.percentile.yearly-663ac5fd.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-d9943cd1.js → BMI_BOYS.zscore.monthly-0620b23d.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-8a5749e8.js → BMI_BOYS.zscore.weekly-1f02f80f.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-42bdf525.js → BMI_BOYS.zscore.yearly-382d10df.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-f747a2af.js → BMI_GIRLS.percentile.monthly-9ea00934.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-f6a8533a.js → BMI_GIRLS.percentile.weekly-0789b422.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-a8c7a70b.js → BMI_GIRLS.percentile.yearly-12b1fb8a.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-04cecdf6.js → BMI_GIRLS.zscore.monthly-2ed8477a.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-062a63c2.js → BMI_GIRLS.zscore.weekly-f9953d35.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-0cef297e.js → BMI_GIRLS.zscore.yearly-1c9c86dd.js} +0 -0
- /package/build/esm/{ChevronDown-5d212e51.js → ChevronDown-9fcd68d0.js} +0 -0
- /package/build/esm/{Close-d5d7d753.js → Close-f60d99d7.js} +0 -0
- /package/build/esm/{Google-fd41df78.js → Google-3d9747c5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-8a80c5f6.js → HEAD CIRCUM_BOYS.percentile.monthly-5946fa4a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-dfffb841.js → HEAD CIRCUM_BOYS.percentile.weekly-4510dce5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-cc3c77f6.js → HEAD CIRCUM_BOYS.percentile.yearly-71af8065.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-619f0eb9.js → HEAD CIRCUM_BOYS.zscore.monthly-846647a4.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-9b4cba3e.js → HEAD CIRCUM_BOYS.zscore.weekly-9cc1d8f0.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-bc2a079d.js → HEAD CIRCUM_BOYS.zscore.yearly-6c5e9144.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-c4c3a423.js → HEAD CIRCUM_GIRLS.percentile.monthly-ac83bbb4.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-fe35fc4b.js → HEAD CIRCUM_GIRLS.percentile.weekly-f476d80b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-859d0685.js → HEAD CIRCUM_GIRLS.percentile.yearly-892afbe2.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-c224e26b.js → HEAD CIRCUM_GIRLS.zscore.monthly-89904c4c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-8a524cd1.js → HEAD CIRCUM_GIRLS.zscore.weekly-cfb89312.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-d033f069.js → HEAD CIRCUM_GIRLS.zscore.yearly-3add5de9.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-e82dabda.js → HEIGHT_BOYS.percentile.monthly-ec52a52c.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-f4d3f6db.js → HEIGHT_BOYS.percentile.weekly-38e8dfde.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-6d8ce066.js → HEIGHT_BOYS.percentile.yearly-26c68fa1.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-08789f52.js → HEIGHT_BOYS.zscore.monthly-b6d13ac8.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-15946bcc.js → HEIGHT_BOYS.zscore.weekly-aabe88d4.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-5115008b.js → HEIGHT_BOYS.zscore.yearly-d9d437c9.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-7323f760.js → HEIGHT_GIRLS.percentile.monthly-671b7012.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-232a0d31.js → HEIGHT_GIRLS.percentile.weekly-19dba3e3.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-4f2c24d7.js → HEIGHT_GIRLS.percentile.yearly-f6e97862.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-eece140e.js → HEIGHT_GIRLS.zscore.monthly-73a3b24e.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-e352f20b.js → HEIGHT_GIRLS.zscore.weekly-eefa287a.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-197417db.js → HEIGHT_GIRLS.zscore.yearly-6cac7595.js} +0 -0
- /package/build/esm/{Locale-594fa927.js → Locale-ea5b7a07.js} +0 -0
- /package/build/esm/{Visible-fe199608.js → Visible-0368c2c5.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-de97408e.js → WEIGHT_BOYS.percentile.monthly-a6a629ac.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-59a954fa.js → WEIGHT_BOYS.percentile.weekly-e9031c78.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-5deffc53.js → WEIGHT_BOYS.percentile.yearly-76f771cc.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-cde94dd5.js → WEIGHT_BOYS.zscore.monthly-f2c3a740.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-6cb7323e.js → WEIGHT_BOYS.zscore.weekly-f7356de4.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-668c884b.js → WEIGHT_BOYS.zscore.yearly-5caa0a8c.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-88906906.js → WEIGHT_GIRLS.percentile.monthly-a0c07f1d.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-9fd46273.js → WEIGHT_GIRLS.percentile.weekly-be886c27.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-9a79a32a.js → WEIGHT_GIRLS.percentile.yearly-616bf909.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-5e140879.js → WEIGHT_GIRLS.zscore.monthly-3a0b6fec.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-34da2e3c.js → WEIGHT_GIRLS.zscore.weekly-1a874a64.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-d00b3874.js → WEIGHT_GIRLS.zscore.yearly-bc5062be.js} +0 -0
- /package/build/esm/{animation-ef7ea164.js → animation-ff8066cf.js} +0 -0
- /package/build/esm/{constants-69bf5cfc.js → constants-735a8fb5.js} +0 -0
- /package/build/esm/{constants-e648570c.js → constants-7877bb54.js} +0 -0
- /package/build/esm/{constants-95ebcefd.js → constants-87b40898.js} +0 -0
- /package/build/esm/{dataTransform-3179e50f.js → dataTransform-c2734aea.js} +0 -0
- /package/build/esm/{doctor-a80f71c8.js → doctor-f8cb51da.js} +0 -0
- /package/build/esm/{index-7b444cf3.js → index-02936787.js} +0 -0
- /package/build/esm/{index-d93a8bf0.js → index-2b64172a.js} +0 -0
- /package/build/esm/{index-82e35e12.js → index-3fd53512.js} +0 -0
- /package/build/esm/{index-4f3302b0.js → index-75400acc.js} +0 -0
- /package/build/esm/{index-56032b6b.js → index-8006e885.js} +0 -0
- /package/build/esm/{index-0b74f9c8.js → index-857c8603.js} +0 -0
- /package/build/esm/{index-70dab8b2.js → index-87d5c0ba.js} +0 -0
- /package/build/esm/{index-9871844d.js → index-96b6c9bc.js} +0 -0
- /package/build/esm/{index.styles-5235bc78.js → index.styles-d3a3af89.js} +0 -0
- /package/build/esm/{localizeNumberFormat-6ce6b65e.js → localizeNumberFormat-e2322900.js} +0 -0
- /package/build/esm/{normalizeLink-d54d50da.js → normalizeLink-45cf86db.js} +0 -0
- /package/build/esm/{other-bd29096b.js → other-8260abb5.js} +0 -0
- /package/build/esm/{paths-c80414d2.js → paths-2fc7e615.js} +0 -0
- /package/build/esm/{translationsContext-c1266e59.js → translationsContext-fe99a5d1.js} +0 -0
- /package/build/esm/{tslib.es6-d17cda6d.js → tslib.es6-efe99217.js} +0 -0
- /package/build/esm/{types-4ab90aae.js → types-8a1e28b7.js} +0 -0
- /package/build/esm/{useIsInit-d14af901.js → useIsInit-2ff78903.js} +0 -0
- /package/build/esm/{useOutsideClick-90e911b0.js → useOutsideClick-73ac8dde.js} +0 -0
- /package/build/esm/{useScrollbarSize-7ea06d6e.js → useScrollbarSize-4eb2cf40.js} +0 -0
- /package/build/esm/{useUniqueId-00511b5a.js → useUniqueId-c65d984d.js} +0 -0
- /package/build/esm/{utils-73a530da.js → utils-8ec017e2.js} +0 -0
- /package/build/{index-746dfea4.js → index-0c801d40.js} +0 -0
- /package/build/{index-d09bf1b2.js → index-5e198610.js} +0 -0
- /package/build/{index-072562aa.js → index-65c24006.js} +0 -0
- /package/build/{index-641e3a99.js → index-789d670e.js} +0 -0
- /package/build/{index-dfc7a7d0.js → index-7a02d5c4.js} +0 -0
- /package/build/{index-61a0b233.js → index-98746357.js} +0 -0
- /package/build/{index-2dc0185a.js → index-9fed4f5a.js} +0 -0
- /package/build/{index-27dbd9d0.js → index-d9e8c344.js} +0 -0
- /package/build/{index.styles-5be6c8af.js → index.styles-4c55fb99.js} +0 -0
- /package/build/{localizeNumberFormat-16b8105c.js → localizeNumberFormat-f94f5164.js} +0 -0
- /package/build/{normalizeLink-74fc68f9.js → normalizeLink-9b8b57c4.js} +0 -0
- /package/build/{other-81897f29.js → other-fe759449.js} +0 -0
- /package/build/{paths-68477740.js → paths-d32e0bfd.js} +0 -0
- /package/build/{translationsContext-4384ed9c.js → translationsContext-70cdca66.js} +0 -0
- /package/build/{tslib.es6-c3c8c8ca.js → tslib.es6-2b428e0e.js} +0 -0
- /package/build/{types-b2d34cec.js → types-105aedd6.js} +0 -0
- /package/build/{useIsInit-41c76ece.js → useIsInit-c48ba996.js} +0 -0
- /package/build/{useOutsideClick-69ca2136.js → useOutsideClick-0d18ed47.js} +0 -0
- /package/build/{useScrollbarSize-86a5638b.js → useScrollbarSize-fb344ed9.js} +0 -0
- /package/build/{useUniqueId-c0f31b4e.js → useUniqueId-e8768fb8.js} +0 -0
- /package/build/{utils-9a0cbb29.js → utils-e96269e2.js} +0 -0
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { a as __awaiter } from './tslib.es6-
|
|
1
|
+
import { a as __awaiter } from './tslib.es6-efe99217.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-45cf86db.js';
|
|
5
|
+
import { L as LOCALE_SPECS, B as BEARER_REFRESH_TOKEN_COOKIE, d as BEARER_TOKEN_COOKIE$1 } from './index-d85c6d43.js';
|
|
6
6
|
import { setCookie, getCookie } from './miscCookieHelper.js';
|
|
7
|
-
import { L as LOCALE } from './Locale-594fa927.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: () => any;
|
|
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-0528c887.js';
|
|
3
|
+
import { a as __awaiter, _ as __rest } from './tslib.es6-efe99217.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-d85c6d43.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-f8a0118f.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-bb1ff84d.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-bb1ff84d.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-02936787.js';
|
|
15
|
+
import { L as Loading } from './index-fbbfa8e1.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-8ec017e2.js';
|
|
19
|
+
import { B as Button } from './index-38e7df62.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-75400acc.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-735a8fb5.js';
|
|
28
28
|
import { v4 } from 'uuid';
|
|
29
|
-
import { T as Text } from './index-
|
|
29
|
+
import { T as Text } from './index-0218cd4c.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-208f847c.js';
|
|
33
33
|
import '@mantine/dates';
|
|
34
|
-
import './useMantineLocale-
|
|
35
|
-
import './index.styles-
|
|
36
|
-
import './translationsContext-
|
|
34
|
+
import './useMantineLocale-d71ce863.js';
|
|
35
|
+
import './index.styles-d3a3af89.js';
|
|
36
|
+
import './translationsContext-fe99a5d1.js';
|
|
37
37
|
import '@mantine/hooks';
|
|
38
|
-
import './other-
|
|
39
|
-
import './index-
|
|
38
|
+
import './other-8260abb5.js';
|
|
39
|
+
import './index-0ab3dc50.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-09c8cc83.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-ea5b7a07.js';
|
|
47
|
+
import { D as DatePicker } from './index-2b64172a.js';
|
|
48
|
+
import { D as Dropdown } from './index-8006e885.js';
|
|
49
|
+
import { B as Button$1 } from './index-fe12e954.js';
|
|
50
|
+
import { u as useSSOV2Store, I as IS_SSOV2_ENABLED } from './store-d17bd9ef.js';
|
|
51
51
|
import 'date-fns/locale';
|
|
52
52
|
import './constantsSite.js';
|
|
53
53
|
import './constantsRiskScreener.js';
|
|
54
|
-
import './index-
|
|
54
|
+
import './index-708e9c73.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-ecbfffdb.js';
|
|
59
|
+
import './WhatsApp-e917af5d.js';
|
|
60
|
+
import './Spinner-d28e2789.js';
|
|
61
|
+
import './index-a8aa5875.js';
|
|
62
|
+
import './useScreenSize-fbbdb880.js';
|
|
63
63
|
import '@mantine/carousel';
|
|
64
|
-
import './useUniqueId-
|
|
64
|
+
import './useUniqueId-c65d984d.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-45cf86db.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, _d, _e;
|
|
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,16 +1549,15 @@ 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
|
-
|
|
1553
|
-
|
|
1554
|
-
// NodeActionType.USER_CHOICE_TEXT_BY_INPUT
|
|
1552
|
+
const selectedWithOtherInput = ((_e = (_d = node === null || node === void 0 ? void 0 : node.actions) === null || _d === void 0 ? void 0 : _d.find(({ id }) => id === value.action_id)) === null || _e === void 0 ? void 0 : _e.type) ===
|
|
1553
|
+
NodeActionType.USER_CHOICE_TEXT_BY_INPUT;
|
|
1555
1554
|
const handleNextChoice = () => {
|
|
1556
1555
|
const nextValue = {
|
|
1557
1556
|
node_id: node.id,
|
|
1558
1557
|
action_id: actionNextChoice === null || actionNextChoice === void 0 ? void 0 : actionNextChoice.id,
|
|
1559
1558
|
action_value: actionNextChoice === null || actionNextChoice === void 0 ? void 0 : actionNextChoice.key,
|
|
1560
1559
|
};
|
|
1561
|
-
onNext(Object.assign(Object.assign(Object.assign({}, params), node === null || node === void 0 ? void 0 : node._message)
|
|
1560
|
+
onNext(Object.assign(Object.assign(Object.assign({}, params), nextValue), node === null || node === void 0 ? void 0 : node._message));
|
|
1562
1561
|
};
|
|
1563
1562
|
const handlePollSubmit = () => {
|
|
1564
1563
|
var _a;
|
|
@@ -1603,15 +1602,15 @@ const Container$u = () => {
|
|
|
1603
1602
|
});
|
|
1604
1603
|
}
|
|
1605
1604
|
else {
|
|
1606
|
-
onNext(Object.assign(Object.assign(Object.assign({}, params), node === null || node === void 0 ? void 0 : node._message)
|
|
1605
|
+
onNext(Object.assign(Object.assign(Object.assign({}, params), value), node === null || node === void 0 ? void 0 : node._message));
|
|
1607
1606
|
}
|
|
1608
1607
|
};
|
|
1609
1608
|
if (!isShowFooter)
|
|
1610
1609
|
return null;
|
|
1611
1610
|
const found = listNodes.find((nodeItem) => nodeItem.id == activeId);
|
|
1612
1611
|
const isDisabled = disabledNodeList.includes((found === null || found === void 0 ? void 0 : found.type) || '') ||
|
|
1613
|
-
disabledPositionList.includes((found === null || found === void 0 ? void 0 : found.position) || '')
|
|
1614
|
-
|
|
1612
|
+
disabledPositionList.includes((found === null || found === void 0 ? void 0 : found.position) || '') ||
|
|
1613
|
+
selectedWithOtherInput;
|
|
1615
1614
|
const isDisplayAction = !excludeNodeList.includes((found === null || found === void 0 ? void 0 : found.type) || '');
|
|
1616
1615
|
return (React__default.createElement(StyledWrap$p, { "data-show-action": isDisplayAction },
|
|
1617
1616
|
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)) },
|
|
@@ -5417,9 +5416,21 @@ const stylesTextarea = {
|
|
|
5417
5416
|
boxShadow: '0px 0px 0px 2px var(--subot-inline-primary-color-300) !important',
|
|
5418
5417
|
},
|
|
5419
5418
|
},
|
|
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
|
+
},
|
|
5420
5429
|
};
|
|
5421
5430
|
|
|
5422
5431
|
const Container$a = ({ action, onChange, active, htmlType, formSubmitMeta, }) => {
|
|
5432
|
+
const timeoutId = useRef(null);
|
|
5433
|
+
const { formatMessage: f } = useContext(TogetherComponentGlobalContext);
|
|
5423
5434
|
const currentUrl = useCurrentUrl();
|
|
5424
5435
|
const inputRef = useRef(null);
|
|
5425
5436
|
const [otherText, setOtherText] = useState('');
|
|
@@ -5427,6 +5438,14 @@ const Container$a = ({ action, onChange, active, htmlType, formSubmitMeta, }) =>
|
|
|
5427
5438
|
const isActionPollWithOther = (action === null || action === void 0 ? void 0 : action.type) === NodeActionType.POLL_CHOICE_TEXT_BY_INPUT;
|
|
5428
5439
|
const isActionSelectWithOther = (action === null || action === void 0 ? void 0 : action.type) === NodeActionType.USER_CHOICE_TEXT_BY_INPUT ||
|
|
5429
5440
|
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;
|
|
5430
5449
|
useEffect(() => {
|
|
5431
5450
|
var _a, _b;
|
|
5432
5451
|
if (active) {
|
|
@@ -5434,24 +5453,45 @@ const Container$a = ({ action, onChange, active, htmlType, formSubmitMeta, }) =>
|
|
|
5434
5453
|
(_b = inputRef.current) === null || _b === void 0 ? void 0 : _b.focus();
|
|
5435
5454
|
}
|
|
5436
5455
|
}, [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
|
+
};
|
|
5437
5468
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5438
5469
|
const onChangeTextArea = (evt) => {
|
|
5439
5470
|
setOtherText(evt.target.value);
|
|
5440
|
-
|
|
5441
|
-
|
|
5442
|
-
|
|
5443
|
-
|
|
5444
|
-
|
|
5445
|
-
|
|
5446
|
-
|
|
5447
|
-
|
|
5471
|
+
if (isActionPollWithOther) {
|
|
5472
|
+
timeoutId.current && clearTimeout(timeoutId.current);
|
|
5473
|
+
timeoutId.current = setTimeout(() => {
|
|
5474
|
+
onChange &&
|
|
5475
|
+
onChange(actionSubmitted, [
|
|
5476
|
+
{
|
|
5477
|
+
key: KEY_OF_TEXT_CHOICE_WITH_OTHER_FIELD,
|
|
5478
|
+
control: 'text',
|
|
5479
|
+
value: evt.target.value,
|
|
5480
|
+
},
|
|
5481
|
+
]);
|
|
5482
|
+
}, 300);
|
|
5483
|
+
}
|
|
5448
5484
|
};
|
|
5449
5485
|
return (React__default.createElement(React__default.Fragment, null,
|
|
5450
|
-
React__default.createElement(StyledWrap$5, { id: "si-action-text-choice", active: !!active, onClick: () => onChange
|
|
5486
|
+
React__default.createElement(StyledWrap$5, { id: "si-action-text-choice", active: !!active, onClick: () => onChange && onChange(actionSubmitted), "data-event-category": "Service Connection", "data-event-action": "Risk Screening Answer Click", "data-event-label": currentUrl, "data-bot-id": params.bot_id },
|
|
5451
5487
|
React__default.createElement(StyledRadioIcon, { active: !!active }, htmlType === 'checkbox' && (React__default.createElement(Checkbox, { className: "icon-checkbox", viewBox: "0 0 22 22" }))),
|
|
5452
5488
|
React__default.createElement("div", { className: "label" }, action === null || action === void 0 ? void 0 : action.label)),
|
|
5453
5489
|
isActionSelectWithOther && active && (React__default.createElement(Box, { px: "2px", style: { textAlign: 'right' } },
|
|
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 })
|
|
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
|
+
})))))));
|
|
5455
5495
|
};
|
|
5456
5496
|
Container$a.displayName = 'SubotInlineActionTextChoice';
|
|
5457
5497
|
|
|
@@ -5611,49 +5651,34 @@ const Container$5 = ({ node, indexNumber }) => {
|
|
|
5611
5651
|
}
|
|
5612
5652
|
return [];
|
|
5613
5653
|
}, [value, value === null || value === void 0 ? void 0 : value.selected_actions]);
|
|
5614
|
-
const handleOnChange = (action
|
|
5615
|
-
|
|
5616
|
-
|
|
5617
|
-
|
|
5618
|
-
|
|
5619
|
-
|
|
5620
|
-
|
|
5621
|
-
|
|
5622
|
-
|
|
5623
|
-
|
|
5624
|
-
|
|
5625
|
-
|
|
5626
|
-
|
|
5627
|
-
|
|
5628
|
-
|
|
5629
|
-
|
|
5630
|
-
|
|
5631
|
-
|
|
5632
|
-
|
|
5633
|
-
|
|
5634
|
-
|
|
5635
|
-
|
|
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
|
-
}
|
|
5654
|
+
const handleOnChange = (action) => __awaiter(void 0, void 0, void 0, function* () {
|
|
5655
|
+
if (!action) {
|
|
5656
|
+
return;
|
|
5657
|
+
}
|
|
5658
|
+
const _value = 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 });
|
|
5659
|
+
if (!_value.selected_actions) {
|
|
5660
|
+
const tmp = {};
|
|
5661
|
+
tmp[action.id] = action === null || action === void 0 ? void 0 : action.key;
|
|
5662
|
+
setValue(Object.assign(Object.assign({}, _value), { selected_actions: Object.assign({}, tmp) }));
|
|
5663
|
+
return;
|
|
5664
|
+
}
|
|
5665
|
+
if (!_value.selected_actions[action.id]) {
|
|
5666
|
+
_value.selected_actions[action.id] = action === null || action === void 0 ? void 0 : action.key;
|
|
5667
|
+
onChange && onChange(_value);
|
|
5668
|
+
setValue(_value);
|
|
5669
|
+
return;
|
|
5670
|
+
}
|
|
5671
|
+
if (_value.selected_actions[action.id]) {
|
|
5672
|
+
delete _value.selected_actions[action.id];
|
|
5673
|
+
onChange && onChange(_value);
|
|
5674
|
+
setValue(_value);
|
|
5675
|
+
return;
|
|
5651
5676
|
}
|
|
5652
5677
|
});
|
|
5653
5678
|
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);
|
|
5654
5679
|
return (React__default.createElement(StyledWrap$3, { id: "si-node-text" },
|
|
5655
5680
|
React__default.createElement(Container$h, { intents: (node === null || node === void 0 ? void 0 : node.intents) || [], indexNumber: indexNumber }),
|
|
5656
|
-
React__default.createElement(Container$7, { value: activeActions, actions: actionsRemoveMultipleBtn, onChange: handleOnChange
|
|
5681
|
+
React__default.createElement(Container$7, { value: activeActions, actions: actionsRemoveMultipleBtn, onChange: handleOnChange })));
|
|
5657
5682
|
};
|
|
5658
5683
|
Container$5.displayName = 'SubotInlineNodeMultipleContainer';
|
|
5659
5684
|
|
|
@@ -5697,7 +5722,8 @@ const StyledWrap$2 = styled.div `
|
|
|
5697
5722
|
`;
|
|
5698
5723
|
|
|
5699
5724
|
const Container$4 = ({ node, indexNumber }) => {
|
|
5700
|
-
|
|
5725
|
+
var _a;
|
|
5726
|
+
const { params, setIsShowFooter } = useContext(SubotInlineContext);
|
|
5701
5727
|
const { value, setValue } = useContext(NodeContext);
|
|
5702
5728
|
const descriptionNode = useDescriptionPollNode({ node });
|
|
5703
5729
|
useMemo(() => {
|
|
@@ -5714,41 +5740,48 @@ const Container$4 = ({ node, indexNumber }) => {
|
|
|
5714
5740
|
return null;
|
|
5715
5741
|
}, [node === null || node === void 0 ? void 0 : node.actions]);
|
|
5716
5742
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5717
|
-
const handleOnChange = (
|
|
5718
|
-
|
|
5719
|
-
|
|
5720
|
-
|
|
5721
|
-
|
|
5722
|
-
|
|
5723
|
-
|
|
5724
|
-
|
|
5725
|
-
|
|
5726
|
-
|
|
5727
|
-
|
|
5743
|
+
const handleOnChange = (formValue, formSubmitMetaWithOther) => {
|
|
5744
|
+
if (formValue) {
|
|
5745
|
+
const { is_multi_select } = node;
|
|
5746
|
+
const _message = Object.assign(Object.assign(Object.assign({}, params), 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)
|
|
5747
|
+
? [...value === null || value === void 0 ? void 0 : value.form_submit_meta]
|
|
5748
|
+
: [] });
|
|
5749
|
+
let tmpFormSubmitMeta = [];
|
|
5750
|
+
const currentSubmitMeta = [
|
|
5751
|
+
..._message === null || _message === void 0 ? void 0 : _message.form_submit_meta,
|
|
5752
|
+
];
|
|
5753
|
+
if (!formSubmitMetaWithOther) {
|
|
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
|
+
}
|
|
5728
5774
|
}
|
|
5729
5775
|
else {
|
|
5730
|
-
|
|
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
|
-
]);
|
|
5776
|
+
tmpFormSubmitMeta = currentSubmitMeta;
|
|
5738
5777
|
}
|
|
5739
|
-
|
|
5740
|
-
|
|
5741
|
-
|
|
5742
|
-
|
|
5743
|
-
|
|
5744
|
-
|
|
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));
|
|
5778
|
+
_message.form_submit_meta = [...tmpFormSubmitMeta]
|
|
5779
|
+
.filter((item) => formSubmitMetaWithOther
|
|
5780
|
+
? item.key !== KEY_OF_TEXT_CHOICE_WITH_OTHER_FIELD
|
|
5781
|
+
: true)
|
|
5782
|
+
.concat(formSubmitMetaWithOther || []);
|
|
5783
|
+
setValue(_message);
|
|
5746
5784
|
}
|
|
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);
|
|
5752
5785
|
};
|
|
5753
5786
|
const activeActions = useMemo(() => {
|
|
5754
5787
|
if (value === null || value === void 0 ? void 0 : value.form_submit_meta) {
|
|
@@ -5756,14 +5789,10 @@ const Container$4 = ({ node, indexNumber }) => {
|
|
|
5756
5789
|
}
|
|
5757
5790
|
return [];
|
|
5758
5791
|
}, [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
|
-
}, []);
|
|
5763
5792
|
return (React__default.createElement(StyledWrap$2, null,
|
|
5764
5793
|
React__default.createElement(Container$h, { intents: node.intents || [], indexNumber: indexNumber }),
|
|
5765
5794
|
React__default.createElement("p", { className: "si-poll-description" }, descriptionNode),
|
|
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:
|
|
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: (_a = node._message) === null || _a === void 0 ? void 0 : _a.form_submit_meta })));
|
|
5767
5796
|
};
|
|
5768
5797
|
Container$4.displayName = 'SubotinlineNodePoll';
|
|
5769
5798
|
|
|
@@ -5834,6 +5863,7 @@ const StyledWrap = styled.div `
|
|
|
5834
5863
|
`;
|
|
5835
5864
|
|
|
5836
5865
|
const Container$2 = ({ node, indexNumber }) => {
|
|
5866
|
+
var _a;
|
|
5837
5867
|
const { params, onSubmit, setIsShowFooter, listNodes, activeId, setLoading, onChange, } = useContext(SubotInlineContext);
|
|
5838
5868
|
const { value, setValue } = useContext(NodeContext);
|
|
5839
5869
|
useMemo(() => {
|
|
@@ -5853,7 +5883,7 @@ const Container$2 = ({ node, indexNumber }) => {
|
|
|
5853
5883
|
const res = yield subotInlineMessage(newParams);
|
|
5854
5884
|
setLoading(false);
|
|
5855
5885
|
if ((res === null || res === void 0 ? void 0 : res._status) === 1) {
|
|
5856
|
-
const
|
|
5886
|
+
const _b = res === null || res === void 0 ? void 0 : res._data, { node } = _b, restData = __rest(_b, ["node"]);
|
|
5857
5887
|
const nextNode = Object.assign(Object.assign({}, node), { _message: Object.assign(Object.assign({}, restData), { node_id: node.id }) });
|
|
5858
5888
|
onSubmit(nextNode, newParams);
|
|
5859
5889
|
}
|
|
@@ -5861,21 +5891,28 @@ const Container$2 = ({ node, indexNumber }) => {
|
|
|
5861
5891
|
const handleOnChange = (action, formSubmitMeta) => __awaiter(void 0, void 0, void 0, function* () {
|
|
5862
5892
|
if (!action)
|
|
5863
5893
|
return;
|
|
5864
|
-
const
|
|
5865
|
-
|
|
5866
|
-
|
|
5867
|
-
|
|
5868
|
-
setValue(newValue);
|
|
5869
|
-
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
5894
|
+
const isActionSelectWithOther = action.type === NodeActionType.USER_CHOICE_TEXT_BY_INPUT;
|
|
5895
|
+
setValue(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 }));
|
|
5896
|
+
if (!isActionSelectWithOther) {
|
|
5897
|
+
handleOnChangeNormal(action);
|
|
5870
5898
|
return;
|
|
5871
5899
|
}
|
|
5872
|
-
|
|
5873
|
-
|
|
5874
|
-
|
|
5900
|
+
if (formSubmitMeta) {
|
|
5901
|
+
const newParams = Object.assign(Object.assign(Object.assign(Object.assign({}, params), value), { node_id: node.id, 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 }), getCurrentTotalDynamicScore(listNodes, activeId, action.id));
|
|
5902
|
+
onChange(newParams);
|
|
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
|
+
}
|
|
5875
5912
|
});
|
|
5876
5913
|
return (React__default.createElement(StyledWrap, { id: "si-node-text" },
|
|
5877
5914
|
React__default.createElement(Container$h, { intents: (node === null || node === void 0 ? void 0 : node.intents) || [], indexNumber: indexNumber }),
|
|
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:
|
|
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: (_a = node === null || node === void 0 ? void 0 : node._message) === null || _a === void 0 ? void 0 : _a.form_submit_meta })));
|
|
5879
5916
|
};
|
|
5880
5917
|
Container$2.displayName = 'SubotInlineNodeTextContainer';
|
|
5881
5918
|
|