@hhgtech/hhg-components 1.29.318 → 1.29.320
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-eb5b7f5b.js → LastPeriod-497c1cc3.js} +1 -1
- package/build/{MobileBottomNavigationIcon-ed929a7d.js → MobileBottomNavigationIcon-1f57e757.js} +3 -3
- package/build/{Spinner-4cc2918f.js → Spinner-25b15010.js} +1 -1
- package/build/{WhatsApp-b6d4323f.js → WhatsApp-c77ee670.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-cb31aec2.js → constants-42bc6a79.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-7ab2e37e.js → core-e11447fe.js} +1 -1
- package/build/{dataTransform-76abaf26.js → dataTransform-5699bb3b.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-128221ce.js → editor-e3bf1de9.js} +11 -11
- package/build/embeddedHeathToolCards_babyGrowth.js +23 -23
- package/build/embeddedHeathToolCards_babyPoop.js +19 -19
- package/build/embeddedHeathToolCards_babyVaccine.js +23 -23
- package/build/embeddedHeathToolCards_bmi_bmi.js +26 -26
- package/build/embeddedHeathToolCards_bmrBmr.js +26 -26
- package/build/embeddedHeathToolCards_dueDate_dueDate.js +23 -23
- package/build/embeddedHeathToolCards_ovulation_ovulation.js +23 -23
- package/build/embeddedHeathToolCards_pwg_pwg.js +27 -27
- package/build/embeddedHeathToolCards_targetHeartRate.js +28 -28
- package/build/esm/{LastPeriod-c1bfd6f3.js → LastPeriod-ecafc262.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-3557ca62.js → MobileBottomNavigationIcon-8b2949e2.js} +3 -3
- package/build/esm/{Spinner-1eb79715.js → Spinner-c23d4aa4.js} +1 -1
- package/build/esm/{WhatsApp-ff7a45dc.js → WhatsApp-2e16cddf.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-119c2e9e.js → constants-99a73cd7.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-92f6a073.js → core-f62195ea.js} +1 -1
- package/build/esm/{dataTransform-5838fbad.js → dataTransform-16050860.js} +1 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-47619564.js → editor-4508da87.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 +23 -23
- package/build/esm/embeddedHeathToolCards_bmi_bmi.js +26 -26
- package/build/esm/embeddedHeathToolCards_bmrBmr.js +26 -26
- package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +23 -23
- package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +23 -23
- package/build/esm/embeddedHeathToolCards_pwg_pwg.js +27 -27
- package/build/esm/embeddedHeathToolCards_targetHeartRate.js +28 -28
- 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 +5 -1
- package/build/esm/i18n-values/hi-IN.js +5 -1
- package/build/esm/i18n-values/id-ID.js +177 -173
- package/build/esm/i18n-values/km-KH.js +5 -1
- package/build/esm/i18n-values/ms-MY.js +317 -313
- package/build/esm/i18n-values/my-MM.js +4 -0
- package/build/esm/i18n-values/th-TH.js +4 -0
- package/build/esm/i18n-values/tl-PH.js +4 -0
- package/build/esm/i18n-values/vi-VN.js +4 -0
- package/build/esm/i18n-values/vi-VN_MB.js +4 -0
- package/build/esm/i18n-values/zh-TW.js +5 -1
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-9f131fef.js → index-05e1a6f7.js} +24 -24
- package/build/esm/{index-463bd2ce.js → index-0cdbb81a.js} +2 -2
- package/build/esm/{index-80f65dae.js → index-1112c881.js} +2 -2
- package/build/esm/{index-494381b5.js → index-1bcd4a4f.js} +17 -17
- package/build/esm/{index-ad979bbc.js → index-267ae4aa.js} +6 -6
- package/build/esm/{index-ceef1d76.js → index-2946734b.js} +15 -15
- package/build/esm/{index-860da07e.js → index-2d4597a1.js} +13 -13
- package/build/esm/{index-ca5289d0.js → index-3223a18a.js} +2 -2
- package/build/esm/{index-95b92e71.js → index-372ea6a1.js} +20 -20
- package/build/esm/{index-7d69ca4f.js → index-3b772e23.js} +32 -32
- package/build/esm/{index-f8370fbc.js → index-3ff0c5cd.js} +2 -2
- package/build/esm/{index-a9da67ee.js → index-45da01df.js} +6 -6
- package/build/esm/{index-60916e42.js → index-485af9de.js} +13 -13
- package/build/esm/{index-a9188d6d.js → index-4902d406.js} +2 -2
- package/build/esm/{index-473bb517.js → index-499a3a34.js} +6 -6
- package/build/esm/{index-30af8d19.js → index-527e7f53.js} +1 -1
- package/build/esm/{index-b1e9d0c5.js → index-56619127.js} +1 -1
- package/build/esm/{index-c5727170.js → index-57566e02.js} +15 -15
- package/build/esm/{index-bf8999ee.js → index-5b1abe33.js} +1 -1
- package/build/esm/{index-a37ded29.js → index-5ea9f4e0.js} +2 -2
- package/build/esm/{index-b3e98ec5.js → index-5f82d35d.js} +4 -4
- package/build/esm/{index-de0e40cd.js → index-5feca96e.js} +18 -18
- package/build/esm/{index-62ca5221.js → index-60926700.js} +7 -7
- package/build/esm/{index-8dccc778.js → index-6332437b.js} +2 -2
- package/build/esm/{index-8786bc02.js → index-671ab60b.js} +5 -5
- package/build/esm/{index-19ba9b1a.js → index-6885689a.js} +1 -1
- package/build/esm/{index-57319f8c.js → index-70386ac3.js} +26 -26
- package/build/esm/{index-5fb93eae.js → index-76bd6b9a.js} +30 -30
- package/build/esm/{index-2c96a9f3.js → index-953a9f6d.js} +16 -16
- package/build/esm/{index-ca767624.js → index-a03b7c7e.js} +3 -3
- package/build/esm/{index-f97fe744.js → index-a0df2fc1.js} +1 -1
- package/build/esm/{index-66b70820.js → index-a2db8c2a.js} +5 -5
- package/build/esm/{index-0db9db10.js → index-a33c0764.js} +3 -3
- package/build/esm/{index-2f614912.js → index-a6bbf555.js} +17 -17
- package/build/esm/{index-bee25443.js → index-a75e6728.js} +3 -3
- package/build/esm/{index-84362781.js → index-a83dc41c.js} +1 -1
- package/build/esm/{index-3bf56bc0.js → index-aaa46298.js} +16 -16
- package/build/esm/{index-fc9536f0.js → index-ae5ed3ab.js} +13 -13
- package/build/esm/{index-17b6fb47.js → index-b695b404.js} +3 -3
- package/build/esm/{index-37ed0fbc.js → index-c14d170c.js} +16 -16
- package/build/esm/index-c2c0593c.js +339 -0
- package/build/esm/{index-c9c30eb3.js → index-c3833835.js} +7 -7
- package/build/esm/{index-fa093689.js → index-c407454a.js} +1 -1
- package/build/esm/{index-a335ec24.js → index-c4c21578.js} +13 -13
- package/build/esm/{index-05d501eb.js → index-c50d357a.js} +16 -16
- package/build/esm/{index-54c2ee14.js → index-c8f4eec2.js} +2 -2
- package/build/esm/{index-1177ed36.js → index-c9220875.js} +3 -3
- package/build/esm/{index-a95f66cb.js → index-cb61c519.js} +17 -17
- package/build/esm/{index-635c01b6.js → index-ccc5f6e7.js} +2 -2
- package/build/esm/{index-ab710282.js → index-d69892f4.js} +6 -6
- package/build/esm/{index-1f153660.js → index-d7c0cf31.js} +18 -18
- package/build/esm/{index-c4efc6a7.js → index-d8f1469a.js} +10 -10
- package/build/esm/{index-d74c1eba.js → index-dbd20106.js} +21 -21
- package/build/esm/{index-55acf473.js → index-e17bf4a4.js} +2 -2
- package/build/esm/{index-72a3e0fe.js → index-ec8e3c42.js} +2 -2
- package/build/esm/{index-6ce82548.js → index-ed438ca0.js} +3 -3
- package/build/esm/{index-c366b0f5.js → index-f9887fb6.js} +11 -11
- package/build/esm/{index-28e54056.js → index-fae543f2.js} +3 -3
- package/build/esm/{index-0b104eaf.js → index-faf5fae9.js} +1 -1
- package/build/esm/{index-70b0672f.js → index-fca96fe1.js} +2 -2
- package/build/esm/{index-47f4e182.js → index-fd01690c.js} +1 -1
- package/build/esm/{index-f35a7221.js → index-febb64f7.js} +24 -24
- package/build/esm/index.js +112 -112
- package/build/esm/{labelSorting-72cb85b6.js → labelSorting-77f6aa73.js} +4 -4
- package/build/esm/lead.js +24 -24
- package/build/esm/{logoIcon-998e428e.js → logoIcon-cf77f069.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-a33ab665.js → post-8ae8f11c.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/phoneUtils.d.ts +1 -1
- package/build/esm/ssoV2.js +26 -26
- package/build/esm/{store-6b5c5b80.js → store-a60898cd.js} +3 -3
- 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-1e5636c5.js → surveyThankyouCard-2d7f4cd1.js} +5 -5
- package/build/esm/together/interfaces/types.d.ts +4 -1
- 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-83101023.js → treePopoverMenu-9a61d3fa.js} +19 -19
- package/build/esm/{types-e406ce99.js → types-45ef2fca.js} +2 -2
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-a411b149.js → useCategory-8a3d27d5.js} +5 -5
- package/build/esm/{useHealthToolCache-a557d921.js → useHealthToolCache-e3ee2c3e.js} +1 -1
- package/build/esm/{useMantineLocale-f5749437.js → useMantineLocale-463de4dc.js} +6 -6
- package/build/esm/{usePlacesAutocomplete-b54bd959.js → usePlacesAutocomplete-e91197e8.js} +1 -1
- package/build/esm/{useScreenSize-20d68a30.js → useScreenSize-1c07e0db.js} +2 -2
- package/build/esm/useTogetherAuthRequiredAction.js +9 -9
- package/build/esm/{utils-21c869bd.js → utils-4a9fef7b.js} +2 -2
- package/build/esm/{utils-8ad1c346.js → utils-9662d944.js} +3 -3
- package/build/esm/{utils-f990ac10.js → utils-f96a5be1.js} +2 -2
- package/build/esm/vaccination.js +21 -21
- 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 +5 -1
- package/build/i18n-values/hi-IN.js +5 -1
- package/build/i18n-values/id-ID.js +177 -173
- package/build/i18n-values/km-KH.js +5 -1
- package/build/i18n-values/ms-MY.js +317 -313
- package/build/i18n-values/my-MM.js +4 -0
- package/build/i18n-values/th-TH.js +4 -0
- package/build/i18n-values/tl-PH.js +4 -0
- package/build/i18n-values/vi-VN.js +4 -0
- package/build/i18n-values/vi-VN_MB.js +4 -0
- package/build/i18n-values/zh-TW.js +5 -1
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-6879d3c4.js → index-0dbe4e51.js} +1 -1
- package/build/{index-16e10242.js → index-115c6a12.js} +16 -16
- package/build/{index-f6c359e7.js → index-13ebaea8.js} +1 -1
- package/build/{index-f970ad34.js → index-166f1018.js} +2 -2
- package/build/{index-7b881db9.js → index-16e876d1.js} +16 -16
- package/build/{index-dd532acc.js → index-1734a3b7.js} +3 -3
- package/build/{index-a6b5ac63.js → index-18ba0af3.js} +2 -2
- package/build/{index-e2aa14a3.js → index-1dc43958.js} +24 -24
- package/build/{index-8ae7cc54.js → index-1f7a42a3.js} +1 -1
- package/build/{index-42d09d4e.js → index-208ad38c.js} +16 -16
- package/build/{index-1b522f9a.js → index-21adf235.js} +15 -15
- package/build/{index-fee41b98.js → index-21ed889a.js} +24 -24
- package/build/{index-356a260e.js → index-2a13f9cb.js} +2 -2
- package/build/{index-bc17de65.js → index-2ce42c79.js} +18 -18
- package/build/{index-a722e3d2.js → index-33a06f6f.js} +7 -7
- package/build/{index-0e11488b.js → index-397873b9.js} +3 -3
- package/build/{index-56787966.js → index-3d39488c.js} +13 -13
- package/build/{index-9b0fb224.js → index-3d46023a.js} +2 -2
- package/build/{index-681433ef.js → index-4561e542.js} +11 -11
- package/build/{index-a1547798.js → index-471600df.js} +20 -20
- package/build/{index-625ec5b1.js → index-4f055f08.js} +2 -2
- package/build/{index-91d06b57.js → index-518f63d1.js} +21 -21
- package/build/{index-5cddedce.js → index-557d2f11.js} +2 -2
- package/build/{index-71a67efb.js → index-56e70ecf.js} +2 -2
- package/build/{index-f56caa77.js → index-59179d2c.js} +3 -3
- package/build/{index-722ec0b3.js → index-63559f28.js} +16 -16
- package/build/{index-0b21c437.js → index-6369b41f.js} +17 -17
- package/build/{index-b4c981d9.js → index-64167c19.js} +17 -17
- package/build/{index-24dfb523.js → index-66fbcfb4.js} +2 -2
- package/build/{index-7fcec533.js → index-6ab4dd8d.js} +2 -2
- package/build/{index-a5e1e0e3.js → index-6e5edf5e.js} +1 -1
- package/build/{index-f8a548a9.js → index-7047c49e.js} +2 -2
- package/build/{index-6e703a9f.js → index-708a71e9.js} +13 -13
- package/build/{index-98196fb9.js → index-75c177e2.js} +13 -13
- package/build/{index-52b52279.js → index-7ff568d5.js} +13 -13
- package/build/{index-b0418c19.js → index-8241c2f1.js} +6 -6
- package/build/{index-7aabe478.js → index-8390bb72.js} +2 -2
- package/build/{index-4ca7e4c9.js → index-839c9486.js} +6 -6
- package/build/{index-05dd1ea8.js → index-870dba22.js} +1 -1
- package/build/index-8c7c9885.js +341 -0
- package/build/{index-a9364756.js → index-8e225fa2.js} +3 -3
- package/build/{index-b4e918ab.js → index-911cc655.js} +26 -26
- package/build/{index-67d77ba9.js → index-91ce180d.js} +1 -1
- package/build/{index-c006fab8.js → index-9ba4a661.js} +1 -1
- package/build/{index-495c5975.js → index-a6a67288.js} +3 -3
- package/build/{index-62fad5d0.js → index-a6f169a6.js} +15 -15
- package/build/{index-a2abfcf1.js → index-a9a77632.js} +30 -30
- package/build/{index-4d2f797a.js → index-b8f4153e.js} +7 -7
- package/build/{index-9f66a0eb.js → index-b9ae86ae.js} +32 -32
- package/build/{index-7457d221.js → index-bb562543.js} +5 -5
- package/build/{index-e472be0e.js → index-ce3b6f3c.js} +3 -3
- package/build/{index-18e9b49f.js → index-d6989184.js} +6 -6
- package/build/{index-4b5ef117.js → index-d7ec8f54.js} +4 -4
- package/build/{index-02de3d5e.js → index-dbef95df.js} +18 -18
- package/build/{index-0478e991.js → index-dfa09d1b.js} +17 -17
- package/build/{index-00cfad28.js → index-e39105a3.js} +1 -1
- package/build/{index-bdeb2b66.js → index-e7dbce71.js} +5 -5
- package/build/{index-ce959275.js → index-ead49133.js} +1 -1
- package/build/{index-b06fad29.js → index-eae36f8c.js} +2 -2
- package/build/{index-863876ea.js → index-ee2bf807.js} +3 -3
- package/build/{index-47f680a6.js → index-f390df9c.js} +10 -10
- package/build/{index-119ce6e9.js → index-fb785f16.js} +6 -6
- package/build/index.js +112 -112
- package/build/{labelSorting-176cc040.js → labelSorting-2ffc35c0.js} +4 -4
- package/build/lead.js +24 -24
- package/build/{logoIcon-c4102462.js → logoIcon-e3ae9faa.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-90ff8fb8.js → post-bb1cd2d3.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/phoneUtils.d.ts +1 -1
- package/build/ssoV2.js +25 -25
- package/build/{store-1647f86d.js → store-7867e783.js} +3 -3
- 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-a9228471.js → surveyThankyouCard-64bff3f5.js} +5 -5
- package/build/together/interfaces/types.d.ts +4 -1
- 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-e858bd06.js → treePopoverMenu-31ac23f2.js} +19 -19
- package/build/{types-976e25a0.js → types-1d0eddb9.js} +2 -2
- package/build/types.js +2 -2
- package/build/{useCategory-9276d8a3.js → useCategory-cfd7ed45.js} +5 -5
- package/build/{useHealthToolCache-ee483219.js → useHealthToolCache-5bef85fd.js} +1 -1
- package/build/{useMantineLocale-de288253.js → useMantineLocale-f832cdab.js} +6 -6
- package/build/{usePlacesAutocomplete-75403812.js → usePlacesAutocomplete-508c2f5e.js} +1 -1
- package/build/{useScreenSize-6f077571.js → useScreenSize-e92f91b6.js} +2 -2
- package/build/useTogetherAuthRequiredAction.js +9 -9
- package/build/{utils-c7769379.js → utils-63f48248.js} +2 -2
- package/build/{utils-7c04a142.js → utils-67514439.js} +3 -3
- package/build/{utils-73764c13.js → utils-6ba416c5.js} +2 -2
- package/build/vaccination.js +21 -21
- package/package.json +1 -1
- package/build/esm/index-aa4a3619.js +0 -275
- package/build/index-ab5260a6.js +0 -277
- /package/build/{BMI_BOYS.percentile.monthly-2fbab972.js → BMI_BOYS.percentile.monthly-a076e0cc.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-5cb69d0c.js → BMI_BOYS.percentile.weekly-efe230f6.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-58ec8caa.js → BMI_BOYS.percentile.yearly-2ab9dcfd.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-11932cc9.js → BMI_BOYS.zscore.monthly-86eb6727.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-2c4c885c.js → BMI_BOYS.zscore.weekly-ace7fbe8.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-d699a261.js → BMI_BOYS.zscore.yearly-cb04b30e.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-a8de51b2.js → BMI_GIRLS.percentile.monthly-1c5b48f3.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-857def81.js → BMI_GIRLS.percentile.weekly-9164a321.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-e1d5bbb8.js → BMI_GIRLS.percentile.yearly-707dbf94.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-65643107.js → BMI_GIRLS.zscore.monthly-0df834a5.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-1aa78b86.js → BMI_GIRLS.zscore.weekly-d4d96083.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-8ff381c6.js → BMI_GIRLS.zscore.yearly-5fc825c0.js} +0 -0
- /package/build/{ChevronDown-b186e7ae.js → ChevronDown-ed1ac570.js} +0 -0
- /package/build/{Close-df815190.js → Close-1d44486e.js} +0 -0
- /package/build/{Google-3e0ae101.js → Google-fcce9aa9.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-25337403.js → HEAD CIRCUM_BOYS.percentile.monthly-373531c3.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-283a7fd4.js → HEAD CIRCUM_BOYS.percentile.weekly-c7af16fb.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-f31c6058.js → HEAD CIRCUM_BOYS.percentile.yearly-e9521c0e.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-f5fac871.js → HEAD CIRCUM_BOYS.zscore.monthly-ed28fb91.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-406af111.js → HEAD CIRCUM_BOYS.zscore.weekly-a74979ae.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-aa59e07d.js → HEAD CIRCUM_BOYS.zscore.yearly-dcef4092.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-5a01e11b.js → HEAD CIRCUM_GIRLS.percentile.monthly-8c826483.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-545a867a.js → HEAD CIRCUM_GIRLS.percentile.weekly-5e234efb.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-c4d5cc78.js → HEAD CIRCUM_GIRLS.percentile.yearly-98086a1c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-4c529100.js → HEAD CIRCUM_GIRLS.zscore.monthly-c35351bb.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-232372ad.js → HEAD CIRCUM_GIRLS.zscore.weekly-acf0f88b.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-755f8a4b.js → HEAD CIRCUM_GIRLS.zscore.yearly-aacae5c8.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-f10af6a4.js → HEIGHT_BOYS.percentile.monthly-c50ca7fc.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-7e378bbc.js → HEIGHT_BOYS.percentile.weekly-96b88ac9.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-004692ce.js → HEIGHT_BOYS.percentile.yearly-c47f7586.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-f84d3d9b.js → HEIGHT_BOYS.zscore.monthly-741725e1.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-7e80de34.js → HEIGHT_BOYS.zscore.weekly-daec8f47.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-378d2a50.js → HEIGHT_BOYS.zscore.yearly-e2138b4b.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-ba475a77.js → HEIGHT_GIRLS.percentile.monthly-bd367200.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-f07a65fb.js → HEIGHT_GIRLS.percentile.weekly-fb367b81.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-4a156534.js → HEIGHT_GIRLS.percentile.yearly-cd8bc378.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-dd9d2b6e.js → HEIGHT_GIRLS.zscore.monthly-17a4f5e8.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-9a58bb69.js → HEIGHT_GIRLS.zscore.weekly-f5801a99.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-077ba077.js → HEIGHT_GIRLS.zscore.yearly-0a9e709e.js} +0 -0
- /package/build/{Locale-32ec864c.js → Locale-a2b64e09.js} +0 -0
- /package/build/{Visible-38fee470.js → Visible-88815584.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-56f23870.js → WEIGHT_BOYS.percentile.monthly-14674c52.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-52b0ca8d.js → WEIGHT_BOYS.percentile.weekly-897a83c3.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-e1a07e21.js → WEIGHT_BOYS.percentile.yearly-3a7d4b45.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-75e2347b.js → WEIGHT_BOYS.zscore.monthly-3917871f.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-b9f43d95.js → WEIGHT_BOYS.zscore.weekly-0942cafb.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-30d60d81.js → WEIGHT_BOYS.zscore.yearly-76d93296.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-0120540a.js → WEIGHT_GIRLS.percentile.monthly-f7b77bd0.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-390e2301.js → WEIGHT_GIRLS.percentile.weekly-78f25329.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-56b6f747.js → WEIGHT_GIRLS.percentile.yearly-8b42b0c5.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-82345b7d.js → WEIGHT_GIRLS.zscore.monthly-5985e029.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-8cacc97c.js → WEIGHT_GIRLS.zscore.weekly-2765cff3.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-bdd9706d.js → WEIGHT_GIRLS.zscore.yearly-fdeb5c5b.js} +0 -0
- /package/build/{animation-1ad3e9b9.js → animation-c7cd865b.js} +0 -0
- /package/build/{constants-1991bf05.js → constants-4a55ae04.js} +0 -0
- /package/build/{constants-838514c5.js → constants-8011d1df.js} +0 -0
- /package/build/{constants-78c8202c.js → constants-984a461d.js} +0 -0
- /package/build/{dataTransform-317e6dc8.js → dataTransform-3249307f.js} +0 -0
- /package/build/{doctor-99c6cc23.js → doctor-2b387668.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-7f458762.js → BMI_BOYS.percentile.monthly-89dd7101.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-22b45855.js → BMI_BOYS.percentile.weekly-c6bd46f5.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-e4dbc866.js → BMI_BOYS.percentile.yearly-b89d0051.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-e48893a4.js → BMI_BOYS.zscore.monthly-1a3be414.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-19da3eec.js → BMI_BOYS.zscore.weekly-a1ccda55.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-0874fc27.js → BMI_BOYS.zscore.yearly-aacea355.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-c566de70.js → BMI_GIRLS.percentile.monthly-01090baf.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-ac79b3a0.js → BMI_GIRLS.percentile.weekly-4b91a576.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-fa277f7b.js → BMI_GIRLS.percentile.yearly-c4684de9.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-d782ea56.js → BMI_GIRLS.zscore.monthly-01bcc423.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-db5bde15.js → BMI_GIRLS.zscore.weekly-df7d9677.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-49753a80.js → BMI_GIRLS.zscore.yearly-5970b83a.js} +0 -0
- /package/build/esm/{ChevronDown-9338686e.js → ChevronDown-618c0f6e.js} +0 -0
- /package/build/esm/{Close-56595611.js → Close-111f9a5c.js} +0 -0
- /package/build/esm/{Google-429be631.js → Google-0bc6bba6.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-38989a2e.js → HEAD CIRCUM_BOYS.percentile.monthly-1adc4fc0.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-8f20ccf2.js → HEAD CIRCUM_BOYS.percentile.weekly-c7de7104.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-01477763.js → HEAD CIRCUM_BOYS.percentile.yearly-ba6c7f0b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-c8563ec3.js → HEAD CIRCUM_BOYS.zscore.monthly-09d9f8b5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-2bec7711.js → HEAD CIRCUM_BOYS.zscore.weekly-ae0e1e91.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-26671493.js → HEAD CIRCUM_BOYS.zscore.yearly-e8061a71.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-860d1cf4.js → HEAD CIRCUM_GIRLS.percentile.monthly-80790102.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-5f62aa55.js → HEAD CIRCUM_GIRLS.percentile.weekly-eebaf04b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-44cf6bf9.js → HEAD CIRCUM_GIRLS.percentile.yearly-0af49b75.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-9fac9f1f.js → HEAD CIRCUM_GIRLS.zscore.monthly-506dc6dd.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-2f957927.js → HEAD CIRCUM_GIRLS.zscore.weekly-3c199dc4.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-ef3c08d0.js → HEAD CIRCUM_GIRLS.zscore.yearly-af2a2393.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-5375e01e.js → HEIGHT_BOYS.percentile.monthly-0f6f461b.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-117ef887.js → HEIGHT_BOYS.percentile.weekly-0378a915.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-a70a168b.js → HEIGHT_BOYS.percentile.yearly-ebe81d78.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-a32fb04d.js → HEIGHT_BOYS.zscore.monthly-4d912df8.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-169de22c.js → HEIGHT_BOYS.zscore.weekly-aabc87b3.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-d4bd9bdc.js → HEIGHT_BOYS.zscore.yearly-bda77188.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-e7b87518.js → HEIGHT_GIRLS.percentile.monthly-c8ace495.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-8a2073ba.js → HEIGHT_GIRLS.percentile.weekly-dd128a29.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-79598ec6.js → HEIGHT_GIRLS.percentile.yearly-c20b6643.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-058970aa.js → HEIGHT_GIRLS.zscore.monthly-ff0305c3.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-cc2ac411.js → HEIGHT_GIRLS.zscore.weekly-000ef16b.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-42d63937.js → HEIGHT_GIRLS.zscore.yearly-fa273c5a.js} +0 -0
- /package/build/esm/{Locale-fa2bd089.js → Locale-91a0ee98.js} +0 -0
- /package/build/esm/{Visible-61c46319.js → Visible-721952a4.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-c9561206.js → WEIGHT_BOYS.percentile.monthly-73101cb0.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-287292ce.js → WEIGHT_BOYS.percentile.weekly-04b55699.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-8aaa37ae.js → WEIGHT_BOYS.percentile.yearly-14059daf.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-24d35a82.js → WEIGHT_BOYS.zscore.monthly-f1eb7d4f.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-5ba0ad7a.js → WEIGHT_BOYS.zscore.weekly-827bfb79.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-44385da8.js → WEIGHT_BOYS.zscore.yearly-2765774e.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-35e8b865.js → WEIGHT_GIRLS.percentile.monthly-27d71288.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-f9af7a81.js → WEIGHT_GIRLS.percentile.weekly-dfbe68da.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-ddbba90c.js → WEIGHT_GIRLS.percentile.yearly-8abe2252.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-c3d557f2.js → WEIGHT_GIRLS.zscore.monthly-3eaff5f8.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-47295162.js → WEIGHT_GIRLS.zscore.weekly-662d82d8.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-f1ca2606.js → WEIGHT_GIRLS.zscore.yearly-77681ff7.js} +0 -0
- /package/build/esm/{animation-b08c9149.js → animation-346e76a6.js} +0 -0
- /package/build/esm/{constants-e59c3cda.js → constants-3d4619e6.js} +0 -0
- /package/build/esm/{constants-3af34ec1.js → constants-4c8374b7.js} +0 -0
- /package/build/esm/{constants-e1bd2965.js → constants-5a48abab.js} +0 -0
- /package/build/esm/{dataTransform-205ecd86.js → dataTransform-3fc68ab6.js} +0 -0
- /package/build/esm/{doctor-70663306.js → doctor-a03acfc0.js} +0 -0
- /package/build/esm/{index-3292ef03.js → index-3f001644.js} +0 -0
- /package/build/esm/{index-e906d083.js → index-46ba5ef1.js} +0 -0
- /package/build/esm/{index-0ae638b0.js → index-4fd4e4ec.js} +0 -0
- /package/build/esm/{index-08b7c8b3.js → index-822233d3.js} +0 -0
- /package/build/esm/{index-779651ab.js → index-9391c033.js} +0 -0
- /package/build/esm/{index-308dd3ee.js → index-a53c68b6.js} +0 -0
- /package/build/esm/{index-40a06265.js → index-a5a44f61.js} +0 -0
- /package/build/esm/{index-128046b1.js → index-cf6b617c.js} +0 -0
- /package/build/esm/{index.styles-2eac8e1b.js → index.styles-ad357f5a.js} +0 -0
- /package/build/esm/{localizeNumberFormat-3c6f5204.js → localizeNumberFormat-ae027264.js} +0 -0
- /package/build/esm/{normalizeLink-725b4c4c.js → normalizeLink-1a9aaef2.js} +0 -0
- /package/build/esm/{other-dd57fa34.js → other-191c206c.js} +0 -0
- /package/build/esm/{paths-05b98f20.js → paths-88e50143.js} +0 -0
- /package/build/esm/{translationsContext-8326d764.js → translationsContext-c5c62ce0.js} +0 -0
- /package/build/esm/{tslib.es6-ff12acb0.js → tslib.es6-49ca40fa.js} +0 -0
- /package/build/esm/{types-cb3e7121.js → types-58c1605a.js} +0 -0
- /package/build/esm/{useIsInit-e3dbb57b.js → useIsInit-0bae394c.js} +0 -0
- /package/build/esm/{useOutsideClick-1fb017de.js → useOutsideClick-c6c91b78.js} +0 -0
- /package/build/esm/{useScrollbarSize-bc8c29a0.js → useScrollbarSize-5d427e6a.js} +0 -0
- /package/build/esm/{useUniqueId-a0f2cfb4.js → useUniqueId-b4e8c44b.js} +0 -0
- /package/build/esm/{utils-766963a7.js → utils-91df31b9.js} +0 -0
- /package/build/{index-ca10d8e5.js → index-035574df.js} +0 -0
- /package/build/{index-3febe8b7.js → index-2d845c49.js} +0 -0
- /package/build/{index-58bf7d13.js → index-323cc42d.js} +0 -0
- /package/build/{index-88a9b2c7.js → index-435378bf.js} +0 -0
- /package/build/{index-9fbaabbe.js → index-48e26311.js} +0 -0
- /package/build/{index-ad895cec.js → index-a58559e7.js} +0 -0
- /package/build/{index-f0391ce6.js → index-ba8efd94.js} +0 -0
- /package/build/{index-cbddba4f.js → index-d07068f6.js} +0 -0
- /package/build/{index.styles-de4dacfd.js → index.styles-e8c404b0.js} +0 -0
- /package/build/{localizeNumberFormat-91cc4c15.js → localizeNumberFormat-919e2b18.js} +0 -0
- /package/build/{normalizeLink-800430d5.js → normalizeLink-3c1efa0e.js} +0 -0
- /package/build/{other-aa2d3862.js → other-6ba31b45.js} +0 -0
- /package/build/{paths-332bd4eb.js → paths-89f8c5f5.js} +0 -0
- /package/build/{translationsContext-887d6e63.js → translationsContext-a2668d17.js} +0 -0
- /package/build/{tslib.es6-0e12bd43.js → tslib.es6-6dfcc6f8.js} +0 -0
- /package/build/{types-114d8059.js → types-704fa4b0.js} +0 -0
- /package/build/{useIsInit-59a78843.js → useIsInit-af3eaaf4.js} +0 -0
- /package/build/{useOutsideClick-a8e0f16d.js → useOutsideClick-5925251c.js} +0 -0
- /package/build/{useScrollbarSize-6b8eaf3b.js → useScrollbarSize-847fc5de.js} +0 -0
- /package/build/{useUniqueId-13974804.js → useUniqueId-3f5852dc.js} +0 -0
- /package/build/{utils-884afa6c.js → utils-35aa4893.js} +0 -0
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-5b1abe33.js';
|
|
3
|
+
import { a as __awaiter, _ as __rest } from './tslib.es6-49ca40fa.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-c8f4eec2.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-9662d944.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-fae543f2.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-fae543f2.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-822233d3.js';
|
|
15
|
+
import { L as Loading } from './index-3223a18a.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-91df31b9.js';
|
|
19
|
+
import { B as Button } from './index-6885689a.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-46ba5ef1.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-4c8374b7.js';
|
|
28
28
|
import { v4 } from 'uuid';
|
|
29
|
-
import { T as Text } from './index-
|
|
29
|
+
import { T as Text } from './index-e17bf4a4.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-f9887fb6.js';
|
|
33
33
|
import '@mantine/dates';
|
|
34
|
-
import './useMantineLocale-
|
|
35
|
-
import './index.styles-
|
|
36
|
-
import './translationsContext-
|
|
34
|
+
import './useMantineLocale-463de4dc.js';
|
|
35
|
+
import './index.styles-ad357f5a.js';
|
|
36
|
+
import './translationsContext-c5c62ce0.js';
|
|
37
37
|
import '@mantine/hooks';
|
|
38
|
-
import './other-
|
|
39
|
-
import './index-
|
|
38
|
+
import './other-191c206c.js';
|
|
39
|
+
import './index-a03b7c7e.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-e91197e8.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-91a0ee98.js';
|
|
47
|
+
import { D as DatePicker } from './index-a53c68b6.js';
|
|
48
|
+
import { D as Dropdown } from './index-a5a44f61.js';
|
|
49
|
+
import { B as Button$1 } from './index-4902d406.js';
|
|
50
|
+
import { u as useSSOV2Store, I as IS_SSOV2_ENABLED } from './store-a60898cd.js';
|
|
51
51
|
import 'date-fns/locale';
|
|
52
52
|
import './constantsSite.js';
|
|
53
53
|
import './constantsRiskScreener.js';
|
|
54
|
-
import './index-
|
|
54
|
+
import './index-c2c0593c.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-a75e6728.js';
|
|
59
|
+
import './WhatsApp-2e16cddf.js';
|
|
60
|
+
import './Spinner-c23d4aa4.js';
|
|
61
|
+
import './index-c407454a.js';
|
|
62
|
+
import './useScreenSize-1c07e0db.js';
|
|
63
63
|
import '@mantine/carousel';
|
|
64
|
-
import './useUniqueId-
|
|
64
|
+
import './useUniqueId-b4e8c44b.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-1a9aaef2.js';
|
|
71
71
|
|
|
72
72
|
// extend fastdom
|
|
73
73
|
const fastdom = fd.extend(fastdomPromised);
|
|
@@ -1538,7 +1538,7 @@ const excludeNodeList = [
|
|
|
1538
1538
|
// return false
|
|
1539
1539
|
// }
|
|
1540
1540
|
const Container$u = () => {
|
|
1541
|
-
var _a, _b, _c
|
|
1541
|
+
var _a, _b, _c;
|
|
1542
1542
|
const { formatMessage: f, action: { pushNotifications }, } = useContext(TogetherComponentGlobalContext);
|
|
1543
1543
|
const currentUrl = useCurrentUrl();
|
|
1544
1544
|
const { listNodes, activeId, isShowFooter, onNext, onPrev, params, onStartOver, loading, } = useContext(SubotInlineContext);
|
|
@@ -1549,15 +1549,16 @@ const Container$u = () => {
|
|
|
1549
1549
|
const actionNextChoice = (_a = node === null || node === void 0 ? void 0 : node.actions) === null || _a === void 0 ? void 0 : _a.find((act) => act.type === NodeActionType.USER_CHOICE_NEXT);
|
|
1550
1550
|
const actionPollSubmit = (_b = node === null || node === void 0 ? void 0 : node.actions) === null || _b === void 0 ? void 0 : _b.find(({ type }) => type == NodeActionType.POLL_BUTTON);
|
|
1551
1551
|
const actionMultipleSubmit = (_c = node === null || node === void 0 ? void 0 : node.actions) === null || _c === void 0 ? void 0 : _c.find(({ type }) => type == NodeActionType.ACTION_MULTIPLE_BUTTON);
|
|
1552
|
-
const selectedWithOtherInput =
|
|
1553
|
-
|
|
1552
|
+
// const selectedWithOtherInput =
|
|
1553
|
+
// node?.actions?.find(({ id }) => id === value.action_id)?.type ===
|
|
1554
|
+
// NodeActionType.USER_CHOICE_TEXT_BY_INPUT
|
|
1554
1555
|
const handleNextChoice = () => {
|
|
1555
1556
|
const nextValue = {
|
|
1556
1557
|
node_id: node.id,
|
|
1557
1558
|
action_id: actionNextChoice === null || actionNextChoice === void 0 ? void 0 : actionNextChoice.id,
|
|
1558
1559
|
action_value: actionNextChoice === null || actionNextChoice === void 0 ? void 0 : actionNextChoice.key,
|
|
1559
1560
|
};
|
|
1560
|
-
onNext(Object.assign(Object.assign(Object.assign({}, params),
|
|
1561
|
+
onNext(Object.assign(Object.assign(Object.assign({}, params), node === null || node === void 0 ? void 0 : node._message), nextValue));
|
|
1561
1562
|
};
|
|
1562
1563
|
const handlePollSubmit = () => {
|
|
1563
1564
|
var _a;
|
|
@@ -1602,15 +1603,15 @@ const Container$u = () => {
|
|
|
1602
1603
|
});
|
|
1603
1604
|
}
|
|
1604
1605
|
else {
|
|
1605
|
-
onNext(Object.assign(Object.assign(Object.assign({}, params),
|
|
1606
|
+
onNext(Object.assign(Object.assign(Object.assign({}, params), node === null || node === void 0 ? void 0 : node._message), value));
|
|
1606
1607
|
}
|
|
1607
1608
|
};
|
|
1608
1609
|
if (!isShowFooter)
|
|
1609
1610
|
return null;
|
|
1610
1611
|
const found = listNodes.find((nodeItem) => nodeItem.id == activeId);
|
|
1611
1612
|
const isDisabled = disabledNodeList.includes((found === null || found === void 0 ? void 0 : found.type) || '') ||
|
|
1612
|
-
disabledPositionList.includes((found === null || found === void 0 ? void 0 : found.position) || '')
|
|
1613
|
-
|
|
1613
|
+
disabledPositionList.includes((found === null || found === void 0 ? void 0 : found.position) || '');
|
|
1614
|
+
// selectedWithOtherInput
|
|
1614
1615
|
const isDisplayAction = !excludeNodeList.includes((found === null || found === void 0 ? void 0 : found.type) || '');
|
|
1615
1616
|
return (React__default.createElement(StyledWrap$p, { "data-show-action": isDisplayAction },
|
|
1616
1617
|
React__default.createElement("button", { onClick: onStartOver, "data-event-category": "Service Connection", "data-event-action": "Risk Screening Start Over", "data-event-label": currentUrl, "data-bot-id": params.bot_id, className: "si-footer-start-over", disabled: Boolean((botItem === null || botItem === void 0 ? void 0 : botItem.subot_field_type) && activeId == (listNodes === null || listNodes === void 0 ? void 0 : listNodes[1].id)) },
|
|
@@ -5416,21 +5417,9 @@ const stylesTextarea = {
|
|
|
5416
5417
|
boxShadow: '0px 0px 0px 2px var(--subot-inline-primary-color-300) !important',
|
|
5417
5418
|
},
|
|
5418
5419
|
},
|
|
5419
|
-
};
|
|
5420
|
-
const stylesButtonSubmitOther = {
|
|
5421
|
-
root: {
|
|
5422
|
-
':not(:disabled)': {
|
|
5423
|
-
backgroundColor: 'var(--subot-inline-primary-color) !important',
|
|
5424
|
-
'&:hover': {
|
|
5425
|
-
backgroundColor: 'var(--subot-inline-primary-color-hover) !important',
|
|
5426
|
-
},
|
|
5427
|
-
},
|
|
5428
|
-
},
|
|
5429
5420
|
};
|
|
5430
5421
|
|
|
5431
5422
|
const Container$a = ({ action, onChange, active, htmlType, formSubmitMeta, }) => {
|
|
5432
|
-
const timeoutId = useRef(null);
|
|
5433
|
-
const { formatMessage: f } = useContext(TogetherComponentGlobalContext);
|
|
5434
5423
|
const currentUrl = useCurrentUrl();
|
|
5435
5424
|
const inputRef = useRef(null);
|
|
5436
5425
|
const [otherText, setOtherText] = useState('');
|
|
@@ -5438,14 +5427,6 @@ const Container$a = ({ action, onChange, active, htmlType, formSubmitMeta, }) =>
|
|
|
5438
5427
|
const isActionPollWithOther = (action === null || action === void 0 ? void 0 : action.type) === NodeActionType.POLL_CHOICE_TEXT_BY_INPUT;
|
|
5439
5428
|
const isActionSelectWithOther = (action === null || action === void 0 ? void 0 : action.type) === NodeActionType.USER_CHOICE_TEXT_BY_INPUT ||
|
|
5440
5429
|
isActionPollWithOther;
|
|
5441
|
-
const actionSubmitted = isActionPollWithOther
|
|
5442
|
-
? {
|
|
5443
|
-
key: action === null || action === void 0 ? void 0 : action.key,
|
|
5444
|
-
control: ELEMENT_CONTROL_INPUT_TYPE[action === null || action === void 0 ? void 0 : action.type],
|
|
5445
|
-
value: '',
|
|
5446
|
-
action_id: action === null || action === void 0 ? void 0 : action.id,
|
|
5447
|
-
}
|
|
5448
|
-
: action;
|
|
5449
5430
|
useEffect(() => {
|
|
5450
5431
|
var _a, _b;
|
|
5451
5432
|
if (active) {
|
|
@@ -5453,45 +5434,24 @@ const Container$a = ({ action, onChange, active, htmlType, formSubmitMeta, }) =>
|
|
|
5453
5434
|
(_b = inputRef.current) === null || _b === void 0 ? void 0 : _b.focus();
|
|
5454
5435
|
}
|
|
5455
5436
|
}, [active, formSubmitMeta]);
|
|
5456
|
-
const handleClickWithFormMeta = () => {
|
|
5457
|
-
if (otherText) {
|
|
5458
|
-
onChange &&
|
|
5459
|
-
onChange(actionSubmitted, [
|
|
5460
|
-
{
|
|
5461
|
-
key: KEY_OF_TEXT_CHOICE_WITH_OTHER_FIELD,
|
|
5462
|
-
control: 'text',
|
|
5463
|
-
value: otherText,
|
|
5464
|
-
},
|
|
5465
|
-
]);
|
|
5466
|
-
}
|
|
5467
|
-
};
|
|
5468
5437
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5469
5438
|
const onChangeTextArea = (evt) => {
|
|
5470
5439
|
setOtherText(evt.target.value);
|
|
5471
|
-
|
|
5472
|
-
|
|
5473
|
-
|
|
5474
|
-
|
|
5475
|
-
|
|
5476
|
-
|
|
5477
|
-
|
|
5478
|
-
|
|
5479
|
-
value: evt.target.value,
|
|
5480
|
-
},
|
|
5481
|
-
]);
|
|
5482
|
-
}, 300);
|
|
5483
|
-
}
|
|
5440
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(action, [
|
|
5441
|
+
{
|
|
5442
|
+
key: KEY_OF_TEXT_CHOICE_WITH_OTHER_FIELD,
|
|
5443
|
+
control: 'text',
|
|
5444
|
+
value: evt.target.value,
|
|
5445
|
+
action_id: action === null || action === void 0 ? void 0 : action.id,
|
|
5446
|
+
},
|
|
5447
|
+
]);
|
|
5484
5448
|
};
|
|
5485
5449
|
return (React__default.createElement(React__default.Fragment, null,
|
|
5486
|
-
React__default.createElement(StyledWrap$5, { id: "si-action-text-choice", active: !!active, onClick: () => onChange
|
|
5450
|
+
React__default.createElement(StyledWrap$5, { id: "si-action-text-choice", active: !!active, onClick: () => onChange === null || onChange === void 0 ? void 0 : onChange(action), "data-event-category": "Service Connection", "data-event-action": "Risk Screening Answer Click", "data-event-label": currentUrl, "data-bot-id": params.bot_id },
|
|
5487
5451
|
React__default.createElement(StyledRadioIcon, { active: !!active }, htmlType === 'checkbox' && (React__default.createElement(Checkbox, { className: "icon-checkbox", viewBox: "0 0 22 22" }))),
|
|
5488
5452
|
React__default.createElement("div", { className: "label" }, action === null || action === void 0 ? void 0 : action.label)),
|
|
5489
5453
|
isActionSelectWithOther && active && (React__default.createElement(Box, { px: "2px", style: { textAlign: 'right' } },
|
|
5490
|
-
React__default.createElement(Textarea, { ref: inputRef, placeholder: action === null || action === void 0 ? void 0 : action.label, styles: stylesTextarea, value: otherText, onChange: onChangeTextArea, maxLength: 360 })
|
|
5491
|
-
!isActionPollWithOther && (React__default.createElement(Button, { size: "sm", mt: "5px", styles: stylesButtonSubmitOther, disabled: !otherText, onClick: handleClickWithFormMeta }, f({
|
|
5492
|
-
id: 'feedback.submit',
|
|
5493
|
-
defaultMessage: 'Submit',
|
|
5494
|
-
})))))));
|
|
5454
|
+
React__default.createElement(Textarea, { ref: inputRef, placeholder: action === null || action === void 0 ? void 0 : action.label, styles: stylesTextarea, value: otherText, onChange: onChangeTextArea, maxLength: 360 })))));
|
|
5495
5455
|
};
|
|
5496
5456
|
Container$a.displayName = 'SubotInlineActionTextChoice';
|
|
5497
5457
|
|
|
@@ -5651,34 +5611,49 @@ const Container$5 = ({ node, indexNumber }) => {
|
|
|
5651
5611
|
}
|
|
5652
5612
|
return [];
|
|
5653
5613
|
}, [value, value === null || value === void 0 ? void 0 : value.selected_actions]);
|
|
5654
|
-
const handleOnChange = (action) => __awaiter(void 0, void 0, void 0, function* () {
|
|
5655
|
-
|
|
5656
|
-
|
|
5657
|
-
|
|
5658
|
-
|
|
5659
|
-
|
|
5660
|
-
|
|
5661
|
-
|
|
5662
|
-
|
|
5663
|
-
|
|
5664
|
-
|
|
5665
|
-
|
|
5666
|
-
|
|
5667
|
-
|
|
5668
|
-
|
|
5669
|
-
|
|
5670
|
-
|
|
5671
|
-
|
|
5672
|
-
|
|
5673
|
-
|
|
5674
|
-
|
|
5675
|
-
|
|
5614
|
+
const handleOnChange = (action, formSubmitMeta) => __awaiter(void 0, void 0, void 0, function* () {
|
|
5615
|
+
var _b, _c;
|
|
5616
|
+
if (action) {
|
|
5617
|
+
const _value = JSON.parse(JSON.stringify(Object.assign(Object.assign({}, value), { action_id: submitButton === null || submitButton === void 0 ? void 0 : submitButton.id, action_value: submitButton === null || submitButton === void 0 ? void 0 : submitButton.key, selected_actions: Object.assign({}, value === null || value === void 0 ? void 0 : value.selected_actions) })));
|
|
5618
|
+
if ((action === null || action === void 0 ? void 0 : action.type) === NodeActionType.POLL_CHOICE_TEXT_BY_INPUT ||
|
|
5619
|
+
(action === null || action === void 0 ? void 0 : action.type) === NodeActionType.USER_CHOICE_TEXT_BY_INPUT) {
|
|
5620
|
+
const isExistedPoll = (_value === null || _value === void 0 ? void 0 : _value.selected_actions) && action.id in _value.selected_actions;
|
|
5621
|
+
if (isExistedPoll) {
|
|
5622
|
+
if (formSubmitMeta) {
|
|
5623
|
+
_value.form_submit_meta = formSubmitMeta;
|
|
5624
|
+
}
|
|
5625
|
+
else {
|
|
5626
|
+
delete _value.form_submit_meta;
|
|
5627
|
+
(_b = _value.selected_actions) === null || _b === void 0 ? true : delete _b[action.id];
|
|
5628
|
+
}
|
|
5629
|
+
}
|
|
5630
|
+
else {
|
|
5631
|
+
if (action === null || action === void 0 ? void 0 : action.id) {
|
|
5632
|
+
_value.selected_actions = Object.assign(Object.assign({}, _value.selected_actions), { [action.id]: action.key || '' });
|
|
5633
|
+
}
|
|
5634
|
+
}
|
|
5635
|
+
setValue(_value);
|
|
5636
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(_value);
|
|
5637
|
+
return;
|
|
5638
|
+
}
|
|
5639
|
+
if (!((_c = _value.selected_actions) === null || _c === void 0 ? void 0 : _c[action.id])) {
|
|
5640
|
+
_value.selected_actions = Object.assign(Object.assign({}, _value.selected_actions), { [action.id]: action.key || '' });
|
|
5641
|
+
onChange && onChange(_value);
|
|
5642
|
+
setValue(_value);
|
|
5643
|
+
return;
|
|
5644
|
+
}
|
|
5645
|
+
if (_value.selected_actions[action.id]) {
|
|
5646
|
+
delete _value.selected_actions[action.id];
|
|
5647
|
+
onChange && onChange(_value);
|
|
5648
|
+
setValue(_value);
|
|
5649
|
+
return;
|
|
5650
|
+
}
|
|
5676
5651
|
}
|
|
5677
5652
|
});
|
|
5678
5653
|
const actionsRemoveMultipleBtn = (_a = node === null || node === void 0 ? void 0 : node.actions) === null || _a === void 0 ? void 0 : _a.filter((a) => a.type !== NodeActionType.ACTION_MULTIPLE_BUTTON);
|
|
5679
5654
|
return (React__default.createElement(StyledWrap$3, { id: "si-node-text" },
|
|
5680
5655
|
React__default.createElement(Container$h, { intents: (node === null || node === void 0 ? void 0 : node.intents) || [], indexNumber: indexNumber }),
|
|
5681
|
-
React__default.createElement(Container$7, { value: activeActions, actions: actionsRemoveMultipleBtn, onChange: handleOnChange })));
|
|
5656
|
+
React__default.createElement(Container$7, { value: activeActions, actions: actionsRemoveMultipleBtn, onChange: handleOnChange, formSubmitMeta: value === null || value === void 0 ? void 0 : value.form_submit_meta })));
|
|
5682
5657
|
};
|
|
5683
5658
|
Container$5.displayName = 'SubotInlineNodeMultipleContainer';
|
|
5684
5659
|
|
|
@@ -5722,8 +5697,7 @@ const StyledWrap$2 = styled.div `
|
|
|
5722
5697
|
`;
|
|
5723
5698
|
|
|
5724
5699
|
const Container$4 = ({ node, indexNumber }) => {
|
|
5725
|
-
|
|
5726
|
-
const { params, setIsShowFooter } = useContext(SubotInlineContext);
|
|
5700
|
+
const { onChange, setIsShowFooter } = useContext(SubotInlineContext);
|
|
5727
5701
|
const { value, setValue } = useContext(NodeContext);
|
|
5728
5702
|
const descriptionNode = useDescriptionPollNode({ node });
|
|
5729
5703
|
useMemo(() => {
|
|
@@ -5740,48 +5714,41 @@ const Container$4 = ({ node, indexNumber }) => {
|
|
|
5740
5714
|
return null;
|
|
5741
5715
|
}, [node === null || node === void 0 ? void 0 : node.actions]);
|
|
5742
5716
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5743
|
-
const handleOnChange = (
|
|
5744
|
-
|
|
5745
|
-
|
|
5746
|
-
|
|
5747
|
-
|
|
5748
|
-
|
|
5749
|
-
|
|
5750
|
-
|
|
5751
|
-
|
|
5752
|
-
|
|
5753
|
-
|
|
5754
|
-
const formUpdateIndex = currentSubmitMeta.findIndex(({ action_id }) => action_id === formValue.action_id);
|
|
5755
|
-
/**
|
|
5756
|
-
* The current logic when onChange is called will remove/add this poll action in the submit meta
|
|
5757
|
-
* But IF the onChange is called due to the input text other, this action will be not removed from the previous list
|
|
5758
|
-
*/
|
|
5759
|
-
if (formUpdateIndex !== -1) {
|
|
5760
|
-
tmpFormSubmitMeta = [
|
|
5761
|
-
...currentSubmitMeta.slice(0, formUpdateIndex),
|
|
5762
|
-
...currentSubmitMeta.slice(formUpdateIndex + 1),
|
|
5763
|
-
];
|
|
5764
|
-
}
|
|
5765
|
-
else {
|
|
5766
|
-
if (!is_multi_select) {
|
|
5767
|
-
tmpFormSubmitMeta = [Object.assign({}, formValue)];
|
|
5768
|
-
}
|
|
5769
|
-
else {
|
|
5770
|
-
tmpFormSubmitMeta = [...currentSubmitMeta];
|
|
5771
|
-
tmpFormSubmitMeta.push(formValue);
|
|
5772
|
-
}
|
|
5773
|
-
}
|
|
5717
|
+
const handleOnChange = (action, formSubmitMeta) => {
|
|
5718
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
5719
|
+
const newValue = JSON.parse(JSON.stringify(Object.assign(Object.assign({}, value), { node_id: node.id, action_id: submitButton === null || submitButton === void 0 ? void 0 : submitButton.id, action_value: submitButton === null || submitButton === void 0 ? void 0 : submitButton.key, form_submit_meta: [...((value === null || value === void 0 ? void 0 : value.form_submit_meta) || [])] })));
|
|
5720
|
+
if ((action === null || action === void 0 ? void 0 : action.type) === NodeActionType.POLL_CHOICE_TEXT_BY_INPUT ||
|
|
5721
|
+
(action === null || action === void 0 ? void 0 : action.type) === NodeActionType.USER_CHOICE_TEXT_BY_INPUT) {
|
|
5722
|
+
const isExistedPoll = (_a = newValue.form_submit_meta) === null || _a === void 0 ? void 0 : _a.some(({ action_id }) => action_id === action.id);
|
|
5723
|
+
if (isExistedPoll) {
|
|
5724
|
+
newValue.form_submit_meta =
|
|
5725
|
+
typeof formSubmitMeta === 'undefined'
|
|
5726
|
+
? (_b = newValue.form_submit_meta) === null || _b === void 0 ? void 0 : _b.filter(({ action_id }) => action_id !== action.id)
|
|
5727
|
+
: (_c = newValue.form_submit_meta) === null || _c === void 0 ? void 0 : _c.filter(({ action_id }) => action_id !== action.id).concat(formSubmitMeta);
|
|
5774
5728
|
}
|
|
5775
5729
|
else {
|
|
5776
|
-
|
|
5730
|
+
newValue.form_submit_meta = (_d = newValue.form_submit_meta) === null || _d === void 0 ? void 0 : _d.concat([
|
|
5731
|
+
{
|
|
5732
|
+
key: action === null || action === void 0 ? void 0 : action.key,
|
|
5733
|
+
control: ELEMENT_CONTROL_INPUT_TYPE[action === null || action === void 0 ? void 0 : action.type] || 'text',
|
|
5734
|
+
value: '',
|
|
5735
|
+
action_id: action === null || action === void 0 ? void 0 : action.id,
|
|
5736
|
+
},
|
|
5737
|
+
]);
|
|
5777
5738
|
}
|
|
5778
|
-
|
|
5779
|
-
|
|
5780
|
-
|
|
5781
|
-
|
|
5782
|
-
|
|
5783
|
-
|
|
5739
|
+
setValue(newValue);
|
|
5740
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
5741
|
+
return;
|
|
5742
|
+
}
|
|
5743
|
+
const isPoll = (_e = newValue.form_submit_meta) === null || _e === void 0 ? void 0 : _e.some(({ action_id }) => action_id === (action === null || action === void 0 ? void 0 : action.action_id));
|
|
5744
|
+
if (isPoll) {
|
|
5745
|
+
newValue.form_submit_meta = (_f = newValue.form_submit_meta) === null || _f === void 0 ? void 0 : _f.filter(({ action_id }) => action_id !== (action === null || action === void 0 ? void 0 : action.action_id));
|
|
5784
5746
|
}
|
|
5747
|
+
else {
|
|
5748
|
+
newValue.form_submit_meta = (_g = newValue.form_submit_meta) === null || _g === void 0 ? void 0 : _g.concat([action]);
|
|
5749
|
+
}
|
|
5750
|
+
setValue(newValue);
|
|
5751
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
5785
5752
|
};
|
|
5786
5753
|
const activeActions = useMemo(() => {
|
|
5787
5754
|
if (value === null || value === void 0 ? void 0 : value.form_submit_meta) {
|
|
@@ -5789,10 +5756,14 @@ const Container$4 = ({ node, indexNumber }) => {
|
|
|
5789
5756
|
}
|
|
5790
5757
|
return [];
|
|
5791
5758
|
}, [value, value === null || value === void 0 ? void 0 : value.form_submit_meta]);
|
|
5759
|
+
useEffect(() => {
|
|
5760
|
+
console.log('adfsafsdf');
|
|
5761
|
+
setValue(node === null || node === void 0 ? void 0 : node._message);
|
|
5762
|
+
}, []);
|
|
5792
5763
|
return (React__default.createElement(StyledWrap$2, null,
|
|
5793
5764
|
React__default.createElement(Container$h, { intents: node.intents || [], indexNumber: indexNumber }),
|
|
5794
5765
|
React__default.createElement("p", { className: "si-poll-description" }, descriptionNode),
|
|
5795
|
-
React__default.createElement(Container$7, { node_type: node === null || node === void 0 ? void 0 : node.type, value: activeActions, actions: node === null || node === void 0 ? void 0 : node.actions, onChange: handleOnChange, formSubmitMeta:
|
|
5766
|
+
React__default.createElement(Container$7, { node_type: node === null || node === void 0 ? void 0 : node.type, value: activeActions, actions: node === null || node === void 0 ? void 0 : node.actions, onChange: handleOnChange, formSubmitMeta: value === null || value === void 0 ? void 0 : value.form_submit_meta })));
|
|
5796
5767
|
};
|
|
5797
5768
|
Container$4.displayName = 'SubotinlineNodePoll';
|
|
5798
5769
|
|
|
@@ -5863,7 +5834,6 @@ const StyledWrap = styled.div `
|
|
|
5863
5834
|
`;
|
|
5864
5835
|
|
|
5865
5836
|
const Container$2 = ({ node, indexNumber }) => {
|
|
5866
|
-
var _a;
|
|
5867
5837
|
const { params, onSubmit, setIsShowFooter, listNodes, activeId, setLoading, onChange, } = useContext(SubotInlineContext);
|
|
5868
5838
|
const { value, setValue } = useContext(NodeContext);
|
|
5869
5839
|
useMemo(() => {
|
|
@@ -5883,7 +5853,7 @@ const Container$2 = ({ node, indexNumber }) => {
|
|
|
5883
5853
|
const res = yield subotInlineMessage(newParams);
|
|
5884
5854
|
setLoading(false);
|
|
5885
5855
|
if ((res === null || res === void 0 ? void 0 : res._status) === 1) {
|
|
5886
|
-
const
|
|
5856
|
+
const _a = res === null || res === void 0 ? void 0 : res._data, { node } = _a, restData = __rest(_a, ["node"]);
|
|
5887
5857
|
const nextNode = Object.assign(Object.assign({}, node), { _message: Object.assign(Object.assign({}, restData), { node_id: node.id }) });
|
|
5888
5858
|
onSubmit(nextNode, newParams);
|
|
5889
5859
|
}
|
|
@@ -5891,28 +5861,21 @@ const Container$2 = ({ node, indexNumber }) => {
|
|
|
5891
5861
|
const handleOnChange = (action, formSubmitMeta) => __awaiter(void 0, void 0, void 0, function* () {
|
|
5892
5862
|
if (!action)
|
|
5893
5863
|
return;
|
|
5894
|
-
const
|
|
5895
|
-
|
|
5896
|
-
|
|
5897
|
-
|
|
5864
|
+
const actionWithOther = (action === null || action === void 0 ? void 0 : action.type) === NodeActionType.USER_CHOICE_TEXT_BY_INPUT ||
|
|
5865
|
+
(action === null || action === void 0 ? void 0 : action.type) === NodeActionType.POLL_CHOICE_TEXT_BY_INPUT;
|
|
5866
|
+
const newValue = Object.assign(Object.assign({}, value), { action_id: action === null || action === void 0 ? void 0 : action.id, action_value: action === null || action === void 0 ? void 0 : action.key, form_submit_meta: formSubmitMeta });
|
|
5867
|
+
if (actionWithOther) {
|
|
5868
|
+
setValue(newValue);
|
|
5869
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
5898
5870
|
return;
|
|
5899
5871
|
}
|
|
5900
|
-
|
|
5901
|
-
|
|
5902
|
-
|
|
5903
|
-
setLoading(true);
|
|
5904
|
-
const res = yield subotInlineMessage(newParams);
|
|
5905
|
-
setLoading(false);
|
|
5906
|
-
if ((res === null || res === void 0 ? void 0 : res._status) === 1) {
|
|
5907
|
-
const _c = res === null || res === void 0 ? void 0 : res._data, { node } = _c, restData = __rest(_c, ["node"]);
|
|
5908
|
-
const nextNode = Object.assign(Object.assign({}, node), { _message: Object.assign(Object.assign({}, restData), { node_id: node.id }) });
|
|
5909
|
-
onSubmit(nextNode, newParams);
|
|
5910
|
-
}
|
|
5911
|
-
}
|
|
5872
|
+
delete newValue.form_submit_meta;
|
|
5873
|
+
setValue(newValue);
|
|
5874
|
+
handleOnChangeNormal(action);
|
|
5912
5875
|
});
|
|
5913
5876
|
return (React__default.createElement(StyledWrap, { id: "si-node-text" },
|
|
5914
5877
|
React__default.createElement(Container$h, { intents: (node === null || node === void 0 ? void 0 : node.intents) || [], indexNumber: indexNumber }),
|
|
5915
|
-
React__default.createElement(Container$7, { value: (value === null || value === void 0 ? void 0 : value.action_id) ? [value === null || value === void 0 ? void 0 : value.action_id] : [], actions: node === null || node === void 0 ? void 0 : node.actions, onChange: handleOnChange, formSubmitMeta:
|
|
5878
|
+
React__default.createElement(Container$7, { value: (value === null || value === void 0 ? void 0 : value.action_id) ? [value === null || value === void 0 ? void 0 : value.action_id] : [], actions: node === null || node === void 0 ? void 0 : node.actions, onChange: handleOnChange, formSubmitMeta: value === null || value === void 0 ? void 0 : value.form_submit_meta })));
|
|
5916
5879
|
};
|
|
5917
5880
|
Container$2.displayName = 'SubotInlineNodeTextContainer';
|
|
5918
5881
|
|
|
@@ -1,58 +1,58 @@
|
|
|
1
1
|
import 'react';
|
|
2
2
|
import '@mantine/core';
|
|
3
|
-
export { S as SurveyOrPremiumBanner } from './index-
|
|
4
|
-
import './utils-
|
|
5
|
-
import './index-
|
|
6
|
-
import './index-
|
|
3
|
+
export { S as SurveyOrPremiumBanner } from './index-febb64f7.js';
|
|
4
|
+
import './utils-9662d944.js';
|
|
5
|
+
import './index-c407454a.js';
|
|
6
|
+
import './index-46ba5ef1.js';
|
|
7
7
|
import './constantsDomainLocales.js';
|
|
8
|
-
import './Locale-
|
|
8
|
+
import './Locale-91a0ee98.js';
|
|
9
9
|
import './constantsIsProduction.js';
|
|
10
|
-
import './index-
|
|
10
|
+
import './index-c8f4eec2.js';
|
|
11
11
|
import 'date-fns/locale';
|
|
12
|
-
import './index-
|
|
12
|
+
import './index-5b1abe33.js';
|
|
13
13
|
import './constantsSite.js';
|
|
14
14
|
import './constantsRiskScreener.js';
|
|
15
|
-
import './tslib.es6-
|
|
16
|
-
import './store-
|
|
15
|
+
import './tslib.es6-49ca40fa.js';
|
|
16
|
+
import './store-a60898cd.js';
|
|
17
17
|
import 'zustand';
|
|
18
|
-
import './normalizeLink-
|
|
18
|
+
import './normalizeLink-1a9aaef2.js';
|
|
19
19
|
import './miscCookieHelper.js';
|
|
20
|
-
import './useScreenSize-
|
|
20
|
+
import './useScreenSize-1c07e0db.js';
|
|
21
21
|
import '@emotion/styled';
|
|
22
|
-
import './utils-
|
|
22
|
+
import './utils-91df31b9.js';
|
|
23
23
|
import '@mantine/form';
|
|
24
|
-
import './index-
|
|
24
|
+
import './index-f9887fb6.js';
|
|
25
25
|
import '@hhgtech/icons/other';
|
|
26
26
|
import '@mantine/hooks';
|
|
27
27
|
import '@mantine/carousel';
|
|
28
|
-
import './index-
|
|
29
|
-
import './other-
|
|
28
|
+
import './index-e17bf4a4.js';
|
|
29
|
+
import './other-191c206c.js';
|
|
30
30
|
import './miscTheme.js';
|
|
31
|
-
import './useMantineLocale-
|
|
31
|
+
import './useMantineLocale-463de4dc.js';
|
|
32
32
|
import '@mantine/notifications';
|
|
33
33
|
import 'dayjs';
|
|
34
|
-
import './index-
|
|
34
|
+
import './index-6885689a.js';
|
|
35
35
|
import 'classnames';
|
|
36
|
-
import './useUniqueId-
|
|
36
|
+
import './useUniqueId-b4e8c44b.js';
|
|
37
37
|
import '@hhgtech/icons/core';
|
|
38
38
|
import '@mantine/dates';
|
|
39
|
-
import './index.styles-
|
|
40
|
-
import './index-
|
|
39
|
+
import './index.styles-ad357f5a.js';
|
|
40
|
+
import './index-a03b7c7e.js';
|
|
41
41
|
import './togetherApiPaths.js';
|
|
42
|
-
import './translationsContext-
|
|
43
|
-
import './index-
|
|
44
|
-
import './useHealthToolCache-
|
|
42
|
+
import './translationsContext-c5c62ce0.js';
|
|
43
|
+
import './index-ec8e3c42.js';
|
|
44
|
+
import './useHealthToolCache-e3ee2c3e.js';
|
|
45
45
|
import './miscGetDynamicHealthTool.js';
|
|
46
|
-
import './core-
|
|
47
|
-
import './index-
|
|
48
|
-
import './WhatsApp-
|
|
49
|
-
import './Spinner-
|
|
50
|
-
import './index-
|
|
51
|
-
import './index-
|
|
46
|
+
import './core-f62195ea.js';
|
|
47
|
+
import './index-a75e6728.js';
|
|
48
|
+
import './WhatsApp-2e16cddf.js';
|
|
49
|
+
import './Spinner-c23d4aa4.js';
|
|
50
|
+
import './index-9391c033.js';
|
|
51
|
+
import './index-fca96fe1.js';
|
|
52
52
|
import 'js-cookie';
|
|
53
53
|
import 'lodash/flatten';
|
|
54
54
|
import 'lodash/uniqBy';
|
|
55
|
-
import './index-
|
|
55
|
+
import './index-c2c0593c.js';
|
|
56
56
|
import 'slugify';
|
|
57
57
|
import 'string-format';
|
|
58
|
-
import './constants-
|
|
58
|
+
import './constants-4c8374b7.js';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export { S as SurveyQuestionCard, a as SurveyThankyouCard } from './surveyThankyouCard-
|
|
1
|
+
export { S as SurveyQuestionCard, a as SurveyThankyouCard } from './surveyThankyouCard-2d7f4cd1.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
import './index-
|
|
4
|
-
import './tslib.es6-
|
|
5
|
-
import './index-
|
|
3
|
+
import './index-4902d406.js';
|
|
4
|
+
import './tslib.es6-49ca40fa.js';
|
|
5
|
+
import './index-6885689a.js';
|
|
6
6
|
import '@mantine/core';
|
|
7
|
-
import './index-
|
|
8
|
-
import './other-
|
|
9
|
-
import './index-
|
|
10
|
-
import './index-
|
|
7
|
+
import './index-e17bf4a4.js';
|
|
8
|
+
import './other-191c206c.js';
|
|
9
|
+
import './index-ec8e3c42.js';
|
|
10
|
+
import './index-ccc5f6e7.js';
|
|
11
11
|
import '@emotion/styled';
|
|
12
12
|
import './miscTheme.js';
|
|
13
|
-
import './utils-
|
|
14
|
-
import './index-
|
|
13
|
+
import './utils-91df31b9.js';
|
|
14
|
+
import './index-fd01690c.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React__default, { useState, useEffect, useRef } from 'react';
|
|
2
|
-
import { B as Button } from './index-
|
|
3
|
-
import { T as Text } from './index-
|
|
4
|
-
import { H as Heading } from './index-
|
|
5
|
-
import { I as Input } from './index-
|
|
6
|
-
import { T as TextArea } from './index-
|
|
2
|
+
import { B as Button } from './index-4902d406.js';
|
|
3
|
+
import { T as Text } from './index-e17bf4a4.js';
|
|
4
|
+
import { H as Heading } from './index-ec8e3c42.js';
|
|
5
|
+
import { I as Input } from './index-ccc5f6e7.js';
|
|
6
|
+
import { T as TextArea } from './index-fd01690c.js';
|
|
7
7
|
import styled from '@emotion/styled';
|
|
8
8
|
import { theme } from './miscTheme.js';
|
|
9
9
|
|