@hhgtech/hhg-components 1.29.315 → 1.29.316-beta-1
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/README.md +2 -0
- package/build/{LastPeriod-399127f3.js → LastPeriod-34b37df4.js} +1 -1
- package/build/{MobileBottomNavigationIcon-85bb8186.js → MobileBottomNavigationIcon-660aac0e.js} +3 -3
- package/build/{Spinner-831813bd.js → Spinner-ed1ca856.js} +1 -1
- package/build/{WhatsApp-c4c30a46.js → WhatsApp-7306443c.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-2f3f4a32.js → constants-6a8aa9db.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-a175766a.js → core-10afa7c3.js} +1 -1
- package/build/{dataTransform-cce542ae.js → dataTransform-71d78436.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-e43de058.js → editor-3a077c3f.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-e1a56a9d.js → LastPeriod-f9f6d746.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-3123ba15.js → MobileBottomNavigationIcon-2a320477.js} +3 -3
- package/build/esm/{Spinner-d28e2789.js → Spinner-6c57685d.js} +1 -1
- package/build/esm/{WhatsApp-e917af5d.js → WhatsApp-35a5267f.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-a30059db.js → constants-54949b20.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-2278a3f4.js → core-38f4ebeb.js} +1 -1
- package/build/esm/{dataTransform-e7d04f1a.js → dataTransform-0994e016.js} +1 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-01cf4588.js → editor-01d72a86.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-246390aa.js → fixedBottomAdBlock-3332c2b3.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 +5 -1
- package/build/esm/i18n-values/hi-IN.js +5 -1
- package/build/esm/i18n-values/id-ID.js +176 -172
- 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-684aad84.js → index-00e7bd3e.js} +20 -20
- package/build/esm/{index-470db0b9.js → index-0294946a.js} +30 -30
- package/build/esm/{index-095d65c4.js → index-05bf45e0.js} +15 -15
- package/build/esm/{index-16867b47.js → index-0fb43e9b.js} +2 -2
- package/build/esm/{index-38e7df62.js → index-111af922.js} +2 -2
- package/build/esm/{index-372b192c.js → index-117d5f70.js} +13 -13
- package/build/esm/{index-4584ac41.js → index-1aa3532c.js} +17 -17
- package/build/esm/{index-f5ca6734.js → index-23110d69.js} +18 -18
- package/build/esm/{index-bb1ff84d.js → index-29bea549.js} +3 -3
- package/build/esm/{index-ec2353dd.js → index-3055fbac.js} +5 -5
- package/build/esm/{index-8daf228c.js → index-329841f7.js} +16 -16
- package/build/esm/{index-0528c887.js → index-34193e01.js} +1 -1
- package/build/esm/{index-8724abda.js → index-3447b6a5.js} +1 -1
- package/build/esm/{index-8f767550.js → index-3a460852.js} +6 -6
- package/build/esm/{index-ab7a2034.js → index-3cd9a616.js} +18 -18
- package/build/esm/{index-3566e22e.js → index-3d39db18.js} +2 -2
- package/build/esm/{index-6a9fb840.js → index-3da1e526.js} +7 -7
- package/build/esm/{index-208f847c.js → index-3fa2668a.js} +11 -11
- package/build/esm/{index-bb35ce33.js → index-3fff3c61.js} +26 -26
- package/build/esm/{index-b3cc4c4e.js → index-44304928.js} +6 -6
- package/build/esm/{index-ecbfffdb.js → index-48653810.js} +3 -3
- package/build/esm/{index-de51ef01.js → index-4c8db98b.js} +2 -2
- package/build/esm/{index-bfd40ed5.js → index-55e5aa45.js} +3 -3
- package/build/esm/index-5718b9b3.js +339 -0
- package/build/esm/{index-113b0d38.js → index-65752d1d.js} +2 -2
- package/build/esm/{index-fbbfa8e1.js → index-6bf3486b.js} +2 -2
- package/build/esm/{index-5b374418.js → index-6e098fe0.js} +32 -32
- package/build/esm/{index-4e1a25c5.js → index-70f74611.js} +3 -3
- package/build/esm/{index-0218cd4c.js → index-73fcb1c7.js} +2 -2
- package/build/esm/{index-64243680.js → index-79e32585.js} +1 -1
- package/build/esm/{index-49e1625e.js → index-7b1bab9c.js} +2 -2
- package/build/esm/{index-7b032cb2.js → index-81c02a2e.js} +2 -2
- package/build/esm/{index-2f1118a0.js → index-83684745.js} +3 -3
- package/build/esm/{index-ef1f0ceb.js → index-8397b404.js} +13 -13
- package/build/esm/{index-ff203f0f.js → index-8783db08.js} +17 -17
- package/build/esm/{index-16ff2dcb.js → index-8bde7f0d.js} +13 -13
- package/build/esm/{index-42893067.js → index-92290615.js} +10 -10
- package/build/esm/{index-c800a73c.js → index-9280cd1f.js} +1 -1
- package/build/esm/{index-df6c41d1.js → index-938fe883.js} +4 -4
- package/build/esm/{index-a918e93d.js → index-973a68e1.js} +6 -6
- package/build/esm/{index-72469c93.js → index-9c1b0158.js} +16 -16
- package/build/esm/{index-45839ff0.js → index-9de34684.js} +24 -24
- package/build/esm/{index-56dceb35.js → index-a1b499e7.js} +13 -13
- package/build/esm/{index-4ba32059.js → index-a48c9aed.js} +1 -1
- package/build/esm/{index-09ae8772.js → index-a5f88e9b.js} +3 -3
- package/build/esm/{index-0b52c6d7.js → index-aec60fbf.js} +16 -16
- package/build/esm/{index-25a8eee9.js → index-b6d62d7a.js} +5 -5
- package/build/esm/{index-af8b68f3.js → index-c6ca8fb0.js} +2 -2
- package/build/esm/{index-09e90ce8.js → index-c9d9d8ce.js} +7 -7
- package/build/esm/{index-9ada7ed7.js → index-cf913a17.js} +15 -15
- package/build/esm/{index-fdca539f.js → index-d9432e2e.js} +1 -1
- package/build/esm/{index-5b7bc292.js → index-e0ace45a.js} +16 -16
- package/build/esm/{index-fe12e954.js → index-e0f26deb.js} +2 -2
- package/build/esm/{index-a9d08a7a.js → index-e1f93ef2.js} +2 -2
- package/build/esm/{index-b551f961.js → index-ea7ea9e1.js} +1 -1
- package/build/esm/{index-162fd73d.js → index-ee106422.js} +21 -21
- package/build/esm/{index-dddecf13.js → index-ef15fedd.js} +6 -6
- package/build/esm/{index-a8aa5875.js → index-f9881ebe.js} +1 -1
- package/build/esm/{index-ef46126e.js → index-fc84913e.js} +17 -17
- package/build/esm/{index-d85c6d43.js → index-fefca0c1.js} +2 -2
- package/build/esm/{index-0ab3dc50.js → index-ff72cb91.js} +3 -3
- package/build/esm/index.js +112 -112
- package/build/esm/{labelSorting-371d5720.js → labelSorting-5962606b.js} +4 -4
- package/build/esm/lead.js +24 -24
- package/build/esm/{logoIcon-c230ea02.js → logoIcon-eced2050.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-3c3525dc.js → post-12a0d4e7.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 +1 -0
- package/build/esm/ssoV2/api/paths.d.ts +7 -0
- package/build/esm/ssoV2/api/phoneUtils.d.ts +1 -1
- package/build/esm/ssoV2/api/whatsapp.d.ts +6 -0
- package/build/esm/ssoV2/screens/components/progressBar.d.ts +1 -0
- package/build/esm/ssoV2/screens/components/whatsapp.d.ts +5 -0
- package/build/esm/ssoV2/screens/otp.d.ts +1 -1
- package/build/esm/ssoV2/ssoStateManager/store.d.ts +7 -1
- package/build/esm/ssoV2/utils.d.ts +3 -0
- package/build/esm/ssoV2.js +380 -83
- package/build/esm/{store-d17bd9ef.js → store-108246fc.js} +110 -9
- 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-dae6de80.js → surveyThankyouCard-57b7d6b2.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-306841ea.js → treePopoverMenu-61e476ad.js} +19 -19
- package/build/esm/{types-5996a251.js → types-17cacc19.js} +2 -2
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-09d3585b.js → useCategory-55f0baaf.js} +5 -5
- package/build/esm/{useHealthToolCache-5a7f86be.js → useHealthToolCache-b3226603.js} +1 -1
- package/build/esm/{useMantineLocale-d71ce863.js → useMantineLocale-8c14491b.js} +6 -6
- package/build/esm/{usePlacesAutocomplete-09c8cc83.js → usePlacesAutocomplete-66b0d809.js} +1 -1
- package/build/esm/{useScreenSize-fbbdb880.js → useScreenSize-0647731b.js} +2 -2
- package/build/esm/useTogetherAuthRequiredAction.js +9 -9
- package/build/esm/{utils-f8a0118f.js → utils-07d74e85.js} +3 -3
- package/build/esm/{utils-c6ca6c1f.js → utils-7aed94bb.js} +2 -2
- package/build/esm/{utils-1a19bf54.js → utils-9ed76cdd.js} +2 -2
- package/build/esm/vaccination.js +21 -21
- package/build/{fixedBottomAdBlock-26545433.js → fixedBottomAdBlock-116de75c.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 +5 -1
- package/build/i18n-values/hi-IN.js +5 -1
- package/build/i18n-values/id-ID.js +176 -172
- 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-01227484.js +341 -0
- package/build/{index-24a26c24.js → index-0776c11d.js} +13 -13
- package/build/{index-3a03c4db.js → index-12120918.js} +16 -16
- package/build/{index-6f1ce4f1.js → index-14598628.js} +2 -2
- package/build/{index-437b5a73.js → index-1a23d98f.js} +2 -2
- package/build/{index-f024ff39.js → index-2570ab00.js} +2 -2
- package/build/{index-f9254156.js → index-297debb8.js} +11 -11
- package/build/{index-2556df99.js → index-2e2a1367.js} +17 -17
- package/build/{index-4e288c53.js → index-2f5f93b3.js} +1 -1
- package/build/{index-7cafd690.js → index-2fc75787.js} +3 -3
- package/build/{index-089e4816.js → index-32ae88c3.js} +2 -2
- package/build/{index-57470259.js → index-3c59e84a.js} +21 -21
- package/build/{index-77ba4766.js → index-3f4829a9.js} +32 -32
- package/build/{index-11cfbfc6.js → index-443adfdc.js} +6 -6
- package/build/{index-e3af0d00.js → index-455ba5c6.js} +2 -2
- package/build/{index-7ebfc000.js → index-45e44602.js} +5 -5
- package/build/{index-38c79b62.js → index-460ab1a7.js} +5 -5
- package/build/{index-bc6d0c9e.js → index-477ce830.js} +15 -15
- package/build/{index-3103ff2e.js → index-49e3b0f2.js} +18 -18
- package/build/{index-057c5667.js → index-4dfd5905.js} +6 -6
- package/build/{index-70faa125.js → index-5a62e727.js} +3 -3
- package/build/{index-6412753c.js → index-6f7f3279.js} +1 -1
- package/build/{index-d1b9e7ac.js → index-7136c4ef.js} +15 -15
- package/build/{index-d4f0cea1.js → index-717d3929.js} +13 -13
- package/build/{index-e0761f4a.js → index-722cb11b.js} +1 -1
- package/build/{index-877cc53a.js → index-7f3f6477.js} +16 -16
- package/build/{index-53d6a276.js → index-7f978ff0.js} +13 -13
- package/build/{index-1de56fca.js → index-84ca7330.js} +3 -3
- package/build/{index-735554f4.js → index-85ced4b6.js} +2 -2
- package/build/{index-a99e0254.js → index-86c988c4.js} +2 -2
- package/build/{index-9f60ef69.js → index-8ad8f765.js} +16 -16
- package/build/{index-eb7ca401.js → index-8c6cdc73.js} +1 -1
- package/build/{index-6926c114.js → index-90e714d8.js} +7 -7
- package/build/{index-38e8e374.js → index-913a35c4.js} +6 -6
- package/build/{index-b4b2076e.js → index-95b1acc1.js} +17 -17
- package/build/{index-28d5cd45.js → index-994eb160.js} +13 -13
- package/build/{index-aa3468fd.js → index-9a86bbef.js} +2 -2
- package/build/{index-ebec9d07.js → index-a441e5b4.js} +20 -20
- package/build/{index-26c1154c.js → index-a81f3165.js} +26 -26
- package/build/{index-ebb62b99.js → index-abc5f635.js} +1 -1
- package/build/{index-1c545b22.js → index-af9fb8fd.js} +1 -1
- package/build/{index-ad8df46f.js → index-b1715e8e.js} +7 -7
- package/build/{index-8e6c5fb1.js → index-b77c44aa.js} +2 -2
- package/build/{index-03b5388a.js → index-b95a650e.js} +4 -4
- package/build/{index-22ee39ae.js → index-ba43efda.js} +3 -3
- package/build/{index-7e6afe52.js → index-c07a381d.js} +10 -10
- package/build/{index-67be90f0.js → index-caeacfe2.js} +16 -16
- package/build/{index-e6f53fbf.js → index-cd249e7e.js} +17 -17
- package/build/{index-07bfb8de.js → index-cfd9a1b5.js} +1 -1
- package/build/{index-e562d832.js → index-d42d4f4e.js} +3 -3
- package/build/{index-4248215f.js → index-d559eb88.js} +3 -3
- package/build/{index-80350077.js → index-dac49bb2.js} +24 -24
- package/build/{index-e9163a92.js → index-daf5287e.js} +1 -1
- package/build/{index-c07785a9.js → index-dc87e4ea.js} +2 -2
- package/build/{index-3578de33.js → index-e07ccfd8.js} +2 -2
- package/build/{index-f24da7fa.js → index-e427d681.js} +6 -6
- package/build/{index-5b8f0ddf.js → index-e4d8ed0e.js} +30 -30
- package/build/{index-896d1932.js → index-e507746e.js} +18 -18
- package/build/{index-3ec3e2fe.js → index-e9cf7bec.js} +2 -2
- package/build/{index-24703e8f.js → index-f836d800.js} +2 -2
- package/build/{index-be8d8de4.js → index-fa164746.js} +3 -3
- package/build/index.js +112 -112
- package/build/{labelSorting-7a548a9f.js → labelSorting-2d8cf48b.js} +4 -4
- package/build/lead.js +24 -24
- package/build/{logoIcon-23de57dc.js → logoIcon-c4531a77.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-aa0ddebc.js → post-03e1f319.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 +1 -0
- package/build/ssoV2/api/paths.d.ts +7 -0
- package/build/ssoV2/api/phoneUtils.d.ts +1 -1
- package/build/ssoV2/api/whatsapp.d.ts +6 -0
- package/build/ssoV2/screens/components/progressBar.d.ts +1 -0
- package/build/ssoV2/screens/components/whatsapp.d.ts +5 -0
- package/build/ssoV2/screens/otp.d.ts +1 -1
- package/build/ssoV2/ssoStateManager/store.d.ts +7 -1
- package/build/ssoV2/utils.d.ts +3 -0
- package/build/ssoV2.js +392 -95
- package/build/{store-f2722742.js → store-969f6ea3.js} +110 -8
- 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-b1d823e1.js → surveyThankyouCard-020bc0d2.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-5ff541a6.js → treePopoverMenu-ddabe3b7.js} +19 -19
- package/build/{types-e576b6a9.js → types-5babe4a6.js} +2 -2
- package/build/types.js +2 -2
- package/build/{useCategory-8ffecf7e.js → useCategory-26406521.js} +5 -5
- package/build/{useHealthToolCache-61e43a7c.js → useHealthToolCache-c5640115.js} +1 -1
- package/build/{useMantineLocale-0e8caa51.js → useMantineLocale-760cc21a.js} +6 -6
- package/build/{usePlacesAutocomplete-9f40b301.js → usePlacesAutocomplete-4766c35f.js} +1 -1
- package/build/{useScreenSize-13312268.js → useScreenSize-e874c005.js} +2 -2
- package/build/useTogetherAuthRequiredAction.js +9 -9
- package/build/{utils-d5c452cc.js → utils-66d65b47.js} +2 -2
- package/build/{utils-72804395.js → utils-cef8d174.js} +2 -2
- package/build/{utils-ca8344ca.js → utils-fdba16fd.js} +3 -3
- package/build/vaccination.js +21 -21
- package/package.json +1 -1
- package/build/esm/index-708e9c73.js +0 -275
- package/build/index-40080fb4.js +0 -277
- /package/build/{BMI_BOYS.percentile.monthly-f9b3c3ed.js → BMI_BOYS.percentile.monthly-5bd49f0a.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-e874e4f8.js → BMI_BOYS.percentile.weekly-904749f5.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-4f0502db.js → BMI_BOYS.percentile.yearly-863654cc.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-9a9feb02.js → BMI_BOYS.zscore.monthly-3f4a054f.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-7e72d595.js → BMI_BOYS.zscore.weekly-8babd3f5.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-108178e3.js → BMI_BOYS.zscore.yearly-d3769682.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-6242c62b.js → BMI_GIRLS.percentile.monthly-6b203997.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-0add5702.js → BMI_GIRLS.percentile.weekly-aa5f6e22.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-4152167d.js → BMI_GIRLS.percentile.yearly-afdb044e.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-128ca194.js → BMI_GIRLS.zscore.monthly-d7a0803f.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-ca676528.js → BMI_GIRLS.zscore.weekly-77a13fc8.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-e08c29d1.js → BMI_GIRLS.zscore.yearly-5a432269.js} +0 -0
- /package/build/{ChevronDown-57bc884b.js → ChevronDown-1b373ab2.js} +0 -0
- /package/build/{Close-df830c4c.js → Close-48ed4afc.js} +0 -0
- /package/build/{Google-c89265b8.js → Google-1f8e7fc4.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-87429d30.js → HEAD CIRCUM_BOYS.percentile.monthly-f5d8c463.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-91c4b200.js → HEAD CIRCUM_BOYS.percentile.weekly-0c6f22f5.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-8bc1adee.js → HEAD CIRCUM_BOYS.percentile.yearly-126d9bff.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-5d01881c.js → HEAD CIRCUM_BOYS.zscore.monthly-9e91f80b.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-ee5e76f3.js → HEAD CIRCUM_BOYS.zscore.weekly-c1d0b5ca.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-ae4aa4e7.js → HEAD CIRCUM_BOYS.zscore.yearly-7dc80574.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-fe6a2c2f.js → HEAD CIRCUM_GIRLS.percentile.monthly-59a39053.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-67dfd40d.js → HEAD CIRCUM_GIRLS.percentile.weekly-369d4481.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-ed0b2c26.js → HEAD CIRCUM_GIRLS.percentile.yearly-5797b0cb.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-2aa3bb52.js → HEAD CIRCUM_GIRLS.zscore.monthly-9956f623.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-15d544c3.js → HEAD CIRCUM_GIRLS.zscore.weekly-f214fc7a.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-6f8e2015.js → HEAD CIRCUM_GIRLS.zscore.yearly-9fbed95e.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-60f64abd.js → HEIGHT_BOYS.percentile.monthly-01817e6f.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-ab66b5ed.js → HEIGHT_BOYS.percentile.weekly-81c07ccb.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-fe761b28.js → HEIGHT_BOYS.percentile.yearly-a7775f90.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-ae155fb0.js → HEIGHT_BOYS.zscore.monthly-92a361cd.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-98c6c53f.js → HEIGHT_BOYS.zscore.weekly-bc10aa16.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-c813016f.js → HEIGHT_BOYS.zscore.yearly-63a11b12.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-98798d5e.js → HEIGHT_GIRLS.percentile.monthly-4095aa52.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-c01b3d34.js → HEIGHT_GIRLS.percentile.weekly-bff3f26e.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-7cce68f3.js → HEIGHT_GIRLS.percentile.yearly-4182ccbb.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-991a2021.js → HEIGHT_GIRLS.zscore.monthly-95b09227.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-815080ba.js → HEIGHT_GIRLS.zscore.weekly-ebdc8227.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-475186f4.js → HEIGHT_GIRLS.zscore.yearly-a61e6459.js} +0 -0
- /package/build/{Locale-242593ca.js → Locale-23c60e4b.js} +0 -0
- /package/build/{Visible-403b3b1f.js → Visible-947f7cb1.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-1d5b3264.js → WEIGHT_BOYS.percentile.monthly-ac231776.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-6e79f3ee.js → WEIGHT_BOYS.percentile.weekly-28520fa2.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-51cbb059.js → WEIGHT_BOYS.percentile.yearly-f4713060.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-4fbc17bb.js → WEIGHT_BOYS.zscore.monthly-8ace2871.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-b97b36d9.js → WEIGHT_BOYS.zscore.weekly-704c28d4.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-7ee60f4f.js → WEIGHT_BOYS.zscore.yearly-baf8600a.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-93cb34fd.js → WEIGHT_GIRLS.percentile.monthly-29b043be.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-ce75b87e.js → WEIGHT_GIRLS.percentile.weekly-20bb1650.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-ea8b7b42.js → WEIGHT_GIRLS.percentile.yearly-3553d504.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-9d891d7f.js → WEIGHT_GIRLS.zscore.monthly-1d7b8216.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-19a1b907.js → WEIGHT_GIRLS.zscore.weekly-4d38c49a.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-706d9c0a.js → WEIGHT_GIRLS.zscore.yearly-32d08ee6.js} +0 -0
- /package/build/{animation-8bc157b4.js → animation-1f51f7ab.js} +0 -0
- /package/build/{constants-0656cf3a.js → constants-0ad1f963.js} +0 -0
- /package/build/{constants-fc951ce9.js → constants-9f00ed1f.js} +0 -0
- /package/build/{constants-db39434e.js → constants-c0862d46.js} +0 -0
- /package/build/{dataTransform-95bd8bda.js → dataTransform-c1b3cc1e.js} +0 -0
- /package/build/{doctor-99f2c57d.js → doctor-72daf1dd.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-e8ebdb94.js → BMI_BOYS.percentile.monthly-7c6cb315.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-582ded52.js → BMI_BOYS.percentile.weekly-b413f3fb.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-663ac5fd.js → BMI_BOYS.percentile.yearly-d10e44c5.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-0620b23d.js → BMI_BOYS.zscore.monthly-974c517a.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-1f02f80f.js → BMI_BOYS.zscore.weekly-d92160f0.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-382d10df.js → BMI_BOYS.zscore.yearly-bc4c01b8.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-9ea00934.js → BMI_GIRLS.percentile.monthly-2dccd84e.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-0789b422.js → BMI_GIRLS.percentile.weekly-bd8424ca.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-12b1fb8a.js → BMI_GIRLS.percentile.yearly-8491b035.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-2ed8477a.js → BMI_GIRLS.zscore.monthly-a316be0a.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-f9953d35.js → BMI_GIRLS.zscore.weekly-2bf93772.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-1c9c86dd.js → BMI_GIRLS.zscore.yearly-e6e2c3b4.js} +0 -0
- /package/build/esm/{ChevronDown-9fcd68d0.js → ChevronDown-3afd3e7c.js} +0 -0
- /package/build/esm/{Close-f60d99d7.js → Close-2ab01961.js} +0 -0
- /package/build/esm/{Google-3d9747c5.js → Google-802375a6.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-5946fa4a.js → HEAD CIRCUM_BOYS.percentile.monthly-c95c007f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-4510dce5.js → HEAD CIRCUM_BOYS.percentile.weekly-c0fc7494.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-71af8065.js → HEAD CIRCUM_BOYS.percentile.yearly-aaa76a3f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-846647a4.js → HEAD CIRCUM_BOYS.zscore.monthly-26daeb04.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-9cc1d8f0.js → HEAD CIRCUM_BOYS.zscore.weekly-4e6aa07a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-6c5e9144.js → HEAD CIRCUM_BOYS.zscore.yearly-5661b5a5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-ac83bbb4.js → HEAD CIRCUM_GIRLS.percentile.monthly-4cb70f50.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-f476d80b.js → HEAD CIRCUM_GIRLS.percentile.weekly-02945475.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-892afbe2.js → HEAD CIRCUM_GIRLS.percentile.yearly-4147a245.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-89904c4c.js → HEAD CIRCUM_GIRLS.zscore.monthly-3b20a1f8.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-cfb89312.js → HEAD CIRCUM_GIRLS.zscore.weekly-17eb5783.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-3add5de9.js → HEAD CIRCUM_GIRLS.zscore.yearly-b2fcc0b5.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-ec52a52c.js → HEIGHT_BOYS.percentile.monthly-6a70378a.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-38e8dfde.js → HEIGHT_BOYS.percentile.weekly-98a9db1e.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-26c68fa1.js → HEIGHT_BOYS.percentile.yearly-daf3b611.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-b6d13ac8.js → HEIGHT_BOYS.zscore.monthly-21fa6314.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-aabe88d4.js → HEIGHT_BOYS.zscore.weekly-52b30371.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-d9d437c9.js → HEIGHT_BOYS.zscore.yearly-5826cceb.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-671b7012.js → HEIGHT_GIRLS.percentile.monthly-a98a64be.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-19dba3e3.js → HEIGHT_GIRLS.percentile.weekly-a5b9abb7.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-f6e97862.js → HEIGHT_GIRLS.percentile.yearly-5bff3637.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-73a3b24e.js → HEIGHT_GIRLS.zscore.monthly-fab6b9ee.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-eefa287a.js → HEIGHT_GIRLS.zscore.weekly-b61dda93.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-6cac7595.js → HEIGHT_GIRLS.zscore.yearly-1729368c.js} +0 -0
- /package/build/esm/{Locale-ea5b7a07.js → Locale-0dd490ba.js} +0 -0
- /package/build/esm/{Visible-0368c2c5.js → Visible-a6710587.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-a6a629ac.js → WEIGHT_BOYS.percentile.monthly-92316290.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-e9031c78.js → WEIGHT_BOYS.percentile.weekly-69a6c3c9.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-76f771cc.js → WEIGHT_BOYS.percentile.yearly-874d9029.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-f2c3a740.js → WEIGHT_BOYS.zscore.monthly-996ffdd6.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-f7356de4.js → WEIGHT_BOYS.zscore.weekly-bef4361d.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-5caa0a8c.js → WEIGHT_BOYS.zscore.yearly-b9d3f4ea.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-a0c07f1d.js → WEIGHT_GIRLS.percentile.monthly-87423d71.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-be886c27.js → WEIGHT_GIRLS.percentile.weekly-56d2b840.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-616bf909.js → WEIGHT_GIRLS.percentile.yearly-03550f91.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-3a0b6fec.js → WEIGHT_GIRLS.zscore.monthly-81cbd726.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-1a874a64.js → WEIGHT_GIRLS.zscore.weekly-bebca886.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-bc5062be.js → WEIGHT_GIRLS.zscore.yearly-58c337e8.js} +0 -0
- /package/build/esm/{animation-ff8066cf.js → animation-ce923633.js} +0 -0
- /package/build/esm/{constants-87b40898.js → constants-21682daa.js} +0 -0
- /package/build/esm/{constants-735a8fb5.js → constants-4d9f1c87.js} +0 -0
- /package/build/esm/{constants-7877bb54.js → constants-e9ac5a30.js} +0 -0
- /package/build/esm/{dataTransform-c2734aea.js → dataTransform-c948230f.js} +0 -0
- /package/build/esm/{doctor-f8cb51da.js → doctor-2f400066.js} +0 -0
- /package/build/esm/{index-3fd53512.js → index-155c35c7.js} +0 -0
- /package/build/esm/{index-857c8603.js → index-4528fe47.js} +0 -0
- /package/build/esm/{index-2b64172a.js → index-4add493f.js} +0 -0
- /package/build/esm/{index-96b6c9bc.js → index-7570094f.js} +0 -0
- /package/build/esm/{index-87d5c0ba.js → index-9e00a600.js} +0 -0
- /package/build/esm/{index-02936787.js → index-a1d74ac3.js} +0 -0
- /package/build/esm/{index-75400acc.js → index-ab7326a4.js} +0 -0
- /package/build/esm/{index-8006e885.js → index-ff72f9ad.js} +0 -0
- /package/build/esm/{index.styles-d3a3af89.js → index.styles-f13c39c3.js} +0 -0
- /package/build/esm/{localizeNumberFormat-e2322900.js → localizeNumberFormat-037d09d7.js} +0 -0
- /package/build/esm/{normalizeLink-45cf86db.js → normalizeLink-f41e32a2.js} +0 -0
- /package/build/esm/{other-8260abb5.js → other-bd17927c.js} +0 -0
- /package/build/esm/{paths-2fc7e615.js → paths-d8ff4778.js} +0 -0
- /package/build/esm/{translationsContext-fe99a5d1.js → translationsContext-2ec06a37.js} +0 -0
- /package/build/esm/{tslib.es6-efe99217.js → tslib.es6-6ef4b9f3.js} +0 -0
- /package/build/esm/{types-8a1e28b7.js → types-607cb7cc.js} +0 -0
- /package/build/esm/{useIsInit-2ff78903.js → useIsInit-2f59cb1b.js} +0 -0
- /package/build/esm/{useOutsideClick-73ac8dde.js → useOutsideClick-0c3c3175.js} +0 -0
- /package/build/esm/{useScrollbarSize-4eb2cf40.js → useScrollbarSize-ceb870e7.js} +0 -0
- /package/build/esm/{useUniqueId-c65d984d.js → useUniqueId-e12c81e8.js} +0 -0
- /package/build/esm/{utils-8ec017e2.js → utils-8903f328.js} +0 -0
- /package/build/{index-d9e8c344.js → index-1691d762.js} +0 -0
- /package/build/{index-7a02d5c4.js → index-2aa154a0.js} +0 -0
- /package/build/{index-9fed4f5a.js → index-6f55e008.js} +0 -0
- /package/build/{index-98746357.js → index-7f5562fc.js} +0 -0
- /package/build/{index-65c24006.js → index-822d25d0.js} +0 -0
- /package/build/{index-5e198610.js → index-96761bcd.js} +0 -0
- /package/build/{index-789d670e.js → index-9be46480.js} +0 -0
- /package/build/{index-0c801d40.js → index-ad94809f.js} +0 -0
- /package/build/{index.styles-4c55fb99.js → index.styles-08ca8b79.js} +0 -0
- /package/build/{localizeNumberFormat-f94f5164.js → localizeNumberFormat-1058ac58.js} +0 -0
- /package/build/{normalizeLink-9b8b57c4.js → normalizeLink-14ecc0e7.js} +0 -0
- /package/build/{other-fe759449.js → other-cbb37c7a.js} +0 -0
- /package/build/{paths-d32e0bfd.js → paths-be691266.js} +0 -0
- /package/build/{translationsContext-70cdca66.js → translationsContext-614b0187.js} +0 -0
- /package/build/{tslib.es6-2b428e0e.js → tslib.es6-8590f3e8.js} +0 -0
- /package/build/{types-105aedd6.js → types-f9ab7b40.js} +0 -0
- /package/build/{useIsInit-c48ba996.js → useIsInit-4b629ca5.js} +0 -0
- /package/build/{useOutsideClick-0d18ed47.js → useOutsideClick-8ffa1de0.js} +0 -0
- /package/build/{useScrollbarSize-fb344ed9.js → useScrollbarSize-afee7d0c.js} +0 -0
- /package/build/{useUniqueId-e8768fb8.js → useUniqueId-dabdcbf0.js} +0 -0
- /package/build/{utils-e96269e2.js → utils-60b33bfe.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-34193e01.js';
|
|
3
|
+
import { a as __awaiter, _ as __rest } from './tslib.es6-6ef4b9f3.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-fefca0c1.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-07d74e85.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-29bea549.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-29bea549.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-a1d74ac3.js';
|
|
15
|
+
import { L as Loading } from './index-6bf3486b.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-8903f328.js';
|
|
19
|
+
import { B as Button } from './index-111af922.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-ab7326a4.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-4d9f1c87.js';
|
|
28
28
|
import { v4 } from 'uuid';
|
|
29
|
-
import { T as Text } from './index-
|
|
29
|
+
import { T as Text } from './index-73fcb1c7.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-3fa2668a.js';
|
|
33
33
|
import '@mantine/dates';
|
|
34
|
-
import './useMantineLocale-
|
|
35
|
-
import './index.styles-
|
|
36
|
-
import './translationsContext-
|
|
34
|
+
import './useMantineLocale-8c14491b.js';
|
|
35
|
+
import './index.styles-f13c39c3.js';
|
|
36
|
+
import './translationsContext-2ec06a37.js';
|
|
37
37
|
import '@mantine/hooks';
|
|
38
|
-
import './other-
|
|
39
|
-
import './index-
|
|
38
|
+
import './other-bd17927c.js';
|
|
39
|
+
import './index-ff72cb91.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-66b0d809.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-0dd490ba.js';
|
|
47
|
+
import { D as DatePicker } from './index-4add493f.js';
|
|
48
|
+
import { D as Dropdown } from './index-ff72f9ad.js';
|
|
49
|
+
import { B as Button$1 } from './index-e0f26deb.js';
|
|
50
|
+
import { u as useSSOV2Store, I as IS_SSOV2_ENABLED } from './store-108246fc.js';
|
|
51
51
|
import 'date-fns/locale';
|
|
52
52
|
import './constantsSite.js';
|
|
53
53
|
import './constantsRiskScreener.js';
|
|
54
|
-
import './index-
|
|
54
|
+
import './index-5718b9b3.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-48653810.js';
|
|
59
|
+
import './WhatsApp-35a5267f.js';
|
|
60
|
+
import './Spinner-6c57685d.js';
|
|
61
|
+
import './index-f9881ebe.js';
|
|
62
|
+
import './useScreenSize-0647731b.js';
|
|
63
63
|
import '@mantine/carousel';
|
|
64
|
-
import './useUniqueId-
|
|
64
|
+
import './useUniqueId-e12c81e8.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-f41e32a2.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-9de34684.js';
|
|
4
|
+
import './utils-07d74e85.js';
|
|
5
|
+
import './index-f9881ebe.js';
|
|
6
|
+
import './index-ab7326a4.js';
|
|
7
7
|
import './constantsDomainLocales.js';
|
|
8
|
-
import './Locale-
|
|
8
|
+
import './Locale-0dd490ba.js';
|
|
9
9
|
import './constantsIsProduction.js';
|
|
10
|
-
import './index-
|
|
10
|
+
import './index-fefca0c1.js';
|
|
11
11
|
import 'date-fns/locale';
|
|
12
|
-
import './index-
|
|
12
|
+
import './index-34193e01.js';
|
|
13
13
|
import './constantsSite.js';
|
|
14
14
|
import './constantsRiskScreener.js';
|
|
15
|
-
import './tslib.es6-
|
|
16
|
-
import './store-
|
|
15
|
+
import './tslib.es6-6ef4b9f3.js';
|
|
16
|
+
import './store-108246fc.js';
|
|
17
17
|
import 'zustand';
|
|
18
|
-
import './normalizeLink-
|
|
18
|
+
import './normalizeLink-f41e32a2.js';
|
|
19
19
|
import './miscCookieHelper.js';
|
|
20
|
-
import './useScreenSize-
|
|
20
|
+
import './useScreenSize-0647731b.js';
|
|
21
21
|
import '@emotion/styled';
|
|
22
|
-
import './utils-
|
|
22
|
+
import './utils-8903f328.js';
|
|
23
23
|
import '@mantine/form';
|
|
24
|
-
import './index-
|
|
24
|
+
import './index-3fa2668a.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-73fcb1c7.js';
|
|
29
|
+
import './other-bd17927c.js';
|
|
30
30
|
import './miscTheme.js';
|
|
31
|
-
import './useMantineLocale-
|
|
31
|
+
import './useMantineLocale-8c14491b.js';
|
|
32
32
|
import '@mantine/notifications';
|
|
33
33
|
import 'dayjs';
|
|
34
|
-
import './index-
|
|
34
|
+
import './index-111af922.js';
|
|
35
35
|
import 'classnames';
|
|
36
|
-
import './useUniqueId-
|
|
36
|
+
import './useUniqueId-e12c81e8.js';
|
|
37
37
|
import '@hhgtech/icons/core';
|
|
38
38
|
import '@mantine/dates';
|
|
39
|
-
import './index.styles-
|
|
40
|
-
import './index-
|
|
39
|
+
import './index.styles-f13c39c3.js';
|
|
40
|
+
import './index-ff72cb91.js';
|
|
41
41
|
import './togetherApiPaths.js';
|
|
42
|
-
import './translationsContext-
|
|
43
|
-
import './index-
|
|
44
|
-
import './useHealthToolCache-
|
|
42
|
+
import './translationsContext-2ec06a37.js';
|
|
43
|
+
import './index-0fb43e9b.js';
|
|
44
|
+
import './useHealthToolCache-b3226603.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-38f4ebeb.js';
|
|
47
|
+
import './index-48653810.js';
|
|
48
|
+
import './WhatsApp-35a5267f.js';
|
|
49
|
+
import './Spinner-6c57685d.js';
|
|
50
|
+
import './index-155c35c7.js';
|
|
51
|
+
import './index-4c8db98b.js';
|
|
52
52
|
import 'js-cookie';
|
|
53
53
|
import 'lodash/flatten';
|
|
54
54
|
import 'lodash/uniqBy';
|
|
55
|
-
import './index-
|
|
55
|
+
import './index-5718b9b3.js';
|
|
56
56
|
import 'slugify';
|
|
57
57
|
import 'string-format';
|
|
58
|
-
import './constants-
|
|
58
|
+
import './constants-4d9f1c87.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-57b7d6b2.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
import './index-
|
|
4
|
-
import './tslib.es6-
|
|
5
|
-
import './index-
|
|
3
|
+
import './index-e0f26deb.js';
|
|
4
|
+
import './tslib.es6-6ef4b9f3.js';
|
|
5
|
+
import './index-111af922.js';
|
|
6
6
|
import '@mantine/core';
|
|
7
|
-
import './index-
|
|
8
|
-
import './other-
|
|
9
|
-
import './index-
|
|
10
|
-
import './index-
|
|
7
|
+
import './index-73fcb1c7.js';
|
|
8
|
+
import './other-bd17927c.js';
|
|
9
|
+
import './index-0fb43e9b.js';
|
|
10
|
+
import './index-7b1bab9c.js';
|
|
11
11
|
import '@emotion/styled';
|
|
12
12
|
import './miscTheme.js';
|
|
13
|
-
import './utils-
|
|
14
|
-
import './index-
|
|
13
|
+
import './utils-8903f328.js';
|
|
14
|
+
import './index-ea7ea9e1.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-e0f26deb.js';
|
|
3
|
+
import { T as Text } from './index-73fcb1c7.js';
|
|
4
|
+
import { H as Heading } from './index-0fb43e9b.js';
|
|
5
|
+
import { I as Input } from './index-7b1bab9c.js';
|
|
6
|
+
import { T as TextArea } from './index-ea7ea9e1.js';
|
|
7
7
|
import styled from '@emotion/styled';
|
|
8
8
|
import { theme } from './miscTheme.js';
|
|
9
9
|
|