@hhgtech/hhg-components 1.29.316-beta-1 → 1.29.317
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 +0 -2
- package/build/{LastPeriod-34b37df4.js → LastPeriod-fc3e1eb1.js} +1 -1
- package/build/{MobileBottomNavigationIcon-660aac0e.js → MobileBottomNavigationIcon-45b53e64.js} +3 -3
- package/build/{Spinner-ed1ca856.js → Spinner-9377cea8.js} +1 -1
- package/build/{WhatsApp-7306443c.js → WhatsApp-94be2f98.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/index.d.ts +1 -0
- package/build/components/molecules/mobileBottomNavigation/index.styled.d.ts +1 -6
- package/build/components/molecules/widgetChatbotAi/index.d.ts +6 -0
- package/build/components/molecules/widgetChatbotAi/index.styled.d.ts +25 -0
- package/build/components/onboardingV2/frisoForm/index.d.ts +1 -1
- package/build/components/onboardingV2/index.d.ts +1 -1
- package/build/components.js +133 -130
- package/build/{constants-6a8aa9db.js → constants-bdc415c3.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-10afa7c3.js → core-bf2a5102.js} +1 -1
- package/build/{dataTransform-71d78436.js → dataTransform-8ee94aaf.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-3a077c3f.js → editor-4c3b6015.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-f9f6d746.js → LastPeriod-9c905061.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-2a320477.js → MobileBottomNavigationIcon-5af48a77.js} +3 -3
- package/build/esm/{Spinner-6c57685d.js → Spinner-8c68b183.js} +1 -1
- package/build/esm/{WhatsApp-35a5267f.js → WhatsApp-4e9af54c.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/index.d.ts +1 -0
- package/build/esm/components/molecules/mobileBottomNavigation/index.styled.d.ts +1 -6
- package/build/esm/components/molecules/widgetChatbotAi/index.d.ts +6 -0
- package/build/esm/components/molecules/widgetChatbotAi/index.styled.d.ts +25 -0
- 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 +92 -90
- package/build/esm/{constants-54949b20.js → constants-244bbd98.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-38f4ebeb.js → core-bf04a01a.js} +1 -1
- package/build/esm/{dataTransform-0994e016.js → dataTransform-d0f23629.js} +1 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-01d72a86.js → editor-bfa3bc9c.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/footer.js +21 -21
- package/build/esm/gAssets.js +2 -2
- package/build/esm/healthToolsCardWrapper.js +18 -18
- package/build/esm/healthToolsForm.js +33 -33
- package/build/esm/hooks.js +13 -13
- package/build/esm/i18n/translationKeys.d.ts +1 -1
- package/build/esm/i18n-values/en-PH.js +1 -5
- package/build/esm/i18n-values/hi-IN.js +1 -5
- package/build/esm/i18n-values/id-ID.js +172 -176
- package/build/esm/i18n-values/km-KH.js +1 -5
- package/build/esm/i18n-values/ms-MY.js +313 -317
- package/build/esm/i18n-values/my-MM.js +0 -4
- package/build/esm/i18n-values/th-TH.js +0 -4
- package/build/esm/i18n-values/tl-PH.js +0 -4
- package/build/esm/i18n-values/vi-VN.js +0 -4
- package/build/esm/i18n-values/vi-VN_MB.js +0 -4
- package/build/esm/i18n-values/zh-TW.js +1 -5
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-3a460852.js → index-0415fd79.js} +6 -6
- package/build/esm/{index-111af922.js → index-046b2cda.js} +2 -2
- package/build/esm/{index-05bf45e0.js → index-055f68b8.js} +15 -15
- package/build/esm/{index-9280cd1f.js → index-0c9f1c83.js} +1 -1
- package/build/esm/{index-7b1bab9c.js → index-0dbf64a0.js} +2 -2
- package/build/esm/{index-e0f26deb.js → index-116089f5.js} +2 -2
- package/build/esm/{index-a48c9aed.js → index-1d991672.js} +1 -1
- package/build/esm/{index-00e7bd3e.js → index-1dcb871a.js} +20 -20
- package/build/esm/{index-79e32585.js → index-1fcdc12f.js} +1 -1
- package/build/esm/{index-3fff3c61.js → index-2287e7dc.js} +26 -26
- package/build/esm/{index-83684745.js → index-2353276b.js} +3 -3
- package/build/esm/{index-4c8db98b.js → index-2787a114.js} +2 -2
- package/build/esm/{index-cf913a17.js → index-29a96e92.js} +15 -15
- package/build/esm/{index-a1b499e7.js → index-2b83672b.js} +13 -13
- package/build/esm/{index-34193e01.js → index-34b4ff66.js} +1 -1
- package/build/esm/{index-0fb43e9b.js → index-36823b40.js} +2 -2
- package/build/esm/{index-3d39db18.js → index-41bafd09.js} +2 -2
- package/build/esm/{index-e1f93ef2.js → index-43db1c21.js} +2 -2
- package/build/esm/index-44088813.js +275 -0
- package/build/esm/{index-973a68e1.js → index-4a83c5da.js} +6 -6
- package/build/esm/{index-a5f88e9b.js → index-4b8843bb.js} +3 -3
- package/build/esm/{index-3055fbac.js → index-581a00f5.js} +5 -5
- package/build/esm/{index-6bf3486b.js → index-5cf5ec18.js} +2 -2
- package/build/esm/{index-70f74611.js → index-5d4208d8.js} +3 -3
- package/build/esm/{index-ff72cb91.js → index-5fca5aca.js} +3 -3
- package/build/esm/{index-117d5f70.js → index-65efea55.js} +13 -13
- package/build/esm/{index-1aa3532c.js → index-6e8aad4f.js} +17 -17
- package/build/esm/{index-8783db08.js → index-6fd87295.js} +17 -17
- package/build/esm/{index-aec60fbf.js → index-77a8f4ec.js} +16 -16
- package/build/esm/{index-29bea549.js → index-85d9c99a.js} +3 -3
- package/build/esm/{index-ee106422.js → index-8721dd05.js} +21 -21
- package/build/esm/{index-b6d62d7a.js → index-89209a7e.js} +5 -5
- package/build/esm/{index-f9881ebe.js → index-8b011b95.js} +1 -1
- package/build/esm/{index-938fe883.js → index-8f97b0ff.js} +4 -4
- package/build/esm/{index-6e098fe0.js → index-95470d27.js} +32 -32
- package/build/esm/{index-ea7ea9e1.js → index-980bc43a.js} +1 -1
- package/build/esm/{index-3447b6a5.js → index-9d02d9e8.js} +1 -1
- package/build/esm/{index-d9432e2e.js → index-a0f7887d.js} +1 -1
- package/build/esm/{index-329841f7.js → index-a57e169a.js} +16 -16
- package/build/esm/{index-e0ace45a.js → index-a90163f2.js} +16 -16
- package/build/esm/{index-fc84913e.js → index-b397020c.js} +17 -17
- package/build/esm/{index-48653810.js → index-b4fd4466.js} +3 -3
- package/build/esm/{index-81c02a2e.js → index-b6151b78.js} +2 -2
- package/build/esm/{index-9de34684.js → index-b78aebd2.js} +24 -24
- package/build/esm/{index-ef15fedd.js → index-b9eb5d5c.js} +6 -6
- package/build/esm/{index-3fa2668a.js → index-ba27e183.js} +11 -11
- package/build/esm/{index-8bde7f0d.js → index-ba32cd21.js} +13 -13
- package/build/esm/{index-55e5aa45.js → index-bb030b15.js} +3 -3
- package/build/esm/{index-65752d1d.js → index-bcc1c2e5.js} +2 -2
- package/build/esm/{index-c6ca8fb0.js → index-cb49e9bd.js} +2 -2
- package/build/esm/{index-c9d9d8ce.js → index-cc6e3283.js} +7 -7
- package/build/esm/{index-44304928.js → index-cf662518.js} +6 -6
- package/build/esm/{index-0294946a.js → index-d87f7f82.js} +30 -30
- package/build/esm/{index-23110d69.js → index-d9e64cd1.js} +18 -18
- package/build/esm/{index-92290615.js → index-e12de070.js} +10 -10
- package/build/esm/{index-3da1e526.js → index-e1e6daa8.js} +7 -7
- package/build/esm/{index-8397b404.js → index-e35e0eaf.js} +13 -13
- package/build/esm/{index-fefca0c1.js → index-ed0a2774.js} +2 -2
- package/build/esm/{index-3cd9a616.js → index-f211c9e4.js} +18 -18
- package/build/esm/{index-9c1b0158.js → index-fd6c4c01.js} +16 -16
- package/build/esm/{index-73fcb1c7.js → index-feadf6fb.js} +2 -2
- package/build/esm/index-ffcb09ab.js +4014 -0
- package/build/esm/index.js +114 -112
- package/build/esm/{labelSorting-5962606b.js → labelSorting-96033f06.js} +4 -4
- package/build/esm/lead.js +24 -24
- package/build/esm/{logoIcon-eced2050.js → logoIcon-0515af0f.js} +2 -2
- package/build/esm/mantine.js +25 -25
- package/build/esm/misc/animation.d.ts +9 -54
- package/build/esm/misc.js +16 -16
- package/build/esm/miscGetDynamicHealthTool.js +4 -4
- package/build/esm/miscGetSocialList.js +8 -8
- package/build/esm/miscScreenSizeContext.js +1 -1
- package/build/esm/mobileBottomNavigation.js +5 -5
- package/build/esm/mobileBottomNavigationIcon.js +5 -5
- package/build/esm/molecules.js +71 -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-12a0d4e7.js → post-bdd34e9e.js} +2 -2
- package/build/esm/profileNavigation.js +19 -19
- package/build/esm/progressBar.js +1 -1
- package/build/esm/pwg.js +22 -22
- package/build/esm/ssoV2/api/index.d.ts +0 -1
- package/build/esm/ssoV2/api/paths.d.ts +0 -7
- package/build/esm/ssoV2/api/phoneUtils.d.ts +1 -1
- package/build/esm/ssoV2/screens/components/progressBar.d.ts +0 -1
- package/build/esm/ssoV2/screens/otp.d.ts +1 -1
- package/build/esm/ssoV2/ssoStateManager/store.d.ts +1 -7
- package/build/esm/ssoV2.js +79 -372
- package/build/esm/{store-108246fc.js → store-3a666edb.js} +9 -110
- package/build/esm/subot/utils/index.d.ts +1 -1
- package/build/esm/subot.js +174 -137
- package/build/esm/surveyOrPremiumBanner.js +31 -31
- package/build/esm/surveyQuestionCard.js +10 -10
- package/build/esm/{surveyThankyouCard-57b7d6b2.js → surveyThankyouCard-57c3b54f.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-61e476ad.js → treePopoverMenu-fcc9667e.js} +19 -19
- package/build/esm/{types-17cacc19.js → types-198abe0a.js} +2 -2
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-55f0baaf.js → useCategory-3879b14a.js} +5 -5
- package/build/esm/{useHealthToolCache-b3226603.js → useHealthToolCache-3f7ee8b6.js} +1 -1
- package/build/esm/{useMantineLocale-8c14491b.js → useMantineLocale-07dde661.js} +6 -6
- package/build/esm/{usePlacesAutocomplete-66b0d809.js → usePlacesAutocomplete-bdeaa888.js} +1 -1
- package/build/esm/{useScreenSize-0647731b.js → useScreenSize-37e3e212.js} +2 -2
- package/build/esm/useTogetherAuthRequiredAction.js +9 -9
- package/build/esm/{utils-7aed94bb.js → utils-32fe47b3.js} +2 -2
- package/build/esm/{utils-9ed76cdd.js → utils-4daad645.js} +2 -2
- package/build/esm/{utils-07d74e85.js → utils-f5300c3b.js} +3 -3
- 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 +1 -5
- package/build/i18n-values/hi-IN.js +1 -5
- package/build/i18n-values/id-ID.js +172 -176
- package/build/i18n-values/km-KH.js +1 -5
- package/build/i18n-values/ms-MY.js +313 -317
- package/build/i18n-values/my-MM.js +0 -4
- package/build/i18n-values/th-TH.js +0 -4
- package/build/i18n-values/tl-PH.js +0 -4
- package/build/i18n-values/vi-VN.js +0 -4
- package/build/i18n-values/vi-VN_MB.js +0 -4
- package/build/i18n-values/zh-TW.js +1 -5
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-2fc75787.js → index-021a49b5.js} +3 -3
- package/build/{index-443adfdc.js → index-026b096c.js} +6 -6
- package/build/{index-fa164746.js → index-0338dffe.js} +3 -3
- package/build/{index-32ae88c3.js → index-08a22872.js} +2 -2
- package/build/{index-2e2a1367.js → index-10e9566f.js} +17 -17
- package/build/{index-2570ab00.js → index-13a49491.js} +2 -2
- package/build/{index-caeacfe2.js → index-19df5d48.js} +16 -16
- package/build/{index-cd249e7e.js → index-1c037ac9.js} +17 -17
- package/build/{index-ba43efda.js → index-1d18d159.js} +3 -3
- package/build/{index-e4d8ed0e.js → index-1e51119d.js} +30 -30
- package/build/{index-d559eb88.js → index-20a23230.js} +3 -3
- package/build/{index-7f978ff0.js → index-25e85e9e.js} +13 -13
- package/build/{index-7f3f6477.js → index-27166d0b.js} +16 -16
- package/build/{index-e9cf7bec.js → index-2b50763a.js} +2 -2
- package/build/{index-e427d681.js → index-2ccebae3.js} +6 -6
- package/build/{index-85ced4b6.js → index-32e475ab.js} +2 -2
- package/build/index-34778508.js +277 -0
- package/build/{index-84ca7330.js → index-36d6a99a.js} +3 -3
- package/build/{index-dac49bb2.js → index-3aaf8bed.js} +24 -24
- package/build/{index-95b1acc1.js → index-414d3dd8.js} +17 -17
- package/build/{index-90e714d8.js → index-515cd8b2.js} +7 -7
- package/build/{index-3c59e84a.js → index-5a891925.js} +21 -21
- package/build/{index-af9fb8fd.js → index-5b3cfca3.js} +1 -1
- package/build/{index-1a23d98f.js → index-5bb7c6d0.js} +2 -2
- package/build/{index-6f7f3279.js → index-5c51f7ee.js} +1 -1
- package/build/{index-477ce830.js → index-5d89a819.js} +15 -15
- package/build/{index-14598628.js → index-620c8895.js} +2 -2
- package/build/{index-dc87e4ea.js → index-64eb1bcd.js} +2 -2
- package/build/{index-297debb8.js → index-7202d158.js} +11 -11
- package/build/{index-45e44602.js → index-732f064d.js} +5 -5
- package/build/{index-f836d800.js → index-792bb705.js} +2 -2
- package/build/{index-49e3b0f2.js → index-878785cf.js} +18 -18
- package/build/{index-d42d4f4e.js → index-8e86b3d0.js} +3 -3
- package/build/{index-c07a381d.js → index-8fac1958.js} +10 -10
- package/build/{index-460ab1a7.js → index-8fb93a3b.js} +5 -5
- package/build/{index-e507746e.js → index-92907687.js} +18 -18
- package/build/{index-abc5f635.js → index-93a7c170.js} +1 -1
- package/build/{index-12120918.js → index-95adcb76.js} +16 -16
- package/build/{index-2f5f93b3.js → index-a3011b70.js} +1 -1
- package/build/{index-b1715e8e.js → index-a52d0178.js} +7 -7
- package/build/{index-a441e5b4.js → index-a64dc64c.js} +20 -20
- package/build/{index-5a62e727.js → index-ae35a58b.js} +3 -3
- package/build/{index-722cb11b.js → index-aeb46aaa.js} +1 -1
- package/build/{index-8c6cdc73.js → index-af4b24ff.js} +1 -1
- package/build/{index-daf5287e.js → index-bc9c4090.js} +1 -1
- package/build/index-bfd9ad37.js +4047 -0
- package/build/{index-cfd9a1b5.js → index-c326aacb.js} +1 -1
- package/build/{index-3f4829a9.js → index-c370227b.js} +32 -32
- package/build/{index-86c988c4.js → index-c93f0be0.js} +2 -2
- package/build/{index-994eb160.js → index-cb7d54a3.js} +13 -13
- package/build/{index-7136c4ef.js → index-cf47e415.js} +15 -15
- package/build/{index-0776c11d.js → index-cff9d463.js} +13 -13
- package/build/{index-4dfd5905.js → index-d4165e45.js} +6 -6
- package/build/{index-e07ccfd8.js → index-d89ffcf3.js} +2 -2
- package/build/{index-b95a650e.js → index-da4cdeb9.js} +4 -4
- package/build/{index-8ad8f765.js → index-dcd4247e.js} +16 -16
- package/build/{index-9a86bbef.js → index-e24f67fa.js} +2 -2
- package/build/{index-913a35c4.js → index-e7899665.js} +6 -6
- package/build/{index-717d3929.js → index-ecf0f321.js} +13 -13
- package/build/{index-455ba5c6.js → index-f19481ce.js} +2 -2
- package/build/{index-a81f3165.js → index-fa5067a3.js} +26 -26
- package/build/{index-b77c44aa.js → index-fc5e5435.js} +2 -2
- package/build/index.js +176 -173
- package/build/{labelSorting-2d8cf48b.js → labelSorting-45b230c1.js} +4 -4
- package/build/lead.js +24 -24
- package/build/{logoIcon-c4531a77.js → logoIcon-3cc48bbc.js} +2 -2
- package/build/mantine.js +22 -22
- package/build/misc/animation.d.ts +9 -54
- package/build/misc.js +16 -16
- package/build/miscGetDynamicHealthTool.js +4 -4
- package/build/miscGetSocialList.js +8 -8
- package/build/miscScreenSizeContext.js +1 -1
- package/build/mobileBottomNavigation.js +5 -5
- package/build/mobileBottomNavigationIcon.js +5 -5
- package/build/molecules.js +105 -102
- 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-03e1f319.js → post-29d3e6cd.js} +2 -2
- package/build/profileNavigation.js +19 -19
- package/build/progressBar.js +1 -1
- package/build/pwg.js +22 -22
- package/build/ssoV2/api/index.d.ts +0 -1
- package/build/ssoV2/api/paths.d.ts +0 -7
- package/build/ssoV2/api/phoneUtils.d.ts +1 -1
- package/build/ssoV2/screens/components/progressBar.d.ts +0 -1
- package/build/ssoV2/screens/otp.d.ts +1 -1
- package/build/ssoV2/ssoStateManager/store.d.ts +1 -7
- package/build/ssoV2.js +91 -384
- package/build/{store-969f6ea3.js → store-ef271cee.js} +8 -110
- package/build/subot/utils/index.d.ts +1 -1
- package/build/subot.js +173 -136
- package/build/surveyOrPremiumBanner.js +31 -31
- package/build/surveyQuestionCard.js +10 -10
- package/build/{surveyThankyouCard-020bc0d2.js → surveyThankyouCard-111f21d7.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-ddabe3b7.js → treePopoverMenu-52a4f81c.js} +19 -19
- package/build/{types-5babe4a6.js → types-288a7985.js} +2 -2
- package/build/types.js +2 -2
- package/build/{useCategory-26406521.js → useCategory-74d5a920.js} +5 -5
- package/build/{useHealthToolCache-c5640115.js → useHealthToolCache-16c2f6e3.js} +1 -1
- package/build/{useMantineLocale-760cc21a.js → useMantineLocale-840f475b.js} +6 -6
- package/build/{usePlacesAutocomplete-4766c35f.js → usePlacesAutocomplete-23ad5f44.js} +1 -1
- package/build/{useScreenSize-e874c005.js → useScreenSize-7f7c2908.js} +2 -2
- package/build/useTogetherAuthRequiredAction.js +9 -9
- package/build/{utils-fdba16fd.js → utils-350a45ce.js} +3 -3
- package/build/{utils-66d65b47.js → utils-9b1aa56b.js} +2 -2
- package/build/{utils-cef8d174.js → utils-d92739cf.js} +2 -2
- package/build/vaccination.js +21 -21
- package/package.json +2 -2
- package/build/esm/fixedBottomAdBlock-3332c2b3.js +0 -2464
- package/build/esm/index-5718b9b3.js +0 -339
- package/build/esm/ssoV2/api/whatsapp.d.ts +0 -6
- package/build/esm/ssoV2/screens/components/whatsapp.d.ts +0 -5
- package/build/esm/ssoV2/utils.d.ts +0 -3
- package/build/fixedBottomAdBlock-116de75c.js +0 -2495
- package/build/index-01227484.js +0 -341
- package/build/ssoV2/api/whatsapp.d.ts +0 -6
- package/build/ssoV2/screens/components/whatsapp.d.ts +0 -5
- package/build/ssoV2/utils.d.ts +0 -3
- /package/build/{BMI_BOYS.percentile.monthly-5bd49f0a.js → BMI_BOYS.percentile.monthly-45be66cc.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-904749f5.js → BMI_BOYS.percentile.weekly-e5bb9490.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-863654cc.js → BMI_BOYS.percentile.yearly-868214dc.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-3f4a054f.js → BMI_BOYS.zscore.monthly-9ef02d8a.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-8babd3f5.js → BMI_BOYS.zscore.weekly-172c8054.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-d3769682.js → BMI_BOYS.zscore.yearly-8efd761e.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-6b203997.js → BMI_GIRLS.percentile.monthly-2768f85a.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-aa5f6e22.js → BMI_GIRLS.percentile.weekly-0997dde6.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-afdb044e.js → BMI_GIRLS.percentile.yearly-a1bfe042.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-d7a0803f.js → BMI_GIRLS.zscore.monthly-51f1779e.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-77a13fc8.js → BMI_GIRLS.zscore.weekly-1b2931b5.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-5a432269.js → BMI_GIRLS.zscore.yearly-a0c0a085.js} +0 -0
- /package/build/{ChevronDown-1b373ab2.js → ChevronDown-5fbb360a.js} +0 -0
- /package/build/{Close-48ed4afc.js → Close-5011260c.js} +0 -0
- /package/build/{Google-1f8e7fc4.js → Google-ef1ea52e.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-f5d8c463.js → HEAD CIRCUM_BOYS.percentile.monthly-0e0d27ff.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-0c6f22f5.js → HEAD CIRCUM_BOYS.percentile.weekly-344260ca.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-126d9bff.js → HEAD CIRCUM_BOYS.percentile.yearly-77b783b4.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-9e91f80b.js → HEAD CIRCUM_BOYS.zscore.monthly-d13319c4.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-c1d0b5ca.js → HEAD CIRCUM_BOYS.zscore.weekly-dd63b980.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-7dc80574.js → HEAD CIRCUM_BOYS.zscore.yearly-f7330212.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-59a39053.js → HEAD CIRCUM_GIRLS.percentile.monthly-72452e38.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-369d4481.js → HEAD CIRCUM_GIRLS.percentile.weekly-9edb606a.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-5797b0cb.js → HEAD CIRCUM_GIRLS.percentile.yearly-e01757fe.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-9956f623.js → HEAD CIRCUM_GIRLS.zscore.monthly-04a86245.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-f214fc7a.js → HEAD CIRCUM_GIRLS.zscore.weekly-c0725a18.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-9fbed95e.js → HEAD CIRCUM_GIRLS.zscore.yearly-aedd88c5.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-01817e6f.js → HEIGHT_BOYS.percentile.monthly-f6e1e9f6.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-81c07ccb.js → HEIGHT_BOYS.percentile.weekly-f8021248.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-a7775f90.js → HEIGHT_BOYS.percentile.yearly-1d15caae.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-92a361cd.js → HEIGHT_BOYS.zscore.monthly-65de7cb7.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-bc10aa16.js → HEIGHT_BOYS.zscore.weekly-be5470b1.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-63a11b12.js → HEIGHT_BOYS.zscore.yearly-625ed5f3.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-4095aa52.js → HEIGHT_GIRLS.percentile.monthly-e8abb39e.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-bff3f26e.js → HEIGHT_GIRLS.percentile.weekly-6809a851.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-4182ccbb.js → HEIGHT_GIRLS.percentile.yearly-859fe1b4.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-95b09227.js → HEIGHT_GIRLS.zscore.monthly-f5fdad45.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-ebdc8227.js → HEIGHT_GIRLS.zscore.weekly-67555577.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-a61e6459.js → HEIGHT_GIRLS.zscore.yearly-67441190.js} +0 -0
- /package/build/{Locale-23c60e4b.js → Locale-e892ac6d.js} +0 -0
- /package/build/{Visible-947f7cb1.js → Visible-45d48bfb.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-ac231776.js → WEIGHT_BOYS.percentile.monthly-3597df83.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-28520fa2.js → WEIGHT_BOYS.percentile.weekly-1f6076aa.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-f4713060.js → WEIGHT_BOYS.percentile.yearly-5c39f972.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-8ace2871.js → WEIGHT_BOYS.zscore.monthly-25fa7a92.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-704c28d4.js → WEIGHT_BOYS.zscore.weekly-7b13da73.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-baf8600a.js → WEIGHT_BOYS.zscore.yearly-c76fb551.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-29b043be.js → WEIGHT_GIRLS.percentile.monthly-c480b720.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-20bb1650.js → WEIGHT_GIRLS.percentile.weekly-83e0ab17.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-3553d504.js → WEIGHT_GIRLS.percentile.yearly-5c8a098d.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-1d7b8216.js → WEIGHT_GIRLS.zscore.monthly-79fb51e0.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-4d38c49a.js → WEIGHT_GIRLS.zscore.weekly-3d197286.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-32d08ee6.js → WEIGHT_GIRLS.zscore.yearly-9edec6ff.js} +0 -0
- /package/build/{animation-1f51f7ab.js → animation-0ad9d8cd.js} +0 -0
- /package/build/{constants-c0862d46.js → constants-230dde95.js} +0 -0
- /package/build/{constants-9f00ed1f.js → constants-85478abd.js} +0 -0
- /package/build/{constants-0ad1f963.js → constants-8bd0245d.js} +0 -0
- /package/build/{dataTransform-c1b3cc1e.js → dataTransform-dd4d3d73.js} +0 -0
- /package/build/{doctor-72daf1dd.js → doctor-43a031f7.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-7c6cb315.js → BMI_BOYS.percentile.monthly-83490788.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-b413f3fb.js → BMI_BOYS.percentile.weekly-27374f9f.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-d10e44c5.js → BMI_BOYS.percentile.yearly-fcbc6eff.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-974c517a.js → BMI_BOYS.zscore.monthly-e27d4fe3.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-d92160f0.js → BMI_BOYS.zscore.weekly-afe0c2d5.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-bc4c01b8.js → BMI_BOYS.zscore.yearly-6e982b2d.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-2dccd84e.js → BMI_GIRLS.percentile.monthly-f72e1781.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-bd8424ca.js → BMI_GIRLS.percentile.weekly-140e3c12.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-8491b035.js → BMI_GIRLS.percentile.yearly-4e302bdc.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-a316be0a.js → BMI_GIRLS.zscore.monthly-8c01a9d5.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-2bf93772.js → BMI_GIRLS.zscore.weekly-ff89a013.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-e6e2c3b4.js → BMI_GIRLS.zscore.yearly-d9e3f3a0.js} +0 -0
- /package/build/esm/{ChevronDown-3afd3e7c.js → ChevronDown-6e345520.js} +0 -0
- /package/build/esm/{Close-2ab01961.js → Close-0d5f562d.js} +0 -0
- /package/build/esm/{Google-802375a6.js → Google-4230db9e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-c95c007f.js → HEAD CIRCUM_BOYS.percentile.monthly-2764609a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-c0fc7494.js → HEAD CIRCUM_BOYS.percentile.weekly-f2d21708.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-aaa76a3f.js → HEAD CIRCUM_BOYS.percentile.yearly-551c8d2e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-26daeb04.js → HEAD CIRCUM_BOYS.zscore.monthly-81a77bd0.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-4e6aa07a.js → HEAD CIRCUM_BOYS.zscore.weekly-1476a353.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-5661b5a5.js → HEAD CIRCUM_BOYS.zscore.yearly-2ae4fc7e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-4cb70f50.js → HEAD CIRCUM_GIRLS.percentile.monthly-9ba071de.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-02945475.js → HEAD CIRCUM_GIRLS.percentile.weekly-eac1f249.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-4147a245.js → HEAD CIRCUM_GIRLS.percentile.yearly-6ceacf49.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-3b20a1f8.js → HEAD CIRCUM_GIRLS.zscore.monthly-e609ead8.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-17eb5783.js → HEAD CIRCUM_GIRLS.zscore.weekly-d54558d1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-b2fcc0b5.js → HEAD CIRCUM_GIRLS.zscore.yearly-4eb5da88.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-6a70378a.js → HEIGHT_BOYS.percentile.monthly-2444632c.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-98a9db1e.js → HEIGHT_BOYS.percentile.weekly-4dab9e63.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-daf3b611.js → HEIGHT_BOYS.percentile.yearly-0978989c.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-21fa6314.js → HEIGHT_BOYS.zscore.monthly-03d8ad2a.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-52b30371.js → HEIGHT_BOYS.zscore.weekly-5e7d0e2e.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-5826cceb.js → HEIGHT_BOYS.zscore.yearly-5f876f18.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-a98a64be.js → HEIGHT_GIRLS.percentile.monthly-b6109ace.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-a5b9abb7.js → HEIGHT_GIRLS.percentile.weekly-e5ea051a.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-5bff3637.js → HEIGHT_GIRLS.percentile.yearly-feee888a.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-fab6b9ee.js → HEIGHT_GIRLS.zscore.monthly-3a4ad498.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-b61dda93.js → HEIGHT_GIRLS.zscore.weekly-b0e5bf86.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-1729368c.js → HEIGHT_GIRLS.zscore.yearly-af29963d.js} +0 -0
- /package/build/esm/{Locale-0dd490ba.js → Locale-b1a3e508.js} +0 -0
- /package/build/esm/{Visible-a6710587.js → Visible-5b0c1906.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-92316290.js → WEIGHT_BOYS.percentile.monthly-fdd9af4d.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-69a6c3c9.js → WEIGHT_BOYS.percentile.weekly-cb63199b.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-874d9029.js → WEIGHT_BOYS.percentile.yearly-e919bb7b.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-996ffdd6.js → WEIGHT_BOYS.zscore.monthly-fdcb0e2c.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-bef4361d.js → WEIGHT_BOYS.zscore.weekly-30df092e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-b9d3f4ea.js → WEIGHT_BOYS.zscore.yearly-afa79994.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-87423d71.js → WEIGHT_GIRLS.percentile.monthly-96caeef3.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-56d2b840.js → WEIGHT_GIRLS.percentile.weekly-4ff9872d.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-03550f91.js → WEIGHT_GIRLS.percentile.yearly-faca2bf9.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-81cbd726.js → WEIGHT_GIRLS.zscore.monthly-9981070e.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-bebca886.js → WEIGHT_GIRLS.zscore.weekly-2fd3d595.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-58c337e8.js → WEIGHT_GIRLS.zscore.yearly-c9aa2291.js} +0 -0
- /package/build/esm/{animation-ce923633.js → animation-cdcd56e0.js} +0 -0
- /package/build/esm/{constants-21682daa.js → constants-9126c0b8.js} +0 -0
- /package/build/esm/{constants-4d9f1c87.js → constants-f1633bde.js} +0 -0
- /package/build/esm/{constants-e9ac5a30.js → constants-f2ff1ce9.js} +0 -0
- /package/build/esm/{dataTransform-c948230f.js → dataTransform-d5613007.js} +0 -0
- /package/build/esm/{doctor-2f400066.js → doctor-2c4b7321.js} +0 -0
- /package/build/esm/{index-155c35c7.js → index-32712edf.js} +0 -0
- /package/build/esm/{index-ff72f9ad.js → index-60ebeaaa.js} +0 -0
- /package/build/esm/{index-7570094f.js → index-ae5b9e97.js} +0 -0
- /package/build/esm/{index-9e00a600.js → index-afeebf36.js} +0 -0
- /package/build/esm/{index-a1d74ac3.js → index-bb377ccc.js} +0 -0
- /package/build/esm/{index-ab7326a4.js → index-d8009eee.js} +0 -0
- /package/build/esm/{index-4add493f.js → index-e64de65b.js} +0 -0
- /package/build/esm/{index-4528fe47.js → index-ee5ee444.js} +0 -0
- /package/build/esm/{index.styles-f13c39c3.js → index.styles-85886458.js} +0 -0
- /package/build/esm/{localizeNumberFormat-037d09d7.js → localizeNumberFormat-5dc6d8af.js} +0 -0
- /package/build/esm/{normalizeLink-f41e32a2.js → normalizeLink-3bf264b1.js} +0 -0
- /package/build/esm/{other-bd17927c.js → other-9350905b.js} +0 -0
- /package/build/esm/{paths-d8ff4778.js → paths-a1954205.js} +0 -0
- /package/build/esm/{translationsContext-2ec06a37.js → translationsContext-db19ea71.js} +0 -0
- /package/build/esm/{tslib.es6-6ef4b9f3.js → tslib.es6-9354e23b.js} +0 -0
- /package/build/esm/{types-607cb7cc.js → types-abceb0cf.js} +0 -0
- /package/build/esm/{useIsInit-2f59cb1b.js → useIsInit-5b6ad398.js} +0 -0
- /package/build/esm/{useOutsideClick-0c3c3175.js → useOutsideClick-882a77ce.js} +0 -0
- /package/build/esm/{useScrollbarSize-ceb870e7.js → useScrollbarSize-ddb229be.js} +0 -0
- /package/build/esm/{useUniqueId-e12c81e8.js → useUniqueId-c544557a.js} +0 -0
- /package/build/esm/{utils-8903f328.js → utils-0e26a9d9.js} +0 -0
- /package/build/{index-ad94809f.js → index-317f2735.js} +0 -0
- /package/build/{index-7f5562fc.js → index-84093509.js} +0 -0
- /package/build/{index-9be46480.js → index-a3a2fd26.js} +0 -0
- /package/build/{index-96761bcd.js → index-bcc229b7.js} +0 -0
- /package/build/{index-822d25d0.js → index-d71e54a5.js} +0 -0
- /package/build/{index-2aa154a0.js → index-e38ca5f1.js} +0 -0
- /package/build/{index-1691d762.js → index-e44e3bb7.js} +0 -0
- /package/build/{index-6f55e008.js → index-e85554b4.js} +0 -0
- /package/build/{index.styles-08ca8b79.js → index.styles-543fd8dc.js} +0 -0
- /package/build/{localizeNumberFormat-1058ac58.js → localizeNumberFormat-138547ef.js} +0 -0
- /package/build/{normalizeLink-14ecc0e7.js → normalizeLink-90421b45.js} +0 -0
- /package/build/{other-cbb37c7a.js → other-655feeba.js} +0 -0
- /package/build/{paths-be691266.js → paths-982d7801.js} +0 -0
- /package/build/{translationsContext-614b0187.js → translationsContext-8310ed3f.js} +0 -0
- /package/build/{tslib.es6-8590f3e8.js → tslib.es6-843a07b4.js} +0 -0
- /package/build/{types-f9ab7b40.js → types-3ab9eb79.js} +0 -0
- /package/build/{useIsInit-4b629ca5.js → useIsInit-13595d53.js} +0 -0
- /package/build/{useOutsideClick-8ffa1de0.js → useOutsideClick-18a14283.js} +0 -0
- /package/build/{useScrollbarSize-afee7d0c.js → useScrollbarSize-566033b5.js} +0 -0
- /package/build/{useUniqueId-dabdcbf0.js → useUniqueId-4732b2f1.js} +0 -0
- /package/build/{utils-60b33bfe.js → utils-332dcfd0.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-34b4ff66.js';
|
|
3
|
+
import { a as __awaiter, _ as __rest } from './tslib.es6-9354e23b.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-ed0a2774.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-f5300c3b.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-85d9c99a.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-85d9c99a.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-bb377ccc.js';
|
|
15
|
+
import { L as Loading } from './index-5cf5ec18.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-0e26a9d9.js';
|
|
19
|
+
import { B as Button } from './index-046b2cda.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-d8009eee.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-f1633bde.js';
|
|
28
28
|
import { v4 } from 'uuid';
|
|
29
|
-
import { T as Text } from './index-
|
|
29
|
+
import { T as Text } from './index-feadf6fb.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-ba27e183.js';
|
|
33
33
|
import '@mantine/dates';
|
|
34
|
-
import './useMantineLocale-
|
|
35
|
-
import './index.styles-
|
|
36
|
-
import './translationsContext-
|
|
34
|
+
import './useMantineLocale-07dde661.js';
|
|
35
|
+
import './index.styles-85886458.js';
|
|
36
|
+
import './translationsContext-db19ea71.js';
|
|
37
37
|
import '@mantine/hooks';
|
|
38
|
-
import './other-
|
|
39
|
-
import './index-
|
|
38
|
+
import './other-9350905b.js';
|
|
39
|
+
import './index-5fca5aca.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-bdeaa888.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-b1a3e508.js';
|
|
47
|
+
import { D as DatePicker } from './index-e64de65b.js';
|
|
48
|
+
import { D as Dropdown } from './index-60ebeaaa.js';
|
|
49
|
+
import { B as Button$1 } from './index-116089f5.js';
|
|
50
|
+
import { u as useSSOV2Store, I as IS_SSOV2_ENABLED } from './store-3a666edb.js';
|
|
51
51
|
import 'date-fns/locale';
|
|
52
52
|
import './constantsSite.js';
|
|
53
53
|
import './constantsRiskScreener.js';
|
|
54
|
-
import './index-
|
|
54
|
+
import './index-44088813.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-b4fd4466.js';
|
|
59
|
+
import './WhatsApp-4e9af54c.js';
|
|
60
|
+
import './Spinner-8c68b183.js';
|
|
61
|
+
import './index-8b011b95.js';
|
|
62
|
+
import './useScreenSize-37e3e212.js';
|
|
63
63
|
import '@mantine/carousel';
|
|
64
|
-
import './useUniqueId-
|
|
64
|
+
import './useUniqueId-c544557a.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-3bf264b1.js';
|
|
71
71
|
|
|
72
72
|
// extend fastdom
|
|
73
73
|
const fastdom = fd.extend(fastdomPromised);
|
|
@@ -1538,7 +1538,7 @@ const excludeNodeList = [
|
|
|
1538
1538
|
// return false
|
|
1539
1539
|
// }
|
|
1540
1540
|
const Container$u = () => {
|
|
1541
|
-
var _a, _b, _c;
|
|
1541
|
+
var _a, _b, _c, _d, _e;
|
|
1542
1542
|
const { formatMessage: f, action: { pushNotifications }, } = useContext(TogetherComponentGlobalContext);
|
|
1543
1543
|
const currentUrl = useCurrentUrl();
|
|
1544
1544
|
const { listNodes, activeId, isShowFooter, onNext, onPrev, params, onStartOver, loading, } = useContext(SubotInlineContext);
|
|
@@ -1549,16 +1549,15 @@ const Container$u = () => {
|
|
|
1549
1549
|
const actionNextChoice = (_a = node === null || node === void 0 ? void 0 : node.actions) === null || _a === void 0 ? void 0 : _a.find((act) => act.type === NodeActionType.USER_CHOICE_NEXT);
|
|
1550
1550
|
const actionPollSubmit = (_b = node === null || node === void 0 ? void 0 : node.actions) === null || _b === void 0 ? void 0 : _b.find(({ type }) => type == NodeActionType.POLL_BUTTON);
|
|
1551
1551
|
const actionMultipleSubmit = (_c = node === null || node === void 0 ? void 0 : node.actions) === null || _c === void 0 ? void 0 : _c.find(({ type }) => type == NodeActionType.ACTION_MULTIPLE_BUTTON);
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
// NodeActionType.USER_CHOICE_TEXT_BY_INPUT
|
|
1552
|
+
const selectedWithOtherInput = ((_e = (_d = node === null || node === void 0 ? void 0 : node.actions) === null || _d === void 0 ? void 0 : _d.find(({ id }) => id === value.action_id)) === null || _e === void 0 ? void 0 : _e.type) ===
|
|
1553
|
+
NodeActionType.USER_CHOICE_TEXT_BY_INPUT;
|
|
1555
1554
|
const handleNextChoice = () => {
|
|
1556
1555
|
const nextValue = {
|
|
1557
1556
|
node_id: node.id,
|
|
1558
1557
|
action_id: actionNextChoice === null || actionNextChoice === void 0 ? void 0 : actionNextChoice.id,
|
|
1559
1558
|
action_value: actionNextChoice === null || actionNextChoice === void 0 ? void 0 : actionNextChoice.key,
|
|
1560
1559
|
};
|
|
1561
|
-
onNext(Object.assign(Object.assign(Object.assign({}, params), node === null || node === void 0 ? void 0 : node._message)
|
|
1560
|
+
onNext(Object.assign(Object.assign(Object.assign({}, params), nextValue), node === null || node === void 0 ? void 0 : node._message));
|
|
1562
1561
|
};
|
|
1563
1562
|
const handlePollSubmit = () => {
|
|
1564
1563
|
var _a;
|
|
@@ -1603,15 +1602,15 @@ const Container$u = () => {
|
|
|
1603
1602
|
});
|
|
1604
1603
|
}
|
|
1605
1604
|
else {
|
|
1606
|
-
onNext(Object.assign(Object.assign(Object.assign({}, params), node === null || node === void 0 ? void 0 : node._message)
|
|
1605
|
+
onNext(Object.assign(Object.assign(Object.assign({}, params), value), node === null || node === void 0 ? void 0 : node._message));
|
|
1607
1606
|
}
|
|
1608
1607
|
};
|
|
1609
1608
|
if (!isShowFooter)
|
|
1610
1609
|
return null;
|
|
1611
1610
|
const found = listNodes.find((nodeItem) => nodeItem.id == activeId);
|
|
1612
1611
|
const isDisabled = disabledNodeList.includes((found === null || found === void 0 ? void 0 : found.type) || '') ||
|
|
1613
|
-
disabledPositionList.includes((found === null || found === void 0 ? void 0 : found.position) || '')
|
|
1614
|
-
|
|
1612
|
+
disabledPositionList.includes((found === null || found === void 0 ? void 0 : found.position) || '') ||
|
|
1613
|
+
selectedWithOtherInput;
|
|
1615
1614
|
const isDisplayAction = !excludeNodeList.includes((found === null || found === void 0 ? void 0 : found.type) || '');
|
|
1616
1615
|
return (React__default.createElement(StyledWrap$p, { "data-show-action": isDisplayAction },
|
|
1617
1616
|
React__default.createElement("button", { onClick: onStartOver, "data-event-category": "Service Connection", "data-event-action": "Risk Screening Start Over", "data-event-label": currentUrl, "data-bot-id": params.bot_id, className: "si-footer-start-over", disabled: Boolean((botItem === null || botItem === void 0 ? void 0 : botItem.subot_field_type) && activeId == (listNodes === null || listNodes === void 0 ? void 0 : listNodes[1].id)) },
|
|
@@ -5417,9 +5416,21 @@ const stylesTextarea = {
|
|
|
5417
5416
|
boxShadow: '0px 0px 0px 2px var(--subot-inline-primary-color-300) !important',
|
|
5418
5417
|
},
|
|
5419
5418
|
},
|
|
5419
|
+
};
|
|
5420
|
+
const stylesButtonSubmitOther = {
|
|
5421
|
+
root: {
|
|
5422
|
+
':not(:disabled)': {
|
|
5423
|
+
backgroundColor: 'var(--subot-inline-primary-color) !important',
|
|
5424
|
+
'&:hover': {
|
|
5425
|
+
backgroundColor: 'var(--subot-inline-primary-color-hover) !important',
|
|
5426
|
+
},
|
|
5427
|
+
},
|
|
5428
|
+
},
|
|
5420
5429
|
};
|
|
5421
5430
|
|
|
5422
5431
|
const Container$a = ({ action, onChange, active, htmlType, formSubmitMeta, }) => {
|
|
5432
|
+
const timeoutId = useRef(null);
|
|
5433
|
+
const { formatMessage: f } = useContext(TogetherComponentGlobalContext);
|
|
5423
5434
|
const currentUrl = useCurrentUrl();
|
|
5424
5435
|
const inputRef = useRef(null);
|
|
5425
5436
|
const [otherText, setOtherText] = useState('');
|
|
@@ -5427,6 +5438,14 @@ const Container$a = ({ action, onChange, active, htmlType, formSubmitMeta, }) =>
|
|
|
5427
5438
|
const isActionPollWithOther = (action === null || action === void 0 ? void 0 : action.type) === NodeActionType.POLL_CHOICE_TEXT_BY_INPUT;
|
|
5428
5439
|
const isActionSelectWithOther = (action === null || action === void 0 ? void 0 : action.type) === NodeActionType.USER_CHOICE_TEXT_BY_INPUT ||
|
|
5429
5440
|
isActionPollWithOther;
|
|
5441
|
+
const actionSubmitted = isActionPollWithOther
|
|
5442
|
+
? {
|
|
5443
|
+
key: action === null || action === void 0 ? void 0 : action.key,
|
|
5444
|
+
control: ELEMENT_CONTROL_INPUT_TYPE[action === null || action === void 0 ? void 0 : action.type],
|
|
5445
|
+
value: '',
|
|
5446
|
+
action_id: action === null || action === void 0 ? void 0 : action.id,
|
|
5447
|
+
}
|
|
5448
|
+
: action;
|
|
5430
5449
|
useEffect(() => {
|
|
5431
5450
|
var _a, _b;
|
|
5432
5451
|
if (active) {
|
|
@@ -5434,24 +5453,45 @@ const Container$a = ({ action, onChange, active, htmlType, formSubmitMeta, }) =>
|
|
|
5434
5453
|
(_b = inputRef.current) === null || _b === void 0 ? void 0 : _b.focus();
|
|
5435
5454
|
}
|
|
5436
5455
|
}, [active, formSubmitMeta]);
|
|
5456
|
+
const handleClickWithFormMeta = () => {
|
|
5457
|
+
if (otherText) {
|
|
5458
|
+
onChange &&
|
|
5459
|
+
onChange(actionSubmitted, [
|
|
5460
|
+
{
|
|
5461
|
+
key: KEY_OF_TEXT_CHOICE_WITH_OTHER_FIELD,
|
|
5462
|
+
control: 'text',
|
|
5463
|
+
value: otherText,
|
|
5464
|
+
},
|
|
5465
|
+
]);
|
|
5466
|
+
}
|
|
5467
|
+
};
|
|
5437
5468
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5438
5469
|
const onChangeTextArea = (evt) => {
|
|
5439
5470
|
setOtherText(evt.target.value);
|
|
5440
|
-
|
|
5441
|
-
|
|
5442
|
-
|
|
5443
|
-
|
|
5444
|
-
|
|
5445
|
-
|
|
5446
|
-
|
|
5447
|
-
|
|
5471
|
+
if (isActionPollWithOther) {
|
|
5472
|
+
timeoutId.current && clearTimeout(timeoutId.current);
|
|
5473
|
+
timeoutId.current = setTimeout(() => {
|
|
5474
|
+
onChange &&
|
|
5475
|
+
onChange(actionSubmitted, [
|
|
5476
|
+
{
|
|
5477
|
+
key: KEY_OF_TEXT_CHOICE_WITH_OTHER_FIELD,
|
|
5478
|
+
control: 'text',
|
|
5479
|
+
value: evt.target.value,
|
|
5480
|
+
},
|
|
5481
|
+
]);
|
|
5482
|
+
}, 300);
|
|
5483
|
+
}
|
|
5448
5484
|
};
|
|
5449
5485
|
return (React__default.createElement(React__default.Fragment, null,
|
|
5450
|
-
React__default.createElement(StyledWrap$5, { id: "si-action-text-choice", active: !!active, onClick: () => onChange
|
|
5486
|
+
React__default.createElement(StyledWrap$5, { id: "si-action-text-choice", active: !!active, onClick: () => onChange && onChange(actionSubmitted), "data-event-category": "Service Connection", "data-event-action": "Risk Screening Answer Click", "data-event-label": currentUrl, "data-bot-id": params.bot_id },
|
|
5451
5487
|
React__default.createElement(StyledRadioIcon, { active: !!active }, htmlType === 'checkbox' && (React__default.createElement(Checkbox, { className: "icon-checkbox", viewBox: "0 0 22 22" }))),
|
|
5452
5488
|
React__default.createElement("div", { className: "label" }, action === null || action === void 0 ? void 0 : action.label)),
|
|
5453
5489
|
isActionSelectWithOther && active && (React__default.createElement(Box, { px: "2px", style: { textAlign: 'right' } },
|
|
5454
|
-
React__default.createElement(Textarea, { ref: inputRef, placeholder: action === null || action === void 0 ? void 0 : action.label, styles: stylesTextarea, value: otherText, onChange: onChangeTextArea, maxLength: 360 })
|
|
5490
|
+
React__default.createElement(Textarea, { ref: inputRef, placeholder: action === null || action === void 0 ? void 0 : action.label, styles: stylesTextarea, value: otherText, onChange: onChangeTextArea, maxLength: 360 }),
|
|
5491
|
+
!isActionPollWithOther && (React__default.createElement(Button, { size: "sm", mt: "5px", styles: stylesButtonSubmitOther, disabled: !otherText, onClick: handleClickWithFormMeta }, f({
|
|
5492
|
+
id: 'feedback.submit',
|
|
5493
|
+
defaultMessage: 'Submit',
|
|
5494
|
+
})))))));
|
|
5455
5495
|
};
|
|
5456
5496
|
Container$a.displayName = 'SubotInlineActionTextChoice';
|
|
5457
5497
|
|
|
@@ -5611,49 +5651,34 @@ const Container$5 = ({ node, indexNumber }) => {
|
|
|
5611
5651
|
}
|
|
5612
5652
|
return [];
|
|
5613
5653
|
}, [value, value === null || value === void 0 ? void 0 : value.selected_actions]);
|
|
5614
|
-
const handleOnChange = (action
|
|
5615
|
-
|
|
5616
|
-
|
|
5617
|
-
|
|
5618
|
-
|
|
5619
|
-
|
|
5620
|
-
|
|
5621
|
-
|
|
5622
|
-
|
|
5623
|
-
|
|
5624
|
-
|
|
5625
|
-
|
|
5626
|
-
|
|
5627
|
-
|
|
5628
|
-
|
|
5629
|
-
|
|
5630
|
-
|
|
5631
|
-
|
|
5632
|
-
|
|
5633
|
-
|
|
5634
|
-
|
|
5635
|
-
|
|
5636
|
-
onChange === null || onChange === void 0 ? void 0 : onChange(_value);
|
|
5637
|
-
return;
|
|
5638
|
-
}
|
|
5639
|
-
if (!((_c = _value.selected_actions) === null || _c === void 0 ? void 0 : _c[action.id])) {
|
|
5640
|
-
_value.selected_actions = Object.assign(Object.assign({}, _value.selected_actions), { [action.id]: action.key || '' });
|
|
5641
|
-
onChange && onChange(_value);
|
|
5642
|
-
setValue(_value);
|
|
5643
|
-
return;
|
|
5644
|
-
}
|
|
5645
|
-
if (_value.selected_actions[action.id]) {
|
|
5646
|
-
delete _value.selected_actions[action.id];
|
|
5647
|
-
onChange && onChange(_value);
|
|
5648
|
-
setValue(_value);
|
|
5649
|
-
return;
|
|
5650
|
-
}
|
|
5654
|
+
const handleOnChange = (action) => __awaiter(void 0, void 0, void 0, function* () {
|
|
5655
|
+
if (!action) {
|
|
5656
|
+
return;
|
|
5657
|
+
}
|
|
5658
|
+
const _value = Object.assign(Object.assign({}, value), { action_id: submitButton === null || submitButton === void 0 ? void 0 : submitButton.id, action_value: submitButton === null || submitButton === void 0 ? void 0 : submitButton.key });
|
|
5659
|
+
if (!_value.selected_actions) {
|
|
5660
|
+
const tmp = {};
|
|
5661
|
+
tmp[action.id] = action === null || action === void 0 ? void 0 : action.key;
|
|
5662
|
+
setValue(Object.assign(Object.assign({}, _value), { selected_actions: Object.assign({}, tmp) }));
|
|
5663
|
+
return;
|
|
5664
|
+
}
|
|
5665
|
+
if (!_value.selected_actions[action.id]) {
|
|
5666
|
+
_value.selected_actions[action.id] = action === null || action === void 0 ? void 0 : action.key;
|
|
5667
|
+
onChange && onChange(_value);
|
|
5668
|
+
setValue(_value);
|
|
5669
|
+
return;
|
|
5670
|
+
}
|
|
5671
|
+
if (_value.selected_actions[action.id]) {
|
|
5672
|
+
delete _value.selected_actions[action.id];
|
|
5673
|
+
onChange && onChange(_value);
|
|
5674
|
+
setValue(_value);
|
|
5675
|
+
return;
|
|
5651
5676
|
}
|
|
5652
5677
|
});
|
|
5653
5678
|
const actionsRemoveMultipleBtn = (_a = node === null || node === void 0 ? void 0 : node.actions) === null || _a === void 0 ? void 0 : _a.filter((a) => a.type !== NodeActionType.ACTION_MULTIPLE_BUTTON);
|
|
5654
5679
|
return (React__default.createElement(StyledWrap$3, { id: "si-node-text" },
|
|
5655
5680
|
React__default.createElement(Container$h, { intents: (node === null || node === void 0 ? void 0 : node.intents) || [], indexNumber: indexNumber }),
|
|
5656
|
-
React__default.createElement(Container$7, { value: activeActions, actions: actionsRemoveMultipleBtn, onChange: handleOnChange
|
|
5681
|
+
React__default.createElement(Container$7, { value: activeActions, actions: actionsRemoveMultipleBtn, onChange: handleOnChange })));
|
|
5657
5682
|
};
|
|
5658
5683
|
Container$5.displayName = 'SubotInlineNodeMultipleContainer';
|
|
5659
5684
|
|
|
@@ -5697,7 +5722,8 @@ const StyledWrap$2 = styled.div `
|
|
|
5697
5722
|
`;
|
|
5698
5723
|
|
|
5699
5724
|
const Container$4 = ({ node, indexNumber }) => {
|
|
5700
|
-
|
|
5725
|
+
var _a;
|
|
5726
|
+
const { params, setIsShowFooter } = useContext(SubotInlineContext);
|
|
5701
5727
|
const { value, setValue } = useContext(NodeContext);
|
|
5702
5728
|
const descriptionNode = useDescriptionPollNode({ node });
|
|
5703
5729
|
useMemo(() => {
|
|
@@ -5714,41 +5740,48 @@ const Container$4 = ({ node, indexNumber }) => {
|
|
|
5714
5740
|
return null;
|
|
5715
5741
|
}, [node === null || node === void 0 ? void 0 : node.actions]);
|
|
5716
5742
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5717
|
-
const handleOnChange = (
|
|
5718
|
-
|
|
5719
|
-
|
|
5720
|
-
|
|
5721
|
-
|
|
5722
|
-
|
|
5723
|
-
|
|
5724
|
-
|
|
5725
|
-
|
|
5726
|
-
|
|
5727
|
-
|
|
5743
|
+
const handleOnChange = (formValue, formSubmitMetaWithOther) => {
|
|
5744
|
+
if (formValue) {
|
|
5745
|
+
const { is_multi_select } = node;
|
|
5746
|
+
const _message = Object.assign(Object.assign(Object.assign({}, params), value), { node_id: node.id, action_id: submitButton === null || submitButton === void 0 ? void 0 : submitButton.id, action_value: submitButton === null || submitButton === void 0 ? void 0 : submitButton.key, form_submit_meta: (value === null || value === void 0 ? void 0 : value.form_submit_meta)
|
|
5747
|
+
? [...value === null || value === void 0 ? void 0 : value.form_submit_meta]
|
|
5748
|
+
: [] });
|
|
5749
|
+
let tmpFormSubmitMeta = [];
|
|
5750
|
+
const currentSubmitMeta = [
|
|
5751
|
+
..._message === null || _message === void 0 ? void 0 : _message.form_submit_meta,
|
|
5752
|
+
];
|
|
5753
|
+
if (!formSubmitMetaWithOther) {
|
|
5754
|
+
const formUpdateIndex = currentSubmitMeta.findIndex(({ action_id }) => action_id === formValue.action_id);
|
|
5755
|
+
/**
|
|
5756
|
+
* The current logic when onChange is called will remove/add this poll action in the submit meta
|
|
5757
|
+
* But IF the onChange is called due to the input text other, this action will be not removed from the previous list
|
|
5758
|
+
*/
|
|
5759
|
+
if (formUpdateIndex !== -1) {
|
|
5760
|
+
tmpFormSubmitMeta = [
|
|
5761
|
+
...currentSubmitMeta.slice(0, formUpdateIndex),
|
|
5762
|
+
...currentSubmitMeta.slice(formUpdateIndex + 1),
|
|
5763
|
+
];
|
|
5764
|
+
}
|
|
5765
|
+
else {
|
|
5766
|
+
if (!is_multi_select) {
|
|
5767
|
+
tmpFormSubmitMeta = [Object.assign({}, formValue)];
|
|
5768
|
+
}
|
|
5769
|
+
else {
|
|
5770
|
+
tmpFormSubmitMeta = [...currentSubmitMeta];
|
|
5771
|
+
tmpFormSubmitMeta.push(formValue);
|
|
5772
|
+
}
|
|
5773
|
+
}
|
|
5728
5774
|
}
|
|
5729
5775
|
else {
|
|
5730
|
-
|
|
5731
|
-
{
|
|
5732
|
-
key: action === null || action === void 0 ? void 0 : action.key,
|
|
5733
|
-
control: ELEMENT_CONTROL_INPUT_TYPE[action === null || action === void 0 ? void 0 : action.type] || 'text',
|
|
5734
|
-
value: '',
|
|
5735
|
-
action_id: action === null || action === void 0 ? void 0 : action.id,
|
|
5736
|
-
},
|
|
5737
|
-
]);
|
|
5776
|
+
tmpFormSubmitMeta = currentSubmitMeta;
|
|
5738
5777
|
}
|
|
5739
|
-
|
|
5740
|
-
|
|
5741
|
-
|
|
5742
|
-
|
|
5743
|
-
|
|
5744
|
-
|
|
5745
|
-
newValue.form_submit_meta = (_f = newValue.form_submit_meta) === null || _f === void 0 ? void 0 : _f.filter(({ action_id }) => action_id !== (action === null || action === void 0 ? void 0 : action.action_id));
|
|
5778
|
+
_message.form_submit_meta = [...tmpFormSubmitMeta]
|
|
5779
|
+
.filter((item) => formSubmitMetaWithOther
|
|
5780
|
+
? item.key !== KEY_OF_TEXT_CHOICE_WITH_OTHER_FIELD
|
|
5781
|
+
: true)
|
|
5782
|
+
.concat(formSubmitMetaWithOther || []);
|
|
5783
|
+
setValue(_message);
|
|
5746
5784
|
}
|
|
5747
|
-
else {
|
|
5748
|
-
newValue.form_submit_meta = (_g = newValue.form_submit_meta) === null || _g === void 0 ? void 0 : _g.concat([action]);
|
|
5749
|
-
}
|
|
5750
|
-
setValue(newValue);
|
|
5751
|
-
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
5752
5785
|
};
|
|
5753
5786
|
const activeActions = useMemo(() => {
|
|
5754
5787
|
if (value === null || value === void 0 ? void 0 : value.form_submit_meta) {
|
|
@@ -5756,14 +5789,10 @@ const Container$4 = ({ node, indexNumber }) => {
|
|
|
5756
5789
|
}
|
|
5757
5790
|
return [];
|
|
5758
5791
|
}, [value, value === null || value === void 0 ? void 0 : value.form_submit_meta]);
|
|
5759
|
-
useEffect(() => {
|
|
5760
|
-
console.log('adfsafsdf');
|
|
5761
|
-
setValue(node === null || node === void 0 ? void 0 : node._message);
|
|
5762
|
-
}, []);
|
|
5763
5792
|
return (React__default.createElement(StyledWrap$2, null,
|
|
5764
5793
|
React__default.createElement(Container$h, { intents: node.intents || [], indexNumber: indexNumber }),
|
|
5765
5794
|
React__default.createElement("p", { className: "si-poll-description" }, descriptionNode),
|
|
5766
|
-
React__default.createElement(Container$7, { node_type: node === null || node === void 0 ? void 0 : node.type, value: activeActions, actions: node === null || node === void 0 ? void 0 : node.actions, onChange: handleOnChange, formSubmitMeta:
|
|
5795
|
+
React__default.createElement(Container$7, { node_type: node === null || node === void 0 ? void 0 : node.type, value: activeActions, actions: node === null || node === void 0 ? void 0 : node.actions, onChange: handleOnChange, formSubmitMeta: (_a = node._message) === null || _a === void 0 ? void 0 : _a.form_submit_meta })));
|
|
5767
5796
|
};
|
|
5768
5797
|
Container$4.displayName = 'SubotinlineNodePoll';
|
|
5769
5798
|
|
|
@@ -5834,6 +5863,7 @@ const StyledWrap = styled.div `
|
|
|
5834
5863
|
`;
|
|
5835
5864
|
|
|
5836
5865
|
const Container$2 = ({ node, indexNumber }) => {
|
|
5866
|
+
var _a;
|
|
5837
5867
|
const { params, onSubmit, setIsShowFooter, listNodes, activeId, setLoading, onChange, } = useContext(SubotInlineContext);
|
|
5838
5868
|
const { value, setValue } = useContext(NodeContext);
|
|
5839
5869
|
useMemo(() => {
|
|
@@ -5853,7 +5883,7 @@ const Container$2 = ({ node, indexNumber }) => {
|
|
|
5853
5883
|
const res = yield subotInlineMessage(newParams);
|
|
5854
5884
|
setLoading(false);
|
|
5855
5885
|
if ((res === null || res === void 0 ? void 0 : res._status) === 1) {
|
|
5856
|
-
const
|
|
5886
|
+
const _b = res === null || res === void 0 ? void 0 : res._data, { node } = _b, restData = __rest(_b, ["node"]);
|
|
5857
5887
|
const nextNode = Object.assign(Object.assign({}, node), { _message: Object.assign(Object.assign({}, restData), { node_id: node.id }) });
|
|
5858
5888
|
onSubmit(nextNode, newParams);
|
|
5859
5889
|
}
|
|
@@ -5861,21 +5891,28 @@ const Container$2 = ({ node, indexNumber }) => {
|
|
|
5861
5891
|
const handleOnChange = (action, formSubmitMeta) => __awaiter(void 0, void 0, void 0, function* () {
|
|
5862
5892
|
if (!action)
|
|
5863
5893
|
return;
|
|
5864
|
-
const
|
|
5865
|
-
|
|
5866
|
-
|
|
5867
|
-
|
|
5868
|
-
setValue(newValue);
|
|
5869
|
-
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
5894
|
+
const isActionSelectWithOther = action.type === NodeActionType.USER_CHOICE_TEXT_BY_INPUT;
|
|
5895
|
+
setValue(Object.assign(Object.assign({}, value), { action_id: action === null || action === void 0 ? void 0 : action.id, action_value: action === null || action === void 0 ? void 0 : action.key }));
|
|
5896
|
+
if (!isActionSelectWithOther) {
|
|
5897
|
+
handleOnChangeNormal(action);
|
|
5870
5898
|
return;
|
|
5871
5899
|
}
|
|
5872
|
-
|
|
5873
|
-
|
|
5874
|
-
|
|
5900
|
+
if (formSubmitMeta) {
|
|
5901
|
+
const newParams = Object.assign(Object.assign(Object.assign(Object.assign({}, params), value), { node_id: node.id, action_id: action === null || action === void 0 ? void 0 : action.id, action_value: action === null || action === void 0 ? void 0 : action.key, form_submit_meta: formSubmitMeta }), getCurrentTotalDynamicScore(listNodes, activeId, action.id));
|
|
5902
|
+
onChange(newParams);
|
|
5903
|
+
setLoading(true);
|
|
5904
|
+
const res = yield subotInlineMessage(newParams);
|
|
5905
|
+
setLoading(false);
|
|
5906
|
+
if ((res === null || res === void 0 ? void 0 : res._status) === 1) {
|
|
5907
|
+
const _c = res === null || res === void 0 ? void 0 : res._data, { node } = _c, restData = __rest(_c, ["node"]);
|
|
5908
|
+
const nextNode = Object.assign(Object.assign({}, node), { _message: Object.assign(Object.assign({}, restData), { node_id: node.id }) });
|
|
5909
|
+
onSubmit(nextNode, newParams);
|
|
5910
|
+
}
|
|
5911
|
+
}
|
|
5875
5912
|
});
|
|
5876
5913
|
return (React__default.createElement(StyledWrap, { id: "si-node-text" },
|
|
5877
5914
|
React__default.createElement(Container$h, { intents: (node === null || node === void 0 ? void 0 : node.intents) || [], indexNumber: indexNumber }),
|
|
5878
|
-
React__default.createElement(Container$7, { value: (value === null || value === void 0 ? void 0 : value.action_id) ? [value === null || value === void 0 ? void 0 : value.action_id] : [], actions: node === null || node === void 0 ? void 0 : node.actions, onChange: handleOnChange, formSubmitMeta:
|
|
5915
|
+
React__default.createElement(Container$7, { value: (value === null || value === void 0 ? void 0 : value.action_id) ? [value === null || value === void 0 ? void 0 : value.action_id] : [], actions: node === null || node === void 0 ? void 0 : node.actions, onChange: handleOnChange, formSubmitMeta: (_a = node === null || node === void 0 ? void 0 : node._message) === null || _a === void 0 ? void 0 : _a.form_submit_meta })));
|
|
5879
5916
|
};
|
|
5880
5917
|
Container$2.displayName = 'SubotInlineNodeTextContainer';
|
|
5881
5918
|
|
|
@@ -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-b78aebd2.js';
|
|
4
|
+
import './utils-f5300c3b.js';
|
|
5
|
+
import './index-8b011b95.js';
|
|
6
|
+
import './index-d8009eee.js';
|
|
7
7
|
import './constantsDomainLocales.js';
|
|
8
|
-
import './Locale-
|
|
8
|
+
import './Locale-b1a3e508.js';
|
|
9
9
|
import './constantsIsProduction.js';
|
|
10
|
-
import './index-
|
|
10
|
+
import './index-ed0a2774.js';
|
|
11
11
|
import 'date-fns/locale';
|
|
12
|
-
import './index-
|
|
12
|
+
import './index-34b4ff66.js';
|
|
13
13
|
import './constantsSite.js';
|
|
14
14
|
import './constantsRiskScreener.js';
|
|
15
|
-
import './tslib.es6-
|
|
16
|
-
import './store-
|
|
15
|
+
import './tslib.es6-9354e23b.js';
|
|
16
|
+
import './store-3a666edb.js';
|
|
17
17
|
import 'zustand';
|
|
18
|
-
import './normalizeLink-
|
|
18
|
+
import './normalizeLink-3bf264b1.js';
|
|
19
19
|
import './miscCookieHelper.js';
|
|
20
|
-
import './useScreenSize-
|
|
20
|
+
import './useScreenSize-37e3e212.js';
|
|
21
21
|
import '@emotion/styled';
|
|
22
|
-
import './utils-
|
|
22
|
+
import './utils-0e26a9d9.js';
|
|
23
23
|
import '@mantine/form';
|
|
24
|
-
import './index-
|
|
24
|
+
import './index-ba27e183.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-feadf6fb.js';
|
|
29
|
+
import './other-9350905b.js';
|
|
30
30
|
import './miscTheme.js';
|
|
31
|
-
import './useMantineLocale-
|
|
31
|
+
import './useMantineLocale-07dde661.js';
|
|
32
32
|
import '@mantine/notifications';
|
|
33
33
|
import 'dayjs';
|
|
34
|
-
import './index-
|
|
34
|
+
import './index-046b2cda.js';
|
|
35
35
|
import 'classnames';
|
|
36
|
-
import './useUniqueId-
|
|
36
|
+
import './useUniqueId-c544557a.js';
|
|
37
37
|
import '@hhgtech/icons/core';
|
|
38
38
|
import '@mantine/dates';
|
|
39
|
-
import './index.styles-
|
|
40
|
-
import './index-
|
|
39
|
+
import './index.styles-85886458.js';
|
|
40
|
+
import './index-5fca5aca.js';
|
|
41
41
|
import './togetherApiPaths.js';
|
|
42
|
-
import './translationsContext-
|
|
43
|
-
import './index-
|
|
44
|
-
import './useHealthToolCache-
|
|
42
|
+
import './translationsContext-db19ea71.js';
|
|
43
|
+
import './index-36823b40.js';
|
|
44
|
+
import './useHealthToolCache-3f7ee8b6.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-bf04a01a.js';
|
|
47
|
+
import './index-b4fd4466.js';
|
|
48
|
+
import './WhatsApp-4e9af54c.js';
|
|
49
|
+
import './Spinner-8c68b183.js';
|
|
50
|
+
import './index-32712edf.js';
|
|
51
|
+
import './index-2787a114.js';
|
|
52
52
|
import 'js-cookie';
|
|
53
53
|
import 'lodash/flatten';
|
|
54
54
|
import 'lodash/uniqBy';
|
|
55
|
-
import './index-
|
|
55
|
+
import './index-44088813.js';
|
|
56
56
|
import 'slugify';
|
|
57
57
|
import 'string-format';
|
|
58
|
-
import './constants-
|
|
58
|
+
import './constants-f1633bde.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-57c3b54f.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
import './index-
|
|
4
|
-
import './tslib.es6-
|
|
5
|
-
import './index-
|
|
3
|
+
import './index-116089f5.js';
|
|
4
|
+
import './tslib.es6-9354e23b.js';
|
|
5
|
+
import './index-046b2cda.js';
|
|
6
6
|
import '@mantine/core';
|
|
7
|
-
import './index-
|
|
8
|
-
import './other-
|
|
9
|
-
import './index-
|
|
10
|
-
import './index-
|
|
7
|
+
import './index-feadf6fb.js';
|
|
8
|
+
import './other-9350905b.js';
|
|
9
|
+
import './index-36823b40.js';
|
|
10
|
+
import './index-0dbf64a0.js';
|
|
11
11
|
import '@emotion/styled';
|
|
12
12
|
import './miscTheme.js';
|
|
13
|
-
import './utils-
|
|
14
|
-
import './index-
|
|
13
|
+
import './utils-0e26a9d9.js';
|
|
14
|
+
import './index-980bc43a.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-116089f5.js';
|
|
3
|
+
import { T as Text } from './index-feadf6fb.js';
|
|
4
|
+
import { H as Heading } from './index-36823b40.js';
|
|
5
|
+
import { I as Input } from './index-0dbf64a0.js';
|
|
6
|
+
import { T as TextArea } from './index-980bc43a.js';
|
|
7
7
|
import styled from '@emotion/styled';
|
|
8
8
|
import { theme } from './miscTheme.js';
|
|
9
9
|
|