@hhgtech/hhg-components 1.29.319 → 1.29.320
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/{LastPeriod-c0e3440d.js → LastPeriod-497c1cc3.js} +1 -1
- package/build/{MobileBottomNavigationIcon-1a6ba702.js → MobileBottomNavigationIcon-1f57e757.js} +3 -3
- package/build/{Spinner-dbc435a8.js → Spinner-25b15010.js} +1 -1
- package/build/{WhatsApp-aaf94bb0.js → WhatsApp-c77ee670.js} +1 -1
- package/build/adapters.js +19 -19
- package/build/atoms.js +46 -46
- package/build/babyGrowth.js +83 -83
- package/build/cache.js +2 -2
- package/build/care/components/organisms/bookingSearchBar/index.styled.d.ts +2 -2
- package/build/care.js +17 -17
- package/build/careBookingSearchBar.js +14 -14
- package/build/careBookingSearchBarV2.js +15 -15
- package/build/components/atoms/drawer/helpers.d.ts +1 -1
- package/build/components/mantine/helpers.d.ts +1 -1
- package/build/components/molecules/mobileBottomNavigation/index.styled.d.ts +6 -1
- package/build/components/onboardingV2/frisoForm/index.d.ts +1 -1
- package/build/components/onboardingV2/index.d.ts +1 -1
- package/build/components.js +90 -90
- package/build/{constants-8f3784a8.js → constants-42bc6a79.js} +1 -1
- package/build/constants.js +3 -3
- package/build/constantsDomainLocales.js +1 -1
- package/build/constantsRiskScreener.js +2 -2
- package/build/constantsSite.js +2 -2
- package/build/{core-287c17ab.js → core-e11447fe.js} +1 -1
- package/build/{dataTransform-589a7ea8.js → dataTransform-5699bb3b.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-e9405c86.js → editor-e3bf1de9.js} +11 -11
- package/build/embeddedHeathToolCards_babyGrowth.js +23 -23
- package/build/embeddedHeathToolCards_babyPoop.js +19 -19
- package/build/embeddedHeathToolCards_babyVaccine.js +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-9d0898ca.js → LastPeriod-ecafc262.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-b88891d5.js → MobileBottomNavigationIcon-8b2949e2.js} +3 -3
- package/build/esm/{Spinner-00ba6eea.js → Spinner-c23d4aa4.js} +1 -1
- package/build/esm/{WhatsApp-ea897797.js → WhatsApp-2e16cddf.js} +1 -1
- package/build/esm/adapters.js +19 -19
- package/build/esm/atoms.js +46 -46
- package/build/esm/babyGrowth.js +83 -83
- package/build/esm/cache.js +2 -2
- package/build/esm/care/components/organisms/bookingSearchBar/index.styled.d.ts +2 -2
- package/build/esm/care.js +17 -17
- package/build/esm/careBookingSearchBar.js +14 -14
- package/build/esm/careBookingSearchBarV2.js +15 -15
- package/build/esm/components/atoms/drawer/helpers.d.ts +1 -1
- package/build/esm/components/mantine/helpers.d.ts +1 -1
- package/build/esm/components/molecules/mobileBottomNavigation/index.styled.d.ts +6 -1
- package/build/esm/components/onboardingV2/frisoForm/index.d.ts +1 -1
- package/build/esm/components/onboardingV2/index.d.ts +1 -1
- package/build/esm/components.js +90 -90
- package/build/esm/{constants-6ab25eb6.js → constants-99a73cd7.js} +1 -1
- package/build/esm/constants.js +3 -3
- package/build/esm/constantsDomainLocales.js +1 -1
- package/build/esm/constantsRiskScreener.js +2 -2
- package/build/esm/constantsSite.js +2 -2
- package/build/esm/{core-53d8046d.js → core-f62195ea.js} +1 -1
- package/build/esm/{dataTransform-71878d6f.js → dataTransform-16050860.js} +1 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-8d8c8857.js → editor-4508da87.js} +11 -11
- package/build/esm/embeddedHeathToolCards_babyGrowth.js +23 -23
- package/build/esm/embeddedHeathToolCards_babyPoop.js +19 -19
- package/build/esm/embeddedHeathToolCards_babyVaccine.js +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.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-39975ece.js → index-05e1a6f7.js} +24 -24
- package/build/esm/{index-48b1b0d8.js → index-0cdbb81a.js} +2 -2
- package/build/esm/{index-8c62f861.js → index-1112c881.js} +2 -2
- package/build/esm/{index-72183abe.js → index-1bcd4a4f.js} +17 -17
- package/build/esm/{index-d11f456f.js → index-267ae4aa.js} +6 -6
- package/build/esm/{index-827b01a9.js → index-2946734b.js} +15 -15
- package/build/esm/{index-96ad4c5c.js → index-2d4597a1.js} +13 -13
- package/build/esm/{index-ff09d4e3.js → index-3223a18a.js} +2 -2
- package/build/esm/{index-f2ce73ce.js → index-372ea6a1.js} +20 -20
- package/build/esm/{index-ad870457.js → index-3b772e23.js} +32 -32
- package/build/esm/{index-ffb09b98.js → index-3ff0c5cd.js} +2 -2
- package/build/esm/{index-e99c0162.js → index-45da01df.js} +6 -6
- package/build/esm/{index-3236c8cc.js → index-485af9de.js} +13 -13
- package/build/esm/{index-e23ba33a.js → index-4902d406.js} +2 -2
- package/build/esm/{index-d8261673.js → index-499a3a34.js} +6 -6
- package/build/esm/{index-a3264c29.js → index-527e7f53.js} +1 -1
- package/build/esm/{index-22824646.js → index-56619127.js} +1 -1
- package/build/esm/{index-6b53f614.js → index-57566e02.js} +15 -15
- package/build/esm/{index-a415a0b9.js → index-5b1abe33.js} +1 -1
- package/build/esm/{index-a8a4567b.js → index-5ea9f4e0.js} +2 -2
- package/build/esm/{index-cf33fbac.js → index-5f82d35d.js} +4 -4
- package/build/esm/{index-30d78691.js → index-5feca96e.js} +18 -18
- package/build/esm/{index-cf6bd7e7.js → index-60926700.js} +7 -7
- package/build/esm/{index-548b74f0.js → index-6332437b.js} +2 -2
- package/build/esm/{index-fc2f74ee.js → index-671ab60b.js} +5 -5
- package/build/esm/{index-9dffd07c.js → index-6885689a.js} +1 -1
- package/build/esm/{index-9af7a0e6.js → index-70386ac3.js} +26 -26
- package/build/esm/{index-2a97ac41.js → index-76bd6b9a.js} +30 -30
- package/build/esm/{index-c315f8c0.js → index-953a9f6d.js} +16 -16
- package/build/esm/{index-98d12ee0.js → index-a03b7c7e.js} +3 -3
- package/build/esm/{index-7508150a.js → index-a0df2fc1.js} +1 -1
- package/build/esm/{index-38f2f27a.js → index-a2db8c2a.js} +5 -5
- package/build/esm/{index-d15b19b1.js → index-a33c0764.js} +3 -3
- package/build/esm/{index-5e6b5bfa.js → index-a6bbf555.js} +17 -17
- package/build/esm/{index-81d45397.js → index-a75e6728.js} +3 -3
- package/build/esm/{index-1d6355ef.js → index-a83dc41c.js} +1 -1
- package/build/esm/{index-7125a190.js → index-aaa46298.js} +16 -16
- package/build/esm/{index-d041dccc.js → index-ae5ed3ab.js} +13 -13
- package/build/esm/{index-528b7f1b.js → index-b695b404.js} +3 -3
- package/build/esm/{index-453c7fe5.js → index-c14d170c.js} +16 -16
- package/build/esm/index-c2c0593c.js +339 -0
- package/build/esm/{index-864133e6.js → index-c3833835.js} +7 -7
- package/build/esm/{index-65c5f9ff.js → index-c407454a.js} +1 -1
- package/build/esm/{index-d9412d5d.js → index-c4c21578.js} +13 -13
- package/build/esm/{index-224b1ffd.js → index-c50d357a.js} +16 -16
- package/build/esm/{index-87e48e6a.js → index-c8f4eec2.js} +2 -2
- package/build/esm/{index-52ac9bb8.js → index-c9220875.js} +3 -3
- package/build/esm/{index-9ed195e7.js → index-cb61c519.js} +17 -17
- package/build/esm/{index-8c71002f.js → index-ccc5f6e7.js} +2 -2
- package/build/esm/{index-821baf4d.js → index-d69892f4.js} +6 -6
- package/build/esm/{index-3b822c5c.js → index-d7c0cf31.js} +18 -18
- package/build/esm/{index-57807cec.js → index-d8f1469a.js} +10 -10
- package/build/esm/{index-f69efff3.js → index-dbd20106.js} +21 -21
- package/build/esm/{index-cfa693d6.js → index-e17bf4a4.js} +2 -2
- package/build/esm/{index-67962b2a.js → index-ec8e3c42.js} +2 -2
- package/build/esm/{index-9116f0e9.js → index-ed438ca0.js} +3 -3
- package/build/esm/{index-9d956264.js → index-f9887fb6.js} +11 -11
- package/build/esm/{index-2a2c81f0.js → index-fae543f2.js} +3 -3
- package/build/esm/{index-9d4eaf82.js → index-faf5fae9.js} +1 -1
- package/build/esm/{index-00d45d5d.js → index-fca96fe1.js} +2 -2
- package/build/esm/{index-3cfa6db4.js → index-fd01690c.js} +1 -1
- package/build/esm/{index-b0a1975a.js → index-febb64f7.js} +24 -24
- package/build/esm/index.js +112 -112
- package/build/esm/{labelSorting-206b8392.js → labelSorting-77f6aa73.js} +4 -4
- package/build/esm/lead.js +24 -24
- package/build/esm/{logoIcon-0ebcb7ee.js → logoIcon-cf77f069.js} +2 -2
- package/build/esm/mantine.js +25 -25
- package/build/esm/misc/animation.d.ts +54 -9
- package/build/esm/misc.js +16 -16
- package/build/esm/miscGetDynamicHealthTool.js +4 -4
- package/build/esm/miscGetSocialList.js +8 -8
- package/build/esm/miscScreenSizeContext.js +1 -1
- package/build/esm/mobileBottomNavigation.js +5 -5
- package/build/esm/mobileBottomNavigationIcon.js +5 -5
- package/build/esm/molecules.js +69 -69
- package/build/esm/moleculesArticleCard.js +6 -6
- package/build/esm/moleculesArticleCardV2.js +16 -16
- package/build/esm/navigation.js +40 -40
- package/build/esm/navigationLogoutPopup.js +9 -9
- package/build/esm/navigationProfileButton.js +23 -23
- package/build/esm/onboardingV2.js +29 -29
- package/build/esm/organisms.js +44 -44
- package/build/esm/{post-c1a023eb.js → post-8ae8f11c.js} +2 -2
- package/build/esm/profileNavigation.js +19 -19
- package/build/esm/progressBar.js +1 -1
- package/build/esm/pwg.js +22 -22
- package/build/esm/ssoV2/api/phoneUtils.d.ts +1 -1
- package/build/esm/ssoV2.js +26 -26
- package/build/esm/{store-60dbd39c.js → store-a60898cd.js} +3 -3
- package/build/esm/subot/utils/index.d.ts +1 -1
- package/build/esm/subot.js +137 -174
- package/build/esm/surveyOrPremiumBanner.js +31 -31
- package/build/esm/surveyQuestionCard.js +10 -10
- package/build/esm/{surveyThankyouCard-bd16b16a.js → surveyThankyouCard-2d7f4cd1.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-a73f346a.js → treePopoverMenu-9a61d3fa.js} +19 -19
- package/build/esm/{types-8cfe1612.js → types-45ef2fca.js} +2 -2
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-8d4005fa.js → useCategory-8a3d27d5.js} +5 -5
- package/build/esm/{useHealthToolCache-9ae49071.js → useHealthToolCache-e3ee2c3e.js} +1 -1
- package/build/esm/{useMantineLocale-92f2ea43.js → useMantineLocale-463de4dc.js} +6 -6
- package/build/esm/{usePlacesAutocomplete-fb864ca8.js → usePlacesAutocomplete-e91197e8.js} +1 -1
- package/build/esm/{useScreenSize-b9c63fd4.js → useScreenSize-1c07e0db.js} +2 -2
- package/build/esm/useTogetherAuthRequiredAction.js +9 -9
- package/build/esm/{utils-e1753919.js → utils-4a9fef7b.js} +2 -2
- package/build/esm/{utils-a5a9607a.js → utils-9662d944.js} +3 -3
- package/build/esm/{utils-c5b955b5.js → utils-f96a5be1.js} +2 -2
- package/build/esm/vaccination.js +21 -21
- package/build/footer.js +21 -21
- package/build/gAssets.js +2 -2
- package/build/healthToolsCardWrapper.js +18 -18
- package/build/healthToolsForm.js +33 -33
- package/build/hooks.js +13 -13
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-ef87118c.js → index-0dbe4e51.js} +1 -1
- package/build/{index-f332e407.js → index-115c6a12.js} +16 -16
- package/build/{index-d429cb16.js → index-13ebaea8.js} +1 -1
- package/build/{index-817850c6.js → index-166f1018.js} +2 -2
- package/build/{index-b1d46f9c.js → index-16e876d1.js} +16 -16
- package/build/{index-77a491eb.js → index-1734a3b7.js} +3 -3
- package/build/{index-143aafea.js → index-18ba0af3.js} +2 -2
- package/build/{index-37d31689.js → index-1dc43958.js} +24 -24
- package/build/{index-23224883.js → index-1f7a42a3.js} +1 -1
- package/build/{index-d633b844.js → index-208ad38c.js} +16 -16
- package/build/{index-94eea6f7.js → index-21adf235.js} +15 -15
- package/build/{index-da13a167.js → index-21ed889a.js} +24 -24
- package/build/{index-1dfa9177.js → index-2a13f9cb.js} +2 -2
- package/build/{index-56546b60.js → index-2ce42c79.js} +18 -18
- package/build/{index-af5f451b.js → index-33a06f6f.js} +7 -7
- package/build/{index-129c74cb.js → index-397873b9.js} +3 -3
- package/build/{index-d944f3c3.js → index-3d39488c.js} +13 -13
- package/build/{index-46b2af54.js → index-3d46023a.js} +2 -2
- package/build/{index-2b404405.js → index-4561e542.js} +11 -11
- package/build/{index-81b53861.js → index-471600df.js} +20 -20
- package/build/{index-3a36a785.js → index-4f055f08.js} +2 -2
- package/build/{index-bf7ea186.js → index-518f63d1.js} +21 -21
- package/build/{index-b6143bc6.js → index-557d2f11.js} +2 -2
- package/build/{index-b51dc90a.js → index-56e70ecf.js} +2 -2
- package/build/{index-ac795f2b.js → index-59179d2c.js} +3 -3
- package/build/{index-97c6097e.js → index-63559f28.js} +16 -16
- package/build/{index-242bd862.js → index-6369b41f.js} +17 -17
- package/build/{index-ab14e573.js → index-64167c19.js} +17 -17
- package/build/{index-b27a8af5.js → index-66fbcfb4.js} +2 -2
- package/build/{index-c018b0ab.js → index-6ab4dd8d.js} +2 -2
- package/build/{index-af2a2f67.js → index-6e5edf5e.js} +1 -1
- package/build/{index-384d7645.js → index-7047c49e.js} +2 -2
- package/build/{index-18125b5e.js → index-708a71e9.js} +13 -13
- package/build/{index-f0df9598.js → index-75c177e2.js} +13 -13
- package/build/{index-9375980a.js → index-7ff568d5.js} +13 -13
- package/build/{index-32a0e8b8.js → index-8241c2f1.js} +6 -6
- package/build/{index-23fe1789.js → index-8390bb72.js} +2 -2
- package/build/{index-5b01f1e8.js → index-839c9486.js} +6 -6
- package/build/{index-fb5ffb96.js → index-870dba22.js} +1 -1
- package/build/index-8c7c9885.js +341 -0
- package/build/{index-74308b95.js → index-8e225fa2.js} +3 -3
- package/build/{index-d9dde73a.js → index-911cc655.js} +26 -26
- package/build/{index-9dabfdea.js → index-91ce180d.js} +1 -1
- package/build/{index-d4eaddce.js → index-9ba4a661.js} +1 -1
- package/build/{index-cddeb541.js → index-a6a67288.js} +3 -3
- package/build/{index-de7e7205.js → index-a6f169a6.js} +15 -15
- package/build/{index-6551d32d.js → index-a9a77632.js} +30 -30
- package/build/{index-478afe2d.js → index-b8f4153e.js} +7 -7
- package/build/{index-66771e62.js → index-b9ae86ae.js} +32 -32
- package/build/{index-343c12ba.js → index-bb562543.js} +5 -5
- package/build/{index-38d8436d.js → index-ce3b6f3c.js} +3 -3
- package/build/{index-ce187501.js → index-d6989184.js} +6 -6
- package/build/{index-863a8b0f.js → index-d7ec8f54.js} +4 -4
- package/build/{index-f7ddf327.js → index-dbef95df.js} +18 -18
- package/build/{index-b715b7cb.js → index-dfa09d1b.js} +17 -17
- package/build/{index-de60ae40.js → index-e39105a3.js} +1 -1
- package/build/{index-d1941d0b.js → index-e7dbce71.js} +5 -5
- package/build/{index-d839f382.js → index-ead49133.js} +1 -1
- package/build/{index-490445e0.js → index-eae36f8c.js} +2 -2
- package/build/{index-8521273b.js → index-ee2bf807.js} +3 -3
- package/build/{index-9afb93ca.js → index-f390df9c.js} +10 -10
- package/build/{index-c0feef5c.js → index-fb785f16.js} +6 -6
- package/build/index.js +112 -112
- package/build/{labelSorting-24d5d598.js → labelSorting-2ffc35c0.js} +4 -4
- package/build/lead.js +24 -24
- package/build/{logoIcon-0c29807d.js → logoIcon-e3ae9faa.js} +2 -2
- package/build/mantine.js +22 -22
- package/build/misc/animation.d.ts +54 -9
- package/build/misc.js +16 -16
- package/build/miscGetDynamicHealthTool.js +4 -4
- package/build/miscGetSocialList.js +8 -8
- package/build/miscScreenSizeContext.js +1 -1
- package/build/mobileBottomNavigation.js +5 -5
- package/build/mobileBottomNavigationIcon.js +5 -5
- package/build/molecules.js +69 -69
- package/build/moleculesArticleCard.js +6 -6
- package/build/moleculesArticleCardV2.js +16 -16
- package/build/navigation.js +40 -40
- package/build/navigationLogoutPopup.js +9 -9
- package/build/navigationProfileButton.js +23 -23
- package/build/onboardingV2.js +28 -28
- package/build/organisms.js +44 -44
- package/build/{post-a3a067cc.js → post-bb1cd2d3.js} +2 -2
- package/build/profileNavigation.js +19 -19
- package/build/progressBar.js +1 -1
- package/build/pwg.js +22 -22
- package/build/ssoV2/api/phoneUtils.d.ts +1 -1
- package/build/ssoV2.js +25 -25
- package/build/{store-3bdfd042.js → store-7867e783.js} +3 -3
- package/build/subot/utils/index.d.ts +1 -1
- package/build/subot.js +136 -173
- package/build/surveyOrPremiumBanner.js +31 -31
- package/build/surveyQuestionCard.js +10 -10
- package/build/{surveyThankyouCard-03764953.js → surveyThankyouCard-64bff3f5.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-f9027eed.js → treePopoverMenu-31ac23f2.js} +19 -19
- package/build/{types-1faebc10.js → types-1d0eddb9.js} +2 -2
- package/build/types.js +2 -2
- package/build/{useCategory-0e3720da.js → useCategory-cfd7ed45.js} +5 -5
- package/build/{useHealthToolCache-20501867.js → useHealthToolCache-5bef85fd.js} +1 -1
- package/build/{useMantineLocale-741bf395.js → useMantineLocale-f832cdab.js} +6 -6
- package/build/{usePlacesAutocomplete-6f273c8d.js → usePlacesAutocomplete-508c2f5e.js} +1 -1
- package/build/{useScreenSize-865ab69f.js → useScreenSize-e92f91b6.js} +2 -2
- package/build/useTogetherAuthRequiredAction.js +9 -9
- package/build/{utils-cbf3e5fb.js → utils-63f48248.js} +2 -2
- package/build/{utils-ee2160b8.js → utils-67514439.js} +3 -3
- package/build/{utils-75487da1.js → utils-6ba416c5.js} +2 -2
- package/build/vaccination.js +21 -21
- package/package.json +1 -1
- package/build/esm/index-a03ee763.js +0 -275
- package/build/index-1e63f1f9.js +0 -277
- /package/build/{BMI_BOYS.percentile.monthly-7b140fc3.js → BMI_BOYS.percentile.monthly-a076e0cc.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-18ed5029.js → BMI_BOYS.percentile.weekly-efe230f6.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-6bd82753.js → BMI_BOYS.percentile.yearly-2ab9dcfd.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-365710ca.js → BMI_BOYS.zscore.monthly-86eb6727.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-253b5709.js → BMI_BOYS.zscore.weekly-ace7fbe8.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-ecb1d197.js → BMI_BOYS.zscore.yearly-cb04b30e.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-cb3e7c24.js → BMI_GIRLS.percentile.monthly-1c5b48f3.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-184b7c03.js → BMI_GIRLS.percentile.weekly-9164a321.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-67c59c94.js → BMI_GIRLS.percentile.yearly-707dbf94.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-a6194d7e.js → BMI_GIRLS.zscore.monthly-0df834a5.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-3e0ef130.js → BMI_GIRLS.zscore.weekly-d4d96083.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-f99598d4.js → BMI_GIRLS.zscore.yearly-5fc825c0.js} +0 -0
- /package/build/{ChevronDown-e33e886c.js → ChevronDown-ed1ac570.js} +0 -0
- /package/build/{Close-19f6fcc6.js → Close-1d44486e.js} +0 -0
- /package/build/{Google-c52fdf6a.js → Google-fcce9aa9.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-398cdcb9.js → HEAD CIRCUM_BOYS.percentile.monthly-373531c3.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-7b776639.js → HEAD CIRCUM_BOYS.percentile.weekly-c7af16fb.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-59081efa.js → HEAD CIRCUM_BOYS.percentile.yearly-e9521c0e.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-937c298f.js → HEAD CIRCUM_BOYS.zscore.monthly-ed28fb91.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-831e8e63.js → HEAD CIRCUM_BOYS.zscore.weekly-a74979ae.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-ef886421.js → HEAD CIRCUM_BOYS.zscore.yearly-dcef4092.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-2ed1b280.js → HEAD CIRCUM_GIRLS.percentile.monthly-8c826483.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-02fcd964.js → HEAD CIRCUM_GIRLS.percentile.weekly-5e234efb.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-adabab0c.js → HEAD CIRCUM_GIRLS.percentile.yearly-98086a1c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-c439c958.js → HEAD CIRCUM_GIRLS.zscore.monthly-c35351bb.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-a65a52f7.js → HEAD CIRCUM_GIRLS.zscore.weekly-acf0f88b.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-9b4c80b0.js → HEAD CIRCUM_GIRLS.zscore.yearly-aacae5c8.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-95d33063.js → HEIGHT_BOYS.percentile.monthly-c50ca7fc.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-58ae3923.js → HEIGHT_BOYS.percentile.weekly-96b88ac9.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-17399309.js → HEIGHT_BOYS.percentile.yearly-c47f7586.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-b8811800.js → HEIGHT_BOYS.zscore.monthly-741725e1.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-ef932201.js → HEIGHT_BOYS.zscore.weekly-daec8f47.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-c8da2d2c.js → HEIGHT_BOYS.zscore.yearly-e2138b4b.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-43670f9b.js → HEIGHT_GIRLS.percentile.monthly-bd367200.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-44578918.js → HEIGHT_GIRLS.percentile.weekly-fb367b81.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-0c2cc916.js → HEIGHT_GIRLS.percentile.yearly-cd8bc378.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-3e0b2efa.js → HEIGHT_GIRLS.zscore.monthly-17a4f5e8.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-45d8b1ff.js → HEIGHT_GIRLS.zscore.weekly-f5801a99.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-89ed91ea.js → HEIGHT_GIRLS.zscore.yearly-0a9e709e.js} +0 -0
- /package/build/{Locale-2d2d984d.js → Locale-a2b64e09.js} +0 -0
- /package/build/{Visible-5152f811.js → Visible-88815584.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-b9c57dab.js → WEIGHT_BOYS.percentile.monthly-14674c52.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-44c496f5.js → WEIGHT_BOYS.percentile.weekly-897a83c3.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-19c8d5e3.js → WEIGHT_BOYS.percentile.yearly-3a7d4b45.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-d30ee87c.js → WEIGHT_BOYS.zscore.monthly-3917871f.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-c39216bc.js → WEIGHT_BOYS.zscore.weekly-0942cafb.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-98e2d544.js → WEIGHT_BOYS.zscore.yearly-76d93296.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-ff182dfa.js → WEIGHT_GIRLS.percentile.monthly-f7b77bd0.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-a1ce388c.js → WEIGHT_GIRLS.percentile.weekly-78f25329.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-3ee50ac2.js → WEIGHT_GIRLS.percentile.yearly-8b42b0c5.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-2a0ee5f0.js → WEIGHT_GIRLS.zscore.monthly-5985e029.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-e78d5fd0.js → WEIGHT_GIRLS.zscore.weekly-2765cff3.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-ce52fd94.js → WEIGHT_GIRLS.zscore.yearly-fdeb5c5b.js} +0 -0
- /package/build/{animation-793aeedf.js → animation-c7cd865b.js} +0 -0
- /package/build/{constants-aa69f8d5.js → constants-4a55ae04.js} +0 -0
- /package/build/{constants-b8cae6b4.js → constants-8011d1df.js} +0 -0
- /package/build/{constants-ed8e89de.js → constants-984a461d.js} +0 -0
- /package/build/{dataTransform-5a866512.js → dataTransform-3249307f.js} +0 -0
- /package/build/{doctor-1e5df6e7.js → doctor-2b387668.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-12418ad8.js → BMI_BOYS.percentile.monthly-89dd7101.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-c8a8d77b.js → BMI_BOYS.percentile.weekly-c6bd46f5.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-e593f2e6.js → BMI_BOYS.percentile.yearly-b89d0051.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-641c6be7.js → BMI_BOYS.zscore.monthly-1a3be414.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-6a93b93c.js → BMI_BOYS.zscore.weekly-a1ccda55.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-b18a8e40.js → BMI_BOYS.zscore.yearly-aacea355.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-a6e40090.js → BMI_GIRLS.percentile.monthly-01090baf.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-8081af05.js → BMI_GIRLS.percentile.weekly-4b91a576.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-21b59817.js → BMI_GIRLS.percentile.yearly-c4684de9.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-93253b51.js → BMI_GIRLS.zscore.monthly-01bcc423.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-c7f61864.js → BMI_GIRLS.zscore.weekly-df7d9677.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-5b6025ac.js → BMI_GIRLS.zscore.yearly-5970b83a.js} +0 -0
- /package/build/esm/{ChevronDown-a053d433.js → ChevronDown-618c0f6e.js} +0 -0
- /package/build/esm/{Close-ec53611b.js → Close-111f9a5c.js} +0 -0
- /package/build/esm/{Google-316e2fad.js → Google-0bc6bba6.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-b4387bda.js → HEAD CIRCUM_BOYS.percentile.monthly-1adc4fc0.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-19b8b8d9.js → HEAD CIRCUM_BOYS.percentile.weekly-c7de7104.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-b1b5482c.js → HEAD CIRCUM_BOYS.percentile.yearly-ba6c7f0b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-a3ef6253.js → HEAD CIRCUM_BOYS.zscore.monthly-09d9f8b5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-ec0c3c87.js → HEAD CIRCUM_BOYS.zscore.weekly-ae0e1e91.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-5744a3c8.js → HEAD CIRCUM_BOYS.zscore.yearly-e8061a71.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-4be449eb.js → HEAD CIRCUM_GIRLS.percentile.monthly-80790102.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-602459a6.js → HEAD CIRCUM_GIRLS.percentile.weekly-eebaf04b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-df0e8158.js → HEAD CIRCUM_GIRLS.percentile.yearly-0af49b75.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-7279d043.js → HEAD CIRCUM_GIRLS.zscore.monthly-506dc6dd.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-e82fb902.js → HEAD CIRCUM_GIRLS.zscore.weekly-3c199dc4.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-b9266d18.js → HEAD CIRCUM_GIRLS.zscore.yearly-af2a2393.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-f9dd08b0.js → HEIGHT_BOYS.percentile.monthly-0f6f461b.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-fe26422a.js → HEIGHT_BOYS.percentile.weekly-0378a915.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-00293d31.js → HEIGHT_BOYS.percentile.yearly-ebe81d78.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-97ca8986.js → HEIGHT_BOYS.zscore.monthly-4d912df8.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-0a2f52b2.js → HEIGHT_BOYS.zscore.weekly-aabc87b3.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-8bf8ef52.js → HEIGHT_BOYS.zscore.yearly-bda77188.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-5cea3c6a.js → HEIGHT_GIRLS.percentile.monthly-c8ace495.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-cceec355.js → HEIGHT_GIRLS.percentile.weekly-dd128a29.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-287117f7.js → HEIGHT_GIRLS.percentile.yearly-c20b6643.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-33b2c452.js → HEIGHT_GIRLS.zscore.monthly-ff0305c3.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-04c90b25.js → HEIGHT_GIRLS.zscore.weekly-000ef16b.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-edc1bef2.js → HEIGHT_GIRLS.zscore.yearly-fa273c5a.js} +0 -0
- /package/build/esm/{Locale-113763dc.js → Locale-91a0ee98.js} +0 -0
- /package/build/esm/{Visible-4e06b8e8.js → Visible-721952a4.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-6bf93351.js → WEIGHT_BOYS.percentile.monthly-73101cb0.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-d2bb1fae.js → WEIGHT_BOYS.percentile.weekly-04b55699.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-a8909d86.js → WEIGHT_BOYS.percentile.yearly-14059daf.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-2c6e2577.js → WEIGHT_BOYS.zscore.monthly-f1eb7d4f.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-775c9410.js → WEIGHT_BOYS.zscore.weekly-827bfb79.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-ef59a73f.js → WEIGHT_BOYS.zscore.yearly-2765774e.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-63026604.js → WEIGHT_GIRLS.percentile.monthly-27d71288.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-ef8c77ad.js → WEIGHT_GIRLS.percentile.weekly-dfbe68da.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-584abc37.js → WEIGHT_GIRLS.percentile.yearly-8abe2252.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-1c341007.js → WEIGHT_GIRLS.zscore.monthly-3eaff5f8.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-8df06df9.js → WEIGHT_GIRLS.zscore.weekly-662d82d8.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-e69ce3d3.js → WEIGHT_GIRLS.zscore.yearly-77681ff7.js} +0 -0
- /package/build/esm/{animation-f2fd7725.js → animation-346e76a6.js} +0 -0
- /package/build/esm/{constants-4f03c0d1.js → constants-3d4619e6.js} +0 -0
- /package/build/esm/{constants-ec91ac43.js → constants-4c8374b7.js} +0 -0
- /package/build/esm/{constants-b2406470.js → constants-5a48abab.js} +0 -0
- /package/build/esm/{dataTransform-e20c4054.js → dataTransform-3fc68ab6.js} +0 -0
- /package/build/esm/{doctor-4348bb91.js → doctor-a03acfc0.js} +0 -0
- /package/build/esm/{index-f21c93ea.js → index-3f001644.js} +0 -0
- /package/build/esm/{index-ffb7f4b1.js → index-46ba5ef1.js} +0 -0
- /package/build/esm/{index-a6852d97.js → index-4fd4e4ec.js} +0 -0
- /package/build/esm/{index-430e0ec8.js → index-822233d3.js} +0 -0
- /package/build/esm/{index-1487b182.js → index-9391c033.js} +0 -0
- /package/build/esm/{index-08abbf60.js → index-a53c68b6.js} +0 -0
- /package/build/esm/{index-4a9572c1.js → index-a5a44f61.js} +0 -0
- /package/build/esm/{index-7c6e8a3a.js → index-cf6b617c.js} +0 -0
- /package/build/esm/{index.styles-1ced5cf6.js → index.styles-ad357f5a.js} +0 -0
- /package/build/esm/{localizeNumberFormat-ac517662.js → localizeNumberFormat-ae027264.js} +0 -0
- /package/build/esm/{normalizeLink-f023bdfd.js → normalizeLink-1a9aaef2.js} +0 -0
- /package/build/esm/{other-829bfc4e.js → other-191c206c.js} +0 -0
- /package/build/esm/{paths-b1ce59c4.js → paths-88e50143.js} +0 -0
- /package/build/esm/{translationsContext-cb129b96.js → translationsContext-c5c62ce0.js} +0 -0
- /package/build/esm/{tslib.es6-19fe97c5.js → tslib.es6-49ca40fa.js} +0 -0
- /package/build/esm/{types-af4f8121.js → types-58c1605a.js} +0 -0
- /package/build/esm/{useIsInit-29b6b355.js → useIsInit-0bae394c.js} +0 -0
- /package/build/esm/{useOutsideClick-fe236274.js → useOutsideClick-c6c91b78.js} +0 -0
- /package/build/esm/{useScrollbarSize-d711e423.js → useScrollbarSize-5d427e6a.js} +0 -0
- /package/build/esm/{useUniqueId-e0046ffd.js → useUniqueId-b4e8c44b.js} +0 -0
- /package/build/esm/{utils-e1e4fc34.js → utils-91df31b9.js} +0 -0
- /package/build/{index-22e8438d.js → index-035574df.js} +0 -0
- /package/build/{index-15699259.js → index-2d845c49.js} +0 -0
- /package/build/{index-6b5f0268.js → index-323cc42d.js} +0 -0
- /package/build/{index-af8ed5bc.js → index-435378bf.js} +0 -0
- /package/build/{index-6c9b12e2.js → index-48e26311.js} +0 -0
- /package/build/{index-4a686bf9.js → index-a58559e7.js} +0 -0
- /package/build/{index-4cf96c4b.js → index-ba8efd94.js} +0 -0
- /package/build/{index-55716750.js → index-d07068f6.js} +0 -0
- /package/build/{index.styles-5365f226.js → index.styles-e8c404b0.js} +0 -0
- /package/build/{localizeNumberFormat-d1263239.js → localizeNumberFormat-919e2b18.js} +0 -0
- /package/build/{normalizeLink-bf87addf.js → normalizeLink-3c1efa0e.js} +0 -0
- /package/build/{other-337f9c41.js → other-6ba31b45.js} +0 -0
- /package/build/{paths-abf8b531.js → paths-89f8c5f5.js} +0 -0
- /package/build/{translationsContext-0f977577.js → translationsContext-a2668d17.js} +0 -0
- /package/build/{tslib.es6-2a2d42df.js → tslib.es6-6dfcc6f8.js} +0 -0
- /package/build/{types-57e610de.js → types-704fa4b0.js} +0 -0
- /package/build/{useIsInit-075143dc.js → useIsInit-af3eaaf4.js} +0 -0
- /package/build/{useOutsideClick-89fa06c9.js → useOutsideClick-5925251c.js} +0 -0
- /package/build/{useScrollbarSize-17884d4b.js → useScrollbarSize-847fc5de.js} +0 -0
- /package/build/{useUniqueId-7dc8618f.js → useUniqueId-3f5852dc.js} +0 -0
- /package/build/{utils-67d5f4f0.js → utils-35aa4893.js} +0 -0
package/build/esm/ssoV2.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { a as __awaiter, _ as __rest } from './tslib.es6-
|
|
1
|
+
import { a as __awaiter, _ as __rest } from './tslib.es6-49ca40fa.js';
|
|
2
2
|
import React__default, { createContext, useMemo, useEffect, useState, useCallback, forwardRef } from 'react';
|
|
3
|
-
import { I as Input, s as styles, O as OTP, f as PasswordInput, E as ErrorBoundary } from './index-
|
|
4
|
-
import { S as SSOStepTypeType, a as useSSOSteps, u as useSSOV2Store, i as isUserFinishedSetup, f as fetchSSOV2Api, w as websiteId, b as SSO_V2_PATHS, c as checkUserExist, F as FacebookAppId, G as GoogleAuthClientId, h as handleAuthSuccess, g as getUserInfo, d as updateUserInfo, e as isPhoneNotVerifedYet, j as isLoginWithPhoneNotVerifedYet, k as isFlowFinishedSetup, r as resetPassword, l as redirect } from './store-
|
|
5
|
-
export { u as useSSOV2Store } from './store-
|
|
3
|
+
import { I as Input, s as styles, O as OTP, f as PasswordInput, E as ErrorBoundary } from './index-f9887fb6.js';
|
|
4
|
+
import { S as SSOStepTypeType, a as useSSOSteps, u as useSSOV2Store, i as isUserFinishedSetup, f as fetchSSOV2Api, w as websiteId, b as SSO_V2_PATHS, c as checkUserExist, F as FacebookAppId, G as GoogleAuthClientId, h as handleAuthSuccess, g as getUserInfo, d as updateUserInfo, e as isPhoneNotVerifedYet, j as isLoginWithPhoneNotVerifedYet, k as isFlowFinishedSetup, r as resetPassword, l as redirect } from './store-a60898cd.js';
|
|
5
|
+
export { u as useSSOV2Store } from './store-a60898cd.js';
|
|
6
6
|
import { ChevronLeft } from '@hhgtech/icons/arrow';
|
|
7
7
|
import { Close, Search, ReplySquare } from '@hhgtech/icons/core';
|
|
8
|
-
import { Z as ZINDEX_SSO, L as LOCALE_SPECS, S as STATIC_PAGES, Q as QUERY_HEALTH_TOOL } from './index-
|
|
9
|
-
import { L as LogoIcon } from './logoIcon-
|
|
10
|
-
import { B as Button } from './index-
|
|
11
|
-
import { M as Modal } from './index-
|
|
8
|
+
import { Z as ZINDEX_SSO, L as LOCALE_SPECS, S as STATIC_PAGES, Q as QUERY_HEALTH_TOOL } from './index-c8f4eec2.js';
|
|
9
|
+
import { L as LogoIcon } from './logoIcon-cf77f069.js';
|
|
10
|
+
import { B as Button } from './index-6885689a.js';
|
|
11
|
+
import { M as Modal } from './index-fca96fe1.js';
|
|
12
12
|
import { Stack, Flex, Box, Group, Divider } from '@mantine/core';
|
|
13
13
|
import '@mantine/dates';
|
|
14
|
-
import './index-
|
|
15
|
-
import './index-
|
|
16
|
-
import { s as showNotification } from './useMantineLocale-
|
|
17
|
-
import { T as Text } from './index-
|
|
18
|
-
import { u as useTranslations } from './index-
|
|
14
|
+
import './index-5b1abe33.js';
|
|
15
|
+
import './index-46ba5ef1.js';
|
|
16
|
+
import { s as showNotification } from './useMantineLocale-463de4dc.js';
|
|
17
|
+
import { T as Text } from './index-e17bf4a4.js';
|
|
18
|
+
import { u as useTranslations } from './index-c407454a.js';
|
|
19
19
|
import '@mantine/hooks';
|
|
20
|
-
import './utils-
|
|
21
|
-
import './other-
|
|
22
|
-
import './index-
|
|
23
|
-
import { L as LOCALE } from './Locale-
|
|
24
|
-
import { G as Google, F as Facebook } from './Google-
|
|
20
|
+
import './utils-91df31b9.js';
|
|
21
|
+
import './other-191c206c.js';
|
|
22
|
+
import './index-a03b7c7e.js';
|
|
23
|
+
import { L as LOCALE } from './Locale-91a0ee98.js';
|
|
24
|
+
import { G as Google, F as Facebook } from './Google-0bc6bba6.js';
|
|
25
25
|
import { parsePhoneNumber, getCountryCallingCode } from 'react-phone-number-input';
|
|
26
26
|
import styled from '@emotion/styled';
|
|
27
27
|
import cn from 'classnames';
|
|
@@ -29,28 +29,28 @@ import { CaretDown } from '@hhgtech/icons/other';
|
|
|
29
29
|
import debounce from 'lodash/debounce';
|
|
30
30
|
import throttle from 'lodash/throttle';
|
|
31
31
|
import Flags from 'react-phone-number-input/flags';
|
|
32
|
-
import { u as useScreenSize } from './useScreenSize-
|
|
32
|
+
import { u as useScreenSize } from './useScreenSize-1c07e0db.js';
|
|
33
33
|
import { Drawer } from 'vaul';
|
|
34
|
-
import { M as MAPPED_LOCALE } from './utils-
|
|
35
|
-
import { S as Spoiler } from './index-
|
|
34
|
+
import { M as MAPPED_LOCALE } from './utils-4a9fef7b.js';
|
|
35
|
+
import { S as Spoiler } from './index-b695b404.js';
|
|
36
36
|
import { domainLocales } from './constantsDomainLocales.js';
|
|
37
37
|
import { useForm, yupResolver } from '@mantine/form';
|
|
38
38
|
import * as yup from 'yup';
|
|
39
39
|
import dayjs from 'dayjs';
|
|
40
|
-
import { D as DatePicker } from './index-
|
|
40
|
+
import { D as DatePicker } from './index-267ae4aa.js';
|
|
41
41
|
import '@mantine/carousel';
|
|
42
42
|
import './miscTheme.js';
|
|
43
|
-
import './useUniqueId-
|
|
43
|
+
import './useUniqueId-b4e8c44b.js';
|
|
44
44
|
import './constantsSite.js';
|
|
45
45
|
import 'zustand';
|
|
46
46
|
import './constantsIsProduction.js';
|
|
47
|
-
import './normalizeLink-
|
|
47
|
+
import './normalizeLink-1a9aaef2.js';
|
|
48
48
|
import './miscCookieHelper.js';
|
|
49
49
|
import 'date-fns/locale';
|
|
50
50
|
import './constantsRiskScreener.js';
|
|
51
|
-
import './index.styles-
|
|
51
|
+
import './index.styles-ad357f5a.js';
|
|
52
52
|
import '@mantine/notifications';
|
|
53
|
-
import './translationsContext-
|
|
53
|
+
import './translationsContext-c5c62ce0.js';
|
|
54
54
|
|
|
55
55
|
const SSOStateContext = createContext({
|
|
56
56
|
locale: LOCALE.Vietnam,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as __awaiter } from './tslib.es6-
|
|
1
|
+
import { a as __awaiter } from './tslib.es6-49ca40fa.js';
|
|
2
2
|
import { create } from 'zustand';
|
|
3
3
|
import { isProduction } from './constantsIsProduction.js';
|
|
4
|
-
import { e as normalizeLinkSlash, a as getCurrentSsoUrl } from './normalizeLink-
|
|
5
|
-
import { L as LOCALE_SPECS, B as BEARER_REFRESH_TOKEN_COOKIE, d as BEARER_TOKEN_COOKIE$1 } from './index-
|
|
4
|
+
import { e as normalizeLinkSlash, a as getCurrentSsoUrl } from './normalizeLink-1a9aaef2.js';
|
|
5
|
+
import { L as LOCALE_SPECS, B as BEARER_REFRESH_TOKEN_COOKIE, d as BEARER_TOKEN_COOKIE$1 } from './index-c8f4eec2.js';
|
|
6
6
|
import { setCookie, getCookie } from './miscCookieHelper.js';
|
|
7
7
|
import { domainLocales } from './constantsDomainLocales.js';
|
|
8
8
|
|
|
@@ -17,7 +17,7 @@ export declare const getUserInfoFromCookie: (reqCookie?: string) => {
|
|
|
17
17
|
email: any;
|
|
18
18
|
id: any;
|
|
19
19
|
};
|
|
20
|
-
export declare const getWindowId: () =>
|
|
20
|
+
export declare const getWindowId: () => string;
|
|
21
21
|
export declare const getHelloSitesUrl: (locale: LOCALE | LocaleType, ignoreLocal?: boolean) => string;
|
|
22
22
|
export declare const checkMobile: (userAgent: string) => boolean;
|
|
23
23
|
export declare const clickAndOpenInNewTab: (url: string) => void;
|
package/build/esm/subot.js
CHANGED
|
@@ -1,73 +1,73 @@
|
|
|
1
1
|
import React__default, { createContext, useContext, useRef, useState, useEffect, useCallback, useMemo, forwardRef, memo, useImperativeHandle } from 'react';
|
|
2
|
-
import { d as NodeType, c as NodePosition, f as NodeActionType, e as NodeFinalTypes, g as NodeMultipleOptions, E as ELEMENT_CONTROL_INPUT_TYPE, N as NodeIntentType, F as FULL_KEY_ADDRESS } from './index-
|
|
3
|
-
import { a as __awaiter, _ as __rest } from './tslib.es6-
|
|
4
|
-
import { e as basePath, G as GA_TOKEN_COOKIE, h as DATE_FNS_DATE_FORMAT, A as API_DATE_FORMAT, f as SSO_URL } from './index-
|
|
2
|
+
import { d as NodeType, c as NodePosition, f as NodeActionType, e as NodeFinalTypes, g as NodeMultipleOptions, E as ELEMENT_CONTROL_INPUT_TYPE, N as NodeIntentType, F as FULL_KEY_ADDRESS } from './index-5b1abe33.js';
|
|
3
|
+
import { a as __awaiter, _ as __rest } from './tslib.es6-49ca40fa.js';
|
|
4
|
+
import { e as basePath, G as GA_TOKEN_COOKIE, h as DATE_FNS_DATE_FORMAT, A as API_DATE_FORMAT, f as SSO_URL } from './index-c8f4eec2.js';
|
|
5
5
|
import Cookies from 'js-cookie';
|
|
6
6
|
import fd from 'fastdom';
|
|
7
7
|
import fastdomPromised from 'fastdom/extensions/fastdom-promised';
|
|
8
|
-
import { G as GlobalData, c as callApi, t as locale, T as TogetherComponentGlobalContext } from './utils-
|
|
8
|
+
import { G as GlobalData, c as callApi, t as locale, T as TogetherComponentGlobalContext } from './utils-9662d944.js';
|
|
9
9
|
import formatString from 'string-format';
|
|
10
|
-
import { a as getUserIdFromCookie, b as getSubotCookieId, c as getUserInfoFromCookie, d as getWindowId, o as overrideParamsByQuery, e as checkUntilFinished, g as getHelloSitesUrl, f as checkMobile, h as clickAndOpenInNewTab, T as TIME_RESET_RESEND_OTP, i as isFakeEmail, s as ssoIntents, j as getHhgIdFromCookie } from './index-
|
|
11
|
-
export { T as TIME_RESET_RESEND_OTP, f as checkMobile, e as checkUntilFinished, h as clickAndOpenInNewTab, g as getHelloSitesUrl, j as getHhgIdFromCookie, b as getSubotCookieId, a as getUserIdFromCookie, c as getUserInfoFromCookie, d as getWindowId, i as isFakeEmail, o as overrideParamsByQuery, s as ssoIntents } from './index-
|
|
10
|
+
import { a as getUserIdFromCookie, b as getSubotCookieId, c as getUserInfoFromCookie, d as getWindowId, o as overrideParamsByQuery, e as checkUntilFinished, g as getHelloSitesUrl, f as checkMobile, h as clickAndOpenInNewTab, T as TIME_RESET_RESEND_OTP, i as isFakeEmail, s as ssoIntents, j as getHhgIdFromCookie } from './index-fae543f2.js';
|
|
11
|
+
export { T as TIME_RESET_RESEND_OTP, f as checkMobile, e as checkUntilFinished, h as clickAndOpenInNewTab, g as getHelloSitesUrl, j as getHhgIdFromCookie, b as getSubotCookieId, a as getUserIdFromCookie, c as getUserInfoFromCookie, d as getWindowId, i as isFakeEmail, o as overrideParamsByQuery, s as ssoIntents } from './index-fae543f2.js';
|
|
12
12
|
import { MAP_DOMAIN_BY_LOCALE } from './constantsDomainLocales.js';
|
|
13
13
|
import cn from 'classnames';
|
|
14
|
-
import { C as Container$w } from './index-
|
|
15
|
-
import { L as Loading } from './index-
|
|
14
|
+
import { C as Container$w } from './index-822233d3.js';
|
|
15
|
+
import { L as Loading } from './index-3223a18a.js';
|
|
16
16
|
import { motion } from 'framer-motion';
|
|
17
17
|
import styled from '@emotion/styled';
|
|
18
|
-
import { M as MediaQueries } from './utils-
|
|
19
|
-
import { B as Button } from './index-
|
|
18
|
+
import { M as MediaQueries } from './utils-91df31b9.js';
|
|
19
|
+
import { B as Button } from './index-6885689a.js';
|
|
20
20
|
import { Remarkable } from 'remarkable';
|
|
21
21
|
import { ArrowRight } from '@hhgtech/icons/other';
|
|
22
22
|
import { useInView } from 'react-intersection-observer';
|
|
23
23
|
import { Box, Textarea } from '@mantine/core';
|
|
24
|
-
import { C as CommonGAssets } from './index-
|
|
24
|
+
import { C as CommonGAssets } from './index-46ba5ef1.js';
|
|
25
25
|
import dayjs from 'dayjs';
|
|
26
26
|
import isSameOrBefore from 'dayjs/plugin/isSameOrBefore';
|
|
27
|
-
import { d as LEAD_TOKEN_COOKIE } from './constants-
|
|
27
|
+
import { d as LEAD_TOKEN_COOKIE } from './constants-4c8374b7.js';
|
|
28
28
|
import { v4 } from 'uuid';
|
|
29
|
-
import { T as Text } from './index-
|
|
29
|
+
import { T as Text } from './index-e17bf4a4.js';
|
|
30
30
|
import { theme } from './miscTheme.js';
|
|
31
31
|
import { isProduction } from './constantsIsProduction.js';
|
|
32
|
-
import { S as Select } from './index-
|
|
32
|
+
import { S as Select } from './index-f9887fb6.js';
|
|
33
33
|
import '@mantine/dates';
|
|
34
|
-
import './useMantineLocale-
|
|
35
|
-
import './index.styles-
|
|
36
|
-
import './translationsContext-
|
|
34
|
+
import './useMantineLocale-463de4dc.js';
|
|
35
|
+
import './index.styles-ad357f5a.js';
|
|
36
|
+
import './translationsContext-c5c62ce0.js';
|
|
37
37
|
import '@mantine/hooks';
|
|
38
|
-
import './other-
|
|
39
|
-
import './index-
|
|
38
|
+
import './other-191c206c.js';
|
|
39
|
+
import './index-a03b7c7e.js';
|
|
40
40
|
import isEmpty from 'lodash/isEmpty';
|
|
41
41
|
import { Controller, useForm } from 'react-hook-form';
|
|
42
42
|
import PhoneInputBase, { getCountryCallingCode, isPossiblePhoneNumber, parsePhoneNumber } from 'react-phone-number-input';
|
|
43
43
|
import { LoadScript } from '@react-google-maps/api';
|
|
44
|
-
import { u as usePlacesAutocomplete, G as GOOGLE_API_KEY, a as GOOGLE_API_LANGUAGE } from './usePlacesAutocomplete-
|
|
44
|
+
import { u as usePlacesAutocomplete, G as GOOGLE_API_KEY, a as GOOGLE_API_LANGUAGE } from './usePlacesAutocomplete-e91197e8.js';
|
|
45
45
|
import { setDefaultClass } from './miscDefaultClassWrapper.js';
|
|
46
|
-
import { L as LOCALE } from './Locale-
|
|
47
|
-
import { D as DatePicker } from './index-
|
|
48
|
-
import { D as Dropdown } from './index-
|
|
49
|
-
import { B as Button$1 } from './index-
|
|
50
|
-
import { u as useSSOV2Store, I as IS_SSOV2_ENABLED } from './store-
|
|
46
|
+
import { L as LOCALE } from './Locale-91a0ee98.js';
|
|
47
|
+
import { D as DatePicker } from './index-a53c68b6.js';
|
|
48
|
+
import { D as Dropdown } from './index-a5a44f61.js';
|
|
49
|
+
import { B as Button$1 } from './index-4902d406.js';
|
|
50
|
+
import { u as useSSOV2Store, I as IS_SSOV2_ENABLED } from './store-a60898cd.js';
|
|
51
51
|
import 'date-fns/locale';
|
|
52
52
|
import './constantsSite.js';
|
|
53
53
|
import './constantsRiskScreener.js';
|
|
54
|
-
import './index-
|
|
54
|
+
import './index-c2c0593c.js';
|
|
55
55
|
import './miscCookieHelper.js';
|
|
56
56
|
import 'slugify';
|
|
57
57
|
import './togetherApiPaths.js';
|
|
58
|
-
import './index-
|
|
59
|
-
import './WhatsApp-
|
|
60
|
-
import './Spinner-
|
|
61
|
-
import './index-
|
|
62
|
-
import './useScreenSize-
|
|
58
|
+
import './index-a75e6728.js';
|
|
59
|
+
import './WhatsApp-2e16cddf.js';
|
|
60
|
+
import './Spinner-c23d4aa4.js';
|
|
61
|
+
import './index-c407454a.js';
|
|
62
|
+
import './useScreenSize-1c07e0db.js';
|
|
63
63
|
import '@mantine/carousel';
|
|
64
|
-
import './useUniqueId-
|
|
64
|
+
import './useUniqueId-b4e8c44b.js';
|
|
65
65
|
import '@hhgtech/icons/core';
|
|
66
66
|
import '@mantine/notifications';
|
|
67
67
|
import 'date-fns';
|
|
68
68
|
import 'react-day-picker/DayPickerInput';
|
|
69
69
|
import 'zustand';
|
|
70
|
-
import './normalizeLink-
|
|
70
|
+
import './normalizeLink-1a9aaef2.js';
|
|
71
71
|
|
|
72
72
|
// extend fastdom
|
|
73
73
|
const fastdom = fd.extend(fastdomPromised);
|
|
@@ -1538,7 +1538,7 @@ const excludeNodeList = [
|
|
|
1538
1538
|
// return false
|
|
1539
1539
|
// }
|
|
1540
1540
|
const Container$u = () => {
|
|
1541
|
-
var _a, _b, _c
|
|
1541
|
+
var _a, _b, _c;
|
|
1542
1542
|
const { formatMessage: f, action: { pushNotifications }, } = useContext(TogetherComponentGlobalContext);
|
|
1543
1543
|
const currentUrl = useCurrentUrl();
|
|
1544
1544
|
const { listNodes, activeId, isShowFooter, onNext, onPrev, params, onStartOver, loading, } = useContext(SubotInlineContext);
|
|
@@ -1549,15 +1549,16 @@ const Container$u = () => {
|
|
|
1549
1549
|
const actionNextChoice = (_a = node === null || node === void 0 ? void 0 : node.actions) === null || _a === void 0 ? void 0 : _a.find((act) => act.type === NodeActionType.USER_CHOICE_NEXT);
|
|
1550
1550
|
const actionPollSubmit = (_b = node === null || node === void 0 ? void 0 : node.actions) === null || _b === void 0 ? void 0 : _b.find(({ type }) => type == NodeActionType.POLL_BUTTON);
|
|
1551
1551
|
const actionMultipleSubmit = (_c = node === null || node === void 0 ? void 0 : node.actions) === null || _c === void 0 ? void 0 : _c.find(({ type }) => type == NodeActionType.ACTION_MULTIPLE_BUTTON);
|
|
1552
|
-
const selectedWithOtherInput =
|
|
1553
|
-
|
|
1552
|
+
// const selectedWithOtherInput =
|
|
1553
|
+
// node?.actions?.find(({ id }) => id === value.action_id)?.type ===
|
|
1554
|
+
// NodeActionType.USER_CHOICE_TEXT_BY_INPUT
|
|
1554
1555
|
const handleNextChoice = () => {
|
|
1555
1556
|
const nextValue = {
|
|
1556
1557
|
node_id: node.id,
|
|
1557
1558
|
action_id: actionNextChoice === null || actionNextChoice === void 0 ? void 0 : actionNextChoice.id,
|
|
1558
1559
|
action_value: actionNextChoice === null || actionNextChoice === void 0 ? void 0 : actionNextChoice.key,
|
|
1559
1560
|
};
|
|
1560
|
-
onNext(Object.assign(Object.assign(Object.assign({}, params),
|
|
1561
|
+
onNext(Object.assign(Object.assign(Object.assign({}, params), node === null || node === void 0 ? void 0 : node._message), nextValue));
|
|
1561
1562
|
};
|
|
1562
1563
|
const handlePollSubmit = () => {
|
|
1563
1564
|
var _a;
|
|
@@ -1602,15 +1603,15 @@ const Container$u = () => {
|
|
|
1602
1603
|
});
|
|
1603
1604
|
}
|
|
1604
1605
|
else {
|
|
1605
|
-
onNext(Object.assign(Object.assign(Object.assign({}, params),
|
|
1606
|
+
onNext(Object.assign(Object.assign(Object.assign({}, params), node === null || node === void 0 ? void 0 : node._message), value));
|
|
1606
1607
|
}
|
|
1607
1608
|
};
|
|
1608
1609
|
if (!isShowFooter)
|
|
1609
1610
|
return null;
|
|
1610
1611
|
const found = listNodes.find((nodeItem) => nodeItem.id == activeId);
|
|
1611
1612
|
const isDisabled = disabledNodeList.includes((found === null || found === void 0 ? void 0 : found.type) || '') ||
|
|
1612
|
-
disabledPositionList.includes((found === null || found === void 0 ? void 0 : found.position) || '')
|
|
1613
|
-
|
|
1613
|
+
disabledPositionList.includes((found === null || found === void 0 ? void 0 : found.position) || '');
|
|
1614
|
+
// selectedWithOtherInput
|
|
1614
1615
|
const isDisplayAction = !excludeNodeList.includes((found === null || found === void 0 ? void 0 : found.type) || '');
|
|
1615
1616
|
return (React__default.createElement(StyledWrap$p, { "data-show-action": isDisplayAction },
|
|
1616
1617
|
React__default.createElement("button", { onClick: onStartOver, "data-event-category": "Service Connection", "data-event-action": "Risk Screening Start Over", "data-event-label": currentUrl, "data-bot-id": params.bot_id, className: "si-footer-start-over", disabled: Boolean((botItem === null || botItem === void 0 ? void 0 : botItem.subot_field_type) && activeId == (listNodes === null || listNodes === void 0 ? void 0 : listNodes[1].id)) },
|
|
@@ -5416,21 +5417,9 @@ const stylesTextarea = {
|
|
|
5416
5417
|
boxShadow: '0px 0px 0px 2px var(--subot-inline-primary-color-300) !important',
|
|
5417
5418
|
},
|
|
5418
5419
|
},
|
|
5419
|
-
};
|
|
5420
|
-
const stylesButtonSubmitOther = {
|
|
5421
|
-
root: {
|
|
5422
|
-
':not(:disabled)': {
|
|
5423
|
-
backgroundColor: 'var(--subot-inline-primary-color) !important',
|
|
5424
|
-
'&:hover': {
|
|
5425
|
-
backgroundColor: 'var(--subot-inline-primary-color-hover) !important',
|
|
5426
|
-
},
|
|
5427
|
-
},
|
|
5428
|
-
},
|
|
5429
5420
|
};
|
|
5430
5421
|
|
|
5431
5422
|
const Container$a = ({ action, onChange, active, htmlType, formSubmitMeta, }) => {
|
|
5432
|
-
const timeoutId = useRef(null);
|
|
5433
|
-
const { formatMessage: f } = useContext(TogetherComponentGlobalContext);
|
|
5434
5423
|
const currentUrl = useCurrentUrl();
|
|
5435
5424
|
const inputRef = useRef(null);
|
|
5436
5425
|
const [otherText, setOtherText] = useState('');
|
|
@@ -5438,14 +5427,6 @@ const Container$a = ({ action, onChange, active, htmlType, formSubmitMeta, }) =>
|
|
|
5438
5427
|
const isActionPollWithOther = (action === null || action === void 0 ? void 0 : action.type) === NodeActionType.POLL_CHOICE_TEXT_BY_INPUT;
|
|
5439
5428
|
const isActionSelectWithOther = (action === null || action === void 0 ? void 0 : action.type) === NodeActionType.USER_CHOICE_TEXT_BY_INPUT ||
|
|
5440
5429
|
isActionPollWithOther;
|
|
5441
|
-
const actionSubmitted = isActionPollWithOther
|
|
5442
|
-
? {
|
|
5443
|
-
key: action === null || action === void 0 ? void 0 : action.key,
|
|
5444
|
-
control: ELEMENT_CONTROL_INPUT_TYPE[action === null || action === void 0 ? void 0 : action.type],
|
|
5445
|
-
value: '',
|
|
5446
|
-
action_id: action === null || action === void 0 ? void 0 : action.id,
|
|
5447
|
-
}
|
|
5448
|
-
: action;
|
|
5449
5430
|
useEffect(() => {
|
|
5450
5431
|
var _a, _b;
|
|
5451
5432
|
if (active) {
|
|
@@ -5453,45 +5434,24 @@ const Container$a = ({ action, onChange, active, htmlType, formSubmitMeta, }) =>
|
|
|
5453
5434
|
(_b = inputRef.current) === null || _b === void 0 ? void 0 : _b.focus();
|
|
5454
5435
|
}
|
|
5455
5436
|
}, [active, formSubmitMeta]);
|
|
5456
|
-
const handleClickWithFormMeta = () => {
|
|
5457
|
-
if (otherText) {
|
|
5458
|
-
onChange &&
|
|
5459
|
-
onChange(actionSubmitted, [
|
|
5460
|
-
{
|
|
5461
|
-
key: KEY_OF_TEXT_CHOICE_WITH_OTHER_FIELD,
|
|
5462
|
-
control: 'text',
|
|
5463
|
-
value: otherText,
|
|
5464
|
-
},
|
|
5465
|
-
]);
|
|
5466
|
-
}
|
|
5467
|
-
};
|
|
5468
5437
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5469
5438
|
const onChangeTextArea = (evt) => {
|
|
5470
5439
|
setOtherText(evt.target.value);
|
|
5471
|
-
|
|
5472
|
-
|
|
5473
|
-
|
|
5474
|
-
|
|
5475
|
-
|
|
5476
|
-
|
|
5477
|
-
|
|
5478
|
-
|
|
5479
|
-
value: evt.target.value,
|
|
5480
|
-
},
|
|
5481
|
-
]);
|
|
5482
|
-
}, 300);
|
|
5483
|
-
}
|
|
5440
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(action, [
|
|
5441
|
+
{
|
|
5442
|
+
key: KEY_OF_TEXT_CHOICE_WITH_OTHER_FIELD,
|
|
5443
|
+
control: 'text',
|
|
5444
|
+
value: evt.target.value,
|
|
5445
|
+
action_id: action === null || action === void 0 ? void 0 : action.id,
|
|
5446
|
+
},
|
|
5447
|
+
]);
|
|
5484
5448
|
};
|
|
5485
5449
|
return (React__default.createElement(React__default.Fragment, null,
|
|
5486
|
-
React__default.createElement(StyledWrap$5, { id: "si-action-text-choice", active: !!active, onClick: () => onChange
|
|
5450
|
+
React__default.createElement(StyledWrap$5, { id: "si-action-text-choice", active: !!active, onClick: () => onChange === null || onChange === void 0 ? void 0 : onChange(action), "data-event-category": "Service Connection", "data-event-action": "Risk Screening Answer Click", "data-event-label": currentUrl, "data-bot-id": params.bot_id },
|
|
5487
5451
|
React__default.createElement(StyledRadioIcon, { active: !!active }, htmlType === 'checkbox' && (React__default.createElement(Checkbox, { className: "icon-checkbox", viewBox: "0 0 22 22" }))),
|
|
5488
5452
|
React__default.createElement("div", { className: "label" }, action === null || action === void 0 ? void 0 : action.label)),
|
|
5489
5453
|
isActionSelectWithOther && active && (React__default.createElement(Box, { px: "2px", style: { textAlign: 'right' } },
|
|
5490
|
-
React__default.createElement(Textarea, { ref: inputRef, placeholder: action === null || action === void 0 ? void 0 : action.label, styles: stylesTextarea, value: otherText, onChange: onChangeTextArea, maxLength: 360 })
|
|
5491
|
-
!isActionPollWithOther && (React__default.createElement(Button, { size: "sm", mt: "5px", styles: stylesButtonSubmitOther, disabled: !otherText, onClick: handleClickWithFormMeta }, f({
|
|
5492
|
-
id: 'feedback.submit',
|
|
5493
|
-
defaultMessage: 'Submit',
|
|
5494
|
-
})))))));
|
|
5454
|
+
React__default.createElement(Textarea, { ref: inputRef, placeholder: action === null || action === void 0 ? void 0 : action.label, styles: stylesTextarea, value: otherText, onChange: onChangeTextArea, maxLength: 360 })))));
|
|
5495
5455
|
};
|
|
5496
5456
|
Container$a.displayName = 'SubotInlineActionTextChoice';
|
|
5497
5457
|
|
|
@@ -5651,34 +5611,49 @@ const Container$5 = ({ node, indexNumber }) => {
|
|
|
5651
5611
|
}
|
|
5652
5612
|
return [];
|
|
5653
5613
|
}, [value, value === null || value === void 0 ? void 0 : value.selected_actions]);
|
|
5654
|
-
const handleOnChange = (action) => __awaiter(void 0, void 0, void 0, function* () {
|
|
5655
|
-
|
|
5656
|
-
|
|
5657
|
-
|
|
5658
|
-
|
|
5659
|
-
|
|
5660
|
-
|
|
5661
|
-
|
|
5662
|
-
|
|
5663
|
-
|
|
5664
|
-
|
|
5665
|
-
|
|
5666
|
-
|
|
5667
|
-
|
|
5668
|
-
|
|
5669
|
-
|
|
5670
|
-
|
|
5671
|
-
|
|
5672
|
-
|
|
5673
|
-
|
|
5674
|
-
|
|
5675
|
-
|
|
5614
|
+
const handleOnChange = (action, formSubmitMeta) => __awaiter(void 0, void 0, void 0, function* () {
|
|
5615
|
+
var _b, _c;
|
|
5616
|
+
if (action) {
|
|
5617
|
+
const _value = JSON.parse(JSON.stringify(Object.assign(Object.assign({}, value), { action_id: submitButton === null || submitButton === void 0 ? void 0 : submitButton.id, action_value: submitButton === null || submitButton === void 0 ? void 0 : submitButton.key, selected_actions: Object.assign({}, value === null || value === void 0 ? void 0 : value.selected_actions) })));
|
|
5618
|
+
if ((action === null || action === void 0 ? void 0 : action.type) === NodeActionType.POLL_CHOICE_TEXT_BY_INPUT ||
|
|
5619
|
+
(action === null || action === void 0 ? void 0 : action.type) === NodeActionType.USER_CHOICE_TEXT_BY_INPUT) {
|
|
5620
|
+
const isExistedPoll = (_value === null || _value === void 0 ? void 0 : _value.selected_actions) && action.id in _value.selected_actions;
|
|
5621
|
+
if (isExistedPoll) {
|
|
5622
|
+
if (formSubmitMeta) {
|
|
5623
|
+
_value.form_submit_meta = formSubmitMeta;
|
|
5624
|
+
}
|
|
5625
|
+
else {
|
|
5626
|
+
delete _value.form_submit_meta;
|
|
5627
|
+
(_b = _value.selected_actions) === null || _b === void 0 ? true : delete _b[action.id];
|
|
5628
|
+
}
|
|
5629
|
+
}
|
|
5630
|
+
else {
|
|
5631
|
+
if (action === null || action === void 0 ? void 0 : action.id) {
|
|
5632
|
+
_value.selected_actions = Object.assign(Object.assign({}, _value.selected_actions), { [action.id]: action.key || '' });
|
|
5633
|
+
}
|
|
5634
|
+
}
|
|
5635
|
+
setValue(_value);
|
|
5636
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(_value);
|
|
5637
|
+
return;
|
|
5638
|
+
}
|
|
5639
|
+
if (!((_c = _value.selected_actions) === null || _c === void 0 ? void 0 : _c[action.id])) {
|
|
5640
|
+
_value.selected_actions = Object.assign(Object.assign({}, _value.selected_actions), { [action.id]: action.key || '' });
|
|
5641
|
+
onChange && onChange(_value);
|
|
5642
|
+
setValue(_value);
|
|
5643
|
+
return;
|
|
5644
|
+
}
|
|
5645
|
+
if (_value.selected_actions[action.id]) {
|
|
5646
|
+
delete _value.selected_actions[action.id];
|
|
5647
|
+
onChange && onChange(_value);
|
|
5648
|
+
setValue(_value);
|
|
5649
|
+
return;
|
|
5650
|
+
}
|
|
5676
5651
|
}
|
|
5677
5652
|
});
|
|
5678
5653
|
const actionsRemoveMultipleBtn = (_a = node === null || node === void 0 ? void 0 : node.actions) === null || _a === void 0 ? void 0 : _a.filter((a) => a.type !== NodeActionType.ACTION_MULTIPLE_BUTTON);
|
|
5679
5654
|
return (React__default.createElement(StyledWrap$3, { id: "si-node-text" },
|
|
5680
5655
|
React__default.createElement(Container$h, { intents: (node === null || node === void 0 ? void 0 : node.intents) || [], indexNumber: indexNumber }),
|
|
5681
|
-
React__default.createElement(Container$7, { value: activeActions, actions: actionsRemoveMultipleBtn, onChange: handleOnChange })));
|
|
5656
|
+
React__default.createElement(Container$7, { value: activeActions, actions: actionsRemoveMultipleBtn, onChange: handleOnChange, formSubmitMeta: value === null || value === void 0 ? void 0 : value.form_submit_meta })));
|
|
5682
5657
|
};
|
|
5683
5658
|
Container$5.displayName = 'SubotInlineNodeMultipleContainer';
|
|
5684
5659
|
|
|
@@ -5722,8 +5697,7 @@ const StyledWrap$2 = styled.div `
|
|
|
5722
5697
|
`;
|
|
5723
5698
|
|
|
5724
5699
|
const Container$4 = ({ node, indexNumber }) => {
|
|
5725
|
-
|
|
5726
|
-
const { params, setIsShowFooter } = useContext(SubotInlineContext);
|
|
5700
|
+
const { onChange, setIsShowFooter } = useContext(SubotInlineContext);
|
|
5727
5701
|
const { value, setValue } = useContext(NodeContext);
|
|
5728
5702
|
const descriptionNode = useDescriptionPollNode({ node });
|
|
5729
5703
|
useMemo(() => {
|
|
@@ -5740,48 +5714,41 @@ const Container$4 = ({ node, indexNumber }) => {
|
|
|
5740
5714
|
return null;
|
|
5741
5715
|
}, [node === null || node === void 0 ? void 0 : node.actions]);
|
|
5742
5716
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5743
|
-
const handleOnChange = (
|
|
5744
|
-
|
|
5745
|
-
|
|
5746
|
-
|
|
5747
|
-
|
|
5748
|
-
|
|
5749
|
-
|
|
5750
|
-
|
|
5751
|
-
|
|
5752
|
-
|
|
5753
|
-
|
|
5754
|
-
const formUpdateIndex = currentSubmitMeta.findIndex(({ action_id }) => action_id === formValue.action_id);
|
|
5755
|
-
/**
|
|
5756
|
-
* The current logic when onChange is called will remove/add this poll action in the submit meta
|
|
5757
|
-
* But IF the onChange is called due to the input text other, this action will be not removed from the previous list
|
|
5758
|
-
*/
|
|
5759
|
-
if (formUpdateIndex !== -1) {
|
|
5760
|
-
tmpFormSubmitMeta = [
|
|
5761
|
-
...currentSubmitMeta.slice(0, formUpdateIndex),
|
|
5762
|
-
...currentSubmitMeta.slice(formUpdateIndex + 1),
|
|
5763
|
-
];
|
|
5764
|
-
}
|
|
5765
|
-
else {
|
|
5766
|
-
if (!is_multi_select) {
|
|
5767
|
-
tmpFormSubmitMeta = [Object.assign({}, formValue)];
|
|
5768
|
-
}
|
|
5769
|
-
else {
|
|
5770
|
-
tmpFormSubmitMeta = [...currentSubmitMeta];
|
|
5771
|
-
tmpFormSubmitMeta.push(formValue);
|
|
5772
|
-
}
|
|
5773
|
-
}
|
|
5717
|
+
const handleOnChange = (action, formSubmitMeta) => {
|
|
5718
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
5719
|
+
const newValue = JSON.parse(JSON.stringify(Object.assign(Object.assign({}, value), { node_id: node.id, action_id: submitButton === null || submitButton === void 0 ? void 0 : submitButton.id, action_value: submitButton === null || submitButton === void 0 ? void 0 : submitButton.key, form_submit_meta: [...((value === null || value === void 0 ? void 0 : value.form_submit_meta) || [])] })));
|
|
5720
|
+
if ((action === null || action === void 0 ? void 0 : action.type) === NodeActionType.POLL_CHOICE_TEXT_BY_INPUT ||
|
|
5721
|
+
(action === null || action === void 0 ? void 0 : action.type) === NodeActionType.USER_CHOICE_TEXT_BY_INPUT) {
|
|
5722
|
+
const isExistedPoll = (_a = newValue.form_submit_meta) === null || _a === void 0 ? void 0 : _a.some(({ action_id }) => action_id === action.id);
|
|
5723
|
+
if (isExistedPoll) {
|
|
5724
|
+
newValue.form_submit_meta =
|
|
5725
|
+
typeof formSubmitMeta === 'undefined'
|
|
5726
|
+
? (_b = newValue.form_submit_meta) === null || _b === void 0 ? void 0 : _b.filter(({ action_id }) => action_id !== action.id)
|
|
5727
|
+
: (_c = newValue.form_submit_meta) === null || _c === void 0 ? void 0 : _c.filter(({ action_id }) => action_id !== action.id).concat(formSubmitMeta);
|
|
5774
5728
|
}
|
|
5775
5729
|
else {
|
|
5776
|
-
|
|
5730
|
+
newValue.form_submit_meta = (_d = newValue.form_submit_meta) === null || _d === void 0 ? void 0 : _d.concat([
|
|
5731
|
+
{
|
|
5732
|
+
key: action === null || action === void 0 ? void 0 : action.key,
|
|
5733
|
+
control: ELEMENT_CONTROL_INPUT_TYPE[action === null || action === void 0 ? void 0 : action.type] || 'text',
|
|
5734
|
+
value: '',
|
|
5735
|
+
action_id: action === null || action === void 0 ? void 0 : action.id,
|
|
5736
|
+
},
|
|
5737
|
+
]);
|
|
5777
5738
|
}
|
|
5778
|
-
|
|
5779
|
-
|
|
5780
|
-
|
|
5781
|
-
|
|
5782
|
-
|
|
5783
|
-
|
|
5739
|
+
setValue(newValue);
|
|
5740
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
5741
|
+
return;
|
|
5742
|
+
}
|
|
5743
|
+
const isPoll = (_e = newValue.form_submit_meta) === null || _e === void 0 ? void 0 : _e.some(({ action_id }) => action_id === (action === null || action === void 0 ? void 0 : action.action_id));
|
|
5744
|
+
if (isPoll) {
|
|
5745
|
+
newValue.form_submit_meta = (_f = newValue.form_submit_meta) === null || _f === void 0 ? void 0 : _f.filter(({ action_id }) => action_id !== (action === null || action === void 0 ? void 0 : action.action_id));
|
|
5784
5746
|
}
|
|
5747
|
+
else {
|
|
5748
|
+
newValue.form_submit_meta = (_g = newValue.form_submit_meta) === null || _g === void 0 ? void 0 : _g.concat([action]);
|
|
5749
|
+
}
|
|
5750
|
+
setValue(newValue);
|
|
5751
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
5785
5752
|
};
|
|
5786
5753
|
const activeActions = useMemo(() => {
|
|
5787
5754
|
if (value === null || value === void 0 ? void 0 : value.form_submit_meta) {
|
|
@@ -5789,10 +5756,14 @@ const Container$4 = ({ node, indexNumber }) => {
|
|
|
5789
5756
|
}
|
|
5790
5757
|
return [];
|
|
5791
5758
|
}, [value, value === null || value === void 0 ? void 0 : value.form_submit_meta]);
|
|
5759
|
+
useEffect(() => {
|
|
5760
|
+
console.log('adfsafsdf');
|
|
5761
|
+
setValue(node === null || node === void 0 ? void 0 : node._message);
|
|
5762
|
+
}, []);
|
|
5792
5763
|
return (React__default.createElement(StyledWrap$2, null,
|
|
5793
5764
|
React__default.createElement(Container$h, { intents: node.intents || [], indexNumber: indexNumber }),
|
|
5794
5765
|
React__default.createElement("p", { className: "si-poll-description" }, descriptionNode),
|
|
5795
|
-
React__default.createElement(Container$7, { node_type: node === null || node === void 0 ? void 0 : node.type, value: activeActions, actions: node === null || node === void 0 ? void 0 : node.actions, onChange: handleOnChange, formSubmitMeta:
|
|
5766
|
+
React__default.createElement(Container$7, { node_type: node === null || node === void 0 ? void 0 : node.type, value: activeActions, actions: node === null || node === void 0 ? void 0 : node.actions, onChange: handleOnChange, formSubmitMeta: value === null || value === void 0 ? void 0 : value.form_submit_meta })));
|
|
5796
5767
|
};
|
|
5797
5768
|
Container$4.displayName = 'SubotinlineNodePoll';
|
|
5798
5769
|
|
|
@@ -5863,7 +5834,6 @@ const StyledWrap = styled.div `
|
|
|
5863
5834
|
`;
|
|
5864
5835
|
|
|
5865
5836
|
const Container$2 = ({ node, indexNumber }) => {
|
|
5866
|
-
var _a;
|
|
5867
5837
|
const { params, onSubmit, setIsShowFooter, listNodes, activeId, setLoading, onChange, } = useContext(SubotInlineContext);
|
|
5868
5838
|
const { value, setValue } = useContext(NodeContext);
|
|
5869
5839
|
useMemo(() => {
|
|
@@ -5883,7 +5853,7 @@ const Container$2 = ({ node, indexNumber }) => {
|
|
|
5883
5853
|
const res = yield subotInlineMessage(newParams);
|
|
5884
5854
|
setLoading(false);
|
|
5885
5855
|
if ((res === null || res === void 0 ? void 0 : res._status) === 1) {
|
|
5886
|
-
const
|
|
5856
|
+
const _a = res === null || res === void 0 ? void 0 : res._data, { node } = _a, restData = __rest(_a, ["node"]);
|
|
5887
5857
|
const nextNode = Object.assign(Object.assign({}, node), { _message: Object.assign(Object.assign({}, restData), { node_id: node.id }) });
|
|
5888
5858
|
onSubmit(nextNode, newParams);
|
|
5889
5859
|
}
|
|
@@ -5891,28 +5861,21 @@ const Container$2 = ({ node, indexNumber }) => {
|
|
|
5891
5861
|
const handleOnChange = (action, formSubmitMeta) => __awaiter(void 0, void 0, void 0, function* () {
|
|
5892
5862
|
if (!action)
|
|
5893
5863
|
return;
|
|
5894
|
-
const
|
|
5895
|
-
|
|
5896
|
-
|
|
5897
|
-
|
|
5864
|
+
const actionWithOther = (action === null || action === void 0 ? void 0 : action.type) === NodeActionType.USER_CHOICE_TEXT_BY_INPUT ||
|
|
5865
|
+
(action === null || action === void 0 ? void 0 : action.type) === NodeActionType.POLL_CHOICE_TEXT_BY_INPUT;
|
|
5866
|
+
const newValue = Object.assign(Object.assign({}, value), { action_id: action === null || action === void 0 ? void 0 : action.id, action_value: action === null || action === void 0 ? void 0 : action.key, form_submit_meta: formSubmitMeta });
|
|
5867
|
+
if (actionWithOther) {
|
|
5868
|
+
setValue(newValue);
|
|
5869
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
5898
5870
|
return;
|
|
5899
5871
|
}
|
|
5900
|
-
|
|
5901
|
-
|
|
5902
|
-
|
|
5903
|
-
setLoading(true);
|
|
5904
|
-
const res = yield subotInlineMessage(newParams);
|
|
5905
|
-
setLoading(false);
|
|
5906
|
-
if ((res === null || res === void 0 ? void 0 : res._status) === 1) {
|
|
5907
|
-
const _c = res === null || res === void 0 ? void 0 : res._data, { node } = _c, restData = __rest(_c, ["node"]);
|
|
5908
|
-
const nextNode = Object.assign(Object.assign({}, node), { _message: Object.assign(Object.assign({}, restData), { node_id: node.id }) });
|
|
5909
|
-
onSubmit(nextNode, newParams);
|
|
5910
|
-
}
|
|
5911
|
-
}
|
|
5872
|
+
delete newValue.form_submit_meta;
|
|
5873
|
+
setValue(newValue);
|
|
5874
|
+
handleOnChangeNormal(action);
|
|
5912
5875
|
});
|
|
5913
5876
|
return (React__default.createElement(StyledWrap, { id: "si-node-text" },
|
|
5914
5877
|
React__default.createElement(Container$h, { intents: (node === null || node === void 0 ? void 0 : node.intents) || [], indexNumber: indexNumber }),
|
|
5915
|
-
React__default.createElement(Container$7, { value: (value === null || value === void 0 ? void 0 : value.action_id) ? [value === null || value === void 0 ? void 0 : value.action_id] : [], actions: node === null || node === void 0 ? void 0 : node.actions, onChange: handleOnChange, formSubmitMeta:
|
|
5878
|
+
React__default.createElement(Container$7, { value: (value === null || value === void 0 ? void 0 : value.action_id) ? [value === null || value === void 0 ? void 0 : value.action_id] : [], actions: node === null || node === void 0 ? void 0 : node.actions, onChange: handleOnChange, formSubmitMeta: value === null || value === void 0 ? void 0 : value.form_submit_meta })));
|
|
5916
5879
|
};
|
|
5917
5880
|
Container$2.displayName = 'SubotInlineNodeTextContainer';
|
|
5918
5881
|
|