@hhgtech/hhg-components 1.29.314-beta-11 → 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-8dfb1b1b.js → LastPeriod-f5c5ac6a.js} +1 -1
- package/build/{MobileBottomNavigationIcon-60422ecb.js → MobileBottomNavigationIcon-48644363.js} +3 -3
- package/build/{Spinner-8b6773d4.js → Spinner-7f078039.js} +1 -1
- package/build/{WhatsApp-a36a6ef0.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-77840040.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-c27e8296.js → core-96395b35.js} +1 -1
- package/build/{dataTransform-028e4907.js → dataTransform-a7c2ab7b.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-26851b80.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-f23f82aa.js → LastPeriod-d723514e.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-7324752d.js → MobileBottomNavigationIcon-0bdd2046.js} +3 -3
- package/build/esm/{Spinner-fc2d3d27.js → Spinner-6a7aaaac.js} +1 -1
- package/build/esm/{WhatsApp-0bdcadd8.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-5bb0bfcb.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-be246cb8.js → core-81eb62d7.js} +1 -1
- package/build/esm/{dataTransform-9a15cf31.js → dataTransform-2d287369.js} +1 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-d1232f07.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-d8e83c49.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-3b4a77ae.js → index-07ae58be.js} +20 -20
- package/build/esm/{index-59e76deb.js → index-0c869e16.js} +16 -16
- package/build/esm/{index-0fe84996.js → index-0cef690a.js} +2 -2
- package/build/esm/{index-3fa95598.js → index-17c221f9.js} +3 -3
- package/build/esm/{index-266baafd.js → index-1883da3c.js} +18 -18
- package/build/esm/{index-0ac57f2d.js → index-263a56e8.js} +1 -1
- package/build/esm/{index-769711c7.js → index-27d53d49.js} +26 -26
- package/build/esm/{index-30b1d2bc.js → index-28733f7e.js} +1 -1
- package/build/esm/{index-093b1ca1.js → index-29077c2e.js} +2 -2
- package/build/esm/{index-680580b7.js → index-2a15559a.js} +2 -2
- package/build/esm/{index-bb59cf53.js → index-2f09a706.js} +15 -15
- package/build/esm/{index-23190a9e.js → index-2fb4c9d9.js} +6 -6
- package/build/esm/{index-0801e031.js → index-355b1ae5.js} +15 -15
- package/build/esm/{index-d10ef3d5.js → index-3a038ed7.js} +1 -1
- package/build/esm/{index-7dd3b600.js → index-3bd0b6b1.js} +1 -1
- package/build/esm/{index-5bfaa45c.js → index-3d262e7f.js} +3 -3
- package/build/esm/{index-5bfa48c5.js → index-46a1c383.js} +3 -3
- package/build/esm/{index-11f2d955.js → index-4758f9df.js} +5 -5
- package/build/esm/{index-dd6a5ae8.js → index-4aee81c4.js} +2 -2
- package/build/esm/{index-eee8a976.js → index-4fccfbd8.js} +6 -6
- package/build/esm/{index-4db4dbac.js → index-5179509a.js} +7 -7
- package/build/esm/{index-d1ba988a.js → index-51ea51ee.js} +2 -2
- package/build/esm/{index-e3c2d7a9.js → index-5206dc94.js} +1 -1
- package/build/esm/{index-5600ef26.js → index-56d530af.js} +2 -2
- package/build/esm/{index-4bf2839f.js → index-57477cf8.js} +13 -13
- package/build/esm/{index-9a7299b2.js → index-61de082c.js} +32 -32
- package/build/esm/{index-f5d800ec.js → index-6488fec2.js} +17 -17
- package/build/esm/{index-ac481b8c.js → index-6bef97e3.js} +13 -13
- package/build/esm/{index-27100105.js → index-6e250bc2.js} +1 -1
- package/build/esm/{index-feaeef40.js → index-7050db4f.js} +3 -3
- package/build/esm/{index-0acf5075.js → index-789f93f1.js} +13 -13
- package/build/esm/{index-f9ec563b.js → index-7b183097.js} +2 -2
- package/build/esm/{index-9d07358d.js → index-7cd73d93.js} +6 -6
- package/build/esm/{index-1c217467.js → index-7d1e8870.js} +1 -1
- package/build/esm/{index-3a74c105.js → index-938540a9.js} +2 -2
- package/build/esm/{index-73e9624a.js → index-9715c506.js} +16 -16
- package/build/esm/{index-bcee3454.js → index-97f69348.js} +3 -3
- package/build/esm/{index-b83df4b0.js → index-98e24a5a.js} +2 -2
- package/build/esm/{index-8e28ad06.js → index-9bf240ee.js} +7 -7
- package/build/esm/{index-f3ab6686.js → index-9e041b52.js} +2 -2
- package/build/esm/{index-fc1a3e60.js → index-9fc0d82d.js} +3 -3
- package/build/esm/{index-dc1b2f59.js → index-a1ac2ab9.js} +10 -10
- package/build/esm/{index-71a20285.js → index-a1f0df58.js} +5 -5
- package/build/esm/{index-893284d0.js → index-a2726f10.js} +2 -2
- package/build/esm/{index-1e09798e.js → index-a31af07d.js} +6 -6
- package/build/esm/{index-494c9716.js → index-a4c988ee.js} +16 -16
- package/build/esm/{index-accb2977.js → index-a4e8c0b9.js} +2 -2
- package/build/esm/{index-d42d0e07.js → index-ab8d34a8.js} +13 -13
- package/build/esm/{index-f6d318c3.js → index-afd2a401.js} +21 -21
- package/build/esm/{index-103c4c39.js → index-b8dbc7d1.js} +30 -30
- package/build/esm/{index-40d359f3.js → index-bb18fe34.js} +17 -17
- package/build/esm/{index-bdc51ab2.js → index-be23e578.js} +17 -17
- package/build/esm/{index-e7f612f9.js → index-c859ef7d.js} +4 -4
- package/build/esm/index-cba6e044.js +339 -0
- package/build/esm/{index-3b1068f2.js → index-cf8edaad.js} +2 -2
- package/build/esm/{index-cba15ca2.js → index-d71ea2a7.js} +18 -18
- package/build/esm/{index-c8d9c812.js → index-dee41600.js} +11 -11
- package/build/esm/{index-36ee6225.js → index-e14ca163.js} +24 -24
- package/build/esm/{index-9e3d1f93.js → index-ea6ac545.js} +1 -1
- package/build/esm/{index-a51d0f3d.js → index-ef08ec8a.js} +16 -16
- package/build/esm/{index-8c7e0ce9.js → index-f6e83ef2.js} +3 -3
- package/build/esm/index.js +112 -112
- package/build/esm/{labelSorting-5b0bd2ac.js → labelSorting-04200abd.js} +4 -4
- package/build/esm/lead.js +24 -24
- package/build/esm/{logoIcon-1f9af4bd.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-5fd88456.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 +59 -335
- package/build/esm/{store-2c2dcc19.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-c7371f9e.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-81089c7d.js → treePopoverMenu-12c51a13.js} +19 -19
- package/build/esm/{types-a9d3df14.js → types-73b6cbdb.js} +2 -2
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-498b81b6.js → useCategory-4da68996.js} +5 -5
- package/build/esm/{useHealthToolCache-3ed731ca.js → useHealthToolCache-0b48f8d2.js} +1 -1
- package/build/esm/{useMantineLocale-d2d187a7.js → useMantineLocale-d2831aab.js} +6 -6
- package/build/esm/{usePlacesAutocomplete-854fdc60.js → usePlacesAutocomplete-3292eae0.js} +1 -1
- package/build/esm/{useScreenSize-203f2078.js → useScreenSize-f7db8e47.js} +2 -2
- package/build/esm/useTogetherAuthRequiredAction.js +9 -9
- package/build/esm/{utils-e8f376a7.js → utils-863a2958.js} +2 -2
- package/build/esm/{utils-5895e697.js → utils-8c704381.js} +3 -3
- package/build/esm/{utils-0250e678.js → utils-b2514f34.js} +2 -2
- package/build/esm/vaccination.js +21 -21
- package/build/{fixedBottomAdBlock-5218ac2b.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-69d177b9.js → index-00cacb11.js} +3 -3
- package/build/{index-875ea3bd.js → index-02e8b84e.js} +16 -16
- package/build/{index-029a0324.js → index-03430aac.js} +17 -17
- package/build/{index-d6d295be.js → index-14d8c62f.js} +2 -2
- package/build/{index-1cae2e32.js → index-1ee124fa.js} +4 -4
- package/build/{index-e722258c.js → index-245ef554.js} +2 -2
- package/build/{index-ee2b1d60.js → index-28f40b65.js} +13 -13
- package/build/{index-9505bfb9.js → index-2d3b6678.js} +3 -3
- package/build/{index-01e287b3.js → index-3013221b.js} +5 -5
- package/build/{index-9b92cf1c.js → index-3147f59c.js} +26 -26
- package/build/{index-6d2300db.js → index-35228015.js} +7 -7
- package/build/{index-7c39b2be.js → index-366eb12a.js} +1 -1
- package/build/{index-9a9c067c.js → index-38834962.js} +2 -2
- package/build/{index-2a13303f.js → index-3ae5bba0.js} +5 -5
- package/build/{index-b62bdffa.js → index-3b372b19.js} +18 -18
- package/build/{index-ed6a0636.js → index-3fe8e1d8.js} +15 -15
- package/build/{index-92027a65.js → index-4364e279.js} +1 -1
- package/build/{index-d6f859e9.js → index-477e7720.js} +2 -2
- package/build/{index-eb278b81.js → index-4d4d4ff3.js} +2 -2
- package/build/{index-fa0aa9d0.js → index-4e6d7293.js} +13 -13
- package/build/{index-da4f8f97.js → index-4eb2dfd7.js} +16 -16
- package/build/{index-80c36404.js → index-553c3e1f.js} +3 -3
- package/build/{index-42d24465.js → index-5541e3fc.js} +1 -1
- package/build/{index-ac8772e3.js → index-59e292b1.js} +20 -20
- package/build/{index-1a12b23b.js → index-62329f41.js} +10 -10
- package/build/{index-ea635f2a.js → index-68b351f2.js} +2 -2
- package/build/{index-54b1ab16.js → index-6cb3fdb8.js} +2 -2
- package/build/{index-4d841af1.js → index-6ffaf2a5.js} +1 -1
- package/build/{index-d99ffb19.js → index-71bd9725.js} +21 -21
- package/build/{index-47b2f845.js → index-726c09cf.js} +30 -30
- package/build/{index-38eada17.js → index-76a5567a.js} +6 -6
- package/build/{index-4e3f79c1.js → index-7a0d1363.js} +11 -11
- package/build/{index-562cfab2.js → index-81b2ddc9.js} +2 -2
- package/build/{index-a32c85ee.js → index-82df24e9.js} +3 -3
- package/build/{index-7215fd64.js → index-89dde80c.js} +6 -6
- package/build/{index-1d6f4b84.js → index-8aa4f9ed.js} +2 -2
- package/build/{index-1359b184.js → index-9361dfa3.js} +3 -3
- package/build/index-98c7c319.js +341 -0
- package/build/{index-e0c37783.js → index-9d30f1d1.js} +15 -15
- package/build/{index-0e4ff6ae.js → index-a06a6afa.js} +24 -24
- package/build/{index-3c034368.js → index-a1ddd999.js} +13 -13
- package/build/{index-042016ec.js → index-ae99f5f2.js} +32 -32
- package/build/{index-2d427959.js → index-afa73fa8.js} +18 -18
- package/build/{index-e72ed34c.js → index-b3212192.js} +1 -1
- package/build/{index-1d0c59bc.js → index-b37c7222.js} +2 -2
- package/build/{index-f84f2994.js → index-bda215f6.js} +6 -6
- package/build/{index-f7a9b519.js → index-c6b6bc0e.js} +17 -17
- package/build/{index-5abea1d2.js → index-cbec3c30.js} +2 -2
- package/build/{index-eace14db.js → index-cc985720.js} +16 -16
- package/build/{index-f5d5d401.js → index-cef7f802.js} +6 -6
- package/build/{index-6a750467.js → index-cfc9831c.js} +17 -17
- package/build/{index-30734c3a.js → index-d84fd1fe.js} +16 -16
- package/build/{index-e8df8443.js → index-d8fdd087.js} +3 -3
- package/build/{index-d6f828cf.js → index-dc640560.js} +1 -1
- package/build/{index-5a59a360.js → index-df1ad3c1.js} +1 -1
- package/build/{index-3a529c75.js → index-e46f5383.js} +3 -3
- package/build/{index-9a1f3b7a.js → index-e95221d6.js} +2 -2
- package/build/{index-3d80db8e.js → index-f01b7862.js} +7 -7
- package/build/{index-49d3a291.js → index-f29720bf.js} +13 -13
- package/build/{index-71ca8d50.js → index-f7f2d963.js} +1 -1
- package/build/{index-10c4e1ba.js → index-f865def3.js} +2 -2
- package/build/index.js +112 -112
- package/build/{labelSorting-0010adb1.js → labelSorting-9dea4911.js} +4 -4
- package/build/lead.js +24 -24
- package/build/{logoIcon-438b0952.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-d0213a6e.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 +72 -348
- package/build/{store-c3b59d09.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-cce511c2.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-ef24b9c0.js → treePopoverMenu-66e7f624.js} +19 -19
- package/build/{types-2e06c06e.js → types-fab9f37a.js} +2 -2
- package/build/types.js +2 -2
- package/build/{useCategory-759e7669.js → useCategory-ff353ab6.js} +5 -5
- package/build/{useHealthToolCache-c5d93076.js → useHealthToolCache-fa7a35bc.js} +1 -1
- package/build/{useMantineLocale-af4c7af7.js → useMantineLocale-a247d7a7.js} +6 -6
- package/build/{usePlacesAutocomplete-3bb1a1c5.js → usePlacesAutocomplete-720ab26d.js} +1 -1
- package/build/{useScreenSize-622ba4f0.js → useScreenSize-c1ed16b0.js} +2 -2
- package/build/useTogetherAuthRequiredAction.js +9 -9
- package/build/{utils-4dea469c.js → utils-0403861d.js} +2 -2
- package/build/{utils-c71a9bad.js → utils-26abfbc6.js} +3 -3
- package/build/{utils-9b5268d2.js → utils-b9d628e8.js} +2 -2
- package/build/vaccination.js +21 -21
- package/package.json +1 -1
- package/build/esm/index-4f66da4c.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-b4a853b6.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-062833a9.js → BMI_BOYS.percentile.monthly-6d6006c8.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-230462d7.js → BMI_BOYS.percentile.weekly-84d6e641.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-04053fea.js → BMI_BOYS.percentile.yearly-e23814ab.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-5ec07fe5.js → BMI_BOYS.zscore.monthly-8f629d2b.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-90ce3bbf.js → BMI_BOYS.zscore.weekly-85065cc5.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-45cf82f8.js → BMI_BOYS.zscore.yearly-234ecf95.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-1bee47b5.js → BMI_GIRLS.percentile.monthly-e7aa3ac7.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-0a392097.js → BMI_GIRLS.percentile.weekly-0161a3c5.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-ffc4c4e6.js → BMI_GIRLS.percentile.yearly-815fd785.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-7b68fc33.js → BMI_GIRLS.zscore.monthly-a348b3df.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-4aec1eba.js → BMI_GIRLS.zscore.weekly-89f13f80.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-1e171536.js → BMI_GIRLS.zscore.yearly-235126e9.js} +0 -0
- /package/build/{ChevronDown-97bf151b.js → ChevronDown-2061cc3f.js} +0 -0
- /package/build/{Close-85a6505c.js → Close-8fa4af42.js} +0 -0
- /package/build/{Google-fc5647e9.js → Google-d694e0f6.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-8fcaad93.js → HEAD CIRCUM_BOYS.percentile.monthly-8a55f5a3.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-af83e601.js → HEAD CIRCUM_BOYS.percentile.weekly-504d6ec4.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-db1946db.js → HEAD CIRCUM_BOYS.percentile.yearly-af02e141.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-deb36006.js → HEAD CIRCUM_BOYS.zscore.monthly-f61b87b4.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-7b87293f.js → HEAD CIRCUM_BOYS.zscore.weekly-a2dd1af2.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-59954a88.js → HEAD CIRCUM_BOYS.zscore.yearly-96d1bf31.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-beb58973.js → HEAD CIRCUM_GIRLS.percentile.monthly-7d868ad9.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-fa782695.js → HEAD CIRCUM_GIRLS.percentile.weekly-97f79076.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-cc9aae7e.js → HEAD CIRCUM_GIRLS.percentile.yearly-eaab5f5c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-10629f14.js → HEAD CIRCUM_GIRLS.zscore.monthly-5b9733c7.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-52314a89.js → HEAD CIRCUM_GIRLS.zscore.weekly-abdb3b63.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-5ea70f1c.js → HEAD CIRCUM_GIRLS.zscore.yearly-cb894864.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-5f05dfe5.js → HEIGHT_BOYS.percentile.monthly-b5b311d3.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-9c9d6299.js → HEIGHT_BOYS.percentile.weekly-c25902e1.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-eaf2f635.js → HEIGHT_BOYS.percentile.yearly-20b13eb0.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-6c6c1e82.js → HEIGHT_BOYS.zscore.monthly-a4254827.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-666f6265.js → HEIGHT_BOYS.zscore.weekly-f20fa6de.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-5308af54.js → HEIGHT_BOYS.zscore.yearly-4f1fc284.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-ae59c132.js → HEIGHT_GIRLS.percentile.monthly-edd98144.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-e0a30ee2.js → HEIGHT_GIRLS.percentile.weekly-6afe3a60.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-b8ca7829.js → HEIGHT_GIRLS.percentile.yearly-e77815c9.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-a24396c6.js → HEIGHT_GIRLS.zscore.monthly-25b1541c.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-d3a83e0a.js → HEIGHT_GIRLS.zscore.weekly-906e1015.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-0c5cb2fb.js → HEIGHT_GIRLS.zscore.yearly-9159030a.js} +0 -0
- /package/build/{Locale-df3472fd.js → Locale-55c33ec2.js} +0 -0
- /package/build/{Visible-e61132e7.js → Visible-99f6669b.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-07604565.js → WEIGHT_BOYS.percentile.monthly-f419abd1.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-2de2d50f.js → WEIGHT_BOYS.percentile.weekly-a81af9a1.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-7303bf30.js → WEIGHT_BOYS.percentile.yearly-8f3573e2.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-e05aa9de.js → WEIGHT_BOYS.zscore.monthly-07d130f8.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-b656e61f.js → WEIGHT_BOYS.zscore.weekly-3693b203.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-15ad5ded.js → WEIGHT_BOYS.zscore.yearly-b80c22e2.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-45be8729.js → WEIGHT_GIRLS.percentile.monthly-ba664c94.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-f53a0f6c.js → WEIGHT_GIRLS.percentile.weekly-41855938.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-5caddaf6.js → WEIGHT_GIRLS.percentile.yearly-008b1100.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-6394d7fc.js → WEIGHT_GIRLS.zscore.monthly-69bdf777.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-6ce50c04.js → WEIGHT_GIRLS.zscore.weekly-c503d793.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-bcbd53ef.js → WEIGHT_GIRLS.zscore.yearly-b3155903.js} +0 -0
- /package/build/{animation-328cfad9.js → animation-f375cb29.js} +0 -0
- /package/build/{constants-d496f632.js → constants-1ff3e7ff.js} +0 -0
- /package/build/{constants-2a1c5f35.js → constants-82d89d04.js} +0 -0
- /package/build/{constants-09471879.js → constants-e72dea48.js} +0 -0
- /package/build/{dataTransform-3030b902.js → dataTransform-b5e5f7a7.js} +0 -0
- /package/build/{doctor-de75c1e0.js → doctor-3188303c.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-dc230da7.js → BMI_BOYS.percentile.monthly-44fe56de.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-1f991518.js → BMI_BOYS.percentile.weekly-1db75df2.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-f409478b.js → BMI_BOYS.percentile.yearly-07881964.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-1e5845f3.js → BMI_BOYS.zscore.monthly-f8c0a3b4.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-33e64928.js → BMI_BOYS.zscore.weekly-db97f0d3.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-c3a974f2.js → BMI_BOYS.zscore.yearly-23fe51ab.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-dea15800.js → BMI_GIRLS.percentile.monthly-b6be10d9.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-4a36947a.js → BMI_GIRLS.percentile.weekly-edf0ef50.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-51adb0d4.js → BMI_GIRLS.percentile.yearly-509dcefc.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-28b53a4d.js → BMI_GIRLS.zscore.monthly-862af454.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-eb1fd33b.js → BMI_GIRLS.zscore.weekly-96c07730.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-9f3c6796.js → BMI_GIRLS.zscore.yearly-cc10ab9b.js} +0 -0
- /package/build/esm/{ChevronDown-b6b8e646.js → ChevronDown-cb8a4f86.js} +0 -0
- /package/build/esm/{Close-6ff2a16f.js → Close-c588d15c.js} +0 -0
- /package/build/esm/{Google-9ddbcd11.js → Google-0aaa7218.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-50c1b496.js → HEAD CIRCUM_BOYS.percentile.monthly-ca59cd97.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-50032896.js → HEAD CIRCUM_BOYS.percentile.weekly-7ca05779.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-948c1996.js → HEAD CIRCUM_BOYS.percentile.yearly-7183fbee.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-07c92a49.js → HEAD CIRCUM_BOYS.zscore.monthly-a1fcde29.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-88bf536f.js → HEAD CIRCUM_BOYS.zscore.weekly-3b391e2c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-71ee58ba.js → HEAD CIRCUM_BOYS.zscore.yearly-ab6221d0.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-e3461b44.js → HEAD CIRCUM_GIRLS.percentile.monthly-fe239b59.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-cc40613f.js → HEAD CIRCUM_GIRLS.percentile.weekly-e1b1ca4d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-006a0006.js → HEAD CIRCUM_GIRLS.percentile.yearly-b4eff614.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-a8f6bb64.js → HEAD CIRCUM_GIRLS.zscore.monthly-022084f3.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-5f38cf38.js → HEAD CIRCUM_GIRLS.zscore.weekly-94c6d210.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-af0a73f4.js → HEAD CIRCUM_GIRLS.zscore.yearly-01a2b2b9.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-be752f40.js → HEIGHT_BOYS.percentile.monthly-7a87f002.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-579dbcfe.js → HEIGHT_BOYS.percentile.weekly-c71a2752.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-3e9c61a0.js → HEIGHT_BOYS.percentile.yearly-7f69bdd5.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-5821084a.js → HEIGHT_BOYS.zscore.monthly-d5d54269.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-9e4db26d.js → HEIGHT_BOYS.zscore.weekly-83f245de.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-520183b0.js → HEIGHT_BOYS.zscore.yearly-a9d2f287.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-f9fbd5fa.js → HEIGHT_GIRLS.percentile.monthly-39d1a686.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-28138d48.js → HEIGHT_GIRLS.percentile.weekly-0e169e15.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-c824f35f.js → HEIGHT_GIRLS.percentile.yearly-eb235295.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-09e93354.js → HEIGHT_GIRLS.zscore.monthly-53ce1891.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-72d504d3.js → HEIGHT_GIRLS.zscore.weekly-34e24a0b.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-cd3c5686.js → HEIGHT_GIRLS.zscore.yearly-d2d152a5.js} +0 -0
- /package/build/esm/{Locale-a1e8419a.js → Locale-5d62e74b.js} +0 -0
- /package/build/esm/{Visible-bff49b88.js → Visible-8f56cf04.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-aba68987.js → WEIGHT_BOYS.percentile.monthly-8ff85414.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-f499e8df.js → WEIGHT_BOYS.percentile.weekly-876eb01b.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-0d9ad746.js → WEIGHT_BOYS.percentile.yearly-aab1526f.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-5e5ec718.js → WEIGHT_BOYS.zscore.monthly-2777d058.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-a6c7bb3d.js → WEIGHT_BOYS.zscore.weekly-a7752fa3.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-ab8683cb.js → WEIGHT_BOYS.zscore.yearly-28b4bbb7.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-2072736a.js → WEIGHT_GIRLS.percentile.monthly-bd5d595b.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-1eea7a41.js → WEIGHT_GIRLS.percentile.weekly-a482f3b9.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-5da0ec03.js → WEIGHT_GIRLS.percentile.yearly-56e1a469.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-17e406f2.js → WEIGHT_GIRLS.zscore.monthly-4cf9e7fa.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-4f95eff0.js → WEIGHT_GIRLS.zscore.weekly-6252aa66.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-fc5a3fb1.js → WEIGHT_GIRLS.zscore.yearly-0464994b.js} +0 -0
- /package/build/esm/{animation-0787418b.js → animation-dd19d7fb.js} +0 -0
- /package/build/esm/{constants-b2ec1beb.js → constants-4ddeba4b.js} +0 -0
- /package/build/esm/{constants-97a2c2a6.js → constants-5cb1e9c6.js} +0 -0
- /package/build/esm/{constants-95d2e157.js → constants-7ffc6f8d.js} +0 -0
- /package/build/esm/{dataTransform-62793a43.js → dataTransform-1a4717fb.js} +0 -0
- /package/build/esm/{doctor-f61db864.js → doctor-5a098180.js} +0 -0
- /package/build/esm/{index-a5adbbd5.js → index-1c934ccd.js} +0 -0
- /package/build/esm/{index-955dc2d8.js → index-5293a10e.js} +0 -0
- /package/build/esm/{index-05ff85e7.js → index-5bdc26e7.js} +0 -0
- /package/build/esm/{index-acb6ac2c.js → index-60bcad8c.js} +0 -0
- /package/build/esm/{index-6059ff36.js → index-670422c3.js} +0 -0
- /package/build/esm/{index-6e06ec36.js → index-7cb15876.js} +0 -0
- /package/build/esm/{index-0372b793.js → index-c42d5df9.js} +0 -0
- /package/build/esm/{index-0e8bc800.js → index-cf735e62.js} +0 -0
- /package/build/esm/{index.styles-2532a1fd.js → index.styles-2ff128f8.js} +0 -0
- /package/build/esm/{localizeNumberFormat-b975da4d.js → localizeNumberFormat-c39f5920.js} +0 -0
- /package/build/esm/{normalizeLink-ec4820b7.js → normalizeLink-30dd1b58.js} +0 -0
- /package/build/esm/{other-06df6de2.js → other-440119f7.js} +0 -0
- /package/build/esm/{paths-cda0eefd.js → paths-83aa481b.js} +0 -0
- /package/build/esm/{translationsContext-4ef1a7b2.js → translationsContext-589befbd.js} +0 -0
- /package/build/esm/{tslib.es6-cfaa1e4f.js → tslib.es6-876b500b.js} +0 -0
- /package/build/esm/{types-87223bf3.js → types-39d8e98f.js} +0 -0
- /package/build/esm/{useIsInit-c075ca2f.js → useIsInit-f226ca6d.js} +0 -0
- /package/build/esm/{useOutsideClick-c953ac16.js → useOutsideClick-83cd1b79.js} +0 -0
- /package/build/esm/{useScrollbarSize-7e318342.js → useScrollbarSize-6fd8b5bf.js} +0 -0
- /package/build/esm/{useUniqueId-001c5e89.js → useUniqueId-49a0a6dd.js} +0 -0
- /package/build/esm/{utils-33eec79b.js → utils-0a447db9.js} +0 -0
- /package/build/{index-1127f6f7.js → index-02946a96.js} +0 -0
- /package/build/{index-1d9055ce.js → index-0aa78a23.js} +0 -0
- /package/build/{index-46885350.js → index-387228f7.js} +0 -0
- /package/build/{index-5d1578a8.js → index-3c43bf75.js} +0 -0
- /package/build/{index-e34a9d53.js → index-9a831228.js} +0 -0
- /package/build/{index-1302d6f7.js → index-b023be99.js} +0 -0
- /package/build/{index-3fc93447.js → index-c3fd8838.js} +0 -0
- /package/build/{index-034838c8.js → index-f454cc26.js} +0 -0
- /package/build/{index.styles-d360ba2b.js → index.styles-aecae242.js} +0 -0
- /package/build/{localizeNumberFormat-2dec0d82.js → localizeNumberFormat-480ac600.js} +0 -0
- /package/build/{normalizeLink-d57233cd.js → normalizeLink-11acdb68.js} +0 -0
- /package/build/{other-415cea55.js → other-5a632e94.js} +0 -0
- /package/build/{paths-fcbafc0d.js → paths-34409e01.js} +0 -0
- /package/build/{translationsContext-beb56619.js → translationsContext-7f583e39.js} +0 -0
- /package/build/{tslib.es6-773b4598.js → tslib.es6-81bd225c.js} +0 -0
- /package/build/{types-552ca1da.js → types-82ae5222.js} +0 -0
- /package/build/{useIsInit-11726ce5.js → useIsInit-7d4f469c.js} +0 -0
- /package/build/{useOutsideClick-60fea499.js → useOutsideClick-0f7cc467.js} +0 -0
- /package/build/{useScrollbarSize-7013c8c7.js → useScrollbarSize-2367e508.js} +0 -0
- /package/build/{useUniqueId-55fe46ff.js → useUniqueId-76701268.js} +0 -0
- /package/build/{utils-7c511bb0.js → utils-c90505e9.js} +0 -0
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var tslib_es6 = require('./tslib.es6-
|
|
3
|
+
var tslib_es6 = require('./tslib.es6-81bd225c.js');
|
|
4
4
|
var zustand = require('zustand');
|
|
5
5
|
var constantsIsProduction = require('./constantsIsProduction.js');
|
|
6
|
-
var normalizeLink = require('./normalizeLink-
|
|
7
|
-
var index = require('./index-
|
|
6
|
+
var normalizeLink = require('./normalizeLink-11acdb68.js');
|
|
7
|
+
var index = require('./index-245ef554.js');
|
|
8
8
|
var miscCookieHelper = require('./miscCookieHelper.js');
|
|
9
|
-
var Locale = require('./Locale-df3472fd.js');
|
|
10
9
|
var constantsDomainLocales = require('./constantsDomainLocales.js');
|
|
11
10
|
|
|
12
11
|
const SSO_V2_PATHS = {
|
|
@@ -25,13 +24,6 @@ const SSO_V2_PATHS = {
|
|
|
25
24
|
UPDATE_PHONE_SEND_OTP: 'login/sms-social/sent-otp',
|
|
26
25
|
UPDATE_PHONE_VERIFY_OTP: 'login/sms-social/phone-verify-code',
|
|
27
26
|
},
|
|
28
|
-
WHATSAPP: {
|
|
29
|
-
REGISTER_BY_SEND_OTP: 'login/login-with-whatsapp',
|
|
30
|
-
SEND_OTP: 'login/whatsapp/sent-otp',
|
|
31
|
-
UPDATE_PHONE_SEND_OTP: 'login/sms-social/whatsapp/sent-otp',
|
|
32
|
-
UPDATE_PHONE_VERIFY_OTP: 'login/sms-social/whatsapp-verify-code',
|
|
33
|
-
VERIFY_BY_OTP: 'login/whatsapp-verify-code',
|
|
34
|
-
},
|
|
35
27
|
ZALO: {
|
|
36
28
|
REGISTER_BY_SEND_OTP: 'login/login-with-zalo',
|
|
37
29
|
SEND_OTP: 'login/zalo/sent-otp',
|
|
@@ -50,12 +42,8 @@ const SSO_V2_PATHS = {
|
|
|
50
42
|
},
|
|
51
43
|
};
|
|
52
44
|
|
|
53
|
-
const locale = process.env.
|
|
54
|
-
const websiteId =
|
|
55
|
-
[Locale.LOCALE.Vietnam]: '1',
|
|
56
|
-
[Locale.LOCALE.Indonesia]: '2',
|
|
57
|
-
[Locale.LOCALE.Malaysia]: '3',
|
|
58
|
-
}[locale];
|
|
45
|
+
const locale = process.env.UNIFY_LOCALE || 'vi-VN';
|
|
46
|
+
const websiteId = index.LOCALE_SPECS[locale].SITE_ID;
|
|
59
47
|
index.LOCALE_SPECS[locale].PHONE;
|
|
60
48
|
const getSSOV2ApiUrl = (path) => {
|
|
61
49
|
return normalizeLink.normalizeLinkSlash(`${normalizeLink.getCurrentSsoUrl(locale)}/api/v2/${path}`);
|
|
@@ -168,14 +156,14 @@ const handleAuthSuccess = (res) => {
|
|
|
168
156
|
miscCookieHelper.setCookie(BEARER_TOKEN_COOKIE, res.token, {
|
|
169
157
|
domain: window.location.hostname === 'localhost'
|
|
170
158
|
? 'localhost'
|
|
171
|
-
: `.${constantsDomainLocales.domainLocales[
|
|
159
|
+
: `.${constantsDomainLocales.domainLocales[process.env.UNIFY_LOCALE || 'vi-VN']}`,
|
|
172
160
|
expires: new Date(res.expire_in * 1000).toUTCString(),
|
|
173
161
|
});
|
|
174
162
|
(res === null || res === void 0 ? void 0 : res.refresh_token) &&
|
|
175
163
|
miscCookieHelper.setCookie(index.BEARER_REFRESH_TOKEN_COOKIE, res.refresh_token, {
|
|
176
164
|
domain: window.location.hostname === 'localhost'
|
|
177
165
|
? 'localhost'
|
|
178
|
-
: `.${constantsDomainLocales.domainLocales[
|
|
166
|
+
: `.${constantsDomainLocales.domainLocales[process.env.UNIFY_LOCALE || 'vi-VN']}`,
|
|
179
167
|
});
|
|
180
168
|
};
|
|
181
169
|
|
|
@@ -453,7 +441,7 @@ const redirect = (returnUrl, source, forceReload) => {
|
|
|
453
441
|
return;
|
|
454
442
|
}
|
|
455
443
|
};
|
|
456
|
-
const SSOV2_LOCALES = ['vi-VN'
|
|
444
|
+
const SSOV2_LOCALES = ['vi-VN'];
|
|
457
445
|
const IS_SSOV2_ENABLED = (locale) => {
|
|
458
446
|
return (!process.env.NEXT_PUBLIC_MARRY_BABY &&
|
|
459
447
|
SSOV2_LOCALES.includes(locale ||
|
|
@@ -509,7 +497,6 @@ exports.isFlowFinishedSetup = isFlowFinishedSetup;
|
|
|
509
497
|
exports.isLoginWithPhoneNotVerifedYet = isLoginWithPhoneNotVerifedYet;
|
|
510
498
|
exports.isPhoneNotVerifedYet = isPhoneNotVerifedYet;
|
|
511
499
|
exports.isUserFinishedSetup = isUserFinishedSetup;
|
|
512
|
-
exports.locale = locale;
|
|
513
500
|
exports.redirect = redirect;
|
|
514
501
|
exports.resetPassword = resetPassword;
|
|
515
502
|
exports.updateUserInfo = updateUserInfo;
|
|
@@ -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/subot.js
CHANGED
|
@@ -3,74 +3,74 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var React = require('react');
|
|
6
|
-
var index$2 = require('./index-
|
|
7
|
-
var tslib_es6 = require('./tslib.es6-
|
|
8
|
-
var index$3 = require('./index-
|
|
6
|
+
var index$2 = require('./index-f7f2d963.js');
|
|
7
|
+
var tslib_es6 = require('./tslib.es6-81bd225c.js');
|
|
8
|
+
var index$3 = require('./index-245ef554.js');
|
|
9
9
|
var Cookies = require('js-cookie');
|
|
10
10
|
var fd = require('fastdom');
|
|
11
11
|
var fastdomPromised = require('fastdom/extensions/fastdom-promised');
|
|
12
|
-
var togetherComponentGlobalContext = require('./utils-
|
|
12
|
+
var togetherComponentGlobalContext = require('./utils-26abfbc6.js');
|
|
13
13
|
var formatString = require('string-format');
|
|
14
|
-
var index$1 = require('./index-
|
|
14
|
+
var index$1 = require('./index-d8fdd087.js');
|
|
15
15
|
var constantsDomainLocales = require('./constantsDomainLocales.js');
|
|
16
16
|
var cn = require('classnames');
|
|
17
|
-
var index$c = require('./index-
|
|
18
|
-
var index$b = require('./index-
|
|
17
|
+
var index$c = require('./index-387228f7.js');
|
|
18
|
+
var index$b = require('./index-68b351f2.js');
|
|
19
19
|
var framerMotion = require('framer-motion');
|
|
20
20
|
var styled = require('@emotion/styled');
|
|
21
|
-
var utils = require('./utils-
|
|
22
|
-
var index$4 = require('./index-
|
|
21
|
+
var utils = require('./utils-c90505e9.js');
|
|
22
|
+
var index$4 = require('./index-14d8c62f.js');
|
|
23
23
|
var remarkable = require('remarkable');
|
|
24
24
|
var other = require('@hhgtech/icons/other');
|
|
25
25
|
var reactIntersectionObserver = require('react-intersection-observer');
|
|
26
26
|
var core = require('@mantine/core');
|
|
27
|
-
var index$5 = require('./index-
|
|
27
|
+
var index$5 = require('./index-9a831228.js');
|
|
28
28
|
var dayjs = require('dayjs');
|
|
29
29
|
var isSameOrBefore = require('dayjs/plugin/isSameOrBefore');
|
|
30
|
-
var constants = require('./constants-
|
|
30
|
+
var constants = require('./constants-1ff3e7ff.js');
|
|
31
31
|
var uuid = require('uuid');
|
|
32
|
-
var index$6 = require('./index-
|
|
32
|
+
var index$6 = require('./index-cbec3c30.js');
|
|
33
33
|
var miscTheme = require('./miscTheme.js');
|
|
34
34
|
var constantsIsProduction = require('./constantsIsProduction.js');
|
|
35
|
-
var index$7 = require('./index-
|
|
35
|
+
var index$7 = require('./index-7a0d1363.js');
|
|
36
36
|
require('@mantine/dates');
|
|
37
|
-
require('./useMantineLocale-
|
|
38
|
-
require('./index.styles-
|
|
39
|
-
require('./translationsContext-
|
|
37
|
+
require('./useMantineLocale-a247d7a7.js');
|
|
38
|
+
require('./index.styles-aecae242.js');
|
|
39
|
+
require('./translationsContext-7f583e39.js');
|
|
40
40
|
require('@mantine/hooks');
|
|
41
|
-
require('./other-
|
|
42
|
-
require('./index-
|
|
41
|
+
require('./other-5a632e94.js');
|
|
42
|
+
require('./index-553c3e1f.js');
|
|
43
43
|
var isEmpty = require('lodash/isEmpty');
|
|
44
44
|
var reactHookForm = require('react-hook-form');
|
|
45
45
|
var PhoneInputBase = require('react-phone-number-input');
|
|
46
46
|
var api = require('@react-google-maps/api');
|
|
47
|
-
var usePlacesAutocomplete = require('./usePlacesAutocomplete-
|
|
47
|
+
var usePlacesAutocomplete = require('./usePlacesAutocomplete-720ab26d.js');
|
|
48
48
|
var miscDefaultClassWrapper = require('./miscDefaultClassWrapper.js');
|
|
49
|
-
var Locale = require('./Locale-
|
|
50
|
-
var index$9 = require('./index-
|
|
51
|
-
var index$a = require('./index-
|
|
52
|
-
var index$8 = require('./index-
|
|
53
|
-
var store = require('./store-
|
|
49
|
+
var Locale = require('./Locale-55c33ec2.js');
|
|
50
|
+
var index$9 = require('./index-0aa78a23.js');
|
|
51
|
+
var index$a = require('./index-02946a96.js');
|
|
52
|
+
var index$8 = require('./index-81b2ddc9.js');
|
|
53
|
+
var store = require('./store-21a18659.js');
|
|
54
54
|
require('date-fns/locale');
|
|
55
55
|
require('./constantsSite.js');
|
|
56
56
|
require('./constantsRiskScreener.js');
|
|
57
|
-
require('./index-
|
|
57
|
+
require('./index-98c7c319.js');
|
|
58
58
|
require('./miscCookieHelper.js');
|
|
59
59
|
require('slugify');
|
|
60
60
|
require('./togetherApiPaths.js');
|
|
61
|
-
require('./index-
|
|
62
|
-
require('./WhatsApp-
|
|
63
|
-
require('./Spinner-
|
|
64
|
-
require('./index-
|
|
65
|
-
require('./useScreenSize-
|
|
61
|
+
require('./index-2d3b6678.js');
|
|
62
|
+
require('./WhatsApp-96b48d49.js');
|
|
63
|
+
require('./Spinner-7f078039.js');
|
|
64
|
+
require('./index-366eb12a.js');
|
|
65
|
+
require('./useScreenSize-c1ed16b0.js');
|
|
66
66
|
require('@mantine/carousel');
|
|
67
|
-
require('./useUniqueId-
|
|
67
|
+
require('./useUniqueId-76701268.js');
|
|
68
68
|
require('@hhgtech/icons/core');
|
|
69
69
|
require('@mantine/notifications');
|
|
70
70
|
require('date-fns');
|
|
71
71
|
require('react-day-picker/DayPickerInput');
|
|
72
72
|
require('zustand');
|
|
73
|
-
require('./normalizeLink-
|
|
73
|
+
require('./normalizeLink-11acdb68.js');
|
|
74
74
|
|
|
75
75
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
76
76
|
|
|
@@ -1555,7 +1555,7 @@ const excludeNodeList = [
|
|
|
1555
1555
|
// return false
|
|
1556
1556
|
// }
|
|
1557
1557
|
const Container$u = () => {
|
|
1558
|
-
var _a, _b, _c
|
|
1558
|
+
var _a, _b, _c;
|
|
1559
1559
|
const { formatMessage: f, action: { pushNotifications }, } = React.useContext(togetherComponentGlobalContext.TogetherComponentGlobalContext);
|
|
1560
1560
|
const currentUrl = useCurrentUrl();
|
|
1561
1561
|
const { listNodes, activeId, isShowFooter, onNext, onPrev, params, onStartOver, loading, } = React.useContext(SubotInlineContext);
|
|
@@ -1566,15 +1566,16 @@ const Container$u = () => {
|
|
|
1566
1566
|
const actionNextChoice = (_a = node === null || node === void 0 ? void 0 : node.actions) === null || _a === void 0 ? void 0 : _a.find((act) => act.type === index$2.NodeActionType.USER_CHOICE_NEXT);
|
|
1567
1567
|
const actionPollSubmit = (_b = node === null || node === void 0 ? void 0 : node.actions) === null || _b === void 0 ? void 0 : _b.find(({ type }) => type == index$2.NodeActionType.POLL_BUTTON);
|
|
1568
1568
|
const actionMultipleSubmit = (_c = node === null || node === void 0 ? void 0 : node.actions) === null || _c === void 0 ? void 0 : _c.find(({ type }) => type == index$2.NodeActionType.ACTION_MULTIPLE_BUTTON);
|
|
1569
|
-
const selectedWithOtherInput =
|
|
1570
|
-
|
|
1569
|
+
// const selectedWithOtherInput =
|
|
1570
|
+
// node?.actions?.find(({ id }) => id === value.action_id)?.type ===
|
|
1571
|
+
// NodeActionType.USER_CHOICE_TEXT_BY_INPUT
|
|
1571
1572
|
const handleNextChoice = () => {
|
|
1572
1573
|
const nextValue = {
|
|
1573
1574
|
node_id: node.id,
|
|
1574
1575
|
action_id: actionNextChoice === null || actionNextChoice === void 0 ? void 0 : actionNextChoice.id,
|
|
1575
1576
|
action_value: actionNextChoice === null || actionNextChoice === void 0 ? void 0 : actionNextChoice.key,
|
|
1576
1577
|
};
|
|
1577
|
-
onNext(Object.assign(Object.assign(Object.assign({}, params),
|
|
1578
|
+
onNext(Object.assign(Object.assign(Object.assign({}, params), node === null || node === void 0 ? void 0 : node._message), nextValue));
|
|
1578
1579
|
};
|
|
1579
1580
|
const handlePollSubmit = () => {
|
|
1580
1581
|
var _a;
|
|
@@ -1619,15 +1620,15 @@ const Container$u = () => {
|
|
|
1619
1620
|
});
|
|
1620
1621
|
}
|
|
1621
1622
|
else {
|
|
1622
|
-
onNext(Object.assign(Object.assign(Object.assign({}, params),
|
|
1623
|
+
onNext(Object.assign(Object.assign(Object.assign({}, params), node === null || node === void 0 ? void 0 : node._message), value));
|
|
1623
1624
|
}
|
|
1624
1625
|
};
|
|
1625
1626
|
if (!isShowFooter)
|
|
1626
1627
|
return null;
|
|
1627
1628
|
const found = listNodes.find((nodeItem) => nodeItem.id == activeId);
|
|
1628
1629
|
const isDisabled = disabledNodeList.includes((found === null || found === void 0 ? void 0 : found.type) || '') ||
|
|
1629
|
-
disabledPositionList.includes((found === null || found === void 0 ? void 0 : found.position) || '')
|
|
1630
|
-
|
|
1630
|
+
disabledPositionList.includes((found === null || found === void 0 ? void 0 : found.position) || '');
|
|
1631
|
+
// selectedWithOtherInput
|
|
1631
1632
|
const isDisplayAction = !excludeNodeList.includes((found === null || found === void 0 ? void 0 : found.type) || '');
|
|
1632
1633
|
return (React__default["default"].createElement(StyledWrap$p, { "data-show-action": isDisplayAction },
|
|
1633
1634
|
React__default["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)) },
|
|
@@ -5433,21 +5434,9 @@ const stylesTextarea = {
|
|
|
5433
5434
|
boxShadow: '0px 0px 0px 2px var(--subot-inline-primary-color-300) !important',
|
|
5434
5435
|
},
|
|
5435
5436
|
},
|
|
5436
|
-
};
|
|
5437
|
-
const stylesButtonSubmitOther = {
|
|
5438
|
-
root: {
|
|
5439
|
-
':not(:disabled)': {
|
|
5440
|
-
backgroundColor: 'var(--subot-inline-primary-color) !important',
|
|
5441
|
-
'&:hover': {
|
|
5442
|
-
backgroundColor: 'var(--subot-inline-primary-color-hover) !important',
|
|
5443
|
-
},
|
|
5444
|
-
},
|
|
5445
|
-
},
|
|
5446
5437
|
};
|
|
5447
5438
|
|
|
5448
5439
|
const Container$a = ({ action, onChange, active, htmlType, formSubmitMeta, }) => {
|
|
5449
|
-
const timeoutId = React.useRef(null);
|
|
5450
|
-
const { formatMessage: f } = React.useContext(togetherComponentGlobalContext.TogetherComponentGlobalContext);
|
|
5451
5440
|
const currentUrl = useCurrentUrl();
|
|
5452
5441
|
const inputRef = React.useRef(null);
|
|
5453
5442
|
const [otherText, setOtherText] = React.useState('');
|
|
@@ -5455,14 +5444,6 @@ const Container$a = ({ action, onChange, active, htmlType, formSubmitMeta, }) =>
|
|
|
5455
5444
|
const isActionPollWithOther = (action === null || action === void 0 ? void 0 : action.type) === index$2.NodeActionType.POLL_CHOICE_TEXT_BY_INPUT;
|
|
5456
5445
|
const isActionSelectWithOther = (action === null || action === void 0 ? void 0 : action.type) === index$2.NodeActionType.USER_CHOICE_TEXT_BY_INPUT ||
|
|
5457
5446
|
isActionPollWithOther;
|
|
5458
|
-
const actionSubmitted = isActionPollWithOther
|
|
5459
|
-
? {
|
|
5460
|
-
key: action === null || action === void 0 ? void 0 : action.key,
|
|
5461
|
-
control: index$2.ELEMENT_CONTROL_INPUT_TYPE[action === null || action === void 0 ? void 0 : action.type],
|
|
5462
|
-
value: '',
|
|
5463
|
-
action_id: action === null || action === void 0 ? void 0 : action.id,
|
|
5464
|
-
}
|
|
5465
|
-
: action;
|
|
5466
5447
|
React.useEffect(() => {
|
|
5467
5448
|
var _a, _b;
|
|
5468
5449
|
if (active) {
|
|
@@ -5470,45 +5451,24 @@ const Container$a = ({ action, onChange, active, htmlType, formSubmitMeta, }) =>
|
|
|
5470
5451
|
(_b = inputRef.current) === null || _b === void 0 ? void 0 : _b.focus();
|
|
5471
5452
|
}
|
|
5472
5453
|
}, [active, formSubmitMeta]);
|
|
5473
|
-
const handleClickWithFormMeta = () => {
|
|
5474
|
-
if (otherText) {
|
|
5475
|
-
onChange &&
|
|
5476
|
-
onChange(actionSubmitted, [
|
|
5477
|
-
{
|
|
5478
|
-
key: KEY_OF_TEXT_CHOICE_WITH_OTHER_FIELD,
|
|
5479
|
-
control: 'text',
|
|
5480
|
-
value: otherText,
|
|
5481
|
-
},
|
|
5482
|
-
]);
|
|
5483
|
-
}
|
|
5484
|
-
};
|
|
5485
5454
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5486
5455
|
const onChangeTextArea = (evt) => {
|
|
5487
5456
|
setOtherText(evt.target.value);
|
|
5488
|
-
|
|
5489
|
-
|
|
5490
|
-
|
|
5491
|
-
|
|
5492
|
-
|
|
5493
|
-
|
|
5494
|
-
|
|
5495
|
-
|
|
5496
|
-
value: evt.target.value,
|
|
5497
|
-
},
|
|
5498
|
-
]);
|
|
5499
|
-
}, 300);
|
|
5500
|
-
}
|
|
5457
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(action, [
|
|
5458
|
+
{
|
|
5459
|
+
key: KEY_OF_TEXT_CHOICE_WITH_OTHER_FIELD,
|
|
5460
|
+
control: 'text',
|
|
5461
|
+
value: evt.target.value,
|
|
5462
|
+
action_id: action === null || action === void 0 ? void 0 : action.id,
|
|
5463
|
+
},
|
|
5464
|
+
]);
|
|
5501
5465
|
};
|
|
5502
5466
|
return (React__default["default"].createElement(React__default["default"].Fragment, null,
|
|
5503
|
-
React__default["default"].createElement(StyledWrap$5, { id: "si-action-text-choice", active: !!active, onClick: () => onChange
|
|
5467
|
+
React__default["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 },
|
|
5504
5468
|
React__default["default"].createElement(StyledRadioIcon, { active: !!active }, htmlType === 'checkbox' && (React__default["default"].createElement(Checkbox, { className: "icon-checkbox", viewBox: "0 0 22 22" }))),
|
|
5505
5469
|
React__default["default"].createElement("div", { className: "label" }, action === null || action === void 0 ? void 0 : action.label)),
|
|
5506
5470
|
isActionSelectWithOther && active && (React__default["default"].createElement(core.Box, { px: "2px", style: { textAlign: 'right' } },
|
|
5507
|
-
React__default["default"].createElement(core.Textarea, { ref: inputRef, placeholder: action === null || action === void 0 ? void 0 : action.label, styles: stylesTextarea, value: otherText, onChange: onChangeTextArea, maxLength: 360 })
|
|
5508
|
-
!isActionPollWithOther && (React__default["default"].createElement(index$4.Button, { size: "sm", mt: "5px", styles: stylesButtonSubmitOther, disabled: !otherText, onClick: handleClickWithFormMeta }, f({
|
|
5509
|
-
id: 'feedback.submit',
|
|
5510
|
-
defaultMessage: 'Submit',
|
|
5511
|
-
})))))));
|
|
5471
|
+
React__default["default"].createElement(core.Textarea, { ref: inputRef, placeholder: action === null || action === void 0 ? void 0 : action.label, styles: stylesTextarea, value: otherText, onChange: onChangeTextArea, maxLength: 360 })))));
|
|
5512
5472
|
};
|
|
5513
5473
|
Container$a.displayName = 'SubotInlineActionTextChoice';
|
|
5514
5474
|
|
|
@@ -5668,34 +5628,49 @@ const Container$5 = ({ node, indexNumber }) => {
|
|
|
5668
5628
|
}
|
|
5669
5629
|
return [];
|
|
5670
5630
|
}, [value, value === null || value === void 0 ? void 0 : value.selected_actions]);
|
|
5671
|
-
const handleOnChange = (action) => tslib_es6.__awaiter(void 0, void 0, void 0, function* () {
|
|
5672
|
-
|
|
5673
|
-
|
|
5674
|
-
|
|
5675
|
-
|
|
5676
|
-
|
|
5677
|
-
|
|
5678
|
-
|
|
5679
|
-
|
|
5680
|
-
|
|
5681
|
-
|
|
5682
|
-
|
|
5683
|
-
|
|
5684
|
-
|
|
5685
|
-
|
|
5686
|
-
|
|
5687
|
-
|
|
5688
|
-
|
|
5689
|
-
|
|
5690
|
-
|
|
5691
|
-
|
|
5692
|
-
|
|
5631
|
+
const handleOnChange = (action, formSubmitMeta) => tslib_es6.__awaiter(void 0, void 0, void 0, function* () {
|
|
5632
|
+
var _b, _c;
|
|
5633
|
+
if (action) {
|
|
5634
|
+
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) })));
|
|
5635
|
+
if ((action === null || action === void 0 ? void 0 : action.type) === index$2.NodeActionType.POLL_CHOICE_TEXT_BY_INPUT ||
|
|
5636
|
+
(action === null || action === void 0 ? void 0 : action.type) === index$2.NodeActionType.USER_CHOICE_TEXT_BY_INPUT) {
|
|
5637
|
+
const isExistedPoll = (_value === null || _value === void 0 ? void 0 : _value.selected_actions) && action.id in _value.selected_actions;
|
|
5638
|
+
if (isExistedPoll) {
|
|
5639
|
+
if (formSubmitMeta) {
|
|
5640
|
+
_value.form_submit_meta = formSubmitMeta;
|
|
5641
|
+
}
|
|
5642
|
+
else {
|
|
5643
|
+
delete _value.form_submit_meta;
|
|
5644
|
+
(_b = _value.selected_actions) === null || _b === void 0 ? true : delete _b[action.id];
|
|
5645
|
+
}
|
|
5646
|
+
}
|
|
5647
|
+
else {
|
|
5648
|
+
if (action === null || action === void 0 ? void 0 : action.id) {
|
|
5649
|
+
_value.selected_actions = Object.assign(Object.assign({}, _value.selected_actions), { [action.id]: action.key || '' });
|
|
5650
|
+
}
|
|
5651
|
+
}
|
|
5652
|
+
setValue(_value);
|
|
5653
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(_value);
|
|
5654
|
+
return;
|
|
5655
|
+
}
|
|
5656
|
+
if (!((_c = _value.selected_actions) === null || _c === void 0 ? void 0 : _c[action.id])) {
|
|
5657
|
+
_value.selected_actions = Object.assign(Object.assign({}, _value.selected_actions), { [action.id]: action.key || '' });
|
|
5658
|
+
onChange && onChange(_value);
|
|
5659
|
+
setValue(_value);
|
|
5660
|
+
return;
|
|
5661
|
+
}
|
|
5662
|
+
if (_value.selected_actions[action.id]) {
|
|
5663
|
+
delete _value.selected_actions[action.id];
|
|
5664
|
+
onChange && onChange(_value);
|
|
5665
|
+
setValue(_value);
|
|
5666
|
+
return;
|
|
5667
|
+
}
|
|
5693
5668
|
}
|
|
5694
5669
|
});
|
|
5695
5670
|
const actionsRemoveMultipleBtn = (_a = node === null || node === void 0 ? void 0 : node.actions) === null || _a === void 0 ? void 0 : _a.filter((a) => a.type !== index$2.NodeActionType.ACTION_MULTIPLE_BUTTON);
|
|
5696
5671
|
return (React__default["default"].createElement(StyledWrap$3, { id: "si-node-text" },
|
|
5697
5672
|
React__default["default"].createElement(Container$h, { intents: (node === null || node === void 0 ? void 0 : node.intents) || [], indexNumber: indexNumber }),
|
|
5698
|
-
React__default["default"].createElement(Container$7, { value: activeActions, actions: actionsRemoveMultipleBtn, onChange: handleOnChange })));
|
|
5673
|
+
React__default["default"].createElement(Container$7, { value: activeActions, actions: actionsRemoveMultipleBtn, onChange: handleOnChange, formSubmitMeta: value === null || value === void 0 ? void 0 : value.form_submit_meta })));
|
|
5699
5674
|
};
|
|
5700
5675
|
Container$5.displayName = 'SubotInlineNodeMultipleContainer';
|
|
5701
5676
|
|
|
@@ -5739,8 +5714,7 @@ const StyledWrap$2 = styled__default["default"].div `
|
|
|
5739
5714
|
`;
|
|
5740
5715
|
|
|
5741
5716
|
const Container$4 = ({ node, indexNumber }) => {
|
|
5742
|
-
|
|
5743
|
-
const { params, setIsShowFooter } = React.useContext(SubotInlineContext);
|
|
5717
|
+
const { onChange, setIsShowFooter } = React.useContext(SubotInlineContext);
|
|
5744
5718
|
const { value, setValue } = React.useContext(NodeContext);
|
|
5745
5719
|
const descriptionNode = useDescriptionPollNode({ node });
|
|
5746
5720
|
React.useMemo(() => {
|
|
@@ -5757,48 +5731,41 @@ const Container$4 = ({ node, indexNumber }) => {
|
|
|
5757
5731
|
return null;
|
|
5758
5732
|
}, [node === null || node === void 0 ? void 0 : node.actions]);
|
|
5759
5733
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5760
|
-
const handleOnChange = (
|
|
5761
|
-
|
|
5762
|
-
|
|
5763
|
-
|
|
5764
|
-
|
|
5765
|
-
|
|
5766
|
-
|
|
5767
|
-
|
|
5768
|
-
|
|
5769
|
-
|
|
5770
|
-
|
|
5771
|
-
const formUpdateIndex = currentSubmitMeta.findIndex(({ action_id }) => action_id === formValue.action_id);
|
|
5772
|
-
/**
|
|
5773
|
-
* The current logic when onChange is called will remove/add this poll action in the submit meta
|
|
5774
|
-
* But IF the onChange is called due to the input text other, this action will be not removed from the previous list
|
|
5775
|
-
*/
|
|
5776
|
-
if (formUpdateIndex !== -1) {
|
|
5777
|
-
tmpFormSubmitMeta = [
|
|
5778
|
-
...currentSubmitMeta.slice(0, formUpdateIndex),
|
|
5779
|
-
...currentSubmitMeta.slice(formUpdateIndex + 1),
|
|
5780
|
-
];
|
|
5781
|
-
}
|
|
5782
|
-
else {
|
|
5783
|
-
if (!is_multi_select) {
|
|
5784
|
-
tmpFormSubmitMeta = [Object.assign({}, formValue)];
|
|
5785
|
-
}
|
|
5786
|
-
else {
|
|
5787
|
-
tmpFormSubmitMeta = [...currentSubmitMeta];
|
|
5788
|
-
tmpFormSubmitMeta.push(formValue);
|
|
5789
|
-
}
|
|
5790
|
-
}
|
|
5734
|
+
const handleOnChange = (action, formSubmitMeta) => {
|
|
5735
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
5736
|
+
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) || [])] })));
|
|
5737
|
+
if ((action === null || action === void 0 ? void 0 : action.type) === index$2.NodeActionType.POLL_CHOICE_TEXT_BY_INPUT ||
|
|
5738
|
+
(action === null || action === void 0 ? void 0 : action.type) === index$2.NodeActionType.USER_CHOICE_TEXT_BY_INPUT) {
|
|
5739
|
+
const isExistedPoll = (_a = newValue.form_submit_meta) === null || _a === void 0 ? void 0 : _a.some(({ action_id }) => action_id === action.id);
|
|
5740
|
+
if (isExistedPoll) {
|
|
5741
|
+
newValue.form_submit_meta =
|
|
5742
|
+
typeof formSubmitMeta === 'undefined'
|
|
5743
|
+
? (_b = newValue.form_submit_meta) === null || _b === void 0 ? void 0 : _b.filter(({ action_id }) => action_id !== action.id)
|
|
5744
|
+
: (_c = newValue.form_submit_meta) === null || _c === void 0 ? void 0 : _c.filter(({ action_id }) => action_id !== action.id).concat(formSubmitMeta);
|
|
5791
5745
|
}
|
|
5792
5746
|
else {
|
|
5793
|
-
|
|
5747
|
+
newValue.form_submit_meta = (_d = newValue.form_submit_meta) === null || _d === void 0 ? void 0 : _d.concat([
|
|
5748
|
+
{
|
|
5749
|
+
key: action === null || action === void 0 ? void 0 : action.key,
|
|
5750
|
+
control: index$2.ELEMENT_CONTROL_INPUT_TYPE[action === null || action === void 0 ? void 0 : action.type] || 'text',
|
|
5751
|
+
value: '',
|
|
5752
|
+
action_id: action === null || action === void 0 ? void 0 : action.id,
|
|
5753
|
+
},
|
|
5754
|
+
]);
|
|
5794
5755
|
}
|
|
5795
|
-
|
|
5796
|
-
|
|
5797
|
-
|
|
5798
|
-
|
|
5799
|
-
|
|
5800
|
-
|
|
5756
|
+
setValue(newValue);
|
|
5757
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
5758
|
+
return;
|
|
5759
|
+
}
|
|
5760
|
+
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));
|
|
5761
|
+
if (isPoll) {
|
|
5762
|
+
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));
|
|
5801
5763
|
}
|
|
5764
|
+
else {
|
|
5765
|
+
newValue.form_submit_meta = (_g = newValue.form_submit_meta) === null || _g === void 0 ? void 0 : _g.concat([action]);
|
|
5766
|
+
}
|
|
5767
|
+
setValue(newValue);
|
|
5768
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
5802
5769
|
};
|
|
5803
5770
|
const activeActions = React.useMemo(() => {
|
|
5804
5771
|
if (value === null || value === void 0 ? void 0 : value.form_submit_meta) {
|
|
@@ -5806,10 +5773,14 @@ const Container$4 = ({ node, indexNumber }) => {
|
|
|
5806
5773
|
}
|
|
5807
5774
|
return [];
|
|
5808
5775
|
}, [value, value === null || value === void 0 ? void 0 : value.form_submit_meta]);
|
|
5776
|
+
React.useEffect(() => {
|
|
5777
|
+
console.log('adfsafsdf');
|
|
5778
|
+
setValue(node === null || node === void 0 ? void 0 : node._message);
|
|
5779
|
+
}, []);
|
|
5809
5780
|
return (React__default["default"].createElement(StyledWrap$2, null,
|
|
5810
5781
|
React__default["default"].createElement(Container$h, { intents: node.intents || [], indexNumber: indexNumber }),
|
|
5811
5782
|
React__default["default"].createElement("p", { className: "si-poll-description" }, descriptionNode),
|
|
5812
|
-
React__default["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:
|
|
5783
|
+
React__default["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 })));
|
|
5813
5784
|
};
|
|
5814
5785
|
Container$4.displayName = 'SubotinlineNodePoll';
|
|
5815
5786
|
|
|
@@ -5880,7 +5851,6 @@ const StyledWrap = styled__default["default"].div `
|
|
|
5880
5851
|
`;
|
|
5881
5852
|
|
|
5882
5853
|
const Container$2 = ({ node, indexNumber }) => {
|
|
5883
|
-
var _a;
|
|
5884
5854
|
const { params, onSubmit, setIsShowFooter, listNodes, activeId, setLoading, onChange, } = React.useContext(SubotInlineContext);
|
|
5885
5855
|
const { value, setValue } = React.useContext(NodeContext);
|
|
5886
5856
|
React.useMemo(() => {
|
|
@@ -5900,7 +5870,7 @@ const Container$2 = ({ node, indexNumber }) => {
|
|
|
5900
5870
|
const res = yield subotInlineMessage(newParams);
|
|
5901
5871
|
setLoading(false);
|
|
5902
5872
|
if ((res === null || res === void 0 ? void 0 : res._status) === 1) {
|
|
5903
|
-
const
|
|
5873
|
+
const _a = res === null || res === void 0 ? void 0 : res._data, { node } = _a, restData = tslib_es6.__rest(_a, ["node"]);
|
|
5904
5874
|
const nextNode = Object.assign(Object.assign({}, node), { _message: Object.assign(Object.assign({}, restData), { node_id: node.id }) });
|
|
5905
5875
|
onSubmit(nextNode, newParams);
|
|
5906
5876
|
}
|
|
@@ -5908,28 +5878,21 @@ const Container$2 = ({ node, indexNumber }) => {
|
|
|
5908
5878
|
const handleOnChange = (action, formSubmitMeta) => tslib_es6.__awaiter(void 0, void 0, void 0, function* () {
|
|
5909
5879
|
if (!action)
|
|
5910
5880
|
return;
|
|
5911
|
-
const
|
|
5912
|
-
|
|
5913
|
-
|
|
5914
|
-
|
|
5881
|
+
const actionWithOther = (action === null || action === void 0 ? void 0 : action.type) === index$2.NodeActionType.USER_CHOICE_TEXT_BY_INPUT ||
|
|
5882
|
+
(action === null || action === void 0 ? void 0 : action.type) === index$2.NodeActionType.POLL_CHOICE_TEXT_BY_INPUT;
|
|
5883
|
+
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 });
|
|
5884
|
+
if (actionWithOther) {
|
|
5885
|
+
setValue(newValue);
|
|
5886
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
5915
5887
|
return;
|
|
5916
5888
|
}
|
|
5917
|
-
|
|
5918
|
-
|
|
5919
|
-
|
|
5920
|
-
setLoading(true);
|
|
5921
|
-
const res = yield subotInlineMessage(newParams);
|
|
5922
|
-
setLoading(false);
|
|
5923
|
-
if ((res === null || res === void 0 ? void 0 : res._status) === 1) {
|
|
5924
|
-
const _c = res === null || res === void 0 ? void 0 : res._data, { node } = _c, restData = tslib_es6.__rest(_c, ["node"]);
|
|
5925
|
-
const nextNode = Object.assign(Object.assign({}, node), { _message: Object.assign(Object.assign({}, restData), { node_id: node.id }) });
|
|
5926
|
-
onSubmit(nextNode, newParams);
|
|
5927
|
-
}
|
|
5928
|
-
}
|
|
5889
|
+
delete newValue.form_submit_meta;
|
|
5890
|
+
setValue(newValue);
|
|
5891
|
+
handleOnChangeNormal(action);
|
|
5929
5892
|
});
|
|
5930
5893
|
return (React__default["default"].createElement(StyledWrap, { id: "si-node-text" },
|
|
5931
5894
|
React__default["default"].createElement(Container$h, { intents: (node === null || node === void 0 ? void 0 : node.intents) || [], indexNumber: indexNumber }),
|
|
5932
|
-
React__default["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:
|
|
5895
|
+
React__default["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 })));
|
|
5933
5896
|
};
|
|
5934
5897
|
Container$2.displayName = 'SubotInlineNodeTextContainer';
|
|
5935
5898
|
|